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