text: !function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(t=t||self).DragonDrop=n()}(this,function(){"use strict";var s="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(t,n){return t(n={exports:{}},n.exports),n.exports}var zt=t(function(t){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),e={}.hasOwnProperty,Yt=function(t,n){return e.call(t,n)},qt=function(t){try{return!!t()}catch(t){return!0}},Kt=!qt(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),d=t(function(t){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)}),Xt=(d.version,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}),n=function(){function r(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,e){return n&&r(t.prototype,n),e&&r(t,e),t}}(),$t=function(t){return"object"===(void 0===t?"undefined":Xt(t))?null!==t:"function"==typeof t},p=function(t){if(!$t(t))throw TypeError(t+" is not an object!");return t},r=zt.document,i=$t(r)&&$t(r.createElement),o=function(t){return i?r.createElement(t):{}},u=!Kt&&!qt(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}),Ht=function(t,n){if(!$t(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!$t(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!$t(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!$t(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},a=Object.defineProperty,Jt={f:Kt?Object.defineProperty:function(t,n,e){if(p(t),n=Ht(n,!0),p(e),u)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},Zt=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},Qt=Kt?function(t,n,e){return Jt.f(t,n,Zt(1,e))}:function(t,n,e){return t[n]=e,t},c=0,f=Math.random(),tn=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++c+f).toString(36))},b=t(function(t){var o=tn("src"),n="toString",e=Function[n],u=(""+e).split(n);d.inspectSource=function(t){return e.call(t)},(t.exports=function(t,n,e,r){var i="function"==typeof e;i&&(Yt(e,"name")||Qt(e,"name",n)),t[n]!==e&&(i&&(Yt(e,o)||Qt(e,o,t[n]?""+t[n]:u.join(String(n)))),t===zt?t[n]=e:r?t[n]?t[n]=e:Qt(t,n,e):(delete t[n],Qt(t,n,e)))})(Function.prototype,n,function(){return"function"==typeof this&&this[o]||e.call(this)})}),l=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},nn=function(r,i,t){if(l(r),void 0===i)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,n){return r.call(i,t,n)};case 3:return function(t,n,e){return r.call(i,t,n,e)}}return function(){return r.apply(i,arguments)}},g="prototype",h=function t(n,e,r){var i,o,u,a,c=n&t.F,s=n&t.G,f=n&t.P,l=n&t.B,h=s?zt:n&t.S?zt[e]||(zt[e]={}):(zt[e]||{})[g],v=s?d:d[e]||(d[e]={}),p=v[g]||(v[g]={});for(i in s&&(r=e),r)u=((o=!c&&h&&void 0!==h[i])?h:r)[i],a=l&&o?nn(u,zt):f&&"function"==typeof u?nn(Function.call,u):u,h&&b(h,i,u,n&t.U),v[i]!=u&&Qt(v,i,a),f&&p[i]!=u&&(p[i]=u)};zt.core=d,h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,h.U=64,h.R=128;var en=h,y=t(function(t){var e=tn("meta"),n=Jt.f,r=0,i=Object.isExtensible||function(){return!0},o=!qt(function(){return i(Object.preventExtensions({}))}),u=function(t){n(t,e,{value:{i:"O"+ ++r,w:{}}})},a=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!$t(t))return"symbol"==(void 0===t?"undefined":Xt(t))?t:("string"==typeof t?"S":"P")+t;if(!Yt(t,e)){if(!i(t))return"F";if(!n)return"E";u(t)}return t[e].i},getWeak:function(t,n){if(!Yt(t,e)){if(!i(t))return!0;if(!n)return!1;u(t)}return t[e].w},onFreeze:function(t){return o&&a.NEED&&i(t)&&!Yt(t,e)&&u(t),t}}}),v=(y.KEY,y.NEED,y.fastKey,y.getWeak,y.onFreeze,t(function(t){var n="__core-js_shared__",e=zt[n]||(zt[n]={});(t.exports=function(t,n){return e[t]||(e[t]=void 0!==n?n:{})})("versions",[]).push({version:d.version,mode:"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})})),rn=t(function(t){var n=v("wks"),e=zt.Symbol,r="function"==typeof e;(t.exports=function(t){return n[t]||(n[t]=r&&e[t]||(r?e:tn)("Symbol."+t))}).store=n}),m=Jt.f,w=rn("toStringTag"),W=function(t,n,e){t&&!Yt(t=e?t:t.prototype,w)&&m(t,w,{configurable:!0,value:n})},S={f:rn},E=Jt.f,F=function(t){var n=d.Symbol||(d.Symbol=zt.Symbol||{});"_"==t.charAt(0)||t in n||E(n,t,{value:S.f(t)})},_={}.toString,C=function(t){return _.call(t).slice(8,-1)},O=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==C(t)?t.split(""):Object(t)},x=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t},A=function(t){return O(x(t))},P=Math.ceil,M=Math.floor,on=function(t){return isNaN(t=+t)?0:(0<t?M:P)(t)},N=Math.min,un=function(t){return 0<t?N(on(t),9007199254740991):0},I=Math.max,j=Math.min,an=function(t,n){return(t=on(t))<0?I(t+n,0):j(t,n)},cn=function(a){return function(t,n,e){var r,i=A(t),o=un(i.length),u=an(e,o);if(a&&n!=n){for(;u<o;)if((r=i[u++])!=r)return!0}else for(;u<o;u++)if((a||u in i)&&i[u]===n)return a||u||0;return!a&&-1}},k=v("keys"),T=function(t){return k[t]||(k[t]=tn(t))},L=cn(!1),R=T("IE_PROTO"),D=function(t,n){var e,r=A(t),i=0,o=[];for(e in r)e!=R&&Yt(r,e)&&o.push(e);for(;n.length>i;)Yt(r,e=n[i++])&&(~L(o,e)||o.push(e));return o},U="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),B=Object.keys||function(t){return D(t,U)},G={f:Object.getOwnPropertySymbols},V={f:{}.propertyIsEnumerable},z=Array.isArray||function(t){return"Array"==C(t)},Y=Kt?Object.defineProperties:function(t,n){p(t);for(var e,r=B(n),i=r.length,o=0;o<i;)Jt.f(t,e=r[o++],n[e]);return t},q=zt.document,K=q&&q.documentElement,X=T("IE_PROTO"),$=function(){},H="prototype",J=function(){var t,n=o("iframe"),e=U.length;for(n.style.display="none",K.appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),J=t.F;e--;)delete J[H][U[e]];return J()},sn=Object.create||function(t,n){var e;return null!==t?($[H]=p(t),e=new $,$[H]=null,e[X]=t):e=J(),void 0===n?e:Y(e,n)},Z=U.concat("length","prototype"),fn={f:Object.getOwnPropertyNames||function(t){return D(t,Z)}},Q=fn.f,tt={}.toString,nt="object"==("undefined"==typeof window?"undefined":Xt(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],et={f:function(t){return nt&&"[object Window]"==tt.call(t)?function(t){try{return Q(t)}catch(t){return nt.slice()}}(t):Q(A(t))}},rt=Object.getOwnPropertyDescriptor,ln={f:Kt?rt:function(t,n){if(t=A(t),n=Ht(n,!0),u)try{return rt(t,n)}catch(t){}if(Yt(t,n))return Zt(!V.f.call(t,n),t[n])}},it=y.KEY,ot=ln.f,ut=Jt.f,at=et.f,ct=zt.Symbol,st=zt.JSON,ft=st&&st.stringify,lt="prototype",ht=rn("_hidden"),vt=rn("toPrimitive"),pt={}.propertyIsEnumerable,dt=v("symbol-registry"),gt=v("symbols"),yt=v("op-symbols"),mt=Object[lt],bt="function"==typeof ct,wt=zt.QObject,St=!wt||!wt[lt]||!wt[lt].findChild,Et=Kt&&qt(function(){return 7!=sn(ut({},"a",{get:function(){return ut(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=ot(mt,n);r&&delete mt[n],ut(t,n,e),r&&t!==mt&&ut(mt,n,r)}:ut,Ft=function(t){var n=gt[t]=sn(ct[lt]);return n._k=t,n},_t=bt&&"symbol"==Xt(ct.iterator)?function(t){return"symbol"==(void 0===t?"undefined":Xt(t))}:function(t){return t instanceof ct},Ct=function(t,n,e){return t===mt&&Ct(yt,n,e),p(t),n=Ht(n,!0),p(e),Yt(gt,n)?(e.enumerable?(Yt(t,ht)&&t[ht][n]&&(t[ht][n]=!1),e=sn(e,{enumerable:Zt(0,!1)})):(Yt(t,ht)||ut(t,ht,Zt(1,{})),t[ht][n]=!0),Et(t,n,e)):ut(t,n,e)},Ot=function(t,n){p(t);for(var e,r=function(t){var n=B(t),e=G.f;if(e)for(var r,i=e(t),o=V.f,u=0;i.length>u;)o.call(t,r=i[u++])&&n.push(r);return n}(n=A(n)),i=0,o=r.length;i<o;)Ct(t,e=r[i++],n[e]);return t},xt=function(t){var n=pt.call(this,t=Ht(t,!0));return!(this===mt&&Yt(gt,t)&&!Yt(yt,t))&&(!(n||!Yt(this,t)||!Yt(gt,t)||Yt(this,ht)&&this[ht][t])||n)},At=function(t,n){if(t=A(t),n=Ht(n,!0),t!==mt||!Yt(gt,n)||Yt(yt,n)){var e=ot(t,n);return!e||!Yt(gt,n)||Yt(t,ht)&&t[ht][n]||(e.enumerable=!0),e}},Pt=function(t){for(var n,e=at(A(t)),r=[],i=0;e.length>i;)Yt(gt,n=e[i++])||n==ht||n==it||r.push(n);return r},Mt=function(t){for(var n,e=t===mt,r=at(e?yt:A(t)),i=[],o=0;r.length>o;)!Yt(gt,n=r[o++])||e&&!Yt(mt,n)||i.push(gt[n]);return i};bt||(b((ct=function(){if(this instanceof ct)throw TypeError("Symbol is not a constructor!");var e=tn(0<arguments.length?arguments[0]:void 0);return Kt&&St&&Et(mt,e,{configurable:!0,set:function t(n){this===mt&&t.call(yt,n),Yt(this,ht)&&Yt(this[ht],e)&&(this[ht][e]=!1),Et(this,e,Zt(1,n))}}),Ft(e)})[lt],"toString",function(){return this._k}),ln.f=At,Jt.f=Ct,fn.f=et.f=Pt,V.f=xt,G.f=Mt,Kt&&b(mt,"propertyIsEnumerable",xt,!0),S.f=function(t){return Ft(rn(t))}),en(en.G+en.W+en.F*!bt,{Symbol:ct});for(var Nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),It=0;Nt.length>It;)rn(Nt[It++]);for(var jt=B(rn.store),kt=0;jt.length>kt;)F(jt[kt++]);en(en.S+en.F*!bt,"Symbol",{for:function(t){return Yt(dt,t+="")?dt[t]:dt[t]=ct(t)},keyFor:function(t){if(!_t(t))throw TypeError(t+" is not a symbol!");for(var n in dt)if(dt[n]===t)return n},useSetter:function(){St=!0},useSimple:function(){St=!1}}),en(en.S+en.F*!bt,"Object",{create:function(t,n){return void 0===n?sn(t):Ot(sn(t),n)},defineProperty:Ct,defineProperties:Ot,getOwnPropertyDescriptor:At,getOwnPropertyNames:Pt,getOwnPropertySymbols:Mt}),st&&en(en.S+en.F*(!bt||qt(function(){var t=ct();return"[null]"!=ft([t])||"{}"!=ft({a:t})||"{}"!=ft(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(e=n=r[1],($t(n)||void 0!==t)&&!_t(t))return z(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!_t(n))return n}),r[1]=n,ft.apply(st,r)}}),ct[lt][vt]||Qt(ct[lt],vt,ct[lt].valueOf),W(ct,"Symbol"),W(Math,"Math",!0),W(zt.JSON,"JSON",!0),en(en.S,"Object",{create:sn}),en(en.S+en.F*!Kt,"Object",{defineProperty:Jt.f}),en(en.S+en.F*!Kt,"Object",{defineProperties:Y});var Tt=function(t,n){var e=(d.Object||{})[t]||Object[t],r={};r[t]=n(e),en(en.S+en.F*qt(function(){e(1)}),"Object",r)},Lt=ln.f;Tt("getOwnPropertyDescriptor",function(){return function(t,n){return Lt(A(t),n)}});var hn=function(t){return Object(x(t))},Rt=T("IE_PROTO"),Dt=Object.prototype,vn=Object.getPrototypeOf||function(t){return t=hn(t),Yt(t,Rt)?t[Rt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Dt:null};Tt("getPrototypeOf",function(){return function(t){return vn(hn(t))}}),Tt("keys",function(){return function(t){return B(hn(t))}}),Tt("getOwnPropertyNames",function(){return et.f});var Ut=y.onFreeze;Tt("freeze",function(n){return function(t){return n&&$t(t)?n(Ut(t)):t}});var Bt=y.onFreeze;Tt("seal",function(n){return function(t){return n&&$t(t)?n(Bt(t)):t}});var Wt=y.onFreeze;Tt("preventExtensions",function(n){return function(t){return n&&$t(t)?n(Wt(t)):t}}),Tt("isFrozen",function(n){return function(t){return!$t(t)||!!n&&n(t)}}),Tt("isSealed",function(n){return function(t){return!$t(t)||!!n&&n(t)}}),Tt("isExtensible",function(n){return function(t){return!!$t(t)&&(!n||n(t))}});var Gt=Object.assign,Vt=!Gt||qt(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=Gt({},t)[e]||Object.keys(Gt({},n)).join("")!=r})?function(t,n){for(var e=hn(t),r=arguments.length,i=1,o=G.f,u=V.f;i<r;)for(var a,c=O(arguments[i++]),s=o?B(c).concat(o(c)):B(c),f=s.length,l=0;l<f;)u.call(c,a=s[l++])&&(e[a]=c[a]);return e}:Gt;en(en.S+en.F,"Object",{assign:Vt});var pn=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n};en(en.S,"Object",{is:pn});var dn=function(t,n){if(p(t),!$t(n)&&null!==n)throw TypeError(n+": can't set as prototype!")},gn={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=nn(Function.call,ln.f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return dn(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:dn};en(en.S,"Object",{setPrototypeOf:gn.set});var yn=rn("toStringTag"),mn="Arguments"==C(function(){return arguments}()),bn=function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),yn))?e:mn?C(n):"Object"==(r=C(n))&&"function"==typeof n.callee?"Arguments":r},wn={};wn[rn("toStringTag")]="z",wn+""!="[object z]"&&b(Object.prototype,"toString",function(){return"[object "+bn(this)+"]"},!0);var Sn=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)},En=[].slice,Fn={},_n=Function.bind||function(e){var r=l(this),i=En.call(arguments,1),t=function t(){var n=i.concat(En.call(arguments));return this instanceof t?function(t,n,e){if(!(n in Fn)){for(var r=[],i=0;i<n;i++)r[i]="a["+i+"]";Fn[n]=Function("F,a","return new F("+r.join(",")+")")}return Fn[n](t,e)}(r,n.length,n):Sn(r,n,e)};return $t(r.prototype)&&(t.prototype=r.prototype),t};en(en.P,"Function",{bind:_n});var Cn=Jt.f,On=Function.prototype,xn=/^\s*function ([^ (]*)/;"name"in On||Kt&&Cn(On,"name",{configurable:!0,get:function(){try{return(""+this).match(xn)[1]}catch(t){return""}}});var An=rn("hasInstance"),Pn=Function.prototype;An in Pn||Jt.f(Pn,An,{value:function(t){if("function"!=typeof this||!$t(t))return!1;if(!$t(this.prototype))return t instanceof this;for(;t=vn(t);)if(this.prototype===t)return!0;return!1}});var Mn="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff",Nn="["+Mn+"]",In=RegExp("^"+Nn+Nn+"*"),jn=RegExp(Nn+Nn+"*$"),kn=function(t,n,e){var r={},i=qt(function(){return!!Mn[t]()||"​"!="​"[t]()}),o=r[t]=i?n(Tn):Mn[t];e&&(r[e]=o),en(en.P+en.F*i,"String",r)},Tn=kn.trim=function(t,n){return t=String(x(t)),1&n&&(t=t.replace(In,"")),2&n&&(t=t.replace(jn,"")),t},Ln=kn,Rn=zt.parseInt,Dn=Ln.trim,Un=/^[-+]?0[xX]/,Bn=8!==Rn(Mn+"08")||22!==Rn(Mn+"0x16")?function(t,n){var e=Dn(String(t),3);return Rn(e,n>>>0||(Un.test(e)?16:10))}:Rn;en(en.G+en.F*(parseInt!=Bn),{parseInt:Bn});var Wn=zt.parseFloat,Gn=Ln.trim,Vn=1/Wn(Mn+"-0")!=-1/0?function(t){var n=Gn(String(t),3),e=Wn(n);return 0===e&&"-"==n.charAt(0)?-0:e}:Wn;en(en.G+en.F*(parseFloat!=Vn),{parseFloat:Vn});var zn=gn.set,Yn=function(t,n,e){var r,i=n.constructor;return i!==e&&"function"==typeof i&&(r=i.prototype)!==e.prototype&&$t(r)&&zn&&zn(t,r),t},qn=fn.f,Kn=ln.f,Xn=Jt.f,$n=Ln.trim,Hn="Number",Jn=zt[Hn],Zn=Jn,Qn=Jn.prototype,te=C(sn(Qn))==Hn,ne="trim"in String.prototype,ee=function(t){var n=Ht(t,!1);if("string"==typeof n&&2<n.length){var e,r,i,o=(n=ne?n.trim():$n(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+n}for(var u,a=n.slice(2),c=0,s=a.length;c<s;c++)if((u=a.charCodeAt(c))<48||i<u)return NaN;return parseInt(a,r)}}return+n};if(!Jn(" 0o1")||!Jn("0b1")||Jn("+0x1")){Jn=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof Jn&&(te?qt(function(){Qn.valueOf.call(e)}):C(e)!=Hn)?Yn(new Zn(ee(n)),e,Jn):ee(n)};for(var re,ie=Kt?qn(Zn):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),oe=0;ie.length>oe;oe++)Yt(Zn,re=ie[oe])&&!Yt(Jn,re)&&Xn(Jn,re,Kn(Zn,re));(Jn.prototype=Qn).constructor=Jn,b(zt,Hn,Jn)}var ue=function(t,n){if("number"!=typeof t&&"Number"!=C(t))throw TypeError(n);return+t},ae=function(t){var n=String(x(this)),e="",r=on(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;0<r;(r>>>=1)&&(n+=n))1&r&&(e+=n);return e},ce=1..toFixed,se=Math.floor,fe=[0,0,0,0,0,0],le="Number.toFixed: incorrect invocation!",he=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*fe[e],fe[e]=r%1e7,r=se(r/1e7)},ve=function(t){for(var n=6,e=0;0<=--n;)e+=fe[n],fe[n]=se(e/t),e=e%t*1e7},pe=function(){for(var t=6,n="";0<=--t;)if(""!==n||0===t||0!==fe[t]){var e=String(fe[t]);n=""===n?e:n+ae.call("0",7-e.length)+e}return n},de=function t(n,e,r){return 0===e?r:e%2==1?t(n,e-1,r*n):t(n*n,e/2,r)};en(en.P+en.F*(!!ce&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!qt(function(){ce.call({})})),"Number",{toFixed:function(t){var n,e,r,i,o=ue(this,le),u=on(t),a="",c="0";if(u<0||20<u)throw RangeError(le);if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return String(o);if(o<0&&(a="-",o=-o),1e-21<o)if(e=(n=function(t){for(var n=0,e=t;4096<=e;)n+=12,e/=4096;for(;2<=e;)n+=1,e/=2;return n}(o*de(2,69,1))-69)<0?o*de(2,-n,1):o/de(2,n,1),e*=4503599627370496,0<(n=52-n)){for(he(0,e),r=u;7<=r;)he(1e7,0),r-=7;for(he(de(10,r,1),0),r=n-1;23<=r;)ve(1<<23),r-=23;ve(1<<r),he(1,1),ve(2),c=pe()}else he(0,e),he(1<<-n,0),c=pe()+ae.call("0",u);return c=0<u?a+((i=c.length)<=u?"0."+ae.call("0",u-i)+c:c.slice(0,i-u)+"."+c.slice(i-u)):a+c}});var ge=1..toPrecision;en(en.P+en.F*(qt(function(){return"1"!==ge.call(1,void 0)})||!qt(function(){ge.call({})})),"Number",{toPrecision:function(t){var n=ue(this,"Number#toPrecision: incorrect invocation!");return void 0===t?ge.call(n):ge.call(n,t)}}),en(en.S,"Number",{EPSILON:Math.pow(2,-52)});var ye=zt.isFinite;en(en.S,"Number",{isFinite:function(t){return"number"==typeof t&&ye(t)}});var me=Math.floor,be=function(t){return!$t(t)&&isFinite(t)&&me(t)===t};en(en.S,"Number",{isInteger:be}),en(en.S,"Number",{isNaN:function(t){return t!=t}});var we=Math.abs;en(en.S,"Number",{isSafeInteger:function(t){return be(t)&&we(t)<=9007199254740991}}),en(en.S,"Number",{MAX_SAFE_INTEGER:9007199254740991}),en(en.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991}),en(en.S+en.F*(Number.parseFloat!=Vn),"Number",{parseFloat:Vn}),en(en.S+en.F*(Number.parseInt!=Bn),"Number",{parseInt:Bn});var Se=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)},Ee=Math.sqrt,Fe=Math.acosh;en(en.S+en.F*!(Fe&&710==Math.floor(Fe(Number.MAX_VALUE))&&Fe(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:Se(t-1+Ee(t-1)*Ee(t+1))}});var _e=Math.asinh;en(en.S+en.F*!(_e&&0<1/_e(0)),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}});var Ce=Math.atanh;en(en.S+en.F*!(Ce&&1/Ce(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}});var Oe=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1};en(en.S,"Math",{cbrt:function(t){return Oe(t=+t)*Math.pow(Math.abs(t),1/3)}}),en(en.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}});var xe=Math.exp;en(en.S,"Math",{cosh:function(t){return(xe(t=+t)+xe(-t))/2}});var Ae=Math.expm1,Pe=!Ae||22025.465794806718<Ae(10)||Ae(10)<22025.465794806718||-2e-17!=Ae(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:Ae;en(en.S+en.F*(Pe!=Math.expm1),"Math",{expm1:Pe});var Me=Math.pow,Ne=Me(2,-52),Ie=Me(2,-23),je=Me(2,127)*(2-Ie),ke=Me(2,-126),Te=Math.fround||function(t){var n,e,r=Math.abs(t),i=Oe(t);return r<ke?i*(r/ke/Ie+1/Ne-1/Ne)*ke*Ie:je<(e=(n=(1+Ie/Ne)*r)-(n-r))||e!=e?i*(1/0):i*e};en(en.S,"Math",{fround:Te});var Le=Math.abs;en(en.S,"Math",{hypot:function(t,n){for(var e,r,i=0,o=0,u=arguments.length,a=0;o<u;)a<(e=Le(arguments[o++]))?(i=i*(r=a/e)*r+1,a=e):i+=0<e?(r=e/a)*r:e;return a===1/0?1/0:a*Math.sqrt(i)}});var Re=Math.imul;en(en.S+en.F*qt(function(){return-5!=Re(4294967295,5)||2!=Re.length}),"Math",{imul:function(t,n){var e=65535,r=+t,i=+n,o=e&r,u=e&i;return 0|o*u+((e&r>>>16)*u+o*(e&i>>>16)<<16>>>0)}}),en(en.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}}),en(en.S,"Math",{log1p:Se}),en(en.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}}),en(en.S,"Math",{sign:Oe});var De=Math.exp;en(en.S+en.F*qt(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(Pe(t)-Pe(-t))/2:(De(t-1)-De(-t-1))*(Math.E/2)}});var Ue=Math.exp;en(en.S,"Math",{tanh:function(t){var n=Pe(t=+t),e=Pe(-t);return n==1/0?1:e==1/0?-1:(n-e)/(Ue(t)+Ue(-t))}}),en(en.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}});var Be=String.fromCharCode,We=String.fromCodePoint;en(en.S+en.F*(!!We&&1!=We.length),"String",{fromCodePoint:function(t){for(var n,e=[],r=arguments.length,i=0;i<r;){if(n=+arguments[i++],an(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(n<65536?Be(n):Be(55296+((n-=65536)>>10),n%1024+56320))}return e.join("")}}),en(en.S,"String",{raw:function(t){for(var n=A(t.raw),e=un(n.length),r=arguments.length,i=[],o=0;o<e;)i.push(String(n[o++])),o<r&&i.push(String(arguments[o]));return i.join("")}}),Ln("trim",function(t){return function(){return t(this,3)}});var Ge=function(a){return function(t,n){var e,r,i=String(x(t)),o=on(n),u=i.length;return o<0||u<=o?a?"":void 0:(e=i.charCodeAt(o))<55296||56319<e||o+1===u||(r=i.charCodeAt(o+1))<56320||57343<r?a?i.charAt(o):e:a?i.slice(o,o+2):r-56320+(e-55296<<10)+65536}},Ve={},ze={};Qt(ze,rn("iterator"),function(){return this});var Ye=function(t,n,e){t.prototype=sn(ze,{next:Zt(1,e)}),W(t,n+" Iterator")},qe=rn("iterator"),Ke=!([].keys&&"next"in[].keys()),Xe="values",$e=function(){return this},He=function(t,n,e,r,i,o,u){Ye(e,n,r);var a,c,s,f=function(t){if(!Ke&&t in p)return p[t];switch(t){case"keys":case Xe:return function(){return new e(this,t)}}return function(){return new e(this,t)}},l=n+" Iterator",h=i==Xe,v=!1,p=t.prototype,d=p[qe]||p["@@iterator"]||i&&p[i],g=d||f(i),y=i?h?f("entries"):g:void 0,m="Array"==n&&p.entries||d;if(m&&(s=vn(m.call(new t)))!==Object.prototype&&s.next&&(W(s,l,!0),"function"!=typeof s[qe]&&Qt(s,qe,$e)),h&&d&&d.name!==Xe&&(v=!0,g=function(){return d.call(this)}),(Ke||v||!p[qe])&&Qt(p,qe,g),Ve[n]=g,Ve[l]=$e,i)if(a={values:h?g:f(Xe),keys:o?g:f("keys"),entries:y},u)for(c in a)c in p||b(p,c,a[c]);else en(en.P+en.F*(Ke||v),n,a);return a},Je=Ge(!0);He(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=Je(n,e),this._i+=t.length,{value:t,done:!1})});var Ze=Ge(!1);en(en.P,"String",{codePointAt:function(t){return Ze(this,t)}});var Qe=rn("match"),tr=function(t){var n;return $t(t)&&(void 0!==(n=t[Qe])?!!n:"RegExp"==C(t))},nr=function(t,n,e){if(tr(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(x(t))},er=rn("match"),rr=function(n){var e=/./;try{"/./"[n](e)}catch(t){try{return e[er]=!1,!"/./"[n](e)}catch(t){}}return!0},ir="endsWith",or=""[ir];en(en.P+en.F*rr(ir),"String",{endsWith:function(t){var n=nr(this,t,ir),e=1<arguments.length?arguments[1]:void 0,r=un(n.length),i=void 0===e?r:Math.min(un(e),r),o=String(t);return or?or.call(n,o,i):n.slice(i-o.length,i)===o}});var ur="includes";en(en.P+en.F*rr(ur),"String",{includes:function(t){return!!~nr(this,t,ur).indexOf(t,1<arguments.length?arguments[1]:void 0)}}),en(en.P,"String",{repeat:ae});var ar="startsWith",cr=""[ar];en(en.P+en.F*rr(ar),"String",{startsWith:function(t){var n=nr(this,t,ar),e=un(Math.min(1<arguments.length?arguments[1]:void 0,n.length)),r=String(t);return cr?cr.call(n,r,e):n.slice(e,e+r.length)===r}});var sr=/"/g,fr=function(t,n,e,r){var i=String(x(t)),o="<"+n;return""!==e&&(o+=" "+e+'="'+String(r).replace(sr,"&quot;")+'"'),o+">"+i+"</"+n+">"},lr=function(n,t){var e={};e[n]=t(fr),en(en.P+en.F*qt(function(){var t=""[n]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",e)};lr("anchor",function(n){return function(t){return n(this,"a","name",t)}}),lr("big",function(t){return function(){return t(this,"big","","")}}),lr("blink",function(t){return function(){return t(this,"blink","","")}}),lr("bold",function(t){return function(){return t(this,"b","","")}}),lr("fixed",function(t){return function(){return t(this,"tt","","")}}),lr("fontcolor",function(n){return function(t){return n(this,"font","color",t)}}),lr("fontsize",function(n){return function(t){return n(this,"font","size",t)}}),lr("italics",function(t){return function(){return t(this,"i","","")}}),lr("link",function(n){return function(t){return n(this,"a","href",t)}}),lr("small",function(t){return function(){return t(this,"small","","")}}),lr("strike",function(t){return function(){return t(this,"strike","","")}}),lr("sub",function(t){return function(){return t(this,"sub","","")}}),lr("sup",function(t){return function(){return t(this,"sup","","")}}),en(en.S,"Date",{now:function(){return(new Date).getTime()}}),en(en.P+en.F*qt(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var n=hn(this),e=Ht(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}});var hr=Date.prototype.getTime,vr=Date.prototype.toISOString,pr=function(t){return 9<t?t:"0"+t},dr=qt(function(){return"0385-07-25T07:06:39.999Z"!=vr.call(new Date(-5e13-1))})||!qt(function(){vr.call(new Date(NaN))})?function(){if(!isFinite(hr.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=n<0?"-":9999<n?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+pr(t.getUTCMonth()+1)+"-"+pr(t.getUTCDate())+"T"+pr(t.getUTCHours())+":"+pr(t.getUTCMinutes())+":"+pr(t.getUTCSeconds())+"."+(99<e?e:"0"+pr(e))+"Z"}:vr;en(en.P+en.F*(Date.prototype.toISOString!==dr),"Date",{toISOString:dr});var gr=Date.prototype,yr="Invalid Date",mr="toString",br=gr[mr],wr=gr.getTime;new Date(NaN)+""!=yr&&b(gr,mr,function(){var t=wr.call(this);return t==t?br.call(this):yr});var Sr=rn("toPrimitive"),Er=Date.prototype;Sr in Er||Qt(Er,Sr,function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return Ht(p(this),"number"!=t)}),en(en.S,"Array",{isArray:z});var Fr=function(n,t,e,r){try{return r?t(p(e)[0],e[1]):t(e)}catch(t){var i=n.return;throw void 0!==i&&p(i.call(n)),t}},_r=rn("iterator"),Cr=Array.prototype,Or=function(t){return void 0!==t&&(Ve.Array===t||Cr[_r]===t)},xr=function(t,n,e){n in t?Jt.f(t,n,Zt(0,e)):t[n]=e},Ar=rn("iterator"),Pr=d.getIteratorMethod=function(t){if(null!=t)return t[Ar]||t["@@iterator"]||Ve[bn(t)]},Mr=rn("iterator"),Nr=!1;try{[7][Mr]().return=function(){Nr=!0}}catch(t){}var Ir=function(t,n){if(!n&&!Nr)return!1;var e=!1;try{var r=[7],i=r[Mr]();i.next=function(){return{done:e=!0}},r[Mr]=function(){return i},t(r)}catch(t){}return e};en(en.S+en.F*!Ir(function(t){}),"Array",{from:function(t){var n,e,r,i,o=hn(t),u="function"==typeof this?this:Array,a=arguments.length,c=1<a?arguments[1]:void 0,s=void 0!==c,f=0,l=Pr(o);if(s&&(c=nn(c,2<a?arguments[2]:void 0,2)),null==l||u==Array&&Or(l))for(e=new u(n=un(o.length));f<n;f++)xr(e,f,s?c(o[f],f):o[f]);else for(i=l.call(o),e=new u;!(r=i.next()).done;f++)xr(e,f,s?Fr(i,c,[r.value,f],!0):r.value);return e.length=f,e}}),en(en.S+en.F*qt(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,e=new("function"==typeof this?this:Array)(n);t<n;)xr(e,t,arguments[t++]);return e.length=n,e}});var jr=function(t,n){return!!t&&qt(function(){n?t.call(null,function(){},1):t.call(null)})},kr=[].join;en(en.P+en.F*(O!=Object||!jr(kr)),"Array",{join:function(t){return kr.call(A(this),void 0===t?",":t)}});var Tr=[].slice;en(en.P+en.F*qt(function(){K&&Tr.call(K)}),"Array",{slice:function(t,n){var e=un(this.length),r=C(this);if(n=void 0===n?e:n,"Array"==r)return Tr.call(this,t,n);for(var i=an(t,e),o=an(n,e),u=un(o-i),a=new Array(u),c=0;c<u;c++)a[c]="String"==r?this.charAt(i+c):this[i+c];return a}});var Lr=[].sort,Rr=[1,2,3];en(en.P+en.F*(qt(function(){Rr.sort(void 0)})||!qt(function(){Rr.sort(null)})||!jr(Lr)),"Array",{sort:function(t){return void 0===t?Lr.call(hn(this)):Lr.call(hn(this),l(t))}});var Dr=rn("species"),Ur=function(t,n){return z(e=t)&&("function"!=typeof(r=e.constructor)||r!==Array&&!z(r.prototype)||(r=void 0),$t(r)&&null===(r=r[Dr])&&(r=void 0)),new(void 0===r?Array:r)(n);var e,r},Br=function(l,t){var h=1==l,v=2==l,p=3==l,d=4==l,g=6==l,y=5==l||g,m=t||Ur;return function(t,n,e){for(var r,i,o=hn(t),u=O(o),a=nn(n,e,3),c=un(u.length),s=0,f=h?m(t,c):v?m(t,0):void 0;s<c;s++)if((y||s in u)&&(i=a(r=u[s],s,o),l))if(h)f[s]=i;else if(i)switch(l){case 3:return!0;case 5:return r;case 6:return s;case 2:f.push(r)}else if(d)return!1;return g?-1:p||d?d:f}},Wr=Br(0),Gr=jr([].forEach,!0);en(en.P+en.F*!Gr,"Array",{forEach:function(t){return Wr(this,t,arguments[1])}});var Vr=Br(1);en(en.P+en.F*!jr([].map,!0),"Array",{map:function(t){return Vr(this,t,arguments[1])}});var zr=Br(2);en(en.P+en.F*!jr([].filter,!0),"Array",{filter:function(t){return zr(this,t,arguments[1])}});var Yr=Br(3);en(en.P+en.F*!jr([].some,!0),"Array",{some:function(t){return Yr(this,t,arguments[1])}});var qr=Br(4);en(en.P+en.F*!jr([].every,!0),"Array",{every:function(t){return qr(this,t,arguments[1])}});var Kr=function(t,n,e,r,i){l(n);var o=hn(t),u=O(o),a=un(o.length),c=i?a-1:0,s=i?-1:1;if(e<2)for(;;){if(c in u){r=u[c],c+=s;break}if(c+=s,i?c<0:a<=c)throw TypeError("Reduce of empty array with no initial value")}for(;i?0<=c:c<a;c+=s)c in u&&(r=n(r,u[c],c,o));return r};en(en.P+en.F*!jr([].reduce,!0),"Array",{reduce:function(t){return Kr(this,t,arguments.length,arguments[1],!1)}}),en(en.P+en.F*!jr([].reduceRight,!0),"Array",{reduceRight:function(t){return Kr(this,t,arguments.length,arguments[1],!0)}});var Xr=cn(!1),$r=[].indexOf,Hr=!!$r&&1/[1].indexOf(1,-0)<0;en(en.P+en.F*(Hr||!jr($r)),"Array",{indexOf:function(t){return Hr?$r.apply(this,arguments)||0:Xr(this,t,arguments[1])}});var Jr=[].lastIndexOf,Zr=!!Jr&&1/[1].lastIndexOf(1,-0)<0;en(en.P+en.F*(Zr||!jr(Jr)),"Array",{lastIndexOf:function(t){if(Zr)return Jr.apply(this,arguments)||0;var n=A(this),e=un(n.length),r=e-1;for(1<arguments.length&&(r=Math.min(r,on(arguments[1]))),r<0&&(r=e+r);0<=r;r--)if(r in n&&n[r]===t)return r||0;return-1}});var Qr=[].copyWithin||function(t,n){var e=hn(this),r=un(e.length),i=an(t,r),o=an(n,r),u=2<arguments.length?arguments[2]:void 0,a=Math.min((void 0===u?r:an(u,r))-o,r-i),c=1;for(o<i&&i<o+a&&(c=-1,o+=a-1,i+=a-1);0<a--;)o in e?e[i]=e[o]:delete e[i],i+=c,o+=c;return e},ti=rn("unscopables"),ni=Array.prototype;null==ni[ti]&&Qt(ni,ti,{});var ei=function(t){ni[ti][t]=!0};en(en.P,"Array",{copyWithin:Qr}),ei("copyWithin");var ri=function(t){for(var n=hn(this),e=un(n.length),r=arguments.length,i=an(1<r?arguments[1]:void 0,e),o=2<r?arguments[2]:void 0,u=void 0===o?e:an(o,e);i<u;)n[i++]=t;return n};en(en.P,"Array",{fill:ri}),ei("fill");var ii=Br(5),oi="find",ui=!0;oi in[]&&Array(1)[oi](function(){ui=!1}),en(en.P+en.F*ui,"Array",{find:function(t){return ii(this,t,1<arguments.length?arguments[1]:void 0)}}),ei(oi);var ai=Br(6),ci="findIndex",si=!0;ci in[]&&Array(1)[ci](function(){si=!1}),en(en.P+en.F*si,"Array",{findIndex:function(t){return ai(this,t,1<arguments.length?arguments[1]:void 0)}}),ei(ci);var fi=rn("species"),li=function(t){var n=zt[t];Kt&&n&&!n[fi]&&Jt.f(n,fi,{configurable:!0,get:function(){return this}})};li("Array");var hi=function(t,n){return{value:n,done:!!t}},vi=He(Array,"Array",function(t,n){this._t=A(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,hi(1)):hi(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values");Ve.Arguments=Ve.Array,ei("keys"),ei("values"),ei("entries");var pi=function(){var t=p(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n},di=Jt.f,gi=fn.f,yi=zt.RegExp,mi=yi,bi=yi.prototype,wi=/a/g,Si=/a/g,Ei=new yi(wi)!==wi;if(Kt&&(!Ei||qt(function(){return Si[rn("match")]=!1,yi(wi)!=wi||yi(Si)==Si||"/a/i"!=yi(wi,"i")}))){yi=function(t,n){var e=this instanceof yi,r=tr(t),i=void 0===n;return!e&&r&&t.constructor===yi&&i?t:Yn(Ei?new mi(r&&!i?t.source:t,n):mi((r=t instanceof yi)?t.source:t,r&&i?pi.call(t):n),e?this:bi,yi)};for(var Fi=function(n){n in yi||di(yi,n,{configurable:!0,get:function(){return mi[n]},set:function(t){mi[n]=t}})},_i=gi(mi),Ci=0;_i.length>Ci;)Fi(_i[Ci++]);(bi.constructor=yi).prototype=bi,b(zt,"RegExp",yi)}li("RegExp"),Kt&&"g"!=/./g.flags&&Jt.f(RegExp.prototype,"flags",{configurable:!0,get:pi});var Oi="toString",xi=/./[Oi],Ai=function(t){b(RegExp.prototype,Oi,t,!0)};qt(function(){return"/a/b"!=xi.call({source:"a",flags:"b"})})?Ai(function(){var t=p(this);return"/".concat(t.source,"/","flags"in t?t.flags:!Kt&&t instanceof RegExp?pi.call(t):void 0)}):xi.name!=Oi&&Ai(function(){return xi.call(this)});var Pi=function(n,t,e){var r=rn(n),i=e(x,r,""[n]),o=i[0],u=i[1];qt(function(){var t={};return t[r]=function(){return 7},7!=""[n](t)})&&(b(String.prototype,n,o),Qt(RegExp.prototype,r,2==t?function(t,n){return u.call(t,this,n)}:function(t){return u.call(t,this)}))};Pi("match",1,function(r,i,t){return[function(t){var n=r(this),e=null==t?void 0:t[i];return void 0!==e?e.call(t,n):new RegExp(t)[i](String(n))},t]}),Pi("replace",2,function(i,o,u){return[function(t,n){var e=i(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,e,n):u.call(String(e),t,n)},u]}),Pi("search",1,function(r,i,t){return[function(t){var n=r(this),e=null==t?void 0:t[i];return void 0!==e?e.call(t,n):new RegExp(t)[i](String(n))},t]}),Pi("split",2,function(i,o,u){var v=tr,p=u,d=[].push,t="split",g="length",y="lastIndex";if("c"=="abbc"[t](/(b)*/)[1]||4!="test"[t](/(?:)/,-1)[g]||2!="ab"[t](/(?:ab)*/)[g]||4!="."[t](/(.?)(.?)/)[g]||1<"."[t](/()()/)[g]||""[t](/.?/)[g]){var m=void 0===/()??/.exec("")[1];u=function(t,n){var e=String(this);if(void 0===t&&0===n)return[];if(!v(t))return p.call(e,t,n);var r,i,o,u,a,c=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,l=void 0===n?4294967295:n>>>0,h=new RegExp(t.source,s+"g");for(m||(r=new RegExp("^"+h.source+"$(?!\\s)",s));(i=h.exec(e))&&!(f<(o=i.index+i[0][g])&&(c.push(e.slice(f,i.index)),!m&&1<i[g]&&i[0].replace(r,function(){for(a=1;a<arguments[g]-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),1<i[g]&&i.index<e[g]&&d.apply(c,i.slice(1)),u=i[0][g],f=o,c[g]>=l));)h[y]===i.index&&h[y]++;return f===e[g]?!u&&h.test("")||c.push(""):c.push(e.slice(f)),c[g]>l?c.slice(0,l):c}}else"0"[t](void 0,0)[g]&&(u=function(t,n){return void 0===t&&0===n?[]:p.call(this,t,n)});return[function(t,n){var e=i(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,e,n):u.call(String(e),t,n)},u]});var Mi,Ni,Ii,ji=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t},ki=t(function(t){var h={},v={},n=t.exports=function(t,n,e,r,i){var o,u,a,c,s=i?function(){return t}:Pr(t),f=nn(e,r,n?2:1),l=0;if("function"!=typeof s)throw TypeError(t+" is not iterable!");if(Or(s)){for(o=un(t.length);l<o;l++)if((c=n?f(p(u=t[l])[0],u[1]):f(t[l]))===h||c===v)return c}else for(a=s.call(t);!(u=a.next()).done;)if((c=Fr(a,f,u.value,n))===h||c===v)return c};n.BREAK=h,n.RETURN=v}),Ti=rn("species"),Li=function(t,n){var e,r=p(t).constructor;return void 0===r||null==(e=p(r)[Ti])?n:l(e)},Ri=zt.process,Di=zt.setImmediate,Ui=zt.clearImmediate,Bi=zt.MessageChannel,Wi=zt.Dispatch,Gi=0,Vi={},zi="onreadystatechange",Yi=function(){var t=+this;if(Vi.hasOwnProperty(t)){var n=Vi[t];delete Vi[t],n()}},qi=function(t){Yi.call(t.data)};Di&&Ui||(Di=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return Vi[++Gi]=function(){Sn("function"==typeof t?t:Function(t),n)},Mi(Gi),Gi},Ui=function(t){delete Vi[t]},"process"==C(Ri)?Mi=function(t){Ri.nextTick(nn(Yi,t,1))}:Wi&&Wi.now?Mi=function(t){Wi.now(nn(Yi,t,1))}:Bi?(Ii=(Ni=new Bi).port2,Ni.port1.onmessage=qi,Mi=nn(Ii.postMessage,Ii,1)):zt.addEventListener&&"function"==typeof postMessage&&!zt.importScripts?(Mi=function(t){zt.postMessage(t+"","*")},zt.addEventListener("message",qi,!1)):Mi=zi in o("script")?function(t){K.appendChild(o("script"))[zi]=function(){K.removeChild(this),Yi.call(t)}}:function(t){setTimeout(nn(Yi,t,1),0)});var Ki={set:Di,clear:Ui},Xi=Ki.set,$i=zt.MutationObserver||zt.WebKitMutationObserver,Hi=zt.process,Ji=zt.Promise,Zi="process"==C(Hi);function Qi(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=l(e),this.reject=l(r)}var to,no,eo,ro,io={f:function(t){return new Qi(t)}},oo=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},uo=zt.navigator,ao=uo&&uo.userAgent||"",co=function(t,n){if(p(t),$t(n)&&n.constructor===t)return n;var e=io.f(t);return(0,e.resolve)(n),e.promise},so=function(t,n,e){for(var r in n)b(t,r,n[r],e);return t},fo=Ki.set,lo=function(){var e,r,i,t=function(){var t,n;for(Zi&&(t=Hi.domain)&&t.exit();e;){n=e.fn,e=e.next;try{n()}catch(t){throw e?i():r=void 0,t}}r=void 0,t&&t.enter()};if(Zi)i=function(){Hi.nextTick(t)};else if(!$i||zt.navigator&&zt.navigator.standalone)if(Ji&&Ji.resolve){var n=Ji.resolve(void 0);i=function(){n.then(t)}}else i=function(){Xi.call(zt,t)};else{var o=!0,u=document.createTextNode("");new $i(t).observe(u,{characterData:!0}),i=function(){u.data=o=!o}}return function(t){var n={fn:t,next:void 0};r&&(r.next=n),e||(e=n,i()),r=n}}(),ho="Promise",vo=zt.TypeError,po=zt.process,go=po&&po.versions,yo=go&&go.v8||"",mo=zt[ho],bo="process"==bn(po),wo=function(){},So=no=io.f,Eo=!!function(){try{var t=mo.resolve(1),n=(t.constructor={})[rn("species")]=function(t){t(wo,wo)};return(bo||"function"==typeof PromiseRejectionEvent)&&t.then(wo)instanceof n&&0!==yo.indexOf("6.6")&&-1===ao.indexOf("Chrome/66")}catch(t){}}(),Fo=function(t){var n;return!(!$t(t)||"function"!=typeof(n=t.then))&&n},_o=function(f,e){if(!f._n){f._n=!0;var r=f._c;lo(function(){for(var c=f._v,s=1==f._s,t=0,n=function(t){var n,e,r,i=s?t.ok:t.fail,o=t.resolve,u=t.reject,a=t.domain;try{i?(s||(2==f._h&&xo(f),f._h=1),!0===i?n=c:(a&&a.enter(),n=i(c),a&&(a.exit(),r=!0)),n===t.promise?u(vo("Promise-chain cycle")):(e=Fo(n))?e.call(n,o,u):o(n)):u(c)}catch(t){a&&!r&&a.exit(),u(t)}};r.length>t;)n(r[t++]);f._c=[],f._n=!1,e&&!f._h&&Co(f)})}},Co=function(o){fo.call(zt,function(){var t,n,e,r=o._v,i=Oo(o);if(i&&(t=oo(function(){bo?po.emit("unhandledRejection",r,o):(n=zt.onunhandledrejection)?n({promise:o,reason:r}):(e=zt.console)&&e.error&&e.error("Unhandled promise rejection",r)}),o._h=bo||Oo(o)?2:1),o._a=void 0,i&&t.e)throw t.v})},Oo=function(t){return 1!==t._h&&0===(t._a||t._c).length},xo=function(n){fo.call(zt,function(){var t;bo?po.emit("rejectionHandled",n):(t=zt.onrejectionhandled)&&t({promise:n,reason:n._v})})},Ao=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),_o(n,!0))},Po=function t(e){var r,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw vo("Promise can't be resolved itself");(r=Fo(e))?lo(function(){var n={_w:i,_d:!1};try{r.call(e,nn(t,n,1),nn(Ao,n,1))}catch(t){Ao.call(n,t)}}):(i._v=e,i._s=1,_o(i,!1))}catch(t){Ao.call({_w:i,_d:!1},t)}}};Eo||(mo=function(t){ji(this,mo,ho,"_h"),l(t),to.call(this);try{t(nn(Po,this,1),nn(Ao,this,1))}catch(t){Ao.call(this,t)}},(to=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=so(mo.prototype,{then:function(t,n){var e=So(Li(this,mo));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=bo?po.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&_o(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),eo=function(){var t=new to;this.promise=t,this.resolve=nn(Po,t,1),this.reject=nn(Ao,t,1)},io.f=So=function(t){return t===mo||t===ro?new eo(t):no(t)}),en(en.G+en.W+en.F*!Eo,{Promise:mo}),W(mo,ho),li(ho),ro=d[ho],en(en.S+en.F*!Eo,ho,{reject:function(t){var n=So(this);return(0,n.reject)(t),n.promise}}),en(en.S+en.F*!Eo,ho,{resolve:function(t){return co(this,t)}}),en(en.S+en.F*!(Eo&&Ir(function(t){mo.all(t).catch(wo)})),ho,{all:function(t){var u=this,n=So(u),a=n.resolve,c=n.reject,e=oo(function(){var r=[],i=0,o=1;ki(t,!1,function(t){var n=i++,e=!1;r.push(void 0),o++,u.resolve(t).then(function(t){e||(e=!0,r[n]=t,--o||a(r))},c)}),--o||a(r)});return e.e&&c(e.v),n.promise},race:function(t){var n=this,e=So(n),r=e.reject,i=oo(function(){ki(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i.e&&r(i.v),e.promise}});var Mo=function(t,n){if(!$t(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t},No=Jt.f,Io=y.fastKey,jo=Kt?"_s":"size",ko=function(t,n){var e,r=Io(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e},To={getConstructor:function(t,o,e,r){var i=t(function(t,n){ji(t,i,o,"_i"),t._t=o,t._i=sn(null),t._f=void 0,t._l=void 0,t[jo]=0,null!=n&&ki(n,e,t[r],t)});return so(i.prototype,{clear:function(){for(var t=Mo(this,o),n=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete n[e.i];t._f=t._l=void 0,t[jo]=0},delete:function(t){var n=Mo(this,o),e=ko(n,t);if(e){var r=e.n,i=e.p;delete n._i[e.i],e.r=!0,i&&(i.n=r),r&&(r.p=i),n._f==e&&(n._f=r),n._l==e&&(n._l=i),n[jo]--}return!!e},forEach:function(t){Mo(this,o);for(var n,e=nn(t,1<arguments.length?arguments[1]:void 0,3);n=n?n.n:this._f;)for(e(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!ko(Mo(this,o),t)}}),Kt&&No(i.prototype,"size",{get:function(){return Mo(this,o)[jo]}}),i},def:function(t,n,e){var r,i,o=ko(t,n);return o?o.v=e:(t._l=o={i:i=Io(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[jo]++,"F"!==i&&(t._i[i]=o)),t},getEntry:ko,setStrong:function(t,e,n){He(t,e,function(t,n){this._t=Mo(t,e),this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?hi(0,"keys"==n?e.k:"values"==n?e.v:[e.k,e.v]):(t._t=void 0,hi(1))},n?"entries":"values",!n,!0),li(e)}},Lo=function(r,t,n,e,i,o){var u=zt[r],a=u,c=i?"set":"add",s=a&&a.prototype,f={},l=function(t){var e=s[t];b(s,t,"delete"==t?function(t){return!(o&&!$t(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!$t(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!$t(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof a&&(o||s.forEach&&!qt(function(){(new a).entries().next()}))){var h=new a,v=h[c](o?{}:-0,1)!=h,p=qt(function(){h.has(1)}),d=Ir(function(t){new a(t)}),g=!o&&qt(function(){for(var t=new a,n=5;n--;)t[c](n,n);return!t.has(-0)});d||(((a=t(function(t,n){ji(t,a,r);var e=Yn(new u,t,a);return null!=n&&ki(n,i,e[c],e),e})).prototype=s).constructor=a),(p||g)&&(l("delete"),l("has"),i&&l("get")),(g||v)&&l(c),o&&s.clear&&delete s.clear}else a=e.getConstructor(t,r,i,c),so(a.prototype,n),y.NEED=!0;return W(a,r),f[r]=a,en(en.G+en.W+en.F*(a!=u),f),o||e.setStrong(a,r,i),a},Ro=(Lo("Map",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{get:function(t){var n=To.getEntry(Mo(this,"Map"),t);return n&&n.v},set:function(t,n){return To.def(Mo(this,"Map"),0===t?0:t,n)}},To,!0),Lo("Set",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{add:function(t){return To.def(Mo(this,"Set"),t=0===t?0:t,t)}},To),y.getWeak),Do=Br(5),Uo=Br(6),Bo=0,Wo=function(t){return t._l||(t._l=new Go)},Go=function(){this.a=[]},Vo=function(t,n){return Do(t.a,function(t){return t[0]===n})};Go.prototype={get:function(t){var n=Vo(this,t);if(n)return n[1]},has:function(t){return!!Vo(this,t)},set:function(t,n){var e=Vo(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(n){var t=Uo(this.a,function(t){return t[0]===n});return~t&&this.a.splice(t,1),!!~t}};var zo={getConstructor:function(t,e,r,i){var o=t(function(t,n){ji(t,o,e,"_i"),t._t=e,t._i=Bo++,t._l=void 0,null!=n&&ki(n,r,t[i],t)});return so(o.prototype,{delete:function(t){if(!$t(t))return!1;var n=Ro(t);return!0===n?Wo(Mo(this,e)).delete(t):n&&Yt(n,this._i)&&delete n[this._i]},has:function(t){if(!$t(t))return!1;var n=Ro(t);return!0===n?Wo(Mo(this,e)).has(t):n&&Yt(n,this._i)}}),o},def:function(t,n,e){var r=Ro(p(n),!0);return!0===r?Wo(t).set(n,e):r[t._i]=e,t},ufstore:Wo},Yo=(t(function(t){var o,n=Br(0),e="WeakMap",r=y.getWeak,u=Object.isExtensible,i=zo.ufstore,a={},c=function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},s={get:function(t){if($t(t)){var n=r(t);return!0===n?i(Mo(this,e)).get(t):n?n[this._i]:void 0}},set:function(t,n){return zo.def(Mo(this,e),t,n)}},f=t.exports=Lo(e,c,s,zo,!0,!0);qt(function(){return 7!=(new f).set((Object.freeze||Object)(a),7).get(a)})&&(o=zo.getConstructor(c,e),Vt(o.prototype,s),y.NEED=!0,n(["delete","has","get","set"],function(r){var t=f.prototype,i=t[r];b(t,r,function(t,n){if(!$t(t)||u(t))return i.call(this,t,n);this._f||(this._f=new o);var e=this._f[r](t,n);return"set"==r?this:e})}))}),"WeakSet");Lo(Yo,function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{add:function(t){return zo.def(Mo(this,Yo),t,!0)}},zo,!1,!0);for(var qo,Ko=tn("typed_array"),Xo=tn("view"),$o=!(!zt.ArrayBuffer||!zt.DataView),Ho=$o,Jo=0,Zo="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");Jo<9;)(qo=zt[Zo[Jo++]])?(Qt(qo.prototype,Ko,!0),Qt(qo.prototype,Xo,!0)):Ho=!1;var Qo={ABV:$o,CONSTR:Ho,TYPED:Ko,VIEW:Xo},tu=function(t){if(void 0===t)return 0;var n=on(t),e=un(n);if(n!==e)throw RangeError("Wrong length!");return e},nu=t(function(t,n){var e=fn.f,r=Jt.f,i="ArrayBuffer",o="DataView",u="prototype",l="Wrong index!",a=zt[i],c=zt[o],s=zt.Math,h=zt.RangeError,v=zt.Infinity,f=a,p=s.abs,d=s.pow,g=s.floor,y=s.log,m=s.LN2,b="byteLength",w="byteOffset",S=Kt?"_b":"buffer",E=Kt?"_l":b,F=Kt?"_o":w;function _(t,n,e){var r,i,o,u=new Array(e),a=8*e-n-1,c=(1<<a)-1,s=c>>1,f=23===n?d(2,-24)-d(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=p(t))!=t||t===v?(i=t!=t?1:0,r=c):(r=g(y(t)/m),t*(o=d(2,-r))<1&&(r--,o*=2),2<=(t+=1<=r+s?f/o:f*d(2,1-s))*o&&(r++,o/=2),c<=r+s?(i=0,r=c):1<=r+s?(i=(t*o-1)*d(2,n),r+=s):(i=t*d(2,s-1)*d(2,n),r=0));8<=n;u[l++]=255&i,i/=256,n-=8);for(r=r<<n|i,a+=n;0<a;u[l++]=255&r,r/=256,a-=8);return u[--l]|=128*h,u}function C(t,n,e){var r,i=8*e-n-1,o=(1<<i)-1,u=o>>1,a=i-7,c=e-1,s=t[c--],f=127&s;for(s>>=7;0<a;f=256*f+t[c],c--,a-=8);for(r=f&(1<<-a)-1,f>>=-a,a+=n;0<a;r=256*r+t[c],c--,a-=8);if(0===f)f=1-u;else{if(f===o)return r?NaN:s?-v:v;r+=d(2,n),f-=u}return(s?-1:1)*r*d(2,f-n)}function O(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function x(t){return[255&t]}function A(t){return[255&t,t>>8&255]}function P(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function M(t){return _(t,52,8)}function N(t){return _(t,23,4)}function I(t,n,e){r(t[u],n,{get:function(){return this[e]}})}function j(t,n,e,r){var i=tu(+e);if(i+n>t[E])throw h(l);var o=t[S]._b,u=i+t[F],a=o.slice(u,u+n);return r?a:a.reverse()}function k(t,n,e,r,i,o){var u=tu(+e);if(u+n>t[E])throw h(l);for(var a=t[S]._b,c=u+t[F],s=r(+i),f=0;f<n;f++)a[c+f]=s[o?f:n-f-1]}if(Qo.ABV){if(!qt(function(){a(1)})||!qt(function(){new a(-1)})||qt(function(){return new a,new a(1.5),new a(NaN),a.name!=i})){for(var T,L=(a=function(t){return ji(this,a),new f(tu(t))})[u]=f[u],R=e(f),D=0;R.length>D;)(T=R[D++])in a||Qt(a,T,f[T]);L.constructor=a}var U=new c(new a(2)),B=c[u].setInt8;U.setInt8(0,2147483648),U.setInt8(1,2147483649),!U.getInt8(0)&&U.getInt8(1)||so(c[u],{setInt8:function(t,n){B.call(this,t,n<<24>>24)},setUint8:function(t,n){B.call(this,t,n<<24>>24)}},!0)}else a=function(t){ji(this,a,i);var n=tu(t);this._b=ri.call(new Array(n),0),this[E]=n},c=function(t,n,e){ji(this,c,o),ji(t,a,o);var r=t[E],i=on(n);if(i<0||r<i)throw h("Wrong offset!");if(r<i+(e=void 0===e?r-i:un(e)))throw h("Wrong length!");this[S]=t,this[F]=i,this[E]=e},Kt&&(I(a,b,"_l"),I(c,"buffer","_b"),I(c,b,"_l"),I(c,w,"_o")),so(c[u],{getInt8:function(t){return j(this,1,t)[0]<<24>>24},getUint8:function(t){return j(this,1,t)[0]},getInt16:function(t){var n=j(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=j(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return O(j(this,4,t,arguments[1]))},getUint32:function(t){return O(j(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return C(j(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return C(j(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){k(this,1,t,x,n)},setUint8:function(t,n){k(this,1,t,x,n)},setInt16:function(t,n){k(this,2,t,A,n,arguments[2])},setUint16:function(t,n){k(this,2,t,A,n,arguments[2])},setInt32:function(t,n){k(this,4,t,P,n,arguments[2])},setUint32:function(t,n){k(this,4,t,P,n,arguments[2])},setFloat32:function(t,n){k(this,4,t,N,n,arguments[2])},setFloat64:function(t,n){k(this,8,t,M,n,arguments[2])}});W(a,i),W(c,o),Qt(c[u],Qo.VIEW,!0),n[i]=a,n[o]=c}),eu=zt.ArrayBuffer,ru=nu.ArrayBuffer,iu=nu.DataView,ou=Qo.ABV&&eu.isView,uu=ru.prototype.slice,au=Qo.VIEW,cu="ArrayBuffer";en(en.G+en.W+en.F*(eu!==ru),{ArrayBuffer:ru}),en(en.S+en.F*!Qo.CONSTR,cu,{isView:function(t){return ou&&ou(t)||$t(t)&&au in t}}),en(en.P+en.U+en.F*qt(function(){return!new ru(2).slice(1,void 0).byteLength}),cu,{slice:function(t,n){if(void 0!==uu&&void 0===n)return uu.call(p(this),t);for(var e=p(this).byteLength,r=an(t,e),i=an(void 0===n?e:n,e),o=new(Li(this,ru))(un(i-r)),u=new iu(this),a=new iu(o),c=0;r<i;)a.setUint8(c++,u.getUint8(r++));return o}}),li(cu),en(en.G+en.W+en.F*!Qo.ABV,{DataView:nu.DataView});var su=t(function(t){if(Kt){var y=zt,m=qt,b=en,w=Qo,n=nu,h=nn,S=ji,e=Zt,E=Qt,r=so,i=on,F=un,_=tu,o=an,u=Ht,a=Yt,C=bn,O=$t,v=hn,p=Or,x=sn,A=vn,P=fn.f,d=Pr,c=tn,s=rn,f=Br,l=cn,g=Li,M=vi,N=Ve,I=Ir,j=li,k=ri,T=Qr,L=Jt,R=ln,D=L.f,U=R.f,B=y.RangeError,W=y.TypeError,G=y.Uint8Array,V="ArrayBuffer",z="Shared"+V,Y="BYTES_PER_ELEMENT",q="prototype",K=Array[q],X=n.ArrayBuffer,$=n.DataView,H=f(0),J=f(2),Z=f(3),Q=f(4),tt=f(5),nt=f(6),et=l(!0),rt=l(!1),it=M.values,ot=M.keys,ut=M.entries,at=K.lastIndexOf,ct=K.reduce,st=K.reduceRight,ft=K.join,lt=K.sort,ht=K.slice,vt=K.toString,pt=K.toLocaleString,dt=s("iterator"),gt=s("toStringTag"),yt=c("typed_constructor"),mt=c("def_constructor"),bt=w.CONSTR,wt=w.TYPED,St=w.VIEW,Et="Wrong length!",Ft=f(1,function(t,n){return At(g(t,t[mt]),n)}),_t=m(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),Ct=!!G&&!!G[q].set&&m(function(){new G(1).set({})}),Ot=function(t,n){var e=i(t);if(e<0||e%n)throw B("Wrong offset!");return e},xt=function(t){if(O(t)&&wt in t)return t;throw W(t+" is not a typed array!")},At=function(t,n){if(!(O(t)&&yt in t))throw W("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return Mt(g(t,t[mt]),n)},Mt=function(t,n){for(var e=0,r=n.length,i=At(t,r);e<r;)i[e]=n[e++];return i},Nt=function(t,n,e){D(t,n,{get:function(){return this._d[e]}})},It=function(t){var n,e,r,i,o,u,a=v(t),c=arguments.length,s=1<c?arguments[1]:void 0,f=void 0!==s,l=d(a);if(null!=l&&!p(l)){for(u=l.call(a),r=[],n=0;!(o=u.next()).done;n++)r.push(o.value);a=r}for(f&&2<c&&(s=h(s,arguments[2],2)),n=0,e=F(a.length),i=At(this,e);n<e;n++)i[n]=f?s(a[n],n):a[n];return i},jt=function(){for(var t=0,n=arguments.length,e=At(this,n);t<n;)e[t]=arguments[t++];return e},kt=!!G&&m(function(){pt.call(new G(1))}),Tt=function(){return pt.apply(kt?ht.call(xt(this)):xt(this),arguments)},Lt={copyWithin:function(t,n){return T.call(xt(this),t,n,2<arguments.length?arguments[2]:void 0)},every:function(t){return Q(xt(this),t,1<arguments.length?arguments[1]:void 0)},fill:function(t){return k.apply(xt(this),arguments)},filter:function(t){return Pt(this,J(xt(this),t,1<arguments.length?arguments[1]:void 0))},find:function(t){return tt(xt(this),t,1<arguments.length?arguments[1]:void 0)},findIndex:function(t){return nt(xt(this),t,1<arguments.length?arguments[1]:void 0)},forEach:function(t){H(xt(this),t,1<arguments.length?arguments[1]:void 0)},indexOf:function(t){return rt(xt(this),t,1<arguments.length?arguments[1]:void 0)},includes:function(t){return et(xt(this),t,1<arguments.length?arguments[1]:void 0)},join:function(t){return ft.apply(xt(this),arguments)},lastIndexOf:function(t){return at.apply(xt(this),arguments)},map:function(t){return Ft(xt(this),t,1<arguments.length?arguments[1]:void 0)},reduce:function(t){return ct.apply(xt(this),arguments)},reduceRight:function(t){return st.apply(xt(this),arguments)},reverse:function(){for(var t,n=this,e=xt(n).length,r=Math.floor(e/2),i=0;i<r;)t=n[i],n[i++]=n[--e],n[e]=t;return n},some:function(t){return Z(xt(this),t,1<arguments.length?arguments[1]:void 0)},sort:function(t){return lt.call(xt(this),t)},subarray:function(t,n){var e=xt(this),r=e.length,i=o(t,r);return new(g(e,e[mt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,F((void 0===n?r:o(n,r))-i))}},Rt=function(t,n){return Pt(this,ht.call(xt(this),t,n))},Dt=function(t){xt(this);var n=Ot(arguments[1],1),e=this.length,r=v(t),i=F(r.length),o=0;if(e<i+n)throw B(Et);for(;o<i;)this[n+o]=r[o++]},Ut={entries:function(){return ut.call(xt(this))},keys:function(){return ot.call(xt(this))},values:function(){return it.call(xt(this))}},Bt=function(t,n){return O(t)&&t[wt]&&"symbol"!=(void 0===n?"undefined":Xt(n))&&n in t&&String(+n)==String(n)},Wt=function(t,n){return Bt(t,n=u(n,!0))?e(2,t[n]):U(t,n)},Gt=function(t,n,e){return!(Bt(t,n=u(n,!0))&&O(e)&&a(e,"value"))||a(e,"get")||a(e,"set")||e.configurable||a(e,"writable")&&!e.writable||a(e,"enumerable")&&!e.enumerable?D(t,n,e):(t[n]=e.value,t)};bt||(R.f=Wt,L.f=Gt),b(b.S+b.F*!bt,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Gt}),m(function(){vt.call({})})&&(vt=pt=function(){return ft.call(this)});var Vt=r({},Lt);r(Vt,Ut),E(Vt,dt,Ut.values),r(Vt,{slice:Rt,set:Dt,constructor:function(){},toString:vt,toLocaleString:Tt}),Nt(Vt,"buffer","b"),Nt(Vt,"byteOffset","o"),Nt(Vt,"byteLength","l"),Nt(Vt,"length","e"),D(Vt,gt,{get:function(){return this[wt]}}),t.exports=function(t,l,n,o){var h=t+((o=!!o)?"Clamped":"")+"Array",e="get"+t,u="set"+t,v=y[h],a=v||{},r=v&&A(v),i=!v||!w.ABV,c={},s=v&&v[q],p=function(t,i){D(t,i,{get:function(){return t=i,(n=this._d).v[e](t*l+n.o,_t);var t,n},set:function(t){return n=i,e=t,r=this._d,o&&(e=(e=Math.round(e))<0?0:255<e?255:255&e),void r.v[u](n*l+r.o,e,_t);var n,e,r},enumerable:!0})};i?(v=n(function(t,n,e,r){S(t,v,h,"_d");var i,o,u,a,c=0,s=0;if(O(n)){if(!(n instanceof X||(a=C(n))==V||a==z))return wt in n?Mt(v,n):It.call(v,n);i=n,s=Ot(e,l);var f=n.byteLength;if(void 0===r){if(f%l)throw B(Et);if((o=f-s)<0)throw B(Et)}else if(f<(o=F(r)*l)+s)throw B(Et);u=o/l}else u=_(n),i=new X(o=u*l);for(E(t,"_d",{b:i,o:s,l:o,e:u,v:new $(i)});c<u;)p(t,c++)}),s=v[q]=x(Vt),E(s,"constructor",v)):m(function(){v(1)})&&m(function(){new v(-1)})&&I(function(t){new v,new v(null),new v(1.5),new v(t)},!0)||(v=n(function(t,n,e,r){var i;return S(t,v,h),O(n)?n instanceof X||(i=C(n))==V||i==z?void 0!==r?new a(n,Ot(e,l),r):void 0!==e?new a(n,Ot(e,l)):new a(n):wt in n?Mt(v,n):It.call(v,n):new a(_(n))}),H(r!==Function.prototype?P(a).concat(P(r)):P(a),function(t){t in v||E(v,t,a[t])}),(v[q]=s).constructor=v);var f=s[dt],d=!!f&&("values"==f.name||null==f.name),g=Ut.values;E(v,yt,!0),E(s,wt,h),E(s,St,!0),E(s,mt,v),(o?new v(1)[gt]==h:gt in s)||D(s,gt,{get:function(){return h}}),c[h]=v,b(b.G+b.W+b.F*(v!=a),c),b(b.S,h,{BYTES_PER_ELEMENT:l}),b(b.S+b.F*m(function(){a.of.call(v,1)}),h,{from:It,of:jt}),Y in s||E(s,Y,l),b(b.P,h,Lt),j(h),b(b.P+b.F*Ct,h,{set:Dt}),b(b.P+b.F*!d,h,Ut),s.toString!=vt&&(s.toString=vt),b(b.P+b.F*m(function(){new v(1).slice()}),h,{slice:Rt}),b(b.P+b.F*(m(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!m(function(){s.toLocaleString.call([1,2])})),h,{toLocaleString:Tt}),N[h]=d?f:g,d||E(s,dt,g)}}else t.exports=function(){}});su("Int8",1,function(r){return function(t,n,e){return r(this,t,n,e)}}),su("Uint8",1,function(r){return function(t,n,e){return r(this,t,n,e)}}),su("Uint8",1,function(r){return function(t,n,e){return r(this,t,n,e)}},!0),su("Int16",2,function(r){return function(t,n,e){return r(this,t,n,e)}}),su("Uint16",2,function(r){return function(t,n,e){return r(this,t,n,e)}}),su("Int32",4,function(r){return function(t,n,e){return r(this,t,n,e)}}),su("Uint32",4,function(r){return function(t,n,e){return r(this,t,n,e)}}),su("Float32",4,function(r){return function(t,n,e){return r(this,t,n,e)}}),su("Float64",8,function(r){return function(t,n,e){return r(this,t,n,e)}});var fu=(zt.Reflect||{}).apply,lu=Function.apply;en(en.S+en.F*!qt(function(){fu(function(){})}),"Reflect",{apply:function(t,n,e){var r=l(t),i=p(e);return fu?fu(r,n,i):lu.call(r,n,i)}});var hu=(zt.Reflect||{}).construct,vu=qt(function(){function t(){}return!(hu(function(){},[],t)instanceof t)}),pu=!qt(function(){hu(function(){})});en(en.S+en.F*(vu||pu),"Reflect",{construct:function(t,n){l(t),p(n);var e=arguments.length<3?t:l(arguments[2]);if(pu&&!vu)return hu(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(_n.apply(t,r))}var i=e.prototype,o=sn($t(i)?i:Object.prototype),u=Function.apply.call(t,o,n);return $t(u)?u:o}}),en(en.S+en.F*qt(function(){Reflect.defineProperty(Jt.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,n,e){p(t),n=Ht(n,!0),p(e);try{return Jt.f(t,n,e),!0}catch(t){return!1}}});var du=ln.f;en(en.S,"Reflect",{deleteProperty:function(t,n){var e=du(p(t),n);return!(e&&!e.configurable)&&delete t[n]}});var gu=function(t){this._t=p(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};Ye(gu,"Object",function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}}),en(en.S,"Reflect",{enumerate:function(t){return new gu(t)}}),en(en.S,"Reflect",{get:function t(n,e){var r,i,o=arguments.length<3?n:arguments[2];return p(n)===o?n[e]:(r=ln.f(n,e))?Yt(r,"value")?r.value:void 0!==r.get?r.get.call(o):void 0:$t(i=vn(n))?t(i,e,o):void 0}}),en(en.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return ln.f(p(t),n)}}),en(en.S,"Reflect",{getPrototypeOf:function(t){return vn(p(t))}}),en(en.S,"Reflect",{has:function(t,n){return n in t}});var yu=Object.isExtensible;en(en.S,"Reflect",{isExtensible:function(t){return p(t),!yu||yu(t)}});var mu=zt.Reflect,bu=mu&&mu.ownKeys||function(t){var n=fn.f(p(t)),e=G.f;return e?n.concat(e(t)):n};en(en.S,"Reflect",{ownKeys:bu});var wu=Object.preventExtensions;en(en.S,"Reflect",{preventExtensions:function(t){p(t);try{return wu&&wu(t),!0}catch(t){return!1}}}),en(en.S,"Reflect",{set:function t(n,e,r){var i,o,u=arguments.length<4?n:arguments[3],a=ln.f(p(n),e);if(!a){if($t(o=vn(n)))return t(o,e,r,u);a=Zt(0)}if(Yt(a,"value")){if(!1===a.writable||!$t(u))return!1;if(i=ln.f(u,e)){if(i.get||i.set||!1===i.writable)return!1;i.value=r,Jt.f(u,e,i)}else Jt.f(u,e,Zt(0,r));return!0}return void 0!==a.set&&(a.set.call(u,r),!0)}}),gn&&en(en.S,"Reflect",{setPrototypeOf:function(t,n){gn.check(t,n);try{return gn.set(t,n),!0}catch(t){return!1}}});var Su=cn(!0);en(en.P,"Array",{includes:function(t){return Su(this,t,1<arguments.length?arguments[1]:void 0)}}),ei("includes");d.Array.includes;var Eu=function(t,n,e,r){var i=String(x(t)),o=i.length,u=void 0===e?" ":String(e),a=un(n);if(a<=o||""==u)return i;var c=a-o,s=ae.call(u,Math.ceil(c/u.length));return s.length>c&&(s=s.slice(0,c)),r?s+i:i+s};en(en.P+en.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(ao),"String",{padStart:function(t){return Eu(this,t,1<arguments.length?arguments[1]:void 0,!0)}});d.String.padStart;en(en.P+en.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(ao),"String",{padEnd:function(t){return Eu(this,t,1<arguments.length?arguments[1]:void 0,!1)}});d.String.padEnd;F("asyncIterator");S.f("asyncIterator");en(en.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=A(t),i=ln.f,o=bu(r),u={},a=0;o.length>a;)void 0!==(e=i(r,n=o[a++]))&&xr(u,n,e);return u}});d.Object.getOwnPropertyDescriptors;var Fu=V.f,_u=function(a){return function(t){for(var n,e=A(t),r=B(e),i=r.length,o=0,u=[];o<i;)Fu.call(e,n=r[o++])&&u.push(a?[n,e[n]]:e[n]);return u}},Cu=_u(!1);en(en.S,"Object",{values:function(t){return Cu(t)}});d.Object.values;var Ou=_u(!0);en(en.S,"Object",{entries:function(t){return Ou(t)}});d.Object.entries;en(en.P+en.R,"Promise",{finally:function(n){var e=Li(this,d.Promise||zt.Promise),t="function"==typeof n;return this.then(t?function(t){return co(e,n()).then(function(){return t})}:n,t?function(t){return co(e,n()).then(function(){throw t})}:n)}});d.Promise.finally;var xu=[].slice,Au=/MSIE .\./.test(ao),Pu=function(i){return function(t,n){var e=2<arguments.length,r=!!e&&xu.call(arguments,2);return i(e?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};en(en.G+en.B+en.F*Au,{setTimeout:Pu(zt.setTimeout),setInterval:Pu(zt.setInterval)}),en(en.G+en.B,{setImmediate:Ki.set,clearImmediate:Ki.clear});for(var Mu=rn("iterator"),Nu=rn("toStringTag"),Iu=Ve.Array,ju={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},ku=B(ju),Tu=0;Tu<ku.length;Tu++){var Lu,Ru=ku[Tu],Du=ju[Ru],Uu=zt[Ru],Bu=Uu&&Uu.prototype;if(Bu&&(Bu[Mu]||Qt(Bu,Mu,Iu),Bu[Nu]||Qt(Bu,Nu,Ru),Ve[Ru]=Iu,Du))for(Lu in vi)Bu[Lu]||b(Bu,Lu,vi[Lu],!0)}t(function(N){!function(t){var c,n=Object.prototype,s=n.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag",u=t.regeneratorRuntime;if(u)N.exports=u;else{(u=t.regeneratorRuntime=N.exports).wrap=m;var l="suspendedStart",h="suspendedYield",v="executing",p="completed",d={},a={};a[i]=function(){return this};var f=Object.getPrototypeOf,g=f&&f(f(P([])));g&&g!==n&&s.call(g,i)&&(a=g);var y=E.prototype=w.prototype=Object.create(a);S.prototype=y.constructor=E,E.constructor=S,E[o]=S.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===S||"GeneratorFunction"===(n.displayName||n.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,o in t||(t[o]="GeneratorFunction")),t.prototype=Object.create(y),t},u.awrap=function(t){return{__await:t}},F(_.prototype),_.prototype[r]=function(){return this},u.AsyncIterator=_,u.async=function(t,n,e,r){var i=new _(m(t,n,e,r));return u.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},F(y),y[o]="Generator",y[i]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(e){var r=[];for(var t in e)r.push(t);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},u.values=P,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&s.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function t(t,n){return o.type="throw",o.arg=e,r.next=t,n&&(r.method="next",r.arg=c),!!n}for(var n=this.tryEntries.length-1;0<=n;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var u=s.call(i,"catchLoc"),a=s.call(i,"finallyLoc");if(u&&a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&s.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=n,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),d},finish:function(t){for(var n=this.tryEntries.length-1;0<=n;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),x(e),d}},catch:function(t){for(var n=this.tryEntries.length-1;0<=n;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;x(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:P(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=c),d}}}function m(t,n,e,r){var o,u,a,c,i=n&&n.prototype instanceof w?n:w,s=Object.create(i.prototype),f=new A(r||[]);return s._invoke=(o=t,u=e,a=f,c=l,function(t,n){if(c===v)throw new Error("Generator is already running");if(c===p){if("throw"===t)throw n;return M()}for(a.method=t,a.arg=n;;){var e=a.delegate;if(e){var r=C(e,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===l)throw c=p,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var i=b(o,u,a);if("normal"===i.type){if(c=a.done?p:h,i.arg===d)continue;return{value:i.arg,done:a.done}}"throw"===i.type&&(c=p,a.method="throw",a.arg=i.arg)}}),s}function b(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}function w(){}function S(){}function E(){}function F(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function _(c){var n;this._invoke=function(e,r){function t(){return new Promise(function(t,n){!function n(t,e,r,i){var o=b(c[t],c,e);if("throw"!==o.type){var u=o.arg,a=u.value;return a&&"object"===(void 0===a?"undefined":Xt(a))&&s.call(a,"__await")?Promise.resolve(a.__await).then(function(t){n("next",t,r,i)},function(t){n("throw",t,r,i)}):Promise.resolve(a).then(function(t){u.value=t,r(u)},i)}i(o.arg)}(e,r,t,n)})}return n=n?n.then(t,t):t()}}function C(t,n){var e=t.iterator[n.method];if(e===c){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=c,C(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=b(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,d;var i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=c),n.delegate=null,d):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function O(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function x(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(n){if(n){var t=n[i];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var e=-1,r=function t(){for(;++e<n.length;)if(s.call(n,e))return t.value=n[e],t.done=!1,t;return t.value=c,t.done=!0,t};return r.next=r}}return{next:M}}function M(){return{value:c,done:!0}}}(function(){return this}()||Function("return this")())});s._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),s._babelPolyfill=!0;try{document.createElement("a").querySelector(":scope *")}catch(t){!function(){var i=/:scope\b/gi,n=t(Element.prototype.querySelector);Element.prototype.querySelector=function(t){return n.apply(this,arguments)};var e=t(Element.prototype.querySelectorAll);function t(r){return function(t){if(t&&i.test(t)){var n=this.getAttribute("id");n||(this.id="q"+Math.floor(9e6*Math.random())+1e6),t=t.replace(i,"#"+this.id);var e=r.apply(this,arguments);return null===n?this.removeAttribute("id"):n||(this.id=n),e}return r.apply(this,arguments)}}Element.prototype.querySelectorAll=function(t){return e.apply(this,arguments)}}()}var Wu=function(t,n){return Array.prototype.slice.call(t,n)},Gu="function"==typeof setImmediate?function(t){setImmediate(t)}:function(t){setTimeout(t,0)},Vu=function(a,t){var c=t||{},i={};return void 0===a&&(a={}),a.on=function(t,n){return i[t]?i[t].push(n):i[t]=[n],a},a.once=function(t,n){return n._once=!0,a.on(t,n),a},a.off=function(t,n){var e=arguments.length;if(1===e)delete i[t];else if(0===e)i={};else{var r=i[t];if(!r)return a;r.splice(r.indexOf(n),1)}return a},a.emit=function(){var t=Wu(arguments);return a.emitterSnapshot(t.shift()).apply(this,t)},a.emitterSnapshot=function(u){var t=(i[u]||[]).slice(0);return function(){var i=Wu(arguments),o=this||a;if("error"===u&&!1!==c.throws&&!t.length)throw 1===i.length?i[0]:i;return t.forEach(function(t){var n,e,r;c.async?(e=i,r=o,(n=t)&&Gu(function(){n.apply(r||null,e||[])})):t.apply(o,i),t._once&&a.off(u,t)}),a}},a},zu=s.CustomEvent;var Yu=function(){try{var t=new zu("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?zu:"function"==typeof document.createEvent?function(t,n){var e=document.createEvent("CustomEvent");return n?e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail):e.initCustomEvent(t,!1,!1,void 0),e}:function(t,n){var e=document.createEventObject();return e.type=t,e.detail=n?(e.bubbles=Boolean(n.bubbles),e.cancelable=Boolean(n.cancelable),n.detail):(e.bubbles=!1,void(e.cancelable=!1)),e},qu=[],Ku="",Xu=/^on/;for(Ku in s)Xu.test(Ku)&&qu.push(Ku.slice(2));var $u=qu,Hu=s.document,Ju=function(t,n,e,r){return t.addEventListener(n,e,r)},Zu=function(t,n,e,r){return t.removeEventListener(n,e,r)},Qu=[];s.addEventListener||(Ju=function(t,n,e){return t.attachEvent("on"+n,(r=t,i=n,o=e,u=na(r,i,o)||(a=r,c=o,function(t){var n=t||s.event;n.target=n.target||n.srcElement,n.preventDefault=n.preventDefault||function(){n.returnValue=!1},n.stopPropagation=n.stopPropagation||function(){n.cancelBubble=!0},n.which=n.which||n.keyCode,c.call(a,n)}),Qu.push({wrapper:u,element:r,type:i,fn:o}),u));var r,i,o,u,a,c},Zu=function(t,n,e){var r=na(t,n,e);if(r)return t.detachEvent("on"+n,r)});var ta={add:Ju,remove:Zu,fabricate:function(t,n,e){var r=-1===$u.indexOf(n)?new Yu(n,{detail:e}):function(){var t;Hu.createEvent?(t=Hu.createEvent("Event")).initEvent(n,!0,!0):Hu.createEventObject&&(t=Hu.createEventObject());return t}();t.dispatchEvent?t.dispatchEvent(r):t.fireEvent("on"+n,r)}};function na(t,n,e){var r=function(t,n,e){var r,i;for(r=0;r<Qu.length;r++)if((i=Qu[r]).element===t&&i.type===n&&i.fn===e)return r}(t,n,e);if(r){var i=Qu[r].wrapper;return Qu.splice(r,1),i}}var ea={},ra="(?:^|\\s)",ia="(?:\\s|$)";function oa(t){var n=ea[t];return n?n.lastIndex=0:ea[t]=n=new RegExp(ra+t+ia,"g"),n}var ua={add:function(t,n){var e=t.className;e.length?oa(n).test(e)||(t.className+=" "+n):t.className=n},rm:function(t,n){t.className=t.className.replace(oa(n)," ").trim()}},aa=document,ca=aa.documentElement;function sa(t,n,e,r){s.navigator.pointerEnabled?ta[n](t,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[e],r):s.navigator.msPointerEnabled?ta[n](t,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[e],r):(ta[n](t,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[e],r),ta[n](t,e,r))}function fa(t){if(void 0!==t.touches)return t.touches.length;if(void 0!==t.which&&0!==t.which)return t.which;if(void 0!==t.buttons)return t.buttons;var n=t.button;return void 0!==n?1&n?1:2&n?3:4&n?2:0:void 0}function la(t,n){return void 0!==s[n]?s[n]:ca.clientHeight?ca[t]:aa.body[t]}function ha(t,n,e){var r,i=t||{},o=i.className;return i.className+=" gu-hide",r=aa.elementFromPoint(n,e),i.className=o,r}function va(){return!1}function pa(){return!0}function da(t){return t.width||t.right-t.left}function ga(t){return t.height||t.bottom-t.top}function ya(t){return t.parentNode===aa?null:t.parentNode}function ma(t){return"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"SELECT"===t.tagName||function t(n){if(!n)return!1;if("false"===n.contentEditable)return!1;if("true"===n.contentEditable)return!0;return t(ya(n))}(t)}function ba(n){return n.nextElementSibling||function(){var t=n;for(;t=t.nextSibling,t&&1!==t.nodeType;);return t}()}function wa(t,n){var e,r=(e=n).targetTouches&&e.targetTouches.length?e.targetTouches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,i={pageX:"clientX",pageY:"clientY"};return t in i&&!(t in r)&&i[t]in r&&(t=i[t]),r[t]}var Sa=function(t,n){var v,p,d,g,y,u,a,m,b,w,e;1===arguments.length&&!1===Array.isArray(t)&&(n=t,t=[]);var c,S=null,E=n||{};void 0===E.moves&&(E.moves=pa),void 0===E.accepts&&(E.accepts=pa),void 0===E.invalid&&(E.invalid=function(){return!1}),void 0===E.containers&&(E.containers=t||[]),void 0===E.isContainer&&(E.isContainer=va),void 0===E.copy&&(E.copy=!1),void 0===E.copySortSource&&(E.copySortSource=!1),void 0===E.revertOnSpill&&(E.revertOnSpill=!1),void 0===E.removeOnSpill&&(E.removeOnSpill=!1),void 0===E.direction&&(E.direction="vertical"),void 0===E.ignoreInputTextSelection&&(E.ignoreInputTextSelection=!0),void 0===E.mirrorContainer&&(E.mirrorContainer=aa.body);var F=Vu({containers:E.containers,start:function(t){var n=_(t);n&&C(n)},end:O,cancel:N,remove:M,destroy:function(){r(!0),A({})},canMove:function(t){return!!_(t)},dragging:!1});return!0===E.removeOnSpill&&F.on("over",function(t){ua.rm(t,"gu-hide")}).on("out",function(t){F.dragging&&ua.add(t,"gu-hide")}),r(),F;function s(t){return-1!==F.containers.indexOf(t)||E.isContainer(t)}function r(t){var n=t?"remove":"add";sa(ca,n,"mousedown",o),sa(ca,n,"mouseup",A)}function f(t){sa(ca,t?"remove":"add","mousemove",h)}function l(t){var n=t?"remove":"add";ta[n](ca,"selectstart",i),ta[n](ca,"click",i)}function i(t){c&&t.preventDefault()}function o(t){if(u=t.clientX,a=t.clientY,1===fa(t)&&!t.metaKey&&!t.ctrlKey){var n=t.target,e=_(n);e&&(c=e,f(),"mousedown"===t.type&&(ma(n)?n.focus():t.preventDefault()))}}function h(t){if(c)if(0!==fa(t)){if(void 0===t.clientX||t.clientX!==u||void 0===t.clientY||t.clientY!==a){if(E.ignoreInputTextSelection){var n=wa("clientX",t),e=wa("clientY",t);if(ma(aa.elementFromPoint(n,e)))return}var r=c;f(!0),l(),O(),C(r);var i,o={left:(i=d.getBoundingClientRect()).left+la("scrollLeft","pageXOffset"),top:i.top+la("scrollTop","pageYOffset")};g=wa("pageX",t)-o.left,y=wa("pageY",t)-o.top,ua.add(w||d,"gu-transit"),function(){if(!v){var t=d.getBoundingClientRect();(v=d.cloneNode(!0)).style.width=da(t)+"px",v.style.height=ga(t)+"px",ua.rm(v,"gu-transit"),ua.add(v,"gu-mirror"),E.mirrorContainer.appendChild(v),sa(ca,"add","mousemove",T),ua.add(E.mirrorContainer,"gu-unselectable"),F.emit("cloned",v,d,"mirror")}}(),T(t)}}else A({})}function _(t){if(!(F.dragging&&v||s(t))){for(var n=t;ya(t)&&!1===s(ya(t));){if(E.invalid(t,n))return;if(!(t=ya(t)))return}var e=ya(t);if(e&&!E.invalid(t,n)&&E.moves(t,e,n,ba(t)))return{item:t,source:e}}}function C(t){var n,e;n=t.item,e=t.source,("boolean"==typeof E.copy?E.copy:E.copy(n,e))&&(w=t.item.cloneNode(!0),F.emit("cloned",w,t.item,"copy")),p=t.source,d=t.item,m=b=ba(t.item),F.dragging=!0,F.emit("drag",d,p)}function O(){if(F.dragging){var t=w||d;P(t,ya(t))}}function x(){f(!(c=!1)),l(!0)}function A(t){if(x(),F.dragging){var n=w||d,e=wa("clientX",t),r=wa("clientY",t),i=k(ha(v,e,r),e,r);i&&(w&&E.copySortSource||!w||i!==p)?P(n,i):E.removeOnSpill?M():N()}}function P(t,n){var e=ya(t);w&&E.copySortSource&&n===p&&e.removeChild(d),j(n)?F.emit("cancel",t,p,p):F.emit("drop",t,n,p,b),I()}function M(){if(F.dragging){var t=w||d,n=ya(t);n&&n.removeChild(t),F.emit(w?"cancel":"remove",t,n,p),I()}}function N(t){if(F.dragging){var n=0<arguments.length?t:E.revertOnSpill,e=w||d,r=ya(e),i=j(r);!1===i&&n&&(w?r&&r.removeChild(w):p.insertBefore(e,m)),i||n?F.emit("cancel",e,p,p):F.emit("drop",e,r,p,b),I()}}function I(){var t=w||d;x(),v&&(ua.rm(E.mirrorContainer,"gu-unselectable"),sa(ca,"remove","mousemove",T),ya(v).removeChild(v),v=null),t&&ua.rm(t,"gu-transit"),e&&clearTimeout(e),F.dragging=!1,S&&F.emit("out",t,S,p),F.emit("dragend",t),p=d=w=m=b=e=S=null}function j(t,n){var e;return e=void 0!==n?n:v?b:ba(w||d),t===p&&e===m}function k(e,r,i){for(var o=e;o&&!t();)o=ya(o);return o;function t(){if(!1===s(o))return!1;var t=L(o,e),n=R(o,t,r,i);return!!j(o,n)||E.accepts(d,o,p,n)}}function T(t){if(v){t.preventDefault();var n=wa("clientX",t),e=wa("clientY",t),r=n-g,i=e-y;v.style.left=r+"px",v.style.top=i+"px";var o=w||d,u=ha(v,n,e),a=k(u,n,e),c=null!==a&&a!==S;(c||null===a)&&(S&&h("out"),S=a,c&&h("over"));var s=ya(o);if(a!==p||!w||E.copySortSource){var f,l=L(a,u);if(null!==l)f=R(a,l,n,e);else{if(!0!==E.revertOnSpill||w)return void(w&&s&&s.removeChild(o));f=m,a=p}(null===f&&c||f!==o&&f!==ba(o))&&(b=f,a.insertBefore(o,f),F.emit("shadow",o,a,p))}else s&&s.removeChild(o)}function h(t){F.emit(t,o,S,p)}}function L(t,n){for(var e=n;e!==t&&ya(e)!==t;)e=ya(e);return e===ca?null:e}function R(i,n,o,u){var t,a="horizontal"===E.direction;return n!==i?(t=n.getBoundingClientRect(),e(a?o>t.left+da(t)/2:u>t.top+ga(t)/2)):function(){var t,n,e,r=i.children.length;for(t=0;t<r;t++){if(n=i.children[t],e=n.getBoundingClientRect(),a&&e.left+e.width/2>o)return n;if(!a&&e.top+e.height/2>u)return n}return null}();function e(t){return t?ba(n):n}}},Ea=t(function(t){function n(t){this.region=document.createElement("div"),this.options=t||{},this.configure(),document.body.appendChild(this.region)}n.prototype.configure=function(){var t=this.options,n=this.region;n.setAttribute("aria-live",t.ariaLive||"polite"),n.setAttribute("role",t.role||"log"),n.setAttribute("aria-relevant",t.ariaRelevant||"additions"),n.setAttribute("aria-atomic",t.ariaAtomic||"false"),this.region.style.position="absolute",this.region.style.width="1px",this.region.style.height="1px",this.region.style.marginTop="-1px",this.region.style.clip="rect(1px, 1px, 1px, 1px)",this.region.style.overflow="hidden"},n.prototype.announce=function(t,n){var e=document.createElement("div");e.innerHTML=t,this.region.appendChild(e),(n||void 0===n)&&setTimeout(function(){this.region.removeChild(e)}.bind(this),n||7e3)},n.prototype.destroy=function(){this.region.parentNode.removeChild(this.region)},t.exports=n}),Fa=36e5,_a=864e5,Ca=function(t,n){n=n||{};var e,r=void 0===t?"undefined":Xt(t);if("string"===r&&0<t.length)return function(t){if(100<(t=String(t)).length)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!n)return;var e=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*e;case"days":case"day":case"d":return e*_a;case"hours":case"hour":case"hrs":case"hr":case"h":return e*Fa;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*e;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}(t);if("number"===r&&!1===isNaN(t))return n.long?Oa(e=t,_a,"day")||Oa(e,Fa,"hour")||Oa(e,6e4,"minute")||Oa(e,1e3,"second")||e+" ms":function(t){if(_a<=t)return Math.round(t/_a)+"d";if(Fa<=t)return Math.round(t/Fa)+"h";if(6e4<=t)return Math.round(t/6e4)+"m";if(1e3<=t)return Math.round(t/1e3)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Oa(t,n,e){if(!(t<n))return t<1.5*n?Math.floor(t/n)+" "+e:Math.ceil(t/n)+" "+e+"s"}var xa=t(function(t,c){function n(t){var r;function a(){if(a.enabled){var i=a,t=+new Date,n=t-(r||t);i.diff=n,i.prev=r,i.curr=t,r=t;for(var o=new Array(arguments.length),e=0;e<o.length;e++)o[e]=arguments[e];o[0]=c.coerce(o[0]),"string"!=typeof o[0]&&o.unshift("%O");var u=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,function(t,n){if("%%"===t)return t;u++;var e=c.formatters[n];if("function"==typeof e){var r=o[u];t=e.call(i,r),o.splice(u,1),u--}return t}),c.formatArgs.call(i,o),(a.log||c.log||console.log.bind(console)).apply(i,o)}}return a.namespace=t,a.enabled=c.enabled(t),a.useColors=c.useColors(),a.color=function(t){var n,e=0;for(n in t)e=(e<<5)-e+t.charCodeAt(n),e|=0;return c.colors[Math.abs(e)%c.colors.length]}(t),a.destroy=e,"function"==typeof c.init&&c.init(a),c.instances.push(a),a}function e(){var t=c.instances.indexOf(this);return-1!==t&&(c.instances.splice(t,1),!0)}(c=t.exports=n.debug=n.default=n).coerce=function(t){return t instanceof Error?t.stack||t.message:t},c.disable=function(){c.enable("")},c.enable=function(t){var n;c.save(t),c.names=[],c.skips=[];var e=("string"==typeof t?t:"").split(/[\s,]+/),r=e.length;for(n=0;n<r;n++)e[n]&&("-"===(t=e[n].replace(/\*/g,".*?"))[0]?c.skips.push(new RegExp("^"+t.substr(1)+"$")):c.names.push(new RegExp("^"+t+"$")));for(n=0;n<c.instances.length;n++){var i=c.instances[n];i.enabled=c.enabled(i.namespace)}},c.enabled=function(t){if("*"===t[t.length-1])return!0;var n,e;for(n=0,e=c.skips.length;n<e;n++)if(c.skips[n].test(t))return!1;for(n=0,e=c.names.length;n<e;n++)if(c.names[n].test(t))return!0;return!1},c.humanize=Ca,c.instances=[],c.names=[],c.skips=[],c.formatters={}}),Aa=(xa.coerce,xa.disable,xa.enable,xa.enabled,xa.humanize,xa.instances,xa.names,xa.skips,xa.formatters,t(function(t,o){function n(){var t;try{t=o.storage.debug}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(o=t.exports=xa).log=function(){return"object"===("undefined"==typeof console?"undefined":Xt(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},o.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+o.humanize(this.diff),!n)return;var e="color: "+this.color;t.splice(1,0,e,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),t.splice(i,0,e)},o.save=function(t){try{null==t?o.storage.removeItem("debug"):o.storage.debug=t}catch(t){}},o.load=n,o.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},o.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),o.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],o.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},o.enable(n())})),Pa=(Aa.log,Aa.formatArgs,Aa.save,Aa.load,Aa.useColors,Aa.storage,Aa.colors,t(function(t){function e(t){if(t)return function(t){for(var n in e.prototype)t[n]=e.prototype[n];return t}(t)}(t.exports=e).prototype.on=e.prototype.addEventListener=function(t,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(n),this},e.prototype.once=function(t,n){function e(){this.off(t,e),n.apply(this,arguments)}return e.fn=n,this.on(t,e),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,n){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var e,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if((e=r[i])===n||e.fn===n){r.splice(i,1);break}return this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};var n=[].slice.call(arguments,1),e=this._callbacks["$"+t];if(e)for(var r=0,i=(e=e.slice(0)).length;r<i;++r)e[r].apply(this,n);return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}}));var Ma=function(t,n){var e=window.Element.prototype,r=e.matches||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!t||1!==t.nodeType)return!1;var i=t.parentNode;if(r)return r.call(t,n);for(var o=i.querySelectorAll(n),u=o.length,a=0;a<u;a++)if(o[a]===t)return!0;return!1},Na={item:"li",handle:"button",activeClass:"dragon-active",inactiveClass:"dragon-inactive",nested:!1,announcement:{grabbed:function(t){return"Item "+t.innerText+" grabbed"},dropped:function(t){return"Item "+t.innerText+" dropped"},reorder:function(t,n){var e=n.indexOf(t)+1;return"The list has been reordered, "+t.innerText+" is now item "+e+" of "+n.length},cancel:"Reordering cancelled"}},Ia=function(t,n){return n=n||document,Array.prototype.slice.call(n.querySelectorAll(t))},ja=Aa("drag-on-drop:index"),ka=function(){function u(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),Array.isArray(t))return function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=n.nested,r=n.dragulaOptions,i=void 0===r?{}:r,o=[];if(t.forEach(function(t){o.push(new ka(t,n,e))}),e){var u=function(t,n){var e=o.find(function(t){return t.container===n});e&&e.announcement("grabbed",t)},a=function(t,n){var e=o.find(function(t){return t.container===n});e&&e.announcement("dropped",t).setItems()},c=t[0],s=Array.from(t);s.shift();var f=Sa([c],Object.assign({},i,{moves:function(t,n,e){return!s.find(function(t){return t.contains(e)})}}));f.on("drag",u),f.on("drop",a);var l=Sa(s,Object.assign({},i,{accepts:function(t,n,e){return n===e}}));l.on("drag",u),l.on("drop",a),o.forEach(function(t,n){t.dragula=0===n?f:l})}return o}(t,n);Pa(this),this.handledHandles=[],this.initOptions(n);var e=this.options,r=e.handle;if(!e.nested){var i=r&&{moves:function(t,n,e){return Ma(e,r)}},o=n.dragulaOptions.containers||[t];this.dragula=Sa(o,Object.assign({},n.dragulaOptions,i))}return this.liveRegion=new Ea({ariaLive:"assertive",ariaRelevant:"additions",ariaAtomic:"true"}),this.onKeydown=this.onKeydown.bind(this),this.initElements(t,n).mouseEvents(),ja("dragon initialized: ",this),this}return n(u,[{key:"initOptions",value:function(t){return t.announcement=t.announcement||{},this.options=Object.assign({},Na,t,{announcement:Object.assign({},Na.announcement,t.announcement)}),this}},{key:"initClick",value:function(){var o=this,t=this.options,u=t.activeClass,a=t.inactiveClass,c=t.nested;return this.handles.forEach(function(i){o.handledHandles.includes(i)||(i.addEventListener("click",function(t){c&&t.stopPropagation();var r="true"===i.getAttribute("data-drag-on"),n=r?"dropped":"grabbed";o.handles.filter(function(t){return"true"===t.getAttribute("aria-pressed")}).forEach(function(t){t.setAttribute("aria-pressed","false"),t.setAttribute("data-drag-on","false"),t.classList.remove(u)}),i.setAttribute("aria-pressed",""+!r),i.setAttribute("data-drag-on",""+!r);var e=o.items.find(function(t){return t===i||t.contains(i)});o.announcement(n,e),o.emit(n,o.container,e),o.items.forEach(function(t){var n=r?"remove":"add",e=t===i||t.contains(i);t.classList[e&&!r?"add":"remove"](u),t.classList[e&&!r?"remove":n](a)}),r||(o.cachedItems=Ia(o.options.item,o.container))}),o.handledHandles.push(i))}),this}},{key:"initElements",value:function(t,n){var e=this;return this.container=t,this.setItems().initClick(),this.handles.forEach(function(t){t.tabIndex=0,"BUTTON"!==t.tagName&&t.setAttribute("role","button"),t.removeEventListener("keydown",function(t){return e.onKeydown(t,n)}),t.addEventListener("keydown",function(t){return e.onKeydown(t,n)})}),this}},{key:"setItems",value:function(){var t=this.options;return this.items=Ia(t.item,this.container),this.handles=t.handle?Ia([t.item,t.handle].join(" "),this.container):this.items,this}},{key:"onKeydown",value:function(t,n){var e=this.options.nested,r=t.target,i=t.which,o=function(){return"true"===r.getAttribute("data-drag-on")};switch(i){case 13:case 32:e&&t.stopPropagation(),t.preventDefault(),r.click();break;case 37:case 38:case 39:case 40:o()&&(t.preventDefault(),this.arrow(i,r,n));break;case 9:o()&&r.click();break;case 27:o()&&(r.click(),this.cancel())}return this}},{key:"arrow",value:function(t,n,e){var r=this.handles,i=this.items,o=37===t||38===t,u=r.indexOf(n),a=o?u-1:u+1,c=r[a],s=i[u];if(c&&s){var f=i[a],l=o?f:f.nextElementSibling;if(e.hasMultiLists)try{s.parentNode.insertBefore(s,l)}catch(t){if(o){this.container.querySelector(e.firstListSelector).insertBefore(s,null)}else{var h=this.container.querySelector(e.secondListSelector);h.insertBefore(s,h.childNodes[0])}}else s.parentNode.insertBefore(s,l);return n.focus(),this.setItems().emit("reorder",this.container,s).announcement("reorder",s),this}}},{key:"announcement",value:function(t,n){ja(t+" announcement",n);var e=(this.options.announcement||{})[t];if(e&&"function"==typeof e){var r=e(n,this.items);this.liveRegion.announce(r,5e3),this.emit("announcement",r)}return this}},{key:"mouseEvents",value:function(){var n=this;return this.options.nested||(this.dragula.on("drag",function(t){n.announcement("grabbed",t)}),this.dragula.on("drop",function(t){n.announcement("dropped",t).setItems()})),this}},{key:"cancel",value:function(){var n=this,t=document.activeElement;return this.cachedItems.forEach(function(t){return n.container.appendChild(t)}),this.items=this.cachedItems,t.focus(),this.announcement("cancel").emit("cancel").setItems(),this}}]),u}();return ka});
  