trtc-sdk-v5
Version:
Tencent Cloud RTC SDK for Web
1 lines • 871 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TRTC=t()}(this,(function(){function e(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(i){if("default"!==i&&!(i in e)){var r=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,r.get?r:{enumerable:!0,get:function(){return t[i]}})}}))})),Object.freeze(e)}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r=function(e){return e&&e.Math===Math&&e},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),o={},s=function(e){try{return!!e()}catch(t){return!0}},a=!s((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),l=c,d=Function.prototype.call,u=l?d.bind(d):function(){return d.apply(d,arguments)},h={},p={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,_=m&&!p.call({1:2},1);h.f=_?function(e){var t=m(this,e);return!!t&&t.enumerable}:p;var f,g,E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},T=c,v=Function.prototype,y=v.call,S=T&&v.bind.bind(y,y),I=T?S:function(e){return function(){return y.apply(e,arguments)}},A=I,R=A({}.toString),C=A("".slice),b=function(e){return C(R(e),8,-1)},k=s,D=b,w=Object,N=I("".split),O=k((function(){return!w("z").propertyIsEnumerable(0)}))?function(e){return"String"===D(e)?N(e,""):w(e)}:w,M=function(e){return null==e},P=M,L=TypeError,x=function(e){if(P(e))throw new L("Can't call method on "+e);return e},V=O,U=x,F=function(e){return V(U(e))},B="object"==typeof document&&document.all,H=void 0===B&&void 0!==B?function(e){return"function"==typeof e||e===B}:function(e){return"function"==typeof e},W=H,G=function(e){return"object"==typeof e?null!==e:W(e)},j=n,J=H,K=function(e,t){return arguments.length<2?(i=j[e],J(i)?i:void 0):j[e]&&j[e][t];var i},q=I({}.isPrototypeOf),z=n.navigator,Y=z&&z.userAgent,X=Y?String(Y):"",Q=n,Z=X,$=Q.process,ee=Q.Deno,te=$&&$.versions||ee&&ee.version,ie=te&&te.v8;ie&&(g=(f=ie.split("."))[0]>0&&f[0]<4?1:+(f[0]+f[1])),!g&&Z&&(!(f=Z.match(/Edge\/(\d+)/))||f[1]>=74)&&(f=Z.match(/Chrome\/(\d+)/))&&(g=+f[1]);var re=g,ne=re,oe=s,se=n.String,ae=!!Object.getOwnPropertySymbols&&!oe((function(){var e=Symbol("symbol detection");return!se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ne&&ne<41})),ce=ae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=K,de=H,ue=q,he=Object,pe=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return de(t)&&ue(t.prototype,he(e))},me=String,_e=function(e){try{return me(e)}catch(t){return"Object"}},fe=H,ge=_e,Ee=TypeError,Te=function(e){if(fe(e))return e;throw new Ee(ge(e)+" is not a function")},ve=Te,ye=M,Se=function(e,t){var i=e[t];return ye(i)?void 0:ve(i)},Ie=u,Ae=H,Re=G,Ce=TypeError,be={exports:{}},ke=n,De=Object.defineProperty,we=function(e,t){try{De(ke,e,{value:t,configurable:!0,writable:!0})}catch(i){ke[e]=t}return t},Ne=n,Oe=we,Me="__core-js_shared__",Pe=be.exports=Ne[Me]||Oe(Me,{});(Pe.versions||(Pe.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Le=be.exports,xe=Le,Ve=function(e,t){return xe[e]||(xe[e]=t||{})},Ue=x,Fe=Object,Be=function(e){return Fe(Ue(e))},He=Be,We=I({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return We(He(e),t)},je=I,Je=0,Ke=Math.random(),qe=je(1..toString),ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+qe(++Je+Ke,36)},Ye=Ve,Xe=Ge,Qe=ze,Ze=ae,$e=ce,et=n.Symbol,tt=Ye("wks"),it=$e?et.for||et:et&&et.withoutSetter||Qe,rt=function(e){return Xe(tt,e)||(tt[e]=Ze&&Xe(et,e)?et[e]:it("Symbol."+e)),tt[e]},nt=u,ot=G,st=pe,at=Se,ct=function(e,t){var i,r;if("string"===t&&Ae(i=e.toString)&&!Re(r=Ie(i,e)))return r;if(Ae(i=e.valueOf)&&!Re(r=Ie(i,e)))return r;if("string"!==t&&Ae(i=e.toString)&&!Re(r=Ie(i,e)))return r;throw new Ce("Can't convert object to primitive value")},lt=TypeError,dt=rt("toPrimitive"),ut=function(e,t){if(!ot(e)||st(e))return e;var i,r=at(e,dt);if(r){if(void 0===t&&(t="default"),i=nt(r,e,t),!ot(i)||st(i))return i;throw new lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},ht=ut,pt=pe,mt=function(e){var t=ht(e,"string");return pt(t)?t:t+""},_t=G,ft=n.document,gt=_t(ft)&&_t(ft.createElement),Et=function(e){return gt?ft.createElement(e):{}},Tt=Et,vt=!a&&!s((function(){return 7!==Object.defineProperty(Tt("div"),"a",{get:function(){return 7}}).a})),yt=a,St=u,It=h,At=E,Rt=F,Ct=mt,bt=Ge,kt=vt,Dt=Object.getOwnPropertyDescriptor;o.f=yt?Dt:function(e,t){if(e=Rt(e),t=Ct(t),kt)try{return Dt(e,t)}catch(i){}if(bt(e,t))return At(!St(It.f,e,t),e[t])};var wt={},Nt=a&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=G,Mt=String,Pt=TypeError,Lt=function(e){if(Ot(e))return e;throw new Pt(Mt(e)+" is not an object")},xt=a,Vt=vt,Ut=Nt,Ft=Lt,Bt=mt,Ht=TypeError,Wt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,jt="enumerable",Jt="configurable",Kt="writable";wt.f=xt?Ut?function(e,t,i){if(Ft(e),t=Bt(t),Ft(i),"function"==typeof e&&"prototype"===t&&"value"in i&&Kt in i&&!i[Kt]){var r=Gt(e,t);r&&r[Kt]&&(e[t]=i.value,i={configurable:Jt in i?i[Jt]:r[Jt],enumerable:jt in i?i[jt]:r[jt],writable:!1})}return Wt(e,t,i)}:Wt:function(e,t,i){if(Ft(e),t=Bt(t),Ft(i),Vt)try{return Wt(e,t,i)}catch(r){}if("get"in i||"set"in i)throw new Ht("Accessors not supported");return"value"in i&&(e[t]=i.value),e};var qt=wt,zt=E,Yt=a?function(e,t,i){return qt.f(e,t,zt(1,i))}:function(e,t,i){return e[t]=i,e},Xt={exports:{}},Qt=a,Zt=Ge,$t=Function.prototype,ei=Qt&&Object.getOwnPropertyDescriptor,ti=Zt($t,"name"),ii={EXISTS:ti,PROPER:ti&&"something"===function(){}.name,CONFIGURABLE:ti&&(!Qt||Qt&&ei($t,"name").configurable)},ri=H,ni=Le,oi=I(Function.toString);ri(ni.inspectSource)||(ni.inspectSource=function(e){return oi(e)});var si,ai,ci,li=ni.inspectSource,di=H,ui=n.WeakMap,hi=di(ui)&&/native code/.test(String(ui)),pi=ze,mi=Ve("keys"),_i=function(e){return mi[e]||(mi[e]=pi(e))},fi={},gi=hi,Ei=n,Ti=G,vi=Yt,yi=Ge,Si=Le,Ii=_i,Ai=fi,Ri="Object already initialized",Ci=Ei.TypeError,bi=Ei.WeakMap;if(gi||Si.state){var ki=Si.state||(Si.state=new bi);ki.get=ki.get,ki.has=ki.has,ki.set=ki.set,si=function(e,t){if(ki.has(e))throw new Ci(Ri);return t.facade=e,ki.set(e,t),t},ai=function(e){return ki.get(e)||{}},ci=function(e){return ki.has(e)}}else{var Di=Ii("state");Ai[Di]=!0,si=function(e,t){if(yi(e,Di))throw new Ci(Ri);return t.facade=e,vi(e,Di,t),t},ai=function(e){return yi(e,Di)?e[Di]:{}},ci=function(e){return yi(e,Di)}}var wi={set:si,get:ai,has:ci,enforce:function(e){return ci(e)?ai(e):si(e,{})},getterFor:function(e){return function(t){var i;if(!Ti(t)||(i=ai(t)).type!==e)throw new Ci("Incompatible receiver, "+e+" required");return i}}},Ni=I,Oi=s,Mi=H,Pi=Ge,Li=a,xi=ii.CONFIGURABLE,Vi=li,Ui=wi.enforce,Fi=wi.get,Bi=String,Hi=Object.defineProperty,Wi=Ni("".slice),Gi=Ni("".replace),ji=Ni([].join),Ji=Li&&!Oi((function(){return 8!==Hi((function(){}),"length",{value:8}).length})),Ki=String(String).split("String"),qi=Xt.exports=function(e,t,i){"Symbol("===Wi(Bi(t),0,7)&&(t="["+Gi(Bi(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!Pi(e,"name")||xi&&e.name!==t)&&(Li?Hi(e,"name",{value:t,configurable:!0}):e.name=t),Ji&&i&&Pi(i,"arity")&&e.length!==i.arity&&Hi(e,"length",{value:i.arity});try{i&&Pi(i,"constructor")&&i.constructor?Li&&Hi(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(n){}var r=Ui(e);return Pi(r,"source")||(r.source=ji(Ki,"string"==typeof t?t:"")),e};Function.prototype.toString=qi((function(){return Mi(this)&&Fi(this).source||Vi(this)}),"toString");var zi=Xt.exports,Yi=H,Xi=wt,Qi=zi,Zi=we,$i=function(e,t,i,r){r||(r={});var n=r.enumerable,o=void 0!==r.name?r.name:t;if(Yi(i)&&Qi(i,o,r),r.global)n?e[t]=i:Zi(t,i);else{try{r.unsafe?e[t]&&(n=!0):delete e[t]}catch(s){}n?e[t]=i:Xi.f(e,t,{value:i,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},er={},tr=Math.ceil,ir=Math.floor,rr=Math.trunc||function(e){var t=+e;return(t>0?ir:tr)(t)},nr=rr,or=function(e){var t=+e;return t!=t||0===t?0:nr(t)},sr=or,ar=Math.max,cr=Math.min,lr=function(e,t){var i=sr(e);return i<0?ar(i+t,0):cr(i,t)},dr=or,ur=Math.min,hr=function(e){var t=dr(e);return t>0?ur(t,9007199254740991):0},pr=hr,mr=function(e){return pr(e.length)},_r=F,fr=lr,gr=mr,Er=function(e){return function(t,i,r){var n=_r(t),o=gr(n);if(0===o)return!e&&-1;var s,a=fr(r,o);if(e&&i!=i){for(;o>a;)if((s=n[a++])!=s)return!0}else for(;o>a;a++)if((e||a in n)&&n[a]===i)return e||a||0;return!e&&-1}},Tr={includes:Er(!0),indexOf:Er(!1)},vr=Ge,yr=F,Sr=Tr.indexOf,Ir=fi,Ar=I([].push),Rr=function(e,t){var i,r=yr(e),n=0,o=[];for(i in r)!vr(Ir,i)&&vr(r,i)&&Ar(o,i);for(;t.length>n;)vr(r,i=t[n++])&&(~Sr(o,i)||Ar(o,i));return o},Cr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],br=Rr,kr=Cr.concat("length","prototype");er.f=Object.getOwnPropertyNames||function(e){return br(e,kr)};var Dr={};Dr.f=Object.getOwnPropertySymbols;var wr=K,Nr=er,Or=Dr,Mr=Lt,Pr=I([].concat),Lr=wr("Reflect","ownKeys")||function(e){var t=Nr.f(Mr(e)),i=Or.f;return i?Pr(t,i(e)):t},xr=Ge,Vr=Lr,Ur=o,Fr=wt,Br=function(e,t,i){for(var r=Vr(t),n=Fr.f,o=Ur.f,s=0;s<r.length;s++){var a=r[s];xr(e,a)||i&&xr(i,a)||n(e,a,o(t,a))}},Hr=s,Wr=H,Gr=/#|\.prototype\./,jr=function(e,t){var i=Kr[Jr(e)];return i===zr||i!==qr&&(Wr(t)?Hr(t):!!t)},Jr=jr.normalize=function(e){return String(e).replace(Gr,".").toLowerCase()},Kr=jr.data={},qr=jr.NATIVE="N",zr=jr.POLYFILL="P",Yr=jr,Xr=n,Qr=o.f,Zr=Yt,$r=$i,en=we,tn=Br,rn=Yr,nn=function(e,t){var i,r,n,o,s,a=e.target,c=e.global,l=e.stat;if(i=c?Xr:l?Xr[a]||en(a,{}):Xr[a]&&Xr[a].prototype)for(r in t){if(o=t[r],n=e.dontCallGetSet?(s=Qr(i,r))&&s.value:i[r],!rn(c?r:a+(l?".":"#")+r,e.forced)&&void 0!==n){if(typeof o==typeof n)continue;tn(o,n)}(e.sham||n&&n.sham)&&Zr(o,"sham",!0),$r(i,r,o,e)}},on={};on[rt("toStringTag")]="z";var sn="[object z]"===String(on),an=H,cn=b,ln=rt("toStringTag"),dn=Object,un="Arguments"===cn(function(){return arguments}()),hn=sn?cn: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(i){}}(t=dn(e),ln))?i:un?cn(t):"Object"===(r=cn(t))&&an(t.callee)?"Arguments":r},pn=hn,mn=String,_n=function(e){if("Symbol"===pn(e))throw new TypeError("Cannot convert a Symbol value to a string");return mn(e)},fn=zi,gn=wt,En=function(e,t,i){return i.get&&fn(i.get,t,{getter:!0}),i.set&&fn(i.set,t,{setter:!0}),gn.f(e,t,i)},Tn=nn,vn=a,yn=I,Sn=Ge,In=H,An=q,Rn=_n,Cn=En,bn=Br,kn=n.Symbol,Dn=kn&&kn.prototype;if(vn&&In(kn)&&(!("description"in Dn)||void 0!==kn().description)){var wn={},Nn=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:Rn(arguments[0]),t=An(Dn,this)?new kn(e):void 0===e?kn():kn(e);return""===e&&(wn[t]=!0),t};bn(Nn,kn),Nn.prototype=Dn,Dn.constructor=Nn;var On="Symbol(description detection)"===String(kn("description detection")),Mn=yn(Dn.valueOf),Pn=yn(Dn.toString),Ln=/^Symbol\((.*)\)[^)]+$/,xn=yn("".replace),Vn=yn("".slice);Cn(Dn,"description",{configurable:!0,get:function(){var e=Mn(this);if(Sn(wn,e))return"";var t=Pn(e),i=On?Vn(t,7,-1):xn(t,Ln,"$1");return""===i?void 0:i}}),Tn({global:!0,constructor:!0,forced:!0},{Symbol:Nn})}var Un={},Fn=Rr,Bn=Cr,Hn=Object.keys||function(e){return Fn(e,Bn)},Wn=a,Gn=Nt,jn=wt,Jn=Lt,Kn=F,qn=Hn;Un.f=Wn&&!Gn?Object.defineProperties:function(e,t){Jn(e);for(var i,r=Kn(t),n=qn(t),o=n.length,s=0;o>s;)jn.f(e,i=n[s++],r[i]);return e};var zn,Yn=K("document","documentElement"),Xn=Lt,Qn=Un,Zn=Cr,$n=fi,eo=Yn,to=Et,io="prototype",ro="script",no=_i("IE_PROTO"),oo=function(){},so=function(e){return"<"+ro+">"+e+"</"+ro+">"},ao=function(e){e.write(so("")),e.close();var t=e.parentWindow.Object;return e=null,t},co=function(){try{zn=new ActiveXObject("htmlfile")}catch(n){}var e,t,i;co="undefined"!=typeof document?document.domain&&zn?ao(zn):(t=to("iframe"),i="java"+ro+":",t.style.display="none",eo.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(so("document.F=Object")),e.close(),e.F):ao(zn);for(var r=Zn.length;r--;)delete co[io][Zn[r]];return co()};$n[no]=!0;var lo=Object.create||function(e,t){var i;return null!==e?(oo[io]=Xn(e),i=new oo,oo[io]=null,i[no]=e):i=co(),void 0===t?i:Qn.f(i,t)},uo=rt,ho=lo,po=wt.f,mo=uo("unscopables"),_o=Array.prototype;void 0===_o[mo]&&po(_o,mo,{configurable:!0,value:ho(null)});var fo=function(e){_o[mo][e]=!0},go=Tr.includes,Eo=fo;nn({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(e){return go(this,e,arguments.length>1?arguments[1]:void 0)}}),Eo("includes");var To,vo,yo,So={},Io=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Ao=Ge,Ro=H,Co=Be,bo=Io,ko=_i("IE_PROTO"),Do=Object,wo=Do.prototype,No=bo?Do.getPrototypeOf:function(e){var t=Co(e);if(Ao(t,ko))return t[ko];var i=t.constructor;return Ro(i)&&t instanceof i?i.prototype:t instanceof Do?wo:null},Oo=s,Mo=H,Po=G,Lo=No,xo=$i,Vo=rt("iterator"),Uo=!1;[].keys&&("next"in(yo=[].keys())?(vo=Lo(Lo(yo)))!==Object.prototype&&(To=vo):Uo=!0);var Fo=!Po(To)||Oo((function(){var e={};return To[Vo].call(e)!==e}));Fo&&(To={}),Mo(To[Vo])||xo(To,Vo,(function(){return this}));var Bo={IteratorPrototype:To,BUGGY_SAFARI_ITERATORS:Uo},Ho=wt.f,Wo=Ge,Go=rt("toStringTag"),jo=function(e,t,i){e&&!i&&(e=e.prototype),e&&!Wo(e,Go)&&Ho(e,Go,{configurable:!0,value:t})},Jo=Bo.IteratorPrototype,Ko=lo,qo=E,zo=jo,Yo=So,Xo=function(){return this},Qo=function(e,t,i,r){var n=t+" Iterator";return e.prototype=Ko(Jo,{next:qo(+!r,i)}),zo(e,n,!1),Yo[n]=Xo,e},Zo=I,$o=Te,es=G,ts=function(e){return es(e)||null===e},is=String,rs=TypeError,ns=function(e,t,i){try{return Zo($o(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(r){}},os=G,ss=x,as=function(e){if(ts(e))return e;throw new rs("Can't set "+is(e)+" as a prototype")},cs=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=ns(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(r){}return function(i,r){return ss(i),as(r),os(i)?(t?e(i,r):i.__proto__=r,i):i}}():void 0),ls=nn,ds=u,us=H,hs=Qo,ps=No,ms=cs,_s=jo,fs=Yt,gs=$i,Es=So,Ts=ii.PROPER,vs=ii.CONFIGURABLE,ys=Bo.IteratorPrototype,Ss=Bo.BUGGY_SAFARI_ITERATORS,Is=rt("iterator"),As="keys",Rs="values",Cs="entries",bs=function(){return this},ks=function(e,t,i,r,n,o,s){hs(i,t,r);var a,c,l,d=function(e){if(e===n&&_)return _;if(!Ss&&e&&e in p)return p[e];switch(e){case As:case Rs:case Cs:return function(){return new i(this,e)}}return function(){return new i(this)}},u=t+" Iterator",h=!1,p=e.prototype,m=p[Is]||p["@@iterator"]||n&&p[n],_=!Ss&&m||d(n),f="Array"===t&&p.entries||m;if(f&&(a=ps(f.call(new e)))!==Object.prototype&&a.next&&(ps(a)!==ys&&(ms?ms(a,ys):us(a[Is])||gs(a,Is,bs)),_s(a,u,!0)),Ts&&n===Rs&&m&&m.name!==Rs&&(vs?fs(p,"name",Rs):(h=!0,_=function(){return ds(m,this)})),n)if(c={values:d(Rs),keys:o?_:d(As),entries:d(Cs)},s)for(l in c)(Ss||h||!(l in p))&&gs(p,l,c[l]);else ls({target:t,proto:!0,forced:Ss||h},c);return p[Is]!==_&&gs(p,Is,_,{name:n}),Es[t]=_,c},Ds=function(e,t){return{value:e,done:t}},ws=F,Ns=fo,Os=So,Ms=wi,Ps=wt.f,Ls=ks,xs=Ds,Vs=a,Us="Array Iterator",Fs=Ms.set,Bs=Ms.getterFor(Us),Hs=Ls(Array,"Array",(function(e,t){Fs(this,{type:Us,target:ws(e),index:0,kind:t})}),(function(){var e=Bs(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,xs(void 0,!0);switch(e.kind){case"keys":return xs(i,!1);case"values":return xs(t[i],!1)}return xs([i,t[i]],!1)}),"values"),Ws=Os.Arguments=Os.Array;if(Ns("keys"),Ns("values"),Ns("entries"),Vs&&"values"!==Ws.name)try{Ps(Ws,"name",{value:"values"})}catch(pJ){}var Gs=Te,js=Be,Js=O,Ks=mr,qs=TypeError,zs="Reduce of empty array with no initial value",Ys=function(e){return function(t,i,r,n){var o=js(t),s=Js(o),a=Ks(o);if(Gs(i),0===a&&r<2)throw new qs(zs);var c=e?a-1:0,l=e?-1:1;if(r<2)for(;;){if(c in s){n=s[c],c+=l;break}if(c+=l,e?c<0:a<=c)throw new qs(zs)}for(;e?c>=0:a>c;c+=l)c in s&&(n=i(n,s[c],c,o));return n}},Xs={left:Ys(!1),right:Ys(!0)},Qs=s,Zs=function(e,t){var i=[][e];return!!i&&Qs((function(){i.call(null,t||function(){return 1},1)}))},$s=n,ea=X,ta=b,ia=function(e){return ea.slice(0,e.length)===e},ra=ia("Bun/")?"BUN":ia("Cloudflare-Workers")?"CLOUDFLARE":ia("Deno/")?"DENO":ia("Node.js/")?"NODE":$s.Bun&&"string"==typeof Bun.version?"BUN":$s.Deno&&"object"==typeof Deno.version?"DENO":"process"===ta($s.process)?"NODE":$s.window&&$s.document?"BROWSER":"REST",na="NODE"===ra,oa=Xs.left;nn({target:"Array",proto:!0,forced:!na&&re>79&&re<83||!Zs("reduce")},{reduce:function(e){var t=arguments.length;return oa(this,e,t,t>1?arguments[1]:void 0)}});var sa=Xs.right;nn({target:"Array",proto:!0,forced:!na&&re>79&&re<83||!Zs("reduceRight")},{reduceRight:function(e){return sa(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var aa=b,ca=Array.isArray||function(e){return"Array"===aa(e)},la=nn,da=ca,ua=I([].reverse),ha=[1,2];la({target:"Array",proto:!0,forced:String(ha)===String(ha.reverse())},{reverse:function(){return da(this)&&(this.length=this.length),ua(this)}});var pa=_e,ma=TypeError,_a=I([].slice),fa=_a,ga=Math.floor,Ea=function(e,t){var i=e.length;if(i<8)for(var r,n,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}else for(var s=ga(i/2),a=Ea(fa(e,0,s),t),c=Ea(fa(e,s),t),l=a.length,d=c.length,u=0,h=0;u<l||h<d;)e[u+h]=u<l&&h<d?t(a[u],c[h])<=0?a[u++]:c[h++]:u<l?a[u++]:c[h++];return e},Ta=Ea,va=X.match(/firefox\/(\d+)/i),ya=!!va&&+va[1],Sa=/MSIE|Trident/.test(X),Ia=X.match(/AppleWebKit\/(\d+)\./),Aa=!!Ia&&+Ia[1],Ra=nn,Ca=I,ba=Te,ka=Be,Da=mr,wa=function(e,t){if(!delete e[t])throw new ma("Cannot delete property "+pa(t)+" of "+pa(e))},Na=_n,Oa=s,Ma=Ta,Pa=Zs,La=ya,xa=Sa,Va=re,Ua=Aa,Fa=[],Ba=Ca(Fa.sort),Ha=Ca(Fa.push),Wa=Oa((function(){Fa.sort(void 0)})),Ga=Oa((function(){Fa.sort(null)})),ja=Pa("sort"),Ja=!Oa((function(){if(Va)return Va<70;if(!(La&&La>3)){if(xa)return!0;if(Ua)return Ua<603;var e,t,i,r,n="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(r=0;r<47;r++)Fa.push({k:t+r,v:i})}for(Fa.sort((function(e,t){return t.v-e.v})),r=0;r<Fa.length;r++)t=Fa[r].k.charAt(0),n.charAt(n.length-1)!==t&&(n+=t);return"DGBEFHACIJK"!==n}}));Ra({target:"Array",proto:!0,forced:Wa||!Ga||!ja||!Ja},{sort:function(e){void 0!==e&&ba(e);var t=ka(this);if(Ja)return void 0===e?Ba(t):Ba(t,e);var i,r,n=[],o=Da(t);for(r=0;r<o;r++)r in t&&Ha(n,t[r]);for(Ma(n,function(e){return function(t,i){return void 0===i?-1:void 0===t?1:void 0!==e?+e(t,i)||0:Na(t)>Na(i)?1:-1}}(e)),i=Da(n),r=0;r<i;)t[r]=n[r++];for(;r<o;)wa(t,r++);return t}});var Ka="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,qa=$i,za=function(e,t,i){for(var r in t)qa(e,r,t[r],i);return e},Ya=q,Xa=TypeError,Qa=function(e,t){if(Ya(t,e))return e;throw new Xa("Incorrect invocation")},Za=or,$a=hr,ec=RangeError,tc=function(e){if(void 0===e)return 0;var t=Za(e),i=$a(t);if(t!==i)throw new ec("Wrong length or index");return i},ic=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1},rc=4503599627370496,nc=ic,oc=function(e){return e+rc-rc},sc=Math.abs,ac=function(e,t,i,r){var n=+e,o=sc(n),s=nc(n);if(o<r)return s*oc(o/r/t)*r*t;var a=(1+t/2220446049250313e-31)*o,c=a-(a-o);return c>i||c!=c?Infinity*s:s*c},cc=Math.fround||function(e){return ac(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)},lc=Array,dc=Math.abs,uc=Math.pow,hc=Math.floor,pc=Math.log,mc=Math.LN2,_c={pack:function(e,t,i){var r,n,o,s=lc(i),a=8*i-t-1,c=(1<<a)-1,l=c>>1,d=23===t?uc(2,-24)-uc(2,-77):0,u=e<0||0===e&&1/e<0?1:0,h=0;for((e=dc(e))!=e||Infinity===e?(n=e!=e?1:0,r=c):(r=hc(pc(e)/mc),e*(o=uc(2,-r))<1&&(r--,o*=2),(e+=r+l>=1?d/o:d*uc(2,1-l))*o>=2&&(r++,o/=2),r+l>=c?(n=0,r=c):r+l>=1?(n=(e*o-1)*uc(2,t),r+=l):(n=e*uc(2,l-1)*uc(2,t),r=0));t>=8;)s[h++]=255&n,n/=256,t-=8;for(r=r<<t|n,a+=t;a>0;)s[h++]=255&r,r/=256,a-=8;return s[h-1]|=128*u,s},unpack:function(e,t){var i,r=e.length,n=8*r-t-1,o=(1<<n)-1,s=o>>1,a=n-7,c=r-1,l=e[c--],d=127&l;for(l>>=7;a>0;)d=256*d+e[c--],a-=8;for(i=d&(1<<-a)-1,d>>=-a,a+=t;a>0;)i=256*i+e[c--],a-=8;if(0===d)d=1-s;else{if(d===o)return i?NaN:l?-Infinity:Infinity;i+=uc(2,t),d-=s}return(l?-1:1)*i*uc(2,d-t)}},fc=Be,gc=lr,Ec=mr,Tc=function(e){for(var t=fc(this),i=Ec(t),r=arguments.length,n=gc(r>1?arguments[1]:void 0,i),o=r>2?arguments[2]:void 0,s=void 0===o?i:gc(o,i);s>n;)t[n++]=e;return t},vc=H,yc=G,Sc=cs,Ic=function(e,t,i){var r,n;return Sc&&vc(r=t.constructor)&&r!==i&&yc(n=r.prototype)&&n!==i.prototype&&Sc(e,n),e},Ac=n,Rc=I,Cc=a,bc=Ka,kc=Yt,Dc=En,wc=za,Nc=s,Oc=Qa,Mc=or,Pc=hr,Lc=tc,xc=cc,Vc=_c,Uc=No,Fc=cs,Bc=Tc,Hc=_a,Wc=Ic,Gc=Br,jc=jo,Jc=wi,Kc=ii.PROPER,qc=ii.CONFIGURABLE,zc="ArrayBuffer",Yc="DataView",Xc="prototype",Qc="Wrong index",Zc=Jc.getterFor(zc),$c=Jc.getterFor(Yc),el=Jc.set,tl=Ac[zc],il=tl,rl=il&&il[Xc],nl=Ac[Yc],ol=nl&&nl[Xc],sl=Object.prototype,al=Ac.Array,cl=Ac.RangeError,ll=Rc(Bc),dl=Rc([].reverse),ul=Vc.pack,hl=Vc.unpack,pl=function(e){return[255&e]},ml=function(e){return[255&e,e>>8&255]},_l=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},fl=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},gl=function(e){return ul(xc(e),23,4)},El=function(e){return ul(e,52,8)},Tl=function(e,t,i){Dc(e[Xc],t,{configurable:!0,get:function(){return i(this)[t]}})},vl=function(e,t,i,r){var n=$c(e),o=Lc(i),s=!!r;if(o+t>n.byteLength)throw new cl(Qc);var a=n.bytes,c=o+n.byteOffset,l=Hc(a,c,c+t);return s?l:dl(l)},yl=function(e,t,i,r,n,o){var s=$c(e),a=Lc(i),c=r(+n),l=!!o;if(a+t>s.byteLength)throw new cl(Qc);for(var d=s.bytes,u=a+s.byteOffset,h=0;h<t;h++)d[u+h]=c[l?h:t-h-1]};if(bc){var Sl=Kc&&tl.name!==zc;Nc((function(){tl(1)}))&&Nc((function(){new tl(-1)}))&&!Nc((function(){return new tl,new tl(1.5),new tl(NaN),1!==tl.length||Sl&&!qc}))?Sl&&qc&&kc(tl,"name",zc):((il=function(e){return Oc(this,rl),Wc(new tl(Lc(e)),this,il)})[Xc]=rl,rl.constructor=il,Gc(il,tl)),Fc&&Uc(ol)!==sl&&Fc(ol,sl);var Il=new nl(new il(2)),Al=Rc(ol.setInt8);Il.setInt8(0,2147483648),Il.setInt8(1,2147483649),!Il.getInt8(0)&&Il.getInt8(1)||wc(ol,{setInt8:function(e,t){Al(this,e,t<<24>>24)},setUint8:function(e,t){Al(this,e,t<<24>>24)}},{unsafe:!0})}else rl=(il=function(e){Oc(this,rl);var t=Lc(e);el(this,{type:zc,bytes:ll(al(t),0),byteLength:t}),Cc||(this.byteLength=t,this.detached=!1)})[Xc],ol=(nl=function(e,t,i){Oc(this,ol),Oc(e,rl);var r=Zc(e),n=r.byteLength,o=Mc(t);if(o<0||o>n)throw new cl("Wrong offset");if(o+(i=void 0===i?n-o:Pc(i))>n)throw new cl("Wrong length");el(this,{type:Yc,buffer:e,byteLength:i,byteOffset:o,bytes:r.bytes}),Cc||(this.buffer=e,this.byteLength=i,this.byteOffset=o)})[Xc],Cc&&(Tl(il,"byteLength",Zc),Tl(nl,"buffer",$c),Tl(nl,"byteLength",$c),Tl(nl,"byteOffset",$c)),wc(ol,{getInt8:function(e){return vl(this,1,e)[0]<<24>>24},getUint8:function(e){return vl(this,1,e)[0]},getInt16:function(e){var t=vl(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=vl(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return fl(vl(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return fl(vl(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return hl(vl(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return hl(vl(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){yl(this,1,e,pl,t)},setUint8:function(e,t){yl(this,1,e,pl,t)},setInt16:function(e,t){yl(this,2,e,ml,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){yl(this,2,e,ml,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){yl(this,4,e,_l,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){yl(this,4,e,_l,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){yl(this,4,e,gl,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){yl(this,8,e,El,t,arguments.length>2&&arguments[2])}});jc(il,zc),jc(nl,Yc);var Rl={ArrayBuffer:il,DataView:nl},Cl=K,bl=En,kl=a,Dl=rt("species"),wl=function(e){var t=Cl(e);kl&&t&&!t[Dl]&&bl(t,Dl,{configurable:!0,get:function(){return this}})},Nl=wl,Ol="ArrayBuffer",Ml=Rl[Ol];nn({global:!0,constructor:!0,forced:n[Ol]!==Ml},{ArrayBuffer:Ml}),Nl(Ol);var Pl=b,Ll=I,xl=function(e){if("Function"===Pl(e))return Ll(e)},Vl=nn,Ul=xl,Fl=s,Bl=Lt,Hl=lr,Wl=hr,Gl=Rl.ArrayBuffer,jl=Rl.DataView,Jl=jl.prototype,Kl=Ul(Gl.prototype.slice),ql=Ul(Jl.getUint8),zl=Ul(Jl.setUint8);Vl({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:Fl((function(){return!new Gl(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(Kl&&void 0===t)return Kl(Bl(this),e);for(var i=Bl(this).byteLength,r=Hl(e,i),n=Hl(void 0===t?i:t,i),o=new Gl(Wl(n-r)),s=new jl(this),a=new jl(o),c=0;r<n;)zl(a,c++,ql(s,r++));return o}});var Yl=I,Xl=s,Ql=H,Zl=hn,$l=li,ed=function(){},td=K("Reflect","construct"),id=/^\s*(?:class|function)\b/,rd=Yl(id.exec),nd=!id.test(ed),od=function(e){if(!Ql(e))return!1;try{return td(ed,[],e),!0}catch(pJ){return!1}},sd=function(e){if(!Ql(e))return!1;switch(Zl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return nd||!!rd(id,$l(e))}catch(pJ){return!0}};sd.sham=!0;var ad,cd,ld,dd,ud=!td||Xl((function(){var e;return od(od.call)||!od(Object)||!od((function(){e=!0}))||e}))?sd:od,hd=ud,pd=_e,md=TypeError,_d=function(e){if(hd(e))return e;throw new md(pd(e)+" is not a constructor")},fd=Lt,gd=_d,Ed=M,Td=rt("species"),vd=function(e,t){var i,r=fd(e).constructor;return void 0===r||Ed(i=fd(r)[Td])?t:gd(i)},yd=c,Sd=Function.prototype,Id=Sd.apply,Ad=Sd.call,Rd="object"==typeof Reflect&&Reflect.apply||(yd?Ad.bind(Id):function(){return Ad.apply(Id,arguments)}),Cd=Te,bd=c,kd=xl(xl.bind),Dd=function(e,t){return Cd(e),void 0===t?e:bd?kd(e,t):function(){return e.apply(t,arguments)}},wd=TypeError,Nd=function(e,t){if(e<t)throw new wd("Not enough arguments");return e},Od=/(?:ipad|iphone|ipod).*applewebkit/i.test(X),Md=n,Pd=Rd,Ld=Dd,xd=H,Vd=Ge,Ud=s,Fd=Yn,Bd=_a,Hd=Et,Wd=Nd,Gd=Od,jd=na,Jd=Md.setImmediate,Kd=Md.clearImmediate,qd=Md.process,zd=Md.Dispatch,Yd=Md.Function,Xd=Md.MessageChannel,Qd=Md.String,Zd=0,$d={},eu="onreadystatechange";Ud((function(){ad=Md.location}));var tu=function(e){if(Vd($d,e)){var t=$d[e];delete $d[e],t()}},iu=function(e){return function(){tu(e)}},ru=function(e){tu(e.data)},nu=function(e){Md.postMessage(Qd(e),ad.protocol+"//"+ad.host)};Jd&&Kd||(Jd=function(e){Wd(arguments.length,1);var t=xd(e)?e:Yd(e),i=Bd(arguments,1);return $d[++Zd]=function(){Pd(t,void 0,i)},cd(Zd),Zd},Kd=function(e){delete $d[e]},jd?cd=function(e){qd.nextTick(iu(e))}:zd&&zd.now?cd=function(e){zd.now(iu(e))}:Xd&&!Gd?(dd=(ld=new Xd).port2,ld.port1.onmessage=ru,cd=Ld(dd.postMessage,dd)):Md.addEventListener&&xd(Md.postMessage)&&!Md.importScripts&&ad&&"file:"!==ad.protocol&&!Ud(nu)?(cd=nu,Md.addEventListener("message",ru,!1)):cd=eu in Hd("script")?function(e){Fd.appendChild(Hd("script"))[eu]=function(){Fd.removeChild(this),tu(e)}}:function(e){setTimeout(iu(e),0)});var ou={set:Jd,clear:Kd},su=n,au=a,cu=Object.getOwnPropertyDescriptor,lu=function(e){if(!au)return su[e];var t=cu(su,e);return t&&t.value},du=function(){this.head=null,this.tail=null};du.prototype={add:function(e){var t={item:e,next:null},i=this.tail;i?i.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var uu,hu,pu,mu,_u,fu=du,gu=/ipad|iphone|ipod/i.test(X)&&"undefined"!=typeof Pebble,Eu=/web0s(?!.*chrome)/i.test(X),Tu=n,vu=lu,yu=Dd,Su=ou.set,Iu=fu,Au=Od,Ru=gu,Cu=Eu,bu=na,ku=Tu.MutationObserver||Tu.WebKitMutationObserver,Du=Tu.document,wu=Tu.process,Nu=Tu.Promise,Ou=vu("queueMicrotask");if(!Ou){var Mu=new Iu,Pu=function(){var e,t;for(bu&&(e=wu.domain)&&e.exit();t=Mu.get();)try{t()}catch(pJ){throw Mu.head&&uu(),pJ}e&&e.enter()};Au||bu||Cu||!ku||!Du?!Ru&&Nu&&Nu.resolve?((mu=Nu.resolve(void 0)).constructor=Nu,_u=yu(mu.then,mu),uu=function(){_u(Pu)}):bu?uu=function(){wu.nextTick(Pu)}:(Su=yu(Su,Tu),uu=function(){Su(Pu)}):(hu=!0,pu=Du.createTextNode(""),new ku(Pu).observe(pu,{characterData:!0}),uu=function(){pu.data=hu=!hu}),Ou=function(e){Mu.head||uu(),Mu.add(e)}}var Lu=Ou,xu=function(e){try{return{error:!1,value:e()}}catch(pJ){return{error:!0,value:pJ}}},Vu=n.Promise,Uu=n,Fu=Vu,Bu=H,Hu=Yr,Wu=li,Gu=rt,ju=ra,Ju=re;Fu&&Fu.prototype;var Ku=Gu("species"),qu=!1,zu=Bu(Uu.PromiseRejectionEvent),Yu=Hu("Promise",(function(){var e=Wu(Fu),t=e!==String(Fu);if(!t&&66===Ju)return!0;if(!Ju||Ju<51||!/native code/.test(e)){var i=new Fu((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((i.constructor={})[Ku]=r,!(qu=i.then((function(){}))instanceof r))return!0}return!(t||"BROWSER"!==ju&&"DENO"!==ju||zu)})),Xu={CONSTRUCTOR:Yu,REJECTION_EVENT:zu,SUBCLASSING:qu},Qu={},Zu=Te,$u=TypeError,eh=function(e){var t,i;this.promise=new e((function(e,r){if(void 0!==t||void 0!==i)throw new $u("Bad Promise constructor");t=e,i=r})),this.resolve=Zu(t),this.reject=Zu(i)};Qu.f=function(e){return new eh(e)};var th,ih,rh,nh=nn,oh=na,sh=n,ah=u,ch=$i,lh=cs,dh=jo,uh=wl,hh=Te,ph=H,mh=G,_h=Qa,fh=vd,gh=ou.set,Eh=Lu,Th=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(pJ){}},vh=xu,yh=fu,Sh=wi,Ih=Vu,Ah=Qu,Rh="Promise",Ch=Xu.CONSTRUCTOR,bh=Xu.REJECTION_EVENT,kh=Xu.SUBCLASSING,Dh=Sh.getterFor(Rh),wh=Sh.set,Nh=Ih&&Ih.prototype,Oh=Ih,Mh=Nh,Ph=sh.TypeError,Lh=sh.document,xh=sh.process,Vh=Ah.f,Uh=Vh,Fh=!!(Lh&&Lh.createEvent&&sh.dispatchEvent),Bh="unhandledrejection",Hh=function(e){var t;return!(!mh(e)||!ph(t=e.then))&&t},Wh=function(e,t){var i,r,n,o=t.value,s=1===t.state,a=s?e.ok:e.fail,c=e.resolve,l=e.reject,d=e.domain;try{a?(s||(2===t.rejection&&qh(t),t.rejection=1),!0===a?i=o:(d&&d.enter(),i=a(o),d&&(d.exit(),n=!0)),i===e.promise?l(new Ph("Promise-chain cycle")):(r=Hh(i))?ah(r,i,c,l):c(i)):l(o)}catch(pJ){d&&!n&&d.exit(),l(pJ)}},Gh=function(e,t){e.notified||(e.notified=!0,Eh((function(){for(var i,r=e.reactions;i=r.get();)Wh(i,e);e.notified=!1,t&&!e.rejection&&Jh(e)})))},jh=function(e,t,i){var r,n;Fh?((r=Lh.createEvent("Event")).promise=t,r.reason=i,r.initEvent(e,!1,!0),sh.dispatchEvent(r)):r={promise:t,reason:i},!bh&&(n=sh["on"+e])?n(r):e===Bh&&Th("Unhandled promise rejection",i)},Jh=function(e){ah(gh,sh,(function(){var t,i=e.facade,r=e.value;if(Kh(e)&&(t=vh((function(){oh?xh.emit("unhandledRejection",r,i):jh(Bh,i,r)})),e.rejection=oh||Kh(e)?2:1,t.error))throw t.value}))},Kh=function(e){return 1!==e.rejection&&!e.parent},qh=function(e){ah(gh,sh,(function(){var t=e.facade;oh?xh.emit("rejectionHandled",t):jh("rejectionhandled",t,e.value)}))},zh=function(e,t,i){return function(r){e(t,r,i)}},Yh=function(e,t,i){e.done||(e.done=!0,i&&(e=i),e.value=t,e.state=2,Gh(e,!0))},Xh=function(e,t,i){if(!e.done){e.done=!0,i&&(e=i);try{if(e.facade===t)throw new Ph("Promise can't be resolved itself");var r=Hh(t);r?Eh((function(){var i={done:!1};try{ah(r,t,zh(Xh,i,e),zh(Yh,i,e))}catch(pJ){Yh(i,pJ,e)}})):(e.value=t,e.state=1,Gh(e,!1))}catch(pJ){Yh({done:!1},pJ,e)}}};if(Ch&&(Mh=(Oh=function(e){_h(this,Mh),hh(e),ah(th,this);var t=Dh(this);try{e(zh(Xh,t),zh(Yh,t))}catch(pJ){Yh(t,pJ)}}).prototype,(th=function(e){wh(this,{type:Rh,done:!1,notified:!1,parent:!1,reactions:new yh,rejection:!1,state:0,value:null})}).prototype=ch(Mh,"then",(function(e,t){var i=Dh(this),r=Vh(fh(this,Oh));return i.parent=!0,r.ok=!ph(e)||e,r.fail=ph(t)&&t,r.domain=oh?xh.domain:void 0,0===i.state?i.reactions.add(r):Eh((function(){Wh(r,i)})),r.promise})),ih=function(){var e=new th,t=Dh(e);this.promise=e,this.resolve=zh(Xh,t),this.reject=zh(Yh,t)},Ah.f=Vh=function(e){return e===Oh||undefined===e?new ih(e):Uh(e)},ph(Ih)&&Nh!==Object.prototype)){rh=Nh.then,kh||ch(Nh,"then",(function(e,t){var i=this;return new Oh((function(e,t){ah(rh,i,e,t)})).then(e,t)}),{unsafe:!0});try{delete Nh.constructor}catch(pJ){}lh&&lh(Nh,Mh)}nh({global:!0,constructor:!0,wrap:!0,forced:Ch},{Promise:Oh}),dh(Oh,Rh,!1),uh(Rh);var Qh=So,Zh=rt("iterator"),$h=Array.prototype,ep=function(e){return void 0!==e&&(Qh.Array===e||$h[Zh]===e)},tp=hn,ip=Se,rp=M,np=So,op=rt("iterator"),sp=function(e){if(!rp(e))return ip(e,op)||ip(e,"@@iterator")||np[tp(e)]},ap=u,cp=Te,lp=Lt,dp=_e,up=sp,hp=TypeError,pp=function(e,t){var i=arguments.length<2?up(e):t;if(cp(i))return lp(ap(i,e));throw new hp(dp(e)+" is not iterable")},mp=u,_p=Lt,fp=Se,gp=function(e,t,i){var r,n;_p(e);try{if(!(r=fp(e,"return"))){if("throw"===t)throw i;return i}r=mp(r,e)}catch(pJ){n=!0,r=pJ}if("throw"===t)throw i;if(n)throw r;return _p(r),i},Ep=Dd,Tp=u,vp=Lt,yp=_e,Sp=ep,Ip=mr,Ap=q,Rp=pp,Cp=sp,bp=gp,kp=TypeError,Dp=function(e,t){this.stopped=e,this.result=t},wp=Dp.prototype,Np=function(e,t,i){var r,n,o,s,a,c,l,d=i&&i.that,u=!(!i||!i.AS_ENTRIES),h=!(!i||!i.IS_RECORD),p=!(!i||!i.IS_ITERATOR),m=!(!i||!i.INTERRUPTED),_=Ep(t,d),f=function(e){return r&&bp(r,"normal",e),new Dp(!0,e)},g=function(e){return u?(vp(e),m?_(e[0],e[1],f):_(e[0],e[1])):m?_(e,f):_(e)};if(h)r=e.iterator;else if(p)r=e;else{if(!(n=Cp(e)))throw new kp(yp(e)+" is not iterable");if(Sp(n)){for(o=0,s=Ip(e);s>o;o++)if((a=g(e[o]))&&Ap(wp,a))return a;return new Dp(!1)}r=Rp(e,n)}for(c=h?e.next:r.next;!(l=Tp(c,r)).done;){try{a=g(l.value)}catch(pJ){bp(r,"throw",pJ)}if("object"==typeof a&&a&&Ap(wp,a))return a}return new Dp(!1)},Op=rt("iterator"),Mp=!1;try{var Pp=0,Lp={next:function(){return{done:!!Pp++}},return:function(){Mp=!0}};Lp[Op]=function(){return this},Array.from(Lp,(function(){throw 2}))}catch(pJ){}var xp=function(e,t){try{if(!t&&!Mp)return!1}catch(pJ){return!1}var i=!1;try{var r={};r[Op]=function(){return{next:function(){return{done:i=!0}}}},e(r)}catch(pJ){}return i},Vp=Vu,Up=Xu.CONSTRUCTOR||!xp((function(e){Vp.all(e).then(void 0,(function(){}))})),Fp=u,Bp=Te,Hp=Qu,Wp=xu,Gp=Np;nn({target:"Promise",stat:!0,forced:Up},{all:function(e){var t=this,i=Hp.f(t),r=i.resolve,n=i.reject,o=Wp((function(){var i=Bp(t.resolve),o=[],s=0,a=1;Gp(e,(function(e){var c=s++,l=!1;a++,Fp(i,t,e).then((function(e){l||(l=!0,o[c]=e,--a||r(o))}),n)})),--a||r(o)}));return o.error&&n(o.value),i.promise}});var jp=nn,Jp=Xu.CONSTRUCTOR,Kp=Vu,qp=K,zp=H,Yp=$i,Xp=Kp&&Kp.prototype;if(jp({target:"Promise",proto:!0,forced:Jp,real:!0},{catch:function(e){return this.then(void 0,e)}}),zp(Kp)){var Qp=qp("Promise").prototype.catch;Xp.catch!==Qp&&Yp(Xp,"catch",Qp,{unsafe:!0})}var Zp=u,$p=Te,em=Qu,tm=xu,im=Np;nn({target:"Promise",stat:!0,forced:Up},{race:function(e){var t=this,i=em.f(t),r=i.reject,n=tm((function(){var n=$p(t.resolve);im(e,(function(e){Zp(n,t,e).then(i.resolve,r)}))}));return n.error&&r(n.value),i.promise}});var rm=Qu;nn({target:"Promise",stat:!0,forced:Xu.CONSTRUCTOR},{reject:function(e){var t=rm.f(this);return(0,t.reject)(e),t.promise}});var nm=Lt,om=G,sm=Qu,am=function(e,t){if(nm(e),om(t)&&t.constructor===e)return t;var i=sm.f(e);return(0,i.resolve)(t),i.promise},cm=nn,lm=Xu.CONSTRUCTOR,dm=am;K("Promise"),cm({target:"Promise",stat:!0,forced:lm},{resolve:function(e){return dm(this,e)}});var um=nn,hm=Vu,pm=s,mm=K,_m=H,fm=vd,gm=am,Em=$i,Tm=hm&&hm.prototype;if(um({target:"Promise",proto:!0,real:!0,forced:!!hm&&pm((function(){Tm.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=fm(this,mm("Promise")),i=_m(e);return this.then(i?function(i){return gm(t,e()).then((function(){return i}))}:e,i?function(i){return gm(t,e()).then((function(){throw i}))}:e)}}),_m(hm)){var vm=mm("Promise").prototype.finally;Tm.finally!==vm&&Em(Tm,"finally",vm,{unsafe:!0})}var ym=G,Sm=b,Im=rt("match"),Am=function(e){var t;return ym(e)&&(void 0!==(t=e[Im])?!!t:"RegExp"===Sm(e))},Rm=Lt,Cm=function(){var e=Rm(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},bm=u,km=Ge,Dm=q,wm=Cm,Nm=RegExp.prototype,Om=function(e){var t=e.flags;return void 0!==t||"flags"in Nm||km(e,"flags")||!Dm(Nm,e)?t:bm(wm,e)},Mm=s,Pm=n.RegExp,Lm=Mm((function(){var e=Pm("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),xm=Lm||Mm((function(){return!Pm("a","y").sticky})),Vm=Lm||Mm((function(){var e=Pm("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),Um={BROKEN_CARET:Vm,MISSED_STICKY:xm,UNSUPPORTED_Y:Lm},Fm=wt.f,Bm=s,Hm=n.RegExp,Wm=Bm((function(){var e=Hm(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Gm=s,jm=n.RegExp,Jm=Gm((function(){var e=jm("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Km=a,qm=n,zm=I,Ym=Yr,Xm=Ic,Qm=Yt,Zm=lo,$m=er.f,e_=q,t_=Am,i_=_n,r_=Om,n_=Um,o_=function(e,t,i){i in e||Fm(e,i,{configurable:!0,get:function(){return t[i]},set:function(e){t[i]=e}})},s_=$i,a_=s,c_=Ge,l_=wi.enforce,d_=wl,u_=Wm,h_=Jm,p_=rt("match"),m_=qm.RegExp,__=m_.prototype,f_=qm.SyntaxError,g_=zm(__.exec),E_=zm("".charAt),T_=zm("".replace),v_=zm("".indexOf),y_=zm("".slice),S_=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I_=/a/g,A_=/a/g,R_=new m_(I_)!==I_,C_=n_.MISSED_STICKY,b_=n_.UNSUPPORTED_Y,k_=Km&&(!R_||C_||u_||h_||a_((function(){return A_[p_]=!1,m_(I_)!==I_||m_(A_)===A_||"/a/i"!==String(m_(I_,"i"))})));if(Ym("RegExp",k_)){for(var D_=function(e,t){var i,r,n,o,s,a,c=e_(__,this),l=t_(e),d=void 0===t,u=[],h=e;if(!c&&l&&d&&e.constructor===D_)return e;if((l||e_(__,e))&&(e=e.source,d&&(t=r_(h))),e=void 0===e?"":i_(e),t=void 0===t?"":i_(t),h=e,u_&&"dotAll"in I_&&(r=!!t&&v_(t,"s")>-1)&&(t=T_(t,/s/g,"")),i=t,C_&&"sticky"in I_&&(n=!!t&&v_(t,"y")>-1)&&b_&&(t=T_(t,/y/g,"")),h_&&(o=function(e){for(var t,i=e.length,r=0,n="",o=[],s=Zm(null),a=!1,c=!1,l=0,d="";r<=i;r++){if("\\"===(t=E_(e,r)))t+=E_(e,++r);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:if(n+=t,"?:"===y_(e,r+1,r+3))continue;g_(S_,y_(e,r+1))&&(r+=2,c=!0),l++;continue;case">"===t&&c:if(""===d||c_(s,d))throw new f_("Invalid capture group name");s[d]=!0,o[o.length]=[d,l],c=!1,d="";continue}c?d+=t:n+=t}return[n,o]}(e),e=o[0],u=o[1]),s=Xm(m_(e,t),c?this:__,D_),(r||n||u.length)&&(a=l_(s),r&&(a.dotAll=!0,a.raw=D_(function(e){for(var t,i=e.length,r=0,n="",o=!1;r<=i;r++)"\\"!==(t=E_(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),n+=t):n+="[\\s\\S]":n+=t+E_(e,++r);return n}(e),i)),n&&(a.sticky=!0),u.length&&(a.groups=u)),e!==h)try{Qm(s,"source",""===h?"(?:)":h)}catch(pJ){}return s},w_=$m(m_),N_=0;w_.length>N_;)o_(D_,m_,w_[N_++]);__.constructor=D_,D_.prototype=__,s_(qm,"RegExp",D_,{constructor:!0})}d_("RegExp");var O_=u,M_=I,P_=_n,L_=Cm,x_=Um,V_=lo,U_=wi.get,F_=Wm,B_=Jm,H_=Ve("native-string-replace",String.prototype.replace),W_=RegExp.prototype.exec,G_=W_,j_=M_("".charAt),J_=M_("".indexOf),K_=M_("".replace),q_=M_("".slice),z_=function(){var e=/a/,t=/b*/g;return O_(W_,e,"a"),O_(W_,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Y_=x_.BROKEN_CARET,X_=void 0!==/()??/.exec("")[1];(z_||X_||Y_||F_||B_)&&(G_=function(e){var t,i,r,n,o,s,a,c=this,l=U_(c),d=P_(e),u=l.raw;if(u)return u.lastIndex=c.lastIndex,t=O_(G_,u,d),c.lastIndex=u.lastIndex,t;var h=l.groups,p=Y_&&c.sticky,m=O_(L_,c),_=c.source,f=0,g=d;if(p&&(m=K_(m,"y",""),-1===J_(m,"g")&&(m+="g"),g=q_(d,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==j_(d,c.lastIndex-1))&&(_="(?: "+_+")",g=" "+g,f++),i=new RegExp("^(?:"+_+")",m)),X_&&(i=new RegExp("^"+_+"$(?!\\s)",m)),z_&&(r=c.lastIndex),n=O_(W_,p?i:c,g),p?n?(n.input=q_(n.input,f),n[0]=q_(n[0],f),n.index=c.lastIndex,c.lastIndex+=n[0].length):c.lastIndex=0:z_&&n&&(c.lastIndex=c.global?n.index+n[0].length:r),X_&&n&&n.length>1&&O_(H_,n[0],i,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n&&h)for(n.groups=s=V_(null),o=0;o<h.length;o++)s[(a=h[o])[0]]=n[a[1]];return n});var Q_=G_;nn({target:"RegExp",proto:!0,forced:/./.exec!==Q_},{exec:Q_});var Z_=or,$_=_n,ef=x,tf=RangeError,rf=I,nf=hr,of=_n,sf=function(e){var t=$_(ef(this)),i="",r=Z_(e);if(r<0||Infinity===r)throw new tf("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(i+=t);return i},af=x,cf=rf(sf),lf=rf("".slice),df=Math.ceil,uf=function(e){return function(t,i,r){var n,o,s=of(af(t)),a=nf(i),c=s.length,l=void 0===r?" ":of(r);return a<=c||""===l?s:((o=cf(l,df((n=a-c)/l.length))).length>n&&(o=lf(o,0,n)),e?s+o:o+s)}},hf={start:uf(!1),end:uf(!0)},pf=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(X),mf=hf.start;nn({target:"String",proto:!0,forced:pf},{padStart:function(e){return mf(this,e,arguments.length>1?arguments[1]:void 0)}});var _f=u,ff=$i,gf=Q_,Ef=s,Tf=rt,vf=Yt,yf=Tf("species"),Sf=RegExp.prototype,If=I,Af=or,Rf=_n,Cf=x,bf=If("".charAt),kf=If("".charCodeAt),Df=If("".slice),wf=function(e){return function(t,i){var r,n,o=Rf(Cf(t)),s=Af(i),a=o.length;return s<0||s>=a?e?"":void 0:(r=kf(o,s))<55296||r>56319||s+1===a||(n=kf(o,s+1))<56320||n>57343?e?bf(o,s):r:e?Df(o,s,s+2):n-56320+(r-55296<<10)+65536}},Nf={codeAt:wf(!1),charAt:wf(!0)},Of=Nf.charAt,Mf=I,Pf=Be,Lf=Math.floor,xf=Mf("".charAt),Vf=Mf("".replace),Uf=Mf("".slice),Ff=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Bf=/\$([$&'`]|\d{1,2})/g,Hf=function(e,t,i,r,n,o){var s=i+e.length,a=r.length,c=Bf;return void 0!==n&&(n=Pf(n),c=Ff),Vf(o,c,(function(o,c){var l;switch(xf(c,0)){case"$":return"$";case"&":return e;case"`":return Uf(t,0,i);case"'":return Uf(t,s);case"<":l=n[Uf(c,1,-1)];break;default:var d=+c;if(0===d)return o;if(d>a){var u=Lf(d/10);return 0===u?o:u<=a?void 0===r[u-1]?xf(c,1):r[u-1]+xf(c,1):o}l=r[d-1]}return void 0===l?"":l}))},Wf=u,Gf=Lt,jf=H,Jf=b,Kf=Q_,qf=TypeError,zf=Rd,Yf=u,Xf=I,Qf=function(e,t,i,r){var n=Tf(e),o=!Ef((function(){var t={};return t[n]=function(){return 7},7!==""[e](t)})),s=o&&!Ef((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[yf]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return t=!0,null},i[n](""),!t}));if(!o||!s||i){var a=/./[n],c=t(n,""[e],(function(e,t,i,r,n){var s=t.exec;return s===gf||s===Sf.exec?o&&!n?{done:!0,value:_f(a,t,i,r)}:{done:!0,value:_f(e,i,t,r)}:{done:!1}}));ff(String.prototype,e,c[0]),ff(Sf,n,c[1])}r&&vf(Sf[n],"sham",!0)},Zf=s,$f=Lt,eg=H,tg=M,ig=or,rg=hr,ng=_n,og=x,sg=function(e,t,i){return t+(i?Of(e,t).length:1)},ag=Se,cg=Hf,lg=function(e,t){var i=e.exec;if(jf(i)){var r=Wf(i,e,t);return null!==r&&Gf(r),r}if("RegExp"===Jf(e))return Wf(Kf,e,t);throw new qf("RegExp#exec called on incompatible receiver")},dg=rt("replace"),ug=Math.max,hg=Math.min,pg=Xf([].concat),mg=Xf([].push),_g=Xf("".indexOf),fg=Xf("".slice),gg=function(e){return void 0===e?e:String(e)},Eg="$0"==="a".replace(/./,"$0"),Tg=!!/./[dg]&&""===/./[dg]("a","$0"),vg=!Zf((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));Qf("replace",(function(e,t,i){var r=Tg?"$":"$0";return[function(e,i){var r=og(this),n=tg(e)?void 0:ag(e,dg);return n?Yf(n,e,r,i):Yf(t,ng(r),e,i)},function(e,n){var o=$f(this),s=ng(e);if("string"==typeof n&&-1===_g(n,r)&&-1===_g(n,"$<")){var a=i(t,o,s,n);if(a.done)return a.value}var c=eg(n);c||(n=ng(n));var l,d=o.global;d&&(l=o.unicode,o.lastIndex=0);for(var u,h=[];null!==(u=lg(o,s))&&(mg(h,u),d);){""===ng(u[0])&&(o.lastIndex=sg(s,rg(o.lastIndex),l))}for(var p="",m=0,_=0;_<h.length;_++){for(var f,g=ng((u=h[_])[0]),E=ug(hg(ig(u.index),s.length),0),T=[],v=1;v<u.length;v++)mg(T,gg(u[v]));var y=u.groups;if(c){var S=pg([g],T,E,s);void 0!==y&&mg(S,y),f=ng(zf(n,void 0,S))}else f=cg(g,s,E,T,y,n);E>=m&&(p+=fg(s,m,E)+f,m=E+g.length)}return p+fg(s,m)}]}),!vg||!Eg||Tg);var yg="\t\n\v\f\r \u2028\u2029\ufeff",Sg=x,Ig=_n,Ag=yg,Rg=I("".replace),Cg=RegExp("^["+Ag+"]+"),bg=RegExp("(^|[^"+Ag+"])["+Ag+"]+$"),kg=function(e){return function(t){var i=Ig(Sg(t));return 1&e&&(i=Rg(i,Cg,"")),2&e&&(i=Rg(i,bg,"$1")),i}},Dg={start:kg(1),end:kg(2),trim:kg(3)},wg=ii.PROPER,Ng=s,Og=yg,Mg=Dg.trim;nn({target:"String",proto:!0,forced:function(e){return Ng((function(){return!!Og[e]()||"
"!=="
"[e]()||wg&&Og[e].name!==e}))}("trim")},{trim:function(){return Mg(this)}});var Pg,Lg,xg,Vg={exports:{}},Ug=Ka,Fg=a,Bg=n,Hg=H,Wg=G,Gg=Ge,jg=hn,Jg=_e,Kg=Yt,qg=$i,zg=En,Yg=q,Xg=No,Qg=cs,Zg=rt,$g=ze,eE=wi.enforce,tE=wi.get,iE=Bg.Int8Array,rE=iE&&iE.prototype,nE=Bg.Uint8ClampedArray,oE=nE&&nE.prototype,sE=iE&&Xg(iE),aE=rE&&Xg(rE),cE=Object.prototype,lE=Bg.TypeError,dE=Zg("toStringTag"),uE=$g("TYPED_ARRAY_TAG"),hE="TypedArrayConstructor",pE=Ug&&!!Qg&&"Opera"!==jg(Bg.opera),mE=!1,_E={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},fE={BigInt64Array:8,BigUint64Array:8},gE=function(e){var t=Xg(e);if(Wg(t)){var i=tE(t);return i&&Gg(i,hE)?i[hE]:gE(t)}},EE=function(e){if(!Wg(e))return!1;var t=jg(e);return Gg(_E,t)||Gg(fE,t)};for(Pg in _E)(xg=(Lg=Bg[Pg])&&Lg.prototype)?eE(xg)[hE]=Lg:pE=!1;for(Pg in fE)(xg=(Lg=Bg[Pg])&&Lg.prototype)&&(eE(xg)[hE]=Lg);if((!pE||!Hg(sE)||sE===Function.prototype)&&(sE=function(){throw new lE("Incorrect invocation")},pE))for(Pg in _E)Bg[Pg]&&Qg(Bg[Pg],sE);if((!pE||!aE||aE===cE)&&(aE=sE.prototype,pE))for(Pg in _E)Bg[Pg]&&Qg(Bg[Pg].prototype,aE);if(pE&&Xg(oE)!==aE&&Qg(oE,aE),Fg&&!Gg(aE,dE))for(Pg in mE=!0,zg(aE,dE,{configurable:!0,get:function(){return Wg(this)?this[uE]:void 0}}),_E)Bg[Pg]&&Kg(Bg[Pg],uE,Pg);var TE={NATIVE_ARRAY_BUFFER_VIEWS:pE,TYPED_ARRAY_TAG:mE&&uE,aTypedArray:function(e){if(EE(e))return e;throw new lE("Target is not a typed array")},aTypedArrayConstructor:function(e){if(Hg(e)&&(!Qg||Yg(sE,e)))return e;throw new lE(Jg(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,i,r){if(Fg){if(i)for(var n in _E){var o=Bg[n];if(o&&Gg(o.prototype,e))try{delete o.prototype[e]}catch(pJ){try{o.prototype[e]=t}catch(s){}}}aE[e]&&!i||qg(aE,e,i?t:pE&&rE[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,i){var r,n;if(Fg){if(Qg){if(i)for(r in _E)if((n=Bg[r])&&Gg(n,e))try{delete n[e]}catch(pJ){}if(sE[e]&&!i)return;try{return qg(sE,e,i?t:pE&&sE[e]||t)}catch(pJ){}}for(r in _E)!(n=Bg[r])||n[e]&&!i||qg(n,e,t)}},getTypedArrayConstructor:gE,isView:function(e){if(!Wg(e))return!1;var t=jg(e);return"DataView"===t||Gg(_E,t)||Gg(fE,t)},isTypedArray:EE,TypedArray:sE,TypedArrayPrototype:aE},vE=n,yE=s,SE=xp,IE=TE.NATIVE_ARRAY_BUFFER_VIEWS,AE=vE.ArrayBuffer,RE=vE.Int8Array,CE=!IE||!yE((function(){RE(1)}))||!yE((function(){new RE(-1)}))||!SE((function(e){new RE,new RE(null),new RE(1.5),new RE(e)}),!0)||yE((function(){return 1!==new RE(new AE(2),1,void 0).length})),bE=G,kE=Math.floor,DE=Number.isInteger||function(e){return!bE(e)&&isFinite(e)&&kE(e)===e},wE=or,NE=RangeError,OE=function(e){var t=wE(e);if(t<0)throw new NE("The argument can't be less than 0");return t},ME=RangeError,PE=function(e,t){var i=OE(e);if(i%t)throw new ME("Wrong offset");return i},LE=Math.round,xE=hn,VE=ut,UE=TypeError,FE=function(e){var t=VE(e,"number");if("number"==typeof t)throw new UE("Can't convert number to bigint");return BigInt(t)},BE=Dd,HE=u,WE=_d,GE=Be,jE=mr,JE=pp,KE=sp,qE=ep,zE=function(e){var t=xE(e);return"BigInt64Array"===t||"BigUint64Array"===t},YE=TE.aTypedArrayConstructor,XE=FE,QE=function(e){var t,i,r,n,o,s,a,c,l=WE(this),d=GE(e),u=arguments.length,h=u>1?arguments[1]:void 0,p=void 0!==h,m=KE(d);if(m&&!qE(m))for(c=(a=JE(d,m)).next,d=[];!(s=HE(c,a)).done;)d.push(s.value);for(p&&u>2&&(h=BE(h,arguments[2])),i=jE(d),r=new(YE(l))(i),n=zE(r),t=0;i>t;t++)o=p?h(d[t],t):d[t],r[t]=n?XE(o):+o;return r},ZE=ca,$E=ud,eT=G,tT=rt("species"),iT=Array,rT=function(e){var t;return ZE(e)&&(t=e.constructor,($E(t)&&(t===iT||ZE(t.prototype))||eT(t)&&null===(t=t[tT]))&&(t=void 0)),void 0===t?iT:t},nT=Dd,oT=O,sT=Be,aT=mr,cT=function(e,t){return new(rT(e))(0===t?0:t)},lT=I([].push),dT=function(e){var t=1===e,i=2===e,r=3===e,n=4===e,o=6===e,s=7===e,a=5===e||o;return function(c,l,d,u){for(var h,p,m=sT(c),_=oT(m),f=aT(_),g=nT(l,d),E=0,T=u||cT,v=t?T(c,f):i||s?T(c,0):void 0;f>E;E++)if((a||E in _)&&(p=g(h=_[E],E,m),e))if(t)v[E]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return E;case 2:lT(v,h)}else switch(e){case 4:return!1;case 7:lT(v,h)}return o?-1:r||n?n:v}},uT={forEach:dT(0),map:dT(1),filter:dT(2),some:dT(3),every:dT(4),find:dT(5),findIndex:dT(6),filterReject:dT(7)},hT=mr,pT=nn,mT=n,_T=u,fT=a,gT=CE,ET=TE,TT=Rl,vT=Qa,yT=E,ST=Yt,IT=DE,AT=hr,RT=tc,CT=PE,bT=function(e){var t=LE(e);return t<0?0:t>255?255:255&t},kT=mt,DT=Ge,wT=hn,NT=G,OT=pe,MT=lo,PT=q,LT=cs,xT=er.f,VT=QE,UT=uT.forEach,FT=wl,BT=En,HT=wt,WT=o,GT=function(e,t,i){for(var r=0,n=arguments.length>2?i:hT(t),o=new e(n);n>r;)o[r]=t[r++];return o},jT=Ic,JT=wi.get,KT=wi.set,qT=wi.enforce,zT=HT.f,YT=WT.f,XT=mT.RangeError,QT=TT.ArrayBuffer,ZT=QT.prototype,$T=TT.DataView,ev=ET.NATIVE_ARRAY_BUFFER_VIEWS,tv=ET.TYPED_ARRAY_TAG,iv=ET.TypedArray,rv=ET.TypedArrayPrototype,nv=ET.isTypedArray,ov="BYTES_PER_ELEMENT",sv="Wrong length",av=function(e,t){BT(e,t,{configurable:!0,get:function(){return JT(this)[t]}})},cv=function(e){var t;return PT(ZT,e)||"ArrayBuffer"===(t=wT(e))||"SharedArrayBuffer"===t},lv=function(e,t){return nv(e)&&!OT(t)&&t in e&&IT(+t)&&t>=0},dv=function(e,t){return t=kT(t),lv(e,t)?yT(2,e[t]):YT(e,t)},uv=function(e,t,i){return t=kT(t),!(lv(e,t)&&NT(i)&&DT(i,"value"))||DT(i,"get")||DT(i,"set")||i.configurable||DT(i,"writable")&&!i.writable||DT(i,"enumerable")&&!i.enumerable?zT(e,t,i):(e[t]=i.value,e)};fT?(ev||(WT.f=dv,HT.f=uv,av(rv,"buffer"),av(rv,"byteOffset"),av(rv,"byteLength"),av(rv,"length")),pT({target:"Object",stat:!0,forced:!ev},{getOwnPropertyDescriptor:dv,defineProperty:uv}),Vg.exports=function(e,t,i){var r=e.match(/\d+/)[0]/8,n=e+(i?"Clamped":"")+"Array",o="get"+e,s="set"+e,a=mT[n],c=a,l=c&&c.prototype,d={},u=function(e,t){zT(e,t,{get:function(){return function(e,