UNPKG

vis-util

Version:

utilitie collection for visjs

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