UNPKG

vis-graph3d

Version:

Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.

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