UNPKG

vis-data

Version:

Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.

33 lines 107 kB
/** * vis-data * http://visjs.org/ * * Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data. * * @version 8.0.1 * @date 2025-07-13T02:52:37.151Z * * @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 r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e,n,i,o,u,a,s,c,f,l,h,p,v,d,y,g,m={exports:{}},b={};function _(){if(n)return e;n=1;var r=function(t){return t&&t.Math===Math&&t};return e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}function w(){return o?i:(o=1,i=function(t){try{return!!t()}catch(t){return!0}})}function S(){return a?u:(a=1,u=!w()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function O(){if(c)return s;c=1;var t=S(),r=Function.prototype,e=r.apply,n=r.call;return s="object"==typeof Reflect&&Reflect.apply||(t?n.bind(e):function(){return n.apply(e,arguments)}),s}function T(){if(l)return f;l=1;var t=S(),r=Function.prototype,e=r.call,n=t&&r.bind.bind(e,e);return f=t?n:function(t){return function(){return e.apply(t,arguments)}},f}function E(){if(p)return h;p=1;var t=T(),r=t({}.toString),e=t("".slice);return h=function(t){return e(r(t),8,-1)}}function A(){if(d)return v;d=1;var t=E(),r=T();return v=function(e){if("Function"===t(e))return r(e)}}function I(){if(g)return y;g=1;var t="object"==typeof document&&document.all;return y=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}var P,j,D,x,k={};function C(){return j?P:(j=1,P=!w()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function M(){if(x)return D;x=1;var t=S(),r=Function.prototype.call;return D=t?r.bind(r):function(){return r.apply(r,arguments)},D}var L,N,R,F,z,q,U,W,Y,X,B,V,G,H,K,J,Q,Z,$,tt,rt,et,nt,it,ot,ut,at,st,ct,ft,lt,ht,pt,vt,dt,yt,gt,mt={};function bt(){if(L)return mt;L=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,e=r&&!t.call({1:2},1);return mt.f=e?function(t){var e=r(this,t);return!!e&&e.enumerable}:t,mt}function _t(){return R?N:(R=1,N=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function wt(){if(z)return F;z=1;var t=T(),r=w(),e=E(),n=Object,i=t("".split);return F=r(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===e(t)?i(t,""):n(t)}:n}function St(){return U?q:(U=1,q=function(t){return null==t})}function Ot(){if(Y)return W;Y=1;var t=St(),r=TypeError;return W=function(e){if(t(e))throw new r("Can't call method on "+e);return e}}function Tt(){if(B)return X;B=1;var t=wt(),r=Ot();return X=function(e){return t(r(e))}}function Et(){if(G)return V;G=1;var t=I();return V=function(r){return"object"==typeof r?null!==r:t(r)}}function At(){return K?H:(K=1,H={})}function It(){if(Q)return J;Q=1;var t=At(),r=_(),e=I(),n=function(t){return e(t)?t:void 0};return J=function(e,i){return arguments.length<2?n(t[e])||n(r[e]):t[e]&&t[e][i]||r[e]&&r[e][i]},J}function Pt(){return $?Z:($=1,Z=T()({}.isPrototypeOf))}function jt(){if(rt)return tt;rt=1;var t=_().navigator,r=t&&t.userAgent;return tt=r?String(r):""}function Dt(){if(nt)return et;nt=1;var t,r,e=_(),n=jt(),i=e.process,o=e.Deno,u=i&&i.versions||o&&o.version,a=u&&u.v8;return a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(r=+t[1]),et=r}function xt(){if(ot)return it;ot=1;var t=Dt(),r=w(),e=_().String;return it=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!e(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}),it}function kt(){return at?ut:(at=1,ut=xt()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Ct(){if(ct)return st;ct=1;var t=It(),r=I(),e=Pt(),n=Object;return st=kt()?function(t){return"symbol"==typeof t}:function(i){var o=t("Symbol");return r(o)&&e(o.prototype,n(i))}}function Mt(){if(lt)return ft;lt=1;var t=String;return ft=function(r){try{return t(r)}catch(t){return"Object"}}}function Lt(){if(pt)return ht;pt=1;var t=I(),r=Mt(),e=TypeError;return ht=function(n){if(t(n))return n;throw new e(r(n)+" is not a function")}}function Nt(){if(dt)return vt;dt=1;var t=Lt(),r=St();return vt=function(e,n){var i=e[n];return r(i)?void 0:t(i)}}function Rt(){if(gt)return yt;gt=1;var t=M(),r=I(),e=Et(),n=TypeError;return yt=function(i,o){var u,a;if("string"===o&&r(u=i.toString)&&!e(a=t(u,i)))return a;if(r(u=i.valueOf)&&!e(a=t(u,i)))return a;if("string"!==o&&r(u=i.toString)&&!e(a=t(u,i)))return a;throw new n("Can't convert object to primitive value")}}var Ft,zt,qt,Ut,Wt,Yt,Xt,Bt,Vt,Gt,Ht,Kt,Jt,Qt,Zt,$t,tr,rr,er,nr,ir,or,ur,ar,sr,cr,fr,lr,hr={exports:{}};function pr(){return zt?Ft:(zt=1,Ft=!0)}function vr(){if(Ut)return qt;Ut=1;var t=_(),r=Object.defineProperty;return qt=function(e,n){try{r(t,e,{value:n,configurable:!0,writable:!0})}catch(r){t[e]=n}return n}}function dr(){if(Wt)return hr.exports;Wt=1;var t=pr(),r=_(),e=vr(),n="__core-js_shared__",i=hr.exports=r[n]||e(n,{});return(i.versions||(i.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),hr.exports}function yr(){if(Xt)return Yt;Xt=1;var t=dr();return Yt=function(r,e){return t[r]||(t[r]=e||{})}}function gr(){if(Vt)return Bt;Vt=1;var t=Ot(),r=Object;return Bt=function(e){return r(t(e))}}function mr(){if(Ht)return Gt;Ht=1;var t=T(),r=gr(),e=t({}.hasOwnProperty);return Gt=Object.hasOwn||function(t,n){return e(r(t),n)}}function br(){if(Jt)return Kt;Jt=1;var t=T(),r=0,e=Math.random(),n=t(1.1.toString);return Kt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++r+e,36)}}function _r(){if(Zt)return Qt;Zt=1;var t=_(),r=yr(),e=mr(),n=br(),i=xt(),o=kt(),u=t.Symbol,a=r("wks"),s=o?u.for||u:u&&u.withoutSetter||n;return Qt=function(t){return e(a,t)||(a[t]=i&&e(u,t)?u[t]:s("Symbol."+t)),a[t]}}function wr(){if(tr)return $t;tr=1;var t=M(),r=Et(),e=Ct(),n=Nt(),i=Rt(),o=TypeError,u=_r()("toPrimitive");return $t=function(a,s){if(!r(a)||e(a))return a;var c,f=n(a,u);if(f){if(void 0===s&&(s="default"),c=t(f,a,s),!r(c)||e(c))return c;throw new o("Can't convert object to primitive value")}return void 0===s&&(s="number"),i(a,s)}}function Sr(){if(er)return rr;er=1;var t=wr(),r=Ct();return rr=function(e){var n=t(e,"string");return r(n)?n:n+""}}function Or(){if(ir)return nr;ir=1;var t=_(),r=Et(),e=t.document,n=r(e)&&r(e.createElement);return nr=function(t){return n?e.createElement(t):{}}}function Tr(){if(ur)return or;ur=1;var t=C(),r=w(),e=Or();return or=!t&&!r(function(){return 7!==Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a})}function Er(){if(ar)return k;ar=1;var t=C(),r=M(),e=bt(),n=_t(),i=Tt(),o=Sr(),u=mr(),a=Tr(),s=Object.getOwnPropertyDescriptor;return k.f=t?s:function(t,c){if(t=i(t),c=o(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!r(e.f,t,c),t[c])},k}function Ar(){if(cr)return sr;cr=1;var t=w(),r=I(),e=/#|\.prototype\./,n=function(e,n){var s=o[i(e)];return s===a||s!==u&&(r(n)?t(n):!!n)},i=n.normalize=function(t){return String(t).replace(e,".").toLowerCase()},o=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return sr=n}function Ir(){if(lr)return fr;lr=1;var t=A(),r=Lt(),e=S(),n=t(t.bind);return fr=function(t,i){return r(t),void 0===i?t:e?n(t,i):function(){return t.apply(i,arguments)}},fr}var Pr,jr,Dr,xr,kr,Cr,Mr,Lr,Nr,Rr,Fr,zr,qr,Ur,Wr,Yr,Xr,Br,Vr,Gr={};function Hr(){return jr?Pr:(jr=1,Pr=C()&&w()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function Kr(){if(xr)return Dr;xr=1;var t=Et(),r=String,e=TypeError;return Dr=function(n){if(t(n))return n;throw new e(r(n)+" is not an object")}}function Jr(){if(kr)return Gr;kr=1;var t=C(),r=Tr(),e=Hr(),n=Kr(),i=Sr(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",f="writable";return Gr.f=t?e?function(t,r,e){if(n(t),r=i(r),n(e),"function"==typeof t&&"prototype"===r&&"value"in e&&f in e&&!e[f]){var o=a(t,r);o&&o[f]&&(t[r]=e.value,e={configurable:c in e?e[c]:o[c],enumerable:s in e?e[s]:o[s],writable:!1})}return u(t,r,e)}:u:function(t,e,a){if(n(t),e=i(e),n(a),r)try{return u(t,e,a)}catch(t){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(t[e]=a.value),t},Gr}function Qr(){if(Mr)return Cr;Mr=1;var t=C(),r=Jr(),e=_t();return Cr=t?function(t,n,i){return r.f(t,n,e(1,i))}:function(t,r,e){return t[r]=e,t}}function Zr(){if(Nr)return Lr;Nr=1;var t=_(),r=O(),e=A(),n=I(),i=Er().f,o=Ar(),u=At(),a=Ir(),s=Qr(),c=mr(),f=function(t){var e=function(n,i,o){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,o)}return r(t,this,arguments)};return e.prototype=t.prototype,e};return Lr=function(r,l){var h,p,v,d,y,g,m,b,_,w=r.target,S=r.global,O=r.stat,T=r.proto,E=S?t:O?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],I=A.prototype;for(d in l)p=!(h=o(S?d:w+(O?".":"#")+d,r.forced))&&E&&c(E,d),g=A[d],p&&(m=r.dontCallGetSet?(_=i(E,d))&&_.value:E[d]),y=p&&m?m:l[d],(h||T||typeof g!=typeof y)&&(b=r.bind&&p?a(y,t):r.wrap&&p?f(y):T&&n(y)?e(y):y,(r.sham||y&&y.sham||g&&g.sham)&&s(b,"sham",!0),s(A,d,b),T&&(c(u,v=w+"Prototype")||s(u,v,{}),s(u[v],d,y),r.real&&I&&(h||!I[d])&&s(I,d,y)))}}function $r(){if(Rr)return b;Rr=1;var t=Zr(),r=C(),e=Jr().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!r},{defineProperty:e}),b}function te(){if(Fr)return m.exports;Fr=1,$r();var t=At().Object,r=m.exports=function(r,e,n){return t.defineProperty(r,e,n)};return t.defineProperty.sham&&(r.sham=!0),m.exports}function re(){return qr?zr:(qr=1,zr=te())}function ee(){return Wr?Ur:(Wr=1,Ur=re())}function ne(){return Xr?Yr:(Xr=1,Yr=ee())}function ie(){return Vr?Br:(Vr=1,Br=ne())}var oe,ue,ae,se,ce,fe,le,he,pe,ve,de,ye,ge,me,be,_e,we,Se,Oe,Te,Ee,Ae,Ie,Pe,je,De,xe,ke,Ce,Me=r(ie()),Le={};function Ne(){if(ue)return oe;ue=1;var t=E();return oe=Array.isArray||function(r){return"Array"===t(r)}}function Re(){if(se)return ae;se=1;var t=Math.ceil,r=Math.floor;return ae=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}}function Fe(){if(fe)return ce;fe=1;var t=Re();return ce=function(r){var e=+r;return e!=e||0===e?0:t(e)}}function ze(){if(he)return le;he=1;var t=Fe(),r=Math.min;return le=function(e){var n=t(e);return n>0?r(n,9007199254740991):0}}function qe(){if(ve)return pe;ve=1;var t=ze();return pe=function(r){return t(r.length)}}function Ue(){if(ye)return de;ye=1;var t=TypeError;return de=function(r){if(r>9007199254740991)throw t("Maximum allowed index exceeded");return r}}function We(){if(me)return ge;me=1;var t=C(),r=Jr(),e=_t();return ge=function(n,i,o){t?r.f(n,i,e(0,o)):n[i]=o}}function Ye(){if(_e)return be;_e=1;var t={};return t[_r()("toStringTag")]="z",be="[object z]"===String(t)}function Xe(){if(Se)return we;Se=1;var t=Ye(),r=I(),e=E(),n=_r()("toStringTag"),i=Object,o="Arguments"===e(function(){return arguments}());return we=t?e:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,r){try{return t[r]}catch(t){}}(u=i(t),n))?a:o?e(u):"Object"===(s=e(u))&&r(u.callee)?"Arguments":s}}function Be(){if(Te)return Oe;Te=1;var t=T(),r=I(),e=dr(),n=t(Function.toString);return r(e.inspectSource)||(e.inspectSource=function(t){return n(t)}),Oe=e.inspectSource}function Ve(){if(Ae)return Ee;Ae=1;var t=T(),r=w(),e=I(),n=Xe(),i=It(),o=Be(),u=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),f=!s.test(u),l=function(t){if(!e(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},h=function(t){if(!e(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!c(s,o(t))}catch(t){return!0}};return h.sham=!0,Ee=!a||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?h:l}function Ge(){if(Pe)return Ie;Pe=1;var t=Ne(),r=Ve(),e=Et(),n=_r()("species"),i=Array;return Ie=function(o){var u;return t(o)&&(u=o.constructor,(r(u)&&(u===i||t(u.prototype))||e(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?i:u}}function He(){if(De)return je;De=1;var t=Ge();return je=function(r,e){return new(t(r))(0===e?0:e)}}function Ke(){if(ke)return xe;ke=1;var t=w(),r=_r(),e=Dt(),n=r("species");return xe=function(r){return e>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}function Je(){if(Ce)return Le;Ce=1;var t=Zr(),r=w(),e=Ne(),n=Et(),i=gr(),o=qe(),u=Ue(),a=We(),s=He(),c=Ke(),f=_r(),l=Dt(),h=f("isConcatSpreadable"),p=l>=51||!r(function(){var t=[];return t[h]=!1,t.concat()[0]!==t}),v=function(t){if(!n(t))return!1;var r=t[h];return void 0!==r?!!r:e(t)};return t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var r,e,n,c,f,l=i(this),h=s(l,0),p=0;for(r=-1,n=arguments.length;r<n;r++)if(v(f=-1===r?l:arguments[r]))for(c=o(f),u(p+c),e=0;e<c;e++,p++)e in f&&a(h,p,f[e]);else u(p+1),a(h,p++,f);return h.length=p,h}}),Le}var Qe,Ze,$e={},tn={};function rn(){if(Ze)return Qe;Ze=1;var t=Xe(),r=String;return Qe=function(e){if("Symbol"===t(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}}var en,nn,on,un,an,sn,cn,fn,ln,hn,pn,vn,dn,yn,gn,mn,bn,_n,wn,Sn={};function On(){if(nn)return en;nn=1;var t=Fe(),r=Math.max,e=Math.min;return en=function(n,i){var o=t(n);return o<0?r(o+i,0):e(o,i)}}function Tn(){if(un)return on;un=1;var t=Tt(),r=On(),e=qe(),n=function(n){return function(i,o,u){var a=t(i),s=e(a);if(0===s)return!n&&-1;var c,f=r(u,s);if(n&&o!=o){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((n||f in a)&&a[f]===o)return n||f||0;return!n&&-1}};return on={includes:n(!0),indexOf:n(!1)}}function En(){return sn?an:(sn=1,an={})}function An(){if(fn)return cn;fn=1;var t=T(),r=mr(),e=Tt(),n=Tn().indexOf,i=En(),o=t([].push);return cn=function(t,u){var a,s=e(t),c=0,f=[];for(a in s)!r(i,a)&&r(s,a)&&o(f,a);for(;u.length>c;)r(s,a=u[c++])&&(~n(f,a)||o(f,a));return f}}function In(){return hn?ln:(hn=1,ln=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Pn(){if(vn)return pn;vn=1;var t=An(),r=In();return pn=Object.keys||function(e){return t(e,r)}}function jn(){if(dn)return Sn;dn=1;var t=C(),r=Hr(),e=Jr(),n=Kr(),i=Tt(),o=Pn();return Sn.f=t&&!r?Object.defineProperties:function(t,r){n(t);for(var u,a=i(r),s=o(r),c=s.length,f=0;c>f;)e.f(t,u=s[f++],a[u]);return t},Sn}function Dn(){return gn?yn:(gn=1,yn=It()("document","documentElement"))}function xn(){if(bn)return mn;bn=1;var t=yr(),r=br(),e=t("keys");return mn=function(t){return e[t]||(e[t]=r(t))}}function kn(){if(wn)return _n;wn=1;var t,r=Kr(),e=jn(),n=In(),i=En(),o=Dn(),u=Or(),a="prototype",s="script",c=xn()("IE_PROTO"),f=function(){},l=function(t){return"<"+s+">"+t+"</"+s+">"},h=function(t){t.write(l("")),t.close();var r=t.parentWindow.Object;return t=null,r},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var r,e,i;p="undefined"!=typeof document?document.domain&&t?h(t):(e=u("iframe"),i="java"+s+":",e.style.display="none",o.appendChild(e),e.src=String(i),(r=e.contentWindow.document).open(),r.write(l("document.F=Object")),r.close(),r.F):h(t);for(var c=n.length;c--;)delete p[a][n[c]];return p()};return i[c]=!0,_n=Object.create||function(t,n){var i;return null!==t?(f[a]=r(t),i=new f,f[a]=null,i[c]=t):i=p(),void 0===n?i:e.f(i,n)}}var Cn,Mn={};function Ln(){if(Cn)return Mn;Cn=1;var t=An(),r=In().concat("length","prototype");return Mn.f=Object.getOwnPropertyNames||function(e){return t(e,r)},Mn}var Nn,Rn,Fn,zn={};function qn(){return Rn?Nn:(Rn=1,Nn=T()([].slice))}function Un(){if(Fn)return zn;Fn=1;var t=E(),r=Tt(),e=Ln().f,n=qn(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return zn.f=function(o){return i&&"Window"===t(o)?function(t){try{return e(t)}catch(t){return n(i)}}(o):e(r(o))},zn}var Wn,Yn,Xn,Bn,Vn,Gn={};function Hn(){return Wn||(Wn=1,Gn.f=Object.getOwnPropertySymbols),Gn}function Kn(){if(Xn)return Yn;Xn=1;var t=Qr();return Yn=function(r,e,n,i){return i&&i.enumerable?r[e]=n:t(r,e,n),r}}function Jn(){if(Vn)return Bn;Vn=1;var t=Jr();return Bn=function(r,e,n){return t.f(r,e,n)}}var Qn,Zn,$n,ti,ri,ei,ni,ii,oi,ui,ai,si,ci,fi,li,hi,pi={};function vi(){if(Qn)return pi;Qn=1;var t=_r();return pi.f=t,pi}function di(){if($n)return Zn;$n=1;var t=At(),r=mr(),e=vi(),n=Jr().f;return Zn=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||n(o,i,{value:e.f(i)})}}function yi(){if(ri)return ti;ri=1;var t=M(),r=It(),e=_r(),n=Kn();return ti=function(){var i=r("Symbol"),o=i&&i.prototype,u=o&&o.valueOf,a=e("toPrimitive");o&&!o[a]&&n(o,a,function(r){return t(u,this)},{arity:1})}}function gi(){if(ni)return ei;ni=1;var t=Ye(),r=Xe();return ei=t?{}.toString:function(){return"[object "+r(this)+"]"}}function mi(){if(oi)return ii;oi=1;var t=Ye(),r=Jr().f,e=Qr(),n=mr(),i=gi(),o=_r()("toStringTag");return ii=function(u,a,s,c){var f=s?u:u&&u.prototype;f&&(n(f,o)||r(f,o,{configurable:!0,value:a}),c&&!t&&e(f,"toString",i))}}function bi(){if(ai)return ui;ai=1;var t=_(),r=I(),e=t.WeakMap;return ui=r(e)&&/native code/.test(String(e))}function _i(){if(ci)return si;ci=1;var t,r,e,n=bi(),i=_(),o=Et(),u=Qr(),a=mr(),s=dr(),c=xn(),f=En(),l="Object already initialized",h=i.TypeError,p=i.WeakMap;if(n||s.state){var v=s.state||(s.state=new p);v.get=v.get,v.has=v.has,v.set=v.set,t=function(t,r){if(v.has(t))throw new h(l);return r.facade=t,v.set(t,r),r},r=function(t){return v.get(t)||{}},e=function(t){return v.has(t)}}else{var d=c("state");f[d]=!0,t=function(t,r){if(a(t,d))throw new h(l);return r.facade=t,u(t,d,r),r},r=function(t){return a(t,d)?t[d]:{}},e=function(t){return a(t,d)}}return si={set:t,get:r,has:e,enforce:function(n){return e(n)?r(n):t(n,{})},getterFor:function(t){return function(e){var n;if(!o(e)||(n=r(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}}function wi(){if(li)return fi;li=1;var t=Ir(),r=T(),e=wt(),n=gr(),i=qe(),o=He(),u=r([].push),a=function(r){var a=1===r,s=2===r,c=3===r,f=4===r,l=6===r,h=7===r,p=5===r||l;return function(v,d,y,g){for(var m,b,_=n(v),w=e(_),S=i(w),O=t(d,y),T=0,E=g||o,A=a?E(v,S):s||h?E(v,0):void 0;S>T;T++)if((p||T in w)&&(b=O(m=w[T],T,_),r))if(a)A[T]=b;else if(b)switch(r){case 3:return!0;case 5:return m;case 6:return T;case 2:u(A,m)}else switch(r){case 4:return!1;case 7:u(A,m)}return l?-1:c||f?f:A}};return fi={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}var Si,Oi,Ti,Ei={};function Ai(){return Oi?Si:(Oi=1,Si=xt()&&!!Symbol.for&&!!Symbol.keyFor)}var Ii,Pi={};var ji,Di,xi,ki={};function Ci(){if(Di)return ji;Di=1;var t=T(),r=Ne(),e=I(),n=E(),i=rn(),o=t([].push);return ji=function(t){if(e(t))return t;if(r(t)){for(var u=t.length,a=[],s=0;s<u;s++){var c=t[s];"string"==typeof c?o(a,c):"number"!=typeof c&&"Number"!==n(c)&&"String"!==n(c)||o(a,i(c))}var f=a.length,l=!0;return function(t,e){if(l)return l=!1,e;if(r(this))return e;for(var n=0;n<f;n++)if(a[n]===t)return e}}},ji}function Mi(){if(xi)return ki;xi=1;var t=Zr(),r=It(),e=O(),n=M(),i=T(),o=w(),u=I(),a=Ct(),s=qn(),c=Ci(),f=xt(),l=String,h=r("JSON","stringify"),p=i(/./.exec),v=i("".charAt),d=i("".charCodeAt),y=i("".replace),g=i(1.1.toString),m=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,S=!f||o(function(){var t=r("Symbol")("stringify detection");return"[null]"!==h([t])||"{}"!==h({a:t})||"{}"!==h(Object(t))}),E=o(function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")}),A=function(t,r){var i=s(arguments),o=c(r);if(u(o)||void 0!==t&&!a(t))return i[1]=function(t,r){if(u(o)&&(r=n(o,this,l(t),r)),!a(r))return r},e(h,null,i)},P=function(t,r,e){var n=v(e,r-1),i=v(e,r+1);return p(b,t)&&!p(_,i)||p(_,t)&&!p(b,n)?"\\u"+g(d(t,0),16):t};return h&&t({target:"JSON",stat:!0,arity:3,forced:S||E},{stringify:function(t,r,n){var i=s(arguments),o=e(S?A:h,null,i);return E&&"string"==typeof o?y(o,m,P):o}}),ki}var Li,Ni,Ri={};function Fi(){return Ni||(Ni=1,function(){if(hi)return tn;hi=1;var t=Zr(),r=_(),e=M(),n=T(),i=pr(),o=C(),u=xt(),a=w(),s=mr(),c=Pt(),f=Kr(),l=Tt(),h=Sr(),p=rn(),v=_t(),d=kn(),y=Pn(),g=Ln(),m=Un(),b=Hn(),S=Er(),O=Jr(),E=jn(),A=bt(),I=Kn(),P=Jn(),j=yr(),D=xn(),x=En(),k=br(),L=_r(),N=vi(),R=di(),F=yi(),z=mi(),q=_i(),U=wi().forEach,W=D("hidden"),Y="Symbol",X="prototype",B=q.set,V=q.getterFor(Y),G=Object[X],H=r.Symbol,K=H&&H[X],J=r.RangeError,Q=r.TypeError,Z=r.QObject,$=S.f,tt=O.f,rt=m.f,et=A.f,nt=n([].push),it=j("symbols"),ot=j("op-symbols"),ut=j("wks"),at=!Z||!Z[X]||!Z[X].findChild,st=function(t,r,e){var n=$(G,r);n&&delete G[r],tt(t,r,e),n&&t!==G&&tt(G,r,n)},ct=o&&a(function(){return 7!==d(tt({},"a",{get:function(){return tt(this,"a",{value:7}).a}})).a})?st:tt,ft=function(t,r){var e=it[t]=d(K);return B(e,{type:Y,tag:t,description:r}),o||(e.description=r),e},lt=function(t,r,e){t===G&&lt(ot,r,e),f(t);var n=h(r);return f(e),s(it,n)?(e.enumerable?(s(t,W)&&t[W][n]&&(t[W][n]=!1),e=d(e,{enumerable:v(0,!1)})):(s(t,W)||tt(t,W,v(1,d(null))),t[W][n]=!0),ct(t,n,e)):tt(t,n,e)},ht=function(t,r){f(t);var n=l(r),i=y(n).concat(yt(n));return U(i,function(r){o&&!e(pt,n,r)||lt(t,r,n[r])}),t},pt=function(t){var r=h(t),n=e(et,this,r);return!(this===G&&s(it,r)&&!s(ot,r))&&(!(n||!s(this,r)||!s(it,r)||s(this,W)&&this[W][r])||n)},vt=function(t,r){var e=l(t),n=h(r);if(e!==G||!s(it,n)||s(ot,n)){var i=$(e,n);return!i||!s(it,n)||s(e,W)&&e[W][n]||(i.enumerable=!0),i}},dt=function(t){var r=rt(l(t)),e=[];return U(r,function(t){s(it,t)||s(x,t)||nt(e,t)}),e},yt=function(t){var r=t===G,e=rt(r?ot:l(t)),n=[];return U(e,function(t){!s(it,t)||r&&!s(G,t)||nt(n,it[t])}),n};u||(H=function(){if(c(K,this))throw new Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,n=k(t),i=function(t){var o=void 0===this?r:this;o===G&&e(i,ot,t),s(o,W)&&s(o[W],n)&&(o[W][n]=!1);var u=v(1,t);try{ct(o,n,u)}catch(t){if(!(t instanceof J))throw t;st(o,n,u)}};return o&&at&&ct(G,n,{configurable:!0,set:i}),ft(n,t)},I(K=H[X],"toString",function(){return V(this).tag}),I(H,"withoutSetter",function(t){return ft(k(t),t)}),A.f=pt,O.f=lt,E.f=ht,S.f=vt,g.f=m.f=dt,b.f=yt,N.f=function(t){return ft(L(t),t)},o&&(P(K,"description",{configurable:!0,get:function(){return V(this).description}}),i||I(G,"propertyIsEnumerable",pt,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),U(y(ut),function(t){R(t)}),t({target:Y,stat:!0,forced:!u},{useSetter:function(){at=!0},useSimple:function(){at=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!o},{create:function(t,r){return void 0===r?d(t):ht(d(t),r)},defineProperty:lt,defineProperties:ht,getOwnPropertyDescriptor:vt}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:dt}),F(),z(H,Y),x[W]=!0}(),function(){if(Ti)return Ei;Ti=1;var t=Zr(),r=It(),e=mr(),n=rn(),i=yr(),o=Ai(),u=i("string-to-symbol-registry"),a=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{for:function(t){var i=n(t);if(e(u,i))return u[i];var o=r("Symbol")(i);return u[i]=o,a[o]=i,o}})}(),function(){if(Ii)return Pi;Ii=1;var t=Zr(),r=mr(),e=Ct(),n=Mt(),i=yr(),o=Ai(),u=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{keyFor:function(t){if(!e(t))throw new TypeError(n(t)+" is not a symbol");if(r(u,t))return u[t]}})}(),Mi(),function(){if(Li)return Ri;Li=1;var t=Zr(),r=xt(),e=w(),n=Hn(),i=gr();t({target:"Object",stat:!0,forced:!r||e(function(){n.f(1)})},{getOwnPropertySymbols:function(t){var r=n.f;return r?r(i(t)):[]}})}()),$e}var zi,qi={};function Ui(){return zi||(zi=1,di()("asyncDispose")),qi}var Wi;var Yi,Xi={};function Bi(){return Yi||(Yi=1,di()("dispose")),Xi}var Vi;var Gi;var Hi,Ki={};function Ji(){return Hi||(Hi=1,di()("iterator")),Ki}var Qi;var Zi;var $i;var to;var ro;var eo;var no,io={};function oo(){if(no)return io;no=1;var t=di(),r=yi();return t("toPrimitive"),r(),io}var uo,ao={};var so;var co,fo,lo,ho={};function po(){return lo?fo:(lo=1,Je(),Fi(),Ui(),Wi||(Wi=1,di()("asyncIterator")),Bi(),Vi||(Vi=1,di()("hasInstance")),Gi||(Gi=1,di()("isConcatSpreadable")),Ji(),Qi||(Qi=1,di()("match")),Zi||(Zi=1,di()("matchAll")),$i||($i=1,di()("replace")),to||(to=1,di()("search")),ro||(ro=1,di()("species")),eo||(eo=1,di()("split")),oo(),function(){if(uo)return ao;uo=1;var t=It(),r=di(),e=mi();r("toStringTag"),e(t("Symbol"),"Symbol")}(),so||(so=1,di()("unscopables")),function(){if(co)return ho;co=1;var t=_();mi()(t.JSON,"JSON",!0)}(),fo=At().Symbol)}var vo,yo,go,mo,bo,_o,wo,So,Oo,To,Eo,Ao,Io,Po,jo,Do,xo,ko,Co,Mo,Lo,No,Ro,Fo,zo,qo,Uo,Wo,Yo,Xo,Bo,Vo,Go,Ho={};function Ko(){return yo?vo:(yo=1,vo=function(){})}function Jo(){return mo?go:(mo=1,go={})}function Qo(){if(_o)return bo;_o=1;var t=C(),r=mr(),e=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,i=r(e,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&n(e,"name").configurable);return bo={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function Zo(){return So?wo:(So=1,wo=!w()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function $o(){if(To)return Oo;To=1;var t=mr(),r=I(),e=gr(),n=xn(),i=Zo(),o=n("IE_PROTO"),u=Object,a=u.prototype;return Oo=i?u.getPrototypeOf:function(n){var i=e(n);if(t(i,o))return i[o];var s=i.constructor;return r(s)&&i instanceof s?s.prototype:i instanceof u?a:null}}function tu(){if(Ao)return Eo;Ao=1;var t,r,e,n=w(),i=I(),o=Et(),u=kn(),a=$o(),s=Kn(),c=_r(),f=pr(),l=c("iterator"),h=!1;return[].keys&&("next"in(e=[].keys())?(r=a(a(e)))!==Object.prototype&&(t=r):h=!0),!o(t)||n(function(){var r={};return t[l].call(r)!==r})?t={}:f&&(t=u(t)),i(t[l])||s(t,l,function(){return this}),Eo={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function ru(){if(Po)return Io;Po=1;var t=tu().IteratorPrototype,r=kn(),e=_t(),n=mi(),i=Jo(),o=function(){return this};return Io=function(u,a,s,c){var f=a+" Iterator";return u.prototype=r(t,{next:e(+!c,s)}),n(u,f,!1,!0),i[f]=o,u}}function eu(){if(Do)return jo;Do=1;var t=T(),r=Lt();return jo=function(e,n,i){try{return t(r(Object.getOwnPropertyDescriptor(e,n)[i]))}catch(t){}}}function nu(){if(ko)return xo;ko=1;var t=Et();return xo=function(r){return t(r)||null===r}}function iu(){if(Mo)return Co;Mo=1;var t=nu(),r=String,e=TypeError;return Co=function(n){if(t(n))return n;throw new e("Can't set "+r(n)+" as a prototype")}}function ou(){if(No)return Lo;No=1;var t=eu(),r=Et(),e=Ot(),n=iu();return Lo=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=t(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(t){}return function(t,u){return e(t),n(u),r(t)?(o?i(t,u):t.__proto__=u,t):t}}():void 0)}function uu(){if(Fo)return Ro;Fo=1;var t=Zr(),r=M(),e=pr(),n=Qo(),i=I(),o=ru(),u=$o(),a=ou(),s=mi(),c=Qr(),f=Kn(),l=_r(),h=Jo(),p=tu(),v=n.PROPER,d=n.CONFIGURABLE,y=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=l("iterator"),b="keys",_="values",w="entries",S=function(){return this};return Ro=function(n,l,p,O,T,E,A){o(p,l,O);var I,P,j,D=function(t){if(t===T&&L)return L;if(!g&&t&&t in C)return C[t];switch(t){case b:case _:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},x=l+" Iterator",k=!1,C=n.prototype,M=C[m]||C["@@iterator"]||T&&C[T],L=!g&&M||D(T),N="Array"===l&&C.entries||M;if(N&&(I=u(N.call(new n)))!==Object.prototype&&I.next&&(e||u(I)===y||(a?a(I,y):i(I[m])||f(I,m,S)),s(I,x,!0,!0),e&&(h[x]=S)),v&&T===_&&M&&M.name!==_&&(!e&&d?c(C,"name",_):(k=!0,L=function(){return r(M,this)})),T)if(P={values:D(_),keys:E?L:D(b),entries:D(w)},A)for(j in P)(g||k||!(j in C))&&f(C,j,P[j]);else t({target:l,proto:!0,forced:g||k},P);return e&&!A||C[m]===L||f(C,m,L,{name:T}),h[l]=L,P}}function au(){return qo?zo:(qo=1,zo=function(t,r){return{value:t,done:r}})}function su(){if(Wo)return Uo;Wo=1;var t=Tt(),r=Ko(),e=Jo(),n=_i(),i=Jr().f,o=uu(),u=au(),a=pr(),s=C(),c="Array Iterator",f=n.set,l=n.getterFor(c);Uo=o(Array,"Array",function(r,e){f(this,{type:c,target:t(r),index:0,kind:e})},function(){var t=l(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(e,!1);case"values":return u(r[e],!1)}return u([e,r[e]],!1)},"values");var h=e.Arguments=e.Array;if(r("keys"),r("values"),r("entries"),!a&&s&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Uo}function cu(){return Xo?Yo:(Xo=1,Yo={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})}function fu(){if(Bo)return Ho;Bo=1,su();var t=cu(),r=_(),e=mi(),n=Jo();for(var i in t)e(r[i],i),n[i]=n.Array;return Ho}function lu(){if(Go)return Vo;Go=1;var t=po();return fu(),Vo=t}var hu,pu={};var vu;var du;var yu,gu,mu;function bu(){if(mu)return gu;mu=1;var t=lu();return function(){if(hu)return pu;hu=1;var t=_r(),r=Jr().f,e=t("metadata"),n=Function.prototype;void 0===n[e]&&r(n,e,{value:null})}(),vu||(vu=1,Ui()),du||(du=1,Bi()),yu||(yu=1,di()("metadata")),gu=t}var _u,wu,Su;function Ou(){if(wu)return _u;wu=1;var t=It(),r=T(),e=t("Symbol"),n=e.keyFor,i=r(e.prototype.valueOf);return _u=e.isRegisteredSymbol||function(t){try{return void 0!==n(i(t))}catch(t){return!1}}}var Tu,Eu,Au;function Iu(){if(Eu)return Tu;Eu=1;for(var t=yr(),r=It(),e=T(),n=Ct(),i=_r(),o=r("Symbol"),u=o.isWellKnownSymbol,a=r("Object","getOwnPropertyNames"),s=e(o.prototype.valueOf),c=t("wks"),f=0,l=a(o),h=l.length;f<h;f++)try{var p=l[f];n(o[p])&&i(p)}catch(t){}return Tu=function(t){if(u&&u(t))return!0;try{for(var r=s(t),e=0,n=a(c),i=n.length;e<i;e++)if(c[n[e]]==r)return!0}catch(t){}return!1},Tu}var Pu;var ju;var Du;var xu;var ku;var Cu;var Mu;var Lu,Nu,Ru,Fu,zu;function qu(){if(Ru)return Nu;Ru=1;var t=bu();return Su||(Su=1,Zr()({target:"Symbol",stat:!0},{isRegisteredSymbol:Ou()})),Au||(Au=1,Zr()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Iu()})),Pu||(Pu=1,di()("customMatcher")),ju||(ju=1,di()("observable")),Du||(Du=1,Zr()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Ou()})),xu||(xu=1,Zr()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Iu()})),ku||(ku=1,di()("matcher")),Cu||(Cu=1,di()("metadataKey")),Mu||(Mu=1,di()("patternMatch")),Lu||(Lu=1,di()("replaceAll")),Nu=t}function Uu(){return zu?Fu:(zu=1,Fu=qu())}var Wu,Yu,Xu,Bu,Vu,Gu,Hu,Ku,Ju,Qu,Zu,$u,ta,ra=r(Uu()),ea={};function na(){if(Yu)return Wu;Yu=1;var t=T(),r=Fe(),e=rn(),n=Ot(),i=t("".charAt),o=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,f,l=e(n(a)),h=r(s),p=l.length;return h<0||h>=p?t?"":void 0:(c=o(l,h))<55296||c>56319||h+1===p||(f=o(l,h+1))<56320||f>57343?t?i(l,h):c:t?u(l,h,h+2):f-56320+(c-55296<<10)+65536}};return Wu={codeAt:a(!1),charAt:a(!0)}}function ia(){if(Xu)return ea;Xu=1;var t=na().charAt,r=rn(),e=_i(),n=uu(),i=au(),o="String Iterator",u=e.set,a=e.getterFor(o);return n(String,"String",function(t){u(this,{type:o,string:r(t),index:0})},function(){var r,e=a(this),n=e.string,o=e.index;return o>=n.length?i(void 0,!0):(r=t(n,o),e.index+=r.length,i(r,!1))}),ea}function oa(){return Vu?Bu:(Vu=1,su(),ia(),Ji(),Bu=vi().f("iterator"))}function ua(){if(Hu)return Gu;Hu=1;var t=oa();return fu(),Gu=t}function aa(){return Ju?Ku:(Ju=1,Ku=ua())}function sa(){return Zu?Qu:(Zu=1,Qu=aa())}function ca(){return ta?$u:(ta=1,$u=sa())}var fa,la,ha,pa,va,da,ya,ga,ma,ba,_a=r(ca());function wa(t){return wa="function"==typeof ra&&"symbol"==typeof _a?function(t){return typeof t}:function(t){return t&&"function"==typeof ra&&t.constructor===ra&&t!==ra.prototype?"symbol":typeof t},wa(t)}function Sa(){return la?fa:(la=1,oo(),fa=vi().f("toPrimitive"))}function Oa(){return pa?ha:(pa=1,ha=Sa())}function Ta(){return da?va:(da=1,va=Oa())}function Ea(){return ga?ya:(ga=1,ya=Ta())}function Aa(){return ba?ma:(ba=1,ma=Ea())}var Ia=r(Aa());function Pa(t){var r=function(t,r){if("object"!=wa(t)||!t)return t;var e=t[Ia];if(void 0!==e){var n=e.call(t,r);if("object"!=wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==wa(r)?r:r+""}function ja(t,r,e){return(r=Pa(r))in t?Me(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var Da,xa,ka,Ca,Ma,La,Na,Ra,Fa,za,qa,Ua,Wa,Ya={};function Xa(){if(xa)return Da;xa=1;var t=T(),r=Lt(),e=Et(),n=mr(),i=qn(),o=S(),u=Function,a=t([].concat),s=t([].join),c={};return Da=o?u.bind:function(t){var o=r(this),f=o.prototype,l=i(arguments,1),h=function(){var r=a(l,i(arguments));return this instanceof h?function(t,r,e){if(!n(c,r)){for(var i=[],o=0;o<r;o++)i[o]="a["+o+"]";c[r]=u("C,a","return new C("+s(i,",")+")")}return c[r](t,e)}(o,r.length,r):o.apply(t,r)};return e(f)&&(h.prototype=f),h},Da}function Ba(){if(Ma)return Ca;Ma=1;var t=_(),r=At();return Ca=function(e,n){var i=r[e+"Prototype"],o=i&&i[n];if(o)return o;var u=t[e],a=u&&u.prototype;return a&&a[n]}}function Va(){return Na?La:(Na=1,function(){if(ka)return Ya;ka=1;var t=Zr(),r=Xa();t({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})}(),La=Ba()("Function","bind"))}function Ga(){if(Fa)return Ra;Fa=1;var t=Pt(),r=Va(),e=Function.prototype;return Ra=function(n){var i=n.bind;return n===e||t(e,n)&&i===e.bind?r:i}}function Ha(){return qa?za:(qa=1,za=Ga())}var Ka,Ja,Qa,Za,$a,ts,rs,es,ns,is,os,us,as,ss,cs,fs,ls,hs=r(Wa?Ua:(Wa=1,Ua=Ha())),ps={};function vs(){if(Ja)return Ka;Ja=1;var t=Lt(),r=gr(),e=wt(),n=qe(),i=TypeError,o="Reduce of empty array with no initial value",u=function(u){return function(a,s,c,f){var l=r(a),h=e(l),p=n(l);if(t(s),0===p&&c<2)throw new i(o);var v=u?p-1:0,d=u?-1:1;if(c<2)for(;;){if(v in h){f=h[v],v+=d;break}if(v+=d,u?v<0:p<=v)throw new i(o)}for(;u?v>=0:p>v;v+=d)v in h&&(f=s(f,h[v],v,l));return f}};return Ka={left:u(!1),right:u(!0)}}function ds(){if(Za)return Qa;Za=1;var t=w();return Qa=function(r,e){var n=[][r];return!!n&&t(function(){n.call(null,e||function(){return 1},1)})}}function ys(){if(ts)return $a;ts=1;var t=_(),r=jt(),e=E(),n=function(t){return r.slice(0,t.length)===t};return $a=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===e(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function gs(){return es?rs:(es=1,rs="NODE"===ys())}function ms(){return os?is:(os=1,function(){if(ns)return ps;ns=1;var t=Zr(),r=vs().left,e=ds(),n=Dt();t({target:"Array",proto:!0,forced:!gs()&&n>79&&n<83||!e("reduce")},{reduce:function(t){var e=arguments.length;return r(this,t,e,e>1?arguments[1]:void 0)}})}(),is=Ba()("Array","reduce"))}function bs(){if(as)return us;as=1;var t=Pt(),r=ms(),e=Array.prototype;return us=function(n){var i=n.reduce;return n===e||t(e,n)&&i===e.reduce?r:i}}function _s(){return cs?ss:(cs=1,ss=bs())}var ws,Ss,Os,Ts,Es,As,Is,Ps,js,Ds=r(ls?fs:(ls=1,fs=_s())),xs={};function ks(){return Os?Ss:(Os=1,function(){if(ws)return xs;ws=1;var t=Zr(),r=wi().filter;t({target:"Array",proto:!0,forced:!Ke()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Ss=Ba()("Array","filter"))}function Cs(){if(Es)return Ts;Es=1;var t=Pt(),r=ks(),e=Array.prototype;return Ts=function(n){var i=n.filter;return n===e||t(e,n)&&i===e.filter?r:i}}function Ms(){return Is?As:(Is=1,As=Cs())}var Ls,Ns,Rs,Fs,zs,qs,Us,Ws,Ys,Xs=r(js?Ps:(js=1,Ps=Ms())),Bs={};function Vs(){return Rs?Ns:(Rs=1,function(){if(Ls)return Bs;Ls=1;var t=Zr(),r=wi().map;t({target:"Array",proto:!0,forced:!Ke()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Ns=Ba()("Array","map"))}function Gs(){if(zs)return Fs;zs=1;var t=Pt(),r=Vs(),e=Array.prototype;return Fs=function(n){var i=n.map;return n===e||t(e,n)&&i===e.map?r:i}}function Hs(){return Us?qs:(Us=1,qs=Gs())}var Ks,Js,Qs,Zs=r(Ys?Ws:(Ys=1,Ws=Hs())),$s={};function tc(){if(Js)return Ks;Js=1;var t=Ne(),r=qe(),e=Ue(),n=Ir(),i=function(o,u,a,s,c,f,l,h){for(var p,v,d=c,y=0,g=!!l&&n(l,h);y<s;)y in a&&(p=g?g(a[y],y,u):a[y],f>0&&t(p)?(v=r(p),d=i(o,u,p,v,d,f-1)-1):(e(d+1),o[d]=p),d++),y++;return d};return Ks=i}var rc,ec,nc,ic,oc,uc,ac,sc,cc;function fc(){return nc?ec:(nc=1,function(){if(Qs)return $s;Qs=1;var t=Zr(),r=tc(),e=Lt(),n=gr(),i=qe(),o=He();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=n(this),s=i(a);return e(t),(u=o(a,0)).length=r(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),rc||(rc=1,Ko()("flatMap")),ec=Ba()("Array","flatMap"))}function lc(){if(oc)return ic;oc=1;var t=Pt(),r=fc(),e=Array.prototype;return ic=function(n){var i=n.flatMap;return n===e||t(e,n)&&i===e.flatMap?r:i}}function hc(){return ac?uc:(ac=1,uc=lc())}var pc=r(cc?sc:(cc=1,sc=hc()));function vc(t){return new yc(t)}class dc{constructor(t,r,e){var n,i,o;ja(this,"_listeners",{add:hs(n=this._add).call(n,this),remove:hs(i=this._remove).call(i,this),update:hs(o=this._update).call(o,this)}),this._source=t,this._transformers=r,this._target=e}all(){return this._target.update(this._transformItems(this._source.get())),this}start(){return this._source.on("add",this._listeners.add),this._source.on("remove",this._listeners.remove),this._source.on("update",this._listeners.update),this}stop(){return this._source.off("add",this._listeners.add),this._source.off("remove",this._listeners.remove),this._source.off("update",this._listeners.update),this}_transformItems(t){var r;return Ds(r=this._transformers).call(r,(t,r)=>r(t),t)}_add(t,r){null!=r&&this._target.add(this._transformItems(this._source.get(r.items)))}_update(t,r){null!=r&&this._target.update(this._transformItems(this._source.get(r.items)))}_remove(t,r){null!=r&&this._target.remove(this._transformItems(r.oldData))}}class yc{constructor(t){ja(this,"_transformers",[]),this._source=t}filter(t){return this._transformers.push(r=>Xs(r).call(r,t)),this}map(t){return this._transformers.push(r=>Zs(r).call(r,t)),this}flatMap(t){return this._transformers.push(r=>pc(r).call(r,t)),this}to(t){return new dc(this._source,this._transformers,t)}}var gc,mc={exports:{}};function bc(){return gc||(gc=1,function(t){function r(t){if(t)return function(t){return Object.assign(t,r.prototype),t._callbacks=new Map,t}(t);this._callbacks=new Map}r.prototype.on=function(t,r){const e=this._callbacks.get(t)??[];return e.push(r),this._callbacks.set(t,e),this},r.prototype.once=function(t,r){const e=(...n)=>{this.off(t,e),r.apply(this,n)};return e.fn=r,this.on(t,e),this},r.prototype.off=function(t,r){if(void 0===t&&void 0===r)return this._callbacks.clear(),this;if(void 0===r)return this._callbacks.delete(t),this;const e=this._callbacks.get(t);if(e){for(const[t,n]of e.entries())if(n===r||n.fn===r){e.splice(t,1);break}0===e.length?this._callbacks.delete(t):this._callbacks.set(t,e)}return this},r.prototype.emit=function(t,...r){const e=this._callbacks.get(t);if(e){const t=[...e];for(const e of t)e.apply(this,r)}return this},r.prototype.listeners=function(t){return this._callbacks.get(t)??[]},r.prototype.listenerCount=function(t){if(t)return this.listeners(t).length;let r=0;for(const t of this._callbacks.values())r+=t.length;return r},r.prototype.hasListeners=function(t){return this.listenerCount(t)>0},r.prototype.addEventListener=r.prototype.on,r.prototype.removeListener=r.prototype.off,r.prototype.removeEventListener=r.prototype.off,r.prototype.removeAllListeners=r.prototype.off,t.exports=r}(mc)),mc.exports}var _c=r(bc()); /*! 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 wc(){return wc=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},wc.apply(this,arguments)}function Sc(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function Oc(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Tc,Ec="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),e=1;e<arguments.length;e++){var n=arguments[e];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])}return r}:Object.assign,Ac=["","webkit","Moz","MS","ms","o"],Ic="undefined"==typeof document?{style:{}}:document.createElement("div"),Pc=Math.round,jc=Math.abs,Dc=Date.now;function xc(t,r){for(var e,n,i=r[0].toUpperCase()+r.slice(1),o=0;o<Ac.length;){if((n=(e=Ac[o])?e+i:r)in t)return n;o++}}Tc="undefined"==typeof window?{}:window;var kc=xc(Ic.style,"touchAction"),Cc=void 0!==kc;var Mc="compute",Lc="auto",Nc="manipulation",Rc="none",Fc="pan-x",zc="pan-y",qc=function(){if(!Cc)return!1;var t={},r=Tc.CSS&&Tc.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){return t[e]=!r||Tc.CSS.supports("touch-action",e)}),t}(),Uc="ontouchstart"in Tc,Wc=void 0!==xc(Tc,"PointerEvent"),Yc=Uc&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Xc="touch",Bc="mouse",Vc=16,Gc=24,Hc=["x","y"],Kc=["clientX","clientY"];function Jc(t,r,e){var n;if(t)if(t.forEach)t.forEach(r,e);else if(void 0!==t.length)for(n=0;n<t.length;)r.call(e,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&r.call(e,t[n],n,t)}function Qc(t,r){return"function"==typeof t?t.apply(r&&r[0]||void 0,r):t}function Zc(t,r){return t.indexOf(r)>-1}var $c=function(){function t(t,r){this.manager=t,this.set(r)}var r=t.prototype;return r.set=function(t){t===Mc&&(t=this.compute()),Cc&&this.manager.element.style&&qc[t]&&(this.manager.element.style[kc]=t),this.actions=t.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var t=[];return Jc(this.manager.recognizers,function(r){Qc(r.options.enable,[r])&&(t=t.concat(r.getTouchAction()))}),function(t){if(Zc(t,Rc))return Rc;var r=Zc(t,Fc),e=Zc(t,zc);return r&&e?Rc:r||e?r?Fc:zc:Zc(t,Nc)?Nc:Lc}(t.join(" "))},r.preventDefaults=function(t){var r=t.srcEvent,e=t.offsetDirection;if(this.manager.session.prevented)r.preventDefault();else{var n=this.actions,i=Zc(n,Rc)&&!qc[Rc],o=Zc(n,zc)&&!qc[zc],u=Zc(n,Fc)&&!qc[Fc];if(i){var a=1===t.pointers.length,s=t.distance<2,c=t.deltaTime<250;if(a&&s&&c)return}if(!u||!o)return i||o&&6&e||u&&e&Gc?this.preventSrc(r):void 0}},r.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function tf(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function rf(t){var r=t.length;if(1===r)return{x:Pc(t[0].clientX),y:Pc(t[0].clientY)};for(var e=0,n=0,i=0;i<r;)e+=t[i].clientX,n+=t[i].clientY,i++;return{x:Pc(e/r),y:Pc(n/r)}}function ef(t){for(var r=[],e=0;e<t.pointers.length;)r[e]={clientX:Pc(t.pointers[e].clientX),clientY:Pc(t.pointers[e].clientY)},e++;return{timeStamp:Dc(),pointers:r,center:rf(r),deltaX:t.deltaX,deltaY:t.deltaY}}function nf(t,r,e){e||(e=Hc);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return Math.sqrt(n*n+i*i)}function of(t,r,e){e||(e=Hc);var n=r[e[0]]-t[e[0]],i=r[e[1]]-t[e[1]];return 180*Math.atan2(i,n)/Math.PI}function uf(t,r){return t===r?1:jc(t)>=jc(r)?t<0?2:4:r<0?8:Vc}function af(t,r,e){return{x:r/t||0,y:e/t||0}}function sf(t,r){var e=t.session,n=r.pointers,i=n.length;e.firstInput||(e.firstInput=ef(r)),i>1&&!e.firstMultiple?e.firstMultiple=ef(r):1===i&&(e.firstMultiple=!1);var o=e.firstInput,u=e.firstMultiple,a=u?u.center:o.center,s=r.center=rf(n);r.timeStamp=Dc(),r.deltaTime=r.timeStamp-o.timeStamp,r.angle=of(a,s),r.distance=nf(a,s),function(t,r){var e=r.center,n=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};1!==r.eventType&&4!==o.eventType||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:e.x,y:e.y}),r.deltaX=i.x+(e.x-n.x),r.deltaY=i.y+(e.y-n.y)}(e,r),r.offsetDirection=uf(r.deltaX,r.deltaY);var c,f,l=af(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=l.x,r.overallVelocityY=l.y,r.overallVelocity=jc(l.x)>jc(l.y)?l.x:l.y,r.scale=u?(c=u.pointers,nf((f=n)[0],f[1],Kc)/nf(c[0],c[1],Kc)):1,r.rotation=u?function(t,r){return of(r[1],r[0],Kc)+of(t[1],t[0],Kc)}(u.pointers,n):0,r.maxPointers=e.prevInput?r.pointers.length>e.prevInput.maxPointers?r.pointers.length:e.prevInput.maxPointers:r.pointers.length,function(t,r){var e,n,i,o,u=t.lastInterval||r,a=r.timeStamp-u.timeStamp;if(8!==r.eventType&&(a>25||void 0===u.velocity)){var s=r.deltaX-u.deltaX,c=r.deltaY-u.deltaY,f=af(a,s,c);n=f.x,i=f.y,e=jc(f.x)>jc(f.y)?f.x:f.y,o=uf(s,c),t.lastInterval=r}else e=u.velocity,n=u.velocityX,i=u.velocityY,o=u.direction;r.velocity=e,r.velocityX=n,r.velocityY=i,r.direction=o}(e,r);var h,p=t.element,v=r.srcEvent;tf(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),r.target=p}function cf(t,r,e){var n=e.pointers.length,i=e.changedPointers.length,o=1&r&&n-i===0,u=12&r&&n-i===0;e.isFirst=!!o,e.isFinal=!!u,o&&(t.session={}),e.eventType=r,sf(t,e),t.emit("hammer.input",e),t.recognize(e),t.session.prevInput=e}function ff(t){return t.trim().split(/\s+/g)}function lf(t,r,e){Jc(ff(r),function(r){t.addEventListener(r,e,!1)})}function hf(t,r,e){Jc(ff(r),function(r){t.removeEventListener(r,e,!1)})}function pf(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var vf=function(){function t(t,r){var e=this;this.manager=t,this.callback=r,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(r){Qc(t.options.enable,[t])&&e.handler(r)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&lf(this.element,this.evEl,this.domHandler),this.evTarget&&lf(this.target,this.evTarget,this.domHandler),this.evWin&&lf(pf(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&hf(this.element,this.evEl,this.domHandler),this.evTarget&&hf(this.target,this.evTarget,this.domHandler),this.evWin&&hf(pf(this.element),this.evWin,this.domHandler)},t}();function df(t,r,e){if(t.indexOf&&!e)return t.indexOf(r);for(var n=0;n<t.length;){if(e&&t[n][e]==r||!e&&t[n]===r)return n;n++}return-1}var yf={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},gf={2:Xc,3:"pen",4:Bc,5:"kinect"},mf="pointerdown",bf="pointermove pointerup pointercancel";Tc.MSPointerEvent&&!Tc.PointerEvent&&(mf="MSPointerDown",bf="MSPointerMove MSPointerUp MSPointerCancel");var _f=function(t){function r(){var e,n=r.prototype;return n.evEl=mf,n.evWin=bf,(e=t.apply(this,arguments)||this).store=e.manager.session.pointerEvents=[],e}return Sc(r,t),r.prototype.handler=function(t){var r=this.store,e=!1,n=t.type.toLowerCase().replace("ms",""),i=yf[n],o=gf[t.pointerType]||t.pointerType,u=o===Xc,a=df(r,t.pointerId,"pointerId");1&i&&(0===t.button||u)?a<0&&(r.push(t),a=r.length-1):12&i&&(e=!0),a<0||(r[a]=t,this.callback(this.manager,i,{pointers:r,changedPointers:[t],pointerType:o,srcEvent:t}),e&&r.splice(a,1))},r}(vf);function wf(t){return Array.prototype.slice.call(t,0)}function Sf(t,r,e){for(var n=[],i=[],o=0;o<t.length;){var u=r?t[o][r]:t[o];df(i,u)<0&&n.push(t[o]),i[o]=u,o++}return e&&(n=r?n.sort(function(t,e){return t[r]>e[r]}):n.sort()),n}var Of={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Tf=function(t){function r(){var e;return r.prototype.evTarget="touchstart touchmove touchend touchcancel",(e=t.apply(this,arguments)||this).targetIds={},e}return Sc(r,t),r.prototype.handler=function(t){var r=Of[t.type],e=Ef.call(this,t,r);e&&this.callback(this.manager,r,{pointers:e[0],changedPointers:e[1],pointerType:Xc,srcEvent:t})},r}(vf);function Ef(t,r){var e,n,i=wf(t.touches),o=this.targetIds;if(3&r&&1===i.length)return o[i[0].identifier]=!0,[i,i];var u=wf(t.changedTouches),a=[],s=this.target;if(n=i.filter(function(t){return tf(t.target,s)}),1===r)for(e=0;e<n.length;)o[n[e].identifier]=!0,e++;for(e=0;e<u.length;)o[u[e].identifier]&&a.push(u[e]),12&r&&delete o[u[e].identifier],e++;return a.length?[Sf(n.concat(a),"identifier",!0),a]:void 0}var Af={mousedown:1,mousemove:2,mouseup:4},If=function(t){function r(){var e,n=r.prototype;return n.evEl="mousedown",n.evWin="mousemove mouseup",(e=t.apply(this,arguments)||this).pressed=!1,e}return Sc(r,t),r.prototype.handler=function(t){var r=Af[t.type];1&r&&0===t.button&&(this.pressed=!0),2&r&&1!==t.which&&(r=4),this.pressed&&(4&r&&(this.pressed=!1),this.callback(this.manager,r,{pointers:[t],changedPointers:[t],pointerType:Bc,srcEvent:t}))},r}(vf);function Pf(t){var r=t.changedPointers[0];if(r.identifier===this.primaryTouch){var e={x:r.clientX,y:r.clientY},n=this.lastTouches;this.lastTouches.push(e);setTimeout(function(){var t=n.indexOf(e);t>-1&&n.splice(t,1)},2500)}}function jf(t,r){1&t?(this.primaryTouch=r.changedPointers[0].identifier,Pf.call(this,r)):12&t&&Pf.call(this,r)}function Df(t){for(var r=t.srcEvent.clientX,e=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var i=this.lastTouches[n],o=Math.abs(r-i.x),u=Math.abs(e-i.y);if(o<=25&&u<=25)return!0}return!1}var xf=function(){return function(t){function r(r,e){var n;return(n=t.call(this,r,e)||this).handler=function(t,r,e){var i=e.pointerType===Xc,o=e.pointerType===Bc;if(!(o&&e.sourceCapabilities&&e.sou