UNPKG

agora-rtc-sdk-ng

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