UNPKG

agora-rtc-sdk-ng-test

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