dwt
Version:
Dynamic Web TWAIN is a TWAIN/ICA/SANE-based scanning SDK software specifically designed for web applications running on Windows/macOS/Linux. With just a few lines of code, you can develop robust applications to scan documents from TWAIN/ICA/SANE-compatibl
9 lines • 671 kB
JavaScript
/* ! 20260603174643
* Dynamsoft JavaScript Library
* Product: Dynamic Web TWAIN
* Web Site: https://www.dynamsoft.com
*
* Copyright 2026, Dynamsoft Corporation
* Author: Dynamsoft Support Team
* Version: 19.4
*/function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}!function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;}var i={},r={get exports(){return i;},set exports(e){i=e;}},n=function n(e){return e&&e.Math===Math&&e;},o=n("object"==(typeof globalThis==="undefined"?"undefined":_typeof(globalThis))&&globalThis)||n("object"==(typeof window==="undefined"?"undefined":_typeof(window))&&window)||n("object"==(typeof self==="undefined"?"undefined":_typeof(self))&&self)||n("object"==_typeof(e)&&e)||n("object"==_typeof(e)&&e)||function(){return this;}()||Function("return this")(),a=function a(e){try{return!!e();}catch(e){return!0;}},s=!a(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype");}),l=s,u=Function.prototype,c=u.apply,h=u.call,d="object"==(typeof Reflect==="undefined"?"undefined":_typeof(Reflect))&&Reflect.apply||(l?h.bind(c):function(){return h.apply(c,arguments);}),f=s,v=Function.prototype,g=v.call,m=f&&v.bind.bind(g,g),p=f?m:function(e){return function(){return g.apply(e,arguments);};},y=p,w=y({}.toString),b=y("".slice),k=function k(e){return b(w(e),8,-1);},S=k,x=p,C=function C(e){if("Function"===S(e))return x(e);},V="object"==(typeof document==="undefined"?"undefined":_typeof(document))&&document.all,T=void 0===V&&void 0!==V?function(e){return"function"==typeof e||e===V;}:function(e){return"function"==typeof e;},I={},E=!a(function(){return 7!==Object.defineProperty({},1,{get:function get(){return 7;}})[1];}),P=s,B=Function.prototype.call,D=P?B.bind(B):function(){return B.apply(B,arguments);},M={},U={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,z=A&&!U.call({1:2},1);M.f=z?function(e){var t=A(this,e);return!!t&&t.enumerable;}:U;var R,N,O=function O(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};},L=a,W=k,F=Object,H=p("".split),j=L(function(){return!F("z").propertyIsEnumerable(0);})?function(e){return"String"===W(e)?H(e,""):F(e);}:F,X=function X(e){return null==e;},Y=X,q=TypeError,_=function _(e){if(Y(e))throw new q("Can't call method on "+e);return e;},Z=j,G=_,K=function K(e){return Z(G(e));},$=T,J=function J(e){return"object"==_typeof(e)?null!==e:$(e);},Q={},ee=Q,te=o,ie=T,re=function re(e){return ie(e)?e:void 0;},ne=function ne(e,t){return arguments.length<2?re(ee[e])||re(te[e]):ee[e]&&ee[e][t]||te[e]&&te[e][t];},oe=p({}.isPrototypeOf),ae=o.navigator,se=ae&&ae.userAgent,le=se?String(se):"",ue=o,ce=le,he=ue.process,de=ue.Deno,fe=he&&he.versions||de&&de.version,ve=fe&&fe.v8;ve&&(N=(R=ve.split("."))[0]>0&&R[0]<4?1:+(R[0]+R[1])),!N&&ce&&(!(R=ce.match(/Edge\/(\d+)/))||R[1]>=74)&&(R=ce.match(/Chrome\/(\d+)/))&&(N=+R[1]);var ge=N,me=ge,pe=a,ye=o.String,we=!!Object.getOwnPropertySymbols&&!pe(function(){var e=Symbol("symbol detection");return!ye(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&me&&me<41;}),be=we&&!Symbol.sham&&"symbol"==_typeof(Symbol.iterator),ke=ne,Se=T,xe=oe,Ce=Object,Ve=be?function(e){return"symbol"==_typeof(e);}:function(e){var t=ke("Symbol");return Se(t)&&xe(t.prototype,Ce(e));},Te=String,Ie=function Ie(e){try{return Te(e);}catch(e){return"Object";}},Ee=T,Pe=Ie,Be=TypeError,De=function De(e){if(Ee(e))return e;throw new Be(Pe(e)+" is not a function");},Me=De,Ue=X,Ae=function Ae(e,t){var i=e[t];return Ue(i)?void 0:Me(i);},ze=D,Re=T,Ne=J,Oe=TypeError,Le={},We={get exports(){return Le;},set exports(e){Le=e;}},Fe=!0,He=o,je=Object.defineProperty,Xe=o,Ye=function Ye(e,t){try{je(He,e,{value:t,configurable:!0,writable:!0});}catch(i){He[e]=t;}return t;},qe="__core-js_shared__",_e=We.exports=Xe[qe]||Ye(qe,{});(_e.versions||(_e.versions=[])).push({version:"3.49.0",mode:"pure",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ze=Le,Ge=function Ge(e,t){return Ze[e]||(Ze[e]=t||{});},Ke=_,$e=Object,Je=function Je(e){return $e(Ke(e));},Qe=Je,et=p({}.hasOwnProperty),tt=Object.hasOwn||function(e,t){return et(Qe(e),t);},it=p,rt=0,nt=Math.random(),ot=it(1.1.toString),at=function at(e){return"Symbol("+(void 0===e?"":e)+")_"+ot(++rt+nt,36);},st=Ge,lt=tt,ut=at,ct=we,ht=be,dt=o.Symbol,ft=st("wks"),vt=ht?dt.for||dt:dt&&dt.withoutSetter||ut,gt=function gt(e){return lt(ft,e)||(ft[e]=ct&<(dt,e)?dt[e]:vt("Symbol."+e)),ft[e];},mt=D,pt=J,yt=Ve,wt=Ae,bt=function bt(e,t){var i,r;if("string"===t&&Re(i=e.toString)&&!Ne(r=ze(i,e)))return r;if(Re(i=e.valueOf)&&!Ne(r=ze(i,e)))return r;if("string"!==t&&Re(i=e.toString)&&!Ne(r=ze(i,e)))return r;throw new Oe("Can't convert object to primitive value");},kt=TypeError,St=gt("toPrimitive"),xt=function xt(e,t){if(!pt(e)||yt(e))return e;var i,r=wt(e,St);if(r){if(void 0===t&&(t="default"),i=mt(r,e,t),!pt(i)||yt(i))return i;throw new kt("Can't convert object to primitive value");}return void 0===t&&(t="number"),bt(e,t);},Ct=xt,Vt=Ve,Tt=function Tt(e){var t=Ct(e,"string");return Vt(t)?t:t+"";},It=J,Et=o.document,Pt=It(Et)&&It(Et.createElement),Bt=function Bt(e){return Pt?Et.createElement(e):{};},Dt=Bt,Mt=!E&&!a(function(){return 7!==Object.defineProperty(Dt("div"),"a",{get:function get(){return 7;}}).a;}),Ut=E,At=D,zt=M,Rt=O,Nt=K,Ot=Tt,Lt=tt,Wt=Mt,Ft=Object.getOwnPropertyDescriptor;I.f=Ut?Ft:function(e,t){if(e=Nt(e),t=Ot(t),Wt)try{return Ft(e,t);}catch(e){}if(Lt(e,t))return Rt(!At(zt.f,e,t),e[t]);};var Ht=a,jt=T,Xt=/#|\.prototype\./,Yt=function Yt(e,t){var i=_t[qt(e)];return i===Gt||i!==Zt&&(jt(t)?Ht(t):!!t);},qt=Yt.normalize=function(e){return String(e).replace(Xt,".").toLowerCase();},_t=Yt.data={},Zt=Yt.NATIVE="N",Gt=Yt.POLYFILL="P",Kt=Yt,$t=De,Jt=s,Qt=C(C.bind),ei=function ei(e,t){return $t(e),void 0===t?e:Jt?Qt(e,t):function(){return e.apply(t,arguments);};},ti={},ii=E&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype;}),ri=J,ni=String,oi=TypeError,ai=function ai(e){if(ri(e))return e;throw new oi(ni(e)+" is not an object");},si=E,li=Mt,ui=ii,ci=ai,hi=Tt,di=TypeError,fi=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,gi="enumerable",mi="configurable",pi="writable";ti.f=si?ui?function(e,t,i){if(ci(e),t=hi(t),ci(i),"function"==typeof e&&"prototype"===t&&"value"in i&&pi in i&&!i[pi]){var r=vi(e,t);r&&r[pi]&&(e[t]=i.value,i={configurable:mi in i?i[mi]:r[mi],enumerable:gi in i?i[gi]:r[gi],writable:!1});}return fi(e,t,i);}:fi:function(e,t,i){if(ci(e),t=hi(t),ci(i),li)try{return fi(e,t,i);}catch(e){}if("get"in i||"set"in i)throw new di("Accessors not supported");return"value"in i&&"__proto__"!==t&&"prototype"!==t&&"constructor"!==t&&(e[t]=i.value),e;};var yi=ti,wi=O,bi=E?function(e,t,i){return yi.f(e,t,wi(1,i));}:function(e,t,i){return"__proto__"!==t&&"prototype"!==t&&"constructor"!==t&&(e[t]=i),e;},ki=o,Si=d,xi=C,Ci=T,Vi=I.f,Ti=Kt,Ii=Q,Ei=ei,Pi=bi,Bi=tt,Di=function Di(e){var _t2=function t(i,r,n){if(this instanceof _t2){switch(arguments.length){case 0:return new e();case 1:return new e(i);case 2:return new e(i,r);}return new e(i,r,n);}return Si(e,this,arguments);};return _t2.prototype=e.prototype,_t2;},Mi=function Mi(e,t){var i,r,n,o,a,s,l,u,c,h=e.target,d=e.global,f=e.stat,v=e.proto,g=d?ki:f?ki[h]:ki[h]&&ki[h].prototype,m=d?Ii:Ii[h]||Pi(Ii,h,{})[h],p=m.prototype;for(o in t)r=!(i=Ti(d?o:h+(f?".":"#")+o,e.forced))&&g&&Bi(g,o),s=m[o],r&&(l=e.dontCallGetSet?(c=Vi(g,o))&&c.value:g[o]),a=r&&l?l:t[o],(i||v||_typeof(s)!=_typeof(a))&&(u=e.bind&&r?Ei(a,ki):e.wrap&&r?Di(a):v&&Ci(a)?xi(a):a,(e.sham||a&&a.sham||s&&s.sham)&&Pi(u,"sham",!0),Pi(m,o,u),v&&(Bi(Ii,n=h+"Prototype")||Pi(Ii,n,{}),Pi(Ii[n],o,a),e.real&&p&&(i||!p[o])&&Pi(p,o,a)));},Ui=p([].slice),Ai=p,zi=De,Ri=J,Ni=tt,Oi=Ui,Li=s,Wi=Function,Fi=Ai([].concat),Hi=Ai([].join),ji={},Xi=Li?Wi.bind:function(e){var t=zi(this),i=t.prototype,r=Oi(arguments,1),_n2=function n(){var i=Fi(r,Oi(arguments));return this instanceof _n2?function(e,t,i){if(!Ni(ji,t)){for(var r=[],n=0;n<t;n++)r[n]="a["+n+"]";ji[t]=Wi("C,a","return new C("+Hi(r,",")+")");}return ji[t](e,i);}(t,i.length,i):t.apply(e,i);};return Ri(i)&&(_n2.prototype=i),_n2;},Yi={};Yi[gt("toStringTag")]="z";var qi="[object z]"===String(Yi),_i=qi,Zi=T,Gi=k,Ki=gt("toStringTag"),$i=Object,Ji="Arguments"===Gi(function(){return arguments;}()),Qi=_i?Gi:function(e){var t,i,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t];}catch(e){}}(t=$i(e),Ki))?i:Ji?Gi(t):"Object"===(r=Gi(t))&&Zi(t.callee)?"Arguments":r;},er=T,tr=Le,ir=p(Function.toString);er(tr.inspectSource)||(tr.inspectSource=function(e){return ir(e);});var rr=tr.inspectSource,nr=p,or=a,ar=T,sr=Qi,lr=rr,ur=function ur(){},cr=ne("Reflect","construct"),hr=/^\s*(?:class|function)\b/,dr=nr(hr.exec),fr=!hr.test(ur),vr=function vr(e){if(!ar(e))return!1;try{return cr(ur,[],e),!0;}catch(e){return!1;}},gr=function gr(e){if(!ar(e))return!1;switch(sr(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1;}try{return fr||!!dr(hr,lr(e));}catch(e){return!0;}};gr.sham=!0;var mr=!cr||or(function(){var e;return vr(vr.call)||!vr(Object)||!vr(function(){e=!0;})||e;})?gr:vr,pr=mr,yr=Ie,wr=TypeError,br=function br(e){if(pr(e))return e;throw new wr(yr(e)+" is not a constructor");},kr={},Sr=Math.ceil,xr=Math.floor,Cr=Math.trunc||function(e){var t=+e;return(t>0?xr:Sr)(t);},Vr=Cr,Tr=function Tr(e){var t=+e;return t!=t||0===t?0:Vr(t);},Ir=Tr,Er=Math.max,Pr=Math.min,Br=function Br(e,t){var i=Ir(e);return i<0?Er(i+t,0):Pr(i,t);},Dr=Tr,Mr=Math.min,Ur=function Ur(e){var t=Dr(e);return t>0?Mr(t,9007199254740991):0;},Ar=Ur,zr=function zr(e){return Ar(e.length);},Rr=K,Nr=Br,Or=zr,Lr=function Lr(e){return function(t,i,r){var n=Rr(t),o=Or(n);if(0===o)return!e&&-1;var a,s=Nr(r,o);if(e&&i!=i){for(;o>s;)if((a=n[s++])!=a)return!0;}else for(;o>s;s++)if((e||s in n)&&n[s]===i)return e||s||0;return!e&&-1;};},Wr={includes:Lr(!0),indexOf:Lr(!1)},Fr={},Hr=tt,jr=K,Xr=Wr.indexOf,Yr=Fr,qr=p([].push),_r=function _r(e,t){var i,r=jr(e),n=0,o=[];for(i in r)!Hr(Yr,i)&&Hr(r,i)&&qr(o,i);for(;t.length>n;)Hr(r,i=t[n++])&&(~Xr(o,i)||qr(o,i));return o;},Zr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Gr=_r,Kr=Zr,$r=Object.keys||function(e){return Gr(e,Kr);},Jr=E,Qr=ii,en=ti,tn=ai,rn=K,nn=$r;kr.f=Jr&&!Qr?Object.defineProperties:function(e,t){tn(e);for(var i,r=rn(t),n=nn(t),o=n.length,a=0;o>a;)en.f(e,i=n[a++],r[i]);return e;};var on,an=ne("document","documentElement"),sn=at,ln=Ge("keys"),un=function un(e){return ln[e]||(ln[e]=sn(e));},cn=ai,hn=kr,dn=Zr,fn=Fr,vn=an,gn=Bt,mn="prototype",pn="script",yn=un("IE_PROTO"),wn=function wn(){},bn=function bn(e){return"<"+pn+">"+e+"</"+pn+">";},kn=function kn(e){e.write(bn("")),e.close();var t=e.parentWindow.Object;return e=null,t;},_Sn=function Sn(){try{on=new ActiveXObject("htmlfile");}catch(e){}var e,t,i;_Sn="undefined"!=typeof document?document.domain&&on?kn(on):(t=gn("iframe"),i="java"+pn+":",t.style.display="none",vn.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(bn("document.F=Object")),e.close(),e.F):kn(on);for(var r=dn.length;r--;)delete _Sn[mn][dn[r]];return _Sn();};fn[yn]=!0;var xn=Object.create||function(e,t){var i;return null!==e?(wn[mn]=cn(e),i=new wn(),wn[mn]=null,i[yn]=e):i=_Sn(),void 0===t?i:hn.f(i,t);},Cn=Mi,Vn=d,Tn=Xi,In=br,En=ai,Pn=J,Bn=xn,Dn=a,Mn=ne("Reflect","construct"),Un=Object.prototype,An=[].push,zn=Dn(function(){function e(){}return!(Mn(function(){},[],e)instanceof e);}),Rn=!Dn(function(){Mn(function(){});}),Nn=zn||Rn;Cn({target:"Reflect",stat:!0,forced:Nn,sham:Nn},{construct:function construct(e,t){In(e);var i=arguments.length<3?e:In(arguments[2]);if(En(t),Rn&&!zn)return Mn(e,t,i);if(e===i){switch(t.length){case 0:return new e();case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);}var r=[null];return Vn(An,r,t),new(Vn(Tn,e,r))();}var n=i.prototype,o=Bn(Pn(n)?n:Un),a=Vn(e,o,t);return Pn(a)?a:o;}});var On=Q.Reflect.construct;r.exports=On;var Ln=t(i);function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=Array(t);i<t;i++)r[i]=e[i];return r;}var Fn={},Hn={get exports(){return Fn;},set exports(e){Fn=e;}},jn=k,Xn=Array.isArray||function(e){return"Array"===jn(e);};Mi({target:"Array",stat:!0},{isArray:Xn});var Yn=Q.Array.isArray,qn=Yn;!function(e){e.exports=qn;}(Hn);var _n=t(Fn);function Zn(e){if(_n(e))return e;}var Gn={},Kn={get exports(){return Gn;},set exports(e){Gn=e;}},$n=TypeError,Jn=function Jn(e){if(e>9007199254740991)throw new $n("Maximum allowed index exceeded");return e;},Qn=E,eo=ti,to=O,io=function io(e,t,i){Qn?eo.f(e,t,to(0,i)):e[t]=i;},ro=E,no=Xn,oo=TypeError,ao=Object.getOwnPropertyDescriptor,so=ro&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(e){return e instanceof TypeError;}}()?function(e,t){if(no(e)&&!ao(e,"length").writable)throw new oo("Cannot set read only .length");return e.length=t;}:function(e,t){return e.length=t;},lo=Xn,uo=mr,co=J,ho=gt("species"),fo=Array,vo=function vo(e){var t;return lo(e)&&(t=e.constructor,(uo(t)&&(t===fo||lo(t.prototype))||co(t)&&null===(t=t[ho]))&&(t=void 0)),void 0===t?fo:t;},go=function go(e,t){return new(vo(e))(0===t?0:t);},mo=a,po=ge,yo=gt("species"),wo=function wo(e){return po>=51||!mo(function(){var t=[];return(t.constructor={})[yo]=function(){return{foo:1};},1!==t[e](Boolean).foo;});},bo=Mi,ko=a,So=Xn,xo=J,Co=Je,Vo=zr,To=Jn,Io=io,Eo=so,Po=go,Bo=wo,Do=ge,Mo=gt("isConcatSpreadable"),Uo=Do>=51||!ko(function(){var e=[];return e[Mo]=!1,e.concat()[0]!==e;}),Ao=function Ao(e){if(!xo(e))return!1;var t=e[Mo];return void 0!==t?!!t:So(e);};bo({target:"Array",proto:!0,arity:1,forced:!Uo||!Bo("concat")},{concat:function concat(e){var t,i,r,n,o,a=Co(this),s=Po(a,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(Ao(o=-1===t?a:arguments[t]))for(n=Vo(o),To(l+n),i=0;i<n;i++,l++)i in o&&Io(s,l,o[i]);else To(l+1),Io(s,l++,o);return Eo(s,l),s;}});var zo=Qi,Ro=String,No=function No(e){if("Symbol"===zo(e))throw new TypeError("Cannot convert a Symbol value to a string");return Ro(e);},Oo={},Lo=_r,Wo=Zr.concat("length","prototype");Oo.f=Object.getOwnPropertyNames||function(e){return Lo(e,Wo);};var Fo={},Ho=k,jo=K,Xo=Oo.f,Yo=Ui,qo="object"==(typeof window==="undefined"?"undefined":_typeof(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Fo.f=function(e){return qo&&"Window"===Ho(e)?function(e){try{return Xo(e);}catch(e){return Yo(qo);}}(e):Xo(jo(e));};var _o={};_o.f=Object.getOwnPropertySymbols;var Zo=bi,Go=function Go(e,t,i,r){return r&&r.enumerable?e[t]=i:Zo(e,t,i),e;},Ko=ti,$o=function $o(e,t,i){return Ko.f(e,t,i);},Jo={},Qo=gt;Jo.f=Qo;var ea,ta,ia,ra=Q,na=tt,oa=Jo,aa=ti.f,sa=function sa(e){var t=ra.Symbol||(ra.Symbol={});na(t,e)||aa(t,e,{value:oa.f(e)});},la=D,ua=ne,ca=gt,ha=Go,da=function da(){var e=ua("Symbol"),t=e&&e.prototype,i=t&&t.valueOf,r=ca("toPrimitive");t&&!t[r]&&ha(t,r,function(e){return la(i,this);},{arity:1});},fa=Qi,va=qi?{}.toString:function(){return"[object "+fa(this)+"]";},ga=qi,ma=ti.f,pa=bi,ya=tt,wa=va,ba=gt("toStringTag"),ka=function ka(e,t,i,r){var n=i?e:e&&e.prototype;n&&(ya(n,ba)||ma(n,ba,{configurable:!0,value:t}),r&&!ga&&pa(n,"toString",wa));},Sa=T,xa=o.WeakMap,Ca=Sa(xa)&&/native code/.test(String(xa)),Va=Ca,Ta=o,Ia=J,Ea=bi,Pa=tt,Ba=Le,Da=un,Ma=Fr,Ua="Object already initialized",Aa=Ta.TypeError,za=Ta.WeakMap;if(Va||Ba.state){var Ra=Ba.state||(Ba.state=new za());Ra.get=Ra.get,Ra.has=Ra.has,Ra.set=Ra.set,ea=function ea(e,t){if(Ra.has(e))throw new Aa(Ua);return t.facade=e,Ra.set(e,t),t;},ta=function ta(e){return Ra.get(e)||{};},ia=function ia(e){return Ra.has(e);};}else{var Na=Da("state");Ma[Na]=!0,ea=function ea(e,t){if(Pa(e,Na))throw new Aa(Ua);return t.facade=e,Ea(e,Na,t),t;},ta=function ta(e){return Pa(e,Na)?e[Na]:{};},ia=function ia(e){return Pa(e,Na);};}var Oa={set:ea,get:ta,has:ia,enforce:function enforce(e){return ia(e)?ta(e):ea(e,{});},getterFor:function getterFor(e){return function(t){var i;if(!Ia(t)||(i=ta(t)).type!==e)throw new Aa("Incompatible receiver, "+e+" required");return i;};}},La=ei,Wa=j,Fa=Je,Ha=zr,ja=go,Xa=io,Ya=function Ya(e){var t=1===e,i=2===e,r=3===e,n=4===e,o=6===e,a=7===e,s=5===e||o;return function(l,u,c){for(var h,d,f=Fa(l),v=Wa(f),g=Ha(v),m=La(u,c),p=0,y=0,w=t?ja(l,g):i||a?ja(l,0):void 0;g>p;p++)if((s||p in v)&&(d=m(h=v[p],p,f),e))if(t)Xa(w,p,d);else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return p;case 2:Xa(w,y++,h);}else switch(e){case 4:return!1;case 7:Xa(w,y++,h);}return o?-1:r||n?n:w;};},qa={forEach:Ya(0),map:Ya(1),filter:Ya(2),some:Ya(3),every:Ya(4),find:Ya(5),findIndex:Ya(6),filterReject:Ya(7)},_a=Mi,Za=o,Ga=D,Ka=p,$a=E,Ja=we,Qa=a,es=tt,ts=oe,is=ai,rs=K,ns=Tt,os=No,as=O,ss=xn,ls=$r,us=Oo,cs=Fo,hs=_o,ds=I,fs=ti,vs=kr,gs=M,ms=Go,ps=$o,ys=Ge,ws=Fr,bs=at,ks=gt,Ss=Jo,xs=sa,Cs=da,Vs=ka,Ts=Oa,Is=qa.forEach,Es=un("hidden"),Ps="Symbol",Bs="prototype",Ds=Ts.set,Ms=Ts.getterFor(Ps),Us=Object[Bs],As=Za.Symbol,zs=As&&As[Bs],Rs=Za.RangeError,Ns=Za.TypeError,Os=Za.QObject,Ls=ds.f,Ws=fs.f,Fs=cs.f,Hs=gs.f,js=Ka([].push),Xs=ys("symbols"),Ys=ys("op-symbols"),qs=ys("wks"),_s=!Os||!Os[Bs]||!Os[Bs].findChild,Zs=function Zs(e,t,i){var r=Ls(Us,t);return r&&delete Us[t],Ws(e,t,i),r&&e!==Us&&Ws(Us,t,r),e;},Gs=$a&&Qa(function(){return 7!==ss(Ws({},"a",{get:function get(){return Ws(this,"a",{value:7}).a;}})).a;})?Zs:Ws,Ks=function Ks(e,t){var i=Xs[e]=ss(zs);return Ds(i,{type:Ps,tag:e,description:t}),$a||(i.description=t),i;},_$s=function $s(e,t,i){e===Us&&_$s(Ys,t,i),is(e);var r=ns(t);return is(i),es(Xs,r)?(("enumerable"in i?!i.enumerable:!es(e,r)||es(e,Es)&&e[Es][r])?(es(e,Es)||Ws(e,Es,as(1,ss(null))),e[Es][r]=!0):(es(e,Es)&&e[Es][r]&&(e[Es][r]=!1),i=ss(i,{enumerable:as(0,!1)})),Gs(e,r,i)):Ws(e,r,i);},Js=function Js(e,t){is(e);var i=rs(t),r=ls(i).concat(il(i));return Is(r,function(t){$a&&!Ga(Qs,i,t)||_$s(e,t,i[t]);}),e;},Qs=function Qs(e){var t=ns(e),i=Ga(Hs,this,t);return!(this===Us&&es(Xs,t)&&!es(Ys,t))&&(!(i||!es(this,t)||!es(Xs,t)||es(this,Es)&&this[Es][t])||i);},el=function el(e,t){var i=rs(e),r=ns(t);if(i!==Us||!es(Xs,r)||es(Ys,r)){var n=Ls(i,r);return!n||!es(Xs,r)||es(i,Es)&&i[Es][r]||(n.enumerable=!0),n;}},tl=function tl(e){var t=Fs(rs(e)),i=[];return Is(t,function(e){es(Xs,e)||es(ws,e)||js(i,e);}),i;},il=function il(e){var t=e===Us,i=Fs(t?Ys:rs(e)),r=[];return Is(i,function(e){!es(Xs,e)||t&&!es(Us,e)||js(r,Xs[e]);}),r;};Ja||(As=function As(){if(ts(zs,this))throw new Ns("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?os(arguments[0]):void 0,t=bs(e),_i2=function i(e){var r=void 0===this?Za:this;r===Us&&Ga(_i2,Ys,e),es(r,Es)&&es(r[Es],t)&&(r[Es][t]=!1);var n=as(1,e);try{Gs(r,t,n);}catch(e){if(!(e instanceof Rs))throw e;Zs(r,t,n);}};return $a&&_s&&Gs(Us,t,{configurable:!0,set:_i2}),Ks(t,e);},ms(zs=As[Bs],"toString",function(){return Ms(this).tag;}),ms(As,"withoutSetter",function(e){return Ks(bs(e),e);}),gs.f=Qs,fs.f=_$s,vs.f=Js,ds.f=el,us.f=cs.f=tl,hs.f=il,Ss.f=function(e){return Ks(ks(e),e);},$a&&ps(zs,"description",{configurable:!0,get:function get(){return Ms(this).description;}})),_a({global:!0,constructor:!0,wrap:!0,forced:!Ja,sham:!Ja},{Symbol:As}),Is(ls(qs),function(e){xs(e);}),_a({target:Ps,stat:!0,forced:!Ja},{useSetter:function useSetter(){_s=!0;},useSimple:function useSimple(){_s=!1;}}),_a({target:"Object",stat:!0,forced:!Ja,sham:!$a},{create:function create(e,t){return void 0===t?ss(e):Js(ss(e),t);},defineProperty:_$s,defineProperties:Js,getOwnPropertyDescriptor:el}),_a({target:"Object",stat:!0,forced:!Ja},{getOwnPropertyNames:tl}),Cs(),Vs(As,Ps),ws[Es]=!0;var rl=we&&!!Symbol.for&&!!Symbol.keyFor,nl=Mi,ol=ne,al=tt,sl=No,ll=Ge,ul=rl,cl=ll("string-to-symbol-registry"),hl=ll("symbol-to-string-registry");nl({target:"Symbol",stat:!0,forced:!ul},{for:function _for(e){var t=sl(e);if(al(cl,t))return cl[t];var i=ol("Symbol")(t);return cl[t]=i,hl[i]=t,i;}});var dl=Mi,fl=tt,vl=Ve,gl=Ie,ml=rl,pl=Ge("symbol-to-string-registry");dl({target:"Symbol",stat:!0,forced:!ml},{keyFor:function keyFor(e){if(!vl(e))throw new TypeError(gl(e)+" is not a symbol");if(fl(pl,e))return pl[e];}});var yl=J,wl=Oa.get,bl=p,kl=tt,Sl=SyntaxError,xl=parseInt,Cl=String.fromCharCode,Vl=bl("".charAt),Tl=bl("".slice),Il=bl(/./.exec),El={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},Pl=/^[\da-f]{4}$/i,Bl=/^[\u0000-\u001F]$/,Dl=!a(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e;}),Ml=Mi,Ul=ne,Al=d,zl=D,Rl=p,Nl=a,Ol=Xn,Ll=T,Wl=function Wl(e){if(!yl(e))return!1;var t=wl(e);return!!t&&"RawJSON"===t.type;},Fl=Ve,Hl=k,jl=No,Xl=Ui,Yl=function Yl(e,t){for(var i=!0,r="";t<e.length;){var n=Vl(e,t);if("\\"===n){var o=Tl(e,t,t+2);if(kl(El,o))r+=El[o],t+=2;else{if("\\u"!==o)throw new Sl('Unknown escape sequence: "'+o+'"');var a=Tl(e,t+=2,t+4);if(!Il(Pl,a))throw new Sl("Bad Unicode escape at: "+t);r+=Cl(xl(a,16)),t+=4;}}else{if('"'===n){i=!1,t++;break;}if(Il(Bl,n))throw new Sl("Bad control character in string literal at: "+t);r+=n,t++;}}if(i)throw new Sl("Unterminated string at: "+t);return{value:r,end:t};},ql=at,_l=we,Zl=Dl,Gl=String,Kl=Ul("JSON","stringify"),$l=Rl(/./.exec),Jl=Rl("".charAt),Ql=Rl("".charCodeAt),eu=Rl("".replace),tu=Rl("".slice),iu=Rl([].push),ru=Rl(1.1.toString),nu=/[\uD800-\uDFFF]/g,ou=/^[\uD800-\uDBFF]$/,au=/^[\uDC00-\uDFFF]$/,su=ql(),lu=su.length,uu=!_l||Nl(function(){var e=Ul("Symbol")("stringify detection");return"[null]"!==Kl([e])||"{}"!==Kl({a:e})||"{}"!==Kl(Object(e));}),cu=Nl(function(){return"\"\\udf06\\ud834\""!==Kl("\uDF06\uD834")||"\"\\udead\""!==Kl("\uDEAD");}),hu=uu?function(e,t){var i=Xl(arguments),r=fu(t);if(Ll(r)||void 0!==e&&!Fl(e))return i[1]=function(e,t){if(Ll(r)&&(t=zl(r,this,Gl(e),t)),!Fl(t))return t;},Al(Kl,null,i);}:Kl,du=function du(e,t,i){var r=Jl(i,t-1),n=Jl(i,t+1);return $l(ou,e)&&!$l(au,n)||$l(au,e)&&!$l(ou,r)?"\\u"+ru(Ql(e,0),16):e;},fu=function fu(e){if(Ll(e))return e;if(Ol(e)){for(var t=e.length,i=[],r=0;r<t;r++){var n=e[r];"string"==typeof n?iu(i,n):"number"!=typeof n&&"Number"!==Hl(n)&&"String"!==Hl(n)||iu(i,jl(n));}var o=i.length,a=!0;return function(e,t){if(a)return a=!1,t;if(Ol(this))return t;for(var r=0;r<o;r++)if(i[r]===e)return t;};}};Kl&&Ml({target:"JSON",stat:!0,arity:3,forced:uu||cu||!Zl},{stringify:function stringify(e,t,i){var r=fu(t),n=[],o=hu(e,function(e,t){var i=Ll(r)?zl(r,this,Gl(e),t):t;return!Zl&&Wl(i)?su+(iu(n,i.rawJSON)-1):i;},i);if("string"!=typeof o)return o;if(cu&&(o=eu(o,nu,du)),Zl)return o;for(var a="",s=o.length,l=0;l<s;l++){var u=Jl(o,l);if('"'===u){var c=Yl(o,++l).end-1,h=tu(o,l,c);a+=tu(h,0,lu)===su?n[tu(h,lu)]:'"'+h+'"',l=c;}else a+=u;}return a;}});var vu=_o,gu=Je;Mi({target:"Object",stat:!0,forced:!we||a(function(){vu.f(1);})},{getOwnPropertySymbols:function getOwnPropertySymbols(e){var t=vu.f;return t?t(gu(e)):[];}}),sa("asyncDispose"),sa("asyncIterator"),sa("dispose"),sa("hasInstance"),sa("isConcatSpreadable"),sa("iterator"),sa("match"),sa("matchAll"),sa("replace"),sa("search"),sa("species"),sa("split");var mu=da;sa("toPrimitive"),mu();var pu=ne,yu=ka;sa("toStringTag"),yu(pu("Symbol"),"Symbol"),sa("unscopables"),ka(o.JSON,"JSON",!0);var wu,bu,ku,Su=Q.Symbol,xu={},Cu=E,Vu=tt,Tu=Function.prototype,Iu=Cu&&Object.getOwnPropertyDescriptor,Eu=Vu(Tu,"name"),Pu={EXISTS:Eu,PROPER:Eu&&"something"===function(){}.name,CONFIGURABLE:Eu&&(!Cu||Cu&&Iu(Tu,"name").configurable)},Bu=!a(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e())!==e.prototype;}),Du=tt,Mu=T,Uu=Je,Au=Bu,zu=un("IE_PROTO"),Ru=Object,Nu=Ru.prototype,Ou=Au?Ru.getPrototypeOf:function(e){var t=Uu(e);if(Du(t,zu))return t[zu];var i=t.constructor;return Mu(i)&&t instanceof i?i.prototype:t instanceof Ru?Nu:null;},Lu=a,Wu=T,Fu=J,Hu=xn,ju=Ou,Xu=Go,Yu=gt("iterator"),qu=!1;[].keys&&("next"in(ku=[].keys())?(bu=ju(ju(ku)))!==Object.prototype&&(wu=bu):qu=!0);var _u=!Fu(wu)||Lu(function(){var e={};return wu[Yu].call(e)!==e;});Wu((wu=_u?{}:Hu(wu))[Yu])||Xu(wu,Yu,function(){return this;});var Zu={IteratorPrototype:wu,BUGGY_SAFARI_ITERATORS:qu},Gu=Zu.IteratorPrototype,Ku=xn,$u=O,Ju=ka,Qu=xu,ec=function ec(){return this;},tc=function tc(e,t,i,r){var n=t+" Iterator";return e.prototype=Ku(Gu,{next:$u(+!r,i)}),Ju(e,n,!1,!0),Qu[n]=ec,e;},ic=p,rc=De,nc=J,oc=function oc(e){return nc(e)||null===e;},ac=String,sc=TypeError,lc=function lc(e,t,i){try{return ic(rc(Object.getOwnPropertyDescriptor(e,t)[i]));}catch(e){}},uc=J,cc=_,hc=function hc(e){if(oc(e))return e;throw new sc("Can't set "+ac(e)+" as a prototype");},dc=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=lc(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array;}catch(e){}return function(i,r){return cc(i),hc(r),uc(i)?(t?e(i,r):i.__proto__=r,i):i;};}():void 0),fc=Mi,vc=D,gc=tc,mc=Ou,pc=ka,yc=Go,wc=xu,bc=Pu.PROPER,kc=Zu.BUGGY_SAFARI_ITERATORS,Sc=gt("iterator"),xc="keys",Cc="values",Vc="entries",Tc=function Tc(){return this;},Ic=function Ic(e,t,i,r,n,o,a){gc(i,t,r);var s,l,u,c=function c(e){if(e===n&&g)return g;if(!kc&&e&&e in f)return f[e];switch(e){case xc:case Cc:case Vc:return function(){return new i(this,e);};}return function(){return new i(this);};},h=t+" Iterator",d=!1,f=e.prototype,v=f[Sc]||f["@@iterator"]||n&&f[n],g=!kc&&v||c(n),m="Array"===t&&f.entries||v;if(m&&(s=mc(m.call(new e())))!==Object.prototype&&s.next&&(pc(s,h,!0,!0),wc[h]=Tc),bc&&n===Cc&&v&&v.name!==Cc&&(d=!0,g=function g(){return vc(v,this);}),n)if(l={values:c(Cc),keys:o?g:c(xc),entries:c(Vc)},a)for(u in l)(kc||d||!(u in f))&&yc(f,u,l[u]);else fc({target:t,proto:!0,forced:kc||d},l);return a&&f[Sc]!==g&&yc(f,Sc,g,{name:n}),wc[t]=g,l;},Ec=function Ec(e,t){return{value:e,done:t};},Pc=K,Bc=xu,Dc=Oa;ti.f;var Mc=Ic,Uc=Ec,Ac="Array Iterator",zc=Dc.set,Rc=Dc.getterFor(Ac);Mc(Array,"Array",function(e,t){zc(this,{type:Ac,target:Pc(e),index:0,kind:t});},function(){var e=Rc(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,Uc(void 0,!0);switch(e.kind){case"keys":return Uc(i,!1);case"values":return Uc(t[i],!1);}return Uc([i,t[i]],!1);},"values"),Bc.Arguments=Bc.Array;var Nc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Oc=o,Lc=ka,Wc=xu;for(var Fc in Nc)Lc(Oc[Fc],Fc),Wc[Fc]=Wc.Array;var Hc=Su,jc=gt,Xc=ti.f,Yc=jc("metadata"),qc=Function.prototype;void 0===qc[Yc]&&Xc(qc,Yc,{value:null}),sa("metadata");var _c=Hc,Zc=p,Gc=ne("Symbol"),Kc=Gc.keyFor,$c=Zc(Gc.prototype.valueOf),Jc=Gc.isRegisteredSymbol||function(e){try{return void 0!==Kc($c(e));}catch(e){return!1;}};Mi({target:"Symbol",stat:!0},{isRegisteredSymbol:Jc});for(var Qc=Ge,eh=ne,th=p,ih=Ve,rh=gt,nh=eh("Symbol"),oh=nh.isWellKnownSymbol,ah=eh("Object","getOwnPropertyNames"),sh=th(nh.prototype.valueOf),lh=Qc("wks"),uh=0,ch=ah(nh),hh=ch.length;uh<hh;uh++)try{var dh=ch[uh];ih(nh[dh])&&rh(dh);}catch(e){}var fh=function fh(e){if(oh&&oh(e))return!0;try{for(var t=sh(e),i=0,r=ah(lh),n=r.length;i<n;i++)if(lh[r[i]]==t)return!0;}catch(e){}return!1;};Mi({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:fh}),sa("customMatcher"),sa("observable"),Mi({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Jc}),Mi({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:fh}),sa("matcher"),sa("metadataKey"),sa("patternMatch"),sa("replaceAll");var vh=_c;!function(e){e.exports=vh;}(Kn);var gh=t(Gn),mh={},ph={get exports(){return mh;},set exports(e){mh=e;}},yh=p,wh=Tr,bh=No,kh=_,Sh=yh("".charAt),xh=yh("".charCodeAt),Ch=yh("".slice),Vh=function Vh(e){return function(t,i){var r,n,o=bh(kh(t)),a=wh(i),s=o.length;return a<0||a>=s?e?"":void 0:(r=xh(o,a))<55296||r>56319||a+1===s||(n=xh(o,a+1))<56320||n>57343?e?Sh(o,a):r:e?Ch(o,a,a+2):n-56320+(r-55296<<10)+65536;};},Th={codeAt:Vh(!1),charAt:Vh(!0)},Ih=Th.charAt,Eh=No,Ph=Oa,Bh=Ic,Dh=Ec,Mh="String Iterator",Uh=Ph.set,Ah=Ph.getterFor(Mh);Bh(String,"String",function(e){Uh(this,{type:Mh,string:Eh(e),index:0});},function(){var e,t=Ah(this),i=t.string,r=t.index;return r>=i.length?Dh(void 0,!0):(e=Ih(i,r),t.index+=e.length,Dh(e,!1));});var zh=Qi,Rh=Ae,Nh=X,Oh=xu,Lh=gt("iterator"),Wh=function Wh(e){if(!Nh(e))return Rh(e,Lh)||Rh(e,"@@iterator")||Oh[zh(e)];},Fh=Wh;!function(e){e.exports=Fh;}(ph);var Hh=t(mh),jh={},Xh={get exports(){return jh;},set exports(e){jh=e;}},Yh=D,qh=ai,_h=Ae,Zh=function Zh(e,t,i){var r,n;qh(e);try{if(!(r=_h(e,"return"))){if("throw"===t)throw i;return i;}r=Yh(r,e);}catch(e){n=!0,r=e;}if("throw"===t)throw i;if(n)throw r;return qh(r),i;},Gh=ai,Kh=Zh,$h=xu,Jh=gt("iterator"),Qh=Array.prototype,ed=function ed(e){return void 0!==e&&($h.Array===e||Qh[Jh]===e);},td=D,id=De,rd=ai,nd=Ie,od=Wh,ad=TypeError,sd=function sd(e,t){var i=arguments.length<2?od(e):t;if(id(i))return rd(td(i,e));throw new ad(nd(e)+" is not iterable");},ld=ei,ud=D,cd=Je,hd=function hd(e,t,i,r){try{return r?t(Gh(i)[0],i[1]):t(i);}catch(t){Kh(e,"throw",t);}},dd=ed,fd=mr,vd=zr,gd=io,md=so,pd=sd,yd=Wh,wd=Zh,bd=Array,kd=function kd(e){var t=fd(this),i=arguments.length,r=i>1?arguments[1]:void 0,n=void 0!==r;n&&(r=ld(r,i>2?arguments[2]:void 0));var o,a,s,l,u,c,h=cd(e),d=yd(h),f=0;if(!d||this===bd&&dd(d))for(o=vd(h),a=t?new this(o):bd(o);o>f;f++)c=n?r(h[f],f):h[f],gd(a,f,c);else for(a=t?new this():[],u=(l=pd(h,d)).next;!(s=ud(u,l)).done;f++){c=n?hd(l,r,[s.value,f],!0):s.value;try{gd(a,f,c);}catch(e){wd(l,"throw",e);}}return md(a,f),a;},Sd=gt("iterator"),xd=!1;try{var Cd=0,Vd={next:function next(){return{done:!!Cd++};},return:function _return(){xd=!0;}};Vd[Sd]=function(){return this;},Array.from(Vd,function(){throw 2;});}catch(e){}var Td=function Td(e,t){try{if(!t&&!xd)return!1;}catch(e){return!1;}var i=!1;try{var r={};r[Sd]=function(){return{next:function next(){return{done:i=!0};}};},e(r);}catch(e){}return i;},Id=kd;Mi({target:"Array",stat:!0,forced:!Td(function(e){Array.from(e);})},{from:Id});var Ed=Q.Array.from,Pd=Ed;!function(e){e.exports=Pd;}(Xh);var Bd=t(jh);function Dd(e){if(void 0!==gh&&null!=Hh(e)||null!=e["@@iterator"])return Bd(e);}var Md={},Ud={get exports(){return Md;},set exports(e){Md=e;}},Ad=Mi,zd=Xn,Rd=mr,Nd=J,Od=Br,Ld=zr,Wd=K,Fd=io,Hd=so,jd=gt,Xd=Ui,Yd=wo("slice"),qd=jd("species"),_d=Array,Zd=Math.max;Ad({target:"Array",proto:!0,forced:!Yd},{slice:function slice(e,t){var i,r,n,o=Wd(this),a=Ld(o),s=Od(e,a),l=Od(void 0===t?a:t,a);if(zd(o)&&(i=o.constructor,(Rd(i)&&(i===_d||zd(i.prototype))||Nd(i)&&null===(i=i[qd]))&&(i=void 0),i===_d||void 0===i))return Xd(o,s,l);for(r=new(void 0===i?_d:i)(Zd(l-s,0)),n=0;s<l;s++,n++)s in o&&Fd(r,n,o[s]);return Hd(r,n),r;}});var Gd=o,Kd=Q,$d=function $d(e,t){var i=Kd[e+"Prototype"],r=i&&i[t];if(r)return r;var n=Gd[e],o=n&&n.prototype;return o&&o[t];},Jd=$d("Array","slice"),Qd=oe,ef=Jd,tf=Array.prototype,rf=function rf(e){var t=e.slice;return e===tf||Qd(tf,e)&&t===tf.slice?ef:t;},nf=rf,of=nf;!function(e){e.exports=of;}(Ud);var af=t(Md);function sf(e,t){if(e){var i;if("string"==typeof e)return Wn(e,t);var r=af(i={}.toString.call(e)).call(i,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Bd(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wn(e,t):void 0;}}function lf(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function uf(e,t){var i=void 0!==gh&&Hh(e)||e["@@iterator"];if(!i){if(_n(e)||(i=sf(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0,n=function n(){};return{s:n,n:function n(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]};},e:function e(_e2){throw _e2;},f:n};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,s=!1;return{s:function s(){i=i.call(e);},n:function n(){var e=i.next();return a=e.done,e;},e:function e(_e3){s=!0,o=_e3;},f:function f(){try{a||null==i.return||i.return();}finally{if(s)throw o;}}};}var cf={},hf={get exports(){return cf;},set exports(e){cf=e;}},df=Q.Object.getOwnPropertySymbols;!function(e){e.exports=df;}(hf);var ff=t(cf),vf={},gf={get exports(){return vf;},set exports(e){vf=e;}},mf=a,pf=function pf(e,t){var i=[][e];return!!i&&mf(function(){i.call(null,t||function(){return 1;},1);});},yf=Mi,wf=Wr.indexOf,bf=pf,kf=C([].indexOf),Sf=!!kf&&1/kf([1],1,-0)<0;yf({target:"Array",proto:!0,forced:Sf||!bf("indexOf")},{indexOf:function indexOf(e){var t=arguments.length>1?arguments[1]:void 0;return Sf?kf(this,e,t)||0:wf(this,e,t);}});var xf=$d("Array","indexOf"),Cf=oe,Vf=xf,Tf=Array.prototype,If=function If(e){var t=e.indexOf;return e===Tf||Cf(Tf,e)&&t===Tf.indexOf?Vf:t;},Ef=If,Pf=Ef;!function(e){e.exports=Pf;}(gf);var Bf=t(vf);function Df(e,t){if(null==e)return{};var i,r,n=function(e,t){if(null==e)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==Bf(t).call(t,r))continue;i[r]=e[r];}return i;}(e,t);if(ff){var o=ff(e);for(r=0;r<o.length;r++)i=o[r],-1===Bf(t).call(t,i)&&{}.propertyIsEnumerable.call(e,i)&&(n[i]=e[i]);}return n;}var Mf={},Uf={get exports(){return Mf;},set exports(e){Mf=e;}},Af=On;!function(e){e.exports=Af;}(Uf);var zf=t(Mf),Rf={},Nf={get exports(){return Rf;},set exports(e){Rf=e;}},Of=Je,Lf=zr,Wf=so,Ff=Jn;Mi({target:"Array",proto:!0,arity:1,forced:a(function(){return 4294967297!==[].push.call({length:4294967296},1);})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push();}catch(e){return e instanceof TypeError;}}()},{push:function push(e){var t=Of(this),i=Lf(t),r=arguments.length;Ff(i+r);for(var n=0;n<r;n++)t[i]=arguments[n],i++;return Wf(t,i),i;}});var Hf=$d("Array","push"),jf=oe,Xf=Hf,Yf=Array.prototype,qf=function qf(e){var t=e.push;return e===Yf||jf(Yf,e)&&t===Yf.push?Xf:t;},_f=qf;!function(e){e.exports=_f;}(Nf);var Zf=t(Rf),Gf={},Kf={get exports(){return Gf;},set exports(e){Gf=e;}},$f=Xi;Mi({target:"Function",proto:!0,forced:Function.bind!==$f},{bind:$f});var Jf=$d("Function","bind"),Qf=oe,ev=Jf,tv=Function.prototype,iv=function iv(e){var t=e.bind;return e===tv||Qf(tv,e)&&t===tv.bind?ev:t;},rv=iv,nv=rv;!function(e){e.exports=nv;}(Kf);var ov=t(Gf);function av(){try{var e=!Boolean.prototype.valueOf.call(zf(Boolean,[],function(){}));}catch(e){}return(av=function av(){return!!e;})();}var sv={},lv={get exports(){return sv;},set exports(e){sv=e;}};Mi({target:"Object",stat:!0},{setPrototypeOf:dc});var uv=Q.Object.setPrototypeOf;!function(e){e.exports=uv;}(lv);var cv=t(sv);function hv(e,t){var i;return hv=cv?ov(i=cv).call(i):function(e,t){return e.__proto__=t,e;},hv(e,t);}var dv={},fv={get exports(){return dv;},set exports(e){dv=e;}},vv=Je,gv=Ou,mv=Bu;Mi({target:"Object",stat:!0,forced:a(function(){gv(1);}),sham:!mv},{getPrototypeOf:function getPrototypeOf(e){return gv(vv(e));}});var pv=Q.Object.getPrototypeOf;!function(e){e.exports=pv;}(fv);var yv=t(dv),wv={},bv={get exports(){return wv;},set exports(e){wv=e;}},kv=Mi,Sv=Xn,xv=p([].reverse),Cv=[1,2];kv({target:"Array",proto:!0,forced:String(Cv)===String(Cv.reverse())},{reverse:function reverse(){return Sv(this)&&(this.length=this.length),xv(this);}});var Vv=$d("Array","reverse"),Tv=oe,Iv=Vv,Ev=Array.prototype,Pv=function Pv(e){var t=e.reverse;return e===Ev||Tv(Ev,e)&&t===Ev.reverse?Iv:t;},Bv=Pv,Dv=Bv;!function(e){e.exports=Dv;}(bv);var Mv=t(wv);function Uv(e,t){this.v=e,this.k=t;}var Av={},zv={get exports(){return Av;},set exports(e){Av=e;}};Mi({target:"Object",stat:!0,sham:!E},{create:xn});var Rv=Q.Object,Nv=function Nv(e,t){return Rv.create(e,t);},Ov=Nv;!function(e){e.exports=Ov;}(zv);var Lv=t(Av),Wv={},Fv={get exports(){return Wv;},set exports(e){Wv=e;}},Hv={},jv={get exports(){return Hv;},set exports(e){Hv=e;}},Xv=Mi,Yv=E,qv=ti.f;Xv({target:"Object",stat:!0,forced:Object.defineProperty!==qv,sham:!Yv},{defineProperty:qv});var _v=Q.Object,Zv=jv.exports=function(e,t,i){return _v.defineProperty(e,t,i);};_v.defineProperty.sham&&(Zv.sham=!0);var Gv=Hv,Kv=Gv;!function(e){e.exports=Kv;}(Fv);var $v=t(Wv);function _Jv(e,t,i,r){var n=$v;try{n({},"",{});}catch(e){n=0;}_Jv=function Jv(e,t,i,r){function o(t,i){_Jv(e,t,function(e){return this._invoke(t,i,e);});}t?n?n(e,t,{value:i,enumerable:!r,configurable:!r,writable:!r}):e[t]=i:(o("next",0),o("throw",1),o("return",2));},_Jv(e,t,i,r);}function Qv(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,i="function"==typeof gh?gh:{},r=i.iterator||"@@iterator",n=i.toStringTag||"@@toStringTag";function o(i,r,n,o){var l=r&&r.prototype instanceof s?r:s,u=Lv(l.prototype);return _Jv(u,"_invoke",function(i,r,n){var o,s,l,u=0,c=n||[],h=!1,_d2={p:0,n:0,v:e,a:f,f:ov(f).call(f,e,4),d:function d(t,i){return o=t,s=0,l=e,_d2.n=i,a;}};function f(i,r){for(s=i,l=r,t=0;!h&&u&&!n&&t<c.length;t++){var n,o=c[t],f=_d2.p,v=o[2];i>3?(n=v===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=f&&((n=i<2&&f<o[1])?(s=0,_d2.v=r,_d2.n=o[1]):f<v&&(n=i<3||o[0]>r||r>v)&&(o[4]=i,o[5]=r,_d2.n=v,s=0));}if(n||i>1)return a;throw h=!0,r;}return function(n,c,v){if(u>1)throw TypeError("Generator is already running");for(h&&1===c&&f(c,v),s=c,l=v;(t=s<2?e:l)||!h;){o||(s?s<3?(s>1&&(_d2.n=-1),f(s,l)):_d2.n=l:_d2.v=l);try{if(u=2,o){if(s||(n="next"),t=o[n]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0);}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+n+"' method"),s=1);o=e;}else if((t=(h=_d2.n<0)?l:i.call(r,_d2))!==a)break;}catch(t){o=e,s=1,l=t;}finally{u=1;}}return{value:t,done:h};};}(i,n,o),!0),u;}var a={};function s(){}function l(){}function u(){}t=yv;var c=[][r]?t(t([][r]())):(_Jv(t={},r,function(){return this;}),t),h=u.prototype=s.prototype=Lv(c);function d(e){return cv?cv(e,u):(e.__proto__=u,_Jv(e,n,"GeneratorFunction")),e.prototype=Lv(h),e;}return l.prototype=u,_Jv(h,"constructor",u),_Jv(u,"constructor",l),l.displayName="GeneratorFunction",_Jv(u,n,"GeneratorFunction"),_Jv(h),_Jv(h,n,"Generator"),_Jv(h,r,function(){return this;}),_Jv(h,"toString",function(){return"[object Generator]";}),(Qv=function Qv(){return{w:o,m:d};})();}var eg={},tg={get exports(){return eg;},set exports(e){eg=e;}},ig=ne,rg=Oo,ng=_o,og=ai,ag=p([].concat),sg=ig("Reflect","ownKeys")||function(e){var t=rg.f(og(e)),i=ng.f;return i?ag(t,i(e)):t;},lg=tt,ug=sg,cg=I,hg=ti,dg=J,fg=bi,vg=Error,gg=p("".replace),mg=String(new vg("zxcasd").stack),pg=/\n\s*at [^:]*:[^\n]*/,yg=pg.test(mg),wg=O,bg=!a(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",wg(1,7)),7!==e.stack);}),kg=bi,Sg=function Sg(e,t){if(yg&&"string"==typeof e&&!vg.prepareStackTrace)for(;t--;)e=gg(e,pg,"");return e;},xg=bg,Cg=Error.captureStackTrace,Vg=ei,Tg=D,Ig=ai,Eg=Ie,Pg=ed,Bg=zr,Dg=oe,Mg=sd,Ug=Wh,Ag=Zh,zg=TypeError,Rg=function Rg(e,t){this.stopped=e,this.result=t;},Ng=Rg.prototype,Og=function Og(e,t,i){var r,n,o,a,s,l,u,c=i&&i.that,h=!(!i||!i.AS_ENTRIES),d=!(!i||!i.IS_RECORD),f=!(!i||!i.IS_ITERATOR),v=!(!i||!i.INTERRUPTED),g=Vg(t,c),m=function m(e){var t=r;return r=void 0,t&&Ag(t,"normal"),new Rg(!0,e);},p=function p(e){return h?(Ig(e),v?g(e[0],e[1],m):g(e[0],e[1])):v?g(e,m):g(e);};if(d)r=e.iterator;else if(f)r=e;else{if(!(n=Ug(e)))throw new zg(Eg(e)+" is not iterable");if(Pg(n)){for(o=0,a=Bg(e);a>o;o++)if((s=p(e[o]))&&Dg(Ng,s))return s;return new Rg(!1);}r=Mg(e,n);}for(l=d?e.next:r.next;!(u=Tg(l,r)).done;){var y=u.value;try{s=p(y);}catch(e){if(!r)throw e;Ag(r,"throw",e);}if("object"==_typeof(s)&&s&&Dg(Ng,s))return s;}return new Rg(!1);},Lg=No,Wg=Mi,Fg=oe,Hg=Ou,jg=dc,Xg=function Xg(e,t,i){for(var r=ug(t),n=hg.f,o=cg.f,a=0;a<r.length;a++){var s=r[a];lg(e,s)||i&&lg(i,s)||n(e,s,o(t,s));}},Yg=xn,qg=bi,_g=O,Zg=function Zg(e,t){dg(t)&&"cause"in t&&fg(e,"cause",t.cause);},Gg=function Gg(e,t,i,r){xg&&(Cg?Cg(e,t):kg(e,"stack",Sg(i,r)));},Kg=Og,$g=function $g(e,t){return void 0===e?arguments.length<2?"":t:Lg(e);},Jg=gt("toStringTag"),Qg=Error,em=[].push,_tm=function tm(e,t){var i,r=Fg(im,this);jg?i=jg(new Qg(),r?Hg(this):im):(i=r?this:Yg(im),qg(i,Jg,"Error")),void 0!==t&&qg(i,"message",$g(t)),Gg(i,_tm,i.stack,1),arguments.length>2&&Zg(i,arguments[2]);var n=[];return Kg(e,em,{that:n}),qg(i,"errors",n),i;};jg?jg(_tm,Qg):Xg(_tm,Qg,{name:!0});var im=_tm.prototype=Yg(Qg.prototype,{constructor:_g(1,_tm),message:_g(1,""),name:_g(1,"AggregateError")});Wg({global:!0,constructor:!0,arity:2},{AggregateError:_tm});var rm,nm,om,am,sm=o,lm=le,um=k,cm=function cm(e){return lm.slice(0,e.length)===e;},hm=cm("Bun/")?"BUN":cm("Cloudflare-Workers")?"CLOUDFLARE":cm("Deno/")?"DENO":cm("Node.js/")?"NODE":sm.Bun&&"string"==typeof Bun.version?"BUN":sm.Deno&&"object"==_typeof(Deno.version)?"DENO":"process"===um(sm.process)?"NODE":sm.window&&sm.document?"BROWSER":"REST",dm="NODE"===hm,fm=ne,vm=$o,gm=E,mm=gt("species"),pm=function pm(e){var t=fm(e);gm&&t&&!t[mm]&&vm(t,mm,{configurable:!0,get:function get(){return this;}});},ym=oe,wm=TypeError,bm=function bm(e,t){if(ym(t,e))return e;throw new wm("Incorrect invocation");},km=ai,Sm=br,xm=X,Cm=gt("species"),Vm=function Vm(e,t){var i,r=km(e).constructor;return void 0===r||xm(i=km(r)[Cm])?t:Sm(i);},Tm=TypeError,Im=function Im(e,t){if(e<t)throw new Tm("Not enough arguments");return e;},Em=le,Pm=/ipad|iphone|ipod/i.test(Em)&&/applewebkit/i.test(Em),Bm=o,Dm=d,Mm=ei,Um=T,Am=tt,zm=a,Rm=an,Nm=Ui,Om=Bt,Lm=Im,Wm=Pm,Fm=dm,Hm=Bm.setImmediate,jm=Bm.clearImmediate,Xm=Bm.process,Ym=Bm.Dispatch,qm=Bm.Function,_m=Bm.MessageChannel,Zm=Bm.String,Gm=0,Km={},$m="onreadystatechange";zm(function(){rm=Bm.location;});var Jm=function Jm(e){if(Am(Km,e)){var t=Km[e];delete Km[e],t();}},Qm=function Qm(e){return function(){Jm(e);};},ep=function ep(e){Jm(e.data);},tp=function tp(e){Bm.postMessage(Zm(e),rm.protocol+"//"+rm.host);};Hm&&jm||(Hm=function Hm(e){Lm(arguments.length,1);var t=Um(e)?e:qm(e),i=Nm(arguments,1);return Km[++Gm]=function(){Dm(t,void 0,i);},nm(Gm),Gm;},jm=function jm(e){delete Km[e];},Fm?nm=function nm(e){Xm.nextTick(Qm(e));}:Ym&&Ym.now?nm=function nm(e){Ym.now(Qm(e));}:_m&&!Wm?(am=(om=new _m()).port2,om.port1.onmessage=ep,nm=Mm(am.postMessage,am)):Bm.addEventListener&&Um(Bm.postMessage)&&!Bm.importScripts&&rm&&"file:"!==rm.protocol&&!zm(tp)?(nm=tp,Bm.addEventListener("message",ep,!1)):nm=$m in Om("script")?function(e){Rm.appendChild(Om("script"))[$m]=function(){Rm.removeChild(this),Jm(e);};}:function(e){setTimeout(Qm(e),0);});var ip={set:Hm,clear:jm},rp=o,np=E,op=Object.getOwnPropertyDescriptor,ap=function ap(e){if(!np)return rp[e];var t=op(rp,e);return t&&t.value;},sp=function sp(){this.head=null,this.tail=null;};sp.prototype={add:function add(e){var t={item:e,next:null},i=this.tail;i?i.next=t:this.head=t,this.tail=t;},get:function get(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item;}};var lp,up,cp,hp,dp,fp=sp,vp=/ipad|iphone|ipod/i.test(le)&&"undefined"!=typeof Pebble,gp=/web0s(?!.*chrome)/i.test(le),mp=o,pp=ap,yp=ei,wp=ip.set,bp=fp,kp=Pm,Sp=vp,xp=gp,Cp=dm,Vp=mp.MutationObserver||mp.WebKitMutationObserver,Tp=mp.document,Ip=mp.process,Ep=mp.Promise,Pp=pp("queueMicrotask");if(!Pp){var Bp=new bp(),Dp=function Dp(){var e,t;for(Cp&&(e=Ip.domain)&&e.exit();t=Bp.get();)try{t();}catch(e){throw Bp.head&&lp(),e;}e&&e.enter();};kp||Cp||xp||!Vp||!Tp?!Sp&&Ep&&Ep.resolve?((hp=Ep.resolve(void 0)).constructor=Ep,dp=yp(hp.then,hp),lp=function lp(){dp(Dp);}):Cp?lp=function lp(){Ip.nextTick(Dp);}:(wp=yp(wp,mp),lp=function lp(){wp(Dp);}):(up=!0,cp=Tp.createTextNode(""),new Vp(Dp).observe(cp,{characterData:!0}),lp=function lp(){cp.data=up=!up;}),Pp=function Pp(e){Bp.head||lp(),Bp.add(e);};}var Mp=Pp,Up=function Up(e){try{return{error:!1,value:e()};}catch(e){return{error:!0,value:e};}},Ap=o.Promise,zp=o,Rp=Ap,Np=T,Op=Kt,Lp=rr,Wp=gt,Fp=hm,Hp=ge,jp=Rp&&Rp.prototype,Xp=Wp("species"),Yp=!1,qp=Np(zp.PromiseRejectionEvent),_p=Op("Promise",function(){var e=Lp(Rp),t=e!==String(Rp);if(!t&&66===Hp)return!0;if(!jp.catch||!jp.finally)return!0;if(!Hp||Hp<51||!/native code/.test(e)){var i=new Rp(function(e){e(1);}),r=function r(e){e(function(){},function(){});};if((i.constructor={})[Xp]=r,!(Yp=i.then(function(){})instanceof r))return!0;}return!(t||"BROWSER"!==Fp&&"DENO"!==Fp||qp);}),Zp={CONSTRUCTOR:_p,REJECTION_EVENT:qp,SUBCLASSING:Yp},Gp={},Kp=De,$p=TypeError,Jp=function Jp(e){var t,i;this.promise=new e(function(e,r){if(void 0!==t||void 0!==i)throw new $p("Bad Promise constructor");t=e,i=r;}),this.resolve=Kp(t),this.reject=Kp(i);};Gp.f=function(e){return new Jp(e);};var Qp,ey,ty,iy=Mi,ry=dm,ny=o,oy=Q,ay=D,sy=Go,ly=ka,uy=pm,cy=De,hy=T,dy=J,fy=bm,vy=Vm,gy=ip.set,my=Mp,py=function py(e,t){try{1===arguments.length?console.error(e):console.error(e,t);}catch(e){}},yy=Up,wy=fp,by=Oa,ky=Ap,Sy=Gp,xy="Promise",Cy=Zp.CONSTRUCTOR,Vy=Zp.REJECTION_EVENT,Ty=by.getterFor(xy),Iy=by.set,Ey=ky&&ky.prototype,Py=ky,By=Ey,Dy=ny.TypeError,My=ny.document,Uy=ny.process,Ay=Sy.f,zy=Ay,Ry=!!(My&&My.createEvent&&ny.dispatchEvent),Ny="unhandledrejection",Oy=function Oy(e){var t;return!(!dy(e)||!hy(t=e.then))&&t;},Ly=function Ly(e,t){var i,r,n,o=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&Xy(t),t.rejection=1),!0===s?i=o:(c&&c.enter(),i=s(o),c&&(c.exit(),n=!0)),i===e.promise?u(new Dy("Promise-chain cycle")):(r=Oy(i))?ay(r,i,l,u):l(i)):u(o);}catch(e){c&&!n&&c.exit(),u(e);}},Wy=function Wy(e,t){e.notified||(e.notified=!0,my(function(){for(var i,r=e.reactions;i=r.get();)Ly(i,e);e.notified=!1,t&&!e.rejection&&Hy(e);}));},Fy=function Fy(e,t,i){var r,n;Ry?((r=My.createEvent("Event")).promise=t,r.reason=i,r.initEvent(e,!1,!0),ny.dispatchEvent(r)):r={promise:t,reason:i},!Vy&&(n=ny["on"+e])?n(r):e===Ny&&py("Unhandled promise rejection",i);},Hy=function Hy(e){ay(gy,ny,function(){var t,i=e.facade,r=e.value;if(jy(e)&&(t=yy(function(){ry?Uy.emit("unhandledRejection",r,i):Fy(Ny,i,r);}),e.rejection=ry||jy(e)?2:1,t.error))throw t.value;});},jy=function jy(e){return 1!==e.rejection&&!e.parent;},Xy=function Xy(e){ay(gy,ny,function(){var t=e.facade;ry?Uy.emit("rejectionHandled",t):Fy("rejectionhandled",t,e.value);});},Yy=function Yy(e,t,i){return function(r){e(t,r,i);};},qy=function qy(e,t,i){e.done||(e.done=!0,i&&(e=i),e.value=t,e.state=2,Wy(e,!0));},_y2=function _y(e,t,i){if(!e.done){e.done=!0,i&&(e=i);try{if(e.facade===t)throw new Dy("Promise can't be resolved itself");var r=Oy(t);r?my(function(){var i={done:!1};try{ay(r,t,Yy(_y2,i,e),Yy(qy,i,e));}catch(t){qy(i,t,e);}}):(e.value=t,e.state=1,Wy(e,!1));}catch(t){qy({done:!1},t,e);}}};Cy&&(By=(Py=function Py(e){fy(this,By),cy(e),ay(Qp,this);var t=Ty(this);try{e(Yy(_y2,t),Yy(qy,t));}catch(e){qy(t,e);}}).prototype,(Qp=function Qp(e){Iy(this,{type:xy,done:!1,notified:!1,parent:!1,reactions:new wy(),rejection:!1,state:0,value:null});}).prototype=sy(By,"then",function(e,t){var i=Ty(this),r=Ay(vy(this,Py));return i.parent=!0,r.ok=!hy(e)||e,r.fail=hy(t)&&t,r.domain=ry?Uy.domain:void 0,0===i.state?i.reactions.add(r):my(function(){Ly(r,i);}),r.promise;}),ey=function ey(){var e=new Qp(),t=Ty(e);this.promise=e,this.resolve=Yy(_y2,t),this.reject=Yy(qy,t);},Sy.f=Ay=function Ay(e){return e===Py||e===ty?new ey(e):zy(e);}),iy({global:!0,constructor:!0,wrap:!0,forced:Cy},{Promise:Py}),ty=oy.Promise,ly(Py,xy,!1,!0),uy(xy);var Zy=Ap,Gy=Zp.CONSTRUCTOR||!Td(function(e){Zy.all(e).then(void 0,function(){});}),Ky=D,$y=De,Jy=Gp,Qy=Up,ew=Og;Mi({target:"Promise",stat:!0,forced:Gy},{all:function all(e){var t=this,i=Jy.f(t),r=i.resolve,n=i.reject,o=Qy(function(){var i=$y(t.resolve),o=[],a=0,s=1;ew(e,function(e){var l=a++,u=!1;s++,Ky(i,t,e).then(function(e){u||(u=!0,o[l]=e,--s||r(o));},n);}),--s||r(o);});return o.error&&n(o.value),i.promise;}});var tw=Mi,iw=Zp.CONSTRUCTOR;Ap&&Ap.prototype,tw({target:"Promise",proto:!0,forced:iw,real:!0},{catch:function _catch(e){return this.then(void 0,e);}});var rw=D,nw=De,ow=Gp,aw=Up,sw=Og;Mi({target:"Promise",stat:!0,forced:Gy},{race:function race(e){var t=this,i=ow.f(t),r=i.reject,n=aw(function(){var n=nw(t.resolve);sw(e,function(e){rw(n,t,e).then(i.resolve,r);});});return n.error&&r(n.value),i.promise;}});var lw=Gp;Mi({target:"Promise",stat:!0,forced:Zp.CONSTRUCTOR},{reject:function reject(e){var t=lw.f(this);return(0,t.reject)(e),t.promise;}});var uw=ai,cw=J,hw=Gp,dw=function dw(e,t){if(uw(e),cw(t)&&t.constructor===e)return t;var i=hw.f(e);return(0,i.resolve)(t),i.promise;},fw=Mi,vw=Ap,gw=Zp.CONSTRUCTOR,mw=dw,pw=ne("Promise"),yw=!gw;fw({target:"Promise",stat:!0,forced:true},{resolve:function resolve(e){return mw(yw&&this===pw?vw:this,e);}});var ww=D,bw=De,kw=Gp,Sw=Up,xw=Og;Mi({target:"Promise",stat:!0,forced:Gy},{allSettled:function allSettled(e){var t=this,i=kw.f(t),r=i.resolve,n=i.reject,o=Sw(function(){var i=bw(t.resolve),n=[],o=0,a=1;xw(e,function(e){var s=o++,l=!1;a++,ww(i,t,e).then(function(e){l||(l=!0,n[s]={status:"fulfilled",value:e},--a||r(n));},function(e){l||(l=!0,n[s]={status:"rejected",reason:e},--a||r(n));});}),--a||r(n);});return o.error&&n(o.value),i.promise;}});var Cw=D,Vw=De,Tw=ne,Iw=Gp,Ew=Up,Pw=Og,Bw="No one promise resolved";Mi({target:"Promise",stat