!function(t){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=t();elseif("function"==typeofdefine&&define.amd)define([],t);else{vare;e="undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this,e.Clipboard=t()}}(function(){vart,e,n;returnfunctiont(e,n,o){functionr(c,s){if(!n[c]){if(!e[c]){vara="function"==typeofrequire&&require;if(!s&&a)returna(c,!0);if(i)returni(c,!0);varu=newError("Cannot find module '"+c+"'");throwu.code="MODULE_NOT_FOUND",u}varl=n[c]={exports:{}};e[c][0].call(l.exports,function(t){varn=e[c][1][t];returnr(n?n:t)},l,l.exports,t,e,n,o)}returnn[c].exports}for(vari="function"==typeofrequire&&require,c=0;c<o.length;c++)r(o[c]);returnr}({1:[function(t,e,n){varo=t("matches-selector");e.exports=function(t,e,n){for(varr=n?t:t.parentNode;r&&r!==document;){if(o(r,e))returnr;r=r.parentNode}}},{"matches-selector":5}],2:[function(t,e,n){functiono(t,e,n,o,i){varc=r.apply(this,arguments);returnt.addEventListener(n,c,i),{destroy:function(){t.removeEventListener(n,c,i)}}}functionr(t,e,n,o){returnfunction(n){n.delegateTarget=i(n.target,e,!0),n.delegateTarget&&o.call(t,n)}}vari=t("closest");e.exports=o},{closest:1}],3:[function(t,e,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){vare=Object.prototype.toString.call(t);return"[object Function]"===e}},{}],4:[function(t,e,n){functiono(t,e,n){if(!t&&!e&&!n)thrownewError("Missing required arguments");if(!s.string(e))thrownewTypeError("Second argument must be a String");if(!s.fn(n))thrownewTypeError("Third argument must be a Function");if(s.node(t))returnr(t,e,n);if(s.nodeList(t))returni(t,e,n);if(s.string(t))returnc(t,e,n);thrownewTypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}functionr(t,e,n){returnt.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}functioni(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)})}}}functionc(t,e,n){returna(document.body,t,e,n)}vars=t("./is"),a=t("delegate");e.exports=o},{"./is":3,delegate:2}],5:[function(t,e,n){functiono(t,e){if(i)returni.call(t,e);for(varn=t.parentNode.querySelectorAll(e),o=0;o<n.length;++o)if(n[o]==t)return!0;return!1}varr=Element.prototype,i=r.matchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector;e.exports=o},{}],6:[function(t,e,n){functiono(t){vare;if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName)t.focus(),t.setSelectionRange(0,t.value.length),e=t.value;else{t.hasAttribute("contenteditable")&&t.focus();varn=window.getSelection(),o=document.createRange();o.selectNodeContents(t),n.removeAllRanges(),n.addRange(o),e=n.toString()}returne}e.exports=o},{}],7:[function(t,e,n){functiono(){}o.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){functiono(){r.off(t,o),e.apply(n,arguments)}varr=this;returno._=e,this.on(t,o,n)},emit:function(t){vare=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;for(o;r>o;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,c=o.length;c>i;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);returnr.length?n[t]=r:deleten[t],this}},e.exports=o},{}],8:[function(e,n,o){!function(r,i){if("function"==typeoft&&t.amd)t(["module","select"],i);elseif("undefined"!=typeofo)i(n,e("select"));else{varc={exports:{}};i(c,r.select),r.clipboardAction=c.exports}}(this,function(t,e){"use strict";functionn(t){returnt&&t.__esModule?t:{"default":t}}functiono(t,e){if(!(tinstanceofe))thrownewTypeErr