tmagic-editor/playground/assets/polyfills-legacy-B29DzMIE.js
2025-09-16 11:54:19 +00:00

6 lines
61 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,E,S,O,A,x,T,I,j,R,P,k,C,U,_,D,B,M,F,L,N,z,W,H,V,Y,$,G,q,J,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(S)return E;S=1;var r=y(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return E=r?e:function(r){return function(){return n.apply(r,arguments)}},E}function ar(){if(A)return O;A=1;var r=fr(),t=r({}.toString),n=r("".slice);return O=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(_)return U;_=1;var r="object"==typeof document&&document.all;return U=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function pr(){if(B)return D;B=1;var r=lr();return D=function(t){return"object"==typeof t?null!==t:r(t)}}function dr(){if(F)return M;F=1;var r=i(),t=lr();return M=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},M}function yr(){if(N)return L;N=1;var r=fr();return L=r({}.isPrototypeOf)}function gr(){if(W)return z;W=1;var r=i().navigator,t=r&&r.userAgent;return z=t?String(t):""}function wr(){if(V)return H;V=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]),H=t}function mr(){if($)return Y;$=1;var r=wr(),t=p(),n=i().String;return Y=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function br(){if(q)return G;q=1;var r=mr();return G=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Er(){if(X)return J;X=1;var r=dr(),t=lr(),n=yr(),e=br(),i=Object;return J=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function Sr(){if(Z)return K;Z=1;var r=String;return K=function(t){try{return r(t)}catch(n){return"Object"}}}function Or(){if(rr)return Q;rr=1;var r=lr(),t=Sr(),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=Or(),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,Ur,_r,Dr,Br,Mr,Fr,Lr,Nr,zr,Wr,Hr,Vr,Yr,$r,Gr,qr,Jr,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.45.1",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/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(_r)return Ur;_r=1;var r=hr(),t=Object;return Ur=function(n){return t(r(n))}}function nt(){if(Br)return Dr;Br=1;var r=fr(),t=tt(),n=r({}.hasOwnProperty);return Dr=Object.hasOwn||function(r,e){return n(t(r),e)}}function et(){if(Fr)return Mr;Fr=1;var r=fr(),t=0,n=Math.random(),e=r(1.1.toString);return Mr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function it(){if(Nr)return Lr;Nr=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 Lr=function(r){return n(a,r)||(a[r]=o&&n(f,r)?f[r]:c("Symbol."+r)),a[r]}}function ot(){if(Wr)return zr;Wr=1;var r=g(),t=pr(),n=Er(),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(Vr)return Hr;Vr=1;var r=ot(),t=Er();return Hr=function(n){var e=r(n,"string");return t(e)?e:e+""}}function ft(){if($r)return Yr;$r=1;var r=i(),t=pr(),n=r.document,e=t(n)&&t(n.createElement);return Yr=function(r){return e?n.createElement(r):{}}}function at(){if(qr)return Gr;qr=1;var r=d(),t=p(),n=ft();return Gr=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function ct(){if(Jr)return l;Jr=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 Et(){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 St,Ot,At,xt,Tt,It,jt,Rt,Pt,kt,Ct,Ut,_t,Dt,Bt,Mt={exports:{}};function Ft(){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 Lt(){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 Nt(){return kt?Pt:(kt=1,Pt={})}function zt(){if(Ut)return Ct;Ut=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=Et(),a=nt(),c=Qr(),s=Lt(),h=Nt(),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 Wt(){if(_t)return Mt.exports;_t=1;var r=fr(),t=p(),n=lr(),e=nt(),i=d(),o=function(){if(Ot)return St;Ot=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 St={EXISTS:i,PROPER:o,CONFIGURABLE:u}}().CONFIGURABLE,u=Ft(),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=Mt.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"),Mt.exports}function Ht(){if(Bt)return Dt;Bt=1;var r=lr(),t=bt(),n=Wt(),e=Zr();return Dt=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 Vt,Yt,$t,Gt,qt,Jt,Xt,Kt,Zt,Qt,rn,tn,nn,en,on,un,fn,an={};function cn(){if(Gt)return $t;Gt=1;var r=function(){if(Yt)return Vt;Yt=1;var r=Math.ceil,t=Math.floor;return Vt=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return $t=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function sn(){if(Jt)return qt;Jt=1;var r=cn(),t=Math.max,n=Math.min;return qt=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=Nt(),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,En,Sn,On,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 Un(){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 _n(){if(On)return Sn;On=1;var r=i(),t=ct().f,n=Et(),e=Ht(),o=Zr(),u=Un(),f=function(){if(En)return bn;En=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 Sn=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 Dn(){if(xn)return An;xn=1;var r=ar();return An=Array.isArray||function(t){return"Array"===r(t)}}function Bn(){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=_n(),t=tt(),n=vn(),i=function(){if(In)return Tn;In=1;var r=d(),t=Dn(),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=Bn();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 Mn,Fn,Ln={};function Nn(){if(Fn)return Mn;Fn=1;var r=vn();return Mn=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,Wn,Hn,Vn,Yn,$n,Gn,qn,Jn,Xn,Kn={};function Zn(){if(Wn)return zn;Wn=1;var r=ln(),t=pn();return zn=Object.keys||function(n){return r(n,t)}}function Qn(){if(Yn)return Vn;Yn=1;var r=dr();return Vn=r("document","documentElement")}function re(){if(Gn)return $n;Gn=1;var r,t=mt(),n=function(){if(Hn)return Kn;Hn=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=Nt(),o=Qn(),u=ft(),f=Lt(),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,$n=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(Jn)return qn;Jn=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)}),qn=function(r){i[e][r]=!0}}!function(){if(Xn)return Ln;Xn=1;var r=_n(),t=Nn(),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=_n(),t=fr(),n=Or(),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=_n(),t=te(),n=Bn(),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=_n(),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,Ee,Se,Oe,Ae,xe,Te,Ie,je={};function Re(){if(we)return ge;we=1;var r=Wt(),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(Se)return Ee;Se=1;var r=fr(),t=Or();return Ee=function(n,e,i){try{return r(t(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(o){}}}function Ce(){if(Ae)return Oe;Ae=1;var r=i(),t=ke(),n=ar(),e=r.ArrayBuffer,o=r.TypeError;return Oe=e&&t(e.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==n(r))throw new o("ArrayBuffer expected");return r.byteLength}}function Ue(){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=Ue(),e=ArrayBuffer.prototype;r&&!("detached"in e)&&t(e,"detached",{configurable:!0,get:function(){return n(this)}})}();var _e,De,Be,Me,Fe,Le,Ne,ze,We,He,Ve,Ye,$e,Ge,qe,Je,Xe,Ke={};function Ze(){if(De)return _e;De=1;var r=cn(),t=hn(),n=RangeError;return _e=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(Me)return Be;Me=1;var r=Ue(),t=TypeError;return Be=function(n){if(r(n))throw new t("ArrayBuffer is detached");return n}}function ri(){if(Le)return Fe;Le=1;var r=i(),t=gr(),n=ar(),e=function(r){return t.slice(0,r.length)===r};return Fe=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(He)return We;He=1;var r=i(),t=function(){if(ze)return Ne;ze=1;var r=ri();return Ne="NODE"===r}();return We=function(n){if(t){try{return r.process.getBuiltinModule(n)}catch(e){}try{return Function('return require("'+n+'")')()}catch(e){}}}}function ni(){if(Ye)return Ve;Ye=1;var r=i(),t=p(),n=wr(),e=ri(),o=r.structuredClone;return Ve=!!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(Ge)return $e;Ge=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 $e=h}function ii(){if(Je)return qe;Je=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 qe=(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 E=n&&!b&&g?{maxByteLength:g(r)}:void 0;i=new s(p,E);for(var S=new h(r),O=new h(i),A=v(p,l),x=0;x<A;x++)m(O,x,w(S,x))}return a||f(r),i}}!function(){if(Xe)return Ke;Xe=1;var r=_n(),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=_n(),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=Lt(),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 Ei(){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 Si(){if(yi)return di;yi=1;var r,t,n,e=p(),i=lr(),o=pr(),u=re(),f=bi(),a=Ht(),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=_n(),t=i(),n=mi(),e=mt(),o=lr(),u=bi(),f=Re(),a=Ei(),c=p(),s=nt(),h=it(),v=Si().IteratorPrototype,l=d(),y=Kr(),g="constructor",w="Iterator",m=h("toStringTag"),b=TypeError,E=t[w],S=y||!o(E)||E.prototype!==v||!c(function(){E({})}),O=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),!S&&s(v,g)&&v[g]!==Object||A(g,O),O.prototype=v,r({global:!0,constructor:!0,forced:S},{Iterator:O})}();var Oi,Ai,xi,Ti,Ii,ji,Ri,Pi,ki,Ci,Ui,_i,Di,Bi,Mi,Fi,Li,Ni,zi,Wi,Hi,Vi={};function Yi(){return Ai?Oi:(Ai=1,Oi=function(r){return{iterator:r,next:r.next,done:!1}})}function $i(){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 Gi(){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 qi(){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 Ji(){if(Ci)return ki;Ci=1;var r=Ht();return ki=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}function Xi(){return _i?Ui:(_i=1,Ui=function(r,t){return{value:r,done:t}})}function Ki(){if(Bi)return Di;Bi=1;var r=qi();return Di=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(Fi)return Mi;Fi=1;var r=g(),t=re(),n=Et(),e=Ji(),i=it(),o=zt(),u=Ar(),f=Si().IteratorPrototype,a=Xi(),c=qi(),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"),Mi=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 Ni?Li:(Ni=1,Li=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(Wi)return zi;Wi=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(Hi)return Vi;Hi=1;var r=_n(),t=g(),n=mt(),e=Yi(),i=$i(),o=Gi(),u=qi(),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,Eo={};function So(){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=Or(),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 Oo(){return uo?oo:(uo=1,oo={})}function Ao(){if(ao)return fo;ao=1;var r=it(),t=Oo(),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=Oo(),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=Or(),n=mt(),e=Sr(),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=So(),t=g(),n=mt(),e=Sr(),i=Ao(),o=vn(),u=yr(),f=Io(),a=To(),c=qi(),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,E,S,O=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,O),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(E=x?l.next:y.next;!(S=t(E,y)).done;){try{b=P(S.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 Eo;bo=1;var r=_n(),t=g(),n=jo(),e=Or(),i=mt(),o=Yi(),u=qi(),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 Uo(){if(Po)return Ro;Po=1;var r=mt(),t=qi();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=_n(),t=g(),n=Or(),e=mt(),i=Yi(),o=Zi(),u=Uo(),f=Kr(),a=qi(),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 _o,Do={};!function(){if(_o)return Do;_o=1;var r=_n(),t=g(),n=jo(),e=Or(),i=mt(),o=Yi(),u=qi(),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 Bo,Mo,Fo,Lo={};function No(){if(Mo)return Bo;Mo=1;var r=g(),t=mt(),n=Yi(),e=To();return Bo=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(Fo)return Lo;Fo=1;var r=_n(),t=g(),n=Or(),e=mt(),i=Yi(),o=No(),u=Zi(),f=qi(),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,Wo={};!function(){if(zo)return Wo;zo=1;var r=_n(),t=g(),n=jo(),e=Or(),i=mt(),o=Yi(),u=qi(),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 Ho,Vo={};!function(){if(Ho)return Vo;Ho=1;var r=_n(),t=g(),n=Or(),e=mt(),i=Yi(),o=Zi(),u=Uo(),f=qi(),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 Yo,$o,Go,qo={};!function(){if(Go)return qo;Go=1;var r=_n(),t=jo(),n=Or(),e=mt(),i=Yi(),o=qi(),u=ro(),f=function(){if($o)return Yo;$o=1;var r=y(),t=Function.prototype,n=t.apply,e=t.call;return Yo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),Yo}(),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 Jo,Xo={};!function(){if(Jo)return Xo;Jo=1;var r=_n(),t=g(),n=jo(),e=Or(),i=mt(),o=Yi(),u=qi(),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 Ko,Zo={};!function(){if(Ko)return Zo;Ko=1;var r=_n(),t=g(),n=mt(),e=Yi(),i=$i(),o=Gi(),u=Zi(),f=qi(),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 Qo,ru={};!function(){if(Qo)return ru;Qo=1;var r=_n(),t=mt(),n=jo(),e=Yi(),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 tu,nu,eu={},iu={};!function(){if(nu)return eu;nu=1;var r=_n(),t=function(){if(tu)return iu;tu=1;var r=Or(),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 iu.f=function(r){return new n(r)},iu}();r({target:"Promise",stat:!0},{withResolvers:function(){var r=t.f(this);return{promise:r.promise,resolve:r.resolve,reject:r.reject}}})}();var ou,uu,fu,au,cu,su={};!function(){if(cu)return su;cu=1;var r=d(),t=Re(),n=function(){if(uu)return ou;uu=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 ou={correct:e}}(),e=function(){if(au)return fu;au=1;var r=mt();return fu=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 hu,vu,lu,pu,du,yu,gu,wu,mu,bu,Eu,Su,Ou,Au,xu,Tu,Iu,ju,Ru,Pu={};function ku(){if(vu)return hu;vu=1;var r=fr(),t=Set.prototype;return hu={Set:Set,add:r(t.add),has:r(t.has),remove:r(t.delete),proto:t}}function Cu(){if(pu)return lu;pu=1;var r=ku().has;return lu=function(t){return r(t),t}}function Uu(){if(yu)return du;yu=1;var r=g();return du=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 _u(){if(wu)return gu;wu=1;var r=fr(),t=Uu(),n=ku(),e=n.Set,i=n.proto,o=r(i.forEach),u=r(i.keys),f=u(new e).next;return gu=function(r,n,e){return e?t({iterator:u(r),next:f},n):o(r,n)}}function Du(){if(bu)return mu;bu=1;var r=ku(),t=_u(),n=r.Set,e=r.add;return mu=function(r){var i=new n;return t(r,function(r){e(i,r)}),i}}function Bu(){if(Su)return Eu;Su=1;var r=ke(),t=ku();return Eu=r(t.proto,"size","get")||function(r){return r.size}}function Mu(){if(Au)return Ou;Au=1;var r=Or(),t=mt(),n=g(),e=cn(),i=Yi(),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)}},Ou=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 Fu(){if(ju)return Iu;ju=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 Iu=function(e,i){var o=r("Set");try{(new o)[e](t(0));try{return(new o)[e](t(-1)),!1}catch(f){if(!i)return!0;try{return(new o)[e](n(-1/0)),!1}catch(a){var u=new o;return u.add(1),u.add(2),i(u[e](n(1/0)))}}}catch(a){return!1}}}!function(){if(Ru)return Pu;Ru=1;var r=_n(),t=function(){if(Tu)return xu;Tu=1;var r=Cu(),t=ku(),n=Du(),e=Bu(),i=Mu(),o=_u(),u=Uu(),f=t.has,a=t.remove;return xu=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:!Fu()("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 Lu,Nu,zu,Wu={};!function(){if(zu)return Wu;zu=1;var r=_n(),t=p(),n=function(){if(Nu)return Lu;Nu=1;var r=Cu(),t=ku(),n=Bu(),e=Mu(),i=_u(),o=Uu(),u=t.Set,f=t.add,a=t.has;return Lu=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:!Fu()("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 Hu,Vu,Yu,$u={};!function(){if(Yu)return $u;Yu=1;var r=_n(),t=function(){if(Vu)return Hu;Vu=1;var r=Cu(),t=ku().has,n=Bu(),e=Mu(),i=_u(),o=Uu(),u=qi();return Hu=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:!Fu()("isDisjointFrom",function(r){return!r})},{isDisjointFrom:t})}();var Gu,qu,Ju,Xu={};!function(){if(Ju)return Xu;Ju=1;var r=_n(),t=function(){if(qu)return Gu;qu=1;var r=Cu(),t=Bu(),n=_u(),e=Mu();return Gu=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:!Fu()("isSubsetOf",function(r){return r})},{isSubsetOf:t})}();var Ku,Zu,Qu,rf={};!function(){if(Qu)return rf;Qu=1;var r=_n(),t=function(){if(Zu)return Ku;Zu=1;var r=Cu(),t=ku().has,n=Bu(),e=Mu(),i=Uu(),o=qi();return Ku=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:!Fu()("isSupersetOf",function(r){return!r})},{isSupersetOf:t})}();var tf,nf,ef,of,uf,ff={};function af(){return of?ef:(of=1,ef=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(uf)return ff;uf=1;var r=_n(),t=function(){if(nf)return tf;nf=1;var r=Cu(),t=ku(),n=Du(),e=Mu(),i=Uu(),o=t.add,u=t.has,f=t.remove;return tf=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:!Fu()("symmetricDifference")||!n("symmetricDifference")},{symmetricDifference:t})}();var cf,sf,hf,vf={};!function(){if(hf)return vf;hf=1;var r=_n(),t=function(){if(sf)return cf;sf=1;var r=Cu(),t=ku().add,n=Du(),e=Mu(),i=Uu();return cf=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:!Fu()("union")||!n("union")},{union:t})}();var lf,pf,df,yf,gf,wf,mf,bf,Ef,Sf={};function Of(){if(pf)return lf;pf=1;var r=pr();return lf=function(t){return r(t)||null===t}}function Af(){if(yf)return df;yf=1;var r=Of(),t=String,n=TypeError;return df=function(e){if(r(e))return e;throw new n("Can't set "+t(e)+" as a prototype")}}function xf(){if(bf)return mf;bf=1;var r,t,n,e=Pe(),o=d(),u=i(),f=lr(),a=pr(),c=nt(),s=xo(),h=Sr(),v=Et(),l=Ht(),p=Re(),y=yr(),g=bi(),w=function(){if(wf)return gf;wf=1;var r=ke(),t=pr(),n=hr(),e=Af();return gf=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(),E=zt(),S=E.enforce,O=E.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"),U=b("TYPED_ARRAY_TAG"),_="TypedArrayConstructor",D=e&&!!w&&"Opera"!==s(u.opera),B=!1,M={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},L=function(r){var t=g(r);if(a(t)){var n=O(t);return n&&c(n,_)?n[_]:L(t)}},N=function(r){if(!a(r))return!1;var t=s(r);return c(M,t)||c(F,t)};for(r in M)(n=(t=u[r])&&t.prototype)?S(n)[_]=t:D=!1;for(r in F)(n=(t=u[r])&&t.prototype)&&(S(n)[_]=t);if((!D||!f(j)||j===Function.prototype)&&(j=function(){throw new k("Incorrect invocation")},D))for(r in M)u[r]&&w(u[r],j);if((!D||!R||R===P)&&(R=j.prototype,D))for(r in M)u[r]&&w(u[r].prototype,R);if(D&&g(I)!==R&&w(I,R),o&&!c(R,C))for(r in B=!0,p(R,C,{configurable:!0,get:function(){return a(this)?this[U]:void 0}}),M)u[r]&&v(u[r],U,r);return mf={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:B&&U,aTypedArray:function(r){if(N(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 M){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:D&&x[r]||t,e)}},exportTypedArrayStaticMethod:function(r,t,n){var e,i;if(o){if(w){if(n)for(e in M)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:D&&j[r]||t)}catch(f){}}for(e in M)!(i=u[e])||i[r]&&!n||l(i,r,t)}},getTypedArrayConstructor:L,isView:function(r){if(!a(r))return!1;var t=s(r);return"DataView"===t||c(M,t)||c(F,t)},isTypedArray:N,TypedArray:j,TypedArrayPrototype:R}}!function(){if(Ef)return Sf;Ef=1;var r=Nn(),t=xf(),n=t.aTypedArray,e=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;e("toReversed",function(){return r(n(this),i(this))})}();var Tf,If={};!function(){if(Tf)return If;Tf=1;var r=xf(),t=fr(),n=Or(),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 jf,Rf,Pf,kf,Cf,Uf={};function _f(){if(Rf)return jf;Rf=1;var r=xo();return jf=function(t){var n=r(t);return"BigInt64Array"===n||"BigUint64Array"===n}}function Df(){if(kf)return Pf;kf=1;var r=ot(),t=TypeError;return Pf=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(Cf)return Uf;Cf=1;var r=ye(),t=xf(),n=_f(),e=cn(),i=Df(),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 Bf,Mf,Ff,Lf={};!function(){if(Ff)return Lf;Ff=1;var r=_n(),t=function(){if(Mf)return Bf;Mf=1;var r=So(),t=fr(),n=cr(),e=tt(),i=ut(),o=vn(),u=re(),f=ae(),a=Array,c=t([].push);return Bf=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),E=0;b>E;E++)d=g[E],(p=i(w(d,E,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 Nf,zf,Wf,Hf,Vf,Yf={};function $f(){if(zf)return Nf;zf=1;var r=xo(),t=String;return Nf=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Gf(){if(Hf)return Wf;Hf=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 Wf=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(Vf)return Yf;Vf=1;var r=_n(),t=d(),n=i(),e=dr(),o=fr(),u=g(),f=lr(),a=pr(),c=Dn(),s=nt(),h=$f(),v=vn(),l=Ei(),y=p(),w=Gf(),m=mr(),b=n.JSON,E=n.Number,S=n.SyntaxError,O=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-]$/,U=/^[\t\n\r ]$/,_=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++)D(p,h,_(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],D(p,l,_(p,l,n,s(w,l)?w[l]:void 0))}return u(n,r,t,p,y)},D=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)},B=function(r,t,n,e){this.value=r,this.end=t,this.source=n,this.nodes=e},M=function(r,t){this.source=r,this.index=t};M.prototype={fork:function(r){return new M(this.source,r)},parse:function(){var r=this.source,t=this.skip(U,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 S('Unexpected character: "'+e+'" at: '+t)},node:function(r,t,n,e,i){return new B(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(U,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(U,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 S("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 S("Failed to parse number's exponent value at: "+n);return this.node(0,E(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 S("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(U,t);for(var n=T(this.source,t),e=0;e<r.length;e++)if(r[e]===n)return t;throw new S('Unexpected character: "'+n+'" at: '+t)}};var F=y(function(){var r,t="9007199254740993";return O(t,function(t,n,e){r=e.source}),r!==t}),L=m&&!y(function(){return 1/O("-0 \t")!=-1/0});r({target:"JSON",stat:!0,forced:F},{parse:function(r,t){return L&&!f(t)?O(r):function(r,t){r=h(r);var n=new M(r,0),e=n.parse(),i=e.value,o=n.skip(U,e.end);if(o<r.length)throw new S('Unexpected extra character: "'+T(r,o)+'" after the parsed data at: '+o);return f(t)?_({"":i},"",t,e):i}(r,t)}})}();var qf,Jf,Xf,Kf,Zf,Qf,ra,ta,na,ea,ia,oa,ua,fa,aa={};function ca(){if(Jf)return qf;Jf=1;var r=pr(),t=String,n=TypeError;return qf=function(e){if(void 0===e||r(e))return e;throw new n(t(e)+" is not an object or undefined")}}function sa(){if(Kf)return Xf;Kf=1;var r=TypeError;return Xf=function(t){if("string"==typeof t)return t;throw new r("Argument is not a string")}}function ha(){if(Qf)return Zf;Qf=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 Zf={i2c:t,c2i:e(t),i2cUrl:n,c2iUrl:e(n)}}function va(){if(ta)return ra;ta=1;var r=TypeError;return ra=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 la(){if(oa)return ia;oa=1;var r=xo(),t=TypeError;return ia=function(n){if("Uint8Array"===r(n))return n;throw new t("Argument is not an Uint8Array")}}function pa(){if(ua)return aa;ua=1;var r=_n(),t=i(),n=function(){if(ea)return na;ea=1;var r=i(),t=fr(),n=ca(),e=sa(),o=nt(),u=ha(),f=va(),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 na=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||[],E=0,S=0,O="",A=0;if(u)for(;;){if((A=p(r,A))===m){if(O.length>0){if("stop-before-partial"===w)break;if("loose"!==w)throw new h("Missing padding");if(1===O.length)throw new h("Malformed padding: exactly one additional character");E=y(b,d(O,g,!1),E)}S=m;break}var x=l(r,A);if(++A,"="===x){if(O.length<2)throw new h("Padding is too early");if(A=p(r,A),2===O.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");E=y(b,d(O,g,"strict"===w),E),S=m;break}if(!o(g,x))throw new h("Unexpected character");var T=u-E;if(1===T&&2===O.length||2===T&&3===O.length)break;if(4===(O+=x).length&&(E=y(b,d(O,g,!1),E),O="",S=A,E===u))break}return{bytes:b,read:S,written:E}}}(),e=la(),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}}}),aa}fa||(fa=1,pa());var da,ya,ga,wa,ma={};function ba(){if(ga)return ma;ga=1;var r=_n(),t=i(),n=sa(),e=la(),o=Qe(),u=function(){if(ya)return da;ya=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 da=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}}}),ma}wa||(wa=1,ba());var Ea,Sa,Oa={};Sa||(Sa=1,function(){if(Ea)return Oa;Ea=1;var r=_n(),t=i(),n=fr(),e=ca(),o=la(),u=Qe(),f=ha(),a=va(),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 Aa,xa,Ta={};xa||(xa=1,function(){if(Aa)return Ta;Aa=1;var r=_n(),t=i(),n=fr(),e=la(),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 Ia,ja,Ra,Pa={};function ka(){if(ja)return Ia;ja=1;var r=TypeError;return Ia=function(t,n){if(t<n)throw new r("Not enough arguments");return t}}!function(){if(Ra)return Pa;Ra=1;var r=Ht(),t=fr(),n=$f(),e=ka(),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 Ca,Ua={};!function(){if(Ca)return Ua;Ca=1;var r=Ht(),t=fr(),n=$f(),e=ka(),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 _a,Da={};!function(){if(_a)return Da;_a=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 Ba;
/*!
* SJS 6.15.1
*/Ba||(Ba=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 E=document.querySelector("base[href]");E&&(y=E.href)}if(!y&&"undefined"!=typeof location){var S=(y=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==S&&(y=y.slice(0,S+1))}var O,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){O=[r,t,n]},I.getRegister=function(){var r=O;return O=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:{}},U=m;if(I.prepareImport=function(r){return(U||r)&&(d(),U=!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){D=r.filename,B=r.error});var _=location.origin}I.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(_+"/")&&(t.crossOrigin="anonymous");var n=C.integrity[r];return n&&(t.integrity=n),t.src=r,t};var D,B,M={},F=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(){M[e.src]=[r,t],i.import(e.src)})}}else R=void 0;return F.call(this,r,t)},I.instantiate=function(t,n){var e=M[t];if(e)return delete M[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),D===t)u(B);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 L=I.instantiate,N=/^(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||!N.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)})}):L.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-B29DzMIE.js.map