!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(){returnr={},o.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();varr=window.getSelection(),o=document.createRange();o.selectNodeContents(t),r.removeAllRanges(),r.addRange(o),e=r.toString()}returne}},function(t,e){functionn(){}n.prototype={on:function(t,e,n){varr=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){varr=this;functiono(){r.off(t,o),e.apply(n,arguments)}returno._=e,this.on(t,o,n)},emit:function(t){for(vare=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,e);returnthis},off:function(t,e){varn=this.e||(this.e={}),r=n[t],o=[];if(r&&e)for(vari=0,a=r.length;i<a;i++)r[i].fn!==e&&r[i].fn._!==e&&o.push(r[i]);returno.length?n[t]=o:deleten[t],this}},t.exports=n,t.exports.TinyEmitter=n},function(t,e,n){vard=n(3),h=n(4);t.exports=function(t,e,n){if(!t&&!e&&!n)thrownewError("Missing required arguments");if(!d.string(e))thrownewTypeError("Second argument must be a String");if(!d.fn(n))thrownewTypeError("Third argument must be a Function");if(d.node(t))returns=e,f=n,(l=t).addEventListener(s,f),{destroy:function(){l.removeEventListener(s,f)}};if(d.nodeList(t))returna=t,c=e,u=n,Array.prototype.forEach.call(a,function(t){t.addEventListener(c,u)}),{destroy:function(){Array.prototype.forEach.call(a,function(t){t.removeEventListener(c,u)})}};if(d.string(t))returnr=t,o=e,i=n,h(document.body,r,o,i);thrownewTypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");varr,o,i,a,c,u,l,s,f}},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,r,o){vari=function(e,n,t,r){returnfunction(t){t.delegateTarget=a(t.target,n),t.delegateTarget&&r.call(e,t)}}.apply(this,arguments);returnt.addEventListener(n,i,o),{destroy:function(){t.removeEventListener(n,i,o)}}}t.exports=function(t,e,n,r,o){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,r,o)}))}},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);varr=n(0),o=n.n(r);functioni(t){return(i="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functiona(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}varc=function(){functione(t){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}vart,n,r;returnt=e,(n=[{key:"resolveOptions",value:function(t){vare=0<argument