vari;i=function(){returnfunction(e){vart={};functionn(i){if(t[i])returnt[i].exports;vara=t[i]={i:i,l:!1,exports:{}};returne[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}returnn.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;vari=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varaine)n.d(i,a,function(t){returne[t]}.bind(null,a));returni},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=function(e){vart;if("SELECT"===e.nodeName)e.focus(),t=e.value;elseif("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){varn=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();vari=window.getSelection(),a=document.createRange();a.selectNodeContents(e),i.removeAllRanges(),i.addRange(a),t=i.toString()}returnt}},function(e,t){functionn(){}n.prototype={on:function(e,t,n){vari=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){vari=this;functiona(){i.off(e,a),t.apply(n,arguments)}returna._=t,this.on(e,a,n)},emit:function(e){for(vart=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=n.length;i<a;i++)n[i].fn.apply(n[i].ctx,t);returnthis},off:function(e,t){varn=this.e||(this.e={}),i=n[e],a=[];if(i&&t)for(varo=0,s=i.length;o<s;o++)i[o].fn!==t&&i[o].fn._!==t&&a.push(i[o]);returna.length?n[e]=a:deleten[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){vari=n(3),a=n(4);e.exports=function(e,t,n){if(!e&&!t&&!n)thrownewError("Missing required arguments");if(!i.string(t))thrownewTypeError("Second argument must be a String");if(!i.fn(n))thrownewTypeError("Third argument must be a Function");if(i.node(e))returnfunction(e,t,n){returne.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(i.nodeList(e))returnfunction(e,t,n){returnArray.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(i.string(e))returnfunction(e,t,n){returna(document.body,e,t,n)}(e,t,n);thrownewTypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){returnvoid0!==e&&einstanceofHTMLElement&&1===e.nodeType},t.nodeList=function(e){varn=Object.prototype.toString.call(e);returnvoid0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"ine&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeofe||einstanceofString},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){vari=n(5);functiona(e,t,n,i,a){vars=o.apply(this,arguments);returne.addEventListener(n,s,a),{destroy:function(){e.removeEventListener(n,s,a)}}}functiono(e,t,n,a){returnfunction(n){n.delegateTarget=i(n.target,t),n.delegateTarget&&a.call(e,n)}}e.exports=function(e,t,n,i,o){return"function"==typeofe.addEventListener?a.apply(null,arguments):"function"==typeofn?a.bind(null,document).apply(null,arguments):("string"==typeofe&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){returna(e,t,n,i,o)})))}},function(e,t){if("undefined"!=typeofElement&&!Element.prototype.matches){varn=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeofe.matches&