tmagic-editor/playground/assets/polyfills-legacy-DHdoEgRI.js
2025-12-02 07:32:21 +00:00

6 lines
63 KiB
JavaScript

!function(){"use strict";var r,t,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={};function i(){if(t)return r;t=1;var e=function(r){return r&&r.Math===Math&&r};return r=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")()}var o,u,f,a,c,s,h,v,l={};function p(){return u?o:(u=1,o=function(r){try{return!!r()}catch(t){return!0}})}function d(){if(a)return f;a=1;var r=p();return f=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function y(){if(s)return c;s=1;var r=p();return c=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function g(){if(v)return h;v=1;var r=y(),t=Function.prototype.call;return h=r?t.bind(t):function(){return t.apply(t,arguments)},h}var w,m,b,S,O,E,A,x,T,I,j,R,P,k,C,D,F,U,_,B,N,M,L,z,J,W,H,$,V,Y,G,q,X,K,Z,Q,rr,tr,nr,er,ir,or={};function ur(){return b?m:(b=1,m=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function fr(){if(O)return S;O=1;var r=y(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return S=r?e:function(r){return function(){return n.apply(r,arguments)}},S}function ar(){if(A)return E;A=1;var r=fr(),t=r({}.toString),n=r("".slice);return E=function(r){return n(t(r),8,-1)}}function cr(){if(T)return x;T=1;var r=fr(),t=p(),n=ar(),e=Object,i=r("".split);return x=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}function sr(){return j?I:(j=1,I=function(r){return null==r})}function hr(){if(P)return R;P=1;var r=sr(),t=TypeError;return R=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function vr(){if(C)return k;C=1;var r=cr(),t=hr();return k=function(n){return r(t(n))}}function lr(){if(F)return D;F=1;var r="object"==typeof document&&document.all;return D=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function pr(){if(_)return U;_=1;var r=lr();return U=function(t){return"object"==typeof t?null!==t:r(t)}}function dr(){if(N)return B;N=1;var r=i(),t=lr();return B=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},B}function yr(){if(L)return M;L=1;var r=fr();return M=r({}.isPrototypeOf)}function gr(){if(J)return z;J=1;var r=i().navigator,t=r&&r.userAgent;return z=t?String(t):""}function wr(){if(H)return W;H=1;var r,t,n=i(),e=gr(),o=n.process,u=n.Deno,f=o&&o.versions||u&&u.version,a=f&&f.v8;return a&&(t=(r=a.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),W=t}function mr(){if(V)return $;V=1;var r=wr(),t=p(),n=i().String;return $=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function br(){if(G)return Y;G=1;var r=mr();return Y=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Sr(){if(X)return q;X=1;var r=dr(),t=lr(),n=yr(),e=br(),i=Object;return q=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function Or(){if(Z)return K;Z=1;var r=String;return K=function(t){try{return r(t)}catch(n){return"Object"}}}function Er(){if(rr)return Q;rr=1;var r=lr(),t=Or(),n=TypeError;return Q=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Ar(){if(nr)return tr;nr=1;var r=Er(),t=sr();return tr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function xr(){if(ir)return er;ir=1;var r=g(),t=lr(),n=pr(),e=TypeError;return er=function(i,o){var u,f;if("string"===o&&t(u=i.toString)&&!n(f=r(u,i)))return f;if(t(u=i.valueOf)&&!n(f=r(u,i)))return f;if("string"!==o&&t(u=i.toString)&&!n(f=r(u,i)))return f;throw new e("Can't convert object to primitive value")}}var Tr,Ir,jr,Rr,Pr,kr,Cr,Dr,Fr,Ur,_r,Br,Nr,Mr,Lr,zr,Jr,Wr,Hr,$r,Vr,Yr,Gr,qr,Xr={exports:{}};function Kr(){return Ir?Tr:(Ir=1,Tr=!1)}function Zr(){if(Rr)return jr;Rr=1;var r=i(),t=Object.defineProperty;return jr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(i){r[n]=e}return e}}function Qr(){if(Pr)return Xr.exports;Pr=1;var r=Kr(),t=i(),n=Zr(),e="__core-js_shared__",o=Xr.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.47.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Xr.exports}function rt(){if(Cr)return kr;Cr=1;var r=Qr();return kr=function(t,n){return r[t]||(r[t]=n||{})}}function tt(){if(Fr)return Dr;Fr=1;var r=hr(),t=Object;return Dr=function(n){return t(r(n))}}function nt(){if(_r)return Ur;_r=1;var r=fr(),t=tt(),n=r({}.hasOwnProperty);return Ur=Object.hasOwn||function(r,e){return n(t(r),e)}}function et(){if(Nr)return Br;Nr=1;var r=fr(),t=0,n=Math.random(),e=r(1.1.toString);return Br=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function it(){if(Lr)return Mr;Lr=1;var r=i(),t=rt(),n=nt(),e=et(),o=mr(),u=br(),f=r.Symbol,a=t("wks"),c=u?f.for||f:f&&f.withoutSetter||e;return Mr=function(r){return n(a,r)||(a[r]=o&&n(f,r)?f[r]:c("Symbol."+r)),a[r]}}function ot(){if(Jr)return zr;Jr=1;var r=g(),t=pr(),n=Sr(),e=Ar(),i=xr(),o=it(),u=TypeError,f=o("toPrimitive");return zr=function(o,a){if(!t(o)||n(o))return o;var c,s=e(o,f);if(s){if(void 0===a&&(a="default"),c=r(s,o,a),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===a&&(a="number"),i(o,a)}}function ut(){if(Hr)return Wr;Hr=1;var r=ot(),t=Sr();return Wr=function(n){var e=r(n,"string");return t(e)?e:e+""}}function ft(){if(Vr)return $r;Vr=1;var r=i(),t=pr(),n=r.document,e=t(n)&&t(n.createElement);return $r=function(r){return e?n.createElement(r):{}}}function at(){if(Gr)return Yr;Gr=1;var r=d(),t=p(),n=ft();return Yr=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ct(){if(qr)return l;qr=1;var r=d(),t=g(),n=function(){if(w)return or;w=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return or.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,or}(),e=ur(),i=vr(),o=ut(),u=nt(),f=at(),a=Object.getOwnPropertyDescriptor;return l.f=r?a:function(r,c){if(r=i(r),c=o(c),f)try{return a(r,c)}catch(s){}if(u(r,c))return e(!t(n.f,r,c),r[c])},l}var st,ht,vt,lt,pt,dt,yt,gt={};function wt(){if(ht)return st;ht=1;var r=d(),t=p();return st=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function mt(){if(lt)return vt;lt=1;var r=pr(),t=String,n=TypeError;return vt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function bt(){if(pt)return gt;pt=1;var r=d(),t=at(),n=wt(),e=mt(),i=ut(),o=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a="enumerable",c="configurable",s="writable";return gt.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&s in n&&!n[s]){var o=f(r,t);o&&o[s]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:a in n?n[a]:o[a],writable:!1})}return u(r,t,n)}:u:function(r,n,f){if(e(r),n=i(n),e(f),t)try{return u(r,n,f)}catch(a){}if("get"in f||"set"in f)throw new o("Accessors not supported");return"value"in f&&(r[n]=f.value),r},gt}function St(){if(yt)return dt;yt=1;var r=d(),t=bt(),n=ur();return dt=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var Ot,Et,At,xt,Tt,It,jt,Rt,Pt,kt,Ct,Dt,Ft,Ut,_t,Bt={exports:{}};function Nt(){if(xt)return At;xt=1;var r=fr(),t=lr(),n=Qr(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),At=n.inspectSource}function Mt(){if(Rt)return jt;Rt=1;var r=rt(),t=et(),n=r("keys");return jt=function(r){return n[r]||(n[r]=t(r))}}function Lt(){return kt?Pt:(kt=1,Pt={})}function zt(){if(Dt)return Ct;Dt=1;var r,t,n,e=function(){if(It)return Tt;It=1;var r=i(),t=lr(),n=r.WeakMap;return Tt=t(n)&&/native code/.test(String(n))}(),o=i(),u=pr(),f=St(),a=nt(),c=Qr(),s=Mt(),h=Lt(),v="Object already initialized",l=o.TypeError,p=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new p);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new l(v);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var y=s("state");h[y]=!0,r=function(r,t){if(a(r,y))throw new l(v);return t.facade=r,f(r,y,t),t},t=function(r){return a(r,y)?r[y]:{}},n=function(r){return a(r,y)}}return Ct={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!u(n)||(e=t(n)).type!==r)throw new l("Incompatible receiver, "+r+" required");return e}}}}function Jt(){if(Ft)return Bt.exports;Ft=1;var r=fr(),t=p(),n=lr(),e=nt(),i=d(),o=function(){if(Et)return Ot;Et=1;var r=d(),t=nt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return Ot={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Nt(),f=zt(),a=f.enforce,c=f.get,s=String,h=Object.defineProperty,v=r("".slice),l=r("".replace),y=r([].join),g=i&&!t(function(){return 8!==h(function(){},"length",{value:8}).length}),w=String(String).split("String"),m=Bt.exports=function(r,t,n){"Symbol("===v(s(t),0,7)&&(t="["+l(s(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?h(r,"name",{value:t,configurable:!0}):r.name=t),g&&n&&e(n,"arity")&&r.length!==n.arity&&h(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&h(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(f){}var u=a(r);return e(u,"source")||(u.source=y(w,"string"==typeof t?t:"")),r};return Function.prototype.toString=m(function(){return n(this)&&c(this).source||u(this)},"toString"),Bt.exports}function Wt(){if(_t)return Ut;_t=1;var r=lr(),t=bt(),n=Jt(),e=Zr();return Ut=function(i,o,u,f){f||(f={});var a=f.enumerable,c=void 0!==f.name?f.name:o;if(r(u)&&n(u,c,f),f.global)a?i[o]=u:e(o,u);else{try{f.unsafe?i[o]&&(a=!0):delete i[o]}catch(s){}a?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return i}}var Ht,$t,Vt,Yt,Gt,qt,Xt,Kt,Zt,Qt,rn,tn,nn,en,on,un,fn,an={};function cn(){if(Yt)return Vt;Yt=1;var r=function(){if($t)return Ht;$t=1;var r=Math.ceil,t=Math.floor;return Ht=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return Vt=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function sn(){if(qt)return Gt;qt=1;var r=cn(),t=Math.max,n=Math.min;return Gt=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function hn(){if(Kt)return Xt;Kt=1;var r=cn(),t=Math.min;return Xt=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function vn(){if(Qt)return Zt;Qt=1;var r=hn();return Zt=function(t){return r(t.length)}}function ln(){if(en)return nn;en=1;var r=fr(),t=nt(),n=vr(),e=function(){if(tn)return rn;tn=1;var r=vr(),t=sn(),n=vn(),e=function(e){return function(i,o,u){var f=r(i),a=n(f);if(0===a)return!e&&-1;var c,s=t(u,a);if(e&&o!=o){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((e||s in f)&&f[s]===o)return e||s||0;return!e&&-1}};return rn={includes:e(!0),indexOf:e(!1)}}().indexOf,i=Lt(),o=r([].push);return nn=function(r,u){var f,a=n(r),c=0,s=[];for(f in a)!t(i,f)&&t(a,f)&&o(s,f);for(;u.length>c;)t(a,f=u[c++])&&(~e(s,f)||o(s,f));return s}}function pn(){return un?on:(un=1,on=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var dn,yn,gn,wn,mn,bn,Sn,On,En,An,xn,Tn,In,jn,Rn,Pn,kn={};function Cn(){if(gn)return yn;gn=1;var r=dr(),t=fr(),n=function(){if(fn)return an;fn=1;var r=ln(),t=pn().concat("length","prototype");return an.f=Object.getOwnPropertyNames||function(n){return r(n,t)},an}(),e=(dn||(dn=1,kn.f=Object.getOwnPropertySymbols),kn),i=mt(),o=t([].concat);return yn=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function Dn(){if(mn)return wn;mn=1;var r=nt(),t=Cn(),n=ct(),e=bt();return wn=function(i,o,u){for(var f=t(o),a=e.f,c=n.f,s=0;s<f.length;s++){var h=f[s];r(i,h)||u&&r(u,h)||a(i,h,c(o,h))}}}function Fn(){if(En)return On;En=1;var r=i(),t=ct().f,n=St(),e=Wt(),o=Zr(),u=Dn(),f=function(){if(Sn)return bn;Sn=1;var r=p(),t=lr(),n=/#|\.prototype\./,e=function(n,e){var a=o[i(n)];return a===f||a!==u&&(t(e)?r(e):!!e)},i=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";return bn=e}();return On=function(i,a){var c,s,h,v,l,p=i.target,d=i.global,y=i.stat;if(c=d?r:y?r[p]||o(p,{}):r[p]&&r[p].prototype)for(s in a){if(v=a[s],h=i.dontCallGetSet?(l=t(c,s))&&l.value:c[s],!f(d?s:p+(y?".":"#")+s,i.forced)&&void 0!==h){if(typeof v==typeof h)continue;u(v,h)}(i.sham||h&&h.sham)&&n(v,"sham",!0),e(c,s,v,i)}}}function Un(){if(xn)return An;xn=1;var r=ar();return An=Array.isArray||function(t){return"Array"===r(t)}}function _n(){if(Rn)return jn;Rn=1;var r=TypeError;return jn=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}}!function(){if(Pn)return e;Pn=1;var r=Fn(),t=tt(),n=vn(),i=function(){if(In)return Tn;In=1;var r=d(),t=Un(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return Tn=i?function(r,i){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=i}:function(r,t){return r.length=t}}(),o=_n();r({target:"Array",proto:!0,arity:1,forced:p()(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var e=t(this),u=n(e),f=arguments.length;o(u+f);for(var a=0;a<f;a++)e[u]=arguments[a],u++;return i(e,u),u}})}();var Bn,Nn,Mn={};function Ln(){if(Nn)return Bn;Nn=1;var r=vn();return Bn=function(t,n){for(var e=r(t),i=new n(e),o=0;o<e;o++)i[o]=t[e-o-1];return i}}var zn,Jn,Wn,Hn,$n,Vn,Yn,Gn,qn,Xn,Kn={};function Zn(){if(Jn)return zn;Jn=1;var r=ln(),t=pn();return zn=Object.keys||function(n){return r(n,t)}}function Qn(){if($n)return Hn;$n=1;var r=dr();return Hn=r("document","documentElement")}function re(){if(Yn)return Vn;Yn=1;var r,t=mt(),n=function(){if(Wn)return Kn;Wn=1;var r=d(),t=wt(),n=bt(),e=mt(),i=vr(),o=Zn();return Kn.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,f=i(t),a=o(t),c=a.length,s=0;c>s;)n.f(r,u=a[s++],f[u]);return r},Kn}(),e=pn(),i=Lt(),o=Qn(),u=ft(),f=Mt(),a="prototype",c="script",s=f("IE_PROTO"),h=function(){},v=function(r){return"<"+c+">"+r+"</"+c+">"},l=function(r){r.write(v("")),r.close();var t=r.parentWindow.Object;return r=null,t},p=function(){try{r=new ActiveXObject("htmlfile")}catch(s){}var t,n,i;p="undefined"!=typeof document?document.domain&&r?l(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):l(r);for(var f=e.length;f--;)delete p[a][e[f]];return p()};return i[s]=!0,Vn=Object.create||function(r,e){var i;return null!==r?(h[a]=t(r),i=new h,h[a]=null,i[s]=r):i=p(),void 0===e?i:n.f(i,e)}}function te(){if(qn)return Gn;qn=1;var r=it(),t=re(),n=bt().f,e=r("unscopables"),i=Array.prototype;return void 0===i[e]&&n(i,e,{configurable:!0,value:t(null)}),Gn=function(r){i[e][r]=!0}}!function(){if(Xn)return Mn;Xn=1;var r=Fn(),t=Ln(),n=vr(),e=te(),i=Array;r({target:"Array",proto:!0},{toReversed:function(){return t(n(this),i)}}),e("toReversed")}();var ne,ee,ie,oe,ue,fe={};function ae(){if(ee)return ne;ee=1;var r=vn();return ne=function(t,n,e){for(var i=0,o=arguments.length>2?e:r(n),u=new t(o);o>i;)u[i]=n[i++];return u},ne}function ce(){if(oe)return ie;oe=1;var r=i();return ie=function(t,n){var e=r[t],i=e&&e.prototype;return i&&i[n]}}!function(){if(ue)return fe;ue=1;var r=Fn(),t=fr(),n=Er(),e=vr(),i=ae(),o=ce(),u=te(),f=Array,a=t(o("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(r){void 0!==r&&n(r);var t=e(this),o=i(f,t);return a(o,r)}}),u("toSorted")}();var se,he={};!function(){if(se)return he;se=1;var r=Fn(),t=te(),n=_n(),e=vn(),i=sn(),o=vr(),u=cn(),f=Array,a=Math.max,c=Math.min;r({target:"Array",proto:!0},{toSpliced:function(r,t){var s,h,v,l,p=o(this),d=e(p),y=i(r,d),g=arguments.length,w=0;for(0===g?s=h=0:1===g?(s=0,h=d-y):(s=g-2,h=c(a(u(t),0),d-y)),v=n(d+s-h),l=f(v);w<y;w++)l[w]=p[w];for(;w<y+s;w++)l[w]=arguments[w-y+2];for(;w<v;w++)l[w]=p[w+h-s];return l}}),t("toSpliced")}();var ve,le,pe,de={};function ye(){if(le)return ve;le=1;var r=vn(),t=cn(),n=RangeError;return ve=function(e,i,o,u){var f=r(e),a=t(o),c=a<0?f+a:a;if(c>=f||c<0)throw new n("Incorrect index");for(var s=new i(f),h=0;h<f;h++)s[h]=h===c?u:e[h];return s}}!function(){if(pe)return de;pe=1;var r=Fn(),t=ye(),n=vr(),e=Array;r({target:"Array",proto:!0,forced:function(){try{[].with({valueOf:function(){throw 4}},null)}catch(r){return 4!==r}}()},{with:function(r,i){return t(n(this),e,r,i)}})}();var ge,we,me,be,Se,Oe,Ee,Ae,xe,Te,Ie,je={};function Re(){if(we)return ge;we=1;var r=Jt(),t=bt();return ge=function(n,e,i){return i.get&&r(i.get,e,{getter:!0}),i.set&&r(i.set,e,{setter:!0}),t.f(n,e,i)}}function Pe(){return be?me:(be=1,me="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView)}function ke(){if(Oe)return Se;Oe=1;var r=fr(),t=Er();return Se=function(n,e,i){try{return r(t(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(o){}}}function Ce(){if(Ae)return Ee;Ae=1;var r=i(),t=ke(),n=ar(),e=r.ArrayBuffer,o=r.TypeError;return Ee=e&&t(e.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==n(r))throw new o("ArrayBuffer expected");return r.byteLength}}function De(){if(Te)return xe;Te=1;var r=i(),t=Pe(),n=Ce(),e=r.DataView;return xe=function(r){if(!t||0!==n(r))return!1;try{return new e(r),!1}catch(i){return!0}}}!function(){if(Ie)return je;Ie=1;var r=d(),t=Re(),n=De(),e=ArrayBuffer.prototype;r&&!("detached"in e)&&t(e,"detached",{configurable:!0,get:function(){return n(this)}})}();var Fe,Ue,_e,Be,Ne,Me,Le,ze,Je,We,He,$e,Ve,Ye,Ge,qe,Xe,Ke={};function Ze(){if(Ue)return Fe;Ue=1;var r=cn(),t=hn(),n=RangeError;return Fe=function(e){if(void 0===e)return 0;var i=r(e),o=t(i);if(i!==o)throw new n("Wrong length or index");return o}}function Qe(){if(Be)return _e;Be=1;var r=De(),t=TypeError;return _e=function(n){if(r(n))throw new t("ArrayBuffer is detached");return n}}function ri(){if(Me)return Ne;Me=1;var r=i(),t=gr(),n=ar(),e=function(r){return t.slice(0,r.length)===r};return Ne=e("Bun/")?"BUN":e("Cloudflare-Workers")?"CLOUDFLARE":e("Deno/")?"DENO":e("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"}function ti(){if(We)return Je;We=1;var r=i(),t=function(){if(ze)return Le;ze=1;var r=ri();return Le="NODE"===r}();return Je=function(n){if(t){try{return r.process.getBuiltinModule(n)}catch(e){}try{return Function('return require("'+n+'")')()}catch(e){}}}}function ni(){if($e)return He;$e=1;var r=i(),t=p(),n=wr(),e=ri(),o=r.structuredClone;return He=!!o&&!t(function(){if("DENO"===e&&n>92||"NODE"===e&&n>94||"BROWSER"===e&&n>97)return!1;var r=new ArrayBuffer(8),t=o(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})}function ei(){if(Ye)return Ve;Ye=1;var r,t,n,e,o=i(),u=ti(),f=ni(),a=o.structuredClone,c=o.ArrayBuffer,s=o.MessageChannel,h=!1;if(f)h=function(r){a(r,{transfer:[r]})};else if(c)try{s||(r=u("worker_threads"))&&(s=r.MessageChannel),s&&(t=new s,n=new c(2),e=function(r){t.port1.postMessage(null,[r])},2===n.byteLength&&(e(n),0===n.byteLength&&(h=e)))}catch(v){}return Ve=h}function ii(){if(qe)return Ge;qe=1;var r=i(),t=fr(),n=ke(),e=Ze(),o=Qe(),u=Ce(),f=ei(),a=ni(),c=r.structuredClone,s=r.ArrayBuffer,h=r.DataView,v=Math.min,l=s.prototype,p=h.prototype,d=t(l.slice),y=n(l,"resizable","get"),g=n(l,"maxByteLength","get"),w=t(p.getInt8),m=t(p.setInt8);return Ge=(a||f)&&function(r,t,n){var i,l=u(r),p=void 0===t?l:e(t),b=!y||!y(r);if(o(r),a&&(r=c(r,{transfer:[r]}),l===p&&(n||b)))return r;if(l>=p&&(!n||b))i=d(r,0,p);else{var S=n&&!b&&g?{maxByteLength:g(r)}:void 0;i=new s(p,S);for(var O=new h(r),E=new h(i),A=v(p,l),x=0;x<A;x++)m(E,x,w(O,x))}return a||f(r),i}}!function(){if(Xe)return Ke;Xe=1;var r=Fn(),t=ii();t&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}})}();var oi,ui={};!function(){if(oi)return ui;oi=1;var r=Fn(),t=ii();t&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}})}();var fi,ai,ci,si,hi,vi,li,pi,di,yi,gi,wi={};function mi(){if(ai)return fi;ai=1;var r=yr(),t=TypeError;return fi=function(n,e){if(r(e,n))return n;throw new t("Incorrect invocation")}}function bi(){if(vi)return hi;vi=1;var r=nt(),t=lr(),n=tt(),e=Mt(),i=function(){if(si)return ci;si=1;var r=p();return ci=!r(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})}(),o=e("IE_PROTO"),u=Object,f=u.prototype;return hi=i?u.getPrototypeOf:function(e){var i=n(e);if(r(i,o))return i[o];var a=i.constructor;return t(a)&&i instanceof a?a.prototype:i instanceof u?f:null}}function Si(){if(pi)return li;pi=1;var r=d(),t=bt(),n=ur();return li=function(e,i,o){r?t.f(e,i,n(0,o)):e[i]=o}}function Oi(){if(yi)return di;yi=1;var r,t,n,e=p(),i=lr(),o=pr(),u=re(),f=bi(),a=Wt(),c=it(),s=Kr(),h=c("iterator"),v=!1;return[].keys&&("next"in(n=[].keys())?(t=f(f(n)))!==Object.prototype&&(r=t):v=!0),!o(r)||e(function(){var t={};return r[h].call(t)!==t})?r={}:s&&(r=u(r)),i(r[h])||a(r,h,function(){return this}),di={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}}!function(){if(gi)return wi;gi=1;var r=Fn(),t=i(),n=mi(),e=mt(),o=lr(),u=bi(),f=Re(),a=Si(),c=p(),s=nt(),h=it(),v=Oi().IteratorPrototype,l=d(),y=Kr(),g="constructor",w="Iterator",m=h("toStringTag"),b=TypeError,S=t[w],O=y||!o(S)||S.prototype!==v||!c(function(){S({})}),E=function(){if(n(this,v),u(this)===v)throw new b("Abstract class Iterator not directly constructable")},A=function(r,t){l?f(v,r,{configurable:!0,get:function(){return t},set:function(t){if(e(this),this===v)throw new b("You can't redefine this property");s(this,r)?this[r]=t:a(this,r,t)}}):v[r]=t};s(v,m)||A(m,w),!O&&s(v,g)&&v[g]!==Object||A(g,E),E.prototype=v,r({global:!0,constructor:!0,forced:O},{Iterator:E})}();var Ei,Ai,xi,Ti,Ii,ji,Ri,Pi,ki,Ci,Di,Fi,Ui,_i,Bi,Ni,Mi,Li,zi,Ji,Wi,Hi={};function $i(){return Ai?Ei:(Ai=1,Ei=function(r){return{iterator:r,next:r.next,done:!1}})}function Vi(){if(Ti)return xi;Ti=1;var r=RangeError;return xi=function(t){if(t==t)return t;throw new r("NaN is not allowed")}}function Yi(){if(ji)return Ii;ji=1;var r=cn(),t=RangeError;return Ii=function(n){var e=r(n);if(e<0)throw new t("The argument can't be less than 0");return e}}function Gi(){if(Pi)return Ri;Pi=1;var r=g(),t=mt(),n=Ar();return Ri=function(e,i,o){var u,f;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(a){f=!0,u=a}if("throw"===i)throw o;if(f)throw u;return t(u),o}}function qi(){if(Ci)return ki;Ci=1;var r=Wt();return ki=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}function Xi(){return Fi?Di:(Fi=1,Di=function(r,t){return{value:r,done:t}})}function Ki(){if(_i)return Ui;_i=1;var r=Gi();return Ui=function(t,n,e){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{e=r(t[i].iterator,n,e)}catch(o){n="throw",e=o}if("throw"===n)throw e;return e}}function Zi(){if(Ni)return Bi;Ni=1;var r=g(),t=re(),n=St(),e=qi(),i=it(),o=zt(),u=Ar(),f=Oi().IteratorPrototype,a=Xi(),c=Gi(),s=Ki(),h=i("toStringTag"),v="IteratorHelper",l="WrapForValidIterator",p="normal",d="throw",y=o.set,w=function(n){var i=o.getterFor(n?l:v);return e(t(f),{next:function(){var r=i(this);if(n)return r.nextHandler();if(r.done)return a(void 0,!0);try{var t=r.nextHandler();return r.returnHandlerResult?t:a(t,r.done)}catch(e){throw r.done=!0,e}},return:function(){var t=i(this),e=t.iterator;if(t.done=!0,n){var o=u(e,"return");return o?r(o,e):a(void 0,!0)}if(t.inner)try{c(t.inner.iterator,p)}catch(f){return c(e,d,f)}if(t.openIters)try{s(t.openIters,p)}catch(f){return c(e,d,f)}return e&&c(e,p),a(void 0,!0)}})},m=w(!0),b=w(!1);return n(b,h,"Iterator Helper"),Bi=function(r,t,n){var e=function(e,i){i?(i.iterator=e.iterator,i.next=e.next):i=e,i.type=t?l:v,i.returnHandlerResult=!!n,i.nextHandler=r,i.counter=0,i.done=!1,y(this,i)};return e.prototype=t?m:b,e}}function Qi(){return Li?Mi:(Li=1,Mi=function(r,t){var n="function"==typeof Iterator&&Iterator.prototype[r];if(n)try{n.call({next:null},t).next()}catch(e){return!0}})}function ro(){if(Ji)return zi;Ji=1;var r=i();return zi=function(t,n){var e=r.Iterator,i=e&&e.prototype,o=i&&i[t],u=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){u=!0}},-1)}catch(f){f instanceof n||(u=!1)}if(!u)return o}}!function(){if(Wi)return Hi;Wi=1;var r=Fn(),t=g(),n=mt(),e=$i(),i=Vi(),o=Yi(),u=Gi(),f=Zi(),a=Qi(),c=ro(),s=Kr(),h=!s&&!a("drop",0),v=!s&&!h&&c("drop",RangeError),l=s||h||v,p=f(function(){for(var r,e=this.iterator,i=this.next;this.remaining;)if(this.remaining--,r=n(t(i,e)),this.done=!!r.done)return;if(r=n(t(i,e)),!(this.done=!!r.done))return r.value});r({target:"Iterator",proto:!0,real:!0,forced:l},{drop:function(r){var f;n(this);try{f=o(i(+r))}catch(a){u(this,"throw",a)}return v?t(v,this,f):new p(e(this),{remaining:f})}})}();var to,no,eo,io,oo,uo,fo,ao,co,so,ho,vo,lo,po,yo,go,wo,mo,bo,So={};function Oo(){if(io)return eo;io=1;var r=function(){if(no)return to;no=1;var r=ar(),t=fr();return to=function(n){if("Function"===r(n))return t(n)}}(),t=Er(),n=y(),e=r(r.bind);return eo=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},eo}function Eo(){return uo?oo:(uo=1,oo={})}function Ao(){if(ao)return fo;ao=1;var r=it(),t=Eo(),n=r("iterator"),e=Array.prototype;return fo=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function xo(){if(vo)return ho;vo=1;var r=function(){if(so)return co;so=1;var r={};return r[it()("toStringTag")]="z",co="[object z]"===String(r)}(),t=lr(),n=ar(),e=it()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return ho=r?n:function(r){var u,f,a;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,t){try{return r[t]}catch(n){}}(u=i(r),e))?f:o?n(u):"Object"===(a=n(u))&&t(u.callee)?"Arguments":a}}function To(){if(po)return lo;po=1;var r=xo(),t=Ar(),n=sr(),e=Eo(),i=it()("iterator");return lo=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function Io(){if(go)return yo;go=1;var r=g(),t=Er(),n=mt(),e=Or(),i=To(),o=TypeError;return yo=function(u,f){var a=arguments.length<2?i(u):f;if(t(a))return n(r(a,u));throw new o(e(u)+" is not iterable")},yo}function jo(){if(mo)return wo;mo=1;var r=Oo(),t=g(),n=mt(),e=Or(),i=Ao(),o=vn(),u=yr(),f=Io(),a=To(),c=Gi(),s=TypeError,h=function(r,t){this.stopped=r,this.result=t},v=h.prototype;return wo=function(l,p,d){var y,g,w,m,b,S,O,E=d&&d.that,A=!(!d||!d.AS_ENTRIES),x=!(!d||!d.IS_RECORD),T=!(!d||!d.IS_ITERATOR),I=!(!d||!d.INTERRUPTED),j=r(p,E),R=function(r){return y&&c(y,"normal"),new h(!0,r)},P=function(r){return A?(n(r),I?j(r[0],r[1],R):j(r[0],r[1])):I?j(r,R):j(r)};if(x)y=l.iterator;else if(T)y=l;else{if(!(g=a(l)))throw new s(e(l)+" is not iterable");if(i(g)){for(w=0,m=o(l);m>w;w++)if((b=P(l[w]))&&u(v,b))return b;return new h(!1)}y=f(l,g)}for(S=x?l.next:y.next;!(O=t(S,y)).done;){try{b=P(O.value)}catch(k){c(y,"throw",k)}if("object"==typeof b&&b&&u(v,b))return b}return new h(!1)}}!function(){if(bo)return So;bo=1;var r=Fn(),t=g(),n=jo(),e=Er(),i=mt(),o=$i(),u=Gi(),f=ro()("every",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{every:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(f)return t(f,this,r);var a=o(this),c=0;return!n(a,function(t,n){if(!r(t,c++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}();var Ro,Po,ko,Co={};function Do(){if(Po)return Ro;Po=1;var r=mt(),t=Gi();return Ro=function(n,e,i,o){try{return o?e(r(i)[0],i[1]):e(i)}catch(u){t(n,"throw",u)}}}!function(){if(ko)return Co;ko=1;var r=Fn(),t=g(),n=Er(),e=mt(),i=$i(),o=Zi(),u=Do(),f=Kr(),a=Gi(),c=Qi(),s=ro(),h=!f&&!c("filter",function(){}),v=!f&&!h&&s("filter",TypeError),l=f||h||v,p=o(function(){for(var r,n,i=this.iterator,o=this.predicate,f=this.next;;){if(r=e(t(f,i)),this.done=!!r.done)return;if(n=r.value,u(i,o,[n,this.counter++],!0))return n}});r({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(r){e(this);try{n(r)}catch(o){a(this,"throw",o)}return v?t(v,this,r):new p(i(this),{predicate:r})}})}();var Fo,Uo={};!function(){if(Fo)return Uo;Fo=1;var r=Fn(),t=g(),n=jo(),e=Er(),i=mt(),o=$i(),u=Gi(),f=ro()("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{find:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(f)return t(f,this,r);var a=o(this),c=0;return n(a,function(t,n){if(r(t,c++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}();var _o,Bo,No,Mo={};function Lo(){if(Bo)return _o;Bo=1;var r=g(),t=mt(),n=$i(),e=To();return _o=function(i,o){o&&"string"==typeof i||t(i);var u=e(i);return n(t(void 0!==u?r(u,i):i))}}!function(){if(No)return Mo;No=1;var r=Fn(),t=g(),n=Er(),e=mt(),i=$i(),o=Lo(),u=Zi(),f=Gi(),a=Kr(),c=Qi(),s=ro(),h=!a&&!c("flatMap",function(){}),v=!a&&!h&&s("flatMap",TypeError),l=a||h||v,p=u(function(){for(var r,n,i=this.iterator,u=this.mapper;;){if(n=this.inner)try{if(!(r=e(t(n.next,n.iterator))).done)return r.value;this.inner=null}catch(a){f(i,"throw",a)}if(r=e(t(this.next,i)),this.done=!!r.done)return;try{this.inner=o(u(r.value,this.counter++),!1)}catch(a){f(i,"throw",a)}}});r({target:"Iterator",proto:!0,real:!0,forced:l},{flatMap:function(r){e(this);try{n(r)}catch(o){f(this,"throw",o)}return v?t(v,this,r):new p(i(this),{mapper:r,inner:null})}})}();var zo,Jo={};!function(){if(zo)return Jo;zo=1;var r=Fn(),t=g(),n=jo(),e=Er(),i=mt(),o=$i(),u=Gi(),f=ro()("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{forEach:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(f)return t(f,this,r);var a=o(this),c=0;n(a,function(t){r(t,c++)},{IS_RECORD:!0})}})}();var Wo,Ho={};!function(){if(Wo)return Ho;Wo=1;var r=Fn(),t=g(),n=Er(),e=mt(),i=$i(),o=Zi(),u=Do(),f=Gi(),a=Qi(),c=ro(),s=Kr(),h=!s&&!a("map",function(){}),v=!s&&!h&&c("map",TypeError),l=s||h||v,p=o(function(){var r=this.iterator,n=e(t(this.next,r));if(!(this.done=!!n.done))return u(r,this.mapper,[n.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:l},{map:function(r){e(this);try{n(r)}catch(o){f(this,"throw",o)}return v?t(v,this,r):new p(i(this),{mapper:r})}})}();var $o,Vo,Yo,Go={};function qo(){if(Vo)return $o;Vo=1;var r=y(),t=Function.prototype,n=t.apply,e=t.call;return $o="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),$o}!function(){if(Yo)return Go;Yo=1;var r=Fn(),t=jo(),n=Er(),e=mt(),i=$i(),o=Gi(),u=ro(),f=qo(),a=p(),c=TypeError,s=a(function(){[].keys().reduce(function(){},void 0)}),h=!s&&u("reduce",c);r({target:"Iterator",proto:!0,real:!0,forced:s||h},{reduce:function(r){e(this);try{n(r)}catch(l){o(this,"throw",l)}var u=arguments.length<2,a=u?void 0:arguments[1];if(h)return f(h,this,u?[r]:[r,a]);var s=i(this),v=0;if(t(s,function(t){u?(u=!1,a=t):a=r(a,t,v),v++},{IS_RECORD:!0}),u)throw new c("Reduce of empty iterator with no initial value");return a}})}();var Xo,Ko={};!function(){if(Xo)return Ko;Xo=1;var r=Fn(),t=g(),n=jo(),e=Er(),i=mt(),o=$i(),u=Gi(),f=ro()("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{some:function(r){i(this);try{e(r)}catch(s){u(this,"throw",s)}if(f)return t(f,this,r);var a=o(this),c=0;return n(a,function(t,n){if(r(t,c++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}();var Zo,Qo={};!function(){if(Zo)return Qo;Zo=1;var r=Fn(),t=g(),n=mt(),e=$i(),i=Vi(),o=Yi(),u=Zi(),f=Gi(),a=ro(),c=Kr(),s=!c&&a("take",RangeError),h=u(function(){var r=this.iterator;if(!this.remaining--)return this.done=!0,f(r,"normal",void 0);var e=n(t(this.next,r));return(this.done=!!e.done)?void 0:e.value});r({target:"Iterator",proto:!0,real:!0,forced:c||s},{take:function(r){var u;n(this);try{u=o(i(+r))}catch(a){f(this,"throw",a)}return s?t(s,this,u):new h(e(this),{remaining:u})}})}();var ru,tu={};!function(){if(ru)return tu;ru=1;var r=Fn(),t=mt(),n=jo(),e=$i(),i=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var r=[];return n(e(t(this)),i,{that:r,IS_RECORD:!0}),r}})}();var nu,eu,iu,ou,uu,fu,au,cu,su,hu,vu,lu={};function pu(){if(ou)return iu;ou=1;var r=xo(),t=String;return iu=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function du(){if(fu)return uu;fu=1;var r=fr();return uu=r([].slice)}function yu(){if(cu)return au;cu=1;var r=fr(),t=nt(),n=SyntaxError,e=parseInt,i=String.fromCharCode,o=r("".charAt),u=r("".slice),f=r(/./.exec),a={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},c=/^[\da-f]{4}$/i,s=/^[\u0000-\u001F]$/;return au=function(r,h){for(var v=!0,l="";h<r.length;){var p=o(r,h);if("\\"===p){var d=u(r,h,h+2);if(t(a,d))l+=a[d],h+=2;else{if("\\u"!==d)throw new n('Unknown escape sequence: "'+d+'"');var y=u(r,h+=2,h+4);if(!f(c,y))throw new n("Bad Unicode escape at: "+h);l+=i(e(y,16)),h+=4}}else{if('"'===p){v=!1,h++;break}if(f(s,p))throw new n("Bad control character in string literal at: "+h);l+=p,h++}}if(v)throw new n("Unterminated string at: "+h);return{value:l,end:h}}}!function(){if(vu)return lu;vu=1;var r=Fn(),t=dr(),n=qo(),e=g(),i=fr(),o=p(),u=Un(),f=lr(),a=function(){if(eu)return nu;eu=1;var r=pr(),t=zt().get;return nu=function(n){if(!r(n))return!1;var e=t(n);return!!e&&"RawJSON"===e.type}}(),c=Sr(),s=ar(),h=pu(),v=du(),l=yu(),d=et(),y=mr(),w=function(){if(hu)return su;hu=1;var r=p();return su=!r(function(){var r="9007199254740993",t=JSON.rawJSON(r);return!JSON.isRawJSON(t)||JSON.stringify(t)!==r})}(),m=String,b=t("JSON","stringify"),S=i(/./.exec),O=i("".charAt),E=i("".charCodeAt),A=i("".replace),x=i("".slice),T=i([].push),I=i(1.1.toString),j=/[\uD800-\uDFFF]/g,R=/^[\uD800-\uDBFF]$/,P=/^[\uDC00-\uDFFF]$/,k=d(),C=k.length,D=!y||o(function(){var r=t("Symbol")("stringify detection");return"[null]"!==b([r])||"{}"!==b({a:r})||"{}"!==b(Object(r))}),F=o(function(){return'"\\udf06\\ud834"'!==b("\udf06\ud834")||'"\\udead"'!==b("\udead")}),U=D?function(r,t){var i=v(arguments),o=B(t);if(f(o)||void 0!==r&&!c(r))return i[1]=function(r,t){if(f(o)&&(t=e(o,this,m(r),t)),!c(t))return t},n(b,null,i)}:b,_=function(r,t,n){var e=O(n,t-1),i=O(n,t+1);return S(R,r)&&!S(P,i)||S(P,r)&&!S(R,e)?"\\u"+I(E(r,0),16):r},B=function(r){if(f(r))return r;if(u(r)){for(var t=r.length,n=[],e=0;e<t;e++){var i=r[e];"string"==typeof i?T(n,i):"number"!=typeof i&&"Number"!==s(i)&&"String"!==s(i)||T(n,h(i))}var o=n.length,a=!0;return function(r,t){if(a)return a=!1,t;if(u(this))return t;for(var e=0;e<o;e++)if(n[e]===r)return t}}};b&&r({target:"JSON",stat:!0,arity:3,forced:D||F||!w},{stringify:function(r,t,n){var i=B(t),o=[],u=U(r,function(r,t){var n=f(i)?e(i,this,m(r),t):t;return!w&&a(n)?k+(T(o,n.rawJSON)-1):n},n);if("string"!=typeof u)return u;if(F&&(u=A(u,j,_)),w)return u;for(var c="",s=u.length,h=0;h<s;h++){var v=O(u,h);if('"'===v){var p=l(u,++h).end-1,d=x(u,h,p);c+=x(d,0,C)===k?o[x(d,C)]:'"'+d+'"',h=p}else c+=v}return c}})}();var gu,wu,mu={},bu={};!function(){if(wu)return mu;wu=1;var r=Fn(),t=function(){if(gu)return bu;gu=1;var r=Er(),t=TypeError,n=function(n){var e,i;this.promise=new n(function(r,n){if(void 0!==e||void 0!==i)throw new t("Bad Promise constructor");e=r,i=n}),this.resolve=r(e),this.reject=r(i)};return bu.f=function(r){return new n(r)},bu}();r({target:"Promise",stat:!0},{withResolvers:function(){var r=t.f(this);return{promise:r.promise,resolve:r.resolve,reject:r.reject}}})}();var Su,Ou,Eu,Au,xu,Tu={};!function(){if(xu)return Tu;xu=1;var r=d(),t=Re(),n=function(){if(Ou)return Su;Ou=1;var r=i(),t=p(),n=r.RegExp,e=!t(function(){var r=!0;try{n(".","d")}catch(a){r=!1}var t={},e="",i=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var f in r&&(u.hasIndices="d"),u)o(f,u[f]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==i||e!==i});return Su={correct:e}}(),e=function(){if(Au)return Eu;Au=1;var r=mt();return Eu=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}();r&&!n.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:e}),n.correct=!0)}();var Iu,ju,Ru,Pu,ku,Cu,Du,Fu,Uu,_u,Bu,Nu,Mu,Lu,zu,Ju,Wu,Hu,$u,Vu={};function Yu(){if(ju)return Iu;ju=1;var r=fr(),t=Set.prototype;return Iu={Set:Set,add:r(t.add),has:r(t.has),remove:r(t.delete),proto:t}}function Gu(){if(Pu)return Ru;Pu=1;var r=Yu().has;return Ru=function(t){return r(t),t}}function qu(){if(Cu)return ku;Cu=1;var r=g();return ku=function(t,n,e){for(var i,o,u=e?t:t.iterator,f=t.next;!(i=r(f,u)).done;)if(void 0!==(o=n(i.value)))return o}}function Xu(){if(Fu)return Du;Fu=1;var r=fr(),t=qu(),n=Yu(),e=n.Set,i=n.proto,o=r(i.forEach),u=r(i.keys),f=u(new e).next;return Du=function(r,n,e){return e?t({iterator:u(r),next:f},n):o(r,n)}}function Ku(){if(_u)return Uu;_u=1;var r=Yu(),t=Xu(),n=r.Set,e=r.add;return Uu=function(r){var i=new n;return t(r,function(r){e(i,r)}),i}}function Zu(){if(Nu)return Bu;Nu=1;var r=ke(),t=Yu();return Bu=r(t.proto,"size","get")||function(r){return r.size}}function Qu(){if(Lu)return Mu;Lu=1;var r=Er(),t=mt(),n=g(),e=cn(),i=$i(),o="Invalid size",u=RangeError,f=TypeError,a=Math.max,c=function(t,n){this.set=t,this.size=a(n,0),this.has=r(t.has),this.keys=r(t.keys)};return c.prototype={getIterator:function(){return i(t(n(this.keys,this.set)))},includes:function(r){return n(this.has,this.set,r)}},Mu=function(r){t(r);var n=+r.size;if(n!=n)throw new f(o);var i=e(n);if(i<0)throw new u(o);return new c(r,i)}}function rf(){if(Hu)return Wu;Hu=1;var r=dr(),t=function(r){return{size:r,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},n=function(r){return{size:r,has:function(){return!0},keys:function(){throw new Error("e")}}};return Wu=function(e,i){var o=r("Set");try{(new o)[e](t(0));try{return(new o)[e](t(-1)),!1}catch(u){if(!i)return!0;try{return(new o)[e](n(-1/0)),!1}catch(f){return i(new o([1,2])[e](n(1/0)))}}}catch(f){return!1}}}!function(){if($u)return Vu;$u=1;var r=Fn(),t=function(){if(Ju)return zu;Ju=1;var r=Gu(),t=Yu(),n=Ku(),e=Zu(),i=Qu(),o=Xu(),u=qu(),f=t.has,a=t.remove;return zu=function(t){var c=r(this),s=i(t),h=n(c);return e(c)<=s.size?o(c,function(r){s.includes(r)&&a(h,r)}):u(s.getIterator(),function(r){f(h,r)&&a(h,r)}),h}}(),n=p();r({target:"Set",proto:!0,real:!0,forced:!rf()("difference",function(r){return 0===r.size})||n(function(){var r={size:1,has:function(){return!0},keys:function(){var r=0;return{next:function(){var n=r++>1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(r).size})},{difference:t})}();var tf,nf,ef,of={};!function(){if(ef)return of;ef=1;var r=Fn(),t=p(),n=function(){if(nf)return tf;nf=1;var r=Gu(),t=Yu(),n=Zu(),e=Qu(),i=Xu(),o=qu(),u=t.Set,f=t.add,a=t.has;return tf=function(t){var c=r(this),s=e(t),h=new u;return n(c)>s.size?o(s.getIterator(),function(r){a(c,r)&&f(h,r)}):i(c,function(r){s.includes(r)&&f(h,r)}),h}}();r({target:"Set",proto:!0,real:!0,forced:!rf()("intersection",function(r){return 2===r.size&&r.has(1)&&r.has(2)})||t(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:n})}();var uf,ff,af,cf={};!function(){if(af)return cf;af=1;var r=Fn(),t=function(){if(ff)return uf;ff=1;var r=Gu(),t=Yu().has,n=Zu(),e=Qu(),i=Xu(),o=qu(),u=Gi();return uf=function(f){var a=r(this),c=e(f);if(n(a)<=c.size)return!1!==i(a,function(r){if(c.includes(r))return!1},!0);var s=c.getIterator();return!1!==o(s,function(r){if(t(a,r))return u(s,"normal",!1)})}}();r({target:"Set",proto:!0,real:!0,forced:!rf()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}();var sf,hf,vf,lf={};!function(){if(vf)return lf;vf=1;var r=Fn(),t=function(){if(hf)return sf;hf=1;var r=Gu(),t=Zu(),n=Xu(),e=Qu();return sf=function(i){var o=r(this),u=e(i);return!(t(o)>u.size)&&!1!==n(o,function(r){if(!u.includes(r))return!1},!0)}}();r({target:"Set",proto:!0,real:!0,forced:!rf()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}();var pf,df,yf,gf={};!function(){if(yf)return gf;yf=1;var r=Fn(),t=function(){if(df)return pf;df=1;var r=Gu(),t=Yu().has,n=Zu(),e=Qu(),i=qu(),o=Gi();return pf=function(u){var f=r(this),a=e(u);if(n(f)<a.size)return!1;var c=a.getIterator();return!1!==i(c,function(r){if(!t(f,r))return o(c,"normal",!1)})}}();r({target:"Set",proto:!0,real:!0,forced:!rf()("isSupersetOf",function(r){return!r})},{isSupersetOf:t})}();var wf,mf,bf,Sf,Of,Ef={};function Af(){return Sf?bf:(Sf=1,bf=function(r){try{var t=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},e=t[r](n);return 1===e.size&&4===e.values().next().value}catch(i){return!1}})}!function(){if(Of)return Ef;Of=1;var r=Fn(),t=function(){if(mf)return wf;mf=1;var r=Gu(),t=Yu(),n=Ku(),e=Qu(),i=qu(),o=t.add,u=t.has,f=t.remove;return wf=function(t){var a=r(this),c=e(t).getIterator(),s=n(a);return i(c,function(r){u(a,r)?f(s,r):o(s,r)}),s}}(),n=Af();r({target:"Set",proto:!0,real:!0,forced:!rf()("symmetricDifference")||!n("symmetricDifference")},{symmetricDifference:t})}();var xf,Tf,If,jf={};!function(){if(If)return jf;If=1;var r=Fn(),t=function(){if(Tf)return xf;Tf=1;var r=Gu(),t=Yu().add,n=Ku(),e=Qu(),i=qu();return xf=function(o){var u=r(this),f=e(o).getIterator(),a=n(u);return i(f,function(r){t(a,r)}),a}}(),n=Af();r({target:"Set",proto:!0,real:!0,forced:!rf()("union")||!n("union")},{union:t})}();var Rf,Pf,kf,Cf,Df,Ff,Uf,_f,Bf,Nf={};function Mf(){if(Pf)return Rf;Pf=1;var r=pr();return Rf=function(t){return r(t)||null===t}}function Lf(){if(Cf)return kf;Cf=1;var r=Mf(),t=String,n=TypeError;return kf=function(e){if(r(e))return e;throw new n("Can't set "+t(e)+" as a prototype")}}function zf(){if(_f)return Uf;_f=1;var r,t,n,e=Pe(),o=d(),u=i(),f=lr(),a=pr(),c=nt(),s=xo(),h=Or(),v=St(),l=Wt(),p=Re(),y=yr(),g=bi(),w=function(){if(Ff)return Df;Ff=1;var r=ke(),t=pr(),n=hr(),e=Lf();return Df=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=r(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(f){}return function(r,u){return n(r),e(u),t(r)?(o?i(r,u):r.__proto__=u,r):r}}():void 0)}(),m=it(),b=et(),S=zt(),O=S.enforce,E=S.get,A=u.Int8Array,x=A&&A.prototype,T=u.Uint8ClampedArray,I=T&&T.prototype,j=A&&g(A),R=x&&g(x),P=Object.prototype,k=u.TypeError,C=m("toStringTag"),D=b("TYPED_ARRAY_TAG"),F="TypedArrayConstructor",U=e&&!!w&&"Opera"!==s(u.opera),_=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},M=function(r){var t=g(r);if(a(t)){var n=E(t);return n&&c(n,F)?n[F]:M(t)}},L=function(r){if(!a(r))return!1;var t=s(r);return c(B,t)||c(N,t)};for(r in B)(n=(t=u[r])&&t.prototype)?O(n)[F]=t:U=!1;for(r in N)(n=(t=u[r])&&t.prototype)&&(O(n)[F]=t);if((!U||!f(j)||j===Function.prototype)&&(j=function(){throw new k("Incorrect invocation")},U))for(r in B)u[r]&&w(u[r],j);if((!U||!R||R===P)&&(R=j.prototype,U))for(r in B)u[r]&&w(u[r].prototype,R);if(U&&g(I)!==R&&w(I,R),o&&!c(R,C))for(r in _=!0,p(R,C,{configurable:!0,get:function(){return a(this)?this[D]:void 0}}),B)u[r]&&v(u[r],D,r);return Uf={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:_&&D,aTypedArray:function(r){if(L(r))return r;throw new k("Target is not a typed array")},aTypedArrayConstructor:function(r){if(f(r)&&(!w||y(j,r)))return r;throw new k(h(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,n,e){if(o){if(n)for(var i in B){var f=u[i];if(f&&c(f.prototype,r))try{delete f.prototype[r]}catch(a){try{f.prototype[r]=t}catch(s){}}}R[r]&&!n||l(R,r,n?t:U&&x[r]||t,e)}},exportTypedArrayStaticMethod:function(r,t,n){var e,i;if(o){if(w){if(n)for(e in B)if((i=u[e])&&c(i,r))try{delete i[r]}catch(f){}if(j[r]&&!n)return;try{return l(j,r,n?t:U&&j[r]||t)}catch(f){}}for(e in B)!(i=u[e])||i[r]&&!n||l(i,r,t)}},getTypedArrayConstructor:M,isView:function(r){if(!a(r))return!1;var t=s(r);return"DataView"===t||c(B,t)||c(N,t)},isTypedArray:L,TypedArray:j,TypedArrayPrototype:R}}!function(){if(Bf)return Nf;Bf=1;var r=Ln(),t=zf(),n=t.aTypedArray,e=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;e("toReversed",function(){return r(n(this),i(this))})}();var Jf,Wf={};!function(){if(Jf)return Wf;Jf=1;var r=zf(),t=fr(),n=Er(),e=ae(),i=r.aTypedArray,o=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,f=t(r.TypedArrayPrototype.sort);u("toSorted",function(r){void 0!==r&&n(r);var t=i(this),u=e(o(t),t);return f(u,r)})}();var Hf,$f,Vf,Yf,Gf,qf={};function Xf(){if($f)return Hf;$f=1;var r=xo();return Hf=function(t){var n=r(t);return"BigInt64Array"===n||"BigUint64Array"===n}}function Kf(){if(Yf)return Vf;Yf=1;var r=ot(),t=TypeError;return Vf=function(n){var e=r(n,"number");if("number"==typeof e)throw new t("Can't convert number to bigint");return BigInt(e)}}!function(){if(Gf)return qf;Gf=1;var r=ye(),t=zf(),n=Xf(),e=cn(),i=Kf(),o=t.aTypedArray,u=t.getTypedArrayConstructor,f=t.exportTypedArrayMethod,a=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(r){return 8===r}}(),c=a&&function(){try{new Int8Array(1).with(-.5,1)}catch(r){return!0}}();f("with",{with:function(t,f){var a=o(this),c=e(t),s=n(a)?i(f):+f;return r(a,u(a),c,s)}}.with,!a||c)}();var Zf,Qf,ra,ta={};!function(){if(ra)return ta;ra=1;var r=Fn(),t=function(){if(Qf)return Zf;Qf=1;var r=Oo(),t=fr(),n=cr(),e=tt(),i=ut(),o=vn(),u=re(),f=ae(),a=Array,c=t([].push);return Zf=function(t,s,h,v){for(var l,p,d,y=e(t),g=n(y),w=r(s,h),m=u(null),b=o(g),S=0;b>S;S++)d=g[S],(p=i(w(d,S,y)))in m?c(m[p],d):m[p]=[d];if(v&&(l=v(y))!==a)for(p in m)m[p]=f(l,m[p]);return m}}(),n=te();r({target:"Array",proto:!0},{group:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),n("group")}();var na,ea,ia={};function oa(){if(na)return ia;na=1;var r=Fn(),t=d(),n=i(),e=dr(),o=fr(),u=g(),f=lr(),a=pr(),c=Un(),s=nt(),h=pu(),v=vn(),l=Si(),y=p(),w=yu(),m=mr(),b=n.JSON,S=n.Number,O=n.SyntaxError,E=b&&b.parse,A=e("Object","keys"),x=Object.getOwnPropertyDescriptor,T=o("".charAt),I=o("".slice),j=o(/./.exec),R=o([].push),P=/^\d$/,k=/^[1-9]$/,C=/^[\d-]$/,D=/^[\t\n\r ]$/,F=function(r,t,n,e){var i,o,f,h,l,p=r[t],d=e&&p===e.value,y=d&&"string"==typeof e.source?{source:e.source}:{};if(a(p)){var g=c(p),w=d?e.nodes:g?[]:{};if(g)for(i=w.length,f=v(p),h=0;h<f;h++)U(p,h,F(p,""+h,n,h<i?w[h]:void 0));else for(o=A(p),f=v(o),h=0;h<f;h++)l=o[h],U(p,l,F(p,l,n,s(w,l)?w[l]:void 0))}return u(n,r,t,p,y)},U=function(r,n,e){if(t){var i=x(r,n);if(i&&!i.configurable)return}void 0===e?delete r[n]:l(r,n,e)},_=function(r,t,n,e){this.value=r,this.end=t,this.source=n,this.nodes=e},B=function(r,t){this.source=r,this.index=t};B.prototype={fork:function(r){return new B(this.source,r)},parse:function(){var r=this.source,t=this.skip(D,this.index),n=this.fork(t),e=T(r,t);if(j(C,e))return n.number();switch(e){case"{":return n.object();case"[":return n.array();case'"':return n.string();case"t":return n.keyword(!0);case"f":return n.keyword(!1);case"n":return n.keyword(null)}throw new O('Unexpected character: "'+e+'" at: '+t)},node:function(r,t,n,e,i){return new _(t,e,r?null:I(this.source,n,e),i)},object:function(){for(var r=this.source,t=this.index+1,n=!1,e={},i={};t<r.length;){if(t=this.until(['"',"}"],t),"}"===T(r,t)&&!n){t++;break}var o=this.fork(t).string(),u=o.value;t=o.end,t=this.until([":"],t)+1,t=this.skip(D,t),o=this.fork(t).parse(),l(i,u,o),l(e,u,o.value),t=this.until([",","}"],o.end);var f=T(r,t);if(","===f)n=!0,t++;else if("}"===f){t++;break}}return this.node(1,e,this.index,t,i)},array:function(){for(var r=this.source,t=this.index+1,n=!1,e=[],i=[];t<r.length;){if(t=this.skip(D,t),"]"===T(r,t)&&!n){t++;break}var o=this.fork(t).parse();if(R(i,o),R(e,o.value),t=this.until([",","]"],o.end),","===T(r,t))n=!0,t++;else if("]"===T(r,t)){t++;break}}return this.node(1,e,this.index,t,i)},string:function(){var r=this.index,t=w(this.source,this.index+1);return this.node(0,t.value,r,t.end)},number:function(){var r=this.source,t=this.index,n=t;if("-"===T(r,n)&&n++,"0"===T(r,n))n++;else{if(!j(k,T(r,n)))throw new O("Failed to parse number at: "+n);n=this.skip(P,n+1)}if(("."===T(r,n)&&(n=this.skip(P,n+1)),"e"===T(r,n)||"E"===T(r,n))&&(n++,"+"!==T(r,n)&&"-"!==T(r,n)||n++,n===(n=this.skip(P,n))))throw new O("Failed to parse number's exponent value at: "+n);return this.node(0,S(I(r,t,n)),t,n)},keyword:function(r){var t=""+r,n=this.index,e=n+t.length;if(I(this.source,n,e)!==t)throw new O("Failed to parse value at: "+n);return this.node(0,r,n,e)},skip:function(r,t){for(var n=this.source;t<n.length&&j(r,T(n,t));t++);return t},until:function(r,t){t=this.skip(D,t);for(var n=T(this.source,t),e=0;e<r.length;e++)if(r[e]===n)return t;throw new O('Unexpected character: "'+n+'" at: '+t)}};var N=y(function(){var r,t="9007199254740993";return E(t,function(t,n,e){r=e.source}),r!==t}),M=m&&!y(function(){return 1/E("-0 \t")!=-1/0});return r({target:"JSON",stat:!0,forced:N},{parse:function(r,t){return M&&!f(t)?E(r):function(r,t){r=h(r);var n=new B(r,0),e=n.parse(),i=e.value,o=n.skip(D,e.end);if(o<r.length)throw new O('Unexpected extra character: "'+T(r,o)+'" after the parsed data at: '+o);return f(t)?F({"":i},"",t,e):i}(r,t)}}),ia}ea||(ea=1,oa());var ua,fa,aa,ca,sa,ha,va,la,pa,da,ya,ga,wa,ma,ba={};function Sa(){if(fa)return ua;fa=1;var r=pr(),t=String,n=TypeError;return ua=function(e){if(void 0===e||r(e))return e;throw new n(t(e)+" is not an object or undefined")}}function Oa(){if(ca)return aa;ca=1;var r=TypeError;return aa=function(t){if("string"==typeof t)return t;throw new r("Argument is not a string")}}function Ea(){if(ha)return sa;ha=1;var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=r+"+/",n=r+"-_",e=function(r){for(var t={},n=0;n<64;n++)t[r.charAt(n)]=n;return t};return sa={i2c:t,c2i:e(t),i2cUrl:n,c2iUrl:e(n)}}function Aa(){if(la)return va;la=1;var r=TypeError;return va=function(t){var n=t&&t.alphabet;if(void 0===n||"base64"===n||"base64url"===n)return n||"base64";throw new r("Incorrect `alphabet` option")}}function xa(){if(ga)return ya;ga=1;var r=xo(),t=TypeError;return ya=function(n){if("Uint8Array"===r(n))return n;throw new t("Argument is not an Uint8Array")}}function Ta(){if(wa)return ba;wa=1;var r=Fn(),t=i(),n=function(){if(da)return pa;da=1;var r=i(),t=fr(),n=Sa(),e=Oa(),o=nt(),u=Ea(),f=Aa(),a=Qe(),c=u.c2i,s=u.c2iUrl,h=r.SyntaxError,v=r.TypeError,l=t("".charAt),p=function(r,t){for(var n=r.length;t<n;t++){var e=l(r,t);if(" "!==e&&"\t"!==e&&"\n"!==e&&"\f"!==e&&"\r"!==e)break}return t},d=function(r,t,n){var e=r.length;e<4&&(r+=2===e?"AA":"A");var i=(t[l(r,0)]<<18)+(t[l(r,1)]<<12)+(t[l(r,2)]<<6)+t[l(r,3)],o=[i>>16&255,i>>8&255,255&i];if(2===e){if(n&&0!==o[1])throw new h("Extra bits");return[o[0]]}if(3===e){if(n&&0!==o[2])throw new h("Extra bits");return[o[0],o[1]]}return o},y=function(r,t,n){for(var e=t.length,i=0;i<e;i++)r[n+i]=t[i];return n+e};return pa=function(r,t,i,u){e(r),n(t);var g="base64"===f(t)?c:s,w=t?t.lastChunkHandling:void 0;if(void 0===w&&(w="loose"),"loose"!==w&&"strict"!==w&&"stop-before-partial"!==w)throw new v("Incorrect `lastChunkHandling` option");i&&a(i.buffer);var m=r.length,b=i||[],S=0,O=0,E="",A=0;if(u)for(;;){if((A=p(r,A))===m){if(E.length>0){if("stop-before-partial"===w)break;if("loose"!==w)throw new h("Missing padding");if(1===E.length)throw new h("Malformed padding: exactly one additional character");S=y(b,d(E,g,!1),S)}O=m;break}var x=l(r,A);if(++A,"="===x){if(E.length<2)throw new h("Padding is too early");if(A=p(r,A),2===E.length){if(A===m){if("stop-before-partial"===w)break;throw new h("Malformed padding: only one =")}"="===l(r,A)&&(++A,A=p(r,A))}if(A<m)throw new h("Unexpected character after padding");S=y(b,d(E,g,"strict"===w),S),O=m;break}if(!o(g,x))throw new h("Unexpected character");var T=u-S;if(1===T&&2===E.length||2===T&&3===E.length)break;if(4===(E+=x).length&&(S=y(b,d(E,g,!1),S),E="",O=A,S===u))break}return{bytes:b,read:O,written:S}}}(),e=xa(),o=t.Uint8Array,u=!o||!o.prototype.setFromBase64||!function(){var r=new o([255,255,255,255,255]);try{return void r.setFromBase64("",null)}catch(t){}try{return void r.setFromBase64("a")}catch(t){}try{r.setFromBase64("MjYyZg===")}catch(t){return 50===r[0]&&54===r[1]&&50===r[2]&&255===r[3]&&255===r[4]}}();return o&&r({target:"Uint8Array",proto:!0,forced:u},{setFromBase64:function(r){e(this);var t=n(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}}),ba}ma||(ma=1,Ta());var Ia,ja,Ra,Pa,ka={};function Ca(){if(Ra)return ka;Ra=1;var r=Fn(),t=i(),n=Oa(),e=xa(),o=Qe(),u=function(){if(ja)return Ia;ja=1;var r=i(),t=fr(),n=r.Uint8Array,e=r.SyntaxError,o=r.parseInt,u=Math.min,f=/[^\da-f]/i,a=t(f.exec),c=t("".slice);return Ia=function(r,t){var i=r.length;if(i%2!=0)throw new e("String should be an even number of characters");for(var s=t?u(t.length,i/2):i/2,h=t||new n(s),v=0,l=0;l<s;){var p=c(r,v,v+=2);if(a(f,p))throw new e("String should only contain hex characters");h[l++]=o(p,16)}return{bytes:h,read:v}}}();return t.Uint8Array&&r({target:"Uint8Array",proto:!0},{setFromHex:function(r){e(this),n(r),o(this.buffer);var t=u(r,this).read;return{read:t,written:t/2}}}),ka}Pa||(Pa=1,Ca());var Da,Fa,Ua={};Fa||(Fa=1,function(){if(Da)return Ua;Da=1;var r=Fn(),t=i(),n=fr(),e=Sa(),o=xa(),u=Qe(),f=Ea(),a=Aa(),c=f.i2c,s=f.i2cUrl,h=n("".charAt),v=t.Uint8Array,l=!v||!v.prototype.toBase64||!function(){try{(new v).toBase64(null)}catch(r){return!0}}();v&&r({target:"Uint8Array",proto:!0,forced:l},{toBase64:function(){var r=o(this),t=arguments.length?e(arguments[0]):void 0,n="base64"===a(t)?c:s,i=!!t&&!!t.omitPadding;u(this.buffer);for(var f,v="",l=0,p=r.length,d=function(r){return h(n,f>>6*r&63)};l+2<p;l+=3)f=(r[l]<<16)+(r[l+1]<<8)+r[l+2],v+=d(3)+d(2)+d(1)+d(0);return l+2===p?(f=(r[l]<<16)+(r[l+1]<<8),v+=d(3)+d(2)+d(1)+(i?"":"=")):l+1===p&&(f=r[l]<<16,v+=d(3)+d(2)+(i?"":"==")),v}})}());var _a,Ba,Na={};Ba||(Ba=1,function(){if(_a)return Na;_a=1;var r=Fn(),t=i(),n=fr(),e=xa(),o=Qe(),u=n(1.1.toString),f=t.Uint8Array,a=!f||!f.prototype.toHex||!function(){try{return"ffffffffffffffff"===new f([255,255,255,255,255,255,255,255]).toHex()}catch(r){return!1}}();f&&r({target:"Uint8Array",proto:!0,forced:a},{toHex:function(){e(this),o(this.buffer);for(var r="",t=0,n=this.length;t<n;t++){var i=u(this[t],16);r+=1===i.length?"0"+i:i}return r}})}());var Ma,La,za,Ja={};function Wa(){if(La)return Ma;La=1;var r=TypeError;return Ma=function(t,n){if(t<n)throw new r("Not enough arguments");return t}}!function(){if(za)return Ja;za=1;var r=Wt(),t=fr(),n=pu(),e=Wa(),i=URLSearchParams,o=i.prototype,u=t(o.append),f=t(o.delete),a=t(o.forEach),c=t([].push),s=new i("a=1&a=2&b=3");s.delete("a",1),s.delete("b",void 0),s+""!="a=2"&&r(o,"delete",function(r){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&void 0===i)return f(this,r);var o=[];a(this,function(r,t){c(o,{key:t,value:r})}),e(t,1);for(var s,h=n(r),v=n(i),l=0,p=0,d=!1,y=o.length;l<y;)s=o[l++],d||s.key===h?(d=!0,f(this,s.key)):p++;for(;p<y;)(s=o[p++]).key===h&&s.value===v||u(this,s.key,s.value)},{enumerable:!0,unsafe:!0})}();var Ha,$a={};!function(){if(Ha)return $a;Ha=1;var r=Wt(),t=fr(),n=pu(),e=Wa(),i=URLSearchParams,o=i.prototype,u=t(o.getAll),f=t(o.has),a=new i("a=1");!a.has("a",2)&&a.has("a",void 0)||r(o,"has",function(r){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&void 0===i)return f(this,r);var o=u(this,r);e(t,1);for(var a=n(i),c=0;c<o.length;)if(o[c++]===a)return!0;return!1},{enumerable:!0,unsafe:!0})}();var Va,Ya={};!function(){if(Va)return Ya;Va=1;var r=d(),t=fr(),n=Re(),e=URLSearchParams.prototype,i=t(e.forEach);r&&!("size"in e)&&n(e,"size",{get:function(){var r=0;return i(this,function(){r++}),r},configurable:!0,enumerable:!0})}();var Ga;
/*!
* SJS 6.15.1
*/Ga||(Ga=1,function(){function r(r,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+r+")"}function t(r,t){if(-1!==r.indexOf("\\")&&(r=r.replace(A,"/")),"/"===r[0]&&"/"===r[1])return t.slice(0,t.indexOf(":")+1)+r;if("."===r[0]&&("/"===r[1]||"."===r[1]&&("/"===r[2]||2===r.length&&(r+="/"))||1===r.length&&(r+="/"))||"/"===r[0]){var n,e=t.slice(0,t.indexOf(":")+1);if(n="/"===t[e.length+1]?"file:"!==e?(n=t.slice(e.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(e.length+("/"===t[e.length])),"/"===r[0])return t.slice(0,t.length-n.length-1)+r;for(var i=n.slice(0,n.lastIndexOf("/")+1)+r,o=[],u=-1,f=0;f<i.length;f++)-1!==u?"/"===i[f]&&(o.push(i.slice(u,f+1)),u=-1):"."===i[f]?"."!==i[f+1]||"/"!==i[f+2]&&f+2!==i.length?"/"===i[f+1]||f+1===i.length?f+=1:u=f:(o.pop(),f+=2):u=f;return-1!==u&&o.push(i.slice(u)),t.slice(0,t.length-n.length)+o.join("")}}function e(r,n){return t(r,n)||(-1!==r.indexOf(":")?r:t("./"+r,n))}function i(r,n,e,i,o){for(var u in r){var f=t(u,e)||u,s=r[u];if("string"==typeof s){var h=c(i,t(s,e)||s,o);h?n[f]=h:a("W1",u,s)}}}function o(r,t,n){var o;for(o in r.imports&&i(r.imports,n.imports,t,n,null),r.scopes||{}){var u=e(o,t);i(r.scopes[o],n.scopes[u]||(n.scopes[u]={}),t,n,u)}for(o in r.depcache||{})n.depcache[e(o,t)]=r.depcache[o];for(o in r.integrity||{})n.integrity[e(o,t)]=r.integrity[o]}function u(r,t){if(t[r])return r;var n=r.length;do{var e=r.slice(0,n+1);if(e in t)return e}while(-1!==(n=r.lastIndexOf("/",n-1)))}function f(r,t){var n=u(r,t);if(n){var e=t[n];if(null===e)return;if(!(r.length>n.length&&"/"!==e[e.length-1]))return e+r.slice(n.length);a("W2",n,e)}}function a(t,n,e){console.warn(r(t,[e,n].join(", ")))}function c(r,t,n){for(var e=r.scopes,i=n&&u(n,e);i;){var o=f(t,e[i]);if(o)return o;i=u(i.slice(0,i.lastIndexOf("/")),e)}return f(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[T]={}}function h(t,n,e,i){var o=t[T][n];if(o)return o;var u=[],f=Object.create(null);x&&Object.defineProperty(f,x,{value:"Module"});var a=Promise.resolve().then(function(){return t.instantiate(n,e,i)}).then(function(e){if(!e)throw Error(r(2,n));var i=e[1](function(r,t){o.h=!0;var n=!1;if("string"==typeof r)r in f&&f[r]===t||(f[r]=t,n=!0);else{for(var e in r)t=r[e],e in f&&f[e]===t||(f[e]=t,n=!0);r&&r.__esModule&&(f.__esModule=r.__esModule)}if(n)for(var i=0;i<u.length;i++){var a=u[i];a&&a(f)}return t},2===e[1].length?{import:function(r,e){return t.import(r,n,e)},meta:t.createContext(n)}:void 0);return o.e=i.execute||function(){},[e[0],i.setters||[],e[2]||[]]},function(r){throw o.e=null,o.er=r,r}),c=a.then(function(r){return Promise.all(r[0].map(function(e,i){var o=r[1][i],u=r[2][i];return Promise.resolve(t.resolve(e,n)).then(function(r){var e=h(t,r,n,u);return Promise.resolve(e.I).then(function(){return o&&(e.i.push(o),!e.h&&e.I||o(e.n)),e})})})).then(function(r){o.d=r})});return o=t[T][n]={id:n,i:u,n:f,m:i,I:a,L:c,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function v(r,t,n,e){if(!e[t.id])return e[t.id]=!0,Promise.resolve(t.L).then(function(){return t.p&&null!==t.p.e||(t.p=n),Promise.all(t.d.map(function(t){return v(r,t,n,e)}))}).catch(function(r){if(t.er)throw r;throw t.e=null,r})}function l(r,t){return t.C=v(r,t,t,{}).then(function(){return p(r,t,{})}).then(function(){return t.n})}function p(r,t,n){function e(){try{var r=o.call(j);if(r)return r=r.then(function(){t.C=t.n,t.E=null},function(r){throw t.er=r,t.E=null,r}),t.E=r;t.C=t.n,t.L=t.I=void 0}catch(n){throw t.er=n,n}}if(!n[t.id]){if(n[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var i,o=t.e;return t.e=null,t.d.forEach(function(e){try{var o=p(r,e,n);o&&(i=i||[]).push(o)}catch(f){throw t.er=f,f}}),i?Promise.all(i).then(e):e()}}function d(){[].forEach.call(document.querySelectorAll("script"),function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):e(t.src,y)).catch(function(r){if(r.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var n=document.createEvent("Event");n.initEvent("error",!1,!1),t.dispatchEvent(n)}return Promise.reject(r)})}else if("systemjs-importmap"===t.type){t.sp=!0;var n=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,priority:t.fetchPriority,passThrough:!0}).then(function(r){if(!r.ok)throw Error(r.status);return r.text()}).catch(function(n){return n.message=r("W4",t.src)+"\n"+n.message,console.warn(n),"function"==typeof t.onerror&&t.onerror(),"{}"}):t.innerHTML;k=k.then(function(){return n}).then(function(n){!function(t,n,e){var i={};try{i=JSON.parse(n)}catch(f){console.warn(Error(r("W5")))}o(i,e,t)}(C,n,t.src||y)})}})}var y,g="undefined"!=typeof Symbol,w="undefined"!=typeof self,m="undefined"!=typeof document,b=w?self:n;if(m){var S=document.querySelector("base[href]");S&&(y=S.href)}if(!y&&"undefined"!=typeof location){var O=(y=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==O&&(y=y.slice(0,O+1))}var E,A=/\\/g,x=g&&Symbol.toStringTag,T=g?Symbol():"@",I=s.prototype;I.import=function(r,t,n){var e=this;return t&&"object"==typeof t&&(n=t,t=void 0),Promise.resolve(e.prepareImport()).then(function(){return e.resolve(r,t,n)}).then(function(r){var t=h(e,r,void 0,n);return t.C||l(e,t)})},I.createContext=function(r){var t=this;return{url:r,resolve:function(n,e){return Promise.resolve(t.resolve(n,e||r))}}},I.register=function(r,t,n){E=[r,t,n]},I.getRegister=function(){var r=E;return E=void 0,r};var j=Object.freeze(Object.create(null));b.System=new s;var R,P,k=Promise.resolve(),C={imports:{},scopes:{},depcache:{},integrity:{}},D=m;if(I.prepareImport=function(r){return(D||r)&&(d(),D=!1),k},I.getImportMap=function(){return JSON.parse(JSON.stringify(C))},m&&(d(),window.addEventListener("DOMContentLoaded",d)),I.addImportMap=function(r,t){o(r,t||y,C)},m){window.addEventListener("error",function(r){U=r.filename,_=r.error});var F=location.origin}I.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(F+"/")&&(t.crossOrigin="anonymous");var n=C.integrity[r];return n&&(t.integrity=n),t.src=r,t};var U,_,B={},N=I.register;I.register=function(r,t){if(m&&"loading"===document.readyState&&"string"!=typeof r){var n=document.querySelectorAll("script[src]"),e=n[n.length-1];if(e){R=r;var i=this;P=setTimeout(function(){B[e.src]=[r,t],i.import(e.src)})}}else R=void 0;return N.call(this,r,t)},I.instantiate=function(t,n){var e=B[t];if(e)return delete B[t],e;var i=this;return Promise.resolve(I.createScript(t)).then(function(e){return new Promise(function(o,u){e.addEventListener("error",function(){u(Error(r(3,[t,n].join(", "))))}),e.addEventListener("load",function(){if(document.head.removeChild(e),U===t)u(_);else{var r=i.getRegister(t);r&&r[0]===R&&clearTimeout(P),o(r)}}),document.head.appendChild(e)})})},I.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(I.fetch=fetch);var M=I.instantiate,L=/^(text|application)\/(x-)?javascript(;|$)/;I.instantiate=function(t,n,e){var i=this;return this.shouldFetch(t,n,e)?this.fetch(t,{credentials:"same-origin",integrity:C.integrity[t],meta:e}).then(function(e){if(!e.ok)throw Error(r(7,[e.status,e.statusText,t,n].join(", ")));var o=e.headers.get("content-type");if(!o||!L.test(o))throw Error(r(4,o));return e.text().then(function(r){return r.indexOf("//# sourceURL=")<0&&(r+="\n//# sourceURL="+t),(0,eval)(r),i.getRegister(t)})}):M.apply(this,arguments)},I.resolve=function(n,e){return c(C,t(n,e=e||y)||n,e)||function(t,n){throw Error(r(8,[t,n].join(", ")))}(n,e)};var z=I.instantiate;I.instantiate=function(r,t,n){var e=C.depcache[r];if(e)for(var i=0;i<e.length;i++)h(this,this.resolve(e[i],r),r);return z.call(this,r,t,n)},w&&"function"==typeof importScripts&&(I.instantiate=function(r){var t=this;return Promise.resolve().then(function(){return importScripts(r),t.getRegister(r)})})}())}();
//# sourceMappingURL=polyfills-legacy-DHdoEgRI.js.map