!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return(o={},r.m=n=[function(t,e){t.exports=function(t){vare;if("SELECT"===t.nodeName)t.focus(),e=t.value;elseif("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){varn=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();varo=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}returne}},function(t,e){functionn(){}n.prototype={on:function(t,e,n){varo=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){varo=this;functionr(){o.off(t,r),e.apply(n,arguments)}returnr._=e,this.on(t,r,n)},emit:function(t){for(vare=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);returnthis},off:function(t,e){varn=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(vari=0,a=o.length;i<a;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);returnr.length?n[t]=r:deleten[t],this}},t.exports=n,t.exports.TinyEmitter=n},function(t,e,n){varo=n(3),r=n(4);t.exports=function(t,e,n){if(!t&&!e&&!n)thrownewError("Missing required arguments");if(!o.string(e))thrownewTypeError("Second argument must be a String");if(!o.fn(n))thrownewTypeError("Third argument must be a Function");if(o.node(t))returnfunction(t,e,n){returnt.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(o.nodeList(t))returnfunction(t,e,n){returnArray.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}(t,e,n);if(o.string(t))returnfunction(t,e,n){returnr(document.body,t,e,n)}(t,e,n);thrownewTypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(t,n){n.node=function(t){returnvoid0!==t&&tinstanceofHTMLElement&&1===t.nodeType},n.nodeList=function(t){vare=Object.prototype.toString.call(t);returnvoid0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"int&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeoft||tinstanceofString},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){vara=n(5);functioni(t,e,n,o,r){vari=function(e,n,t,o){returnfunction(t){t.delegateTarget=a(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);returnt.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeoft.addEventListener?i.apply(null,arguments):"function"==typeofn?i.bind(null,document).apply(null,arguments):("string"==typeoft&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){returni(t,e,n,o,r)}))}},function(t,e){if("undefined"!=typeofElement&&!Element.prototype.matches){varn=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeoft.matches&&t.matches(e))returnt;t=t.parentNode}}},function(t,e,n){"use strict";n.r(e);varo=n(0),r=n.n(o),i="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft};functiona(t,e){for(varn=0;n<e.length;n++){varo=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"ino&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}functionc(t){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,c),this.resolveOptions(t),this.initSelection()}varl=(function(t,e,n){returne&&a(t.prototype,e),n&&a(t,n),t}(c,[{key:"resolveOptions",