vis-data 8.0.4 → 8.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations/data-interface.d.ts.map +1 -1
- package/declarations/data-pipe.d.ts.map +1 -1
- package/declarations/data-set-part.d.ts.map +1 -1
- package/declarations/data-set.d.ts +3 -2
- package/declarations/data-set.d.ts.map +1 -1
- package/declarations/data-view-check.d.ts +1 -1
- package/declarations/data-view-check.d.ts.map +1 -1
- package/declarations/data-view.d.ts +2 -2
- package/declarations/data-view.d.ts.map +1 -1
- package/dist/esm.js +1924 -1048
- package/dist/esm.js.map +1 -1
- package/dist/umd.js +1924 -1048
- package/dist/umd.js.map +1 -1
- package/esnext/esm/vis-data.js +162 -162
- package/esnext/esm/vis-data.js.map +1 -1
- package/esnext/esm/vis-data.min.js +3 -3
- package/esnext/esm/vis-data.min.js.map +1 -1
- package/esnext/esm/vis-data.min.mjs +3 -3
- package/esnext/esm/vis-data.min.mjs.map +1 -1
- package/esnext/esm/vis-data.mjs +162 -162
- package/esnext/esm/vis-data.mjs.map +1 -1
- package/esnext/umd/vis-data.cjs +162 -162
- package/esnext/umd/vis-data.cjs.map +1 -1
- package/esnext/umd/vis-data.js +162 -162
- package/esnext/umd/vis-data.js.map +1 -1
- package/esnext/umd/vis-data.min.cjs +3 -3
- package/esnext/umd/vis-data.min.cjs.map +1 -1
- package/esnext/umd/vis-data.min.js +3 -3
- package/esnext/umd/vis-data.min.js.map +1 -1
- package/package.json +132 -136
- package/peer/esm/vis-data.js +1450 -675
- package/peer/esm/vis-data.js.map +1 -1
- package/peer/esm/vis-data.min.js +4 -4
- package/peer/esm/vis-data.min.js.map +1 -1
- package/peer/esm/vis-data.min.mjs +4 -4
- package/peer/esm/vis-data.min.mjs.map +1 -1
- package/peer/esm/vis-data.mjs +1450 -675
- package/peer/esm/vis-data.mjs.map +1 -1
- package/peer/umd/vis-data.cjs +1450 -675
- package/peer/umd/vis-data.cjs.map +1 -1
- package/peer/umd/vis-data.js +1450 -675
- package/peer/umd/vis-data.js.map +1 -1
- package/peer/umd/vis-data.min.cjs +4 -4
- package/peer/umd/vis-data.min.cjs.map +1 -1
- package/peer/umd/vis-data.min.js +4 -4
- package/peer/umd/vis-data.min.js.map +1 -1
- package/standalone/esm/vis-data.js +1450 -675
- package/standalone/esm/vis-data.js.map +1 -1
- package/standalone/esm/vis-data.min.js +4 -4
- package/standalone/esm/vis-data.min.js.map +1 -1
- package/standalone/esm/vis-data.min.mjs +4 -4
- package/standalone/esm/vis-data.min.mjs.map +1 -1
- package/standalone/esm/vis-data.mjs +1450 -675
- package/standalone/esm/vis-data.mjs.map +1 -1
- package/standalone/umd/vis-data.cjs +1450 -675
- package/standalone/umd/vis-data.cjs.map +1 -1
- package/standalone/umd/vis-data.js +1450 -675
- package/standalone/umd/vis-data.js.map +1 -1
- package/standalone/umd/vis-data.min.cjs +4 -4
- package/standalone/umd/vis-data.min.cjs.map +1 -1
- package/standalone/umd/vis-data.min.js +4 -4
- package/standalone/umd/vis-data.min.js.map +1 -1
package/peer/esm/vis-data.min.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
|
|
6
6
|
*
|
|
7
|
-
* @version 8.0.
|
|
8
|
-
* @date 2026-
|
|
7
|
+
* @version 8.0.5
|
|
8
|
+
* @date 2026-08-06T17:35:20.924Z
|
|
9
9
|
*
|
|
10
10
|
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
|
|
11
11
|
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
*
|
|
24
24
|
* vis.js may be distributed under either license.
|
|
25
25
|
*/
|
|
26
|
-
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 n,e,i,o,u,a,s,c,f,l,h,p,v,d,y,g,m={exports:{}},b={};function _(){if(e)return n;e=1;var r=function(t){return t&&t.Math===Math&&t};return n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof n&&n)||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 T(){if(c)return s;c=1;var t=S(),r=Function.prototype,n=r.apply,e=r.call;return s="object"==typeof Reflect&&Reflect.apply||(t?e.bind(n):function(){return e.apply(n,arguments)}),s}function O(){if(l)return f;l=1;var t=S(),r=Function.prototype,n=r.call,e=t&&r.bind.bind(n,n);return f=t?e:function(t){return function(){return n.apply(t,arguments)}},f}function E(){if(p)return h;p=1;var t=O(),r=t({}.toString),n=t("".slice);return h=function(t){return n(r(t),8,-1)}}function A(){if(d)return v;d=1;var t=E(),r=O();return v=function(n){if("Function"===t(n))return r(n)}}function P(){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 I,j,x,D,k={};function C(){return j?I:(j=1,I=!w()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function M(){if(D)return x;D=1;var t=S(),r=Function.prototype.call;return x=t?r.bind(r):function(){return r.apply(r,arguments)},x}var N,R,F,L,z,q,U,W,Y,X,B,G,H,V,J,K,Q,Z,$,tt,rt,nt,et,it,ot,ut,at,st,ct,ft,lt,ht,pt,vt,dt,yt,gt,mt={};function bt(){if(N)return mt;N=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);return mt.f=n?function(t){var n=r(this,t);return!!n&&n.enumerable}:t,mt}function _t(){return F?R:(F=1,R=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function wt(){if(z)return L;z=1;var t=O(),r=w(),n=E(),e=Object,i=t("".split);return L=r(function(){return!e("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?i(t,""):e(t)}:e}function St(){return U?q:(U=1,q=function(t){return null==t})}function Tt(){if(Y)return W;Y=1;var t=St(),r=TypeError;return W=function(n){if(t(n))throw new r("Can't call method on "+n);return n}}function Ot(){if(B)return X;B=1;var t=wt(),r=Tt();return X=function(n){return t(r(n))}}function Et(){if(H)return G;H=1;var t=P();return G=function(r){return"object"==typeof r?null!==r:t(r)}}function At(){return J?V:(J=1,V={})}function Pt(){if(Q)return K;Q=1;var t=At(),r=_(),n=P(),e=function(t){return n(t)?t:void 0};return K=function(n,i){return arguments.length<2?e(t[n])||e(r[n]):t[n]&&t[n][i]||r[n]&&r[n][i]},K}function It(){return $?Z:($=1,Z=O()({}.isPrototypeOf))}function jt(){if(rt)return tt;rt=1;var t=_().navigator,r=t&&t.userAgent;return tt=r?String(r):""}function xt(){if(et)return nt;et=1;var t,r,n=_(),e=jt(),i=n.process,o=n.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&&e&&(!(t=e.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=e.match(/Chrome\/(\d+)/))&&(r=+t[1]),nt=r}function Dt(){if(ot)return it;ot=1;var t=xt(),r=w(),n=_().String;return it=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!n(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}),it}function kt(){return at?ut:(at=1,ut=Dt()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Ct(){if(ct)return st;ct=1;var t=Pt(),r=P(),n=It(),e=Object;return st=kt()?function(t){return"symbol"==typeof t}:function(i){var o=t("Symbol");return r(o)&&n(o.prototype,e(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 Nt(){if(pt)return ht;pt=1;var t=P(),r=Mt(),n=TypeError;return ht=function(e){if(t(e))return e;throw new n(r(e)+" is not a function")}}function Rt(){if(dt)return vt;dt=1;var t=Nt(),r=St();return vt=function(n,e){var i=n[e];return r(i)?void 0:t(i)}}function Ft(){if(gt)return yt;gt=1;var t=M(),r=P(),n=Et(),e=TypeError;return yt=function(i,o){var u,a;if("string"===o&&r(u=i.toString)&&!n(a=t(u,i)))return a;if(r(u=i.valueOf)&&!n(a=t(u,i)))return a;if("string"!==o&&r(u=i.toString)&&!n(a=t(u,i)))return a;throw new e("Can't convert object to primitive value")}}var Lt,zt,qt,Ut,Wt,Yt,Xt,Bt,Gt,Ht,Vt,Jt,Kt,Qt,Zt,$t,tr,rr,nr,er,ir,or,ur,ar,sr,cr,fr,lr,hr={exports:{}};function pr(){return zt?Lt:(zt=1,Lt=!0)}function vr(){if(Ut)return qt;Ut=1;var t=_(),r=Object.defineProperty;return qt=function(n,e){try{r(t,n,{value:e,configurable:!0,writable:!0})}catch(r){t[n]=e}return e}}function dr(){if(Wt)return hr.exports;Wt=1;var t=pr(),r=_(),n=vr(),e="__core-js_shared__",i=hr.exports=r[e]||n(e,{});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,n){return t[r]||(t[r]=n||{})}}function gr(){if(Gt)return Bt;Gt=1;var t=Tt(),r=Object;return Bt=function(n){return r(t(n))}}function mr(){if(Vt)return Ht;Vt=1;var t=O(),r=gr(),n=t({}.hasOwnProperty);return Ht=Object.hasOwn||function(t,e){return n(r(t),e)}}function br(){if(Kt)return Jt;Kt=1;var t=O(),r=0,n=Math.random(),e=t(1.1.toString);return Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+n,36)}}function _r(){if(Zt)return Qt;Zt=1;var t=_(),r=yr(),n=mr(),e=br(),i=Dt(),o=kt(),u=t.Symbol,a=r("wks"),s=o?u.for||u:u&&u.withoutSetter||e;return Qt=function(t){return n(a,t)||(a[t]=i&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function wr(){if(tr)return $t;tr=1;var t=M(),r=Et(),n=Ct(),e=Rt(),i=Ft(),o=TypeError,u=_r()("toPrimitive");return $t=function(a,s){if(!r(a)||n(a))return a;var c,f=e(a,u);if(f){if(void 0===s&&(s="default"),c=t(f,a,s),!r(c)||n(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(nr)return rr;nr=1;var t=wr(),r=Ct();return rr=function(n){var e=t(n,"string");return r(e)?e:e+""}}function Tr(){if(ir)return er;ir=1;var t=_(),r=Et(),n=t.document,e=r(n)&&r(n.createElement);return er=function(t){return e?n.createElement(t):{}}}function Or(){if(ur)return or;ur=1;var t=C(),r=w(),n=Tr();return or=!t&&!r(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Er(){if(ar)return k;ar=1;var t=C(),r=M(),n=bt(),e=_t(),i=Ot(),o=Sr(),u=mr(),a=Or(),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 e(!r(n.f,t,c),t[c])},k}function Ar(){if(cr)return sr;cr=1;var t=w(),r=P(),n=/#|\.prototype\./,e=function(n,e){var s=o[i(n)];return s===a||s!==u&&(r(e)?t(e):!!e)},i=e.normalize=function(t){return String(t).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",a=e.POLYFILL="P";return sr=e}function Pr(){if(lr)return fr;lr=1;var t=A(),r=Nt(),n=S(),e=t(t.bind);return fr=function(t,i){return r(t),void 0===i?t:n?e(t,i):function(){return t.apply(i,arguments)}},fr}var Ir,jr,xr,Dr,kr,Cr,Mr,Nr,Rr,Fr,Lr,zr,qr,Ur,Wr,Yr,Xr,Br,Gr,Hr={};function Vr(){return jr?Ir:(jr=1,Ir=C()&&w()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function Jr(){if(Dr)return xr;Dr=1;var t=Et(),r=String,n=TypeError;return xr=function(e){if(t(e))return e;throw new n(r(e)+" is not an object")}}function Kr(){if(kr)return Hr;kr=1;var t=C(),r=Or(),n=Vr(),e=Jr(),i=Sr(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",f="writable";return Hr.f=t?n?function(t,r,n){if(e(t),r=i(r),e(n),"function"==typeof t&&"prototype"===r&&"value"in n&&f in n&&!n[f]){var o=a(t,r);o&&o[f]&&(t[r]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:s in n?n[s]:o[s],writable:!1})}return u(t,r,n)}:u:function(t,n,a){if(e(t),n=i(n),e(a),r)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(t[n]=a.value),t},Hr}function Qr(){if(Mr)return Cr;Mr=1;var t=C(),r=Kr(),n=_t();return Cr=t?function(t,e,i){return r.f(t,e,n(1,i))}:function(t,r,n){return t[r]=n,t}}function Zr(){if(Rr)return Nr;Rr=1;var t=_(),r=T(),n=A(),e=P(),i=Er().f,o=Ar(),u=At(),a=Pr(),s=Qr(),c=mr(),f=function(t){var n=function(e,i,o){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,o)}return r(t,this,arguments)};return n.prototype=t.prototype,n};return Nr=function(r,l){var h,p,v,d,y,g,m,b,_,w=r.target,S=r.global,T=r.stat,O=r.proto,E=S?t:T?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],P=A.prototype;for(d in l)p=!(h=o(S?d:w+(T?".":"#")+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||O||typeof g!=typeof y)&&(b=r.bind&&p?a(y,t):r.wrap&&p?f(y):O&&e(y)?n(y):y,(r.sham||y&&y.sham||g&&g.sham)&&s(b,"sham",!0),s(A,d,b),O&&(c(u,v=w+"Prototype")||s(u,v,{}),s(u[v],d,y),r.real&&P&&(h||!P[d])&&s(P,d,y)))}}function $r(){if(Fr)return b;Fr=1;var t=Zr(),r=C(),n=Kr().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n}),b}function tn(){if(Lr)return m.exports;Lr=1,$r();var t=At().Object,r=m.exports=function(r,n,e){return t.defineProperty(r,n,e)};return t.defineProperty.sham&&(r.sham=!0),m.exports}function rn(){return qr?zr:(qr=1,zr=tn())}function nn(){return Wr?Ur:(Wr=1,Ur=rn())}function en(){return Xr?Yr:(Xr=1,Yr=nn())}function on(){return Gr?Br:(Gr=1,Br=en())}var un,an,sn,cn,fn,ln,hn,pn,vn,dn,yn,gn,mn,bn,_n,wn,Sn,Tn,On,En,An,Pn,In,jn,xn,Dn,kn,Cn,Mn,Nn=r(on()),Rn={};function Fn(){if(an)return un;an=1;var t=E();return un=Array.isArray||function(r){return"Array"===t(r)}}function Ln(){if(cn)return sn;cn=1;var t=Math.ceil,r=Math.floor;return sn=Math.trunc||function(n){var e=+n;return(e>0?r:t)(e)}}function zn(){if(ln)return fn;ln=1;var t=Ln();return fn=function(r){var n=+r;return n!=n||0===n?0:t(n)}}function qn(){if(pn)return hn;pn=1;var t=zn(),r=Math.min;return hn=function(n){var e=t(n);return e>0?r(e,9007199254740991):0}}function Un(){if(dn)return vn;dn=1;var t=qn();return vn=function(r){return t(r.length)}}function Wn(){if(gn)return yn;gn=1;var t=TypeError;return yn=function(r){if(r>9007199254740991)throw t("Maximum allowed index exceeded");return r}}function Yn(){if(bn)return mn;bn=1;var t=C(),r=Kr(),n=_t();return mn=function(e,i,o){t?r.f(e,i,n(0,o)):e[i]=o}}function Xn(){if(wn)return _n;wn=1;var t={};return t[_r()("toStringTag")]="z",_n="[object z]"===String(t)}function Bn(){if(Tn)return Sn;Tn=1;var t=Xn(),r=P(),n=E(),e=_r()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return Sn=t?n: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),e))?a:o?n(u):"Object"===(s=n(u))&&r(u.callee)?"Arguments":s}}function Gn(){if(En)return On;En=1;var t=O(),r=P(),n=dr(),e=t(Function.toString);return r(n.inspectSource)||(n.inspectSource=function(t){return e(t)}),On=n.inspectSource}function Hn(){if(Pn)return An;Pn=1;var t=O(),r=w(),n=P(),e=Bn(),i=Pt(),o=Gn(),u=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),f=!s.test(u),l=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},h=function(t){if(!n(t))return!1;switch(e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!c(s,o(t))}catch(t){return!0}};return h.sham=!0,An=!a||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?h:l}function Vn(){if(jn)return In;jn=1;var t=Fn(),r=Hn(),n=Et(),e=_r()("species"),i=Array;return In=function(o){var u;return t(o)&&(u=o.constructor,(r(u)&&(u===i||t(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?i:u}}function Jn(){if(Dn)return xn;Dn=1;var t=Vn();return xn=function(r,n){return new(t(r))(0===n?0:n)}}function Kn(){if(Cn)return kn;Cn=1;var t=w(),r=_r(),n=xt(),e=r("species");return kn=function(r){return n>=51||!t(function(){var t=[];return(t.constructor={})[e]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}function Qn(){if(Mn)return Rn;Mn=1;var t=Zr(),r=w(),n=Fn(),e=Et(),i=gr(),o=Un(),u=Wn(),a=Yn(),s=Jn(),c=Kn(),f=_r(),l=xt(),h=f("isConcatSpreadable"),p=l>=51||!r(function(){var t=[];return t[h]=!1,t.concat()[0]!==t}),v=function(t){if(!e(t))return!1;var r=t[h];return void 0!==r?!!r:n(t)};return t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var r,n,e,c,f,l=i(this),h=s(l,0),p=0;for(r=-1,e=arguments.length;r<e;r++)if(v(f=-1===r?l:arguments[r]))for(c=o(f),u(p+c),n=0;n<c;n++,p++)n in f&&a(h,p,f[n]);else u(p+1),a(h,p++,f);return h.length=p,h}}),Rn}var Zn,$n,te={},re={};function ne(){if($n)return Zn;$n=1;var t=Bn(),r=String;return Zn=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}}var ee,ie,oe,ue,ae,se,ce,fe,le,he,pe,ve,de,ye,ge,me,be,_e,we,Se={};function Te(){if(ie)return ee;ie=1;var t=zn(),r=Math.max,n=Math.min;return ee=function(e,i){var o=t(e);return o<0?r(o+i,0):n(o,i)}}function Oe(){if(ue)return oe;ue=1;var t=Ot(),r=Te(),n=Un(),e=function(e){return function(i,o,u){var a=t(i),s=n(a);if(0===s)return!e&&-1;var c,f=r(u,s);if(e&&o!=o){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((e||f in a)&&a[f]===o)return e||f||0;return!e&&-1}};return oe={includes:e(!0),indexOf:e(!1)}}function Ee(){return se?ae:(se=1,ae={})}function Ae(){if(fe)return ce;fe=1;var t=O(),r=mr(),n=Ot(),e=Oe().indexOf,i=Ee(),o=t([].push);return ce=function(t,u){var a,s=n(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++])&&(~e(f,a)||o(f,a));return f}}function Pe(){return he?le:(he=1,le=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Ie(){if(ve)return pe;ve=1;var t=Ae(),r=Pe();return pe=Object.keys||function(n){return t(n,r)}}function je(){if(de)return Se;de=1;var t=C(),r=Vr(),n=Kr(),e=Jr(),i=Ot(),o=Ie();return Se.f=t&&!r?Object.defineProperties:function(t,r){e(t);for(var u,a=i(r),s=o(r),c=s.length,f=0;c>f;)n.f(t,u=s[f++],a[u]);return t},Se}function xe(){return ge?ye:(ge=1,ye=Pt()("document","documentElement"))}function De(){if(be)return me;be=1;var t=yr(),r=br(),n=t("keys");return me=function(t){return n[t]||(n[t]=r(t))}}function ke(){if(we)return _e;we=1;var t,r=Jr(),n=je(),e=Pe(),i=Ee(),o=xe(),u=Tr(),a="prototype",s="script",c=De()("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,n,i;p="undefined"!=typeof document?document.domain&&t?h(t):(n=u("iframe"),i="java"+s+":",n.style.display="none",o.appendChild(n),n.src=String(i),(r=n.contentWindow.document).open(),r.write(l("document.F=Object")),r.close(),r.F):h(t);for(var c=e.length;c--;)delete p[a][e[c]];return p()};return i[c]=!0,_e=Object.create||function(t,e){var i;return null!==t?(f[a]=r(t),i=new f,f[a]=null,i[c]=t):i=p(),void 0===e?i:n.f(i,e)}}var Ce,Me={};function Ne(){if(Ce)return Me;Ce=1;var t=Ae(),r=Pe().concat("length","prototype");return Me.f=Object.getOwnPropertyNames||function(n){return t(n,r)},Me}var Re,Fe,Le,ze={};function qe(){return Fe?Re:(Fe=1,Re=O()([].slice))}function Ue(){if(Le)return ze;Le=1;var t=E(),r=Ot(),n=Ne().f,e=qe(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return ze.f=function(o){return i&&"Window"===t(o)?function(t){try{return n(t)}catch(t){return e(i)}}(o):n(r(o))},ze}var We,Ye,Xe,Be,Ge,He={};function Ve(){return We||(We=1,He.f=Object.getOwnPropertySymbols),He}function Je(){if(Xe)return Ye;Xe=1;var t=Qr();return Ye=function(r,n,e,i){return i&&i.enumerable?r[n]=e:t(r,n,e),r}}function Ke(){if(Ge)return Be;Ge=1;var t=Kr();return Be=function(r,n,e){return t.f(r,n,e)}}var Qe,Ze,$e,ti,ri,ni,ei,ii,oi,ui,ai,si,ci,fi,li,hi,pi={};function vi(){if(Qe)return pi;Qe=1;var t=_r();return pi.f=t,pi}function di(){if($e)return Ze;$e=1;var t=At(),r=mr(),n=vi(),e=Kr().f;return Ze=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||e(o,i,{value:n.f(i)})}}function yi(){if(ri)return ti;ri=1;var t=M(),r=Pt(),n=_r(),e=Je();return ti=function(){var i=r("Symbol"),o=i&&i.prototype,u=o&&o.valueOf,a=n("toPrimitive");o&&!o[a]&&e(o,a,function(r){return t(u,this)},{arity:1})}}function gi(){if(ei)return ni;ei=1;var t=Xn(),r=Bn();return ni=t?{}.toString:function(){return"[object "+r(this)+"]"}}function mi(){if(oi)return ii;oi=1;var t=Xn(),r=Kr().f,n=Qr(),e=mr(),i=gi(),o=_r()("toStringTag");return ii=function(u,a,s,c){var f=s?u:u&&u.prototype;f&&(e(f,o)||r(f,o,{configurable:!0,value:a}),c&&!t&&n(f,"toString",i))}}function bi(){if(ai)return ui;ai=1;var t=_(),r=P(),n=t.WeakMap;return ui=r(n)&&/native code/.test(String(n))}function _i(){if(ci)return si;ci=1;var t,r,n,e=bi(),i=_(),o=Et(),u=Qr(),a=mr(),s=dr(),c=De(),f=Ee(),l="Object already initialized",h=i.TypeError,p=i.WeakMap;if(e||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)||{}},n=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]:{}},n=function(t){return a(t,d)}}return si={set:t,get:r,has:n,enforce:function(e){return n(e)?r(e):t(e,{})},getterFor:function(t){return function(n){var e;if(!o(n)||(e=r(n)).type!==t)throw new h("Incompatible receiver, "+t+" required");return e}}}}function wi(){if(li)return fi;li=1;var t=Pr(),r=O(),n=wt(),e=gr(),i=Un(),o=Jn(),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,_=e(v),w=n(_),S=i(w),T=t(d,y),O=0,E=g||o,A=a?E(v,S):s||h?E(v,0):void 0;S>O;O++)if((p||O in w)&&(b=T(m=w[O],O,_),r))if(a)A[O]=b;else if(b)switch(r){case 3:return!0;case 5:return m;case 6:return O;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,Ti,Oi,Ei={};function Ai(){return Ti?Si:(Ti=1,Si=Dt()&&!!Symbol.for&&!!Symbol.keyFor)}var Pi,Ii={};var ji,xi,Di,ki={};function Ci(){if(xi)return ji;xi=1;var t=O(),r=Fn(),n=P(),e=E(),i=ne(),o=t([].push);return ji=function(t){if(n(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"!==e(c)&&"String"!==e(c)||o(a,i(c))}var f=a.length,l=!0;return function(t,n){if(l)return l=!1,n;if(r(this))return n;for(var e=0;e<f;e++)if(a[e]===t)return n}}},ji}function Mi(){if(Di)return ki;Di=1;var t=Zr(),r=Pt(),n=T(),e=M(),i=O(),o=w(),u=P(),a=Ct(),s=qe(),c=Ci(),f=Dt(),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=e(o,this,l(t),r)),!a(r))return r},n(h,null,i)},I=function(t,r,n){var e=v(n,r-1),i=v(n,r+1);return p(b,t)&&!p(_,i)||p(_,t)&&!p(b,e)?"\\u"+g(d(t,0),16):t};return h&&t({target:"JSON",stat:!0,arity:3,forced:S||E},{stringify:function(t,r,e){var i=s(arguments),o=n(S?A:h,null,i);return E&&"string"==typeof o?y(o,m,I):o}}),ki}var Ni,Ri,Fi={};function Li(){return Ri||(Ri=1,function(){if(hi)return re;hi=1;var t=Zr(),r=_(),n=M(),e=O(),i=pr(),o=C(),u=Dt(),a=w(),s=mr(),c=It(),f=Jr(),l=Ot(),h=Sr(),p=ne(),v=_t(),d=ke(),y=Ie(),g=Ne(),m=Ue(),b=Ve(),S=Er(),T=Kr(),E=je(),A=bt(),P=Je(),I=Ke(),j=yr(),x=De(),D=Ee(),k=br(),N=_r(),R=vi(),F=di(),L=yi(),z=mi(),q=_i(),U=wi().forEach,W=x("hidden"),Y="Symbol",X="prototype",B=q.set,G=q.getterFor(Y),H=Object[X],V=r.Symbol,J=V&&V[X],K=r.RangeError,Q=r.TypeError,Z=r.QObject,$=S.f,tt=T.f,rt=m.f,nt=A.f,et=e([].push),it=j("symbols"),ot=j("op-symbols"),ut=j("wks"),at=!Z||!Z[X]||!Z[X].findChild,st=function(t,r,n){var e=$(H,r);e&&delete H[r],tt(t,r,n),e&&t!==H&&tt(H,r,e)},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 n=it[t]=d(J);return B(n,{type:Y,tag:t,description:r}),o||(n.description=r),n},lt=function(t,r,n){t===H&<(ot,r,n),f(t);var e=h(r);return f(n),s(it,e)?(n.enumerable?(s(t,W)&&t[W][e]&&(t[W][e]=!1),n=d(n,{enumerable:v(0,!1)})):(s(t,W)||tt(t,W,v(1,d(null))),t[W][e]=!0),ct(t,e,n)):tt(t,e,n)},ht=function(t,r){f(t);var e=l(r),i=y(e).concat(yt(e));return U(i,function(r){o&&!n(pt,e,r)||lt(t,r,e[r])}),t},pt=function(t){var r=h(t),e=n(nt,this,r);return!(this===H&&s(it,r)&&!s(ot,r))&&(!(e||!s(this,r)||!s(it,r)||s(this,W)&&this[W][r])||e)},vt=function(t,r){var n=l(t),e=h(r);if(n!==H||!s(it,e)||s(ot,e)){var i=$(n,e);return!i||!s(it,e)||s(n,W)&&n[W][e]||(i.enumerable=!0),i}},dt=function(t){var r=rt(l(t)),n=[];return U(r,function(t){s(it,t)||s(D,t)||et(n,t)}),n},yt=function(t){var r=t===H,n=rt(r?ot:l(t)),e=[];return U(n,function(t){!s(it,t)||r&&!s(H,t)||et(e,it[t])}),e};u||(V=function(){if(c(J,this))throw new Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,e=k(t),i=function(t){var o=void 0===this?r:this;o===H&&n(i,ot,t),s(o,W)&&s(o[W],e)&&(o[W][e]=!1);var u=v(1,t);try{ct(o,e,u)}catch(t){if(!(t instanceof K))throw t;st(o,e,u)}};return o&&at&&ct(H,e,{configurable:!0,set:i}),ft(e,t)},P(J=V[X],"toString",function(){return G(this).tag}),P(V,"withoutSetter",function(t){return ft(k(t),t)}),A.f=pt,T.f=lt,E.f=ht,S.f=vt,g.f=m.f=dt,b.f=yt,R.f=function(t){return ft(N(t),t)},o&&(I(J,"description",{configurable:!0,get:function(){return G(this).description}}),i||P(H,"propertyIsEnumerable",pt,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),U(y(ut),function(t){F(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}),L(),z(V,Y),D[W]=!0}(),function(){if(Oi)return Ei;Oi=1;var t=Zr(),r=Pt(),n=mr(),e=ne(),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=e(t);if(n(u,i))return u[i];var o=r("Symbol")(i);return u[i]=o,a[o]=i,o}})}(),function(){if(Pi)return Ii;Pi=1;var t=Zr(),r=mr(),n=Ct(),e=Mt(),i=yr(),o=Ai(),u=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{keyFor:function(t){if(!n(t))throw new TypeError(e(t)+" is not a symbol");if(r(u,t))return u[t]}})}(),Mi(),function(){if(Ni)return Fi;Ni=1;var t=Zr(),r=Dt(),n=w(),e=Ve(),i=gr();t({target:"Object",stat:!0,forced:!r||n(function(){e.f(1)})},{getOwnPropertySymbols:function(t){var r=e.f;return r?r(i(t)):[]}})}()),te}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 Gi;var Hi;var Vi,Ji={};function Ki(){return Vi||(Vi=1,di()("iterator")),Ji}var Qi;var Zi;var $i;var to;var ro;var no;var eo,io={};function oo(){if(eo)return io;eo=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,Qn(),Li(),Ui(),Wi||(Wi=1,di()("asyncIterator")),Bi(),Gi||(Gi=1,di()("hasInstance")),Hi||(Hi=1,di()("isConcatSpreadable")),Ki(),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")),no||(no=1,di()("split")),oo(),function(){if(uo)return ao;uo=1;var t=Pt(),r=di(),n=mi();r("toStringTag"),n(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,To,Oo,Eo,Ao,Po,Io,jo,xo,Do,ko,Co,Mo,No,Ro,Fo,Lo,zo,qo,Uo,Wo,Yo,Xo,Bo,Go,Ho,Vo={};function Jo(){return yo?vo:(yo=1,vo=function(){})}function Ko(){return mo?go:(mo=1,go={})}function Qo(){if(_o)return bo;_o=1;var t=C(),r=mr(),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,i=r(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&e(n,"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(Oo)return To;Oo=1;var t=mr(),r=P(),n=gr(),e=De(),i=Zo(),o=e("IE_PROTO"),u=Object,a=u.prototype;return To=i?u.getPrototypeOf:function(e){var i=n(e);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,n,e=w(),i=P(),o=Et(),u=ke(),a=$o(),s=Je(),c=_r(),f=pr(),l=c("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(r=a(a(n)))!==Object.prototype&&(t=r):h=!0),!o(t)||e(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(Io)return Po;Io=1;var t=tu().IteratorPrototype,r=ke(),n=_t(),e=mi(),i=Ko(),o=function(){return this};return Po=function(u,a,s,c){var f=a+" Iterator";return u.prototype=r(t,{next:n(+!c,s)}),e(u,f,!1,!0),i[f]=o,u}}function nu(){if(xo)return jo;xo=1;var t=O(),r=Nt();return jo=function(n,e,i){try{return t(r(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(t){}}}function eu(){if(ko)return Do;ko=1;var t=Et();return Do=function(r){return t(r)||null===r}}function iu(){if(Mo)return Co;Mo=1;var t=eu(),r=String,n=TypeError;return Co=function(e){if(t(e))return e;throw new n("Can't set "+r(e)+" as a prototype")}}function ou(){if(Ro)return No;Ro=1;var t=nu(),r=Et(),n=Tt(),e=iu();return No=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 n(t),e(u),r(t)?(o?i(t,u):t.__proto__=u,t):t}}():void 0)}function uu(){if(Lo)return Fo;Lo=1;var t=Zr(),r=M(),n=pr(),e=Qo(),i=P(),o=ru(),u=$o(),a=ou(),s=mi(),c=Qr(),f=Je(),l=_r(),h=Ko(),p=tu(),v=e.PROPER,d=e.CONFIGURABLE,y=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=l("iterator"),b="keys",_="values",w="entries",S=function(){return this};return Fo=function(e,l,p,T,O,E,A){o(p,l,T);var P,I,j,x=function(t){if(t===O&&N)return N;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)}},D=l+" Iterator",k=!1,C=e.prototype,M=C[m]||C["@@iterator"]||O&&C[O],N=!g&&M||x(O),R="Array"===l&&C.entries||M;if(R&&(P=u(R.call(new e)))!==Object.prototype&&P.next&&(n||u(P)===y||(a?a(P,y):i(P[m])||f(P,m,S)),s(P,D,!0,!0),n&&(h[D]=S)),v&&O===_&&M&&M.name!==_&&(!n&&d?c(C,"name",_):(k=!0,N=function(){return r(M,this)})),O)if(I={values:x(_),keys:E?N:x(b),entries:x(w)},A)for(j in I)(g||k||!(j in C))&&f(C,j,I[j]);else t({target:l,proto:!0,forced:g||k},I);return n&&!A||C[m]===N||f(C,m,N,{name:O}),h[l]=N,I}}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=Ot(),r=Jo(),n=Ko(),e=_i(),i=Kr().f,o=uu(),u=au(),a=pr(),s=C(),c="Array Iterator",f=e.set,l=e.getterFor(c);Uo=o(Array,"Array",function(r,n){f(this,{type:c,target:t(r),index:0,kind:n})},function(){var t=l(this),r=t.target,n=t.index++;if(!r||n>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(r[n],!1)}return u([n,r[n]],!1)},"values");var h=n.Arguments=n.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 Vo;Bo=1,su();var t=cu(),r=_(),n=mi(),e=Ko();for(var i in t)n(r[i],i),e[i]=e.Array;return Vo}function lu(){if(Ho)return Go;Ho=1;var t=po();return fu(),Go=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=Kr().f,n=t("metadata"),e=Function.prototype;void 0===e[n]&&r(e,n,{value:null})}(),vu||(vu=1,Ui()),du||(du=1,Bi()),yu||(yu=1,di()("metadata")),gu=t}var _u,wu,Su;function Tu(){if(wu)return _u;wu=1;var t=Pt(),r=O(),n=t("Symbol"),e=n.keyFor,i=r(n.prototype.valueOf);return _u=n.isRegisteredSymbol||function(t){try{return void 0!==e(i(t))}catch(t){return!1}}}var Ou,Eu,Au;function Pu(){if(Eu)return Ou;Eu=1;for(var t=yr(),r=Pt(),n=O(),e=Ct(),i=_r(),o=r("Symbol"),u=o.isWellKnownSymbol,a=r("Object","getOwnPropertyNames"),s=n(o.prototype.valueOf),c=t("wks"),f=0,l=a(o),h=l.length;f<h;f++)try{var p=l[f];e(o[p])&&i(p)}catch(t){}return Ou=function(t){if(u&&u(t))return!0;try{for(var r=s(t),n=0,e=a(c),i=e.length;n<i;n++)if(c[e[n]]==r)return!0}catch(t){}return!1},Ou}var Iu;var ju;var xu;var Du;var ku;var Cu;var Mu;var Nu,Ru,Fu,Lu,zu;function qu(){if(Fu)return Ru;Fu=1;var t=bu();return Su||(Su=1,Zr()({target:"Symbol",stat:!0},{isRegisteredSymbol:Tu()})),Au||(Au=1,Zr()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Pu()})),Iu||(Iu=1,di()("customMatcher")),ju||(ju=1,di()("observable")),xu||(xu=1,Zr()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Tu()})),Du||(Du=1,Zr()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Pu()})),ku||(ku=1,di()("matcher")),Cu||(Cu=1,di()("metadataKey")),Mu||(Mu=1,di()("patternMatch")),Nu||(Nu=1,di()("replaceAll")),Ru=t}function Uu(){return zu?Lu:(zu=1,Lu=qu())}var Wu,Yu,Xu,Bu,Gu,Hu,Vu,Ju,Ku,Qu,Zu,$u,ta,ra=r(Uu()),na={};function ea(){if(Yu)return Wu;Yu=1;var t=O(),r=zn(),n=ne(),e=Tt(),i=t("".charAt),o=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,f,l=n(e(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 na;Xu=1;var t=ea().charAt,r=ne(),n=_i(),e=uu(),i=au(),o="String Iterator",u=n.set,a=n.getterFor(o);return e(String,"String",function(t){u(this,{type:o,string:r(t),index:0})},function(){var r,n=a(this),e=n.string,o=n.index;return o>=e.length?i(void 0,!0):(r=t(e,o),n.index+=r.length,i(r,!1))}),na}function oa(){return Gu?Bu:(Gu=1,su(),ia(),Ki(),Bu=vi().f("iterator"))}function ua(){if(Vu)return Hu;Vu=1;var t=oa();return fu(),Hu=t}function aa(){return Ku?Ju:(Ku=1,Ju=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 Ta(){return pa?ha:(pa=1,ha=Sa())}function Oa(){return da?va:(da=1,va=Ta())}function Ea(){return ga?ya:(ga=1,ya=Oa())}function Aa(){return ba?ma:(ba=1,ma=Ea())}var Pa=r(Aa());function Ia(t){var r=function(t,r){if("object"!=wa(t)||!t)return t;var n=t[Pa];if(void 0!==n){var e=n.call(t,r);if("object"!=wa(e))return e;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,n){return(r=Ia(r))in t?Nn(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var xa,Da,ka,Ca,Ma,Na,Ra,Fa,La,za,qa,Ua,Wa,Ya={};function Xa(){if(Da)return xa;Da=1;var t=O(),r=Nt(),n=Et(),e=mr(),i=qe(),o=S(),u=Function,a=t([].concat),s=t([].join),c={};return xa=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,n){if(!e(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,n)}(o,r.length,r):o.apply(t,r)};return n(f)&&(h.prototype=f),h},xa}function Ba(){if(Ma)return Ca;Ma=1;var t=_(),r=At();return Ca=function(n,e){var i=r[n+"Prototype"],o=i&&i[e];if(o)return o;var u=t[n],a=u&&u.prototype;return a&&a[e]}}function Ga(){return Ra?Na:(Ra=1,function(){if(ka)return Ya;ka=1;var t=Zr(),r=Xa();t({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})}(),Na=Ba()("Function","bind"))}function Ha(){if(La)return Fa;La=1;var t=It(),r=Ga(),n=Function.prototype;return Fa=function(e){var i=e.bind;return e===n||t(n,e)&&i===n.bind?r:i}}function Va(){return qa?za:(qa=1,za=Ha())}var Ja,Ka,Qa,Za,$a,ts,rs,ns,es,is,os,us,as,ss,cs,fs,ls,hs=r(Wa?Ua:(Wa=1,Ua=Va())),ps={};function vs(){if(Ka)return Ja;Ka=1;var t=Nt(),r=gr(),n=wt(),e=Un(),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=n(l),p=e(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 Ja={left:u(!1),right:u(!0)}}function ds(){if(Za)return Qa;Za=1;var t=w();return Qa=function(r,n){var e=[][r];return!!e&&t(function(){e.call(null,n||function(){return 1},1)})}}function ys(){if(ts)return $a;ts=1;var t=_(),r=jt(),n=E(),e=function(t){return r.slice(0,t.length)===t};return $a=e("Bun/")?"BUN":e("Cloudflare-Workers")?"CLOUDFLARE":e("Deno/")?"DENO":e("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function gs(){return ns?rs:(ns=1,rs="NODE"===ys())}function ms(){return os?is:(os=1,function(){if(es)return ps;es=1;var t=Zr(),r=vs().left,n=ds(),e=xt();t({target:"Array",proto:!0,forced:!gs()&&e>79&&e<83||!n("reduce")},{reduce:function(t){var n=arguments.length;return r(this,t,n,n>1?arguments[1]:void 0)}})}(),is=Ba()("Array","reduce"))}function bs(){if(as)return us;as=1;var t=It(),r=ms(),n=Array.prototype;return us=function(e){var i=e.reduce;return e===n||t(n,e)&&i===n.reduce?r:i}}function _s(){return cs?ss:(cs=1,ss=bs())}var ws,Ss,Ts,Os,Es,As,Ps,Is,js,xs=r(ls?fs:(ls=1,fs=_s())),Ds={};function ks(){return Ts?Ss:(Ts=1,function(){if(ws)return Ds;ws=1;var t=Zr(),r=wi().filter;t({target:"Array",proto:!0,forced:!Kn()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Ss=Ba()("Array","filter"))}function Cs(){if(Es)return Os;Es=1;var t=It(),r=ks(),n=Array.prototype;return Os=function(e){var i=e.filter;return e===n||t(n,e)&&i===n.filter?r:i}}function Ms(){return Ps?As:(Ps=1,As=Cs())}var Ns,Rs,Fs,Ls,zs,qs,Us,Ws,Ys,Xs=r(js?Is:(js=1,Is=Ms())),Bs={};function Gs(){return Fs?Rs:(Fs=1,function(){if(Ns)return Bs;Ns=1;var t=Zr(),r=wi().map;t({target:"Array",proto:!0,forced:!Kn()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Rs=Ba()("Array","map"))}function Hs(){if(zs)return Ls;zs=1;var t=It(),r=Gs(),n=Array.prototype;return Ls=function(e){var i=e.map;return e===n||t(n,e)&&i===n.map?r:i}}function Vs(){return Us?qs:(Us=1,qs=Hs())}var Js,Ks,Qs,Zs=r(Ys?Ws:(Ys=1,Ws=Vs())),$s={};function tc(){if(Ks)return Js;Ks=1;var t=Fn(),r=Un(),n=Wn(),e=Pr(),i=function(o,u,a,s,c,f,l,h){for(var p,v,d=c,y=0,g=!!l&&e(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):(n(d+1),o[d]=p),d++),y++;return d};return Js=i}var rc,nc,ec,ic,oc,uc,ac,sc,cc;function fc(){return ec?nc:(ec=1,function(){if(Qs)return $s;Qs=1;var t=Zr(),r=tc(),n=Nt(),e=gr(),i=Un(),o=Jn();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=e(this),s=i(a);return n(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,Jo()("flatMap")),nc=Ba()("Array","flatMap"))}function lc(){if(oc)return ic;oc=1;var t=It(),r=fc(),n=Array.prototype;return ic=function(e){var i=e.flatMap;return e===n||t(n,e)&&i===n.flatMap?r:i}}function hc(){return ac?uc:(ac=1,uc=lc())}var pc,vc,dc=r(cc?sc:(cc=1,sc=hc()));function yc(t){return new mc(t)}class gc{constructor(t,r,n){var e,i,o;ja(this,"_listeners",{add:hs(e=this._add).call(e,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=n}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 xs(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 mc{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=>dc(r).call(r,t)),this}to(t){return new gc(this._source,this._transformers,t)}}var bc,_c,wc,Sc,Tc,Oc,Ec,Ac,Pc,Ic=r(vc?pc:(vc=1,pc=lu())),jc={};function xc(){return wc?_c:(wc=1,function(){if(bc)return jc;bc=1;var t=Zr(),r=Fn(),n=Hn(),e=Et(),i=Te(),o=Un(),u=Ot(),a=Yn(),s=_r(),c=Kn(),f=qe(),l=c("slice"),h=s("species"),p=Array,v=Math.max;t({target:"Array",proto:!0,forced:!l},{slice:function(t,s){var c,l,d,y=u(this),g=o(y),m=i(t,g),b=i(void 0===s?g:s,g);if(r(y)&&(c=y.constructor,(n(c)&&(c===p||r(c.prototype))||e(c)&&null===(c=c[h]))&&(c=void 0),c===p||void 0===c))return f(y,m,b);for(l=new(void 0===c?p:c)(v(b-m,0)),d=0;m<b;m++,d++)m in y&&a(l,d,y[m]);return l.length=d,l}})}(),_c=Ba()("Array","slice"))}function Dc(){if(Tc)return Sc;Tc=1;var t=It(),r=xc(),n=Array.prototype;return Sc=function(e){var i=e.slice;return e===n||t(n,e)&&i===n.slice?r:i}}function kc(){return Ec?Oc:(Ec=1,Oc=Dc())}var Cc,Mc,Nc,Rc,Fc,Lc,zc,qc,Uc,Wc=r(Pc?Ac:(Pc=1,Ac=kc()));function Yc(){if(Mc)return Cc;Mc=1;var t=Pt(),r=O(),n=Ne(),e=Ve(),i=Jr(),o=r([].concat);return Cc=t("Reflect","ownKeys")||function(t){var r=n.f(i(t)),u=e.f;return u?o(r,u(t)):r},Cc}function Xc(){return Fc?Rc:(Fc=1,Nc||(Nc=1,Zr()({target:"Reflect",stat:!0},{ownKeys:Yc()})),Rc=At().Reflect.ownKeys)}function Bc(){return zc?Lc:(zc=1,Lc=Xc())}var Gc,Hc,Vc,Jc,Kc,Qc,Zc,$c=r(Uc?qc:(Uc=1,qc=Bc()));function tf(){return Vc?Hc:(Vc=1,Gc||(Gc=1,Zr()({target:"Array",stat:!0},{isArray:Fn()})),Hc=At().Array.isArray)}function rf(){return Kc?Jc:(Kc=1,Jc=tf())}var nf,ef,of,uf,af,sf,cf,ff=r(Zc?Qc:(Zc=1,Qc=rf())),lf={};function hf(){return of?ef:(of=1,function(){if(nf)return lf;nf=1;var t=Zr(),r=gr(),n=Ie();t({target:"Object",stat:!0,forced:w()(function(){n(1)})},{keys:function(t){return n(r(t))}})}(),ef=At().Object.keys)}function pf(){return af?uf:(af=1,uf=hf())}var vf,df,yf,gf,mf,bf,_f,wf,Sf,Tf,Of,Ef=r(cf?sf:(cf=1,sf=pf())),Af={};function Pf(){if(df)return vf;df=1;var t=wi().forEach,r=ds()("forEach");return vf=r?[].forEach:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)},vf}function If(){return mf?gf:(mf=1,function(){if(yf)return Af;yf=1;var t=Zr(),r=Pf();t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})}(),gf=Ba()("Array","forEach"))}function jf(){return _f?bf:(_f=1,bf=If())}function xf(){if(Sf)return wf;Sf=1;var t=Bn(),r=mr(),n=It(),e=jf(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return wf=function(u){var a=u.forEach;return u===i||n(i,u)&&a===i.forEach||r(o,t(u))?e:a}}var Df,kf,Cf,Mf,Nf,Rf,Ff,Lf,zf,qf=r(Of?Tf:(Of=1,Tf=xf())),Uf={};function Wf(){return Cf?kf:(Cf=1,function(){if(Df)return Uf;Df=1;var t=Zr(),r=O(),n=Fn(),e=r([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),e(this)}})}(),kf=Ba()("Array","reverse"))}function Yf(){if(Nf)return Mf;Nf=1;var t=It(),r=Wf(),n=Array.prototype;return Mf=function(e){var i=e.reverse;return e===n||t(n,e)&&i===n.reverse?r:i}}function Xf(){return Ff?Rf:(Ff=1,Rf=Yf())}var Bf,Gf,Hf,Vf,Jf,Kf,Qf,Zf,$f,tl,rl,nl,el,il=r(zf?Lf:(zf=1,Lf=Xf())),ol={};function ul(){if(Gf)return Bf;Gf=1;var t=C(),r=Fn(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return Bf=i?function(t,i){if(r(t)&&!e(t,"length").writable)throw new n("Cannot set read only .length");return t.length=i}:function(t,r){return t.length=r}}function al(){if(Vf)return Hf;Vf=1;var t=Mt(),r=TypeError;return Hf=function(n,e){if(!delete n[e])throw new r("Cannot delete property "+t(e)+" of "+t(n))}}function sl(){return Qf?Kf:(Qf=1,function(){if(Jf)return ol;Jf=1;var t=Zr(),r=gr(),n=Te(),e=zn(),i=Un(),o=ul(),u=Wn(),a=Jn(),s=Yn(),c=al(),f=Kn()("splice"),l=Math.max,h=Math.min;t({target:"Array",proto:!0,forced:!f},{splice:function(t,f){var p,v,d,y,g,m,b=r(this),_=i(b),w=n(t,_),S=arguments.length;for(0===S?p=v=0:1===S?(p=0,v=_-w):(p=S-2,v=h(l(e(f),0),_-w)),u(_+p-v),d=a(b,v),y=0;y<v;y++)(g=w+y)in b&&s(d,y,b[g]);if(d.length=v,p<v){for(y=w;y<_-v;y++)m=y+p,(g=y+v)in b?b[m]=b[g]:c(b,m);for(y=_;y>_-v+p;y--)c(b,y-1)}else if(p>v)for(y=_-v;y>w;y--)m=y+p-1,(g=y+v-1)in b?b[m]=b[g]:c(b,m);for(y=0;y<p;y++)b[y+w]=arguments[y+2];return o(b,_-v+p),d}})}(),Kf=Ba()("Array","splice"))}function cl(){if($f)return Zf;$f=1;var t=It(),r=sl(),n=Array.prototype;return Zf=function(e){var i=e.splice;return e===n||t(n,e)&&i===n.splice?r:i}}function fl(){return rl?tl:(rl=1,tl=cl())}var ll,hl,pl,vl,dl,yl,gl,ml,bl,_l=r(el?nl:(el=1,nl=fl())),wl={};function Sl(){if(hl)return ll;hl=1;var t=C(),r=O(),n=M(),e=w(),i=Ie(),o=Ve(),u=bt(),a=gr(),s=wt(),c=Object.assign,f=Object.defineProperty,l=r([].concat);return ll=!c||e(function(){if(t&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var r={},n={},e=Symbol("assign detection"),o="abcdefghijklmnopqrst";return r[e]=7,o.split("").forEach(function(t){n[t]=t}),7!==c({},r)[e]||i(c({},n)).join("")!==o})?function(r,e){for(var c=a(r),f=arguments.length,h=1,p=o.f,v=u.f;f>h;)for(var d,y=s(arguments[h++]),g=p?l(i(y),p(y)):i(y),m=g.length,b=0;m>b;)d=g[b++],t&&!n(v,y,d)||(c[d]=y[d]);return c}:c,ll}function Tl(){return dl?vl:(dl=1,function(){if(pl)return wl;pl=1;var t=Zr(),r=Sl();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})}(),vl=At().Object.assign)}function Ol(){return gl?yl:(gl=1,yl=Tl())}var El,Al,Pl,Il,jl,xl,Dl,kl,Cl=r(bl?ml:(bl=1,ml=Ol()));function Ml(){return Al?El:(Al=1,Qn(),El=Ba()("Array","concat"))}function Nl(){if(Il)return Pl;Il=1;var t=It(),r=Ml(),n=Array.prototype;return Pl=function(e){var i=e.concat;return e===n||t(n,e)&&i===n.concat?r:i}}function Rl(){return xl?jl:(xl=1,jl=Nl())}var Fl,Ll,zl,ql,Ul,Wl,Yl,Xl=r(kl?Dl:(kl=1,Dl=Rl()));function Bl(){if(zl)return Ll;zl=1,Fl||(Fl=1,Zr()({target:"Object",stat:!0,sham:!C()},{create:ke()}));var t=At().Object;return Ll=function(r,n){return t.create(r,n)}}function Gl(){return Ul?ql:(Ul=1,ql=Bl())}var Hl,Vl,Jl,Kl,Ql,Zl,$l,th,rh,nh,eh,ih,oh,uh=r(Yl?Wl:(Yl=1,Wl=Gl())),ah={};function sh(){if(Vl)return Hl;Vl=1;var t=zn(),r=ne(),n=Tt(),e=RangeError;return Hl=function(i){var o=r(n(this)),u="",a=t(i);if(a<0||a===1/0)throw new e("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(o+=o))1&a&&(u+=o);return u}}function ch(){if(Kl)return Jl;Kl=1;var t=O(),r=qn(),n=ne(),e=sh(),i=Tt(),o=t(e),u=t("".slice),a=Math.ceil,s=function(t){return function(e,s,c){var f,l,h=n(i(e)),p=r(s),v=h.length,d=void 0===c?" ":n(c);return p<=v||""===d?h:((l=o(d,a((f=p-v)/d.length))).length>f&&(l=u(l,0,f)),t?h+l:l+h)}};return Jl={start:s(!1),end:s(!0)}}function fh(){if(Zl)return Ql;Zl=1;var t=O(),r=w(),n=ch().start,e=RangeError,i=isFinite,o=Math.abs,u=Date.prototype,a=u.toISOString,s=t(u.getTime),c=t(u.getUTCDate),f=t(u.getUTCFullYear),l=t(u.getUTCHours),h=t(u.getUTCMilliseconds),p=t(u.getUTCMinutes),v=t(u.getUTCMonth),d=t(u.getUTCSeconds);return Ql=r(function(){return"0385-07-25T07:06:39.999Z"!==a.call(new Date(-50000000000001))})||!r(function(){a.call(new Date(NaN))})?function(){if(!i(s(this)))throw new e("Invalid time value");var t=this,r=f(t),u=h(t),a=r<0?"-":r>9999?"+":"";return a+n(o(r),a?6:4,0)+"-"+n(v(t)+1,2,0)+"-"+n(c(t),2,0)+"T"+n(l(t),2,0)+":"+n(p(t),2,0)+":"+n(d(t),2,0)+"."+n(u,3,0)+"Z"}:a}function lh(){if(rh)return th;rh=1,function(){if($l)return ah;$l=1;var t=Zr(),r=M(),n=gr(),e=wr(),i=fh(),o=E();t({target:"Date",proto:!0,forced:w()(function(){return null!==new Date(NaN).toJSON()||1!==r(Date.prototype.toJSON,{toISOString:function(){return 1}})})},{toJSON:function(t){var u=n(this),a=e(u,"number");return"number"!=typeof a||isFinite(a)?"toISOString"in u||"Date"!==o(u)?u.toISOString():r(i,u):null}})}(),Mi();var t=At(),r=T();return t.JSON||(t.JSON={stringify:JSON.stringify}),th=function(n,e,i){return r(t.JSON.stringify,null,arguments)},th}function hh(){return eh?nh:(eh=1,nh=lh())}var ph,vh,dh,yh,gh,mh=r(oh?ih:(oh=1,ih=hh())),bh={},_h={};function wh(){if(vh)return ph;vh=1;var t=TypeError;return ph=function(r,n){if(r<n)throw new t("Not enough arguments");return r}}function Sh(){if(yh)return dh;yh=1;var t,r=_(),n=T(),e=P(),i=ys(),o=jt(),u=qe(),a=wh(),s=r.Function,c=/MSIE .\./.test(o)||"BUN"===i&&((t=r.Bun.version.split(".")).length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2]));return dh=function(t,r){var i=r?2:1;return c?function(o,c){var f=a(arguments.length,1)>i,l=e(o)?o:s(o),h=f?u(arguments,i):[],p=f?function(){n(l,this,h)}:l;return r?t(p,c):t(p)}:t},dh}var Th,Oh,Eh,Ah,Ph,Ih,jh={};function xh(){return Oh||(Oh=1,function(){if(gh)return _h;gh=1;var t=Zr(),r=_(),n=Sh()(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==n},{setInterval:n})}(),function(){if(Th)return jh;Th=1;var t=Zr(),r=_(),n=Sh()(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==n},{setTimeout:n})}()),bh}function Dh(){return Ah?Eh:(Ah=1,xh(),Eh=At().setTimeout)}var kh,Ch=r(Ih?Ph:(Ih=1,Ph=Dh())),Mh={exports:{}};function Nh(){return kh||(kh=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 n=this._callbacks.get(t)??[];return n.push(r),this._callbacks.set(t,n),this},r.prototype.once=function(t,r){const n=(...e)=>{this.off(t,n),r.apply(this,e)};return n.fn=r,this.on(t,n),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 n=this._callbacks.get(t);if(n){for(const[t,e]of n.entries())if(e===r||e.fn===r){n.splice(t,1);break}0===n.length?this._callbacks.delete(t):this._callbacks.set(t,n)}return this},r.prototype.emit=function(t,...r){const n=this._callbacks.get(t);if(n){const t=[...n];for(const n of t)n.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}(Mh)),Mh.exports}var Rh=r(Nh());
|
|
26
|
+
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 n,e,i,o,u,a,s,c,f,l,h,p,v,d,y,g,m={exports:{}},b={};function _(){if(e)return n;e=1;var r=function(t){return t&&t.Math===Math&&t};return n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof n&&n)||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,n=r.apply,e=r.call;return s="object"==typeof Reflect&&Reflect.apply||(t?e.bind(n):function(){return e.apply(n,arguments)}),s}function T(){if(l)return f;l=1;var t=S(),r=Function.prototype,n=r.call,e=t&&r.bind.bind(n,n);return f=t?e:function(t){return function(){return n.apply(t,arguments)}},f}function E(){if(p)return h;p=1;var t=T(),r=t({}.toString),n=t("".slice);return h=function(t){return n(r(t),8,-1)}}function A(){if(d)return v;d=1;var t=E(),r=T();return v=function(n){if("Function"===t(n))return r(n)}}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 j,P,x,D,k={};function C(){return P?j:(P=1,j=!w()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function M(){if(D)return x;D=1;var t=S(),r=Function.prototype.call;return x=t?r.bind(r):function(){return r.apply(r,arguments)},x}var N,R,F,L,z,q,U,W,Y,X,B,G,J,H,V,K,Q,$,Z,tt,rt,nt,et,it,ot,ut,at,st,ct,ft,lt,ht,pt,vt,dt,yt,gt,mt={};function bt(){if(N)return mt;N=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);return mt.f=n?function(t){var n=r(this,t);return!!n&&n.enumerable}:t,mt}function _t(){return F?R:(F=1,R=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function wt(){if(z)return L;z=1;var t=T(),r=w(),n=E(),e=Object,i=t("".split);return L=r(function(){return!e("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?i(t,""):e(t)}:e}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(n){if(t(n))throw new r("Can't call method on "+n);return n}}function Tt(){if(B)return X;B=1;var t=wt(),r=Ot();return X=function(n){return t(r(n))}}function Et(){if(J)return G;J=1;var t=I();return G=function(r){return"object"==typeof r?null!==r:t(r)}}function At(){return V?H:(V=1,H={})}function It(){if(Q)return K;Q=1;var t=At(),r=_(),n=I(),e=function(t){return n(t)?t:void 0};return K=function(n,i){return arguments.length<2?e(t[n])||e(r[n]):t[n]&&t[n][i]||r[n]&&r[n][i]},K}function jt(){return Z?$:(Z=1,$=T()({}.isPrototypeOf))}function Pt(){if(rt)return tt;rt=1;var t=_().navigator,r=t&&t.userAgent;return tt=r?String(r):""}function xt(){if(et)return nt;et=1;var t,r,n=_(),e=Pt(),i=n.process,o=n.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&&e&&(!(t=e.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=e.match(/Chrome\/(\d+)/))&&(r=+t[1]),nt=r}function Dt(){if(ot)return it;ot=1;var t=xt(),r=w(),n=_().String;return it=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!n(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}),it}function kt(){return at?ut:(at=1,ut=Dt()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Ct(){if(ct)return st;ct=1;var t=It(),r=I(),n=jt(),e=Object;return st=kt()?function(t){return"symbol"==typeof t}:function(i){var o=t("Symbol");return r(o)&&n(o.prototype,e(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 Nt(){if(pt)return ht;pt=1;var t=I(),r=Mt(),n=TypeError;return ht=function(e){if(t(e))return e;throw new n(r(e)+" is not a function")}}function Rt(){if(dt)return vt;dt=1;var t=Nt(),r=St();return vt=function(n,e){var i=n[e];return r(i)?void 0:t(i)}}function Ft(){if(gt)return yt;gt=1;var t=M(),r=I(),n=Et(),e=TypeError;return yt=function(i,o){var u,a;if("string"===o&&r(u=i.toString)&&!n(a=t(u,i)))return a;if(r(u=i.valueOf)&&!n(a=t(u,i)))return a;if("string"!==o&&r(u=i.toString)&&!n(a=t(u,i)))return a;throw new e("Can't convert object to primitive value")}}var Lt,zt,qt,Ut,Wt,Yt,Xt,Bt,Gt,Jt,Ht,Vt,Kt,Qt,$t,Zt,tr,rr,nr,er,ir,or,ur,ar,sr,cr,fr,lr,hr={exports:{}};function pr(){return zt?Lt:(zt=1,Lt=!0)}function vr(){if(Ut)return qt;Ut=1;var t=_(),r=Object.defineProperty;return qt=function(n,e){try{r(t,n,{value:e,configurable:!0,writable:!0})}catch(r){t[n]=e}return e}}function dr(){if(Wt)return hr.exports;Wt=1;var t=pr(),r=_(),n=vr(),e="__core-js_shared__",i=hr.exports=r[e]||n(e,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:t?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.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,n){return t[r]||(t[r]=n||{})}}function gr(){if(Gt)return Bt;Gt=1;var t=Ot(),r=Object;return Bt=function(n){return r(t(n))}}function mr(){if(Ht)return Jt;Ht=1;var t=T(),r=gr(),n=t({}.hasOwnProperty);return Jt=Object.hasOwn||function(t,e){return n(r(t),e)}}function br(){if(Kt)return Vt;Kt=1;var t=T(),r=0,n=Math.random(),e=t(1.1.toString);return Vt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+n,36)}}function _r(){if($t)return Qt;$t=1;var t=_(),r=yr(),n=mr(),e=br(),i=Dt(),o=kt(),u=t.Symbol,a=r("wks"),s=o?u.for||u:u&&u.withoutSetter||e;return Qt=function(t){return n(a,t)||(a[t]=i&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function wr(){if(tr)return Zt;tr=1;var t=M(),r=Et(),n=Ct(),e=Rt(),i=Ft(),o=TypeError,u=_r()("toPrimitive");return Zt=function(a,s){if(!r(a)||n(a))return a;var c,f=e(a,u);if(f){if(void 0===s&&(s="default"),c=t(f,a,s),!r(c)||n(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(nr)return rr;nr=1;var t=wr(),r=Ct();return rr=function(n){var e=t(n,"string");return r(e)?e:e+""}}function Or(){if(ir)return er;ir=1;var t=_(),r=Et(),n=t.document,e=r(n)&&r(n.createElement);return er=function(t){return e?n.createElement(t):{}}}function Tr(){if(ur)return or;ur=1;var t=C(),r=w(),n=Or();return or=!t&&!r(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Er(){if(ar)return k;ar=1;var t=C(),r=M(),n=bt(),e=_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 e(!r(n.f,t,c),t[c])},k}function Ar(){if(cr)return sr;cr=1;var t=w(),r=I(),n=/#|\.prototype\./,e=function(n,e){var s=o[i(n)];return s===a||s!==u&&(r(e)?t(e):!!e)},i=e.normalize=function(t){return String(t).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",a=e.POLYFILL="P";return sr=e}function Ir(){if(lr)return fr;lr=1;var t=A(),r=Nt(),n=S(),e=t(t.bind);return fr=function(t,i){return r(t),void 0===i?t:n?e(t,i):function(){return t.apply(i,arguments)}},fr}var jr,Pr,xr,Dr,kr,Cr,Mr,Nr,Rr,Fr,Lr,zr,qr,Ur,Wr,Yr,Xr,Br,Gr,Jr={};function Hr(){return Pr?jr:(Pr=1,jr=C()&&w()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function Vr(){if(Dr)return xr;Dr=1;var t=Et(),r=String,n=TypeError;return xr=function(e){if(t(e))return e;throw new n(r(e)+" is not an object")}}function Kr(){if(kr)return Jr;kr=1;var t=C(),r=Tr(),n=Hr(),e=Vr(),i=Sr(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",f="writable";return Jr.f=t?n?function(t,r,n){if(e(t),r=i(r),e(n),"function"==typeof t&&"prototype"===r&&"value"in n&&f in n&&!n[f]){var o=a(t,r);o&&o[f]&&(t[r]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:s in n?n[s]:o[s],writable:!1})}return u(t,r,n)}:u:function(t,n,a){if(e(t),n=i(n),e(a),r)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(t[n]=a.value),t},Jr}function Qr(){if(Mr)return Cr;Mr=1;var t=C(),r=Kr(),n=_t();return Cr=t?function(t,e,i){return r.f(t,e,n(1,i))}:function(t,r,n){return t[r]=n,t}}function $r(){if(Rr)return Nr;Rr=1;var t=_(),r=O(),n=A(),e=I(),i=Er().f,o=Ar(),u=At(),a=Ir(),s=Qr(),c=mr(),f=function(t){var n=function(e,i,o){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,o)}return r(t,this,arguments)};return n.prototype=t.prototype,n};return Nr=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&&e(y)?n(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 Zr(){if(Fr)return b;Fr=1;var t=$r(),r=C(),n=Kr().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n}),b}function tn(){if(Lr)return m.exports;Lr=1,Zr();var t=At().Object,r=m.exports=function(r,n,e){return t.defineProperty(r,n,e)};return t.defineProperty.sham&&(r.sham=!0),m.exports}function rn(){return qr?zr:(qr=1,zr=tn())}function nn(){return Wr?Ur:(Wr=1,Ur=rn())}function en(){return Xr?Yr:(Xr=1,Yr=nn())}function on(){return Gr?Br:(Gr=1,Br=en())}var un,an,sn,cn,fn,ln,hn,pn,vn,dn,yn,gn,mn,bn,_n,wn,Sn,On,Tn,En,An,In,jn,Pn,xn,Dn,kn,Cn,Mn,Nn,Rn,Fn=r(on()),Ln={};function zn(){if(an)return un;an=1;var t=E();return un=Array.isArray||function(r){return"Array"===t(r)}}function qn(){if(cn)return sn;cn=1;var t=Math.ceil,r=Math.floor;return sn=Math.trunc||function(n){var e=+n;return(e>0?r:t)(e)}}function Un(){if(ln)return fn;ln=1;var t=qn();return fn=function(r){var n=+r;return n!=n||0===n?0:t(n)}}function Wn(){if(pn)return hn;pn=1;var t=Un(),r=Math.min;return hn=function(n){var e=t(n);return e>0?r(e,9007199254740991):0}}function Yn(){if(dn)return vn;dn=1;var t=Wn();return vn=function(r){return t(r.length)}}function Xn(){if(gn)return yn;gn=1;var t=TypeError;return yn=function(r){if(r>9007199254740991)throw new t("Maximum allowed index exceeded");return r}}function Bn(){if(bn)return mn;bn=1;var t=C(),r=Kr(),n=_t();return mn=function(e,i,o){t?r.f(e,i,n(0,o)):e[i]=o}}function Gn(){if(wn)return _n;wn=1;var t=C(),r=zn(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return _n=i?function(t,i){if(r(t)&&!e(t,"length").writable)throw new n("Cannot set read only .length");return t.length=i}:function(t,r){return t.length=r}}function Jn(){if(On)return Sn;On=1;var t={};return t[_r()("toStringTag")]="z",Sn="[object z]"===String(t)}function Hn(){if(En)return Tn;En=1;var t=Jn(),r=I(),n=E(),e=_r()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return Tn=t?n: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),e))?a:o?n(u):"Object"===(s=n(u))&&r(u.callee)?"Arguments":s}}function Vn(){if(In)return An;In=1;var t=T(),r=I(),n=dr(),e=t(Function.toString);return r(n.inspectSource)||(n.inspectSource=function(t){return e(t)}),An=n.inspectSource}function Kn(){if(Pn)return jn;Pn=1;var t=T(),r=w(),n=I(),e=Hn(),i=It(),o=Vn(),u=function(){},a=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),f=!s.test(u),l=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},h=function(t){if(!n(t))return!1;switch(e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!c(s,o(t))}catch(t){return!0}};return h.sham=!0,jn=!a||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?h:l}function Qn(){if(Dn)return xn;Dn=1;var t=zn(),r=Kn(),n=Et(),e=_r()("species"),i=Array;return xn=function(o){var u;return t(o)&&(u=o.constructor,(r(u)&&(u===i||t(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?i:u}}function $n(){if(Cn)return kn;Cn=1;var t=Qn();return kn=function(r,n){return new(t(r))(0===n?0:n)}}function Zn(){if(Nn)return Mn;Nn=1;var t=w(),r=_r(),n=xt(),e=r("species");return Mn=function(r){return n>=51||!t(function(){var t=[];return(t.constructor={})[e]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}function te(){if(Rn)return Ln;Rn=1;var t=$r(),r=w(),n=zn(),e=Et(),i=gr(),o=Yn(),u=Xn(),a=Bn(),s=Gn(),c=$n(),f=Zn(),l=_r(),h=xt(),p=l("isConcatSpreadable"),v=h>=51||!r(function(){var t=[];return t[p]=!1,t.concat()[0]!==t}),d=function(t){if(!e(t))return!1;var r=t[p];return void 0!==r?!!r:n(t)};return t({target:"Array",proto:!0,arity:1,forced:!v||!f("concat")},{concat:function(t){var r,n,e,f,l,h=i(this),p=c(h,0),v=0;for(r=-1,e=arguments.length;r<e;r++)if(d(l=-1===r?h:arguments[r]))for(f=o(l),u(v+f),n=0;n<f;n++,v++)n in l&&a(p,v,l[n]);else u(v+1),a(p,v++,l);return s(p,v),p}}),Ln}var re,ne,ee={},ie={};function oe(){if(ne)return re;ne=1;var t=Hn(),r=String;return re=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}}var ue,ae,se,ce,fe,le,he,pe,ve,de,ye,ge,me,be,_e,we,Se,Oe,Te,Ee={};function Ae(){if(ae)return ue;ae=1;var t=Un(),r=Math.max,n=Math.min;return ue=function(e,i){var o=t(e);return o<0?r(o+i,0):n(o,i)}}function Ie(){if(ce)return se;ce=1;var t=Tt(),r=Ae(),n=Yn(),e=function(e){return function(i,o,u){var a=t(i),s=n(a);if(0===s)return!e&&-1;var c,f=r(u,s);if(e&&o!=o){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((e||f in a)&&a[f]===o)return e||f||0;return!e&&-1}};return se={includes:e(!0),indexOf:e(!1)}}function je(){return le?fe:(le=1,fe={})}function Pe(){if(pe)return he;pe=1;var t=T(),r=mr(),n=Tt(),e=Ie().indexOf,i=je(),o=t([].push);return he=function(t,u){var a,s=n(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++])&&(~e(f,a)||o(f,a));return f}}function xe(){return de?ve:(de=1,ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function De(){if(ge)return ye;ge=1;var t=Pe(),r=xe();return ye=Object.keys||function(n){return t(n,r)}}function ke(){if(me)return Ee;me=1;var t=C(),r=Hr(),n=Kr(),e=Vr(),i=Tt(),o=De();return Ee.f=t&&!r?Object.defineProperties:function(t,r){e(t);for(var u,a=i(r),s=o(r),c=s.length,f=0;c>f;)n.f(t,u=s[f++],a[u]);return t},Ee}function Ce(){return _e?be:(_e=1,be=It()("document","documentElement"))}function Me(){if(Se)return we;Se=1;var t=yr(),r=br(),n=t("keys");return we=function(t){return n[t]||(n[t]=r(t))}}function Ne(){if(Te)return Oe;Te=1;var t,r=Vr(),n=ke(),e=xe(),i=je(),o=Ce(),u=Or(),a="prototype",s="script",c=Me()("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,n,i;p="undefined"!=typeof document?document.domain&&t?h(t):(n=u("iframe"),i="java"+s+":",n.style.display="none",o.appendChild(n),n.src=String(i),(r=n.contentWindow.document).open(),r.write(l("document.F=Object")),r.close(),r.F):h(t);for(var c=e.length;c--;)delete p[a][e[c]];return p()};return i[c]=!0,Oe=Object.create||function(t,e){var i;return null!==t?(f[a]=r(t),i=new f,f[a]=null,i[c]=t):i=p(),void 0===e?i:n.f(i,e)}}var Re,Fe={};function Le(){if(Re)return Fe;Re=1;var t=Pe(),r=xe().concat("length","prototype");return Fe.f=Object.getOwnPropertyNames||function(n){return t(n,r)},Fe}var ze,qe,Ue,We={};function Ye(){return qe?ze:(qe=1,ze=T()([].slice))}function Xe(){if(Ue)return We;Ue=1;var t=E(),r=Tt(),n=Le().f,e=Ye(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return We.f=function(o){return i&&"Window"===t(o)?function(t){try{return n(t)}catch(t){return e(i)}}(o):n(r(o))},We}var Be,Ge,Je,He,Ve,Ke={};function Qe(){return Be||(Be=1,Ke.f=Object.getOwnPropertySymbols),Ke}function $e(){if(Je)return Ge;Je=1;var t=Qr();return Ge=function(r,n,e,i){return i&&i.enumerable?r[n]=e:t(r,n,e),r}}function Ze(){if(Ve)return He;Ve=1;var t=Kr();return He=function(r,n,e){return t.f(r,n,e)}}var ti,ri,ni,ei,ii,oi,ui,ai,si,ci,fi,li,hi,pi,vi,di,yi={};function gi(){if(ti)return yi;ti=1;var t=_r();return yi.f=t,yi}function mi(){if(ni)return ri;ni=1;var t=At(),r=mr(),n=gi(),e=Kr().f;return ri=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||e(o,i,{value:n.f(i)})}}function bi(){if(ii)return ei;ii=1;var t=M(),r=It(),n=_r(),e=$e();return ei=function(){var i=r("Symbol"),o=i&&i.prototype,u=o&&o.valueOf,a=n("toPrimitive");o&&!o[a]&&e(o,a,function(r){return t(u,this)},{arity:1})}}function _i(){if(ui)return oi;ui=1;var t=Jn(),r=Hn();return oi=t?{}.toString:function(){return"[object "+r(this)+"]"}}function wi(){if(si)return ai;si=1;var t=Jn(),r=Kr().f,n=Qr(),e=mr(),i=_i(),o=_r()("toStringTag");return ai=function(u,a,s,c){var f=s?u:u&&u.prototype;f&&(e(f,o)||r(f,o,{configurable:!0,value:a}),c&&!t&&n(f,"toString",i))}}function Si(){if(fi)return ci;fi=1;var t=_(),r=I(),n=t.WeakMap;return ci=r(n)&&/native code/.test(String(n))}function Oi(){if(hi)return li;hi=1;var t,r,n,e=Si(),i=_(),o=Et(),u=Qr(),a=mr(),s=dr(),c=Me(),f=je(),l="Object already initialized",h=i.TypeError,p=i.WeakMap;if(e||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)||{}},n=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]:{}},n=function(t){return a(t,d)}}return li={set:t,get:r,has:n,enforce:function(e){return n(e)?r(e):t(e,{})},getterFor:function(t){return function(n){var e;if(!o(n)||(e=r(n)).type!==t)throw new h("Incompatible receiver, "+t+" required");return e}}}}function Ti(){if(vi)return pi;vi=1;var t=Ir(),r=wt(),n=gr(),e=Yn(),i=$n(),o=Bn(),u=function(u){var a=1===u,s=2===u,c=3===u,f=4===u,l=6===u,h=7===u,p=5===u||l;return function(v,d,y){for(var g,m,b=n(v),_=r(b),w=e(_),S=t(d,y),O=0,T=0,E=a?i(v,w):s||h?i(v,0):void 0;w>O;O++)if((p||O in _)&&(m=S(g=_[O],O,b),u))if(a)o(E,O,m);else if(m)switch(u){case 3:return!0;case 5:return g;case 6:return O;case 2:o(E,T++,g)}else switch(u){case 4:return!1;case 7:o(E,T++,g)}return l?-1:c||f?f:E}};return pi={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}}var Ei,Ai,Ii,ji={};function Pi(){return Ai?Ei:(Ai=1,Ei=Dt()&&!!Symbol.for&&!!Symbol.keyFor)}var xi,Di={};var ki,Ci,Mi,Ni,Ri,Fi,Li,zi={};function qi(){if(Ci)return ki;Ci=1;var t=Et(),r=Oi().get;return ki=function(n){if(!t(n))return!1;var e=r(n);return!!e&&"RawJSON"===e.type}}function Ui(){if(Ni)return Mi;Ni=1;var t=T(),r=mr(),n=SyntaxError,e=parseInt,i=String.fromCharCode,o=t("".charAt),u=t("".slice),a=t(/./.exec),s={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,f=/^[\u0000-\u001F]$/;return Mi=function(t,l){for(var h=!0,p="";l<t.length;){var v=o(t,l);if("\\"===v){var d=u(t,l,l+2);if(r(s,d))p+=s[d],l+=2;else{if("\\u"!==d)throw new n('Unknown escape sequence: "'+d+'"');var y=u(t,l+=2,l+4);if(!a(c,y))throw new n("Bad Unicode escape at: "+l);p+=i(e(y,16)),l+=4}}else{if('"'===v){h=!1,l++;break}if(a(f,v))throw new n("Bad control character in string literal at: "+l);p+=v,l++}}if(h)throw new n("Unterminated string at: "+l);return{value:p,end:l}}}function Wi(){return Fi?Ri:(Fi=1,Ri=!w()(function(){var t="9007199254740993",r=JSON.rawJSON(t);return!JSON.isRawJSON(r)||JSON.stringify(r)!==t}))}function Yi(){if(Li)return zi;Li=1;var t=$r(),r=It(),n=O(),e=M(),i=T(),o=w(),u=zn(),a=I(),s=qi(),c=Ct(),f=E(),l=oe(),h=Ye(),p=Ui(),v=br(),d=Dt(),y=Wi(),g=String,m=r("JSON","stringify"),b=i(/./.exec),_=i("".charAt),S=i("".charCodeAt),A=i("".replace),j=i("".slice),P=i([].push),x=i(1.1.toString),D=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,C=/^[\uDC00-\uDFFF]$/,N=v(),R=N.length,F=!d||o(function(){var t=r("Symbol")("stringify detection");return"[null]"!==m([t])||"{}"!==m({a:t})||"{}"!==m(Object(t))}),L=o(function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")}),z=F?function(t,r){var i=h(arguments),o=U(r);if(a(o)||void 0!==t&&!c(t))return i[1]=function(t,r){if(a(o)&&(r=e(o,this,g(t),r)),!c(r))return r},n(m,null,i)}:m,q=function(t,r,n){var e=_(n,r-1),i=_(n,r+1);return b(k,t)&&!b(C,i)||b(C,t)&&!b(k,e)?"\\u"+x(S(t,0),16):t},U=function(t){if(a(t))return t;if(u(t)){for(var r=t.length,n=[],e=0;e<r;e++){var i=t[e];"string"==typeof i?P(n,i):"number"!=typeof i&&"Number"!==f(i)&&"String"!==f(i)||P(n,l(i))}var o=n.length,s=!0;return function(t,r){if(s)return s=!1,r;if(u(this))return r;for(var e=0;e<o;e++)if(n[e]===t)return r}}};return m&&t({target:"JSON",stat:!0,arity:3,forced:F||L||!y},{stringify:function(t,r,n){var i=U(r),o=[],u=z(t,function(t,r){var n=a(i)?e(i,this,g(t),r):r;return!y&&s(n)?N+(P(o,n.rawJSON)-1):n},n);if("string"!=typeof u)return u;if(L&&(u=A(u,D,q)),y)return u;for(var c="",f=u.length,l=0;l<f;l++){var h=_(u,l);if('"'===h){var v=p(u,++l).end-1,d=j(u,l,v);c+=j(d,0,R)===N?o[j(d,R)]:'"'+d+'"',l=v}else c+=h}return c}}),zi}var Xi,Bi,Gi={};function Ji(){return Bi||(Bi=1,function(){if(di)return ie;di=1;var t=$r(),r=_(),n=M(),e=T(),i=pr(),o=C(),u=Dt(),a=w(),s=mr(),c=jt(),f=Vr(),l=Tt(),h=Sr(),p=oe(),v=_t(),d=Ne(),y=De(),g=Le(),m=Xe(),b=Qe(),S=Er(),O=Kr(),E=ke(),A=bt(),I=$e(),j=Ze(),P=yr(),x=Me(),D=je(),k=br(),N=_r(),R=gi(),F=mi(),L=bi(),z=wi(),q=Oi(),U=Ti().forEach,W=x("hidden"),Y="Symbol",X="prototype",B=q.set,G=q.getterFor(Y),J=Object[X],H=r.Symbol,V=H&&H[X],K=r.RangeError,Q=r.TypeError,$=r.QObject,Z=S.f,tt=O.f,rt=m.f,nt=A.f,et=e([].push),it=P("symbols"),ot=P("op-symbols"),ut=P("wks"),at=!$||!$[X]||!$[X].findChild,st=function(t,r,n){var e=Z(J,r);return e&&delete J[r],tt(t,r,n),e&&t!==J&&tt(J,r,e),t},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 n=it[t]=d(V);return B(n,{type:Y,tag:t,description:r}),o||(n.description=r),n},lt=function(t,r,n){t===J&<(ot,r,n),f(t);var e=h(r);return f(n),s(it,e)?(("enumerable"in n?!n.enumerable:!s(t,e)||s(t,W)&&t[W][e])?(s(t,W)||tt(t,W,v(1,d(null))),t[W][e]=!0):(s(t,W)&&t[W][e]&&(t[W][e]=!1),n=d(n,{enumerable:v(0,!1)})),ct(t,e,n)):tt(t,e,n)},ht=function(t,r){f(t);var e=l(r),i=y(e).concat(yt(e));return U(i,function(r){o&&!n(pt,e,r)||lt(t,r,e[r])}),t},pt=function(t){var r=h(t),e=n(nt,this,r);return!(this===J&&s(it,r)&&!s(ot,r))&&(!(e||!s(this,r)||!s(it,r)||s(this,W)&&this[W][r])||e)},vt=function(t,r){var n=l(t),e=h(r);if(n!==J||!s(it,e)||s(ot,e)){var i=Z(n,e);return!i||!s(it,e)||s(n,W)&&n[W][e]||(i.enumerable=!0),i}},dt=function(t){var r=rt(l(t)),n=[];return U(r,function(t){s(it,t)||s(D,t)||et(n,t)}),n},yt=function(t){var r=t===J,n=rt(r?ot:l(t)),e=[];return U(n,function(t){!s(it,t)||r&&!s(J,t)||et(e,it[t])}),e};u||(H=function(){if(c(V,this))throw new Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,e=k(t),i=function(t){var o=void 0===this?r:this;o===J&&n(i,ot,t),s(o,W)&&s(o[W],e)&&(o[W][e]=!1);var u=v(1,t);try{ct(o,e,u)}catch(t){if(!(t instanceof K))throw t;st(o,e,u)}};return o&&at&&ct(J,e,{configurable:!0,set:i}),ft(e,t)},I(V=H[X],"toString",function(){return G(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,R.f=function(t){return ft(N(t),t)},o&&(j(V,"description",{configurable:!0,get:function(){return G(this).description}}),i||I(J,"propertyIsEnumerable",pt,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),U(y(ut),function(t){F(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}),L(),z(H,Y),D[W]=!0}(),function(){if(Ii)return ji;Ii=1;var t=$r(),r=It(),n=mr(),e=oe(),i=yr(),o=Pi(),u=i("string-to-symbol-registry"),a=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{for:function(t){var i=e(t);if(n(u,i))return u[i];var o=r("Symbol")(i);return u[i]=o,a[o]=i,o}})}(),function(){if(xi)return Di;xi=1;var t=$r(),r=mr(),n=Ct(),e=Mt(),i=yr(),o=Pi(),u=i("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!o},{keyFor:function(t){if(!n(t))throw new TypeError(e(t)+" is not a symbol");if(r(u,t))return u[t]}})}(),Yi(),function(){if(Xi)return Gi;Xi=1;var t=$r(),r=Dt(),n=w(),e=Qe(),i=gr();t({target:"Object",stat:!0,forced:!r||n(function(){e.f(1)})},{getOwnPropertySymbols:function(t){var r=e.f;return r?r(i(t)):[]}})}()),ee}var Hi,Vi={};function Ki(){return Hi||(Hi=1,mi()("asyncDispose")),Vi}var Qi;var $i,Zi={};function to(){return $i||($i=1,mi()("dispose")),Zi}var ro;var no;var eo,io={};function oo(){return eo||(eo=1,mi()("iterator")),io}var uo;var ao;var so;var co;var fo;var lo;var ho,po={};function vo(){if(ho)return po;ho=1;var t=mi(),r=bi();return t("toPrimitive"),r(),po}var yo,go={};var mo;var bo,_o,wo,So={};function Oo(){return wo?_o:(wo=1,te(),Ji(),Ki(),Qi||(Qi=1,mi()("asyncIterator")),to(),ro||(ro=1,mi()("hasInstance")),no||(no=1,mi()("isConcatSpreadable")),oo(),uo||(uo=1,mi()("match")),ao||(ao=1,mi()("matchAll")),so||(so=1,mi()("replace")),co||(co=1,mi()("search")),fo||(fo=1,mi()("species")),lo||(lo=1,mi()("split")),vo(),function(){if(yo)return go;yo=1;var t=It(),r=mi(),n=wi();r("toStringTag"),n(t("Symbol"),"Symbol")}(),mo||(mo=1,mi()("unscopables")),function(){if(bo)return So;bo=1;var t=_();wi()(t.JSON,"JSON",!0)}(),_o=At().Symbol)}var To,Eo,Ao,Io,jo,Po,xo,Do,ko,Co,Mo,No,Ro,Fo,Lo,zo,qo,Uo,Wo,Yo,Xo,Bo,Go,Jo,Ho,Vo,Ko,Qo,$o,Zo,tu,ru,nu,eu={};function iu(){return Eo?To:(Eo=1,To=function(){})}function ou(){return Io?Ao:(Io=1,Ao={})}function uu(){if(Po)return jo;Po=1;var t=C(),r=mr(),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,i=r(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&e(n,"name").configurable);return jo={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function au(){return Do?xo:(Do=1,xo=!w()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}function su(){if(Co)return ko;Co=1;var t=mr(),r=I(),n=gr(),e=Me(),i=au(),o=e("IE_PROTO"),u=Object,a=u.prototype;return ko=i?u.getPrototypeOf:function(e){var i=n(e);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 cu(){if(No)return Mo;No=1;var t,r,n,e=w(),i=I(),o=Et(),u=Ne(),a=su(),s=$e(),c=_r(),f=pr(),l=c("iterator"),h=!1;return[].keys&&("next"in(n=[].keys())?(r=a(a(n)))!==Object.prototype&&(t=r):h=!0),!o(t)||e(function(){var r={};return t[l].call(r)!==r})?t={}:f&&(t=u(t)),i(t[l])||s(t,l,function(){return this}),Mo={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:h}}function fu(){if(Fo)return Ro;Fo=1;var t=cu().IteratorPrototype,r=Ne(),n=_t(),e=wi(),i=ou(),o=function(){return this};return Ro=function(u,a,s,c){var f=a+" Iterator";return u.prototype=r(t,{next:n(+!c,s)}),e(u,f,!1,!0),i[f]=o,u}}function lu(){if(zo)return Lo;zo=1;var t=T(),r=Nt();return Lo=function(n,e,i){try{return t(r(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(t){}}}function hu(){if(Uo)return qo;Uo=1;var t=Et();return qo=function(r){return t(r)||null===r}}function pu(){if(Yo)return Wo;Yo=1;var t=hu(),r=String,n=TypeError;return Wo=function(e){if(t(e))return e;throw new n("Can't set "+r(e)+" as a prototype")}}function vu(){if(Bo)return Xo;Bo=1;var t=lu(),r=Et(),n=Ot(),e=pu();return Xo=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 n(t),e(u),r(t)?(o?i(t,u):t.__proto__=u,t):t}}():void 0)}function du(){if(Jo)return Go;Jo=1;var t=$r(),r=M(),n=pr(),e=uu(),i=I(),o=fu(),u=su(),a=vu(),s=wi(),c=Qr(),f=$e(),l=_r(),h=ou(),p=cu(),v=e.PROPER,d=e.CONFIGURABLE,y=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=l("iterator"),b="keys",_="values",w="entries",S=function(){return this};return Go=function(e,l,p,O,T,E,A){o(p,l,O);var I,j,P,x=function(t){if(t===T&&N)return N;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)}},D=l+" Iterator",k=!1,C=e.prototype,M=C[m]||C["@@iterator"]||T&&C[T],N=!g&&M||x(T),R="Array"===l&&C.entries||M;if(R&&(I=u(R.call(new e)))!==Object.prototype&&I.next&&(n||u(I)===y||(a?a(I,y):i(I[m])||f(I,m,S)),s(I,D,!0,!0),n&&(h[D]=S)),v&&T===_&&M&&M.name!==_&&(!n&&d?c(C,"name",_):(k=!0,N=function(){return r(M,this)})),T)if(j={values:x(_),keys:E?N:x(b),entries:x(w)},A)for(P in j)(g||k||!(P in C))&&f(C,P,j[P]);else t({target:l,proto:!0,forced:g||k},j);return n&&!A||C[m]===N||f(C,m,N,{name:T}),h[l]=N,j}}function yu(){return Vo?Ho:(Vo=1,Ho=function(t,r){return{value:t,done:r}})}function gu(){if(Qo)return Ko;Qo=1;var t=Tt(),r=iu(),n=ou(),e=Oi(),i=Kr().f,o=du(),u=yu(),a=pr(),s=C(),c="Array Iterator",f=e.set,l=e.getterFor(c);Ko=o(Array,"Array",function(r,n){f(this,{type:c,target:t(r),index:0,kind:n})},function(){var t=l(this),r=t.target,n=t.index++;if(!r||n>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(r[n],!1)}return u([n,r[n]],!1)},"values");var h=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!a&&s&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(t){}return Ko}function mu(){return Zo?$o:(Zo=1,$o={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 bu(){if(tu)return eu;tu=1,gu();var t=mu(),r=_(),n=wi(),e=ou();for(var i in t)n(r[i],i),e[i]=e.Array;return eu}function _u(){if(nu)return ru;nu=1;var t=Oo();return bu(),ru=t}var wu,Su={};var Ou;var Tu;var Eu,Au,Iu;function ju(){if(Iu)return Au;Iu=1;var t=_u();return function(){if(wu)return Su;wu=1;var t=_r(),r=Kr().f,n=t("metadata"),e=Function.prototype;void 0===e[n]&&r(e,n,{value:null})}(),Ou||(Ou=1,Ki()),Tu||(Tu=1,to()),Eu||(Eu=1,mi()("metadata")),Au=t}var Pu,xu,Du;function ku(){if(xu)return Pu;xu=1;var t=It(),r=T(),n=t("Symbol"),e=n.keyFor,i=r(n.prototype.valueOf);return Pu=n.isRegisteredSymbol||function(t){try{return void 0!==e(i(t))}catch(t){return!1}}}var Cu,Mu,Nu;function Ru(){if(Mu)return Cu;Mu=1;for(var t=yr(),r=It(),n=T(),e=Ct(),i=_r(),o=r("Symbol"),u=o.isWellKnownSymbol,a=r("Object","getOwnPropertyNames"),s=n(o.prototype.valueOf),c=t("wks"),f=0,l=a(o),h=l.length;f<h;f++)try{var p=l[f];e(o[p])&&i(p)}catch(t){}return Cu=function(t){if(u&&u(t))return!0;try{for(var r=s(t),n=0,e=a(c),i=e.length;n<i;n++)if(c[e[n]]==r)return!0}catch(t){}return!1},Cu}var Fu;var Lu;var zu;var qu;var Uu;var Wu;var Yu;var Xu,Bu,Gu,Ju,Hu;function Vu(){if(Gu)return Bu;Gu=1;var t=ju();return Du||(Du=1,$r()({target:"Symbol",stat:!0},{isRegisteredSymbol:ku()})),Nu||(Nu=1,$r()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Ru()})),Fu||(Fu=1,mi()("customMatcher")),Lu||(Lu=1,mi()("observable")),zu||(zu=1,$r()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:ku()})),qu||(qu=1,$r()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Ru()})),Uu||(Uu=1,mi()("matcher")),Wu||(Wu=1,mi()("metadataKey")),Yu||(Yu=1,mi()("patternMatch")),Xu||(Xu=1,mi()("replaceAll")),Bu=t}function Ku(){return Hu?Ju:(Hu=1,Ju=Vu())}var Qu,$u,Zu,ta,ra,na,ea,ia,oa,ua,aa,sa,ca,fa=r(Ku()),la={};function ha(){if($u)return Qu;$u=1;var t=T(),r=Un(),n=oe(),e=Ot(),i=t("".charAt),o=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,f,l=n(e(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 Qu={codeAt:a(!1),charAt:a(!0)}}function pa(){if(Zu)return la;Zu=1;var t=ha().charAt,r=oe(),n=Oi(),e=du(),i=yu(),o="String Iterator",u=n.set,a=n.getterFor(o);return e(String,"String",function(t){u(this,{type:o,string:r(t),index:0})},function(){var r,n=a(this),e=n.string,o=n.index;return o>=e.length?i(void 0,!0):(r=t(e,o),n.index+=r.length,i(r,!1))}),la}function va(){return ra?ta:(ra=1,gu(),pa(),oo(),ta=gi().f("iterator"))}function da(){if(ea)return na;ea=1;var t=va();return bu(),na=t}function ya(){return oa?ia:(oa=1,ia=da())}function ga(){return aa?ua:(aa=1,ua=ya())}function ma(){return ca?sa:(ca=1,sa=ga())}var ba,_a,wa,Sa,Oa,Ta,Ea,Aa,Ia,ja,Pa=r(ma());function xa(t){return xa="function"==typeof fa&&"symbol"==typeof Pa?function(t){return typeof t}:function(t){return t&&"function"==typeof fa&&t.constructor===fa&&t!==fa.prototype?"symbol":typeof t},xa(t)}function Da(){return _a?ba:(_a=1,vo(),ba=gi().f("toPrimitive"))}function ka(){return Sa?wa:(Sa=1,wa=Da())}function Ca(){return Ta?Oa:(Ta=1,Oa=ka())}function Ma(){return Aa?Ea:(Aa=1,Ea=Ca())}function Na(){return ja?Ia:(ja=1,Ia=Ma())}var Ra=r(Na());function Fa(t){var r=function(t,r){if("object"!=xa(t)||!t)return t;var n=t[Ra];if(void 0!==n){var e=n.call(t,r);if("object"!=xa(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==xa(r)?r:r+""}function La(t,r,n){return(r=Fa(r))in t?Fn(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var za,qa,Ua,Wa,Ya,Xa,Ba,Ga,Ja,Ha,Va,Ka,Qa,$a={};function Za(){if(qa)return za;qa=1;var t=T(),r=Nt(),n=Et(),e=mr(),i=Ye(),o=S(),u=Function,a=t([].concat),s=t([].join),c={};return za=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,n){if(!e(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,n)}(o,r.length,r):o.apply(t,r)};return n(f)&&(h.prototype=f),h},za}function ts(){if(Ya)return Wa;Ya=1;var t=_(),r=At();return Wa=function(n,e){var i=r[n+"Prototype"],o=i&&i[e];if(o)return o;var u=t[n],a=u&&u.prototype;return a&&a[e]}}function rs(){return Ba?Xa:(Ba=1,function(){if(Ua)return $a;Ua=1;var t=$r(),r=Za();t({target:"Function",proto:!0,forced:Function.bind!==r},{bind:r})}(),Xa=ts()("Function","bind"))}function ns(){if(Ja)return Ga;Ja=1;var t=jt(),r=rs(),n=Function.prototype;return Ga=function(e){var i=e.bind;return e===n||t(n,e)&&i===n.bind?r:i}}function es(){return Va?Ha:(Va=1,Ha=ns())}var is,os,us,as,ss,cs,fs,ls,hs,ps,vs,ds,ys,gs,ms,bs,_s,ws=r(Qa?Ka:(Qa=1,Ka=es())),Ss={};function Os(){if(os)return is;os=1;var t=Nt(),r=gr(),n=wt(),e=Yn(),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=n(l),p=e(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 is={left:u(!1),right:u(!0)}}function Ts(){if(as)return us;as=1;var t=w();return us=function(r,n){var e=[][r];return!!e&&t(function(){e.call(null,n||function(){return 1},1)})}}function Es(){if(cs)return ss;cs=1;var t=_(),r=Pt(),n=E(),e=function(t){return r.slice(0,t.length)===t};return ss=e("Bun/")?"BUN":e("Cloudflare-Workers")?"CLOUDFLARE":e("Deno/")?"DENO":e("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function As(){return ls?fs:(ls=1,fs="NODE"===Es())}function Is(){return vs?ps:(vs=1,function(){if(hs)return Ss;hs=1;var t=$r(),r=Os().left,n=Ts(),e=xt();t({target:"Array",proto:!0,forced:!As()&&e>79&&e<83||!n("reduce")},{reduce:function(t){var n=arguments.length;return r(this,t,n,n>1?arguments[1]:void 0)}})}(),ps=ts()("Array","reduce"))}function js(){if(ys)return ds;ys=1;var t=jt(),r=Is(),n=Array.prototype;return ds=function(e){var i=e.reduce;return e===n||t(n,e)&&i===n.reduce?r:i}}function Ps(){return ms?gs:(ms=1,gs=js())}var xs,Ds,ks,Cs,Ms,Ns,Rs,Fs,Ls,zs=r(_s?bs:(_s=1,bs=Ps())),qs={};function Us(){return ks?Ds:(ks=1,function(){if(xs)return qs;xs=1;var t=$r(),r=Ti().filter;t({target:"Array",proto:!0,forced:!Zn()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Ds=ts()("Array","filter"))}function Ws(){if(Ms)return Cs;Ms=1;var t=jt(),r=Us(),n=Array.prototype;return Cs=function(e){var i=e.filter;return e===n||t(n,e)&&i===n.filter?r:i}}function Ys(){return Rs?Ns:(Rs=1,Ns=Ws())}var Xs,Bs,Gs,Js,Hs,Vs,Ks,Qs,$s,Zs=r(Ls?Fs:(Ls=1,Fs=Ys())),tc={};function rc(){return Gs?Bs:(Gs=1,function(){if(Xs)return tc;Xs=1;var t=$r(),r=Ti().map;t({target:"Array",proto:!0,forced:!Zn()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Bs=ts()("Array","map"))}function nc(){if(Hs)return Js;Hs=1;var t=jt(),r=rc(),n=Array.prototype;return Js=function(e){var i=e.map;return e===n||t(n,e)&&i===n.map?r:i}}function ec(){return Ks?Vs:(Ks=1,Vs=nc())}var ic,oc,uc,ac=r($s?Qs:($s=1,Qs=ec())),sc={};function cc(){if(oc)return ic;oc=1;var t=zn(),r=Yn(),n=Xn(),e=Ir(),i=Bn(),o=function(u,a,s,c,f,l,h,p){for(var v,d,y=f,g=0,m=!!h&&e(h,p);g<c;)g in s&&(v=m?m(s[g],g,a):s[g],l>0&&t(v)?(d=r(v),y=o(u,a,v,d,y,l-1)-1):(n(y+1),i(u,y,v)),y++),g++;return y};return ic=o}var fc,lc,hc,pc,vc,dc,yc,gc,mc;function bc(){return hc?lc:(hc=1,function(){if(uc)return sc;uc=1;var t=$r(),r=cc(),n=Nt(),e=gr(),i=Yn(),o=$n();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=e(this),s=i(a);return n(t),u=o(a,0),r(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),fc||(fc=1,iu()("flatMap")),lc=ts()("Array","flatMap"))}function _c(){if(vc)return pc;vc=1;var t=jt(),r=bc(),n=Array.prototype;return pc=function(e){var i=e.flatMap;return e===n||t(n,e)&&i===n.flatMap?r:i}}function wc(){return yc?dc:(yc=1,dc=_c())}var Sc=r(mc?gc:(mc=1,gc=wc()));function Oc(t){return new Ec(t)}class Tc{constructor(t,r,n){var e,i,o;La(this,"_listeners",{add:ws(e=this._add).call(e,this),remove:ws(i=this._remove).call(i,this),update:ws(o=this._update).call(o,this)}),this._source=t,this._transformers=r,this._target=n}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 zs(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 Ec{constructor(t){La(this,"_transformers",[]),this._source=t}filter(t){return this._transformers.push(r=>Zs(r).call(r,t)),this}map(t){return this._transformers.push(r=>ac(r).call(r,t)),this}flatMap(t){return this._transformers.push(r=>Sc(r).call(r,t)),this}to(t){return new Tc(this._source,this._transformers,t)}}var Ac,Ic,jc,Pc,xc,Dc,kc,Cc,Mc,Nc,Rc;function Fc(){return jc?Ic:(jc=1,Ac||(Ac=1,$r()({target:"Array",stat:!0},{isArray:zn()})),Ic=At().Array.isArray)}function Lc(){return xc?Pc:(xc=1,Pc=Fc())}function zc(){return kc?Dc:(kc=1,Dc=Lc())}function qc(){return Mc?Cc:(Mc=1,Cc=zc())}function Uc(){return Rc?Nc:(Rc=1,Nc=qc())}var Wc,Yc,Xc,Bc,Gc,Jc,Hc,Vc,Kc,Qc,$c,Zc,tf=r(Uc());function rf(){if(Yc)return Wc;Yc=1;var t=Hn(),r=Rt(),n=St(),e=ou(),i=_r()("iterator");return Wc=function(o){if(!n(o))return r(o,i)||r(o,"@@iterator")||e[t(o)]}}function nf(){return Bc?Xc:(Bc=1,gu(),pa(),Xc=rf())}function ef(){if(Jc)return Gc;Jc=1;var t=nf();return bu(),Gc=t}function of(){return Vc?Hc:(Vc=1,Hc=ef())}function uf(){return Qc?Kc:(Qc=1,Kc=of())}function af(){return Zc?$c:(Zc=1,$c=uf())}var sf,cf,ff,lf,hf,pf,vf,df,yf,gf,mf,bf,_f,wf=r(af()),Sf={};function Of(){return ff?cf:(ff=1,function(){if(sf)return Sf;sf=1;var t=$r(),r=gr(),n=Yn(),e=Gn(),i=Xn();t({target:"Array",proto:!0,arity:1,forced:w()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var o=r(this),u=n(o),a=arguments.length;i(u+a);for(var s=0;s<a;s++)o[u]=arguments[s],u++;return e(o,u),u}})}(),cf=ts()("Array","push"))}function Tf(){if(hf)return lf;hf=1;var t=jt(),r=Of(),n=Array.prototype;return lf=function(e){var i=e.push;return e===n||t(n,e)&&i===n.push?r:i}}function Ef(){return vf?pf:(vf=1,pf=Tf())}function Af(){return yf?df:(yf=1,df=Ef())}function If(){return mf?gf:(mf=1,gf=Af())}function jf(){return _f?bf:(_f=1,bf=If())}var Pf=r(jf());var xf,Df,kf,Cf,Mf,Nf,Rf,Ff,Lf,zf,qf,Uf,Wf,Yf={};function Xf(){return kf?Df:(kf=1,function(){if(xf)return Yf;xf=1;var t=$r(),r=zn(),n=Kn(),e=Et(),i=Ae(),o=Yn(),u=Tt(),a=Bn(),s=Gn(),c=_r(),f=Zn(),l=Ye(),h=f("slice"),p=c("species"),v=Array,d=Math.max;t({target:"Array",proto:!0,forced:!h},{slice:function(t,c){var f,h,y,g=u(this),m=o(g),b=i(t,m),_=i(void 0===c?m:c,m);if(r(g)&&(f=g.constructor,(n(f)&&(f===v||r(f.prototype))||e(f)&&null===(f=f[p]))&&(f=void 0),f===v||void 0===f))return l(g,b,_);for(h=new(void 0===f?v:f)(d(_-b,0)),y=0;b<_;b++,y++)b in g&&a(h,y,g[b]);return s(h,y),h}})}(),Df=ts()("Array","slice"))}function Bf(){if(Mf)return Cf;Mf=1;var t=jt(),r=Xf(),n=Array.prototype;return Cf=function(e){var i=e.slice;return e===n||t(n,e)&&i===n.slice?r:i}}function Gf(){return Rf?Nf:(Rf=1,Nf=Bf())}function Jf(){return Lf?Ff:(Lf=1,Ff=Gf())}function Hf(){return qf?zf:(qf=1,zf=Jf())}function Vf(){return Wf?Uf:(Wf=1,Uf=Hf())}var Kf,Qf,$f,Zf,tl,rl,nl,el,il,ol,ul,al,sl,cl,fl,ll,hl,pl,vl,dl,yl,gl,ml,bl=r(Vf()),_l={};function wl(){if(Qf)return Kf;Qf=1;var t=M(),r=Vr(),n=Rt();return Kf=function(e,i,o){var u,a;r(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=t(u,e)}catch(t){a=!0,u=t}if("throw"===i)throw o;if(a)throw u;return r(u),o},Kf}function Sl(){if(Zf)return $f;Zf=1;var t=Vr(),r=wl();return $f=function(n,e,i,o){try{return o?e(t(i)[0],i[1]):e(i)}catch(t){r(n,"throw",t)}},$f}function Ol(){if(rl)return tl;rl=1;var t=_r(),r=ou(),n=t("iterator"),e=Array.prototype;return tl=function(t){return void 0!==t&&(r.Array===t||e[n]===t)}}function Tl(){if(el)return nl;el=1;var t=M(),r=Nt(),n=Vr(),e=Mt(),i=rf(),o=TypeError;return nl=function(u,a){var s=arguments.length<2?i(u):a;if(r(s))return n(t(s,u));throw new o(e(u)+" is not iterable")},nl}function El(){if(ol)return il;ol=1;var t=Ir(),r=M(),n=gr(),e=Sl(),i=Ol(),o=Kn(),u=Yn(),a=Bn(),s=Gn(),c=Tl(),f=rf(),l=wl(),h=Array;return il=function(p){var v=o(this),d=arguments.length,y=d>1?arguments[1]:void 0,g=void 0!==y;g&&(y=t(y,d>2?arguments[2]:void 0));var m,b,_,w,S,O,T=n(p),E=f(T),A=0;if(!E||this===h&&i(E))for(m=u(T),b=v?new this(m):h(m);m>A;A++)O=g?y(T[A],A):T[A],a(b,A,O);else for(b=v?new this:[],S=(w=c(T,E)).next;!(_=r(S,w)).done;A++){O=g?e(w,y,[_.value,A],!0):_.value;try{a(b,A,O)}catch(t){l(w,"throw",t)}}return s(b,A),b},il}function Al(){if(al)return ul;al=1;var t=_r()("iterator"),r=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){r=!0}};e[t]=function(){return this},Array.from(e,function(){throw 2})}catch(t){}return ul=function(n,e){try{if(!e&&!r)return!1}catch(t){return!1}var i=!1;try{var o={};o[t]=function(){return{next:function(){return{done:i=!0}}}},n(o)}catch(t){}return i}}function Il(){return fl?cl:(fl=1,pa(),function(){if(sl)return _l;sl=1;var t=$r(),r=El();t({target:"Array",stat:!0,forced:!Al()(function(t){Array.from(t)})},{from:r})}(),cl=At().Array.from)}function jl(){return hl?ll:(hl=1,ll=Il())}function Pl(){return vl?pl:(vl=1,pl=jl())}function xl(){return yl?dl:(yl=1,dl=Pl())}function Dl(){return ml?gl:(ml=1,gl=xl())}var kl,Cl,Ml=r(Dl());function Nl(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}function Rl(t,r){return function(t){if(tf(t))return t}(t)||function(t,r){var n=null==t?null:void 0!==fa&&wf(t)||t["@@iterator"];if(null!=n){var e,i,o,u,a=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;s=!1}else for(;!(s=(e=o.call(n)).done)&&(Pf(a).call(a,e.value),a.length!==r);s=!0);}catch(t){c=!0,i=t}finally{try{if(!s&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(c)throw i}}return a}}(t,r)||function(t,r){if(t){var n;if("string"==typeof t)return Nl(t,r);var e=bl(n={}.toString.call(t)).call(n,8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Ml(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Nl(t,r):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fl,Ll,zl=r(Cl?kl:(Cl=1,kl=_u()));var ql,Ul,Wl,Yl,Xl,Bl,Gl,Jl,Hl,Vl=r(Ll?Fl:(Ll=1,Fl=Gf()));function Kl(){if(Ul)return ql;Ul=1;var t=It(),r=T(),n=Le(),e=Qe(),i=Vr(),o=r([].concat);return ql=t("Reflect","ownKeys")||function(t){var r=n.f(i(t)),u=e.f;return u?o(r,u(t)):r},ql}function Ql(){return Xl?Yl:(Xl=1,Wl||(Wl=1,$r()({target:"Reflect",stat:!0},{ownKeys:Kl()})),Yl=At().Reflect.ownKeys)}function $l(){return Gl?Bl:(Gl=1,Bl=Ql())}var Zl,th,rh=r(Hl?Jl:(Hl=1,Jl=$l()));var nh,eh,ih,oh,uh,ah,sh,ch=r(th?Zl:(th=1,Zl=Lc())),fh={};function lh(){return ih?eh:(ih=1,function(){if(nh)return fh;nh=1;var t=$r(),r=gr(),n=De();t({target:"Object",stat:!0,forced:w()(function(){n(1)})},{keys:function(t){return n(r(t))}})}(),eh=At().Object.keys)}function hh(){return uh?oh:(uh=1,oh=lh())}var ph,vh,dh,yh,gh,mh,bh,_h,wh,Sh,Oh,Th=r(sh?ah:(sh=1,ah=hh())),Eh={};function Ah(){if(vh)return ph;vh=1;var t=Ti().forEach,r=Ts()("forEach");return ph=r?[].forEach:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)},ph}function Ih(){return gh?yh:(gh=1,function(){if(dh)return Eh;dh=1;var t=$r(),r=Ah();t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})}(),yh=ts()("Array","forEach"))}function jh(){return bh?mh:(bh=1,mh=Ih())}function Ph(){if(wh)return _h;wh=1;var t=Hn(),r=mr(),n=jt(),e=jh(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return _h=function(u){var a=u.forEach;return u===i||n(i,u)&&a===i.forEach||r(o,t(u))?e:a}}var xh,Dh,kh,Ch,Mh,Nh,Rh,Fh,Lh,zh=r(Oh?Sh:(Oh=1,Sh=Ph())),qh={};function Uh(){return kh?Dh:(kh=1,function(){if(xh)return qh;xh=1;var t=$r(),r=T(),n=zn(),e=r([].reverse),i=[1,2];t({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),e(this)}})}(),Dh=ts()("Array","reverse"))}function Wh(){if(Mh)return Ch;Mh=1;var t=jt(),r=Uh(),n=Array.prototype;return Ch=function(e){var i=e.reverse;return e===n||t(n,e)&&i===n.reverse?r:i}}function Yh(){return Rh?Nh:(Rh=1,Nh=Wh())}var Xh,Bh,Gh,Jh,Hh,Vh,Kh,Qh,$h,Zh,tp,rp=r(Lh?Fh:(Lh=1,Fh=Yh())),np={};function ep(){if(Bh)return Xh;Bh=1;var t=Mt(),r=TypeError;return Xh=function(n,e){if(!delete n[e])throw new r("Cannot delete property "+t(e)+" of "+t(n))}}function ip(){return Hh?Jh:(Hh=1,function(){if(Gh)return np;Gh=1;var t=$r(),r=gr(),n=Ae(),e=Un(),i=Yn(),o=Gn(),u=Xn(),a=$n(),s=Bn(),c=ep(),f=Zn()("splice"),l=Math.max,h=Math.min;t({target:"Array",proto:!0,forced:!f},{splice:function(t,f){var p,v,d,y,g,m,b=r(this),_=i(b),w=n(t,_),S=arguments.length;for(0===S?p=v=0:1===S?(p=0,v=_-w):(p=S-2,v=h(l(e(f),0),_-w)),u(_+p-v),d=a(b,v),y=0;y<v;y++)(g=w+y)in b&&s(d,y,b[g]);if(o(d,v),p<v){for(y=w;y<_-v;y++)m=y+p,(g=y+v)in b?b[m]=b[g]:c(b,m);for(y=_;y>_-v+p;y--)c(b,y-1)}else if(p>v)for(y=_-v;y>w;y--)m=y+p-1,(g=y+v-1)in b?b[m]=b[g]:c(b,m);for(y=0;y<p;y++)b[y+w]=arguments[y+2];return o(b,_-v+p),d}})}(),Jh=ts()("Array","splice"))}function op(){if(Kh)return Vh;Kh=1;var t=jt(),r=ip(),n=Array.prototype;return Vh=function(e){var i=e.splice;return e===n||t(n,e)&&i===n.splice?r:i}}function up(){return $h?Qh:($h=1,Qh=op())}var ap,sp,cp,fp,lp,hp,pp,vp,dp,yp=r(tp?Zh:(tp=1,Zh=up())),gp={};function mp(){if(sp)return ap;sp=1;var t=C(),r=T(),n=M(),e=w(),i=De(),o=Qe(),u=bt(),a=gr(),s=wt(),c=Object.assign,f=Object.defineProperty,l=r([].concat);return ap=!c||e(function(){if(t&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var r={},n={},e=Symbol("assign detection"),o="abcdefghijklmnopqrst";return r[e]=7,o.split("").forEach(function(t){n[t]=t}),7!==c({},r)[e]||i(c({},n)).join("")!==o})?function(r,e){for(var c=a(r),f=arguments.length,h=1,p=o.f,v=u.f;f>h;)for(var d,y=s(arguments[h++]),g=p?l(i(y),p(y)):i(y),m=g.length,b=0;m>b;)d=g[b++],t&&!n(v,y,d)||(c[d]=y[d]);return c}:c,ap}function bp(){return lp?fp:(lp=1,function(){if(cp)return gp;cp=1;var t=$r(),r=mp();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})}(),fp=At().Object.assign)}function _p(){return pp?hp:(pp=1,hp=bp())}var wp,Sp,Op,Tp,Ep,Ap,Ip,jp,Pp=r(dp?vp:(dp=1,vp=_p()));function xp(){return Sp?wp:(Sp=1,te(),wp=ts()("Array","concat"))}function Dp(){if(Tp)return Op;Tp=1;var t=jt(),r=xp(),n=Array.prototype;return Op=function(e){var i=e.concat;return e===n||t(n,e)&&i===n.concat?r:i}}function kp(){return Ap?Ep:(Ap=1,Ep=Dp())}var Cp,Mp,Np,Rp,Fp,Lp,zp,qp=r(jp?Ip:(jp=1,Ip=kp()));function Up(){if(Np)return Mp;Np=1,Cp||(Cp=1,$r()({target:"Object",stat:!0,sham:!C()},{create:Ne()}));var t=At().Object;return Mp=function(r,n){return t.create(r,n)}}function Wp(){return Fp?Rp:(Fp=1,Rp=Up())}var Yp,Xp,Bp,Gp,Jp,Hp,Vp,Kp,Qp,$p,Zp,tv,rv,nv=r(zp?Lp:(zp=1,Lp=Wp())),ev={};function iv(){if(Xp)return Yp;Xp=1;var t=Un(),r=oe(),n=Ot(),e=RangeError,i=Math.floor;return Yp=function(o){var u=r(n(this)),a="",s=t(o);if(s<0||s===1/0)throw new e("Wrong number of repetitions");for(;s>0;(s=i(s/2))&&(u+=u))s%2&&(a+=u);return a}}function ov(){if(Gp)return Bp;Gp=1;var t=T(),r=Wn(),n=oe(),e=iv(),i=Ot(),o=t(e),u=t("".slice),a=Math.ceil,s=function(t){return function(e,s,c){var f=n(i(e)),l=r(s),h=f.length;if(l<=h)return f;var p,v,d=void 0===c?" ":n(c);return""===d?f:((v=o(d,a((p=l-h)/d.length))).length>p&&(v=u(v,0,p)),t?f+v:v+f)}};return Bp={start:s(!1),end:s(!0)}}function uv(){if(Hp)return Jp;Hp=1;var t=T(),r=w(),n=ov().start,e=RangeError,i=isFinite,o=Math.abs,u=Date.prototype,a=u.toISOString,s=t(u.getTime),c=t(u.getUTCDate),f=t(u.getUTCFullYear),l=t(u.getUTCHours),h=t(u.getUTCMilliseconds),p=t(u.getUTCMinutes),v=t(u.getUTCMonth),d=t(u.getUTCSeconds);return Jp=r(function(){return"0385-07-25T07:06:39.999Z"!==a.call(new Date(-50000000000001))})||!r(function(){a.call(new Date(NaN))})?function(){if(!i(s(this)))throw new e("Invalid time value");var t=this,r=f(t),u=h(t),a=r<0?"-":r>9999?"+":"";return a+n(o(r),a?6:4,0)+"-"+n(v(t)+1,2,0)+"-"+n(c(t),2,0)+"T"+n(l(t),2,0)+":"+n(p(t),2,0)+":"+n(d(t),2,0)+"."+n(u,3,0)+"Z"}:a}function av(){if(Qp)return Kp;Qp=1,function(){if(Vp)return ev;Vp=1;var t=$r(),r=M(),n=gr(),e=wr(),i=uv(),o=E();t({target:"Date",proto:!0,forced:w()(function(){return null!==new Date(NaN).toJSON()||1!==r(Date.prototype.toJSON,{toISOString:function(){return 1}})})},{toJSON:function(t){var u=n(this),a=e(u,"number");return"number"!=typeof a||isFinite(a)?"toISOString"in u||"Date"!==o(u)?u.toISOString():r(i,u):null}})}(),Yi();var t=At(),r=O();return t.JSON||(t.JSON={stringify:JSON.stringify}),Kp=function(n,e,i){return r(t.JSON.stringify,null,arguments)},Kp}function sv(){return Zp?$p:(Zp=1,$p=av())}var cv,fv,lv,hv,pv,vv=r(rv?tv:(rv=1,tv=sv())),dv={},yv={};function gv(){if(fv)return cv;fv=1;var t=TypeError;return cv=function(r,n){if(r<n)throw new t("Not enough arguments");return r}}function mv(){if(hv)return lv;hv=1;var t,r=_(),n=O(),e=I(),i=Es(),o=Pt(),u=Ye(),a=gv(),s=r.Function,c=/MSIE .\./.test(o)||"BUN"===i&&((t=r.Bun.version.split(".")).length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2]));return lv=function(t,r){var i=r?2:1;return c?function(o,c){var f=a(arguments.length,1)>i,l=e(o)?o:s(o),h=f?u(arguments,i):[],p=f?function(){n(l,this,h)}:l;return r?t(p,c):t(p)}:t},lv}var bv,_v,wv,Sv,Ov,Tv,Ev={};function Av(){return _v||(_v=1,function(){if(pv)return yv;pv=1;var t=$r(),r=_(),n=mv()(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==n},{setInterval:n})}(),function(){if(bv)return Ev;bv=1;var t=$r(),r=_(),n=mv()(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==n},{setTimeout:n})}()),dv}function Iv(){return Sv?wv:(Sv=1,Av(),wv=At().setTimeout)}var jv,Pv=r(Tv?Ov:(Tv=1,Ov=Iv())),xv={exports:{}};function Dv(){return jv||(jv=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 n=this._callbacks.get(t)??[];return n.push(r),this._callbacks.set(t,n),this},r.prototype.once=function(t,r){const n=(...e)=>{this.off(t,n),r.apply(this,e)};return n.fn=r,this.on(t,n),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 n=this._callbacks.get(t);if(n){for(const[t,e]of n.entries())if(e===r||e.fn===r){n.splice(t,1);break}0===n.length?this._callbacks.delete(t):this._callbacks.set(t,n)}return this},r.prototype.emit=function(t,...r){const n=this._callbacks.get(t);if(n){const t=[...n];for(const n of t)n.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}(xv)),xv.exports}var kv=r(Dv());
|
|
27
27
|
/*! Hammer.JS - v2.0.17-rc - 2019-12-16
|
|
28
28
|
* http://naver.github.io/egjs
|
|
29
29
|
*
|
|
30
30
|
* Forked By Naver egjs
|
|
31
31
|
* Copyright (c) hammerjs
|
|
32
32
|
* Licensed under the MIT license */
|
|
33
|
-
function Fh(){return Fh=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},Fh.apply(this,arguments)}function Lh(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function zh(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var qh,Uh="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),n=1;n<arguments.length;n++){var e=arguments[n];if(null!=e)for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i])}return r}:Object.assign,Wh=["","webkit","Moz","MS","ms","o"],Yh="undefined"==typeof document?{style:{}}:document.createElement("div"),Xh=Math.round,Bh=Math.abs,Gh=Date.now;function Hh(t,r){for(var n,e,i=r[0].toUpperCase()+r.slice(1),o=0;o<Wh.length;){if((e=(n=Wh[o])?n+i:r)in t)return e;o++}}qh="undefined"==typeof window?{}:window;var Vh=Hh(Yh.style,"touchAction"),Jh=void 0!==Vh;var Kh="compute",Qh="auto",Zh="manipulation",$h="none",tp="pan-x",rp="pan-y",np=function(){if(!Jh)return!1;var t={},r=qh.CSS&&qh.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){return t[n]=!r||qh.CSS.supports("touch-action",n)}),t}(),ep="ontouchstart"in qh,ip=void 0!==Hh(qh,"PointerEvent"),op=ep&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),up="touch",ap="mouse",sp=16,cp=24,fp=["x","y"],lp=["clientX","clientY"];function hp(t,r,n){var e;if(t)if(t.forEach)t.forEach(r,n);else if(void 0!==t.length)for(e=0;e<t.length;)r.call(n,t[e],e,t),e++;else for(e in t)t.hasOwnProperty(e)&&r.call(n,t[e],e,t)}function pp(t,r){return"function"==typeof t?t.apply(r&&r[0]||void 0,r):t}function vp(t,r){return t.indexOf(r)>-1}var dp=function(){function t(t,r){this.manager=t,this.set(r)}var r=t.prototype;return r.set=function(t){t===Kh&&(t=this.compute()),Jh&&this.manager.element.style&&np[t]&&(this.manager.element.style[Vh]=t),this.actions=t.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var t=[];return hp(this.manager.recognizers,function(r){pp(r.options.enable,[r])&&(t=t.concat(r.getTouchAction()))}),function(t){if(vp(t,$h))return $h;var r=vp(t,tp),n=vp(t,rp);return r&&n?$h:r||n?r?tp:rp:vp(t,Zh)?Zh:Qh}(t.join(" "))},r.preventDefaults=function(t){var r=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)r.preventDefault();else{var e=this.actions,i=vp(e,$h)&&!np[$h],o=vp(e,rp)&&!np[rp],u=vp(e,tp)&&!np[tp];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&n||u&&n&cp?this.preventSrc(r):void 0}},r.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function yp(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function gp(t){var r=t.length;if(1===r)return{x:Xh(t[0].clientX),y:Xh(t[0].clientY)};for(var n=0,e=0,i=0;i<r;)n+=t[i].clientX,e+=t[i].clientY,i++;return{x:Xh(n/r),y:Xh(e/r)}}function mp(t){for(var r=[],n=0;n<t.pointers.length;)r[n]={clientX:Xh(t.pointers[n].clientX),clientY:Xh(t.pointers[n].clientY)},n++;return{timeStamp:Gh(),pointers:r,center:gp(r),deltaX:t.deltaX,deltaY:t.deltaY}}function bp(t,r,n){n||(n=fp);var e=r[n[0]]-t[n[0]],i=r[n[1]]-t[n[1]];return Math.sqrt(e*e+i*i)}function _p(t,r,n){n||(n=fp);var e=r[n[0]]-t[n[0]],i=r[n[1]]-t[n[1]];return 180*Math.atan2(i,e)/Math.PI}function wp(t,r){return t===r?1:Bh(t)>=Bh(r)?t<0?2:4:r<0?8:sp}function Sp(t,r,n){return{x:r/t||0,y:n/t||0}}function Tp(t,r){var n=t.session,e=r.pointers,i=e.length;n.firstInput||(n.firstInput=mp(r)),i>1&&!n.firstMultiple?n.firstMultiple=mp(r):1===i&&(n.firstMultiple=!1);var o=n.firstInput,u=n.firstMultiple,a=u?u.center:o.center,s=r.center=gp(e);r.timeStamp=Gh(),r.deltaTime=r.timeStamp-o.timeStamp,r.angle=_p(a,s),r.distance=bp(a,s),function(t,r){var n=r.center,e=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},e=t.offsetDelta={x:n.x,y:n.y}),r.deltaX=i.x+(n.x-e.x),r.deltaY=i.y+(n.y-e.y)}(n,r),r.offsetDirection=wp(r.deltaX,r.deltaY);var c,f,l=Sp(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=l.x,r.overallVelocityY=l.y,r.overallVelocity=Bh(l.x)>Bh(l.y)?l.x:l.y,r.scale=u?(c=u.pointers,bp((f=e)[0],f[1],lp)/bp(c[0],c[1],lp)):1,r.rotation=u?function(t,r){return _p(r[1],r[0],lp)+_p(t[1],t[0],lp)}(u.pointers,e):0,r.maxPointers=n.prevInput?r.pointers.length>n.prevInput.maxPointers?r.pointers.length:n.prevInput.maxPointers:r.pointers.length,function(t,r){var n,e,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=Sp(a,s,c);e=f.x,i=f.y,n=Bh(f.x)>Bh(f.y)?f.x:f.y,o=wp(s,c),t.lastInterval=r}else n=u.velocity,e=u.velocityX,i=u.velocityY,o=u.direction;r.velocity=n,r.velocityX=e,r.velocityY=i,r.direction=o}(n,r);var h,p=t.element,v=r.srcEvent;yp(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),r.target=p}function Op(t,r,n){var e=n.pointers.length,i=n.changedPointers.length,o=1&r&&e-i===0,u=12&r&&e-i===0;n.isFirst=!!o,n.isFinal=!!u,o&&(t.session={}),n.eventType=r,Tp(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function Ep(t){return t.trim().split(/\s+/g)}function Ap(t,r,n){hp(Ep(r),function(r){t.addEventListener(r,n,!1)})}function Pp(t,r,n){hp(Ep(r),function(r){t.removeEventListener(r,n,!1)})}function Ip(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var jp=function(){function t(t,r){var n=this;this.manager=t,this.callback=r,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(r){pp(t.options.enable,[t])&&n.handler(r)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Ap(this.element,this.evEl,this.domHandler),this.evTarget&&Ap(this.target,this.evTarget,this.domHandler),this.evWin&&Ap(Ip(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&Pp(this.element,this.evEl,this.domHandler),this.evTarget&&Pp(this.target,this.evTarget,this.domHandler),this.evWin&&Pp(Ip(this.element),this.evWin,this.domHandler)},t}();function xp(t,r,n){if(t.indexOf&&!n)return t.indexOf(r);for(var e=0;e<t.length;){if(n&&t[e][n]==r||!n&&t[e]===r)return e;e++}return-1}var Dp={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},kp={2:up,3:"pen",4:ap,5:"kinect"},Cp="pointerdown",Mp="pointermove pointerup pointercancel";qh.MSPointerEvent&&!qh.PointerEvent&&(Cp="MSPointerDown",Mp="MSPointerMove MSPointerUp MSPointerCancel");var Np=function(t){function r(){var n,e=r.prototype;return e.evEl=Cp,e.evWin=Mp,(n=t.apply(this,arguments)||this).store=n.manager.session.pointerEvents=[],n}return Lh(r,t),r.prototype.handler=function(t){var r=this.store,n=!1,e=t.type.toLowerCase().replace("ms",""),i=Dp[e],o=kp[t.pointerType]||t.pointerType,u=o===up,a=xp(r,t.pointerId,"pointerId");1&i&&(0===t.button||u)?a<0&&(r.push(t),a=r.length-1):12&i&&(n=!0),a<0||(r[a]=t,this.callback(this.manager,i,{pointers:r,changedPointers:[t],pointerType:o,srcEvent:t}),n&&r.splice(a,1))},r}(jp);function Rp(t){return Array.prototype.slice.call(t,0)}function Fp(t,r,n){for(var e=[],i=[],o=0;o<t.length;){var u=r?t[o][r]:t[o];xp(i,u)<0&&e.push(t[o]),i[o]=u,o++}return n&&(e=r?e.sort(function(t,n){return t[r]>n[r]}):e.sort()),e}var Lp={touchstart:1,touchmove:2,touchend:4,touchcancel:8},zp=function(t){function r(){var n;return r.prototype.evTarget="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).targetIds={},n}return Lh(r,t),r.prototype.handler=function(t){var r=Lp[t.type],n=qp.call(this,t,r);n&&this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:up,srcEvent:t})},r}(jp);function qp(t,r){var n,e,i=Rp(t.touches),o=this.targetIds;if(3&r&&1===i.length)return o[i[0].identifier]=!0,[i,i];var u=Rp(t.changedTouches),a=[],s=this.target;if(e=i.filter(function(t){return yp(t.target,s)}),1===r)for(n=0;n<e.length;)o[e[n].identifier]=!0,n++;for(n=0;n<u.length;)o[u[n].identifier]&&a.push(u[n]),12&r&&delete o[u[n].identifier],n++;return a.length?[Fp(e.concat(a),"identifier",!0),a]:void 0}var Up={mousedown:1,mousemove:2,mouseup:4},Wp=function(t){function r(){var n,e=r.prototype;return e.evEl="mousedown",e.evWin="mousemove mouseup",(n=t.apply(this,arguments)||this).pressed=!1,n}return Lh(r,t),r.prototype.handler=function(t){var r=Up[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:ap,srcEvent:t}))},r}(jp);function Yp(t){var r=t.changedPointers[0];if(r.identifier===this.primaryTouch){var n={x:r.clientX,y:r.clientY},e=this.lastTouches;this.lastTouches.push(n);setTimeout(function(){var t=e.indexOf(n);t>-1&&e.splice(t,1)},2500)}}function Xp(t,r){1&t?(this.primaryTouch=r.changedPointers[0].identifier,Yp.call(this,r)):12&t&&Yp.call(this,r)}function Bp(t){for(var r=t.srcEvent.clientX,n=t.srcEvent.clientY,e=0;e<this.lastTouches.length;e++){var i=this.lastTouches[e],o=Math.abs(r-i.x),u=Math.abs(n-i.y);if(o<=25&&u<=25)return!0}return!1}var Gp=function(){return function(t){function r(r,n){var e;return(e=t.call(this,r,n)||this).handler=function(t,r,n){var i=n.pointerType===up,o=n.pointerType===ap;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)Xp.call(zh(zh(e)),r,n);else if(o&&Bp.call(zh(zh(e)),n))return;e.callback(t,r,n)}},e.touch=new zp(e.manager,e.handler),e.mouse=new Wp(e.manager,e.handler),e.primaryTouch=null,e.lastTouches=[],e}return Lh(r,t),r.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},r}(jp)}();function Hp(t,r,n){return!!Array.isArray(t)&&(hp(t,n[r],n),!0)}var Vp=32,Jp=1;function Kp(t,r){var n=r.manager;return n?n.get(t):t}function Qp(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Zp=function(){function t(t){void 0===t&&(t={}),this.options=Fh({enable:!0},t),this.id=Jp++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var r=t.prototype;return r.set=function(t){return Uh(this.options,t),this.manager&&this.manager.touchAction.update(),this},r.recognizeWith=function(t){if(Hp(t,"recognizeWith",this))return this;var r=this.simultaneous;return r[(t=Kp(t,this)).id]||(r[t.id]=t,t.recognizeWith(this)),this},r.dropRecognizeWith=function(t){return Hp(t,"dropRecognizeWith",this)||(t=Kp(t,this),delete this.simultaneous[t.id]),this},r.requireFailure=function(t){if(Hp(t,"requireFailure",this))return this;var r=this.requireFail;return-1===xp(r,t=Kp(t,this))&&(r.push(t),t.requireFailure(this)),this},r.dropRequireFailure=function(t){if(Hp(t,"dropRequireFailure",this))return this;t=Kp(t,this);var r=xp(this.requireFail,t);return r>-1&&this.requireFail.splice(r,1),this},r.hasRequireFailures=function(){return this.requireFail.length>0},r.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},r.emit=function(t){var r=this,n=this.state;function e(n){r.manager.emit(n,t)}n<8&&e(r.options.event+Qp(n)),e(r.options.event),t.additionalEvent&&e(t.additionalEvent),n>=8&&e(r.options.event+Qp(n))},r.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Vp},r.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},r.recognize=function(t){var r=Uh({},t);if(!pp(this.options.enable,[this,r]))return this.reset(),void(this.state=Vp);56&this.state&&(this.state=1),this.state=this.process(r),30&this.state&&this.tryEmit(r)},r.process=function(t){},r.getTouchAction=function(){},r.reset=function(){},t}(),$p=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Fh({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},r))||this).pTime=!1,n.pCenter=!1,n._timer=null,n._input=null,n.count=0,n}Lh(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Zh]},n.process=function(t){var r=this,n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime<n.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&e){if(4!==t.eventType)return this.failTimeout();var u=!this.pTime||t.timeStamp-this.pTime<n.interval,a=!this.pCenter||bp(this.pCenter,t.center)<n.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&u?this.count+=1:this.count=1,this._input=t,0===this.count%n.taps)return this.hasRequireFailures()?(this._timer=setTimeout(function(){r.state=8,r.tryEmit()},n.interval),2):8}return Vp},n.failTimeout=function(){var t=this;return this._timer=setTimeout(function(){t.state=Vp},this.options.interval),Vp},n.reset=function(){clearTimeout(this._timer)},n.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},r}(Zp),tv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({pointers:1},r))||this}Lh(r,t);var n=r.prototype;return n.attrTest=function(t){var r=this.options.pointers;return 0===r||t.pointers.length===r},n.process=function(t){var r=this.state,n=t.eventType,e=6&r,i=this.attrTest(t);return e&&(8&n||!i)?16|r:e||i?4&n?8|r:2&r?4|r:2:Vp},r}(Zp);function rv(t){return t===sp?"down":8===t?"up":2===t?"left":4===t?"right":""}var nv=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Fh({event:"pan",threshold:10,pointers:1,direction:30},r))||this).pX=null,n.pY=null,n}Lh(r,t);var n=r.prototype;return n.getTouchAction=function(){var t=this.options.direction,r=[];return 6&t&&r.push(rp),t&cp&&r.push(tp),r},n.directionTest=function(t){var r=this.options,n=!0,e=t.distance,i=t.direction,o=t.deltaX,u=t.deltaY;return i&r.direction||(6&r.direction?(i=0===o?1:o<0?2:4,n=o!==this.pX,e=Math.abs(t.deltaX)):(i=0===u?1:u<0?8:sp,n=u!==this.pY,e=Math.abs(t.deltaY))),t.direction=i,n&&e>r.threshold&&i&r.direction},n.attrTest=function(t){return tv.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},n.emit=function(r){this.pX=r.deltaX,this.pY=r.deltaY;var n=rv(r.direction);n&&(r.additionalEvent=this.options.event+n),t.prototype.emit.call(this,r)},r}(tv),ev=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},r))||this}Lh(r,t);var n=r.prototype;return n.getTouchAction=function(){return nv.prototype.getTouchAction.call(this)},n.attrTest=function(r){var n,e=this.options.direction;return 30&e?n=r.overallVelocity:6&e?n=r.overallVelocityX:e&cp&&(n=r.overallVelocityY),t.prototype.attrTest.call(this,r)&&e&r.offsetDirection&&r.distance>this.options.threshold&&r.maxPointers===this.options.pointers&&Bh(n)>this.options.velocity&&4&r.eventType},n.emit=function(t){var r=rv(t.offsetDirection);r&&this.manager.emit(this.options.event+r,t),this.manager.emit(this.options.event,t)},r}(tv),iv=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({event:"pinch",threshold:0,pointers:2},r))||this}Lh(r,t);var n=r.prototype;return n.getTouchAction=function(){return[$h]},n.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.scale-1)>this.options.threshold||2&this.state)},n.emit=function(r){if(1!==r.scale){var n=r.scale<1?"in":"out";r.additionalEvent=this.options.event+n}t.prototype.emit.call(this,r)},r}(tv),ov=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Fh({event:"rotate",threshold:0,pointers:2},r))||this}Lh(r,t);var n=r.prototype;return n.getTouchAction=function(){return[$h]},n.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.rotation)>this.options.threshold||2&this.state)},r}(tv),uv=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Fh({event:"press",pointers:1,time:251,threshold:9},r))||this)._timer=null,n._input=null,n}Lh(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Qh]},n.process=function(t){var r=this,n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime>n.time;if(this._input=t,!i||!e||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=setTimeout(function(){r.state=8,r.tryEmit()},n.time);else if(4&t.eventType)return 8;return Vp},n.reset=function(){clearTimeout(this._timer)},n.emit=function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Gh(),this.manager.emit(this.options.event,this._input)))},r}(Zp),av={domEvents:!1,touchAction:Kh,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},sv=[[ov,{enable:!1}],[iv,{enable:!1},["rotate"]],[ev,{direction:6}],[nv,{direction:6},["swipe"]],[$p],[$p,{event:"doubletap",taps:2},["tap"]],[uv]];function cv(t,r){var n,e=t.element;e.style&&(hp(t.options.cssProps,function(i,o){n=Hh(e.style,o),r?(t.oldCssProps[n]=e.style[n],e.style[n]=i):e.style[n]=t.oldCssProps[n]||""}),r||(t.oldCssProps={}))}var fv=function(){function t(t,r){var n,e=this;this.options=Uh({},av,r||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(ip?Np:op?zp:ep?Gp:Wp))(n,Op),this.touchAction=new dp(this,this.options.touchAction),cv(this,!0),hp(this.options.recognizers,function(t){var r=e.add(new t[0](t[1]));t[2]&&r.recognizeWith(t[2]),t[3]&&r.requireFailure(t[3])},this)}var r=t.prototype;return r.set=function(t){return Uh(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},r.stop=function(t){this.session.stopped=t?2:1},r.recognize=function(t){var r=this.session;if(!r.stopped){var n;this.touchAction.preventDefaults(t);var e=this.recognizers,i=r.curRecognizer;(!i||i&&8&i.state)&&(r.curRecognizer=null,i=null);for(var o=0;o<e.length;)n=e[o],2===r.stopped||i&&n!==i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&14&n.state&&(r.curRecognizer=n,i=n),o++}},r.get=function(t){if(t instanceof Zp)return t;for(var r=this.recognizers,n=0;n<r.length;n++)if(r[n].options.event===t)return r[n];return null},r.add=function(t){if(Hp(t,"add",this))return this;var r=this.get(t.options.event);return r&&this.remove(r),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},r.remove=function(t){if(Hp(t,"remove",this))return this;var r=this.get(t);if(t){var n=this.recognizers,e=xp(n,r);-1!==e&&(n.splice(e,1),this.touchAction.update())}return this},r.on=function(t,r){if(void 0===t||void 0===r)return this;var n=this.handlers;return hp(Ep(t),function(t){n[t]=n[t]||[],n[t].push(r)}),this},r.off=function(t,r){if(void 0===t)return this;var n=this.handlers;return hp(Ep(t),function(t){r?n[t]&&n[t].splice(xp(n[t],r),1):delete n[t]}),this},r.emit=function(t,r){this.options.domEvents&&function(t,r){var n=document.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=r,r.target.dispatchEvent(n)}(t,r);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){r.type=t,r.preventDefault=function(){r.srcEvent.preventDefault()};for(var e=0;e<n.length;)n[e](r),e++}},r.destroy=function(){this.element&&cv(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),lv={touchstart:1,touchmove:2,touchend:4,touchcancel:8},hv=function(t){function r(){var n,e=r.prototype;return e.evTarget="touchstart",e.evWin="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).started=!1,n}return Lh(r,t),r.prototype.handler=function(t){var r=lv[t.type];if(1===r&&(this.started=!0),this.started){var n=pv.call(this,t,r);12&r&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:up,srcEvent:t})}},r}(jp);function pv(t,r){var n=Rp(t.touches),e=Rp(t.changedTouches);return 12&r&&(n=Fp(n.concat(e),"identifier",!0)),[n,e]}function vv(t,r,n){var e="DEPRECATED METHOD: "+r+"\n"+n+" AT \n";return function(){var r=new Error("get-stack-trace"),n=r&&r.stack?r.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=window.console&&(window.console.warn||window.console.log);return i&&i.call(window.console,e,n),t.apply(this,arguments)}}var dv=vv(function(t,r,n){for(var e=Object.keys(r),i=0;i<e.length;)(!n||n&&void 0===t[e[i]])&&(t[e[i]]=r[e[i]]),i++;return t},"extend","Use `assign`."),yv=vv(function(t,r){return dv(t,r,!0)},"merge","Use `assign`.");function gv(t,r,n){var e,i=r.prototype;(e=t.prototype=Object.create(i)).constructor=t,e._super=i,n&&Uh(e,n)}function mv(t,r){return function(){return t.apply(r,arguments)}}var bv=function(){var t=function(t,r){return void 0===r&&(r={}),new fv(t,Fh({recognizers:sv.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=sp,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=cp,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=sp,t.INPUT_START=1,t.INPUT_MOVE=2,t.INPUT_END=4,t.INPUT_CANCEL=8,t.STATE_POSSIBLE=1,t.STATE_BEGAN=2,t.STATE_CHANGED=4,t.STATE_ENDED=8,t.STATE_RECOGNIZED=8,t.STATE_CANCELLED=16,t.STATE_FAILED=Vp,t.Manager=fv,t.Input=jp,t.TouchAction=dp,t.TouchInput=zp,t.MouseInput=Wp,t.PointerEventInput=Np,t.TouchMouseInput=Gp,t.SingleTouchInput=hv,t.Recognizer=Zp,t.AttrRecognizer=tv,t.Tap=$p,t.Pan=nv,t.Swipe=ev,t.Pinch=iv,t.Rotate=ov,t.Press=uv,t.on=Ap,t.off=Pp,t.each=hp,t.merge=yv,t.extend=dv,t.bindFn=mv,t.assign=Uh,t.inherit=gv,t.bindFn=mv,t.prefixed=Hh,t.toArray=Rp,t.inArray=xp,t.uniqueArray=Fp,t.splitStr=Ep,t.boolOrFn=pp,t.hasParent=yp,t.addEventListeners=Ap,t.removeEventListeners=Pp,t.defaults=Uh({},av,{preset:sv}),t}();const _v=Ic("DELETE");function wv(){const t=Sv(...arguments);return Ov(t),t}function Sv(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r.length<2)return r[0];if(r.length>2)return Sv(wv(r[0],r[1]),...Wc(r).call(r,2));const e=r[0],i=r[1];if(e instanceof Date&&i instanceof Date)return e.setTime(i.getTime()),e;for(const t of $c(i))Object.prototype.propertyIsEnumerable.call(i,t)&&(i[t]===_v?delete e[t]:null===e[t]||null===i[t]||"object"!=typeof e[t]||"object"!=typeof i[t]||ff(e[t])||ff(i[t])?e[t]=Tv(i[t]):e[t]=Sv(e[t],i[t]));return e}function Tv(t){return ff(t)?Zs(t).call(t,t=>Tv(t)):"object"==typeof t&&null!==t?t instanceof Date?new Date(t.getTime()):Sv({},t):t}function Ov(t){for(const r of Ef(t))t[r]===_v?delete t[r]:"object"==typeof t[r]&&null!==t[r]&&Ov(t[r])}const Ev="undefined"!=typeof window?window.Hammer||bv:function(){return function(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:()=>({set:t})}}()};function Av(t){var r;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(()=>{this._dom.overlay.parentNode.removeChild(this._dom.overlay)});const n=Ev(this._dom.overlay);n.on("tap",hs(r=this._onTapOverlay).call(r,this)),this._cleanupQueue.push(()=>{n.destroy()});const e=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];qf(e).call(e,t=>{n.on(t,t=>{t.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=r=>{(function(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1})(r.target,t)||this.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(()=>{document.body.removeEventListener("click",this._onClick)})),this._escListener=t=>{("key"in t?"Escape"===t.key:27===t.keyCode)&&this.deactivate()}}var Pv,Iv,jv,xv,Dv,kv;function Cv(){return Iv?Pv:(Iv=1,Li(),Pv=At().Object.getOwnPropertySymbols)}function Mv(){return xv?jv:(xv=1,jv=Cv())}Rh(Av.prototype),Av.current=null,Av.prototype.destroy=function(){this.deactivate();for(const n of il(t=_l(r=this._cleanupQueue).call(r,0)).call(t)){var t,r;n()}},Av.prototype.activate=function(){Av.current&&Av.current.deactivate(),Av.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},Av.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},Av.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var Nv,Rv,Fv,Lv,zv,qv,Uv=r(kv?Dv:(kv=1,Dv=Mv())),Wv={exports:{}},Yv={};function Xv(){if(Rv)return Wv.exports;Rv=1,function(){if(Nv)return Yv;Nv=1;var t=Zr(),r=w(),n=Ot(),e=Er().f,i=C();t({target:"Object",stat:!0,forced:!i||r(function(){e(1)}),sham:!i},{getOwnPropertyDescriptor:function(t,r){return e(n(t),r)}})}();var t=At().Object,r=Wv.exports=function(r,n){return t.getOwnPropertyDescriptor(r,n)};return t.getOwnPropertyDescriptor.sham&&(r.sham=!0),Wv.exports}function Bv(){return Lv?Fv:(Lv=1,Fv=Xv())}var Gv,Hv,Vv,Jv,Kv,Qv,Zv,$v=r(qv?zv:(qv=1,zv=Bv())),td={};function rd(){return Vv?Hv:(Vv=1,function(){if(Gv)return td;Gv=1;var t=Zr(),r=C(),n=Yc(),e=Ot(),i=Er(),o=Yn();t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var r,u,a=e(t),s=i.f,c=n(a),f={},l=0;c.length>l;)void 0!==(u=s(a,r=c[l++]))&&o(f,r,u);return f}})}(),Hv=At().Object.getOwnPropertyDescriptors)}function nd(){return Kv?Jv:(Kv=1,Jv=rd())}var ed,id,od,ud,ad,sd,cd=r(Zv?Qv:(Zv=1,Qv=nd())),fd={exports:{}},ld={};function hd(){if(ed)return ld;ed=1;var t=Zr(),r=C(),n=je().f;return t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n}),ld}function pd(){if(id)return fd.exports;id=1,hd();var t=At().Object,r=fd.exports=function(r,n){return t.defineProperties(r,n)};return t.defineProperties.sham&&(r.sham=!0),fd.exports}function vd(){return ud?od:(ud=1,od=pd())}var dd,yd,gd=r(sd?ad:(sd=1,ad=vd()));var md,bd,_d,wd,Sd,Td,Od,Ed,Ad,Pd,Id,jd,xd,Dd,kd,Cd,Md,Nd,Rd,Fd,Ld,zd,qd,Ud,Wd,Yd,Xd,Bd,Gd,Hd=r(yd?dd:(yd=1,dd=rn())),Vd={},Jd={exports:{}};function Kd(){return bd?md:(bd=1,md=w()(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))}function Qd(){if(wd)return _d;wd=1;var t=w(),r=Et(),n=E(),e=Kd(),i=Object.isExtensible,o=t(function(){});return _d=o||e?function(t){return!!r(t)&&((!e||"ArrayBuffer"!==n(t))&&(!i||i(t)))}:i}function Zd(){return Td?Sd:(Td=1,Sd=!w()(function(){return Object.isExtensible(Object.preventExtensions({}))}))}function $d(){if(Od)return Jd.exports;Od=1;var t=Zr(),r=O(),n=Ee(),e=Et(),i=mr(),o=Kr().f,u=Ne(),a=Ue(),s=Qd(),c=br(),f=Zd(),l=!1,h=c("meta"),p=0,v=function(t){o(t,h,{value:{objectID:"O"+p++,weakData:{}}})},d=Jd.exports={enable:function(){d.enable=function(){},l=!0;var n=u.f,e=r([].splice),i={};i[h]=1,n(i).length&&(u.f=function(t){for(var r=n(t),i=0,o=r.length;i<o;i++)if(r[i]===h){e(r,i,1);break}return r},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!e(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,h)){if(!s(t))return"F";if(!r)return"E";v(t)}return t[h].objectID},getWeakData:function(t,r){if(!i(t,h)){if(!s(t))return!0;if(!r)return!1;v(t)}return t[h].weakData},onFreeze:function(t){return f&&l&&s(t)&&!i(t,h)&&v(t),t}};return n[h]=!0,Jd.exports}function ty(){if(Ad)return Ed;Ad=1;var t=_r(),r=Ko(),n=t("iterator"),e=Array.prototype;return Ed=function(t){return void 0!==t&&(r.Array===t||e[n]===t)}}function ry(){if(Id)return Pd;Id=1;var t=Bn(),r=Rt(),n=St(),e=Ko(),i=_r()("iterator");return Pd=function(o){if(!n(o))return r(o,i)||r(o,"@@iterator")||e[t(o)]}}function ny(){if(xd)return jd;xd=1;var t=M(),r=Nt(),n=Jr(),e=Mt(),i=ry(),o=TypeError;return jd=function(u,a){var s=arguments.length<2?i(u):a;if(r(s))return n(t(s,u));throw new o(e(u)+" is not iterable")},jd}function ey(){if(kd)return Dd;kd=1;var t=M(),r=Jr(),n=Rt();return Dd=function(e,i,o){var u,a;r(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=t(u,e)}catch(t){a=!0,u=t}if("throw"===i)throw o;if(a)throw u;return r(u),o},Dd}function iy(){if(Md)return Cd;Md=1;var t=Pr(),r=M(),n=Jr(),e=Mt(),i=ty(),o=Un(),u=It(),a=ny(),s=ry(),c=ey(),f=TypeError,l=function(t,r){this.stopped=t,this.result=r},h=l.prototype;return Cd=function(p,v,d){var y,g,m,b,_,w,S,T=d&&d.that,O=!(!d||!d.AS_ENTRIES),E=!(!d||!d.IS_RECORD),A=!(!d||!d.IS_ITERATOR),P=!(!d||!d.INTERRUPTED),I=t(v,T),j=function(t){return y&&c(y,"normal"),new l(!0,t)},x=function(t){return O?(n(t),P?I(t[0],t[1],j):I(t[0],t[1])):P?I(t,j):I(t)};if(E)y=p.iterator;else if(A)y=p;else{if(!(g=s(p)))throw new f(e(p)+" is not iterable");if(i(g)){for(m=0,b=o(p);b>m;m++)if((_=x(p[m]))&&u(h,_))return _;return new l(!1)}y=a(p,g)}for(w=E?p.next:y.next;!(S=r(w,y)).done;){try{_=x(S.value)}catch(t){c(y,"throw",t)}if("object"==typeof _&&_&&u(h,_))return _}return new l(!1)},Cd}function oy(){if(Rd)return Nd;Rd=1;var t=It(),r=TypeError;return Nd=function(n,e){if(t(e,n))return n;throw new r("Incorrect invocation")}}function uy(){if(Ld)return Fd;Ld=1;var t=Zr(),r=_(),n=$d(),e=w(),i=Qr(),o=iy(),u=oy(),a=P(),s=Et(),c=St(),f=mi(),l=Kr().f,h=wi().forEach,p=C(),v=_i(),d=v.set,y=v.getterFor;return Fd=function(v,g,m){var b,_=-1!==v.indexOf("Map"),w=-1!==v.indexOf("Weak"),S=_?"set":"add",T=r[v],O=T&&T.prototype,E={};if(p&&a(T)&&(w||O.forEach&&!e(function(){(new T).entries().next()}))){var A=(b=g(function(t,r){d(u(t,A),{type:v,collection:new T}),c(r)||o(r,t[S],{that:t,AS_ENTRIES:_})})).prototype,P=y(v);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var r="add"===t||"set"===t;!(t in O)||w&&"clear"===t||i(A,t,function(n,e){var i=P(this).collection;if(!r&&w&&!s(n))return"get"===t&&void 0;var o=i[t](0===n?0:n,e);return r?this:o})}),w||l(A,"size",{configurable:!0,get:function(){return P(this).collection.size}})}else b=m.getConstructor(g,v,_,S),n.enable();return f(b,v,!1,!0),E[v]=b,t({global:!0,forced:!0},E),w||m.setStrong(b,v,_),b}}function ay(){if(qd)return zd;qd=1;var t=Je();return zd=function(r,n,e){for(var i in n)e&&e.unsafe&&r[i]?r[i]=n[i]:t(r,i,n[i],e);return r}}function sy(){if(Wd)return Ud;Wd=1;var t=Pt(),r=Ke(),n=_r(),e=C(),i=n("species");return Ud=function(n){var o=t(n);e&&o&&!o[i]&&r(o,i,{configurable:!0,get:function(){return this}})}}function cy(){if(Xd)return Yd;Xd=1;var t=ke(),r=Ke(),n=ay(),e=Pr(),i=oy(),o=St(),u=iy(),a=uu(),s=au(),c=sy(),f=C(),l=$d().fastKey,h=_i(),p=h.set,v=h.getterFor;return Yd={getConstructor:function(a,s,c,h){var d=a(function(r,n){i(r,y),p(r,{type:s,index:t(null),first:null,last:null,size:0}),f||(r.size=0),o(n)||u(n,r[h],{that:r,AS_ENTRIES:c})}),y=d.prototype,g=v(s),m=function(t,r,n){var e,i,o=g(t),u=b(t,r);return u?u.value=n:(o.last=u={index:i=l(r,!0),key:r,value:n,previous:e=o.last,next:null,removed:!1},o.first||(o.first=u),e&&(e.next=u),f?o.size++:t.size++,"F"!==i&&(o.index[i]=u)),t},b=function(t,r){var n,e=g(t),i=l(r);if("F"!==i)return e.index[i];for(n=e.first;n;n=n.next)if(n.key===r)return n};return n(y,{clear:function(){for(var r=g(this),n=r.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;r.first=r.last=null,r.index=t(null),f?r.size=0:this.size=0},delete:function(t){var r=this,n=g(r),e=b(r,t);if(e){var i=e.next,o=e.previous;delete n.index[e.index],e.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===e&&(n.first=i),n.last===e&&(n.last=o),f?n.size--:r.size--}return!!e},forEach:function(t){for(var r,n=g(this),i=e(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:n.first;)for(i(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!b(this,t)}}),n(y,c?{get:function(t){var r=b(this,t);return r&&r.value},set:function(t,r){return m(this,0===t?0:t,r)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),f&&r(y,"size",{configurable:!0,get:function(){return g(this).size}}),d},setStrong:function(t,r,n){var e=r+" Iterator",i=v(r),o=v(e);a(t,r,function(t,r){p(this,{type:e,target:t,state:i(t),kind:r,last:null})},function(){for(var t=o(this),r=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?s("keys"===r?n.key:"values"===r?n.value:[n.key,n.value],!1):(t.target=null,s(void 0,!0))},n?"entries":"values",!n,!0),c(r)}},Yd}function fy(){return Gd||(Gd=1,Bd||(Bd=1,uy()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},cy()))),Vd}var ly,hy,py,vy,dy,yy,gy,my,by,_y,wy,Sy={};function Ty(){return hy?ly:(hy=1,ly=function(t,r){return 1===r?function(r,n){return r[t](n)}:function(r,n,e){return r[t](n,e)}})}function Oy(){if(vy)return py;vy=1;var t=Pt(),r=Ty(),n=t("Map");return py={Map:n,set:r("set",2),get:r("get",1),has:r("has",1),remove:r("delete",1),proto:n.prototype}}function Ey(){return gy?yy:(gy=1,su(),fy(),function(){if(dy)return Sy;dy=1;var t=Zr(),r=O(),n=Nt(),e=Tt(),i=iy(),o=Oy(),u=pr(),a=w(),s=o.Map,c=o.has,f=o.get,l=o.set,h=r([].push),p=u||a(function(){return 1!==s.groupBy("ab",function(t){return t}).get("a").length});t({target:"Map",stat:!0,forced:u||p},{groupBy:function(t,r){e(t),n(r);var o=new s,u=0;return i(t,function(t){var n=r(t,u++);c(o,n)?h(f(o,n),t):l(o,n,[t])}),o}})}(),ia(),yy=At().Map)}function Ay(){if(by)return my;by=1;var t=Ey();return fu(),my=t}var Py,Iy,jy,xy,Dy,ky,Cy,My,Ny,Ry=r(wy?_y:(wy=1,_y=Ay())),Fy={};function Ly(){return jy?Iy:(jy=1,function(){if(Py)return Fy;Py=1;var t=Zr(),r=wi().some;t({target:"Array",proto:!0,forced:!ds()("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),Iy=Ba()("Array","some"))}function zy(){if(Dy)return xy;Dy=1;var t=It(),r=Ly(),n=Array.prototype;return xy=function(e){var i=e.some;return e===n||t(n,e)&&i===n.some?r:i}}function qy(){return Cy?ky:(Cy=1,ky=zy())}var Uy,Wy,Yy,Xy,By,Gy,Hy,Vy,Jy=r(Ny?My:(Ny=1,My=qy()));function Ky(){return Wy?Uy:(Wy=1,su(),Uy=Ba()("Array","keys"))}function Qy(){return Xy?Yy:(Xy=1,Yy=Ky())}function Zy(){if(Gy)return By;Gy=1,fu();var t=Bn(),r=mr(),n=It(),e=Qy(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return By=function(u){var a=u.keys;return u===i||n(i,u)&&a===i.keys||r(o,t(u))?e:a}}var $y,tg,rg,ng,eg,ig,og,ug,ag,sg,cg,fg,lg,hg,pg,vg,dg,yg=r(Vy?Hy:(Vy=1,Hy=Zy())),gg={};function mg(){if(tg)return $y;tg=1;var t=qe(),r=Math.floor,n=function(e,i){var o=e.length;if(o<8)for(var u,a,s=1;s<o;){for(a=s,u=e[s];a&&i(e[a-1],u)>0;)e[a]=e[--a];a!==s++&&(e[a]=u)}else for(var c=r(o/2),f=n(t(e,0,c),i),l=n(t(e,c),i),h=f.length,p=l.length,v=0,d=0;v<h||d<p;)e[v+d]=v<h&&d<p?i(f[v],l[d])<=0?f[v++]:l[d++]:v<h?f[v++]:l[d++];return e};return $y=n}function bg(){if(ng)return rg;ng=1;var t=jt().match(/firefox\/(\d+)/i);return rg=!!t&&+t[1]}function _g(){return ig?eg:(ig=1,eg=/MSIE|Trident/.test(jt()))}function wg(){if(ug)return og;ug=1;var t=jt().match(/AppleWebKit\/(\d+)\./);return og=!!t&&+t[1]}function Sg(){if(ag)return gg;ag=1;var t=Zr(),r=O(),n=Nt(),e=gr(),i=Un(),o=al(),u=ne(),a=w(),s=mg(),c=ds(),f=bg(),l=_g(),h=xt(),p=wg(),v=[],d=r(v.sort),y=r(v.push),g=a(function(){v.sort(void 0)}),m=a(function(){v.sort(null)}),b=c("sort"),_=!a(function(){if(h)return h<70;if(!(f&&f>3)){if(l)return!0;if(p)return p<603;var t,r,n,e,i="";for(t=65;t<76;t++){switch(r=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(e=0;e<47;e++)v.push({k:r+e,v:n})}for(v.sort(function(t,r){return r.v-t.v}),e=0;e<v.length;e++)r=v[e].k.charAt(0),i.charAt(i.length-1)!==r&&(i+=r);return"DGBEFHACIJK"!==i}});return t({target:"Array",proto:!0,forced:g||!m||!b||!_},{sort:function(t){void 0!==t&&n(t);var r=e(this);if(_)return void 0===t?d(r):d(r,t);var a,c,f=[],l=i(r);for(c=0;c<l;c++)c in r&&y(f,r[c]);for(s(f,function(t){return function(r,n){return void 0===n?-1:void 0===r?1:void 0!==t?+t(r,n)||0:u(r)>u(n)?1:-1}}(t)),a=i(f),c=0;c<a;)r[c]=f[c++];for(;c<l;)o(r,c++);return r}}),gg}function Tg(){return cg?sg:(cg=1,Sg(),sg=Ba()("Array","sort"))}function Og(){if(lg)return fg;lg=1;var t=It(),r=Tg(),n=Array.prototype;return fg=function(e){var i=e.sort;return e===n||t(n,e)&&i===n.sort?r:i}}function Eg(){return pg?hg:(pg=1,hg=Og())}var Ag,Pg,Ig,jg,xg,Dg,kg,Cg,Mg=r(dg?vg:(dg=1,vg=Eg()));function Ng(){return Pg?Ag:(Pg=1,su(),Ag=Ba()("Array","values"))}function Rg(){return jg?Ig:(jg=1,Ig=Ng())}function Fg(){if(Dg)return xg;Dg=1,fu();var t=Bn(),r=mr(),n=It(),e=Rg(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return xg=function(u){var a=u.values;return u===i||n(i,u)&&a===i.values||r(o,t(u))?e:a}}var Lg,zg,qg=r(Cg?kg:(Cg=1,kg=Fg()));var Ug,Wg,Yg,Xg,Bg,Gg,Hg,Vg,Jg=r(zg?Lg:(zg=1,Lg=ua()));function Kg(){return Wg?Ug:(Wg=1,su(),Ug=Ba()("Array","entries"))}function Qg(){return Xg?Yg:(Xg=1,Yg=Kg())}function Zg(){if(Gg)return Bg;Gg=1,fu();var t=Bn(),r=mr(),n=It(),e=Qg(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Bg=function(u){var a=u.entries;return u===i||n(i,u)&&a===i.entries||r(o,t(u))?e:a}}var $g=r(Vg?Hg:(Vg=1,Hg=Zg()));const tm=[];for(let t=0;t<256;++t)tm.push((t+256).toString(16).slice(1));const rm=new Uint8Array(16);function nm(t,r,n){return crypto.randomUUID?crypto.randomUUID():function(t){t=t||{};const r=t.random??t.rng?.()??crypto.getRandomValues(rm);if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(t,r=0){return(tm[t[r+0]]+tm[t[r+1]]+tm[t[r+2]]+tm[t[r+3]]+"-"+tm[t[r+4]]+tm[t[r+5]]+"-"+tm[t[r+6]]+tm[t[r+7]]+"-"+tm[t[r+8]]+tm[t[r+9]]+"-"+tm[t[r+10]]+tm[t[r+11]]+tm[t[r+12]]+tm[t[r+13]]+tm[t[r+14]]+tm[t[r+15]]).toLowerCase()}(r)}(t)}function em(t){return"string"==typeof t||"number"==typeof t}class im{constructor(t){ja(this,"_queue",[]),ja(this,"_timeout",null),ja(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(t)}setOptions(t){t&&void 0!==t.delay&&(this.delay=t.delay),t&&void 0!==t.max&&(this.max=t.max),this._flushIfNeeded()}static extend(t,r){const n=new im(r);if(void 0!==t.flush)throw new Error("Target object already has a property flush");t.flush=()=>{n.flush()};const e=[{name:"flush",original:void 0}];if(r&&r.replace)for(let i=0;i<r.replace.length;i++){const o=r.replace[i];e.push({name:o,original:t[o]}),n.replace(t,o)}return n._extended={object:t,methods:e},n}destroy(){if(this.flush(),this._extended){const t=this._extended.object,r=this._extended.methods;for(let n=0;n<r.length;n++){const e=r[n];e.original?t[e.name]=e.original:delete t[e.name]}this._extended=null}}replace(t,r){const n=this,e=t[r];if(!e)throw new Error("Method "+r+" undefined");t[r]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];n.queue({args:r,fn:e,context:this})}}queue(t){"function"==typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}_flushIfNeeded(){this._queue.length>this.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&"number"==typeof this.delay&&(this._timeout=Ch(()=>{this.flush()},this.delay))}flush(){var t,r;qf(t=_l(r=this._queue).call(r,0)).call(t,t=>{t.fn.apply(t.context||t.fn,t.args||[])})}}class om{constructor(){ja(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),ja(this,"subscribe",om.prototype.on),ja(this,"unsubscribe",om.prototype.off)}_trigger(t,r,n){var e;if("*"===t)throw new Error("Cannot trigger event *");qf(e=[...this._subscribers[t],...this._subscribers["*"]]).call(e,e=>{e(t,r,null!=n?n:null)})}on(t,r){"function"==typeof r&&this._subscribers[t].push(r)}off(t,r){var n;this._subscribers[t]=Xs(n=this._subscribers[t]).call(n,t=>t!==r)}}var um,am,sm={};function cm(){return am||(am=1,um||(um=1,uy()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},cy()))),sm}var fm,lm,hm,pm,vm,dm,ym,gm,mm,bm,_m,wm,Sm,Tm,Om,Em,Am,Pm,Im,jm,xm,Dm={};function km(){if(lm)return fm;lm=1;var t=Mt(),r=TypeError;return fm=function(n){if("object"==typeof n&&"size"in n&&"has"in n&&"add"in n&&"delete"in n&&"keys"in n)return n;throw new r(t(n)+" is not a set")}}function Cm(){if(pm)return hm;pm=1;var t=Pt(),r=Ty(),n=t("Set"),e=n.prototype;return hm={Set:n,add:r("add",1),has:r("has",1),remove:r("delete",1),proto:e}}function Mm(){if(dm)return vm;dm=1;var t=M();return vm=function(r,n,e){for(var i,o,u=e?r:r.iterator,a=r.next;!(i=t(a,u)).done;)if(void 0!==(o=n(i.value)))return o},vm}function Nm(){if(gm)return ym;gm=1;var t=Mm();return ym=function(r,n,e){return e?t(r.keys(),n,!0):r.forEach(n)},ym}function Rm(){if(bm)return mm;bm=1;var t=Cm(),r=Nm(),n=t.Set,e=t.add;return mm=function(t){var i=new n;return r(t,function(t){e(i,t)}),i},mm}function Fm(){return wm||(wm=1,_m=function(t){return t.size}),_m}function Lm(){return Tm?Sm:(Tm=1,Sm=function(t){return{iterator:t,next:t.next,done:!1}})}function zm(){if(Em)return Om;Em=1;var t=Nt(),r=Jr(),n=M(),e=zn(),i=Lm(),o="Invalid size",u=RangeError,a=TypeError,s=Math.max,c=function(r,n){this.set=r,this.size=s(n,0),this.has=t(r.has),this.keys=t(r.keys)};return c.prototype={getIterator:function(){return i(r(n(this.keys,this.set)))},includes:function(t){return n(this.has,this.set,t)}},Om=function(t){r(t);var n=+t.size;if(n!=n)throw new a(o);var i=e(n);if(i<0)throw new u(o);return new c(t,i)}}function qm(){if(Pm)return Am;Pm=1;var t=km(),r=Cm(),n=Rm(),e=Fm(),i=zm(),o=Nm(),u=Mm(),a=r.has,s=r.remove;return Am=function(r){var c=t(this),f=i(r),l=n(c);return e(c)<=f.size?o(c,function(t){f.includes(t)&&s(l,t)}):u(f.getIterator(),function(t){a(l,t)&&s(l,t)}),l}}function Um(){return jm?Im:(jm=1,Im=function(){return!1})}var Wm,Ym,Xm,Bm={};function Gm(){if(Ym)return Wm;Ym=1;var t=km(),r=Cm(),n=Fm(),e=zm(),i=Nm(),o=Mm(),u=r.Set,a=r.add,s=r.has;return Wm=function(r){var c=t(this),f=e(r),l=new u;return n(c)>f.size?o(f.getIterator(),function(t){s(c,t)&&a(l,t)}):i(c,function(t){f.includes(t)&&a(l,t)}),l}}var Hm,Vm,Jm,Km={};function Qm(){if(Vm)return Hm;Vm=1;var t=km(),r=Cm().has,n=Fm(),e=zm(),i=Nm(),o=Mm(),u=ey();return Hm=function(a){var s=t(this),c=e(a);if(n(s)<=c.size)return!1!==i(s,function(t){if(c.includes(t))return!1},!0);var f=c.getIterator();return!1!==o(f,function(t){if(r(s,t))return u(f,"normal",!1)})},Hm}var Zm,$m,tb,rb={};function nb(){if($m)return Zm;$m=1;var t=km(),r=Fm(),n=Nm(),e=zm();return Zm=function(i){var o=t(this),u=e(i);return!(r(o)>u.size)&&!1!==n(o,function(t){if(!u.includes(t))return!1},!0)}}var eb,ib,ob,ub={};function ab(){if(ib)return eb;ib=1;var t=km(),r=Cm().has,n=Fm(),e=zm(),i=Mm(),o=ey();return eb=function(u){var a=t(this),s=e(u);if(n(a)<s.size)return!1;var c=s.getIterator();return!1!==i(c,function(t){if(!r(a,t))return o(c,"normal",!1)})},eb}var sb,cb,fb,lb,hb,pb={};function vb(){if(cb)return sb;cb=1;var t=km(),r=Cm(),n=Rm(),e=zm(),i=Mm(),o=r.add,u=r.has,a=r.remove;return sb=function(r){var s=t(this),c=e(r).getIterator(),f=n(s);return i(c,function(t){u(s,t)?a(f,t):o(f,t)}),f}}function db(){return lb?fb:(lb=1,fb=function(t){try{var r=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return r.clear(),r.add(4),function(){return{done:!0}}}})}},e=r[t](n);return 1===e.size&&4===e.values().next().value}catch(t){return!1}})}var yb,gb,mb,bb,_b,wb,Sb,Tb,Ob,Eb={};function Ab(){if(gb)return yb;gb=1;var t=km(),r=Cm().add,n=Rm(),e=zm(),i=Mm();return yb=function(o){var u=t(this),a=e(o).getIterator(),s=n(u);return i(a,function(t){r(s,t)}),s}}function Pb(){return _b?bb:(_b=1,su(),cm(),function(){if(xm)return Dm;xm=1;var t=Zr(),r=qm(),n=w();t({target:"Set",proto:!0,real:!0,forced:!Um()("difference",function(t){return 0===t.size})||n(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var n=t++>1;return r.has(1)&&r.clear(),{done:n,value:2}}}}},r=new Set([1,2,3,4]);return 3!==r.difference(t).size})},{difference:r})}(),function(){if(Xm)return Bm;Xm=1;var t=Zr(),r=w(),n=Gm();t({target:"Set",proto:!0,real:!0,forced:!Um()("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||r(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}(),function(){if(Jm)return Km;Jm=1;var t=Zr(),r=Qm();t({target:"Set",proto:!0,real:!0,forced:!Um()("isDisjointFrom",function(t){return!t})},{isDisjointFrom:r})}(),function(){if(tb)return rb;tb=1;var t=Zr(),r=nb();t({target:"Set",proto:!0,real:!0,forced:!Um()("isSubsetOf",function(t){return t})},{isSubsetOf:r})}(),function(){if(ob)return ub;ob=1;var t=Zr(),r=ab();t({target:"Set",proto:!0,real:!0,forced:!Um()("isSupersetOf",function(t){return!t})},{isSupersetOf:r})}(),function(){if(hb)return pb;hb=1;var t=Zr(),r=vb(),n=db();t({target:"Set",proto:!0,real:!0,forced:!Um()("symmetricDifference")||!n("symmetricDifference")},{symmetricDifference:r})}(),function(){if(mb)return Eb;mb=1;var t=Zr(),r=Ab(),n=db();t({target:"Set",proto:!0,real:!0,forced:!Um()("union")||!n("union")},{union:r})}(),ia(),bb=At().Set)}function Ib(){if(Sb)return wb;Sb=1;var t=Pb();return fu(),wb=t}var jb,xb,Db,kb,Cb,Mb,Nb,Rb,Fb,Lb,zb,qb,Ub=r(Ob?Tb:(Ob=1,Tb=Ib()));function Wb(){return xb?jb:(xb=1,su(),ia(),jb=ny())}function Yb(){if(kb)return Db;kb=1;var t=Wb();return fu(),Db=t}function Xb(){return Mb?Cb:(Mb=1,Cb=Yb())}function Bb(){return Rb?Nb:(Rb=1,Nb=Xb())}function Gb(){return Lb?Fb:(Lb=1,Fb=Bb())}var Hb=r(qb?zb:(qb=1,zb=Gb()));class Vb{constructor(t){this._pairs=t}*[Jg](){for(const[t,r]of this._pairs)yield[t,r]}*entries(){for(const[t,r]of this._pairs)yield[t,r]}*keys(){for(const[t]of this._pairs)yield t}*values(){for(const[,t]of this._pairs)yield t}toIdArray(){var t;return Zs(t=[...this._pairs]).call(t,t=>t[0])}toItemArray(){var t;return Zs(t=[...this._pairs]).call(t,t=>t[1])}toEntryArray(){return[...this._pairs]}toObjectMap(){const t=uh(null);for(const[r,n]of this._pairs)t[r]=n;return t}toMap(){return new Ry(this._pairs)}toIdSet(){return new Ub(this.toIdArray())}toItemSet(){return new Ub(this.toItemArray())}cache(){return new Vb([...this._pairs])}distinct(t){const r=new Ub;for(const[n,e]of this._pairs)r.add(t(e,n));return r}filter(t){const r=this._pairs;return new Vb({*[Jg](){for(const[n,e]of r)t(e,n)&&(yield[n,e])}})}forEach(t){for(const[r,n]of this._pairs)t(n,r)}map(t){const r=this._pairs;return new Vb({*[Jg](){for(const[n,e]of r)yield[n,t(e,n)]}})}max(t){const r=Hb(this._pairs);let n=r.next();if(n.done)return null;let e=n.value[1],i=t(n.value[1],n.value[0]);for(;!(n=r.next()).done;){const[r,o]=n.value,u=t(o,r);u>i&&(i=u,e=o)}return e}min(t){const r=Hb(this._pairs);let n=r.next();if(n.done)return null;let e=n.value[1],i=t(n.value[1],n.value[0]);for(;!(n=r.next()).done;){const[r,o]=n.value,u=t(o,r);u<i&&(i=u,e=o)}return e}reduce(t,r){for(const[n,e]of this._pairs)r=t(r,e,n);return r}sort(t){return new Vb({[Jg]:()=>{var r;return Hb(Mg(r=[...this._pairs]).call(r,(r,n)=>{let[e,i]=r,[o,u]=n;return t(i,u,e,o)}))}})}}function Jb(t,r){var n=Ef(t);if(Uv){var e=Uv(t);r&&(e=Xs(e).call(e,function(r){return $v(t,r).enumerable})),n.push.apply(n,e)}return n}function Kb(t){for(var r=1;r<arguments.length;r++){var n,e,i=null!=arguments[r]?arguments[r]:{};r%2?qf(n=Jb(Object(i),!0)).call(n,function(r){ja(t,r,i[r])}):cd?gd(t,cd(i)):qf(e=Jb(Object(i))).call(e,function(r){Hd(t,r,$v(i,r))})}return t}class Qb extends om{get idProp(){return this._idProp}constructor(t,r){super(),ja(this,"_queue",null),t&&!ff(t)&&(r=t,t=[]),this._options=r||{},this._data=new Ry,this.length=0,this._idProp=this._options.fieldId||"id",t&&t.length&&this.add(t),this.setOptions(r)}setOptions(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=im.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"==typeof t.queue&&this._queue.setOptions(t.queue)))}add(t,r){const n=[];let e;if(ff(t)){const r=Zs(t).call(t,t=>t[this._idProp]);if(Jy(r).call(r,t=>this._data.has(t)))throw new Error("A duplicate id was found in the parameter array.");for(let r=0,i=t.length;r<i;r++)e=this._addItem(t[r]),n.push(e)}else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");e=this._addItem(t),n.push(e)}return n.length&&this._trigger("add",{items:n},r),n}update(t,r){const n=[],e=[],i=[],o=[],u=this._idProp,a=t=>{const r=t[u];if(null!=r&&this._data.has(r)){const n=t,u=Cl({},this._data.get(r)),a=this._updateItem(n);e.push(a),o.push(n),i.push(u)}else{const r=this._addItem(t);n.push(r)}};if(ff(t))for(let r=0,n=t.length;r<n;r++)t[r]&&"object"==typeof t[r]?a(t[r]):console.warn("Ignoring input item, which is not an object at index "+r);else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");a(t)}if(n.length&&this._trigger("add",{items:n},r),e.length){const t={items:e,oldData:i,data:o};this._trigger("update",t,r)}return Xl(n).call(n,e)}updateOnly(t,r){var n;ff(t)||(t=[t]);const e=Zs(n=Zs(t).call(t,t=>{const r=this._data.get(t[this._idProp]);if(null==r)throw new Error("Updating non-existent items is not allowed.");return{oldData:r,update:t}})).call(n,t=>{let{oldData:r,update:n}=t;const e=r[this._idProp],i=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),e=1;e<r;e++)n[e-1]=arguments[e];return wv({},t,...n)}(r,n);return this._data.set(e,i),{id:e,oldData:r,updatedData:i}});if(e.length){const t={items:Zs(e).call(e,t=>t.id),oldData:Zs(e).call(e,t=>t.oldData),data:Zs(e).call(e,t=>t.updatedData)};return this._trigger("update",t,r),t.items}return[]}get(t,r){let n,e,i;em(t)?(n=t,i=r):ff(t)?(e=t,i=r):i=t;const o=i&&"Object"===i.returnType?"Object":"Array",u=i&&Xs(i),a=[];let s,c,f;if(null!=n)s=this._data.get(n),s&&u&&!u(s)&&(s=void 0);else if(null!=e)for(let t=0,r=e.length;t<r;t++)s=this._data.get(e[t]),null==s||u&&!u(s)||a.push(s);else{var l;c=[...yg(l=this._data).call(l)];for(let t=0,r=c.length;t<r;t++)f=c[t],s=this._data.get(f),null==s||u&&!u(s)||a.push(s)}if(i&&i.order&&null==n&&this._sort(a,i.order),i&&i.fields){const t=i.fields;if(null!=n&&null!=s)s=this._filterFields(s,t);else for(let r=0,n=a.length;r<n;r++)a[r]=this._filterFields(a[r],t)}if("Object"==o){const t={};for(let r=0,n=a.length;r<n;r++){const n=a[r];t[n[this._idProp]]=n}return t}return null!=n?null!=s?s:null:a}getIds(t){const r=this._data,n=t&&Xs(t),e=t&&t.order,i=[...yg(r).call(r)],o=[];if(n)if(e){const t=[];for(let r=0,e=i.length;r<e;r++){const e=i[r],o=this._data.get(e);null!=o&&n(o)&&t.push(o)}this._sort(t,e);for(let r=0,n=t.length;r<n;r++)o.push(t[r][this._idProp])}else for(let t=0,r=i.length;t<r;t++){const r=i[t],e=this._data.get(r);null!=e&&n(e)&&o.push(e[this._idProp])}else if(e){const t=[];for(let n=0,e=i.length;n<e;n++){const e=i[n];t.push(r.get(e))}this._sort(t,e);for(let r=0,n=t.length;r<n;r++)o.push(t[r][this._idProp])}else for(let t=0,n=i.length;t<n;t++){const n=i[t],e=r.get(n);null!=e&&o.push(e[this._idProp])}return o}getDataSet(){return this}forEach(t,r){const n=r&&Xs(r),e=this._data,i=[...yg(e).call(e)];if(r&&r.order){const n=this.get(r);for(let r=0,e=n.length;r<e;r++){const e=n[r];t(e,e[this._idProp])}}else for(let r=0,e=i.length;r<e;r++){const e=i[r],o=this._data.get(e);null==o||n&&!n(o)||t(o,e)}}map(t,r){const n=r&&Xs(r),e=[],i=this._data,o=[...yg(i).call(i)];for(let r=0,i=o.length;r<i;r++){const i=o[r],u=this._data.get(i);null==u||n&&!n(u)||e.push(t(u,i))}return r&&r.order&&this._sort(e,r.order),e}_filterFields(t,r){var n;return t?xs(n=ff(r)?r:Ef(r)).call(n,(r,n)=>(r[n]=t[n],r),{}):t}_sort(t,r){if("string"==typeof r){const n=r;Mg(t).call(t,(t,r)=>{const e=t[n],i=r[n];return e>i?1:e<i?-1:0})}else{if("function"!=typeof r)throw new TypeError("Order must be a function or a string");Mg(t).call(t,r)}}remove(t,r){const n=[],e=[],i=ff(t)?t:[t];for(let t=0,r=i.length;t<r;t++){const r=this._remove(i[t]);if(r){const t=r[this._idProp];null!=t&&(n.push(t),e.push(r))}}return n.length&&this._trigger("remove",{items:n,oldData:e},r),n}_remove(t){let r;if(em(t)?r=t:t&&"object"==typeof t&&(r=t[this._idProp]),null!=r&&this._data.has(r)){const t=this._data.get(r)||null;return this._data.delete(r),--this.length,t}return null}clear(t){var r;const n=[...yg(r=this._data).call(r)],e=[];for(let t=0,r=n.length;t<r;t++)e.push(this._data.get(n[t]));return this._data.clear(),this.length=0,this._trigger("remove",{items:n,oldData:e},t),n}max(t){let r=null,n=null;for(const i of qg(e=this._data).call(e)){var e;const o=i[t];"number"==typeof o&&(null==n||o>n)&&(r=i,n=o)}return r||null}min(t){let r=null,n=null;for(const i of qg(e=this._data).call(e)){var e;const o=i[t];"number"==typeof o&&(null==n||o<n)&&(r=i,n=o)}return r||null}distinct(t){const r=this._data,n=[...yg(r).call(r)],e=[];let i=0;for(let o=0,u=n.length;o<u;o++){const u=n[o],a=r.get(u)[t];let s=!1;for(let t=0;t<i;t++)if(e[t]==a){s=!0;break}s||void 0===a||(e[i]=a,i++)}return e}_addItem(t){const r=function(t,r){return null==t[r]&&(t[r]=nm()),t}(t,this._idProp),n=r[this._idProp];if(this._data.has(n))throw new Error("Cannot add item: item with id "+n+" already exists");return this._data.set(n,r),++this.length,n}_updateItem(t){const r=t[this._idProp];if(null==r)throw new Error("Cannot update item: item has no id (item: "+mh(t)+")");const n=this._data.get(r);if(!n)throw new Error("Cannot update item: no item with id "+r+" found");return this._data.set(r,Kb(Kb({},n),t)),r}stream(t){if(t){const r=this._data;return new Vb({*[Jg](){for(const n of t){const t=r.get(n);null!=t&&(yield[n,t])}}})}var r;return new Vb({[Jg]:hs(r=$g(this._data)).call(r,this._data)})}}class Zb extends om{get idProp(){return this.getDataSet().idProp}constructor(t,r){var n;super(),ja(this,"length",0),ja(this,"_ids",new Ub),this._options=r||{},this._listener=hs(n=this._onEvent).call(n,this),this.setData(t)}setData(t){if(this._data){this._data.off&&this._data.off("*",this._listener);const t=this._data.getIds({filter:Xs(this._options)}),r=this._data.get(t);this._ids.clear(),this.length=0,this._trigger("remove",{items:t,oldData:r})}if(null!=t){this._data=t;const r=this._data.getIds({filter:Xs(this._options)});for(let t=0,n=r.length;t<n;t++){const n=r[t];this._ids.add(n)}this.length=r.length,this._trigger("add",{items:r})}else this._data=new Qb;this._data.on&&this._data.on("*",this._listener)}refresh(){const t=this._data.getIds({filter:Xs(this._options)}),r=[...this._ids],n={},e=[],i=[],o=[];for(let r=0,i=t.length;r<i;r++){const i=t[r];n[i]=!0,this._ids.has(i)||(e.push(i),this._ids.add(i))}for(let t=0,e=r.length;t<e;t++){const e=r[t],u=this._data.get(e);null==u?console.error("If you see this, report it please."):n[e]||(i.push(e),o.push(u),this._ids.delete(e))}this.length+=e.length-i.length,e.length&&this._trigger("add",{items:e}),i.length&&this._trigger("remove",{items:i,oldData:o})}get(t,r){if(null==this._data)return null;let n,e=null;em(t)||ff(t)?(e=t,n=r):n=t;const i=Cl({},this._options,n),o=Xs(this._options),u=n&&Xs(n);return o&&u&&(i.filter=t=>o(t)&&u(t)),null==e?this._data.get(i):this._data.get(e,i)}getIds(t){if(this._data.length){const r=Xs(this._options),n=null!=t?Xs(t):null;let e;return e=n?r?t=>r(t)&&n(t):n:r,this._data.getIds({filter:e,order:t&&t.order})}return[]}forEach(t,r){if(this._data){var n;const e=Xs(this._options),i=r&&Xs(r);let o;o=i?e?function(t){return e(t)&&i(t)}:i:e,qf(n=this._data).call(n,t,{filter:o,order:r&&r.order})}}map(t,r){if(this._data){var n;const e=Xs(this._options),i=r&&Xs(r);let o;return o=i?e?t=>e(t)&&i(t):i:e,Zs(n=this._data).call(n,t,{filter:o,order:r&&r.order})}return[]}getDataSet(){return this._data.getDataSet()}stream(t){var r;return this._data.stream(t||{[Jg]:hs(r=yg(this._ids)).call(r,this._ids)})}dispose(){var t;null!==(t=this._data)&&void 0!==t&&t.off&&this._data.off("*",this._listener);const r="This data view has already been disposed of.",n={get:()=>{throw new Error(r)},set:()=>{throw new Error(r)},configurable:!1};for(const t of $c(Zb.prototype))Hd(this,t,n)}_onEvent(t,r,n){if(!r||!r.items||!this._data)return;const e=r.items,i=[],o=[],u=[],a=[],s=[],c=[];switch(t){case"add":for(let t=0,r=e.length;t<r;t++){const r=e[t];this.get(r)&&(this._ids.add(r),i.push(r))}break;case"update":for(let t=0,n=e.length;t<n;t++){const n=e[t];this.get(n)?this._ids.has(n)?(o.push(n),s.push(r.data[t]),a.push(r.oldData[t])):(this._ids.add(n),i.push(n)):this._ids.has(n)&&(this._ids.delete(n),u.push(n),c.push(r.oldData[t]))}break;case"remove":for(let t=0,n=e.length;t<n;t++){const n=e[t];this._ids.has(n)&&(this._ids.delete(n),u.push(n),c.push(r.oldData[t]))}}this.length+=i.length-u.length,i.length&&this._trigger("add",{items:i},n),o.length&&this._trigger("update",{items:o,oldData:a,data:s},n),u.length&&this._trigger("remove",{items:u,oldData:c},n)}}function $b(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof r.add&&"function"==typeof r.clear&&"function"==typeof r.distinct&&"function"==typeof qf(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof Zs(r)&&"function"==typeof r.max&&"function"==typeof r.min&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.remove&&"function"==typeof r.setOptions&&"function"==typeof r.stream&&"function"==typeof r.update&&"function"==typeof r.updateOnly}function t_(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof qf(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof Zs(r)&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.stream&&$b(t,r.getDataSet())}export{_v as DELETE,Qb as DataSet,Vb as DataStream,Zb as DataView,im as Queue,yc as createNewDataPipeFrom,$b as isDataSetLike,t_ as isDataViewLike};
|
|
33
|
+
function Cv(){return Cv=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},Cv.apply(this,arguments)}function Mv(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}function Nv(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Rv,Fv="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),n=1;n<arguments.length;n++){var e=arguments[n];if(null!=e)for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i])}return r}:Object.assign,Lv=["","webkit","Moz","MS","ms","o"],zv="undefined"==typeof document?{style:{}}:document.createElement("div"),qv=Math.round,Uv=Math.abs,Wv=Date.now;function Yv(t,r){for(var n,e,i=r[0].toUpperCase()+r.slice(1),o=0;o<Lv.length;){if((e=(n=Lv[o])?n+i:r)in t)return e;o++}}Rv="undefined"==typeof window?{}:window;var Xv=Yv(zv.style,"touchAction"),Bv=void 0!==Xv;var Gv="compute",Jv="auto",Hv="manipulation",Vv="none",Kv="pan-x",Qv="pan-y",$v=function(){if(!Bv)return!1;var t={},r=Rv.CSS&&Rv.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){return t[n]=!r||Rv.CSS.supports("touch-action",n)}),t}(),Zv="ontouchstart"in Rv,td=void 0!==Yv(Rv,"PointerEvent"),rd=Zv&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),nd="touch",ed="mouse",id=16,od=24,ud=["x","y"],ad=["clientX","clientY"];function sd(t,r,n){var e;if(t)if(t.forEach)t.forEach(r,n);else if(void 0!==t.length)for(e=0;e<t.length;)r.call(n,t[e],e,t),e++;else for(e in t)t.hasOwnProperty(e)&&r.call(n,t[e],e,t)}function cd(t,r){return"function"==typeof t?t.apply(r&&r[0]||void 0,r):t}function fd(t,r){return t.indexOf(r)>-1}var ld=function(){function t(t,r){this.manager=t,this.set(r)}var r=t.prototype;return r.set=function(t){t===Gv&&(t=this.compute()),Bv&&this.manager.element.style&&$v[t]&&(this.manager.element.style[Xv]=t),this.actions=t.toLowerCase().trim()},r.update=function(){this.set(this.manager.options.touchAction)},r.compute=function(){var t=[];return sd(this.manager.recognizers,function(r){cd(r.options.enable,[r])&&(t=t.concat(r.getTouchAction()))}),function(t){if(fd(t,Vv))return Vv;var r=fd(t,Kv),n=fd(t,Qv);return r&&n?Vv:r||n?r?Kv:Qv:fd(t,Hv)?Hv:Jv}(t.join(" "))},r.preventDefaults=function(t){var r=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)r.preventDefault();else{var e=this.actions,i=fd(e,Vv)&&!$v[Vv],o=fd(e,Qv)&&!$v[Qv],u=fd(e,Kv)&&!$v[Kv];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&n||u&&n&od?this.preventSrc(r):void 0}},r.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function hd(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1}function pd(t){var r=t.length;if(1===r)return{x:qv(t[0].clientX),y:qv(t[0].clientY)};for(var n=0,e=0,i=0;i<r;)n+=t[i].clientX,e+=t[i].clientY,i++;return{x:qv(n/r),y:qv(e/r)}}function vd(t){for(var r=[],n=0;n<t.pointers.length;)r[n]={clientX:qv(t.pointers[n].clientX),clientY:qv(t.pointers[n].clientY)},n++;return{timeStamp:Wv(),pointers:r,center:pd(r),deltaX:t.deltaX,deltaY:t.deltaY}}function dd(t,r,n){n||(n=ud);var e=r[n[0]]-t[n[0]],i=r[n[1]]-t[n[1]];return Math.sqrt(e*e+i*i)}function yd(t,r,n){n||(n=ud);var e=r[n[0]]-t[n[0]],i=r[n[1]]-t[n[1]];return 180*Math.atan2(i,e)/Math.PI}function gd(t,r){return t===r?1:Uv(t)>=Uv(r)?t<0?2:4:r<0?8:id}function md(t,r,n){return{x:r/t||0,y:n/t||0}}function bd(t,r){var n=t.session,e=r.pointers,i=e.length;n.firstInput||(n.firstInput=vd(r)),i>1&&!n.firstMultiple?n.firstMultiple=vd(r):1===i&&(n.firstMultiple=!1);var o=n.firstInput,u=n.firstMultiple,a=u?u.center:o.center,s=r.center=pd(e);r.timeStamp=Wv(),r.deltaTime=r.timeStamp-o.timeStamp,r.angle=yd(a,s),r.distance=dd(a,s),function(t,r){var n=r.center,e=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},e=t.offsetDelta={x:n.x,y:n.y}),r.deltaX=i.x+(n.x-e.x),r.deltaY=i.y+(n.y-e.y)}(n,r),r.offsetDirection=gd(r.deltaX,r.deltaY);var c,f,l=md(r.deltaTime,r.deltaX,r.deltaY);r.overallVelocityX=l.x,r.overallVelocityY=l.y,r.overallVelocity=Uv(l.x)>Uv(l.y)?l.x:l.y,r.scale=u?(c=u.pointers,dd((f=e)[0],f[1],ad)/dd(c[0],c[1],ad)):1,r.rotation=u?function(t,r){return yd(r[1],r[0],ad)+yd(t[1],t[0],ad)}(u.pointers,e):0,r.maxPointers=n.prevInput?r.pointers.length>n.prevInput.maxPointers?r.pointers.length:n.prevInput.maxPointers:r.pointers.length,function(t,r){var n,e,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=md(a,s,c);e=f.x,i=f.y,n=Uv(f.x)>Uv(f.y)?f.x:f.y,o=gd(s,c),t.lastInterval=r}else n=u.velocity,e=u.velocityX,i=u.velocityY,o=u.direction;r.velocity=n,r.velocityX=e,r.velocityY=i,r.direction=o}(n,r);var h,p=t.element,v=r.srcEvent;hd(h=v.composedPath?v.composedPath()[0]:v.path?v.path[0]:v.target,p)&&(p=h),r.target=p}function _d(t,r,n){var e=n.pointers.length,i=n.changedPointers.length,o=1&r&&e-i===0,u=12&r&&e-i===0;n.isFirst=!!o,n.isFinal=!!u,o&&(t.session={}),n.eventType=r,bd(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function wd(t){return t.trim().split(/\s+/g)}function Sd(t,r,n){sd(wd(r),function(r){t.addEventListener(r,n,!1)})}function Od(t,r,n){sd(wd(r),function(r){t.removeEventListener(r,n,!1)})}function Td(t){var r=t.ownerDocument||t;return r.defaultView||r.parentWindow||window}var Ed=function(){function t(t,r){var n=this;this.manager=t,this.callback=r,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(r){cd(t.options.enable,[t])&&n.handler(r)},this.init()}var r=t.prototype;return r.handler=function(){},r.init=function(){this.evEl&&Sd(this.element,this.evEl,this.domHandler),this.evTarget&&Sd(this.target,this.evTarget,this.domHandler),this.evWin&&Sd(Td(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&Od(this.element,this.evEl,this.domHandler),this.evTarget&&Od(this.target,this.evTarget,this.domHandler),this.evWin&&Od(Td(this.element),this.evWin,this.domHandler)},t}();function Ad(t,r,n){if(t.indexOf&&!n)return t.indexOf(r);for(var e=0;e<t.length;){if(n&&t[e][n]==r||!n&&t[e]===r)return e;e++}return-1}var Id={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},jd={2:nd,3:"pen",4:ed,5:"kinect"},Pd="pointerdown",xd="pointermove pointerup pointercancel";Rv.MSPointerEvent&&!Rv.PointerEvent&&(Pd="MSPointerDown",xd="MSPointerMove MSPointerUp MSPointerCancel");var Dd=function(t){function r(){var n,e=r.prototype;return e.evEl=Pd,e.evWin=xd,(n=t.apply(this,arguments)||this).store=n.manager.session.pointerEvents=[],n}return Mv(r,t),r.prototype.handler=function(t){var r=this.store,n=!1,e=t.type.toLowerCase().replace("ms",""),i=Id[e],o=jd[t.pointerType]||t.pointerType,u=o===nd,a=Ad(r,t.pointerId,"pointerId");1&i&&(0===t.button||u)?a<0&&(r.push(t),a=r.length-1):12&i&&(n=!0),a<0||(r[a]=t,this.callback(this.manager,i,{pointers:r,changedPointers:[t],pointerType:o,srcEvent:t}),n&&r.splice(a,1))},r}(Ed);function kd(t){return Array.prototype.slice.call(t,0)}function Cd(t,r,n){for(var e=[],i=[],o=0;o<t.length;){var u=r?t[o][r]:t[o];Ad(i,u)<0&&e.push(t[o]),i[o]=u,o++}return n&&(e=r?e.sort(function(t,n){return t[r]>n[r]}):e.sort()),e}var Md={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Nd=function(t){function r(){var n;return r.prototype.evTarget="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).targetIds={},n}return Mv(r,t),r.prototype.handler=function(t){var r=Md[t.type],n=Rd.call(this,t,r);n&&this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:nd,srcEvent:t})},r}(Ed);function Rd(t,r){var n,e,i=kd(t.touches),o=this.targetIds;if(3&r&&1===i.length)return o[i[0].identifier]=!0,[i,i];var u=kd(t.changedTouches),a=[],s=this.target;if(e=i.filter(function(t){return hd(t.target,s)}),1===r)for(n=0;n<e.length;)o[e[n].identifier]=!0,n++;for(n=0;n<u.length;)o[u[n].identifier]&&a.push(u[n]),12&r&&delete o[u[n].identifier],n++;return a.length?[Cd(e.concat(a),"identifier",!0),a]:void 0}var Fd={mousedown:1,mousemove:2,mouseup:4},Ld=function(t){function r(){var n,e=r.prototype;return e.evEl="mousedown",e.evWin="mousemove mouseup",(n=t.apply(this,arguments)||this).pressed=!1,n}return Mv(r,t),r.prototype.handler=function(t){var r=Fd[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:ed,srcEvent:t}))},r}(Ed);function zd(t){var r=t.changedPointers[0];if(r.identifier===this.primaryTouch){var n={x:r.clientX,y:r.clientY},e=this.lastTouches;this.lastTouches.push(n);setTimeout(function(){var t=e.indexOf(n);t>-1&&e.splice(t,1)},2500)}}function qd(t,r){1&t?(this.primaryTouch=r.changedPointers[0].identifier,zd.call(this,r)):12&t&&zd.call(this,r)}function Ud(t){for(var r=t.srcEvent.clientX,n=t.srcEvent.clientY,e=0;e<this.lastTouches.length;e++){var i=this.lastTouches[e],o=Math.abs(r-i.x),u=Math.abs(n-i.y);if(o<=25&&u<=25)return!0}return!1}var Wd=function(){return function(t){function r(r,n){var e;return(e=t.call(this,r,n)||this).handler=function(t,r,n){var i=n.pointerType===nd,o=n.pointerType===ed;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)qd.call(Nv(Nv(e)),r,n);else if(o&&Ud.call(Nv(Nv(e)),n))return;e.callback(t,r,n)}},e.touch=new Nd(e.manager,e.handler),e.mouse=new Ld(e.manager,e.handler),e.primaryTouch=null,e.lastTouches=[],e}return Mv(r,t),r.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},r}(Ed)}();function Yd(t,r,n){return!!Array.isArray(t)&&(sd(t,n[r],n),!0)}var Xd=32,Bd=1;function Gd(t,r){var n=r.manager;return n?n.get(t):t}function Jd(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}var Hd=function(){function t(t){void 0===t&&(t={}),this.options=Cv({enable:!0},t),this.id=Bd++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var r=t.prototype;return r.set=function(t){return Fv(this.options,t),this.manager&&this.manager.touchAction.update(),this},r.recognizeWith=function(t){if(Yd(t,"recognizeWith",this))return this;var r=this.simultaneous;return r[(t=Gd(t,this)).id]||(r[t.id]=t,t.recognizeWith(this)),this},r.dropRecognizeWith=function(t){return Yd(t,"dropRecognizeWith",this)||(t=Gd(t,this),delete this.simultaneous[t.id]),this},r.requireFailure=function(t){if(Yd(t,"requireFailure",this))return this;var r=this.requireFail;return-1===Ad(r,t=Gd(t,this))&&(r.push(t),t.requireFailure(this)),this},r.dropRequireFailure=function(t){if(Yd(t,"dropRequireFailure",this))return this;t=Gd(t,this);var r=Ad(this.requireFail,t);return r>-1&&this.requireFail.splice(r,1),this},r.hasRequireFailures=function(){return this.requireFail.length>0},r.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},r.emit=function(t){var r=this,n=this.state;function e(n){r.manager.emit(n,t)}n<8&&e(r.options.event+Jd(n)),e(r.options.event),t.additionalEvent&&e(t.additionalEvent),n>=8&&e(r.options.event+Jd(n))},r.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Xd},r.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},r.recognize=function(t){var r=Fv({},t);if(!cd(this.options.enable,[this,r]))return this.reset(),void(this.state=Xd);56&this.state&&(this.state=1),this.state=this.process(r),30&this.state&&this.tryEmit(r)},r.process=function(t){},r.getTouchAction=function(){},r.reset=function(){},t}(),Vd=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Cv({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},r))||this).pTime=!1,n.pCenter=!1,n._timer=null,n._input=null,n.count=0,n}Mv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Hv]},n.process=function(t){var r=this,n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime<n.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&e){if(4!==t.eventType)return this.failTimeout();var u=!this.pTime||t.timeStamp-this.pTime<n.interval,a=!this.pCenter||dd(this.pCenter,t.center)<n.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&u?this.count+=1:this.count=1,this._input=t,0===this.count%n.taps)return this.hasRequireFailures()?(this._timer=setTimeout(function(){r.state=8,r.tryEmit()},n.interval),2):8}return Xd},n.failTimeout=function(){var t=this;return this._timer=setTimeout(function(){t.state=Xd},this.options.interval),Xd},n.reset=function(){clearTimeout(this._timer)},n.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},r}(Hd),Kd=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Cv({pointers:1},r))||this}Mv(r,t);var n=r.prototype;return n.attrTest=function(t){var r=this.options.pointers;return 0===r||t.pointers.length===r},n.process=function(t){var r=this.state,n=t.eventType,e=6&r,i=this.attrTest(t);return e&&(8&n||!i)?16|r:e||i?4&n?8|r:2&r?4|r:2:Xd},r}(Hd);function Qd(t){return t===id?"down":8===t?"up":2===t?"left":4===t?"right":""}var $d=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Cv({event:"pan",threshold:10,pointers:1,direction:30},r))||this).pX=null,n.pY=null,n}Mv(r,t);var n=r.prototype;return n.getTouchAction=function(){var t=this.options.direction,r=[];return 6&t&&r.push(Qv),t&od&&r.push(Kv),r},n.directionTest=function(t){var r=this.options,n=!0,e=t.distance,i=t.direction,o=t.deltaX,u=t.deltaY;return i&r.direction||(6&r.direction?(i=0===o?1:o<0?2:4,n=o!==this.pX,e=Math.abs(t.deltaX)):(i=0===u?1:u<0?8:id,n=u!==this.pY,e=Math.abs(t.deltaY))),t.direction=i,n&&e>r.threshold&&i&r.direction},n.attrTest=function(t){return Kd.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},n.emit=function(r){this.pX=r.deltaX,this.pY=r.deltaY;var n=Qd(r.direction);n&&(r.additionalEvent=this.options.event+n),t.prototype.emit.call(this,r)},r}(Kd),Zd=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Cv({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},r))||this}Mv(r,t);var n=r.prototype;return n.getTouchAction=function(){return $d.prototype.getTouchAction.call(this)},n.attrTest=function(r){var n,e=this.options.direction;return 30&e?n=r.overallVelocity:6&e?n=r.overallVelocityX:e&od&&(n=r.overallVelocityY),t.prototype.attrTest.call(this,r)&&e&r.offsetDirection&&r.distance>this.options.threshold&&r.maxPointers===this.options.pointers&&Uv(n)>this.options.velocity&&4&r.eventType},n.emit=function(t){var r=Qd(t.offsetDirection);r&&this.manager.emit(this.options.event+r,t),this.manager.emit(this.options.event,t)},r}(Kd),ty=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Cv({event:"pinch",threshold:0,pointers:2},r))||this}Mv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Vv]},n.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.scale-1)>this.options.threshold||2&this.state)},n.emit=function(r){if(1!==r.scale){var n=r.scale<1?"in":"out";r.additionalEvent=this.options.event+n}t.prototype.emit.call(this,r)},r}(Kd),ry=function(t){function r(r){return void 0===r&&(r={}),t.call(this,Cv({event:"rotate",threshold:0,pointers:2},r))||this}Mv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Vv]},n.attrTest=function(r){return t.prototype.attrTest.call(this,r)&&(Math.abs(r.rotation)>this.options.threshold||2&this.state)},r}(Kd),ny=function(t){function r(r){var n;return void 0===r&&(r={}),(n=t.call(this,Cv({event:"press",pointers:1,time:251,threshold:9},r))||this)._timer=null,n._input=null,n}Mv(r,t);var n=r.prototype;return n.getTouchAction=function(){return[Jv]},n.process=function(t){var r=this,n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,o=t.deltaTime>n.time;if(this._input=t,!i||!e||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=setTimeout(function(){r.state=8,r.tryEmit()},n.time);else if(4&t.eventType)return 8;return Xd},n.reset=function(){clearTimeout(this._timer)},n.emit=function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Wv(),this.manager.emit(this.options.event,this._input)))},r}(Hd),ey={domEvents:!1,touchAction:Gv,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},iy=[[ry,{enable:!1}],[ty,{enable:!1},["rotate"]],[Zd,{direction:6}],[$d,{direction:6},["swipe"]],[Vd],[Vd,{event:"doubletap",taps:2},["tap"]],[ny]];function oy(t,r){var n,e=t.element;e.style&&(sd(t.options.cssProps,function(i,o){n=Yv(e.style,o),r?(t.oldCssProps[n]=e.style[n],e.style[n]=i):e.style[n]=t.oldCssProps[n]||""}),r||(t.oldCssProps={}))}var uy=function(){function t(t,r){var n,e=this;this.options=Fv({},ey,r||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(td?Dd:rd?Nd:Zv?Wd:Ld))(n,_d),this.touchAction=new ld(this,this.options.touchAction),oy(this,!0),sd(this.options.recognizers,function(t){var r=e.add(new t[0](t[1]));t[2]&&r.recognizeWith(t[2]),t[3]&&r.requireFailure(t[3])},this)}var r=t.prototype;return r.set=function(t){return Fv(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},r.stop=function(t){this.session.stopped=t?2:1},r.recognize=function(t){var r=this.session;if(!r.stopped){var n;this.touchAction.preventDefaults(t);var e=this.recognizers,i=r.curRecognizer;(!i||i&&8&i.state)&&(r.curRecognizer=null,i=null);for(var o=0;o<e.length;)n=e[o],2===r.stopped||i&&n!==i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&14&n.state&&(r.curRecognizer=n,i=n),o++}},r.get=function(t){if(t instanceof Hd)return t;for(var r=this.recognizers,n=0;n<r.length;n++)if(r[n].options.event===t)return r[n];return null},r.add=function(t){if(Yd(t,"add",this))return this;var r=this.get(t.options.event);return r&&this.remove(r),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},r.remove=function(t){if(Yd(t,"remove",this))return this;var r=this.get(t);if(t){var n=this.recognizers,e=Ad(n,r);-1!==e&&(n.splice(e,1),this.touchAction.update())}return this},r.on=function(t,r){if(void 0===t||void 0===r)return this;var n=this.handlers;return sd(wd(t),function(t){n[t]=n[t]||[],n[t].push(r)}),this},r.off=function(t,r){if(void 0===t)return this;var n=this.handlers;return sd(wd(t),function(t){r?n[t]&&n[t].splice(Ad(n[t],r),1):delete n[t]}),this},r.emit=function(t,r){this.options.domEvents&&function(t,r){var n=document.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=r,r.target.dispatchEvent(n)}(t,r);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){r.type=t,r.preventDefault=function(){r.srcEvent.preventDefault()};for(var e=0;e<n.length;)n[e](r),e++}},r.destroy=function(){this.element&&oy(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},t}(),ay={touchstart:1,touchmove:2,touchend:4,touchcancel:8},sy=function(t){function r(){var n,e=r.prototype;return e.evTarget="touchstart",e.evWin="touchstart touchmove touchend touchcancel",(n=t.apply(this,arguments)||this).started=!1,n}return Mv(r,t),r.prototype.handler=function(t){var r=ay[t.type];if(1===r&&(this.started=!0),this.started){var n=cy.call(this,t,r);12&r&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:nd,srcEvent:t})}},r}(Ed);function cy(t,r){var n=kd(t.touches),e=kd(t.changedTouches);return 12&r&&(n=Cd(n.concat(e),"identifier",!0)),[n,e]}function fy(t,r,n){var e="DEPRECATED METHOD: "+r+"\n"+n+" AT \n";return function(){var r=new Error("get-stack-trace"),n=r&&r.stack?r.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=window.console&&(window.console.warn||window.console.log);return i&&i.call(window.console,e,n),t.apply(this,arguments)}}var ly=fy(function(t,r,n){for(var e=Object.keys(r),i=0;i<e.length;)(!n||n&&void 0===t[e[i]])&&(t[e[i]]=r[e[i]]),i++;return t},"extend","Use `assign`."),hy=fy(function(t,r){return ly(t,r,!0)},"merge","Use `assign`.");function py(t,r,n){var e,i=r.prototype;(e=t.prototype=Object.create(i)).constructor=t,e._super=i,n&&Fv(e,n)}function vy(t,r){return function(){return t.apply(r,arguments)}}var dy=function(){var t=function(t,r){return void 0===r&&(r={}),new uy(t,Cv({recognizers:iy.concat()},r))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=30,t.DIRECTION_DOWN=id,t.DIRECTION_LEFT=2,t.DIRECTION_RIGHT=4,t.DIRECTION_UP=8,t.DIRECTION_HORIZONTAL=6,t.DIRECTION_VERTICAL=od,t.DIRECTION_NONE=1,t.DIRECTION_DOWN=id,t.INPUT_START=1,t.INPUT_MOVE=2,t.INPUT_END=4,t.INPUT_CANCEL=8,t.STATE_POSSIBLE=1,t.STATE_BEGAN=2,t.STATE_CHANGED=4,t.STATE_ENDED=8,t.STATE_RECOGNIZED=8,t.STATE_CANCELLED=16,t.STATE_FAILED=Xd,t.Manager=uy,t.Input=Ed,t.TouchAction=ld,t.TouchInput=Nd,t.MouseInput=Ld,t.PointerEventInput=Dd,t.TouchMouseInput=Wd,t.SingleTouchInput=sy,t.Recognizer=Hd,t.AttrRecognizer=Kd,t.Tap=Vd,t.Pan=$d,t.Swipe=Zd,t.Pinch=ty,t.Rotate=ry,t.Press=ny,t.on=Sd,t.off=Od,t.each=sd,t.merge=hy,t.extend=ly,t.bindFn=vy,t.assign=Fv,t.inherit=py,t.bindFn=vy,t.prefixed=Yv,t.toArray=kd,t.inArray=Ad,t.uniqueArray=Cd,t.splitStr=wd,t.boolOrFn=cd,t.hasParent=hd,t.addEventListeners=Sd,t.removeEventListeners=Od,t.defaults=Fv({},ey,{preset:iy}),t}();const yy=zl("DELETE");function gy(){const t=my(...arguments);return _y(t),t}function my(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r.length<2)return r[0];if(r.length>2)return my(gy(r[0],r[1]),...Vl(r).call(r,2));const e=r[0],i=r[1];if(e instanceof Date&&i instanceof Date)return e.setTime(i.getTime()),e;for(const t of rh(i))Object.prototype.propertyIsEnumerable.call(i,t)&&(i[t]===yy?delete e[t]:null===e[t]||null===i[t]||"object"!=typeof e[t]||"object"!=typeof i[t]||ch(e[t])||ch(i[t])?e[t]=by(i[t]):e[t]=my(e[t],i[t]));return e}function by(t){return ch(t)?ac(t).call(t,t=>by(t)):"object"==typeof t&&null!==t?t instanceof Date?new Date(t.getTime()):my({},t):t}function _y(t){for(const r of Th(t))t[r]===yy?delete t[r]:"object"==typeof t[r]&&null!==t[r]&&_y(t[r])}const wy="undefined"!=typeof window?window.Hammer||dy:function(){return function(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:()=>({set:t})}}()};function Sy(t){var r;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(()=>{this._dom.overlay.parentNode.removeChild(this._dom.overlay)});const n=wy(this._dom.overlay);n.on("tap",ws(r=this._onTapOverlay).call(r,this)),this._cleanupQueue.push(()=>{n.destroy()});const e=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];zh(e).call(e,t=>{n.on(t,t=>{t.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=r=>{(function(t,r){for(;t;){if(t===r)return!0;t=t.parentNode}return!1})(r.target,t)||this.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(()=>{document.body.removeEventListener("click",this._onClick)})),this._escListener=t=>{("key"in t?"Escape"===t.key:27===t.keyCode)&&this.deactivate()}}var Oy,Ty,Ey,Ay,Iy,jy;function Py(){return Ty?Oy:(Ty=1,Ji(),Oy=At().Object.getOwnPropertySymbols)}function xy(){return Ay?Ey:(Ay=1,Ey=Py())}kv(Sy.prototype),Sy.current=null,Sy.prototype.destroy=function(){this.deactivate();for(const n of rp(t=yp(r=this._cleanupQueue).call(r,0)).call(t)){var t,r;n()}},Sy.prototype.activate=function(){Sy.current&&Sy.current.deactivate(),Sy.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},Sy.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},Sy.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var Dy,ky,Cy,My,Ny,Ry,Fy=r(jy?Iy:(jy=1,Iy=xy())),Ly={exports:{}},zy={};function qy(){if(ky)return Ly.exports;ky=1,function(){if(Dy)return zy;Dy=1;var t=$r(),r=w(),n=Tt(),e=Er().f,i=C();t({target:"Object",stat:!0,forced:!i||r(function(){e(1)}),sham:!i},{getOwnPropertyDescriptor:function(t,r){return e(n(t),r)}})}();var t=At().Object,r=Ly.exports=function(r,n){return t.getOwnPropertyDescriptor(r,n)};return t.getOwnPropertyDescriptor.sham&&(r.sham=!0),Ly.exports}function Uy(){return My?Cy:(My=1,Cy=qy())}var Wy,Yy,Xy,By,Gy,Jy,Hy,Vy=r(Ry?Ny:(Ry=1,Ny=Uy())),Ky={};function Qy(){return Xy?Yy:(Xy=1,function(){if(Wy)return Ky;Wy=1;var t=$r(),r=C(),n=Kl(),e=Tt(),i=Er(),o=Bn();t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var r,u,a=e(t),s=i.f,c=n(a),f={},l=0;c.length>l;)void 0!==(u=s(a,r=c[l++]))&&o(f,r,u);return f}})}(),Yy=At().Object.getOwnPropertyDescriptors)}function $y(){return Gy?By:(Gy=1,By=Qy())}var Zy,tg,rg,ng,eg,ig,og=r(Hy?Jy:(Hy=1,Jy=$y())),ug={exports:{}},ag={};function sg(){if(Zy)return ag;Zy=1;var t=$r(),r=C(),n=ke().f;return t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n}),ag}function cg(){if(tg)return ug.exports;tg=1,sg();var t=At().Object,r=ug.exports=function(r,n){return t.defineProperties(r,n)};return t.defineProperties.sham&&(r.sham=!0),ug.exports}function fg(){return ng?rg:(ng=1,rg=cg())}var lg,hg,pg=r(ig?eg:(ig=1,eg=fg()));var vg,dg,yg,gg,mg,bg,_g,wg,Sg,Og,Tg,Eg,Ag,Ig,jg,Pg,xg,Dg,kg,Cg,Mg,Ng=r(hg?lg:(hg=1,lg=rn())),Rg={},Fg={exports:{}};function Lg(){return dg?vg:(dg=1,vg=w()(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))}function zg(){if(gg)return yg;gg=1;var t=w(),r=Et(),n=E(),e=Lg(),i=Object.isExtensible,o=t(function(){});return yg=o||e?function(t){return!!r(t)&&((!e||"ArrayBuffer"!==n(t))&&(!i||i(t)))}:i}function qg(){return bg?mg:(bg=1,mg=!w()(function(){return Object.isExtensible(Object.preventExtensions({}))}))}function Ug(){if(_g)return Fg.exports;_g=1;var t=$r(),r=T(),n=je(),e=Et(),i=mr(),o=Kr().f,u=Le(),a=Xe(),s=zg(),c=br(),f=qg(),l=!1,h=c("meta"),p=0,v=function(t){o(t,h,{value:{objectID:"O"+p++,weakData:{}}})},d=Fg.exports={enable:function(){d.enable=function(){},l=!0;var n=u.f,e=r([].splice),i={};i[h]=1,n(i).length&&(u.f=function(t){for(var r=n(t),i=0,o=r.length;i<o;i++)if(r[i]===h){e(r,i,1);break}return r},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!e(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,h)){if(!s(t))return"F";if(!r)return"E";v(t)}return t[h].objectID},getWeakData:function(t,r){if(!i(t,h)){if(!s(t))return!0;if(!r)return!1;v(t)}return t[h].weakData},onFreeze:function(t){return f&&l&&s(t)&&!i(t,h)&&v(t),t}};return n[h]=!0,Fg.exports}function Wg(){if(Sg)return wg;Sg=1;var t=Ir(),r=M(),n=Vr(),e=Mt(),i=Ol(),o=Yn(),u=jt(),a=Tl(),s=rf(),c=wl(),f=TypeError,l=function(t,r){this.stopped=t,this.result=r},h=l.prototype;return wg=function(p,v,d){var y,g,m,b,_,w,S,O=d&&d.that,T=!(!d||!d.AS_ENTRIES),E=!(!d||!d.IS_RECORD),A=!(!d||!d.IS_ITERATOR),I=!(!d||!d.INTERRUPTED),j=t(v,O),P=function(t){var r=y;return y=void 0,r&&c(r,"normal"),new l(!0,t)},x=function(t){return T?(n(t),I?j(t[0],t[1],P):j(t[0],t[1])):I?j(t,P):j(t)};if(E)y=p.iterator;else if(A)y=p;else{if(!(g=s(p)))throw new f(e(p)+" is not iterable");if(i(g)){for(m=0,b=o(p);b>m;m++)if((_=x(p[m]))&&u(h,_))return _;return new l(!1)}y=a(p,g)}for(w=E?p.next:y.next;!(S=r(w,y)).done;){var D=S.value;try{_=x(D)}catch(t){if(!y)throw t;c(y,"throw",t)}if("object"==typeof _&&_&&u(h,_))return _}return new l(!1)},wg}function Yg(){if(Tg)return Og;Tg=1;var t=jt(),r=TypeError;return Og=function(n,e){if(t(e,n))return n;throw new r("Incorrect invocation")}}function Xg(){if(Ag)return Eg;Ag=1;var t=$r(),r=_(),n=Ug(),e=M(),i=w(),o=Qr(),u=Wg(),a=Yg(),s=I(),c=Et(),f=St(),l=wi(),h=Kr().f,p=Ti().forEach,v=C(),d=Oi(),y=d.set,g=d.getterFor;return Eg=function(d,m,b){var _,w=-1!==d.indexOf("Map"),S=-1!==d.indexOf("Weak"),O=w?"set":"add",T=r[d],E=T&&T.prototype,A={};if(v&&s(T)&&(S||E.forEach&&!i(function(){(new T).entries().next()}))){var I=(_=m(function(t,r){y(a(t,I),{type:d,collection:new T}),f(r)||u(r,t[O],{that:t,AS_ENTRIES:w})})).prototype,j=g(d);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(t){var r="add"===t||"set"===t;!(t in E)||S&&"clear"===t||o(I,t,function(n,i){var o=this,u=j(o).collection;if(!r&&S&&!c(n))return"get"===t&&void 0;var a=u[t]("forEach"===t?function(t,r){e(n,i,t,r,o)}:0===n?0:n,i);return r?o:a})}),S||h(I,"size",{configurable:!0,get:function(){return j(this).collection.size}})}else _=b.getConstructor(m,d,w,O),n.enable();return l(_,d,!1,!0),A[d]=_,t({global:!0,forced:!0},A),S||b.setStrong(_,d,w),_}}function Bg(){if(jg)return Ig;jg=1;var t=$e();return Ig=function(r,n,e){for(var i in n)e&&e.unsafe&&r[i]?r[i]=n[i]:t(r,i,n[i],e);return r}}function Gg(){if(xg)return Pg;xg=1;var t=It(),r=Ze(),n=_r(),e=C(),i=n("species");return Pg=function(n){var o=t(n);e&&o&&!o[i]&&r(o,i,{configurable:!0,get:function(){return this}})}}function Jg(){if(kg)return Dg;kg=1;var t=Ne(),r=Ze(),n=Bg(),e=Ir(),i=Yg(),o=St(),u=Wg(),a=du(),s=yu(),c=Gg(),f=C(),l=Ug().fastKey,h=Oi(),p=h.set,v=h.getterFor;return Dg={getConstructor:function(a,s,c,h){var d=a(function(r,n){i(r,y),p(r,{type:s,index:t(null),first:null,last:null,size:0}),f||(r.size=0),o(n)||u(n,r[h],{that:r,AS_ENTRIES:c})}),y=d.prototype,g=v(s),m=function(t,r,n){var e,i,o=g(t),u=b(t,r);return u?u.value=n:(o.last=u={index:i=l(r,!0),key:r,value:n,previous:e=o.last,next:null,removed:!1},o.first||(o.first=u),e&&(e.next=u),f?o.size++:t.size++,"F"!==i&&(o.index[i]=u)),t},b=function(t,r){var n,e=g(t),i=l(r);if("F"!==i)return e.index[i];for(n=e.first;n;n=n.next)if(n.key===r)return n};return n(y,{clear:function(){for(var r=g(this),n=r.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;r.first=r.last=null,r.index=t(null),f?r.size=0:this.size=0},delete:function(t){var r=this,n=g(r),e=b(r,t);if(e){var i=e.next,o=e.previous;delete n.index[e.index],e.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===e&&(n.first=i),n.last===e&&(n.last=o),f?n.size--:r.size--}return!!e},forEach:function(t){for(var r,n=g(this),i=e(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:n.first;)for(i(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!b(this,t)}}),n(y,c?{get:function(t){var r=b(this,t);return r&&r.value},set:function(t,r){return m(this,0===t?0:t,r)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),f&&r(y,"size",{configurable:!0,get:function(){return g(this).size}}),d},setStrong:function(t,r,n){var e=r+" Iterator",i=v(r),o=v(e);a(t,r,function(t,r){p(this,{type:e,target:t,state:i(t),kind:r,last:null})},function(){for(var t=o(this),r=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?s("keys"===r?n.key:"values"===r?n.value:[n.key,n.value],!1):(t.target=null,s(void 0,!0))},n?"entries":"values",!n,!0),c(r)}},Dg}function Hg(){return Mg||(Mg=1,Cg||(Cg=1,Xg()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Jg()))),Rg}var Vg,Kg,Qg,$g,Zg,tm={};function rm(){return Kg?Vg:(Kg=1,Vg=function(t,r){return 1===r?function(r,n){return r[t](n)}:function(r,n,e){return r[t](n,e)}})}function nm(){if($g)return Qg;$g=1;var t=It(),r=rm(),n=t("Map");return Qg={Map:n,set:r("set",2),get:r("get",1),has:r("has",1),remove:r("delete",1),proto:n.prototype}}var em,im={};var om,um,am,sm,cm,fm,lm,hm={};function pm(){return am?um:(am=1,gu(),Hg(),function(){if(Zg)return tm;Zg=1;var t=$r(),r=T(),n=Nt(),e=Ot(),i=Wg(),o=nm(),u=pr(),a=w(),s=o.Map,c=o.has,f=o.get,l=o.set,h=r([].push),p=u||a(function(){return 1!==s.groupBy("ab",function(t){return t}).get("a").length});t({target:"Map",stat:!0,forced:u||p},{groupBy:function(t,r){e(t),n(r);var o=new s,u=0;return i(t,function(t){var n=r(t,u++);c(o,n)?h(f(o,n),t):l(o,n,[t])}),o}})}(),function(){if(em)return im;em=1;var t=$r(),r=nm(),n=pr(),e=r.get,i=r.has,o=r.set;t({target:"Map",proto:!0,real:!0,forced:n},{getOrInsert:function(t,r){return i(this,t)?e(this,t):(o(this,t,r),r)}})}(),function(){if(om)return hm;om=1;var t=$r(),r=Nt(),n=nm(),e=pr(),i=n.get,o=n.has,u=n.set;t({target:"Map",proto:!0,real:!0,forced:e},{getOrInsertComputed:function(t,n){var e=o(this,t);if(r(n),e)return i(this,t);0===t&&1/t==-1/0&&(t=0);var a=n(t);return u(this,t,a),a}})}(),pa(),um=At().Map)}function vm(){if(cm)return sm;cm=1;var t=pm();return bu(),sm=t}var dm,ym,gm,mm,bm,_m,wm,Sm,Om,Tm=r(lm?fm:(lm=1,fm=vm())),Em={};function Am(){return gm?ym:(gm=1,function(){if(dm)return Em;dm=1;var t=$r(),r=Ti().some;t({target:"Array",proto:!0,forced:!Ts()("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}(),ym=ts()("Array","some"))}function Im(){if(bm)return mm;bm=1;var t=jt(),r=Am(),n=Array.prototype;return mm=function(e){var i=e.some;return e===n||t(n,e)&&i===n.some?r:i}}function jm(){return wm?_m:(wm=1,_m=Im())}var Pm,xm,Dm,km,Cm,Mm,Nm,Rm,Fm=r(Om?Sm:(Om=1,Sm=jm()));function Lm(){return xm?Pm:(xm=1,gu(),Pm=ts()("Array","keys"))}function zm(){return km?Dm:(km=1,Dm=Lm())}function qm(){if(Mm)return Cm;Mm=1,bu();var t=Hn(),r=mr(),n=jt(),e=zm(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Cm=function(u){var a=u.keys;return u===i||n(i,u)&&a===i.keys||r(o,t(u))?e:a}}var Um,Wm,Ym,Xm,Bm,Gm,Jm,Hm,Vm,Km,Qm,$m,Zm,tb,rb,nb,eb,ib=r(Rm?Nm:(Rm=1,Nm=qm())),ob={};function ub(){if(Wm)return Um;Wm=1;var t=Ye(),r=Math.floor,n=function(e,i){var o=e.length;if(o<8)for(var u,a,s=1;s<o;){for(a=s,u=e[s];a&&i(e[a-1],u)>0;)e[a]=e[--a];a!==s++&&(e[a]=u)}else for(var c=r(o/2),f=n(t(e,0,c),i),l=n(t(e,c),i),h=f.length,p=l.length,v=0,d=0;v<h||d<p;)e[v+d]=v<h&&d<p?i(f[v],l[d])<=0?f[v++]:l[d++]:v<h?f[v++]:l[d++];return e};return Um=n}function ab(){if(Xm)return Ym;Xm=1;var t=Pt().match(/firefox\/(\d+)/i);return Ym=!!t&&+t[1]}function sb(){return Gm?Bm:(Gm=1,Bm=/MSIE|Trident/.test(Pt()))}function cb(){if(Hm)return Jm;Hm=1;var t=Pt().match(/AppleWebKit\/(\d+)\./);return Jm=!!t&&+t[1]}function fb(){if(Vm)return ob;Vm=1;var t=$r(),r=T(),n=Nt(),e=gr(),i=Yn(),o=ep(),u=oe(),a=w(),s=ub(),c=Ts(),f=ab(),l=sb(),h=xt(),p=cb(),v=[],d=r(v.sort),y=r(v.push),g=a(function(){v.sort(void 0)}),m=a(function(){v.sort(null)}),b=c("sort"),_=!a(function(){if(h)return h<70;if(!(f&&f>3)){if(l)return!0;if(p)return p<603;var t,r,n,e,i="";for(t=65;t<76;t++){switch(r=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(e=0;e<47;e++)v.push({k:r+e,v:n})}for(v.sort(function(t,r){return r.v-t.v}),e=0;e<v.length;e++)r=v[e].k.charAt(0),i.charAt(i.length-1)!==r&&(i+=r);return"DGBEFHACIJK"!==i}});return t({target:"Array",proto:!0,forced:g||!m||!b||!_},{sort:function(t){void 0!==t&&n(t);var r=e(this);if(_)return void 0===t?d(r):d(r,t);var a,c,f=[],l=i(r);for(c=0;c<l;c++)c in r&&y(f,r[c]);for(s(f,function(t){return function(r,n){if(void 0===n)return-1;if(void 0===r)return 1;if(void 0!==t)return+t(r,n)||0;var e=u(r),i=u(n);return e===i?0:e>i?1:-1}}(t)),a=i(f),c=0;c<a;)r[c]=f[c++];for(;c<l;)o(r,c++);return r}}),ob}function lb(){return Qm?Km:(Qm=1,fb(),Km=ts()("Array","sort"))}function hb(){if(Zm)return $m;Zm=1;var t=jt(),r=lb(),n=Array.prototype;return $m=function(e){var i=e.sort;return e===n||t(n,e)&&i===n.sort?r:i}}function pb(){return rb?tb:(rb=1,tb=hb())}var vb,db,yb,gb,mb,bb,_b,wb,Sb=r(eb?nb:(eb=1,nb=pb()));function Ob(){return db?vb:(db=1,gu(),vb=ts()("Array","values"))}function Tb(){return gb?yb:(gb=1,yb=Ob())}function Eb(){if(bb)return mb;bb=1,bu();var t=Hn(),r=mr(),n=jt(),e=Tb(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return mb=function(u){var a=u.values;return u===i||n(i,u)&&a===i.values||r(o,t(u))?e:a}}var Ab,Ib,jb=r(wb?_b:(wb=1,_b=Eb()));var Pb,xb,Db,kb,Cb,Mb,Nb,Rb,Fb=r(Ib?Ab:(Ib=1,Ab=da()));function Lb(){return xb?Pb:(xb=1,gu(),Pb=ts()("Array","entries"))}function zb(){return kb?Db:(kb=1,Db=Lb())}function qb(){if(Mb)return Cb;Mb=1,bu();var t=Hn(),r=mr(),n=jt(),e=zb(),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};return Cb=function(u){var a=u.entries;return u===i||n(i,u)&&a===i.entries||r(o,t(u))?e:a}}var Ub=r(Rb?Nb:(Rb=1,Nb=qb()));const Wb=[];for(let t=0;t<256;++t)Wb.push((t+256).toString(16).slice(1));const Yb=new Uint8Array(16);function Xb(t,r,n){return crypto.randomUUID?crypto.randomUUID():function(t){t=t||{};const r=t.random??t.rng?.()??crypto.getRandomValues(Yb);if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(t,r=0){return(Wb[t[r+0]]+Wb[t[r+1]]+Wb[t[r+2]]+Wb[t[r+3]]+"-"+Wb[t[r+4]]+Wb[t[r+5]]+"-"+Wb[t[r+6]]+Wb[t[r+7]]+"-"+Wb[t[r+8]]+Wb[t[r+9]]+"-"+Wb[t[r+10]]+Wb[t[r+11]]+Wb[t[r+12]]+Wb[t[r+13]]+Wb[t[r+14]]+Wb[t[r+15]]).toLowerCase()}(r)}(t)}function Bb(t){return"string"==typeof t||"number"==typeof t}class Gb{constructor(){La(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),La(this,"subscribe",Gb.prototype.on),La(this,"unsubscribe",Gb.prototype.off)}_trigger(t,r,n){var e;if("*"===t)throw new Error("Cannot trigger event *");zh(e=[...this._subscribers[t],...this._subscribers["*"]]).call(e,e=>{e(t,r,null!=n?n:null)})}on(t,r){"function"==typeof r&&this._subscribers[t].push(r)}off(t,r){var n;this._subscribers[t]=Zs(n=this._subscribers[t]).call(n,t=>t!==r)}}var Jb,Hb,Vb={};function Kb(){return Hb||(Hb=1,Jb||(Jb=1,Xg()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Jg()))),Vb}var Qb,$b,Zb,t_,r_,n_,e_,i_,o_,u_,a_,s_,c_,f_,l_,h_,p_,v_,d_,y_,g_,m_={};function b_(){if($b)return Qb;$b=1;var t=Mt(),r=TypeError;return Qb=function(n){if("object"==typeof n&&"size"in n&&"has"in n&&"add"in n&&"delete"in n&&"keys"in n)return n;throw new r(t(n)+" is not a set")}}function __(){if(t_)return Zb;t_=1;var t=It(),r=rm(),n=t("Set"),e=n.prototype;return Zb={Set:n,add:r("add",1),has:r("has",1),remove:r("delete",1),proto:e}}function w_(){if(n_)return r_;n_=1;var t=M();return r_=function(r,n,e){for(var i,o,u=e?r:r.iterator,a=r.next;!(i=t(a,u)).done;)if(void 0!==(o=n(i.value)))return o},r_}function S_(){if(i_)return e_;i_=1;var t=w_();return e_=function(r,n,e){return e?t(r.keys(),n,!0):r.forEach(n)},e_}function O_(){if(u_)return o_;u_=1;var t=__(),r=S_(),n=t.Set,e=t.add;return o_=function(t){var i=new n;return r(t,function(t){e(i,t)}),i},o_}function T_(){return s_||(s_=1,a_=function(t){return t.size}),a_}function E_(){return f_?c_:(f_=1,c_=function(t){return{iterator:t,next:t.next,done:!1}})}function A_(){if(h_)return l_;h_=1;var t=Nt(),r=Vr(),n=M(),e=Un(),i=E_(),o="Invalid size",u=RangeError,a=TypeError,s=Math.max,c=function(r,n){this.set=r,this.size=s(n,0),this.has=t(r.has),this.keys=t(r.keys)};return c.prototype={getIterator:function(){return i(r(n(this.keys,this.set)))},includes:function(t){return n(this.has,this.set,t)}},l_=function(t){r(t);var n=+t.size;if(n!=n)throw new a(o);var i=e(n);if(i<0)throw new u(o);return new c(t,i)}}function I_(){if(v_)return p_;v_=1;var t=b_(),r=__(),n=O_(),e=T_(),i=A_(),o=S_(),u=w_(),a=r.has,s=r.remove;return p_=function(r){var c=t(this),f=i(r),l=n(c);return e(l)<=f.size?o(l,function(t){f.includes(t)&&s(l,t)}):u(f.getIterator(),function(t){a(l,t)&&s(l,t)}),l}}function j_(){return y_?d_:(y_=1,d_=function(){return!1})}var P_,x_,D_,k_={};function C_(){if(x_)return P_;x_=1;var t=b_(),r=__(),n=T_(),e=A_(),i=S_(),o=w_(),u=r.Set,a=r.add,s=r.has;return P_=function(r){var c=t(this),f=e(r),l=new u;return n(c)>f.size?o(f.getIterator(),function(t){s(c,t)&&a(l,t)}):i(c,function(t){f.includes(t)&&a(l,t)}),l}}var M_,N_,R_,F_={};function L_(){if(N_)return M_;N_=1;var t=b_(),r=__().has,n=T_(),e=A_(),i=S_(),o=w_(),u=wl();return M_=function(a){var s=t(this),c=e(a);if(n(s)<=c.size)return!1!==i(s,function(t){if(c.includes(t))return!1},!0);var f=c.getIterator();return!1!==o(f,function(t){if(r(s,t))return u(f.iterator,"normal",!1)})},M_}var z_,q_,U_,W_={};function Y_(){if(q_)return z_;q_=1;var t=b_(),r=T_(),n=S_(),e=A_();return z_=function(i){var o=t(this),u=e(i);return!(r(o)>u.size)&&!1!==n(o,function(t){if(!u.includes(t))return!1},!0)}}var X_,B_,G_,J_={};function H_(){if(B_)return X_;B_=1;var t=b_(),r=__().has,n=T_(),e=A_(),i=w_(),o=wl();return X_=function(u){var a=t(this),s=e(u);if(n(a)<s.size)return!1;var c=s.getIterator();return!1!==i(c,function(t){if(!r(a,t))return o(c.iterator,"normal",!1)})},X_}var V_,K_,Q_,$_,Z_,tw={};function rw(){if(K_)return V_;K_=1;var t=b_(),r=__(),n=O_(),e=A_(),i=w_(),o=r.add,u=r.has,a=r.remove;return V_=function(r){var s=t(this),c=e(r).getIterator(),f=n(s);return i(c,function(t){u(s,t)?a(f,t):o(f,t)}),f}}function nw(){return $_?Q_:($_=1,Q_=function(t){try{var r=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return r.clear(),r.add(4),function(){return{done:!0}}}})}},e=r[t](n);return 1===e.size&&4===e.values().next().value}catch(t){return!1}})}var ew,iw,ow,uw,aw,sw,cw,fw,lw,hw={};function pw(){if(iw)return ew;iw=1;var t=b_(),r=__().add,n=O_(),e=A_(),i=w_();return ew=function(o){var u=t(this),a=e(o).getIterator(),s=n(u);return i(a,function(t){r(s,t)}),s}}function vw(){return aw?uw:(aw=1,gu(),Kb(),function(){if(g_)return m_;g_=1;var t=$r(),r=I_(),n=w();t({target:"Set",proto:!0,real:!0,forced:!j_()("difference",function(t){return 0===t.size})||n(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var n=t++>1;return r.has(1)&&r.clear(),{done:n,value:2}}}}},r=new Set([1,2,3,4]);return 3!==r.difference(t).size})},{difference:r})}(),function(){if(D_)return k_;D_=1;var t=$r(),r=w(),n=C_();t({target:"Set",proto:!0,real:!0,forced:!j_()("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||r(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}(),function(){if(R_)return F_;R_=1;var t=$r(),r=L_();t({target:"Set",proto:!0,real:!0,forced:!j_()("isDisjointFrom",function(t){return!t})},{isDisjointFrom:r})}(),function(){if(U_)return W_;U_=1;var t=$r(),r=Y_();t({target:"Set",proto:!0,real:!0,forced:!j_()("isSubsetOf",function(t){return t})},{isSubsetOf:r})}(),function(){if(G_)return J_;G_=1;var t=$r(),r=H_();t({target:"Set",proto:!0,real:!0,forced:!j_()("isSupersetOf",function(t){return!t})},{isSupersetOf:r})}(),function(){if(Z_)return tw;Z_=1;var t=$r(),r=rw(),n=nw();t({target:"Set",proto:!0,real:!0,forced:!j_()("symmetricDifference")||!n("symmetricDifference")},{symmetricDifference:r})}(),function(){if(ow)return hw;ow=1;var t=$r(),r=pw(),n=nw();t({target:"Set",proto:!0,real:!0,forced:!j_()("union")||!n("union")},{union:r})}(),pa(),uw=At().Set)}function dw(){if(cw)return sw;cw=1;var t=vw();return bu(),sw=t}var yw,gw,mw,bw,_w,ww,Sw,Ow,Tw,Ew,Aw,Iw,jw=r(lw?fw:(lw=1,fw=dw()));function Pw(){return gw?yw:(gw=1,gu(),pa(),yw=Tl())}function xw(){if(bw)return mw;bw=1;var t=Pw();return bu(),mw=t}function Dw(){return ww?_w:(ww=1,_w=xw())}function kw(){return Ow?Sw:(Ow=1,Sw=Dw())}function Cw(){return Ew?Tw:(Ew=1,Tw=kw())}var Mw=r(Iw?Aw:(Iw=1,Aw=Cw()));class Nw{constructor(t){this._pairs=t}*[Fb](){for(const r of this._pairs){var t=Rl(r,2);const n=t[0],e=t[1];yield[n,e]}}*entries(){for(const r of this._pairs){var t=Rl(r,2);const n=t[0],e=t[1];yield[n,e]}}*keys(){for(const t of this._pairs){const r=Rl(t,1)[0];yield r}}*values(){for(const t of this._pairs){const r=Rl(t,2)[1];yield r}}toIdArray(){var t;return ac(t=[...this._pairs]).call(t,t=>t[0])}toItemArray(){var t;return ac(t=[...this._pairs]).call(t,t=>t[1])}toEntryArray(){return[...this._pairs]}toObjectMap(){const t=nv(null);for(const n of this._pairs){var r=Rl(n,2);const e=r[0],i=r[1];t[e]=i}return t}toMap(){return new Tm(this._pairs)}toIdSet(){return new jw(this.toIdArray())}toItemSet(){return new jw(this.toItemArray())}cache(){return new Nw([...this._pairs])}distinct(t){const r=new jw;for(const e of this._pairs){var n=Rl(e,2);const i=n[0],o=n[1];r.add(t(o,i))}return r}filter(t){const r=this._pairs;return new Nw({*[Fb](){for(const e of r){var n=Rl(e,2);const r=n[0],i=n[1];t(i,r)&&(yield[r,i])}}})}forEach(t){for(const n of this._pairs){var r=Rl(n,2);const e=r[0];t(r[1],e)}}map(t){const r=this._pairs;return new Nw({*[Fb](){for(const e of r){var n=Rl(e,2);const r=n[0],i=n[1];yield[r,t(i,r)]}}})}max(t){const r=Mw(this._pairs);let n=r.next();if(n.done)return null;let e=n.value[1],i=t(n.value[1],n.value[0]);for(;!(n=r.next()).done;){const r=Rl(n.value,2),o=r[0],u=r[1],a=t(u,o);a>i&&(i=a,e=u)}return e}min(t){const r=Mw(this._pairs);let n=r.next();if(n.done)return null;let e=n.value[1],i=t(n.value[1],n.value[0]);for(;!(n=r.next()).done;){const r=Rl(n.value,2),o=r[0],u=r[1],a=t(u,o);a<i&&(i=a,e=u)}return e}reduce(t,r){for(const e of this._pairs){var n=Rl(e,2);const i=n[0];r=t(r,n[1],i)}return r}sort(t){return new Nw({[Fb]:()=>Mw([...this._pairs].toSorted((r,n)=>{let e=Rl(r,2),i=e[0],o=e[1],u=Rl(n,2),a=u[0],s=u[1];return t(o,s,i,a)}))})}}class Rw{constructor(t){La(this,"_queue",[]),La(this,"_timeout",null),La(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(t)}setOptions(t){t&&void 0!==t.delay&&(this.delay=t.delay),t&&void 0!==t.max&&(this.max=t.max),this._flushIfNeeded()}static extend(t,r){const n=new Rw(r);if(void 0!==t.flush)throw new Error("Target object already has a property flush");t.flush=()=>{n.flush()};const e=[{name:"flush",original:void 0}];if(r&&r.replace)for(let i=0;i<r.replace.length;i++){const o=r.replace[i];e.push({name:o,original:t[o]}),n.replace(t,o)}return n._extended={object:t,methods:e},n}destroy(){if(this.flush(),this._extended){const t=this._extended.object,r=this._extended.methods;for(let n=0;n<r.length;n++){const e=r[n];e.original?t[e.name]=e.original:delete t[e.name]}this._extended=null}}replace(t,r){const n=this,e=t[r];if(!e)throw new Error("Method "+r+" undefined");t[r]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];n.queue({args:r,fn:e,context:this})}}queue(t){"function"==typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}_flushIfNeeded(){this._queue.length>this.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&"number"==typeof this.delay&&(this._timeout=Pv(()=>{this.flush()},this.delay))}flush(){var t,r;zh(t=yp(r=this._queue).call(r,0)).call(t,t=>{t.fn.apply(t.context||t.fn,t.args||[])})}}function Fw(t,r){var n=Th(t);if(Fy){var e=Fy(t);r&&(e=Zs(e).call(e,function(r){return Vy(t,r).enumerable})),n.push.apply(n,e)}return n}function Lw(t){for(var r=1;r<arguments.length;r++){var n,e,i=null!=arguments[r]?arguments[r]:{};r%2?zh(n=Fw(Object(i),!0)).call(n,function(r){La(t,r,i[r])}):og?pg(t,og(i)):zh(e=Fw(Object(i))).call(e,function(r){Ng(t,r,Vy(i,r))})}return t}class zw extends Gb{get idProp(){return this._idProp}constructor(t,r){super(),La(this,"_queue",null),t&&!ch(t)&&(r=t,t=[]),this._options=r||{},this._data=new Tm,this.length=0,this._idProp=this._options.fieldId||"id",t&&t.length&&this.add(t),this.setOptions(r)}setOptions(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=Rw.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"==typeof t.queue&&this._queue.setOptions(t.queue)))}add(t,r){const n=[];let e;if(ch(t)){const r=ac(t).call(t,t=>t[this._idProp]);if(Fm(r).call(r,t=>this._data.has(t)))throw new Error("A duplicate id was found in the parameter array.");for(let r=0,i=t.length;r<i;r++)e=this._addItem(t[r]),n.push(e)}else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");e=this._addItem(t),n.push(e)}return n.length&&this._trigger("add",{items:n},r),n}update(t,r){const n=[],e=[],i=[],o=[],u=this._idProp,a=t=>{const r=t[u];if(null!=r&&this._data.has(r)){const n=t,u=Pp({},this._data.get(r)),a=this._updateItem(n);e.push(a),o.push(n),i.push(u)}else{const r=this._addItem(t);n.push(r)}};if(ch(t))for(let r=0,n=t.length;r<n;r++)t[r]&&"object"==typeof t[r]?a(t[r]):console.warn("Ignoring input item, which is not an object at index "+r);else{if(!t||"object"!=typeof t)throw new Error("Unknown dataType");a(t)}if(n.length&&this._trigger("add",{items:n},r),e.length){const t={items:e,oldData:i,data:o};this._trigger("update",t,r)}return qp(n).call(n,e)}updateOnly(t,r){var n;ch(t)||(t=[t]);const e=ac(n=ac(t).call(t,t=>{const r=this._data.get(t[this._idProp]);if(null==r)throw new Error("Updating non-existent items is not allowed.");return{oldData:r,update:t}})).call(n,t=>{let r=t.oldData,n=t.update;const e=r[this._idProp],i=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),e=1;e<r;e++)n[e-1]=arguments[e];return gy({},t,...n)}(r,n);return this._data.set(e,i),{id:e,oldData:r,updatedData:i}});if(e.length){const t={items:ac(e).call(e,t=>t.id),oldData:ac(e).call(e,t=>t.oldData),data:ac(e).call(e,t=>t.updatedData)};return this._trigger("update",t,r),t.items}return[]}get(t,r){let n,e,i;Bb(t)?(n=t,i=r):ch(t)?(e=t,i=r):i=t;const o=i&&"Object"===i.returnType?"Object":"Array",u=i&&Zs(i),a=[];let s,c,f;if(null!=n)s=this._data.get(n),s&&u&&!u(s)&&(s=void 0);else if(null!=e)for(let t=0,r=e.length;t<r;t++)s=this._data.get(e[t]),null==s||u&&!u(s)||a.push(s);else{var l;c=[...ib(l=this._data).call(l)];for(let t=0,r=c.length;t<r;t++)f=c[t],s=this._data.get(f),null==s||u&&!u(s)||a.push(s)}if(i&&i.order&&null==n&&this._sort(a,i.order),i&&i.fields){const t=i.fields;if(null!=n&&null!=s)s=this._filterFields(s,t);else for(let r=0,n=a.length;r<n;r++)a[r]=this._filterFields(a[r],t)}if("Object"==o){const t={};for(let r=0,n=a.length;r<n;r++){const n=a[r];t[n[this._idProp]]=n}return t}return null!=n?null!=s?s:null:a}getIds(t){const r=this._data,n=t&&Zs(t),e=t&&t.order,i=[...ib(r).call(r)],o=[];if(n)if(e){const t=[];for(let r=0,e=i.length;r<e;r++){const e=i[r],o=this._data.get(e);null!=o&&n(o)&&t.push(o)}this._sort(t,e);for(let r=0,n=t.length;r<n;r++)o.push(t[r][this._idProp])}else for(let t=0,r=i.length;t<r;t++){const r=i[t],e=this._data.get(r);null!=e&&n(e)&&o.push(e[this._idProp])}else if(e){const t=[];for(let n=0,e=i.length;n<e;n++){const e=i[n];t.push(r.get(e))}this._sort(t,e);for(let r=0,n=t.length;r<n;r++)o.push(t[r][this._idProp])}else for(let t=0,n=i.length;t<n;t++){const n=i[t],e=r.get(n);null!=e&&o.push(e[this._idProp])}return o}getDataSet(){return this}forEach(t,r){const n=r&&Zs(r),e=this._data,i=[...ib(e).call(e)];if(r&&r.order){const n=this.get(r);for(let r=0,e=n.length;r<e;r++){const e=n[r];t(e,e[this._idProp])}}else for(let r=0,e=i.length;r<e;r++){const e=i[r],o=this._data.get(e);null==o||n&&!n(o)||t(o,e)}}map(t,r){const n=r&&Zs(r),e=[],i=this._data,o=[...ib(i).call(i)];for(let r=0,i=o.length;r<i;r++){const i=o[r],u=this._data.get(i);null==u||n&&!n(u)||e.push(t(u,i))}return r&&r.order&&this._sort(e,r.order),e}_filterFields(t,r){var n;return t?zs(n=ch(r)?r:Th(r)).call(n,(r,n)=>(r[n]=t[n],r),{}):t}_sort(t,r){if("string"==typeof r){const n=r;Sb(t).call(t,(t,r)=>{const e=t[n],i=r[n];return e>i?1:e<i?-1:0})}else{if("function"!=typeof r)throw new TypeError("Order must be a function or a string");Sb(t).call(t,r)}}remove(t,r){const n=[],e=[],i=ch(t)?t:[t];for(let t=0,r=i.length;t<r;t++){const r=this._remove(i[t]);if(r){const t=r[this._idProp];null!=t&&(n.push(t),e.push(r))}}return n.length&&this._trigger("remove",{items:n,oldData:e},r),n}_remove(t){let r;if(Bb(t)?r=t:t&&"object"==typeof t&&(r=t[this._idProp]),null!=r&&this._data.has(r)){const t=this._data.get(r)||null;return this._data.delete(r),--this.length,t}return null}clear(t){var r;const n=[...ib(r=this._data).call(r)],e=[];for(let t=0,r=n.length;t<r;t++)e.push(this._data.get(n[t]));return this._data.clear(),this.length=0,this._trigger("remove",{items:n,oldData:e},t),n}max(t){let r=null,n=null;for(const i of jb(e=this._data).call(e)){var e;const o=i[t];"number"==typeof o&&(null==n||o>n)&&(r=i,n=o)}return r||null}min(t){let r=null,n=null;for(const i of jb(e=this._data).call(e)){var e;const o=i[t];"number"==typeof o&&(null==n||o<n)&&(r=i,n=o)}return r||null}distinct(t){const r=this._data,n=[...ib(r).call(r)],e=[];let i=0;for(let o=0,u=n.length;o<u;o++){const u=n[o],a=r.get(u)[t];let s=!1;for(let t=0;t<i;t++)if(e[t]==a){s=!0;break}s||void 0===a||(e[i]=a,i++)}return e}_addItem(t){const r=function(t,r){return null==t[r]&&(t[r]=Xb()),t}(t,this._idProp),n=r[this._idProp];if(this._data.has(n))throw new Error("Cannot add item: item with id "+n+" already exists");return this._data.set(n,r),++this.length,n}_updateItem(t){const r=t[this._idProp];if(null==r)throw new Error("Cannot update item: item has no id (item: "+vv(t)+")");const n=this._data.get(r);if(!n)throw new Error("Cannot update item: no item with id "+r+" found");return this._data.set(r,Lw(Lw({},n),t)),r}stream(t){if(t){const r=this._data;return new Nw({*[Fb](){for(const n of t){const t=r.get(n);null!=t&&(yield[n,t])}}})}var r;return new Nw({[Fb]:ws(r=Ub(this._data)).call(r,this._data)})}}class qw extends Gb{get idProp(){return this.getDataSet().idProp}constructor(t,r){var n;super(),La(this,"length",0),La(this,"_ids",new jw),this._options=r||{},this._listener=ws(n=this._onEvent).call(n,this),this.setData(t)}setData(t){if(this._data){this._data.off&&this._data.off("*",this._listener);const t=this._data.getIds({filter:Zs(this._options)}),r=this._data.get(t);this._ids.clear(),this.length=0,this._trigger("remove",{items:t,oldData:r})}if(null!=t){this._data=t;const r=this._data.getIds({filter:Zs(this._options)});for(let t=0,n=r.length;t<n;t++){const n=r[t];this._ids.add(n)}this.length=r.length,this._trigger("add",{items:r})}else this._data=new zw;this._data.on&&this._data.on("*",this._listener)}refresh(){const t=this._data.getIds({filter:Zs(this._options)}),r=[...this._ids],n={},e=[],i=[],o=[];for(let r=0,i=t.length;r<i;r++){const i=t[r];n[i]=!0,this._ids.has(i)||(e.push(i),this._ids.add(i))}for(let t=0,e=r.length;t<e;t++){const e=r[t],u=this._data.get(e);null==u?console.error("If you see this, report it please."):n[e]||(i.push(e),o.push(u),this._ids.delete(e))}this.length+=e.length-i.length,e.length&&this._trigger("add",{items:e}),i.length&&this._trigger("remove",{items:i,oldData:o})}get(t,r){if(null==this._data)return null;let n,e=null;Bb(t)||ch(t)?(e=t,n=r):n=t;const i=Pp({},this._options,n),o=Zs(this._options),u=n&&Zs(n);return o&&u&&(i.filter=t=>o(t)&&u(t)),null==e?this._data.get(i):this._data.get(e,i)}getIds(t){if(this._data.length){const r=Zs(this._options),n=null!=t?Zs(t):null;let e;return e=n?r?t=>r(t)&&n(t):n:r,this._data.getIds({filter:e,order:t&&t.order})}return[]}forEach(t,r){if(this._data){var n;const e=Zs(this._options),i=r&&Zs(r);let o;o=i?e?function(t){return e(t)&&i(t)}:i:e,zh(n=this._data).call(n,t,{filter:o,order:r&&r.order})}}map(t,r){if(this._data){var n;const e=Zs(this._options),i=r&&Zs(r);let o;return o=i?e?t=>e(t)&&i(t):i:e,ac(n=this._data).call(n,t,{filter:o,order:r&&r.order})}return[]}getDataSet(){return this._data.getDataSet()}stream(t){var r;return this._data.stream(t||{[Fb]:ws(r=ib(this._ids)).call(r,this._ids)})}dispose(){var t;null!==(t=this._data)&&void 0!==t&&t.off&&this._data.off("*",this._listener);const r="This data view has already been disposed of.",n={get:()=>{throw new Error(r)},set:()=>{throw new Error(r)},configurable:!1};for(const t of rh(qw.prototype))Ng(this,t,n)}_onEvent(t,r,n){if(!r||!r.items||!this._data)return;const e=r.items,i=[],o=[],u=[],a=[],s=[],c=[];switch(t){case"add":for(let t=0,r=e.length;t<r;t++){const r=e[t];this.get(r)&&(this._ids.add(r),i.push(r))}break;case"update":for(let t=0,n=e.length;t<n;t++){const n=e[t];this.get(n)?this._ids.has(n)?(o.push(n),s.push(r.data[t]),a.push(r.oldData[t])):(this._ids.add(n),i.push(n)):this._ids.has(n)&&(this._ids.delete(n),u.push(n),c.push(r.oldData[t]))}break;case"remove":for(let t=0,n=e.length;t<n;t++){const n=e[t];this._ids.has(n)&&(this._ids.delete(n),u.push(n),c.push(r.oldData[t]))}}this.length+=i.length-u.length,i.length&&this._trigger("add",{items:i},n),o.length&&this._trigger("update",{items:o,oldData:a,data:s},n),u.length&&this._trigger("remove",{items:u,oldData:c},n)}}function Uw(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof r.add&&"function"==typeof r.clear&&"function"==typeof r.distinct&&"function"==typeof zh(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof ac(r)&&"function"==typeof r.max&&"function"==typeof r.min&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.remove&&"function"==typeof r.setOptions&&"function"==typeof r.stream&&"function"==typeof r.update&&"function"==typeof r.updateOnly}function Ww(t,r){return"object"==typeof r&&null!==r&&t===r.idProp&&"function"==typeof zh(r)&&"function"==typeof r.get&&"function"==typeof r.getDataSet&&"function"==typeof r.getIds&&"number"==typeof r.length&&"function"==typeof ac(r)&&"function"==typeof r.off&&"function"==typeof r.on&&"function"==typeof r.stream&&Uw(t,r.getDataSet())}export{yy as DELETE,zw as DataSet,Nw as DataStream,qw as DataView,Rw as Queue,Oc as createNewDataPipeFrom,Uw as isDataSetLike,Ww as isDataViewLike};
|
|
34
34
|
//# sourceMappingURL=vis-data.min.js.map
|