vis-graph3d
Version:
Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.
33 lines • 178 kB
JavaScript
/**
* vis-graph3d
* https://visjs.github.io/vis-graph3d/
*
* Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.
*
* @version 6.0.6
* @date 2023-11-24T17:25:06.133Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
*
* @license
* vis.js is dual licensed under both
*
* 1. The Apache 2.0 License
* http://www.apache.org/licenses/LICENSE-2.0
*
* and
*
* 2. The MIT License
* http://opensource.org/licenses/MIT
*
* vis.js may be distributed under either license.
*/
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var r=function(t){return t&&t.Math===Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||t||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},o=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=o,s=Function.prototype,u=s.apply,c=s.call,l="object"==typeof Reflect&&Reflect.apply||(a?c.bind(u):function(){return c.apply(u,arguments)}),h=o,f=Function.prototype,p=f.call,d=h&&f.bind.bind(p,p),v=h?d:function(t){return function(){return p.apply(t,arguments)}},y=v,m=y({}.toString),g=y("".slice),b=function(t){return g(m(t),8,-1)},w=b,_=v,x=function(t){if("Function"===w(t))return _(t)},S="object"==typeof document&&document.all,T={all:S,IS_HTMLDDA:void 0===S&&void 0!==S},E=T.all,k=T.IS_HTMLDDA?function(t){return"function"==typeof t||t===E}:function(t){return"function"==typeof t},C={},O=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),L=o,A=Function.prototype.call,P=L?A.bind(A):function(){return A.apply(A,arguments)},M={},D={}.propertyIsEnumerable,R=Object.getOwnPropertyDescriptor,I=R&&!D.call({1:2},1);M.f=I?function(t){var e=R(this,t);return!!e&&e.enumerable}:D;var j,z,F=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},N=i,B=b,W=Object,Y=v("".split),G=N((function(){return!W("z").propertyIsEnumerable(0)}))?function(t){return"String"===B(t)?Y(t,""):W(t)}:W,U=function(t){return null==t},X=U,V=TypeError,Z=function(t){if(X(t))throw new V("Can't call method on "+t);return t},q=G,H=Z,K=function(t){return q(H(t))},J=k,$=T.all,Q=T.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:J(t)||t===$}:function(t){return"object"==typeof t?null!==t:J(t)},tt={},et=tt,rt=n,nt=k,it=function(t){return nt(t)?t:void 0},ot=function(t,e){return arguments.length<2?it(et[t])||it(rt[t]):et[t]&&et[t][e]||rt[t]&&rt[t][e]},at=v({}.isPrototypeOf),st="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ut=n,ct=st,lt=ut.process,ht=ut.Deno,ft=lt&<.versions||ht&&ht.version,pt=ft&&ft.v8;pt&&(z=(j=pt.split("."))[0]>0&&j[0]<4?1:+(j[0]+j[1])),!z&&ct&&(!(j=ct.match(/Edge\/(\d+)/))||j[1]>=74)&&(j=ct.match(/Chrome\/(\d+)/))&&(z=+j[1]);var dt=z,vt=dt,yt=i,mt=n.String,gt=!!Object.getOwnPropertySymbols&&!yt((function(){var t=Symbol("symbol detection");return!mt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&vt&&vt<41})),bt=gt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,wt=ot,_t=k,xt=at,St=Object,Tt=bt?function(t){return"symbol"==typeof t}:function(t){var e=wt("Symbol");return _t(e)&&xt(e.prototype,St(t))},Et=String,kt=function(t){try{return Et(t)}catch(t){return"Object"}},Ct=k,Ot=kt,Lt=TypeError,At=function(t){if(Ct(t))return t;throw new Lt(Ot(t)+" is not a function")},Pt=At,Mt=U,Dt=function(t,e){var r=t[e];return Mt(r)?void 0:Pt(r)},Rt=P,It=k,jt=Q,zt=TypeError,Ft={exports:{}},Nt=n,Bt=Object.defineProperty,Wt=function(t,e){try{Bt(Nt,t,{value:e,configurable:!0,writable:!0})}catch(r){Nt[t]=e}return e},Yt="__core-js_shared__",Gt=n[Yt]||Wt(Yt,{}),Ut=Gt;(Ft.exports=function(t,e){return Ut[t]||(Ut[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.2",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Xt=Ft.exports,Vt=Z,Zt=Object,qt=function(t){return Zt(Vt(t))},Ht=qt,Kt=v({}.hasOwnProperty),Jt=Object.hasOwn||function(t,e){return Kt(Ht(t),e)},$t=v,Qt=0,te=Math.random(),ee=$t(1..toString),re=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ee(++Qt+te,36)},ne=Xt,ie=Jt,oe=re,ae=gt,se=bt,ue=n.Symbol,ce=ne("wks"),le=se?ue.for||ue:ue&&ue.withoutSetter||oe,he=function(t){return ie(ce,t)||(ce[t]=ae&&ie(ue,t)?ue[t]:le("Symbol."+t)),ce[t]},fe=P,pe=Q,de=Tt,ve=Dt,ye=function(t,e){var r,n;if("string"===e&&It(r=t.toString)&&!jt(n=Rt(r,t)))return n;if(It(r=t.valueOf)&&!jt(n=Rt(r,t)))return n;if("string"!==e&&It(r=t.toString)&&!jt(n=Rt(r,t)))return n;throw new zt("Can't convert object to primitive value")},me=TypeError,ge=he("toPrimitive"),be=function(t,e){if(!pe(t)||de(t))return t;var r,n=ve(t,ge);if(n){if(void 0===e&&(e="default"),r=fe(n,t,e),!pe(r)||de(r))return r;throw new me("Can't convert object to primitive value")}return void 0===e&&(e="number"),ye(t,e)},we=Tt,_e=function(t){var e=be(t,"string");return we(e)?e:e+""},xe=Q,Se=n.document,Te=xe(Se)&&xe(Se.createElement),Ee=function(t){return Te?Se.createElement(t):{}},ke=Ee,Ce=!O&&!i((function(){return 7!==Object.defineProperty(ke("div"),"a",{get:function(){return 7}}).a})),Oe=O,Le=P,Ae=M,Pe=F,Me=K,De=_e,Re=Jt,Ie=Ce,je=Object.getOwnPropertyDescriptor;C.f=Oe?je:function(t,e){if(t=Me(t),e=De(e),Ie)try{return je(t,e)}catch(t){}if(Re(t,e))return Pe(!Le(Ae.f,t,e),t[e])};var ze=i,Fe=k,Ne=/#|\.prototype\./,Be=function(t,e){var r=Ye[We(t)];return r===Ue||r!==Ge&&(Fe(e)?ze(e):!!e)},We=Be.normalize=function(t){return String(t).replace(Ne,".").toLowerCase()},Ye=Be.data={},Ge=Be.NATIVE="N",Ue=Be.POLYFILL="P",Xe=Be,Ve=At,Ze=o,qe=x(x.bind),He=function(t,e){return Ve(t),void 0===e?t:Ze?qe(t,e):function(){return t.apply(e,arguments)}},Ke={},Je=O&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),$e=Q,Qe=String,tr=TypeError,er=function(t){if($e(t))return t;throw new tr(Qe(t)+" is not an object")},rr=O,nr=Ce,ir=Je,or=er,ar=_e,sr=TypeError,ur=Object.defineProperty,cr=Object.getOwnPropertyDescriptor,lr="enumerable",hr="configurable",fr="writable";Ke.f=rr?ir?function(t,e,r){if(or(t),e=ar(e),or(r),"function"==typeof t&&"prototype"===e&&"value"in r&&fr in r&&!r[fr]){var n=cr(t,e);n&&n[fr]&&(t[e]=r.value,r={configurable:hr in r?r[hr]:n[hr],enumerable:lr in r?r[lr]:n[lr],writable:!1})}return ur(t,e,r)}:ur:function(t,e,r){if(or(t),e=ar(e),or(r),nr)try{return ur(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new sr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var pr=Ke,dr=F,vr=O?function(t,e,r){return pr.f(t,e,dr(1,r))}:function(t,e,r){return t[e]=r,t},yr=n,mr=l,gr=x,br=k,wr=C.f,_r=Xe,xr=tt,Sr=He,Tr=vr,Er=Jt,kr=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return mr(t,this,arguments)};return e.prototype=t.prototype,e},Cr=function(t,e){var r,n,i,o,a,s,u,c,l,h=t.target,f=t.global,p=t.stat,d=t.proto,v=f?yr:p?yr[h]:(yr[h]||{}).prototype,y=f?xr:xr[h]||Tr(xr,h,{})[h],m=y.prototype;for(o in e)n=!(r=_r(f?o:h+(p?".":"#")+o,t.forced))&&v&&Er(v,o),s=y[o],n&&(u=t.dontCallGetSet?(l=wr(v,o))&&l.value:v[o]),a=n&&u?u:e[o],n&&typeof s==typeof a||(c=t.bind&&n?Sr(a,yr):t.wrap&&n?kr(a):d&&br(a)?gr(a):a,(t.sham||a&&a.sham||s&&s.sham)&&Tr(c,"sham",!0),Tr(y,o,c),d&&(Er(xr,i=h+"Prototype")||Tr(xr,i,{}),Tr(xr[i],o,a),t.real&&m&&(r||!m[o])&&Tr(m,o,a)))},Or=b,Lr=Array.isArray||function(t){return"Array"===Or(t)},Ar=Math.ceil,Pr=Math.floor,Mr=Math.trunc||function(t){var e=+t;return(e>0?Pr:Ar)(e)},Dr=function(t){var e=+t;return e!=e||0===e?0:Mr(e)},Rr=Dr,Ir=Math.min,jr=function(t){return t>0?Ir(Rr(t),9007199254740991):0},zr=function(t){return jr(t.length)},Fr=TypeError,Nr=function(t){if(t>9007199254740991)throw Fr("Maximum allowed index exceeded");return t},Br=_e,Wr=Ke,Yr=F,Gr=function(t,e,r){var n=Br(e);n in t?Wr.f(t,n,Yr(0,r)):t[n]=r},Ur={};Ur[he("toStringTag")]="z";var Xr="[object z]"===String(Ur),Vr=Xr,Zr=k,qr=b,Hr=he("toStringTag"),Kr=Object,Jr="Arguments"===qr(function(){return arguments}()),$r=Vr?qr:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Kr(t),Hr))?r:Jr?qr(e):"Object"===(n=qr(e))&&Zr(e.callee)?"Arguments":n},Qr=k,tn=Gt,en=v(Function.toString);Qr(tn.inspectSource)||(tn.inspectSource=function(t){return en(t)});var rn=tn.inspectSource,nn=v,on=i,an=k,sn=$r,un=rn,cn=function(){},ln=[],hn=ot("Reflect","construct"),fn=/^\s*(?:class|function)\b/,pn=nn(fn.exec),dn=!fn.test(cn),vn=function(t){if(!an(t))return!1;try{return hn(cn,ln,t),!0}catch(t){return!1}},yn=function(t){if(!an(t))return!1;switch(sn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return dn||!!pn(fn,un(t))}catch(t){return!0}};yn.sham=!0;var mn=!hn||on((function(){var t;return vn(vn.call)||!vn(Object)||!vn((function(){t=!0}))||t}))?yn:vn,gn=Lr,bn=mn,wn=Q,_n=he("species"),xn=Array,Sn=function(t){var e;return gn(t)&&(e=t.constructor,(bn(e)&&(e===xn||gn(e.prototype))||wn(e)&&null===(e=e[_n]))&&(e=void 0)),void 0===e?xn:e},Tn=function(t,e){return new(Sn(t))(0===e?0:e)},En=i,kn=dt,Cn=he("species"),On=function(t){return kn>=51||!En((function(){var e=[];return(e.constructor={})[Cn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Ln=Cr,An=i,Pn=Lr,Mn=Q,Dn=qt,Rn=zr,In=Nr,jn=Gr,zn=Tn,Fn=On,Nn=dt,Bn=he("isConcatSpreadable"),Wn=Nn>=51||!An((function(){var t=[];return t[Bn]=!1,t.concat()[0]!==t})),Yn=function(t){if(!Mn(t))return!1;var e=t[Bn];return void 0!==e?!!e:Pn(t)};Ln({target:"Array",proto:!0,arity:1,forced:!Wn||!Fn("concat")},{concat:function(t){var e,r,n,i,o,a=Dn(this),s=zn(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Yn(o=-1===e?a:arguments[e]))for(i=Rn(o),In(u+i),r=0;r<i;r++,u++)r in o&&jn(s,u,o[r]);else In(u+1),jn(s,u++,o);return s.length=u,s}});var Gn=$r,Un=String,Xn=function(t){if("Symbol"===Gn(t))throw new TypeError("Cannot convert a Symbol value to a string");return Un(t)},Vn={},Zn=Dr,qn=Math.max,Hn=Math.min,Kn=function(t,e){var r=Zn(t);return r<0?qn(r+e,0):Hn(r,e)},Jn=K,$n=Kn,Qn=zr,ti=function(t){return function(e,r,n){var i,o=Jn(e),a=Qn(o),s=$n(n,a);if(t&&r!=r){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},ei={includes:ti(!0),indexOf:ti(!1)},ri={},ni=Jt,ii=K,oi=ei.indexOf,ai=ri,si=v([].push),ui=function(t,e){var r,n=ii(t),i=0,o=[];for(r in n)!ni(ai,r)&&ni(n,r)&&si(o,r);for(;e.length>i;)ni(n,r=e[i++])&&(~oi(o,r)||si(o,r));return o},ci=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],li=ui,hi=ci,fi=Object.keys||function(t){return li(t,hi)},pi=O,di=Je,vi=Ke,yi=er,mi=K,gi=fi;Vn.f=pi&&!di?Object.defineProperties:function(t,e){yi(t);for(var r,n=mi(e),i=gi(e),o=i.length,a=0;o>a;)vi.f(t,r=i[a++],n[r]);return t};var bi,wi=ot("document","documentElement"),_i=re,xi=Xt("keys"),Si=function(t){return xi[t]||(xi[t]=_i(t))},Ti=er,Ei=Vn,ki=ci,Ci=ri,Oi=wi,Li=Ee,Ai="prototype",Pi="script",Mi=Si("IE_PROTO"),Di=function(){},Ri=function(t){return"<"+Pi+">"+t+"</"+Pi+">"},Ii=function(t){t.write(Ri("")),t.close();var e=t.parentWindow.Object;return t=null,e},ji=function(){try{bi=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;ji="undefined"!=typeof document?document.domain&&bi?Ii(bi):(e=Li("iframe"),r="java"+Pi+":",e.style.display="none",Oi.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Ri("document.F=Object")),t.close(),t.F):Ii(bi);for(var n=ki.length;n--;)delete ji[Ai][ki[n]];return ji()};Ci[Mi]=!0;var zi=Object.create||function(t,e){var r;return null!==t?(Di[Ai]=Ti(t),r=new Di,Di[Ai]=null,r[Mi]=t):r=ji(),void 0===e?r:Ei.f(r,e)},Fi={},Ni=ui,Bi=ci.concat("length","prototype");Fi.f=Object.getOwnPropertyNames||function(t){return Ni(t,Bi)};var Wi={},Yi=Kn,Gi=zr,Ui=Gr,Xi=Array,Vi=Math.max,Zi=function(t,e,r){for(var n=Gi(t),i=Yi(e,n),o=Yi(void 0===r?n:r,n),a=Xi(Vi(o-i,0)),s=0;i<o;i++,s++)Ui(a,s,t[i]);return a.length=s,a},qi=b,Hi=K,Ki=Fi.f,Ji=Zi,$i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Wi.f=function(t){return $i&&"Window"===qi(t)?function(t){try{return Ki(t)}catch(t){return Ji($i)}}(t):Ki(Hi(t))};var Qi={};Qi.f=Object.getOwnPropertySymbols;var to=vr,eo=function(t,e,r,n){return n&&n.enumerable?t[e]=r:to(t,e,r),t},ro=Ke,no=function(t,e,r){return ro.f(t,e,r)},io={},oo=he;io.f=oo;var ao,so,uo,co=tt,lo=Jt,ho=io,fo=Ke.f,po=function(t){var e=co.Symbol||(co.Symbol={});lo(e,t)||fo(e,t,{value:ho.f(t)})},vo=P,yo=ot,mo=he,go=eo,bo=function(){var t=yo("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=mo("toPrimitive");e&&!e[n]&&go(e,n,(function(t){return vo(r,this)}),{arity:1})},wo=$r,_o=Xr?{}.toString:function(){return"[object "+wo(this)+"]"},xo=Xr,So=Ke.f,To=vr,Eo=Jt,ko=_o,Co=he("toStringTag"),Oo=function(t,e,r,n){if(t){var i=r?t:t.prototype;Eo(i,Co)||So(i,Co,{configurable:!0,value:e}),n&&!xo&&To(i,"toString",ko)}},Lo=k,Ao=n.WeakMap,Po=Lo(Ao)&&/native code/.test(String(Ao)),Mo=n,Do=Q,Ro=vr,Io=Jt,jo=Gt,zo=Si,Fo=ri,No="Object already initialized",Bo=Mo.TypeError,Wo=Mo.WeakMap;if(Po||jo.state){var Yo=jo.state||(jo.state=new Wo);Yo.get=Yo.get,Yo.has=Yo.has,Yo.set=Yo.set,ao=function(t,e){if(Yo.has(t))throw new Bo(No);return e.facade=t,Yo.set(t,e),e},so=function(t){return Yo.get(t)||{}},uo=function(t){return Yo.has(t)}}else{var Go=zo("state");Fo[Go]=!0,ao=function(t,e){if(Io(t,Go))throw new Bo(No);return e.facade=t,Ro(t,Go,e),e},so=function(t){return Io(t,Go)?t[Go]:{}},uo=function(t){return Io(t,Go)}}var Uo={set:ao,get:so,has:uo,enforce:function(t){return uo(t)?so(t):ao(t,{})},getterFor:function(t){return function(e){var r;if(!Do(e)||(r=so(e)).type!==t)throw new Bo("Incompatible receiver, "+t+" required");return r}}},Xo=He,Vo=G,Zo=qt,qo=zr,Ho=Tn,Ko=v([].push),Jo=function(t){var e=1===t,r=2===t,n=3===t,i=4===t,o=6===t,a=7===t,s=5===t||o;return function(u,c,l,h){for(var f,p,d=Zo(u),v=Vo(d),y=Xo(c,l),m=qo(v),g=0,b=h||Ho,w=e?b(u,m):r||a?b(u,0):void 0;m>g;g++)if((s||g in v)&&(p=y(f=v[g],g,d),t))if(e)w[g]=p;else if(p)switch(t){case 3:return!0;case 5:return f;case 6:return g;case 2:Ko(w,f)}else switch(t){case 4:return!1;case 7:Ko(w,f)}return o?-1:n||i?i:w}},$o={forEach:Jo(0),map:Jo(1),filter:Jo(2),some:Jo(3),every:Jo(4),find:Jo(5),findIndex:Jo(6),filterReject:Jo(7)},Qo=Cr,ta=n,ea=P,ra=v,na=O,ia=gt,oa=i,aa=Jt,sa=at,ua=er,ca=K,la=_e,ha=Xn,fa=F,pa=zi,da=fi,va=Fi,ya=Wi,ma=Qi,ga=C,ba=Ke,wa=Vn,_a=M,xa=eo,Sa=no,Ta=Xt,Ea=ri,ka=re,Ca=he,Oa=io,La=po,Aa=bo,Pa=Oo,Ma=Uo,Da=$o.forEach,Ra=Si("hidden"),Ia="Symbol",ja="prototype",za=Ma.set,Fa=Ma.getterFor(Ia),Na=Object[ja],Ba=ta.Symbol,Wa=Ba&&Ba[ja],Ya=ta.RangeError,Ga=ta.TypeError,Ua=ta.QObject,Xa=ga.f,Va=ba.f,Za=ya.f,qa=_a.f,Ha=ra([].push),Ka=Ta("symbols"),Ja=Ta("op-symbols"),$a=Ta("wks"),Qa=!Ua||!Ua[ja]||!Ua[ja].findChild,ts=function(t,e,r){var n=Xa(Na,e);n&&delete Na[e],Va(t,e,r),n&&t!==Na&&Va(Na,e,n)},es=na&&oa((function(){return 7!==pa(Va({},"a",{get:function(){return Va(this,"a",{value:7}).a}})).a}))?ts:Va,rs=function(t,e){var r=Ka[t]=pa(Wa);return za(r,{type:Ia,tag:t,description:e}),na||(r.description=e),r},ns=function(t,e,r){t===Na&&ns(Ja,e,r),ua(t);var n=la(e);return ua(r),aa(Ka,n)?(r.enumerable?(aa(t,Ra)&&t[Ra][n]&&(t[Ra][n]=!1),r=pa(r,{enumerable:fa(0,!1)})):(aa(t,Ra)||Va(t,Ra,fa(1,{})),t[Ra][n]=!0),es(t,n,r)):Va(t,n,r)},is=function(t,e){ua(t);var r=ca(e),n=da(r).concat(us(r));return Da(n,(function(e){na&&!ea(os,r,e)||ns(t,e,r[e])})),t},os=function(t){var e=la(t),r=ea(qa,this,e);return!(this===Na&&aa(Ka,e)&&!aa(Ja,e))&&(!(r||!aa(this,e)||!aa(Ka,e)||aa(this,Ra)&&this[Ra][e])||r)},as=function(t,e){var r=ca(t),n=la(e);if(r!==Na||!aa(Ka,n)||aa(Ja,n)){var i=Xa(r,n);return!i||!aa(Ka,n)||aa(r,Ra)&&r[Ra][n]||(i.enumerable=!0),i}},ss=function(t){var e=Za(ca(t)),r=[];return Da(e,(function(t){aa(Ka,t)||aa(Ea,t)||Ha(r,t)})),r},us=function(t){var e=t===Na,r=Za(e?Ja:ca(t)),n=[];return Da(r,(function(t){!aa(Ka,t)||e&&!aa(Na,t)||Ha(n,Ka[t])})),n};ia||(xa(Wa=(Ba=function(){if(sa(Wa,this))throw new Ga("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?ha(arguments[0]):void 0,e=ka(t),r=function(t){var n=void 0===this?ta:this;n===Na&&ea(r,Ja,t),aa(n,Ra)&&aa(n[Ra],e)&&(n[Ra][e]=!1);var i=fa(1,t);try{es(n,e,i)}catch(t){if(!(t instanceof Ya))throw t;ts(n,e,i)}};return na&&Qa&&es(Na,e,{configurable:!0,set:r}),rs(e,t)})[ja],"toString",(function(){return Fa(this).tag})),xa(Ba,"withoutSetter",(function(t){return rs(ka(t),t)})),_a.f=os,ba.f=ns,wa.f=is,ga.f=as,va.f=ya.f=ss,ma.f=us,Oa.f=function(t){return rs(Ca(t),t)},na&&Sa(Wa,"description",{configurable:!0,get:function(){return Fa(this).description}})),Qo({global:!0,constructor:!0,wrap:!0,forced:!ia,sham:!ia},{Symbol:Ba}),Da(da($a),(function(t){La(t)})),Qo({target:Ia,stat:!0,forced:!ia},{useSetter:function(){Qa=!0},useSimple:function(){Qa=!1}}),Qo({target:"Object",stat:!0,forced:!ia,sham:!na},{create:function(t,e){return void 0===e?pa(t):is(pa(t),e)},defineProperty:ns,defineProperties:is,getOwnPropertyDescriptor:as}),Qo({target:"Object",stat:!0,forced:!ia},{getOwnPropertyNames:ss}),Aa(),Pa(Ba,Ia),Ea[Ra]=!0;var cs=gt&&!!Symbol.for&&!!Symbol.keyFor,ls=Cr,hs=ot,fs=Jt,ps=Xn,ds=Xt,vs=cs,ys=ds("string-to-symbol-registry"),ms=ds("symbol-to-string-registry");ls({target:"Symbol",stat:!0,forced:!vs},{for:function(t){var e=ps(t);if(fs(ys,e))return ys[e];var r=hs("Symbol")(e);return ys[e]=r,ms[r]=e,r}});var gs=Cr,bs=Jt,ws=Tt,_s=kt,xs=cs,Ss=Xt("symbol-to-string-registry");gs({target:"Symbol",stat:!0,forced:!xs},{keyFor:function(t){if(!ws(t))throw new TypeError(_s(t)+" is not a symbol");if(bs(Ss,t))return Ss[t]}});var Ts=v([].slice),Es=Lr,ks=k,Cs=b,Os=Xn,Ls=v([].push),As=Cr,Ps=ot,Ms=l,Ds=P,Rs=v,Is=i,js=k,zs=Tt,Fs=Ts,Ns=function(t){if(ks(t))return t;if(Es(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];"string"==typeof i?Ls(r,i):"number"!=typeof i&&"Number"!==Cs(i)&&"String"!==Cs(i)||Ls(r,Os(i))}var o=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Es(this))return e;for(var n=0;n<o;n++)if(r[n]===t)return e}}},Bs=gt,Ws=String,Ys=Ps("JSON","stringify"),Gs=Rs(/./.exec),Us=Rs("".charAt),Xs=Rs("".charCodeAt),Vs=Rs("".replace),Zs=Rs(1..toString),qs=/[\uD800-\uDFFF]/g,Hs=/^[\uD800-\uDBFF]$/,Ks=/^[\uDC00-\uDFFF]$/,Js=!Bs||Is((function(){var t=Ps("Symbol")("stringify detection");return"[null]"!==Ys([t])||"{}"!==Ys({a:t})||"{}"!==Ys(Object(t))})),$s=Is((function(){return'"\\udf06\\ud834"'!==Ys("\udf06\ud834")||'"\\udead"'!==Ys("\udead")})),Qs=function(t,e){var r=Fs(arguments),n=Ns(e);if(js(n)||void 0!==t&&!zs(t))return r[1]=function(t,e){if(js(n)&&(e=Ds(n,this,Ws(t),e)),!zs(e))return e},Ms(Ys,null,r)},tu=function(t,e,r){var n=Us(r,e-1),i=Us(r,e+1);return Gs(Hs,t)&&!Gs(Ks,i)||Gs(Ks,t)&&!Gs(Hs,n)?"\\u"+Zs(Xs(t,0),16):t};Ys&&As({target:"JSON",stat:!0,arity:3,forced:Js||$s},{stringify:function(t,e,r){var n=Fs(arguments),i=Ms(Js?Qs:Ys,null,n);return $s&&"string"==typeof i?Vs(i,qs,tu):i}});var eu=Qi,ru=qt;Cr({target:"Object",stat:!0,forced:!gt||i((function(){eu.f(1)}))},{getOwnPropertySymbols:function(t){var e=eu.f;return e?e(ru(t)):[]}}),po("asyncIterator"),po("hasInstance"),po("isConcatSpreadable"),po("iterator"),po("match"),po("matchAll"),po("replace"),po("search"),po("species"),po("split");var nu=bo;po("toPrimitive"),nu();var iu=ot,ou=Oo;po("toStringTag"),ou(iu("Symbol"),"Symbol"),po("unscopables"),Oo(n.JSON,"JSON",!0);var au,su,uu,cu=tt.Symbol,lu={},hu=O,fu=Jt,pu=Function.prototype,du=hu&&Object.getOwnPropertyDescriptor,vu=fu(pu,"name"),yu={EXISTS:vu,PROPER:vu&&"something"===function(){}.name,CONFIGURABLE:vu&&(!hu||hu&&du(pu,"name").configurable)},mu=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),gu=Jt,bu=k,wu=qt,_u=mu,xu=Si("IE_PROTO"),Su=Object,Tu=Su.prototype,Eu=_u?Su.getPrototypeOf:function(t){var e=wu(t);if(gu(e,xu))return e[xu];var r=e.constructor;return bu(r)&&e instanceof r?r.prototype:e instanceof Su?Tu:null},ku=i,Cu=k,Ou=Q,Lu=zi,Au=Eu,Pu=eo,Mu=he("iterator"),Du=!1;[].keys&&("next"in(uu=[].keys())?(su=Au(Au(uu)))!==Object.prototype&&(au=su):Du=!0);var Ru=!Ou(au)||ku((function(){var t={};return au[Mu].call(t)!==t}));Cu((au=Ru?{}:Lu(au))[Mu])||Pu(au,Mu,(function(){return this}));var Iu={IteratorPrototype:au,BUGGY_SAFARI_ITERATORS:Du},ju=Iu.IteratorPrototype,zu=zi,Fu=F,Nu=Oo,Bu=lu,Wu=function(){return this},Yu=v,Gu=At,Uu=k,Xu=String,Vu=TypeError,Zu=function(t,e,r){try{return Yu(Gu(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},qu=er,Hu=function(t){if("object"==typeof t||Uu(t))return t;throw new Vu("Can't set "+Xu(t)+" as a prototype")},Ku=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Zu(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return qu(r),Hu(n),e?t(r,n):r.__proto__=n,r}}():void 0),Ju=Cr,$u=P,Qu=yu,tc=function(t,e,r,n){var i=e+" Iterator";return t.prototype=zu(ju,{next:Fu(+!n,r)}),Nu(t,i,!1,!0),Bu[i]=Wu,t},ec=Eu,rc=Oo,nc=eo,ic=lu,oc=Iu,ac=Qu.PROPER,sc=oc.BUGGY_SAFARI_ITERATORS,uc=he("iterator"),cc="keys",lc="values",hc="entries",fc=function(){return this},pc=function(t,e,r,n,i,o,a){tc(r,e,n);var s,u,c,l=function(t){if(t===i&&v)return v;if(!sc&&t&&t in p)return p[t];switch(t){case cc:case lc:case hc:return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",f=!1,p=t.prototype,d=p[uc]||p["@@iterator"]||i&&p[i],v=!sc&&d||l(i),y="Array"===e&&p.entries||d;if(y&&(s=ec(y.call(new t)))!==Object.prototype&&s.next&&(rc(s,h,!0,!0),ic[h]=fc),ac&&i===lc&&d&&d.name!==lc&&(f=!0,v=function(){return $u(d,this)}),i)if(u={values:l(lc),keys:o?v:l(cc),entries:l(hc)},a)for(c in u)(sc||f||!(c in p))&&nc(p,c,u[c]);else Ju({target:e,proto:!0,forced:sc||f},u);return a&&p[uc]!==v&&nc(p,uc,v,{name:i}),ic[e]=v,u},dc=function(t,e){return{value:t,done:e}},vc=K,yc=lu,mc=Uo;Ke.f;var gc=pc,bc=dc,wc="Array Iterator",_c=mc.set,xc=mc.getterFor(wc);gc(Array,"Array",(function(t,e){_c(this,{type:wc,target:vc(t),index:0,kind:e})}),(function(){var t=xc(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,bc(void 0,!0);switch(t.kind){case"keys":return bc(r,!1);case"values":return bc(e[r],!1)}return bc([r,e[r]],!1)}),"values"),yc.Arguments=yc.Array;var Sc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Tc=n,Ec=$r,kc=vr,Cc=lu,Oc=he("toStringTag");for(var Lc in Sc){var Ac=Tc[Lc],Pc=Ac&&Ac.prototype;Pc&&Ec(Pc)!==Oc&&kc(Pc,Oc,Lc),Cc[Lc]=Cc.Array}var Mc=cu,Dc=he,Rc=Ke.f,Ic=Dc("metadata"),jc=Function.prototype;void 0===jc[Ic]&&Rc(jc,Ic,{value:null}),po("asyncDispose"),po("dispose"),po("metadata");var zc=Mc,Fc=v,Nc=ot("Symbol"),Bc=Nc.keyFor,Wc=Fc(Nc.prototype.valueOf),Yc=Nc.isRegisteredSymbol||function(t){try{return void 0!==Bc(Wc(t))}catch(t){return!1}};Cr({target:"Symbol",stat:!0},{isRegisteredSymbol:Yc});for(var Gc=Xt,Uc=ot,Xc=v,Vc=Tt,Zc=he,qc=Uc("Symbol"),Hc=qc.isWellKnownSymbol,Kc=Uc("Object","getOwnPropertyNames"),Jc=Xc(qc.prototype.valueOf),$c=Gc("wks"),Qc=0,tl=Kc(qc),el=tl.length;Qc<el;Qc++)try{var rl=tl[Qc];Vc(qc[rl])&&Zc(rl)}catch(t){}var nl=function(t){if(Hc&&Hc(t))return!0;try{for(var e=Jc(t),r=0,n=Kc($c),i=n.length;r<i;r++)if($c[n[r]]==e)return!0}catch(t){}return!1};Cr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:nl}),po("matcher"),po("observable"),Cr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Yc}),Cr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:nl}),po("metadataKey"),po("patternMatch"),po("replaceAll");var il=zc,ol=e(il),al=v,sl=Dr,ul=Xn,cl=Z,ll=al("".charAt),hl=al("".charCodeAt),fl=al("".slice),pl=function(t){return function(e,r){var n,i,o=ul(cl(e)),a=sl(r),s=o.length;return a<0||a>=s?t?"":void 0:(n=hl(o,a))<55296||n>56319||a+1===s||(i=hl(o,a+1))<56320||i>57343?t?ll(o,a):n:t?fl(o,a,a+2):i-56320+(n-55296<<10)+65536}},dl={codeAt:pl(!1),charAt:pl(!0)}.charAt,vl=Xn,yl=Uo,ml=pc,gl=dc,bl="String Iterator",wl=yl.set,_l=yl.getterFor(bl);ml(String,"String",(function(t){wl(this,{type:bl,string:vl(t),index:0})}),(function(){var t,e=_l(this),r=e.string,n=e.index;return n>=r.length?gl(void 0,!0):(t=dl(r,n),e.index+=t.length,gl(t,!1))}));var xl=io.f("iterator"),Sl=xl,Tl=e(Sl);function El(t){return El="function"==typeof ol&&"symbol"==typeof Tl?function(t){return typeof t}:function(t){return t&&"function"==typeof ol&&t.constructor===ol&&t!==ol.prototype?"symbol":typeof t},El(t)}var kl=kt,Cl=TypeError,Ol=function(t,e){if(!delete t[e])throw new Cl("Cannot delete property "+kl(e)+" of "+kl(t))},Ll=Zi,Al=Math.floor,Pl=function(t,e){var r=t.length,n=Al(r/2);return r<8?Ml(t,e):Dl(t,Pl(Ll(t,0,n),e),Pl(Ll(t,n),e),e)},Ml=function(t,e){for(var r,n,i=t.length,o=1;o<i;){for(n=o,r=t[o];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==o++&&(t[n]=r)}return t},Dl=function(t,e,r,n){for(var i=e.length,o=r.length,a=0,s=0;a<i||s<o;)t[a+s]=a<i&&s<o?n(e[a],r[s])<=0?e[a++]:r[s++]:a<i?e[a++]:r[s++];return t},Rl=Pl,Il=i,jl=function(t,e){var r=[][t];return!!r&&Il((function(){r.call(null,e||function(){return 1},1)}))},zl=st.match(/firefox\/(\d+)/i),Fl=!!zl&&+zl[1],Nl=/MSIE|Trident/.test(st),Bl=st.match(/AppleWebKit\/(\d+)\./),Wl=!!Bl&&+Bl[1],Yl=Cr,Gl=v,Ul=At,Xl=qt,Vl=zr,Zl=Ol,ql=Xn,Hl=i,Kl=Rl,Jl=jl,$l=Fl,Ql=Nl,th=dt,eh=Wl,rh=[],nh=Gl(rh.sort),ih=Gl(rh.push),oh=Hl((function(){rh.sort(void 0)})),ah=Hl((function(){rh.sort(null)})),sh=Jl("sort"),uh=!Hl((function(){if(th)return th<70;if(!($l&&$l>3)){if(Ql)return!0;if(eh)return eh<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)rh.push({k:e+n,v:r})}for(rh.sort((function(t,e){return e.v-t.v})),n=0;n<rh.length;n++)e=rh[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));Yl({target:"Array",proto:!0,forced:oh||!ah||!sh||!uh},{sort:function(t){void 0!==t&&Ul(t);var e=Xl(this);if(uh)return void 0===t?nh(e):nh(e,t);var r,n,i=[],o=Vl(e);for(n=0;n<o;n++)n in e&&ih(i,e[n]);for(Kl(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:ql(e)>ql(r)?1:-1}}(t)),r=Vl(i),n=0;n<r;)e[n]=i[n++];for(;n<o;)Zl(e,n++);return e}});var ch=n,lh=tt,hh=function(t,e){var r=lh[t+"Prototype"],n=r&&r[e];if(n)return n;var i=ch[t],o=i&&i.prototype;return o&&o[e]},fh=hh("Array","sort"),ph=at,dh=fh,vh=Array.prototype,yh=e((function(t){var e=t.sort;return t===vh||ph(vh,t)&&e===vh.sort?dh:e})),mh=Cr,gh=ei.indexOf,bh=jl,wh=x([].indexOf),_h=!!wh&&1/wh([1],1,-0)<0;mh({target:"Array",proto:!0,forced:_h||!bh("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return _h?wh(this,t,e)||0:gh(this,t,e)}});var xh=hh("Array","indexOf"),Sh=at,Th=xh,Eh=Array.prototype,kh=e((function(t){var e=t.indexOf;return t===Eh||Sh(Eh,t)&&e===Eh.indexOf?Th:e})),Ch=$o.filter;Cr({target:"Array",proto:!0,forced:!On("filter")},{filter:function(t){return Ch(this,t,arguments.length>1?arguments[1]:void 0)}});var Oh=hh("Array","filter"),Lh=at,Ah=Oh,Ph=Array.prototype,Mh=e((function(t){var e=t.filter;return t===Ph||Lh(Ph,t)&&e===Ph.filter?Ah:e})),Dh="\t\n\v\f\r \u2028\u2029\ufeff",Rh=Z,Ih=Xn,jh=Dh,zh=v("".replace),Fh=RegExp("^["+jh+"]+"),Nh=RegExp("(^|[^"+jh+"])["+jh+"]+$"),Bh=function(t){return function(e){var r=Ih(Rh(e));return 1&t&&(r=zh(r,Fh,"")),2&t&&(r=zh(r,Nh,"$1")),r}},Wh={start:Bh(1),end:Bh(2),trim:Bh(3)},Yh=n,Gh=i,Uh=Xn,Xh=Wh.trim,Vh=Dh,Zh=v("".charAt),qh=Yh.parseFloat,Hh=Yh.Symbol,Kh=Hh&&Hh.iterator,Jh=1/qh(Vh+"-0")!=-1/0||Kh&&!Gh((function(){qh(Object(Kh))}))?function(t){var e=Xh(Uh(t)),r=qh(e);return 0===r&&"-"===Zh(e,0)?-0:r}:qh;Cr({global:!0,forced:parseFloat!==Jh},{parseFloat:Jh});var $h=e(tt.parseFloat),Qh=qt,tf=Kn,ef=zr;Cr({target:"Array",proto:!0},{fill:function(t){for(var e=Qh(this),r=ef(e),n=arguments.length,i=tf(n>1?arguments[1]:void 0,r),o=n>2?arguments[2]:void 0,a=void 0===o?r:tf(o,r);a>i;)e[i++]=t;return e}});var rf=hh("Array","fill"),nf=at,of=rf,af=Array.prototype,sf=e((function(t){var e=t.fill;return t===af||nf(af,t)&&e===af.fill?of:e})),uf=hh("Array","values"),cf=$r,lf=Jt,hf=at,ff=uf,pf=Array.prototype,df={DOMTokenList:!0,NodeList:!0},vf=e((function(t){var e=t.values;return t===pf||hf(pf,t)&&e===pf.values||lf(df,cf(t))?ff:e})),yf=$o.forEach,mf=jl("forEach")?[].forEach:function(t){return yf(this,t,arguments.length>1?arguments[1]:void 0)};Cr({target:"Array",proto:!0,forced:[].forEach!==mf},{forEach:mf});var gf=hh("Array","forEach"),bf=$r,wf=Jt,_f=at,xf=gf,Sf=Array.prototype,Tf={DOMTokenList:!0,NodeList:!0},Ef=function(t){var e=t.forEach;return t===Sf||_f(Sf,t)&&e===Sf.forEach||wf(Tf,bf(t))?xf:e},kf=e(Ef);Cr({target:"Array",stat:!0},{isArray:Lr});var Cf=tt.Array.isArray,Of=e(Cf);Cr({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Lf=e(tt.Number.isNaN),Af=hh("Array","concat"),Pf=at,Mf=Af,Df=Array.prototype,Rf=e((function(t){var e=t.concat;return t===Df||Pf(Df,t)&&e===Df.concat?Mf:e})),If="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,jf=TypeError,zf=function(t,e){if(t<e)throw new jf("Not enough arguments");return t},Ff=n,Nf=l,Bf=k,Wf=If,Yf=st,Gf=Ts,Uf=zf,Xf=Ff.Function,Vf=/MSIE .\./.test(Yf)||Wf&&function(){var t=Ff.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),Zf=function(t,e){var r=e?2:1;return Vf?function(n,i){var o=Uf(arguments.length,1)>r,a=Bf(n)?n:Xf(n),s=o?Gf(arguments,r):[],u=o?function(){Nf(a,this,s)}:a;return e?t(u,i):t(u)}:t},qf=Cr,Hf=n,Kf=Zf(Hf.setInterval,!0);qf({global:!0,bind:!0,forced:Hf.setInterval!==Kf},{setInterval:Kf});var Jf=Cr,$f=n,Qf=Zf($f.setTimeout,!0);Jf({global:!0,bind:!0,forced:$f.setTimeout!==Qf},{setTimeout:Qf});var tp=e(tt.setTimeout),ep=O,rp=v,np=P,ip=i,op=fi,ap=Qi,sp=M,up=qt,cp=G,lp=Object.assign,hp=Object.defineProperty,fp=rp([].concat),pp=!lp||ip((function(){if(ep&&1!==lp({b:1},lp(hp({},"a",{enumerable:!0,get:function(){hp(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==lp({},t)[r]||op(lp({},e)).join("")!==n}))?function(t,e){for(var r=up(t),n=arguments.length,i=1,o=ap.f,a=sp.f;n>i;)for(var s,u=cp(arguments[i++]),c=o?fp(op(u),o(u)):op(u),l=c.length,h=0;l>h;)s=c[h++],ep&&!np(a,u,s)||(r[s]=u[s]);return r}:lp,dp=pp;Cr({target:"Object",stat:!0,arity:2,forced:Object.assign!==dp},{assign:dp});var vp=e(tt.Object.assign),yp={exports:{}};!function(t){function e(t){if(t)return function(t){return Object.assign(t,e.prototype),t._callbacks=new Map,t}(t);this._callbacks=new Map}e.prototype.on=function(t,e){const r=this._callbacks.get(t)??[];return r.push(e),this._callbacks.set(t,r),this},e.prototype.once=function(t,e){const r=(...n)=>{this.off(t,r),e.apply(this,n)};return r.fn=e,this.on(t,r),this},e.prototype.off=function(t,e){if(void 0===t&&void 0===e)return this._callbacks.clear(),this;if(void 0===e)return this._callbacks.delete(t),this;const r=this._callbacks.get(t);if(r){for(const[t,n]of r.entries())if(n===e||n.fn===e){r.splice(t,1);break}0===r.length?this._callbacks.delete(t):this._callbacks.set(t,r)}return this},e.prototype.emit=function(t,...e){const r=this._callbacks.get(t);if(r){const t=[...r];for(const r of t)r.apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks.get(t)??[]},e.prototype.listenerCount=function(t){if(t)return this.listeners(t).length;let e=0;for(const t of this._callbacks.values())e+=t.length;return e},e.prototype.hasListeners=function(t){return this.listenerCount(t)>0},e.prototype.addEventListener=e.prototype.on,e.prototype.removeListener=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,t.exports=e}(yp);var mp=e(yp.exports),gp=P,bp=er,wp=Dt,_p=function(t,e,r){var n,i;bp(t);try{if(!(n=wp(t,"return"))){if("throw"===e)throw r;return r}n=gp(n,t)}catch(t){i=!0,n=t}if("throw"===e)throw r;if(i)throw n;return bp(n),r},xp=er,Sp=_p,Tp=lu,Ep=he("iterator"),kp=Array.prototype,Cp=function(t){return void 0!==t&&(Tp.Array===t||kp[Ep]===t)},Op=$r,Lp=Dt,Ap=U,Pp=lu,Mp=he("iterator"),Dp=function(t){if(!Ap(t))return Lp(t,Mp)||Lp(t,"@@iterator")||Pp[Op(t)]},Rp=P,Ip=At,jp=er,zp=kt,Fp=Dp,Np=TypeError,Bp=function(t,e){var r=arguments.length<2?Fp(t):e;if(Ip(r))return jp(Rp(r,t));throw new Np(zp(t)+" is not iterable")},Wp=He,Yp=P,Gp=qt,Up=function(t,e,r,n){try{return n?e(xp(r)[0],r[1]):e(r)}catch(e){Sp(t,"throw",e)}},Xp=Cp,Vp=mn,Zp=zr,qp=Gr,Hp=Bp,Kp=Dp,Jp=Array,$p=he("iterator"),Qp=!1;try{var td=0,ed={next:function(){return{done:!!td++}},return:function(){Qp=!0}};ed[$p]=function(){return this},Array.from(ed,(function(){throw 2}))}catch(t){}var rd=function(t,e){try{if(!e&&!Qp)return!1}catch(t){return!1}var r=!1;try{var n={};n[$p]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},nd=function(t){var e=Gp(t),r=Vp(this),n=arguments.length,i=n>1?arguments[1]:void 0,o=void 0!==i;o&&(i=Wp(i,n>2?arguments[2]:void 0));var a,s,u,c,l,h,f=Kp(e),p=0;if(!f||this===Jp&&Xp(f))for(a=Zp(e),s=r?new this(a):Jp(a);a>p;p++)h=o?i(e[p],p):e[p],qp(s,p,h);else for(l=(c=Hp(e,f)).next,s=r?new this:[];!(u=Yp(l,c)).done;p++)h=o?Up(c,i,[u.value,p],!0):u.value,qp(s,p,h);return s.length=p,s};Cr({target:"Array",stat:!0,forced:!rd((function(t){Array.from(t)}))},{from:nd});var id=tt.Array.from,od=e(id),ad=Dp,sd=e(ad),ud=e(ad);function cd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var ld={exports:{}},hd=Cr,fd=O,pd=Ke.f;hd({target:"Object",stat:!0,forced:Object.defineProperty!==pd,sham:!fd},{defineProperty:pd});var dd=tt.Object,vd=ld.exports=function(t,e,r){return dd.defineProperty(t,e,r)};dd.defineProperty.sham&&(vd.sham=!0);var yd=ld.exports,md=yd,gd=e(md),bd=e(io.f("toPrimitive"));function wd(t){var e=function(t,e){if("object"!==El(t)||null===t)return t;var r=t[bd];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==El(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===El(e)?e:String(e)}function _d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),gd(t,wd(n.key),n)}}function xd(t,e,r){return e&&_d(t.prototype,e),r&&_d(t,r),gd(t,"prototype",{writable:!1}),t}var Sd=e(Cf);var Td=O,Ed=Lr,kd=TypeError,Cd=Object.getOwnPropertyDescriptor,Od=Td&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(Ed(t)&&!Cd(t,"length").writable)throw new kd("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Ld=qt,Ad=zr,Pd=Od,Md=Nr;Cr({target:"Array",proto:!0,arity:1,forced:i((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=Ld(this),r=Ad(e),n=arguments.length;Md(r+n);for(var i=0;i<n;i++)e[r]=arguments[i],r++;return Pd(e,r),r}});var Dd=hh("Array","push"),Rd=at,Id=Dd,jd=Array.prototype,zd=function(t){var e=t.push;return t===jd||Rd(jd,t)&&e===jd.push?Id:e},Fd=e(zd);var Nd=Cr,Bd=Lr,Wd=mn,Yd=Q,Gd=Kn,Ud=zr,Xd=K,Vd=Gr,Zd=he,qd=Ts,Hd=On("slice"),Kd=Zd("species"),Jd=Array,$d=Math.max;Nd({target:"Array",proto:!0,forced:!Hd},{slice:function(t,e){var r,n,i,o=Xd(this),a=Ud(o),s=Gd(t,a),u=Gd(void 0===e?a:e,a);if(Bd(o)&&(r=o.constructor,(Wd(r)&&(r===Jd||Bd(r.prototype))||Yd(r)&&null===(r=r[Kd]))&&(r=void 0),r===Jd||void 0===r))return qd(o,s,u);for(n=new(void 0===r?Jd:r)($d(u-s,0)),i=0;s<u;s++,i++)s in o&&Vd(n,i,o[s]);return n.length=i,n}});var Qd=hh("Array","slice"),tv=at,ev=Qd,rv=Array.prototype,nv=function(t){var e=t.slice;return t===rv||tv(rv,t)&&e===rv.slice?ev:e},iv=nv,ov=e(iv),av=e(id);function sv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function uv(t,e){var r;if(t){if("string"==typeof t)return sv(t,e);var n=ov(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?av(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sv(t,e):void 0}}function cv(t,e){return function(t){if(Sd(t))return t}(t)||function(t,e){var r=null==t?null:void 0!==ol&&sd(t)||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(Fd(s).call(s,n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(t,e)||uv(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lv(t){return function(t){if(Sd(t))return sv(t)}(t)||function(t){if(void 0!==ol&&null!=sd(t)||null!=t["@@iterator"])return av(t)}(t)||uv(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var hv=e(Mc),fv=e(nv),pv=ot,dv=Fi,vv=Qi,yv=er,mv=v([].concat),gv=pv("Reflect","ownKeys")||function(t){var e=dv.f(yv(t)),r=vv.f;return r?mv(e,r(t)):e};Cr({target:"Reflect",stat:!0},{ownKeys:gv});var bv=e(tt.Reflect.ownKeys),wv=$o.map;Cr({target:"Array",proto:!0,forced:!On("map")},{map:function(t){return wv(this,t,arguments.length>1?arguments[1]:void 0)}});var _v=hh("Array","map"),xv=at,Sv=_v,Tv=Array.prototype,Ev=e((function(t){var e=t.map;return t===Tv||xv(Tv,t)&&e===Tv.map?Sv:e})),kv=qt,Cv=fi;Cr({target:"Object",stat:!0,forced:i((function(){Cv(1)}))},{keys:function(t){return Cv(kv(t))}});var Ov=e(tt.Object.keys),Lv=v,Av=At,Pv=Q,Mv=Jt,Dv=Ts,Rv=o,Iv=Function,jv=Lv([].concat),zv=Lv([].join),Fv={},Nv=Rv?Iv.bind:function(t){var e=Av(this),r=e.prototype,n=Dv(arguments,1),i=function(){var r=jv(n,Dv(arguments));return this instanceof i?function(t,e,r){if(!Mv(Fv,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";Fv[e]=Iv("C,a","return new C("+zv(n,",")+")")}return Fv[e](t,r)}(e,r.length,r):e.apply(t,r)};return Pv(r)&&(i.prototype=r),i},Bv=Nv;Cr({target:"Function",proto:!0,forced:Function.bind!==Bv},{bind:Bv});var Wv=hh("Function","bind"),Yv=at,Gv=Wv,Uv=Function.prototype,Xv=function(t){var e=t.bind;return t===Uv||Yv(Uv,t)&&e===Uv.bind?Gv:e},Vv=e(Xv),Zv=Cr,qv=Lr,Hv=v([].reverse),Kv=[1,2];Zv({target:"Array",proto:!0,forced:String(Kv)===String(Kv.reverse())},{reverse:function(){return qv(this)&&(this.length=this.length),Hv(this)}});var Jv=hh("Array","reverse"),$v=at,Qv=Jv,ty=Array.prototype,ey=function(t){var e=t.reverse;return t===ty||$v(ty,t)&&e===ty.reverse?Qv:e},ry=e(ey),ny=Cr,iy=qt,oy=Kn,ay=Dr,sy=zr,uy=Od,cy=Nr,ly=Tn,hy=Gr,fy=Ol,py=On("splice"),dy=Math.max,vy=Math.min;ny({target:"Array",proto:!0,forced:!py},{splice:function(t,e){var r,n,i,o,a,s,u=iy(this),c=sy(u),l=oy(t,c),h=arguments.length;for(0===h?r=n=0:1===h?(r=0,n=c-l):(r=h-2,n=vy(dy(ay(e),0),c-l)),cy(c+r-n),i=ly(u,n),o=0;o<n;o++)(a=l+o)in u&&hy(i,o,u[a]);if(i.length=n,r<n){for(o=l;o<c-n;o++)s=o+r,(a=o+n)in u?u[s]=u[a]:fy(u,s);for(o=c;o>c-n+r;o--)fy(u,o-1)}else if(r>n)for(o=c-n;o>l;o--)s=o+r-1,(a=o+n-1)in u?u[s]=u[a]:fy(u,s);for(o=0;o<r;o++)u[o+l]=arguments[o+2];return uy(u,c-n+r),i}});var yy=hh("Array","splice"),my=at,gy=yy,by=Array.prototype,wy=e((function(t){var e=t.splice;return t===by||my(by,t)&&e===by.splice?gy:e})),_y=qt,xy=Eu,Sy=mu;Cr({target:"Object",stat:!0,forced:i((function(){xy(1)})),sham:!Sy},{getPrototypeOf:function(t){return xy(_y(t))}});var Ty=tt.Object.getPrototypeOf,Ey=e(Ty),ky=n,Cy=i,Oy=v,Ly=Xn,Ay=Wh.trim,Py=Dh,My=ky.parseInt,Dy=ky.Symbol,Ry=Dy&&Dy.iterator,Iy=/^[+-]?0x/i,jy=Oy(Iy.exec),zy=8!==My(Py+"08")||22!==My(Py+"0x16")||Ry&&!Cy((function(){My(Object(Ry))}))?function(t,e){var r=Ay(Ly(t));return My(r,e>>>0||(jy(Iy,r)?16:10))}:My;Cr({global:!0,forced:parseInt!==zy},{parseInt:zy});var Fy=e(tt.parseInt);Cr({target:"Object",stat:!0,sham:!O},{create:zi});var Ny=tt.Object,By=function(t,e){return Ny.create(t,e)},Wy=e(By),Yy=tt,Gy=l;Yy.JSON||(Yy.JSON={stringify:JSON.stringify});var Uy=e((function(t,e,r){return Gy(Yy.JSON.stringify,null,arguments)}));
/*! Hammer.JS - v2.0.17-rc - 2019-12-16
* http://naver.github.io/egjs
*
* Forked By Naver egjs
* Copyright (c) hammerjs
* Licensed under the MIT license */
function Xy(){return Xy=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Xy.apply(this,arguments)}function Vy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Zy(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var qy,Hy="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}return e}:Object.assign,Ky=["","webkit","Moz","MS","ms","o"],Jy="undefined"==typeof document?{style:{}}:document.createElement("div"),$y=Math.round,Qy=Math.abs,tm=Date.now;function em(t,e){for(var r,n,i=e[0].toUpperCase()+e.slice(1),o=0;o<Ky.length;){if((n=(r=Ky[o])?r+i:e)in t)return n;o++}}qy="undefined"==typeof window?{}:window;var rm=em(Jy.style,"touchAction"),nm=void 0!==rm;var im="compute",om="auto",am="manipulation",sm="none",um="pan-x",cm="pan-y",lm=function(){if(!nm)return!1;var t={},e=qy.CSS&&qy.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(r){return t[r]=!e||qy.CSS.supports("touch-action",r)})),t}(),hm="ontouchstart"in qy,fm=void 0!==em(qy,"PointerEvent"),pm=hm&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),dm="touch",vm="mouse",ym=25,mm=1,gm=4,bm=8,wm=1,_m=2,xm=4,Sm=8,Tm=16,Em=_m|xm,km=Sm|Tm,Cm=Em|km,Om=["x","y"],Lm=["clientX","clientY"];function Am(t,e,r){var n;if(t)if(t.forEach)t.forEach(e,r);else if(void 0!==t.length)for(n=0;n<t.length;)e.call(r,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(r,t[n],n,t)}function Pm(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function Mm(t,e){return t.indexOf(e)>-1}var Dm=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===im&&(t=this.compute()),nm&&this.manager.element.style&&lm[t]&&(this.manager.element.style[rm]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return Am(this.manager.recognizers,(function(e){Pm(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(Mm(t,sm))return sm;var e=Mm(t,um),r=Mm(t,cm);return e&&r?sm:e||r?e?um:cm:Mm(t,am)?am:om}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,r=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,i=Mm(n,sm)&&!lm[sm],o=Mm(n,cm)&&!lm[cm],a=Mm(n,um)&&!lm[um];if(i){var s=1===t.pointers.length,u=t.distance<2,c=t.deltaTime<250;if(s&&u&&c)return}if(!a||!o)return i||o&&r&Em||a&&r&km?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function Rm(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function Im(t){var e=t.length;if(1===e)return{x:$y(t[0].clientX),y:$y(t[0].clientY)};for(var r=0,n=0,i=0;i<e;)r+=t[i].clientX,n+=t[i].clientY,i++;return{x:$y(r/e),y:$y(n/e)}}function jm(t){for(var e=[],r=0;r<t.pointers.length;)e[r]={clientX:$y(t.pointers[r].clientX),clientY:$y(t.pointers[r].clientY)},r++;return{timeStamp:tm(),pointers:e,center:Im(e),deltaX:t.deltaX,deltaY:t.deltaY}}function zm(t,e,r){r||(r=Om);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return Math.sqrt(n*n+i*i)}function Fm(t,e,r){r||(r=Om);var n=e[r[0]]-t[r[0]],i=e[r[1]]-t[r[1]];return 180*Math.atan2(i,n)/Math.PI}function Nm(t,e){return t===e?wm:Qy(t)>=Qy(e)?t<0?_m:xm:e<0?Sm:Tm}function Bm(t,e,r){return{x:e/t||0,y:r/t||0}}function Wm(t,e){var r=t.session,n=e.pointers,i=n.length;r.firstInput||(r.firstInput=jm(e)),i>1&&!r.firstMultiple?r.firstMultiple=jm(e):1===i&&(r.firstMultiple=!1);var o=r.firstInput,a=r.firstMultiple,s=a?a.center:o.center,u=e.center=Im(n);e.timeStamp=tm(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=Fm(s,u),e.distance=zm(s,u),function(t,e){var r=e.center,n=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==mm&&o.eventType!==gm||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:r.x,y:r.y}),e.deltaX=i.x+(r.x-n.x),e.deltaY=i.y+(r.y-n.y)}(r,e),e.offsetDirection=Nm(e.deltaX,e.deltaY);var c,l,h=Bm(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=Qy(h.x)>Qy(h.y)?h.x:h.y,e.scale=a?(c=a.pointers,zm((l=n)[0],l[1],Lm)/zm(c[0],c[1],Lm)):1,e.rotation=a?function(t,e){return Fm(e[1],e[0],Lm)+Fm(t[1],t[0],Lm)}(a.pointers,n):0,e.maxPointers=r.prevInput?e.pointers.length>r.prevInput.maxPointers?e.pointers.length:r.prevInput.maxPointers:e.pointers.length,function(t,e){var r,n,i,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(e.eventType!==bm&&(s>ym||void 0===a.velocity)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,l=Bm(s,u,c);n=l.x,i=l.y,r=Qy(l.x)>Qy(l.y)?l.x:l.y,o=Nm(u,c),t.lastInterval=e}else r=a.velocity,n=a.velocityX,i=a.velocityY,o=a.direction;e.velocity=r,e.velocityX=n,e.velocityY=i,e.direction=o}(r,e);var f,p=t.element,d=e.srcEvent;Rm(f=d.composedPath?d.composedPath()[0]:d.path?d.path[0]:d.target,p)&&(p=f),e.target=p}function Ym(t,e,r){var n=r.pointers.length,i=r.changedPointers.length,o=e&mm&&n-i==0,a=e&(gm|bm)&&n-i==0;r.isFirst=!!o,r.isFinal=!!a,o&&(t.session={}),r.eventType=e,Wm(t,r),t.emit("hammer.input",r),t.recognize(r),t.session.prevInput=r}function Gm(t){return t.trim().split(/\s+/g)}function Um(t,e,r){Am(Gm(e),(function(e){t.addEventListener(e,r,!1)}))}function Xm(t,e,r){Am(Gm(e),(function(e){t.removeEventListener(e,r,!1)}))}function Vm(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var Zm=function(){function t(t,e){var r=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){Pm(t.options.enable,[t])&&r.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&Um(this.element,this.evEl,this.domHandler),this.evTarget&&Um(this.target,this.evTarget,this.domHandler),this.evWin&&Um(Vm(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&Xm(this.element,this.evEl,this.domHandler),this.evTarget&&Xm(this.target,this.evTarget,this.domHandler),this.evWin&&Xm(Vm(this.element),this.evWin,this.domHandler)},t}();function qm(t,e,r){if(t.indexOf&&!r)return t.indexOf(e);for(var n=0;n<t.length;){if(r&&t[n][r]==e||!r&&t[n]===e)return n;n++}return-1}var Hm={pointerdown:mm,pointermove:2,pointerup:gm,pointercancel:bm,pointerout:bm},Km={2:dm,3:"pen",4:vm,5:"kinect"},Jm="pointerdown",$m="pointermove pointerup pointercancel";qy.MSPointerEvent&&!qy.PointerEvent&&(Jm="MSPointerDown",$m="MSPointerMove MSPointerUp MSPointerCancel");var Qm=function(t){function e(){var r,n=e.prototype;return n.evEl=Jm,n.evWin=$m,(r=t.apply(this,arguments)||this).store=r.manager.session.pointerEvents=[],r}return Vy(e,t),e.prototype.handler=function(t){var e=this.store,r=!1,n=t.type.toLowerCase().replace("ms",""),i=Hm[n],o=Km[t.pointerType]||t.pointerType,a=o===dm,s=qm(e,t.pointerId,"pointerId");i&mm&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):i&(gm|bm)&&(r=!0),s<0||(e[s]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),r&&e.splice(s,1))},e}(Zm);function tg(t){return Array.prototype.slice.call(t,0)}function eg(t,e,r){for(var n=[],i=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];qm(i,a)<0&&n.push(t[o]),i[o]=a,o++}return r&&(n=e?n.sort((function(t,r){return t[e]>r[e]})):n.sort()),n}var rg={touchstart:mm,touchmove:2,touchend:gm,touchcancel:bm},ng=function(t){function e(){var r;return e.prototype.evTarget="touchstart touchmove touchend touchcancel",(r=t.apply(this,arguments)||this).targetIds={},r}return Vy(e,t),e.prototype.handler=function(t){var e=rg[t.type],r=ig.call(this,t,e);r&&this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:dm,srcEvent:t})},e}(Zm);function ig(t,e){var r,n,i=tg(t.touches),o=this.targetIds;if(e&(2|mm)&&1===i.length)return o[i[0].identifier]=!0,[i,i];var a=tg(t.changedTouches),s=[],u=this.target;if(n=i.filter((function(t){return Rm(t.target,u)})),e===mm)for(r=0;r<n.length;)o[n[r].identifier]=!0,r++;for(r=0;r<a.length;)o[a[r].identifier]&&s.push(a[r]),e&(gm|bm)&&delete o[a[r].identifier],r++;return s.length?[eg(n.concat(s),"identifier",!0),s]:void 0}var og={mousedown:mm,mousemove:2,mouseup:gm},ag=function(t){function e(){var r,n=e.prototype;return n.evEl="mousedown",n.evWin="mousemove mouseup",(r=t.apply(this,arguments)||this).pressed=!1,r}return Vy(e,t),e.prototype.handler=function(t){var e=og[t.type];e&mm&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=gm),this.pressed&&(e&gm&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:vm,srcEvent:t}))},e}(Zm),sg=2500;function ug(t)