!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(){returno={},r.m=n=[function(t,e){t.exports=function(t){vare,n="SELECT"===t.nodeName?(t.focus(),t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((e=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute("readonly"),t.value):(t.hasAttribute("contenteditable")&&t.focus(),n=window.getSelection(),(e=document.createRange()).selectNodeContents(t),n.removeAllRanges(),n.addRange(e),n.toString());returnn}},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){varu=n(3),s=n(4);t.exports=function(t,e,n){if(!t&&!e&&!n)thrownewError("Missing required arguments");if(!u.string(e))thrownewTypeError("Second argument must be a String");if(!u.fn(n))thrownewTypeError("Third argument must be a Function");if(u.node(t))returnc=e,l=n,(a=t).addEventListener(c,l),{destroy:function(){a.removeEventListener(c,l)}};if(u.nodeList(t))returno=t,r=e,i=n,Array.prototype.forEach.call(o,function(t){t.addEventListener(r,i)}),{destroy:function(){Array.prototype.forEach.call(o,function(t){t.removeEventListener(r,i)})}};if(u.string(t))returnt=t,e=e,n=n,s(document.body,t,e,n);thrownewTypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");varo,r,i,a,c,l}},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){varn;"undefined"==typeofElement||Element.prototype.matches||((n=Element.prototype).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){if(!(tinstanceofc))thrownewTypeError("Cannot call a class as a function")}(this),this.resolveOptions(t),this.initSelection()}varl=(function(t,e,n){returne&&a(t.prototype,e),n&&a(t,n),t}(c,[{key:"resolveOptions",value:function(){vart=0<arguments.length&&void0!==arguments[0]?arg