@ampt/cli 1.3.5 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var hE=Object.create;var to=Object.defineProperty;var pE=Object.getOwnPropertyDescriptor;var DE=Object.getOwnPropertyNames;var mE=Object.getPrototypeOf,bE=Object.prototype.hasOwnProperty;var ne=(e,t)=>()=>(e&&(t=e(e=0)),t);var C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qf=(e,t)=>{for(var r in t)to(e,r,{get:t[r],enumerable:!0})},eo=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of DE(t))!bE.call(e,o)&&o!==r&&to(e,o,{get:()=>t[o],enumerable:!(n=pE(t,o))||n.enumerable});return e},Wt=(e,t,r)=>(eo(e,t,"default"),r&&eo(r,t,"default")),de=(e,t,r)=>(r=e!=null?hE(mE(e)):{},eo(t||!e||!e.__esModule?to(r,"default",{value:e,enumerable:!0}):r,e)),yE=e=>eo(to({},"__esModule",{value:!0}),e);var gE,d=ne(()=>{gE=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};gE.SENTRY_RELEASE={id:"1.3.5"}});var Lf=C(ro=>{"use strict";d();Object.defineProperty(ro,"__esModule",{value:!0});ro.boolean=void 0;var EE=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1"].includes(e.trim().toLowerCase());case"[object Number]":return e.valueOf()===1;case"[object Boolean]":return e.valueOf();default:return!1}};ro.boolean=EE});var xf=C(no=>{"use strict";d();Object.defineProperty(no,"__esModule",{value:!0});no.isBooleanable=void 0;var CE=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1","false","f","no","n","off","0"].includes(e.trim().toLowerCase());case"[object Number]":return[0,1].includes(e.valueOf());case"[object Boolean]":return!0;default:return!1}};no.isBooleanable=CE});var uo=C(Sr=>{"use strict";d();Object.defineProperty(Sr,"__esModule",{value:!0});Sr.isBooleanable=Sr.boolean=void 0;var AE=Lf();Object.defineProperty(Sr,"boolean",{enumerable:!0,get:function(){return AE.boolean}});var _E=xf();Object.defineProperty(Sr,"isBooleanable",{enumerable:!0,get:function(){return _E.isBooleanable}})});var oo=C(($v,Nf)=>{d();Nf.exports=Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"});var Xs=C((jv,$f)=>{"use strict";d();var kf=Object.prototype.toString;$f.exports=function(t){var r=kf.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&kf.call(t.callee)==="[object Function]"),n}});var Yf=C((zv,Vf)=>{"use strict";d();var Gf;Object.keys||(yn=Object.prototype.hasOwnProperty,Qs=Object.prototype.toString,Wf=Xs(),Js=Object.prototype.propertyIsEnumerable,jf=!Js.call({toString:null},"toString"),Mf=Js.call(function(){},"prototype"),gn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],io=function(e){var t=e.constructor;return t&&t.prototype===e},zf={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Uf=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!zf["$"+e]&&yn.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{io(window[e])}catch{return!0}}catch{return!0}return!1}(),Hf=function(e){if(typeof window>"u"||!Uf)return io(e);try{return io(e)}catch{return!1}},Gf=function(t){var r=t!==null&&typeof t=="object",n=Qs.call(t)==="[object Function]",o=Wf(t),s=r&&Qs.call(t)==="[object String]",a=[];if(!r&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var c=Mf&&n;if(s&&t.length>0&&!yn.call(t,0))for(var f=0;f<t.length;++f)a.push(String(f));if(o&&t.length>0)for(var D=0;D<t.length;++D)a.push(String(D));else for(var h in t)!(c&&h==="prototype")&&yn.call(t,h)&&a.push(String(h));if(jf)for(var m=Hf(t),b=0;b<gn.length;++b)!(m&&gn[b]==="constructor")&&yn.call(t,gn[b])&&a.push(gn[b]);return a});var yn,Qs,Wf,Js,jf,Mf,gn,io,zf,Uf,Hf;Vf.exports=Gf});var Zf=C((Hv,Jf)=>{"use strict";d();var SE=Array.prototype.slice,wE=Xs(),Xf=Object.keys,so=Xf?function(t){return Xf(t)}:Yf(),Qf=Object.keys;so.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return wE(n)?Qf(SE.call(n)):Qf(n)})}else Object.keys=so;return Object.keys||so};Jf.exports=so});var Zs=C((Vv,Kf)=>{"use strict";d();Kf.exports=Object});var td=C((Xv,ed)=>{"use strict";d();ed.exports=Error});var nd=C((Jv,rd)=>{"use strict";d();rd.exports=EvalError});var od=C((Kv,ud)=>{"use strict";d();ud.exports=RangeError});var sd=C((tT,id)=>{"use strict";d();id.exports=ReferenceError});var ld=C((nT,ad)=>{"use strict";d();ad.exports=SyntaxError});var Ks=C((oT,cd)=>{"use strict";d();cd.exports=TypeError});var dd=C((sT,fd)=>{"use strict";d();fd.exports=URIError});var pd=C((lT,hd)=>{"use strict";d();hd.exports=Math.abs});var md=C((fT,Dd)=>{"use strict";d();Dd.exports=Math.floor});var yd=C((hT,bd)=>{"use strict";d();bd.exports=Math.max});var Ed=C((DT,gd)=>{"use strict";d();gd.exports=Math.min});var Ad=C((bT,Cd)=>{"use strict";d();Cd.exports=Math.pow});var Sd=C((gT,_d)=>{"use strict";d();_d.exports=Math.round});var Fd=C((CT,wd)=>{"use strict";d();wd.exports=Number.isNaN||function(t){return t!==t}});var vd=C((_T,Rd)=>{"use strict";d();var FE=Fd();Rd.exports=function(t){return FE(t)||t===0?t:t<0?-1:1}});var Bd=C((wT,Td)=>{"use strict";d();Td.exports=Object.getOwnPropertyDescriptor});var ea=C((RT,Pd)=>{"use strict";d();var ao=Bd();if(ao)try{ao([],"length")}catch{ao=null}Pd.exports=ao});var Id=C((TT,Od)=>{"use strict";d();var lo=Object.defineProperty||!1;if(lo)try{lo({},"a",{value:1})}catch{lo=!1}Od.exports=lo});var Ld=C((PT,qd)=>{"use strict";d();qd.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(t,r);if(c.value!==o||c.enumerable!==!0)return!1}return!0}});var kd=C((IT,Nd)=>{"use strict";d();var xd=typeof Symbol<"u"&&Symbol,RE=Ld();Nd.exports=function(){return typeof xd!="function"||typeof Symbol!="function"||typeof xd("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:RE()}});var ta=C((LT,$d)=>{"use strict";d();$d.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ra=C((NT,Wd)=>{"use strict";d();var vE=Zs();Wd.exports=vE.getPrototypeOf||null});var zd=C(($T,Md)=>{"use strict";d();var TE="Function.prototype.bind called on incompatible ",BE=Object.prototype.toString,PE=Math.max,OE="[object Function]",jd=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var s=0;s<r.length;s+=1)n[s+t.length]=r[s];return n},IE=function(t,r){for(var n=[],o=r||0,s=0;o<t.length;o+=1,s+=1)n[s]=t[o];return n},qE=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};Md.exports=function(t){var r=this;if(typeof r!="function"||BE.apply(r)!==OE)throw new TypeError(TE+r);for(var n=IE(arguments,1),o,s=function(){if(this instanceof o){var h=r.apply(this,jd(n,arguments));return Object(h)===h?h:this}return r.apply(t,jd(n,arguments))},a=PE(0,r.length-n.length),c=[],f=0;f<a;f++)c[f]="$"+f;if(o=Function("binder","return function ("+qE(c,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var D=function(){};D.prototype=r.prototype,o.prototype=new D,D.prototype=null}return o}});var En=C((jT,Ud)=>{"use strict";d();var LE=zd();Ud.exports=Function.prototype.bind||LE});var co=C((zT,Hd)=>{"use strict";d();Hd.exports=Function.prototype.call});var na=C((HT,Gd)=>{"use strict";d();Gd.exports=Function.prototype.apply});var Yd=C((VT,Vd)=>{"use strict";d();Vd.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Qd=C((XT,Xd)=>{"use strict";d();var xE=En(),NE=na(),kE=co(),$E=Yd();Xd.exports=$E||xE.call(kE,NE)});var Zd=C((JT,Jd)=>{"use strict";d();var WE=En(),jE=Ks(),ME=co(),zE=Qd();Jd.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new jE("a function is required");return zE(WE,ME,t)}});var uh=C((KT,nh)=>{"use strict";d();var UE=Zd(),Kd=ea(),th;try{th=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var ua=!!th&&Kd&&Kd(Object.prototype,"__proto__"),rh=Object,eh=rh.getPrototypeOf;nh.exports=ua&&typeof ua.get=="function"?UE([ua.get]):typeof eh=="function"?function(t){return eh(t==null?t:rh(t))}:!1});var lh=C((tB,ah)=>{"use strict";d();var oh=ta(),ih=ra(),sh=uh();ah.exports=oh?function(t){return oh(t)}:ih?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return ih(t)}:sh?function(t){return sh(t)}:null});var fh=C((nB,ch)=>{"use strict";d();var HE=Function.prototype.call,GE=Object.prototype.hasOwnProperty,VE=En();ch.exports=VE.call(HE,GE)});var yh=C((oB,bh)=>{"use strict";d();var M,YE=Zs(),XE=td(),QE=nd(),JE=od(),ZE=sd(),vr=ld(),Rr=Ks(),KE=dd(),eC=pd(),tC=md(),rC=yd(),nC=Ed(),uC=Ad(),oC=Sd(),iC=vd(),Dh=Function,oa=function(e){try{return Dh('"use strict"; return ('+e+").constructor;")()}catch{}},Cn=ea(),sC=Id(),ia=function(){throw new Rr},aC=Cn?function(){try{return arguments.callee,ia}catch{try{return Cn(arguments,"callee").get}catch{return ia}}}():ia,wr=kd()(),ie=lh(),lC=ra(),cC=ta(),mh=na(),An=co(),Fr={},fC=typeof Uint8Array>"u"||!ie?M:ie(Uint8Array),jt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?M:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?M:ArrayBuffer,"%ArrayIteratorPrototype%":wr&&ie?ie([][Symbol.iterator]()):M,"%AsyncFromSyncIteratorPrototype%":M,"%AsyncFunction%":Fr,"%AsyncGenerator%":Fr,"%AsyncGeneratorFunction%":Fr,"%AsyncIteratorPrototype%":Fr,"%Atomics%":typeof Atomics>"u"?M:Atomics,"%BigInt%":typeof BigInt>"u"?M:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?M:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?M:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?M:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":XE,"%eval%":eval,"%EvalError%":QE,"%Float16Array%":typeof Float16Array>"u"?M:Float16Array,"%Float32Array%":typeof Float32Array>"u"?M:Float32Array,"%Float64Array%":typeof Float64Array>"u"?M:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?M:FinalizationRegistry,"%Function%":Dh,"%GeneratorFunction%":Fr,"%Int8Array%":typeof Int8Array>"u"?M:Int8Array,"%Int16Array%":typeof Int16Array>"u"?M:Int16Array,"%Int32Array%":typeof Int32Array>"u"?M:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":wr&&ie?ie(ie([][Symbol.iterator]())):M,"%JSON%":typeof JSON=="object"?JSON:M,"%Map%":typeof Map>"u"?M:Map,"%MapIteratorPrototype%":typeof Map>"u"||!wr||!ie?M:ie(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":YE,"%Object.getOwnPropertyDescriptor%":Cn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?M:Promise,"%Proxy%":typeof Proxy>"u"?M:Proxy,"%RangeError%":JE,"%ReferenceError%":ZE,"%Reflect%":typeof Reflect>"u"?M:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?M:Set,"%SetIteratorPrototype%":typeof Set>"u"||!wr||!ie?M:ie(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?M:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":wr&&ie?ie(""[Symbol.iterator]()):M,"%Symbol%":wr?Symbol:M,"%SyntaxError%":vr,"%ThrowTypeError%":aC,"%TypedArray%":fC,"%TypeError%":Rr,"%Uint8Array%":typeof Uint8Array>"u"?M:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?M:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?M:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?M:Uint32Array,"%URIError%":KE,"%WeakMap%":typeof WeakMap>"u"?M:WeakMap,"%WeakRef%":typeof WeakRef>"u"?M:WeakRef,"%WeakSet%":typeof WeakSet>"u"?M:WeakSet,"%Function.prototype.call%":An,"%Function.prototype.apply%":mh,"%Object.defineProperty%":sC,"%Object.getPrototypeOf%":lC,"%Math.abs%":eC,"%Math.floor%":tC,"%Math.max%":rC,"%Math.min%":nC,"%Math.pow%":uC,"%Math.round%":oC,"%Math.sign%":iC,"%Reflect.getPrototypeOf%":cC};if(ie)try{null.error}catch(e){dh=ie(ie(e)),jt["%Error.prototype%"]=dh}var dh,dC=function e(t){var r;if(t==="%AsyncFunction%")r=oa("async function () {}");else if(t==="%GeneratorFunction%")r=oa("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=oa("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&ie&&(r=ie(o.prototype))}return jt[t]=r,r},hh={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_n=En(),fo=fh(),hC=_n.call(An,Array.prototype.concat),pC=_n.call(mh,Array.prototype.splice),ph=_n.call(An,String.prototype.replace),ho=_n.call(An,String.prototype.slice),DC=_n.call(An,RegExp.prototype.exec),mC=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bC=/\\(\\)?/g,yC=function(t){var r=ho(t,0,1),n=ho(t,-1);if(r==="%"&&n!=="%")throw new vr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new vr("invalid intrinsic syntax, expected opening `%`");var o=[];return ph(t,mC,function(s,a,c,f){o[o.length]=c?ph(f,bC,"$1"):a||s}),o},gC=function(t,r){var n=t,o;if(fo(hh,n)&&(o=hh[n],n="%"+o[0]+"%"),fo(jt,n)){var s=jt[n];if(s===Fr&&(s=dC(n)),typeof s>"u"&&!r)throw new Rr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:s}}throw new vr("intrinsic "+t+" does not exist!")};bh.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Rr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Rr('"allowMissing" argument must be a boolean');if(DC(/^%?[^%]*%?$/,t)===null)throw new vr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=yC(t),o=n.length>0?n[0]:"",s=gC("%"+o+"%",r),a=s.name,c=s.value,f=!1,D=s.alias;D&&(o=D[0],pC(n,hC([0,1],D)));for(var h=1,m=!0;h<n.length;h+=1){var b=n[h],y=ho(b,0,1),E=ho(b,-1);if((y==='"'||y==="'"||y==="`"||E==='"'||E==="'"||E==="`")&&y!==E)throw new vr("property names with quotes must have matching quotes");if((b==="constructor"||!m)&&(f=!0),o+="."+b,a="%"+o+"%",fo(jt,a))c=jt[a];else if(c!=null){if(!(b in c)){if(!r)throw new Rr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Cn&&h+1>=n.length){var O=Cn(c,b);m=!!O,m&&"get"in O&&!("originalValue"in O.get)?c=O.get:c=c[b]}else m=fo(c,b),c=c[b];m&&!f&&(jt[a]=c)}}return c}});var Eh=C((sB,gh)=>{"use strict";d();var EC=yh(),sa=EC("%Object.defineProperty%",!0),aa=function(){if(sa)try{return sa({},"a",{value:1}),!0}catch{return!1}return!1};aa.hasArrayLengthDefineBug=function(){if(!aa())return null;try{return sa([],"length",{value:1}).length!==1}catch{return!0}};gh.exports=aa});var la=C((lB,Sh)=>{"use strict";d();var CC=Zf(),AC=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",_C=Object.prototype.toString,SC=Array.prototype.concat,Ch=Object.defineProperty,wC=function(e){return typeof e=="function"&&_C.call(e)==="[object Function]"},FC=Eh()(),Ah=Ch&&FC,RC=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!wC(n)||!n())return}Ah?Ch(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r},_h=function(e,t){var r=arguments.length>2?arguments[2]:{},n=CC(t);AC&&(n=SC.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o<n.length;o+=1)RC(e,n[o],t[n[o]],r[n[o]])};_h.supportsDescriptors=!!Ah;Sh.exports=_h});var ca=C((fB,wh)=>{"use strict";d();wh.exports=global});var fa=C((hB,Fh)=>{"use strict";d();var vC=ca();Fh.exports=function(){return typeof global!="object"||!global||global.Math!==Math||global.Array!==Array?vC:global}});var vh=C((DB,Rh)=>{"use strict";d();var TC=la(),BC=fa();Rh.exports=function(){var t=BC();if(TC.supportsDescriptors){var r=Object.getOwnPropertyDescriptor(t,"globalThis");(!r||r.configurable&&(r.enumerable||!r.writable||globalThis!==t))&&Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else(typeof globalThis!="object"||globalThis!==t)&&(t.globalThis=t);return t}});var da=C((bB,Ph)=>{"use strict";d();var PC=la(),OC=ca(),Th=fa(),IC=vh(),qC=Th(),Bh=function(){return qC};PC(Bh,{getPolyfill:Th,implementation:OC,shim:IC});Ph.exports=Bh});var qh=C((ha,Ih)=>{d();ha=Ih.exports=LC;ha.getSerialize=Oh;function LC(e,t,r,n){return JSON.stringify(e,Oh(t,n),r)}function Oh(e,t){var r=[],n=[];return t==null&&(t=function(o,s){return r[0]===s?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(s)).join(".")+"]"}),function(o,s){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(s)&&(s=t.call(this,o,s))}else r.push(s);return e==null?s:e.call(this,o,s)}}});var Lh=C(po=>{d();(function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(a){return n(s(a),arguments)}function r(a,c){return t.apply(null,[a].concat(c||[]))}function n(a,c){var f=1,D=a.length,h,m="",b,y,E,O,w,v,I,k;for(b=0;b<D;b++)if(typeof a[b]=="string")m+=a[b];else if(typeof a[b]=="object"){if(E=a[b],E.keys)for(h=c[f],y=0;y<E.keys.length;y++){if(h==null)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',E.keys[y],E.keys[y-1]));h=h[E.keys[y]]}else E.param_no?h=c[E.param_no]:h=c[f++];if(e.not_type.test(E.type)&&e.not_primitive.test(E.type)&&h instanceof Function&&(h=h()),e.numeric_arg.test(E.type)&&typeof h!="number"&&isNaN(h))throw new TypeError(t("[sprintf] expecting number but found %T",h));switch(e.number.test(E.type)&&(I=h>=0),E.type){case"b":h=parseInt(h,10).toString(2);break;case"c":h=String.fromCharCode(parseInt(h,10));break;case"d":case"i":h=parseInt(h,10);break;case"j":h=JSON.stringify(h,null,E.width?parseInt(E.width):0);break;case"e":h=E.precision?parseFloat(h).toExponential(E.precision):parseFloat(h).toExponential();break;case"f":h=E.precision?parseFloat(h).toFixed(E.precision):parseFloat(h);break;case"g":h=E.precision?String(Number(h.toPrecision(E.precision))):parseFloat(h);break;case"o":h=(parseInt(h,10)>>>0).toString(8);break;case"s":h=String(h),h=E.precision?h.substring(0,E.precision):h;break;case"t":h=String(!!h),h=E.precision?h.substring(0,E.precision):h;break;case"T":h=Object.prototype.toString.call(h).slice(8,-1).toLowerCase(),h=E.precision?h.substring(0,E.precision):h;break;case"u":h=parseInt(h,10)>>>0;break;case"v":h=h.valueOf(),h=E.precision?h.substring(0,E.precision):h;break;case"x":h=(parseInt(h,10)>>>0).toString(16);break;case"X":h=(parseInt(h,10)>>>0).toString(16).toUpperCase();break}e.json.test(E.type)?m+=h:(e.number.test(E.type)&&(!I||E.sign)?(k=I?"+":"-",h=h.toString().replace(e.sign,"")):k="",w=E.pad_char?E.pad_char==="0"?"0":E.pad_char.charAt(1):" ",v=E.width-(k+h).length,O=E.width&&v>0?w.repeat(v):"",m+=E.align?k+h+O:w==="0"?k+O+h:O+k+h)}return m}var o=Object.create(null);function s(a){if(o[a])return o[a];for(var c=a,f,D=[],h=0;c;){if((f=e.text.exec(c))!==null)D.push(f[0]);else if((f=e.modulo.exec(c))!==null)D.push("%");else if((f=e.placeholder.exec(c))!==null){if(f[2]){h|=1;var m=[],b=f[2],y=[];if((y=e.key.exec(b))!==null)for(m.push(y[1]);(b=b.substring(y[0].length))!=="";)if((y=e.key_access.exec(b))!==null)m.push(y[1]);else if((y=e.index_access.exec(b))!==null)m.push(y[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");f[2]=m}else h|=2;if(h===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");D.push({placeholder:f[0],param_no:f[1],keys:f[2],sign:f[3],pad_char:f[4],align:f[5],width:f[6],precision:f[7],type:f[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");c=c.substring(f[0].length)}return o[a]=D}typeof po<"u"&&(po.sprintf=t,po.vsprintf=r),typeof window<"u"&&(window.sprintf=t,window.vsprintf=r,typeof define=="function"&&define.amd&&define(function(){return{sprintf:t,vsprintf:r}}))})()});var pa=C(Do=>{"use strict";d();Object.defineProperty(Do,"__esModule",{value:!0});Do.logLevels=void 0;var xC={debug:20,error:50,fatal:60,info:30,trace:10,warn:40};Do.logLevels=xC});var kh=C(bo=>{"use strict";d();Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var NC=ya(oo()),kC=ya(da()),$C=ya(qh()),Da=Lh(),xh=pa();function ya(e){return e&&e.__esModule?e:{default:e}}function ma(){return ma=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ma.apply(this,arguments)}function Nh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nh(Object(r),!0).forEach(function(n){WC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function WC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jC=(0,kC.default)(),Sn;NC.default&&(Sn=require("domain"));var MC=()=>{if(!Sn)return{};let e=[],t=process.domain;if(!t||!t.parentDomain)return{};for(;t&&t.parentDomain;)t=t.parentDomain,t.roarr&&t.roarr.context&&e.push(t.roarr.context);let r={};for(let n of e)r=ge(ge({},r),n);return r},mo=()=>{if(!Sn)return{};let e=process.domain;if(e&&e.roarr&&e.roarr.context)return e.roarr.context;if(!e||!e.parentDomain)return{};for(;e&&e.parentDomain;)if(e=e.parentDomain,e.roarr&&e.roarr.context)return e.roarr.context;return{}},ba=(e,t)=>{let r=(n,o,s,a,c,f,D,h,m,b)=>{let y=Date.now(),E=jC.ROARR.sequence++,O,w;if(typeof n=="string"){O=ge(ge({},mo()),t||{});let v=ma({},{a:n,b:o,c:s,d:a,e:c,f,g:D,h,i:m,k:b});w=Object.keys(v).map(q=>v[q]).reduce((q,S)=>q+=typeof S>"u"?0:1,0)===1?(0,Da.sprintf)("%s",n):(0,Da.sprintf)(n,o,s,a,c,f,D,h,m,b)}else{if(typeof o!="string")throw new TypeError("Message must be a string.");O=JSON.parse((0,$C.default)(ge(ge(ge({},mo()),t||{}),n))),w=(0,Da.sprintf)(o,s,a,c,f,D,h,m,b)}e({context:O,message:w,sequence:E,time:y,version:"1.0.0"})};r.child=n=>typeof n=="function"?ba(o=>{if(typeof n!="function")throw new TypeError("Unexpected state.");e(n(o))},t):ba(e,ge(ge(ge({},mo()),t),n)),r.getContext=()=>ge(ge({},mo()),t||{}),r.adopt=async(n,o)=>{if(!Sn)return n();let s=Sn.create();return s.run(()=>(s.roarr={context:ge(ge({},MC()),o)},n()))};for(let n of Object.keys(xh.logLevels))r[n]=(o,s,a,c,f,D,h,m,b,y)=>r.child({logLevel:xh.logLevels[n]})(o,s,a,c,f,D,h,m,b,y);return r},zC=ba;bo.default=zC});var jh=C(yo=>{"use strict";d();Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var $h=pa(),Wh=(e,t)=>{let r=(n,o,s,a,c,f,D,h,m,b)=>{};r.adopt=async n=>n(),r.child=n=>Wh(e,t),r.getContext=()=>({});for(let n of Object.keys($h.logLevels))r[n]=(o,s,a,c,f,D,h,m,b,y)=>r.child({logLevel:$h.logLevels[n]})(o,s,a,c,f,D,h,m,b,y);return r},UC=Wh;yo.default=UC});var zh=C((vB,Mh)=>{d();Mh.exports=function(t,r){for(var n=t.split("."),o=r.split("."),s=0;s<3;s++){var a=Number(n[s]),c=Number(o[s]);if(a>c)return 1;if(c>a)return-1;if(!isNaN(a)&&isNaN(c))return 1;if(isNaN(a)&&!isNaN(c))return-1}return 0}});var Uh=C((BB,HC)=>{HC.exports={author:{email:"gajus@gajus.com",name:"Gajus Kuizinas",url:"http://gajus.com"},ava:{babel:{compileAsTests:["test/helpers/**/*"]},files:["test/roarr/**/*"],require:["@babel/register"]},dependencies:{boolean:"^3.0.1","detect-node":"^2.0.4",globalthis:"^1.0.1","json-stringify-safe":"^5.0.1","semver-compare":"^1.0.0","sprintf-js":"^1.1.2"},description:"JSON logger for Node.js and browser.",devDependencies:{"@ava/babel":"^1.0.1","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/plugin-transform-flow-strip-types":"^7.10.4","@babel/preset-env":"^7.11.5","@babel/register":"^7.11.5",ava:"^3.12.1","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4",coveralls:"^3.1.0","domain-parent":"^1.0.0",eslint:"^7.9.0","eslint-config-canonical":"^24.1.1","flow-bin":"^0.133.0","flow-copy-source":"^2.0.9",gitdown:"^3.1.3",husky:"^4.3.0",nyc:"^15.1.0","semantic-release":"^17.1.1"},engines:{node:">=8.0"},husky:{hooks:{"pre-commit":"npm run lint && npm run test && npm run build","pre-push":"gitdown ./.README/README.md --output-file ./README.md --check"}},keywords:["log","logger","json"],main:"./dist/log.js",name:"roarr",nyc:{include:["src/**/*.js"],instrument:!1,reporter:["text-lcov"],require:["@babel/register"],sourceMap:!1},license:"BSD-3-Clause",repository:{type:"git",url:"git@github.com:gajus/roarr.git"},scripts:{build:"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","create-readme":"gitdown ./.README/README.md --output-file ./README.md",dev:"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch",lint:"eslint ./src ./test && flow",test:"NODE_ENV=test ava --serial --verbose"},version:"2.15.4"}});var Hh=C(go=>{"use strict";d();Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var GC=e=>({write:t=>{e.write(t+`
1
+ var hE=Object.create;var to=Object.defineProperty;var pE=Object.getOwnPropertyDescriptor;var DE=Object.getOwnPropertyNames;var mE=Object.getPrototypeOf,bE=Object.prototype.hasOwnProperty;var ne=(e,t)=>()=>(e&&(t=e(e=0)),t);var C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qf=(e,t)=>{for(var r in t)to(e,r,{get:t[r],enumerable:!0})},eo=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of DE(t))!bE.call(e,o)&&o!==r&&to(e,o,{get:()=>t[o],enumerable:!(n=pE(t,o))||n.enumerable});return e},Wt=(e,t,r)=>(eo(e,t,"default"),r&&eo(r,t,"default")),de=(e,t,r)=>(r=e!=null?hE(mE(e)):{},eo(t||!e||!e.__esModule?to(r,"default",{value:e,enumerable:!0}):r,e)),yE=e=>eo(to({},"__esModule",{value:!0}),e);var gE,d=ne(()=>{gE=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};gE.SENTRY_RELEASE={id:"1.3.6"}});var Lf=C(ro=>{"use strict";d();Object.defineProperty(ro,"__esModule",{value:!0});ro.boolean=void 0;var EE=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1"].includes(e.trim().toLowerCase());case"[object Number]":return e.valueOf()===1;case"[object Boolean]":return e.valueOf();default:return!1}};ro.boolean=EE});var xf=C(no=>{"use strict";d();Object.defineProperty(no,"__esModule",{value:!0});no.isBooleanable=void 0;var CE=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1","false","f","no","n","off","0"].includes(e.trim().toLowerCase());case"[object Number]":return[0,1].includes(e.valueOf());case"[object Boolean]":return!0;default:return!1}};no.isBooleanable=CE});var uo=C(Sr=>{"use strict";d();Object.defineProperty(Sr,"__esModule",{value:!0});Sr.isBooleanable=Sr.boolean=void 0;var AE=Lf();Object.defineProperty(Sr,"boolean",{enumerable:!0,get:function(){return AE.boolean}});var _E=xf();Object.defineProperty(Sr,"isBooleanable",{enumerable:!0,get:function(){return _E.isBooleanable}})});var oo=C(($v,Nf)=>{d();Nf.exports=Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"});var Xs=C((jv,$f)=>{"use strict";d();var kf=Object.prototype.toString;$f.exports=function(t){var r=kf.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&kf.call(t.callee)==="[object Function]"),n}});var Yf=C((zv,Vf)=>{"use strict";d();var Gf;Object.keys||(yn=Object.prototype.hasOwnProperty,Qs=Object.prototype.toString,Wf=Xs(),Js=Object.prototype.propertyIsEnumerable,jf=!Js.call({toString:null},"toString"),Mf=Js.call(function(){},"prototype"),gn=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],io=function(e){var t=e.constructor;return t&&t.prototype===e},zf={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Uf=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!zf["$"+e]&&yn.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{io(window[e])}catch{return!0}}catch{return!0}return!1}(),Hf=function(e){if(typeof window>"u"||!Uf)return io(e);try{return io(e)}catch{return!1}},Gf=function(t){var r=t!==null&&typeof t=="object",n=Qs.call(t)==="[object Function]",o=Wf(t),s=r&&Qs.call(t)==="[object String]",a=[];if(!r&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var c=Mf&&n;if(s&&t.length>0&&!yn.call(t,0))for(var f=0;f<t.length;++f)a.push(String(f));if(o&&t.length>0)for(var D=0;D<t.length;++D)a.push(String(D));else for(var h in t)!(c&&h==="prototype")&&yn.call(t,h)&&a.push(String(h));if(jf)for(var m=Hf(t),b=0;b<gn.length;++b)!(m&&gn[b]==="constructor")&&yn.call(t,gn[b])&&a.push(gn[b]);return a});var yn,Qs,Wf,Js,jf,Mf,gn,io,zf,Uf,Hf;Vf.exports=Gf});var Zf=C((Hv,Jf)=>{"use strict";d();var SE=Array.prototype.slice,wE=Xs(),Xf=Object.keys,so=Xf?function(t){return Xf(t)}:Yf(),Qf=Object.keys;so.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return wE(n)?Qf(SE.call(n)):Qf(n)})}else Object.keys=so;return Object.keys||so};Jf.exports=so});var Zs=C((Vv,Kf)=>{"use strict";d();Kf.exports=Object});var td=C((Xv,ed)=>{"use strict";d();ed.exports=Error});var nd=C((Jv,rd)=>{"use strict";d();rd.exports=EvalError});var od=C((Kv,ud)=>{"use strict";d();ud.exports=RangeError});var sd=C((tT,id)=>{"use strict";d();id.exports=ReferenceError});var ld=C((nT,ad)=>{"use strict";d();ad.exports=SyntaxError});var Ks=C((oT,cd)=>{"use strict";d();cd.exports=TypeError});var dd=C((sT,fd)=>{"use strict";d();fd.exports=URIError});var pd=C((lT,hd)=>{"use strict";d();hd.exports=Math.abs});var md=C((fT,Dd)=>{"use strict";d();Dd.exports=Math.floor});var yd=C((hT,bd)=>{"use strict";d();bd.exports=Math.max});var Ed=C((DT,gd)=>{"use strict";d();gd.exports=Math.min});var Ad=C((bT,Cd)=>{"use strict";d();Cd.exports=Math.pow});var Sd=C((gT,_d)=>{"use strict";d();_d.exports=Math.round});var Fd=C((CT,wd)=>{"use strict";d();wd.exports=Number.isNaN||function(t){return t!==t}});var vd=C((_T,Rd)=>{"use strict";d();var FE=Fd();Rd.exports=function(t){return FE(t)||t===0?t:t<0?-1:1}});var Bd=C((wT,Td)=>{"use strict";d();Td.exports=Object.getOwnPropertyDescriptor});var ea=C((RT,Pd)=>{"use strict";d();var ao=Bd();if(ao)try{ao([],"length")}catch{ao=null}Pd.exports=ao});var Id=C((TT,Od)=>{"use strict";d();var lo=Object.defineProperty||!1;if(lo)try{lo({},"a",{value:1})}catch{lo=!1}Od.exports=lo});var Ld=C((PT,qd)=>{"use strict";d();qd.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(t,r);if(c.value!==o||c.enumerable!==!0)return!1}return!0}});var kd=C((IT,Nd)=>{"use strict";d();var xd=typeof Symbol<"u"&&Symbol,RE=Ld();Nd.exports=function(){return typeof xd!="function"||typeof Symbol!="function"||typeof xd("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:RE()}});var ta=C((LT,$d)=>{"use strict";d();$d.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ra=C((NT,Wd)=>{"use strict";d();var vE=Zs();Wd.exports=vE.getPrototypeOf||null});var zd=C(($T,Md)=>{"use strict";d();var TE="Function.prototype.bind called on incompatible ",BE=Object.prototype.toString,PE=Math.max,OE="[object Function]",jd=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var s=0;s<r.length;s+=1)n[s+t.length]=r[s];return n},IE=function(t,r){for(var n=[],o=r||0,s=0;o<t.length;o+=1,s+=1)n[s]=t[o];return n},qE=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};Md.exports=function(t){var r=this;if(typeof r!="function"||BE.apply(r)!==OE)throw new TypeError(TE+r);for(var n=IE(arguments,1),o,s=function(){if(this instanceof o){var h=r.apply(this,jd(n,arguments));return Object(h)===h?h:this}return r.apply(t,jd(n,arguments))},a=PE(0,r.length-n.length),c=[],f=0;f<a;f++)c[f]="$"+f;if(o=Function("binder","return function ("+qE(c,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var D=function(){};D.prototype=r.prototype,o.prototype=new D,D.prototype=null}return o}});var En=C((jT,Ud)=>{"use strict";d();var LE=zd();Ud.exports=Function.prototype.bind||LE});var co=C((zT,Hd)=>{"use strict";d();Hd.exports=Function.prototype.call});var na=C((HT,Gd)=>{"use strict";d();Gd.exports=Function.prototype.apply});var Yd=C((VT,Vd)=>{"use strict";d();Vd.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Qd=C((XT,Xd)=>{"use strict";d();var xE=En(),NE=na(),kE=co(),$E=Yd();Xd.exports=$E||xE.call(kE,NE)});var Zd=C((JT,Jd)=>{"use strict";d();var WE=En(),jE=Ks(),ME=co(),zE=Qd();Jd.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new jE("a function is required");return zE(WE,ME,t)}});var uh=C((KT,nh)=>{"use strict";d();var UE=Zd(),Kd=ea(),th;try{th=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var ua=!!th&&Kd&&Kd(Object.prototype,"__proto__"),rh=Object,eh=rh.getPrototypeOf;nh.exports=ua&&typeof ua.get=="function"?UE([ua.get]):typeof eh=="function"?function(t){return eh(t==null?t:rh(t))}:!1});var lh=C((tB,ah)=>{"use strict";d();var oh=ta(),ih=ra(),sh=uh();ah.exports=oh?function(t){return oh(t)}:ih?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return ih(t)}:sh?function(t){return sh(t)}:null});var fh=C((nB,ch)=>{"use strict";d();var HE=Function.prototype.call,GE=Object.prototype.hasOwnProperty,VE=En();ch.exports=VE.call(HE,GE)});var yh=C((oB,bh)=>{"use strict";d();var M,YE=Zs(),XE=td(),QE=nd(),JE=od(),ZE=sd(),vr=ld(),Rr=Ks(),KE=dd(),eC=pd(),tC=md(),rC=yd(),nC=Ed(),uC=Ad(),oC=Sd(),iC=vd(),Dh=Function,oa=function(e){try{return Dh('"use strict"; return ('+e+").constructor;")()}catch{}},Cn=ea(),sC=Id(),ia=function(){throw new Rr},aC=Cn?function(){try{return arguments.callee,ia}catch{try{return Cn(arguments,"callee").get}catch{return ia}}}():ia,wr=kd()(),ie=lh(),lC=ra(),cC=ta(),mh=na(),An=co(),Fr={},fC=typeof Uint8Array>"u"||!ie?M:ie(Uint8Array),jt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?M:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?M:ArrayBuffer,"%ArrayIteratorPrototype%":wr&&ie?ie([][Symbol.iterator]()):M,"%AsyncFromSyncIteratorPrototype%":M,"%AsyncFunction%":Fr,"%AsyncGenerator%":Fr,"%AsyncGeneratorFunction%":Fr,"%AsyncIteratorPrototype%":Fr,"%Atomics%":typeof Atomics>"u"?M:Atomics,"%BigInt%":typeof BigInt>"u"?M:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?M:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?M:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?M:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":XE,"%eval%":eval,"%EvalError%":QE,"%Float16Array%":typeof Float16Array>"u"?M:Float16Array,"%Float32Array%":typeof Float32Array>"u"?M:Float32Array,"%Float64Array%":typeof Float64Array>"u"?M:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?M:FinalizationRegistry,"%Function%":Dh,"%GeneratorFunction%":Fr,"%Int8Array%":typeof Int8Array>"u"?M:Int8Array,"%Int16Array%":typeof Int16Array>"u"?M:Int16Array,"%Int32Array%":typeof Int32Array>"u"?M:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":wr&&ie?ie(ie([][Symbol.iterator]())):M,"%JSON%":typeof JSON=="object"?JSON:M,"%Map%":typeof Map>"u"?M:Map,"%MapIteratorPrototype%":typeof Map>"u"||!wr||!ie?M:ie(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":YE,"%Object.getOwnPropertyDescriptor%":Cn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?M:Promise,"%Proxy%":typeof Proxy>"u"?M:Proxy,"%RangeError%":JE,"%ReferenceError%":ZE,"%Reflect%":typeof Reflect>"u"?M:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?M:Set,"%SetIteratorPrototype%":typeof Set>"u"||!wr||!ie?M:ie(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?M:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":wr&&ie?ie(""[Symbol.iterator]()):M,"%Symbol%":wr?Symbol:M,"%SyntaxError%":vr,"%ThrowTypeError%":aC,"%TypedArray%":fC,"%TypeError%":Rr,"%Uint8Array%":typeof Uint8Array>"u"?M:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?M:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?M:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?M:Uint32Array,"%URIError%":KE,"%WeakMap%":typeof WeakMap>"u"?M:WeakMap,"%WeakRef%":typeof WeakRef>"u"?M:WeakRef,"%WeakSet%":typeof WeakSet>"u"?M:WeakSet,"%Function.prototype.call%":An,"%Function.prototype.apply%":mh,"%Object.defineProperty%":sC,"%Object.getPrototypeOf%":lC,"%Math.abs%":eC,"%Math.floor%":tC,"%Math.max%":rC,"%Math.min%":nC,"%Math.pow%":uC,"%Math.round%":oC,"%Math.sign%":iC,"%Reflect.getPrototypeOf%":cC};if(ie)try{null.error}catch(e){dh=ie(ie(e)),jt["%Error.prototype%"]=dh}var dh,dC=function e(t){var r;if(t==="%AsyncFunction%")r=oa("async function () {}");else if(t==="%GeneratorFunction%")r=oa("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=oa("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&ie&&(r=ie(o.prototype))}return jt[t]=r,r},hh={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_n=En(),fo=fh(),hC=_n.call(An,Array.prototype.concat),pC=_n.call(mh,Array.prototype.splice),ph=_n.call(An,String.prototype.replace),ho=_n.call(An,String.prototype.slice),DC=_n.call(An,RegExp.prototype.exec),mC=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bC=/\\(\\)?/g,yC=function(t){var r=ho(t,0,1),n=ho(t,-1);if(r==="%"&&n!=="%")throw new vr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new vr("invalid intrinsic syntax, expected opening `%`");var o=[];return ph(t,mC,function(s,a,c,f){o[o.length]=c?ph(f,bC,"$1"):a||s}),o},gC=function(t,r){var n=t,o;if(fo(hh,n)&&(o=hh[n],n="%"+o[0]+"%"),fo(jt,n)){var s=jt[n];if(s===Fr&&(s=dC(n)),typeof s>"u"&&!r)throw new Rr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:s}}throw new vr("intrinsic "+t+" does not exist!")};bh.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Rr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Rr('"allowMissing" argument must be a boolean');if(DC(/^%?[^%]*%?$/,t)===null)throw new vr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=yC(t),o=n.length>0?n[0]:"",s=gC("%"+o+"%",r),a=s.name,c=s.value,f=!1,D=s.alias;D&&(o=D[0],pC(n,hC([0,1],D)));for(var h=1,m=!0;h<n.length;h+=1){var b=n[h],y=ho(b,0,1),E=ho(b,-1);if((y==='"'||y==="'"||y==="`"||E==='"'||E==="'"||E==="`")&&y!==E)throw new vr("property names with quotes must have matching quotes");if((b==="constructor"||!m)&&(f=!0),o+="."+b,a="%"+o+"%",fo(jt,a))c=jt[a];else if(c!=null){if(!(b in c)){if(!r)throw new Rr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Cn&&h+1>=n.length){var O=Cn(c,b);m=!!O,m&&"get"in O&&!("originalValue"in O.get)?c=O.get:c=c[b]}else m=fo(c,b),c=c[b];m&&!f&&(jt[a]=c)}}return c}});var Eh=C((sB,gh)=>{"use strict";d();var EC=yh(),sa=EC("%Object.defineProperty%",!0),aa=function(){if(sa)try{return sa({},"a",{value:1}),!0}catch{return!1}return!1};aa.hasArrayLengthDefineBug=function(){if(!aa())return null;try{return sa([],"length",{value:1}).length!==1}catch{return!0}};gh.exports=aa});var la=C((lB,Sh)=>{"use strict";d();var CC=Zf(),AC=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",_C=Object.prototype.toString,SC=Array.prototype.concat,Ch=Object.defineProperty,wC=function(e){return typeof e=="function"&&_C.call(e)==="[object Function]"},FC=Eh()(),Ah=Ch&&FC,RC=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!wC(n)||!n())return}Ah?Ch(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r},_h=function(e,t){var r=arguments.length>2?arguments[2]:{},n=CC(t);AC&&(n=SC.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o<n.length;o+=1)RC(e,n[o],t[n[o]],r[n[o]])};_h.supportsDescriptors=!!Ah;Sh.exports=_h});var ca=C((fB,wh)=>{"use strict";d();wh.exports=global});var fa=C((hB,Fh)=>{"use strict";d();var vC=ca();Fh.exports=function(){return typeof global!="object"||!global||global.Math!==Math||global.Array!==Array?vC:global}});var vh=C((DB,Rh)=>{"use strict";d();var TC=la(),BC=fa();Rh.exports=function(){var t=BC();if(TC.supportsDescriptors){var r=Object.getOwnPropertyDescriptor(t,"globalThis");(!r||r.configurable&&(r.enumerable||!r.writable||globalThis!==t))&&Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else(typeof globalThis!="object"||globalThis!==t)&&(t.globalThis=t);return t}});var da=C((bB,Ph)=>{"use strict";d();var PC=la(),OC=ca(),Th=fa(),IC=vh(),qC=Th(),Bh=function(){return qC};PC(Bh,{getPolyfill:Th,implementation:OC,shim:IC});Ph.exports=Bh});var qh=C((ha,Ih)=>{d();ha=Ih.exports=LC;ha.getSerialize=Oh;function LC(e,t,r,n){return JSON.stringify(e,Oh(t,n),r)}function Oh(e,t){var r=[],n=[];return t==null&&(t=function(o,s){return r[0]===s?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(s)).join(".")+"]"}),function(o,s){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(s)&&(s=t.call(this,o,s))}else r.push(s);return e==null?s:e.call(this,o,s)}}});var Lh=C(po=>{d();(function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(a){return n(s(a),arguments)}function r(a,c){return t.apply(null,[a].concat(c||[]))}function n(a,c){var f=1,D=a.length,h,m="",b,y,E,O,w,v,I,k;for(b=0;b<D;b++)if(typeof a[b]=="string")m+=a[b];else if(typeof a[b]=="object"){if(E=a[b],E.keys)for(h=c[f],y=0;y<E.keys.length;y++){if(h==null)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',E.keys[y],E.keys[y-1]));h=h[E.keys[y]]}else E.param_no?h=c[E.param_no]:h=c[f++];if(e.not_type.test(E.type)&&e.not_primitive.test(E.type)&&h instanceof Function&&(h=h()),e.numeric_arg.test(E.type)&&typeof h!="number"&&isNaN(h))throw new TypeError(t("[sprintf] expecting number but found %T",h));switch(e.number.test(E.type)&&(I=h>=0),E.type){case"b":h=parseInt(h,10).toString(2);break;case"c":h=String.fromCharCode(parseInt(h,10));break;case"d":case"i":h=parseInt(h,10);break;case"j":h=JSON.stringify(h,null,E.width?parseInt(E.width):0);break;case"e":h=E.precision?parseFloat(h).toExponential(E.precision):parseFloat(h).toExponential();break;case"f":h=E.precision?parseFloat(h).toFixed(E.precision):parseFloat(h);break;case"g":h=E.precision?String(Number(h.toPrecision(E.precision))):parseFloat(h);break;case"o":h=(parseInt(h,10)>>>0).toString(8);break;case"s":h=String(h),h=E.precision?h.substring(0,E.precision):h;break;case"t":h=String(!!h),h=E.precision?h.substring(0,E.precision):h;break;case"T":h=Object.prototype.toString.call(h).slice(8,-1).toLowerCase(),h=E.precision?h.substring(0,E.precision):h;break;case"u":h=parseInt(h,10)>>>0;break;case"v":h=h.valueOf(),h=E.precision?h.substring(0,E.precision):h;break;case"x":h=(parseInt(h,10)>>>0).toString(16);break;case"X":h=(parseInt(h,10)>>>0).toString(16).toUpperCase();break}e.json.test(E.type)?m+=h:(e.number.test(E.type)&&(!I||E.sign)?(k=I?"+":"-",h=h.toString().replace(e.sign,"")):k="",w=E.pad_char?E.pad_char==="0"?"0":E.pad_char.charAt(1):" ",v=E.width-(k+h).length,O=E.width&&v>0?w.repeat(v):"",m+=E.align?k+h+O:w==="0"?k+O+h:O+k+h)}return m}var o=Object.create(null);function s(a){if(o[a])return o[a];for(var c=a,f,D=[],h=0;c;){if((f=e.text.exec(c))!==null)D.push(f[0]);else if((f=e.modulo.exec(c))!==null)D.push("%");else if((f=e.placeholder.exec(c))!==null){if(f[2]){h|=1;var m=[],b=f[2],y=[];if((y=e.key.exec(b))!==null)for(m.push(y[1]);(b=b.substring(y[0].length))!=="";)if((y=e.key_access.exec(b))!==null)m.push(y[1]);else if((y=e.index_access.exec(b))!==null)m.push(y[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");f[2]=m}else h|=2;if(h===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");D.push({placeholder:f[0],param_no:f[1],keys:f[2],sign:f[3],pad_char:f[4],align:f[5],width:f[6],precision:f[7],type:f[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");c=c.substring(f[0].length)}return o[a]=D}typeof po<"u"&&(po.sprintf=t,po.vsprintf=r),typeof window<"u"&&(window.sprintf=t,window.vsprintf=r,typeof define=="function"&&define.amd&&define(function(){return{sprintf:t,vsprintf:r}}))})()});var pa=C(Do=>{"use strict";d();Object.defineProperty(Do,"__esModule",{value:!0});Do.logLevels=void 0;var xC={debug:20,error:50,fatal:60,info:30,trace:10,warn:40};Do.logLevels=xC});var kh=C(bo=>{"use strict";d();Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var NC=ya(oo()),kC=ya(da()),$C=ya(qh()),Da=Lh(),xh=pa();function ya(e){return e&&e.__esModule?e:{default:e}}function ma(){return ma=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ma.apply(this,arguments)}function Nh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nh(Object(r),!0).forEach(function(n){WC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function WC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jC=(0,kC.default)(),Sn;NC.default&&(Sn=require("domain"));var MC=()=>{if(!Sn)return{};let e=[],t=process.domain;if(!t||!t.parentDomain)return{};for(;t&&t.parentDomain;)t=t.parentDomain,t.roarr&&t.roarr.context&&e.push(t.roarr.context);let r={};for(let n of e)r=ge(ge({},r),n);return r},mo=()=>{if(!Sn)return{};let e=process.domain;if(e&&e.roarr&&e.roarr.context)return e.roarr.context;if(!e||!e.parentDomain)return{};for(;e&&e.parentDomain;)if(e=e.parentDomain,e.roarr&&e.roarr.context)return e.roarr.context;return{}},ba=(e,t)=>{let r=(n,o,s,a,c,f,D,h,m,b)=>{let y=Date.now(),E=jC.ROARR.sequence++,O,w;if(typeof n=="string"){O=ge(ge({},mo()),t||{});let v=ma({},{a:n,b:o,c:s,d:a,e:c,f,g:D,h,i:m,k:b});w=Object.keys(v).map(q=>v[q]).reduce((q,S)=>q+=typeof S>"u"?0:1,0)===1?(0,Da.sprintf)("%s",n):(0,Da.sprintf)(n,o,s,a,c,f,D,h,m,b)}else{if(typeof o!="string")throw new TypeError("Message must be a string.");O=JSON.parse((0,$C.default)(ge(ge(ge({},mo()),t||{}),n))),w=(0,Da.sprintf)(o,s,a,c,f,D,h,m,b)}e({context:O,message:w,sequence:E,time:y,version:"1.0.0"})};r.child=n=>typeof n=="function"?ba(o=>{if(typeof n!="function")throw new TypeError("Unexpected state.");e(n(o))},t):ba(e,ge(ge(ge({},mo()),t),n)),r.getContext=()=>ge(ge({},mo()),t||{}),r.adopt=async(n,o)=>{if(!Sn)return n();let s=Sn.create();return s.run(()=>(s.roarr={context:ge(ge({},MC()),o)},n()))};for(let n of Object.keys(xh.logLevels))r[n]=(o,s,a,c,f,D,h,m,b,y)=>r.child({logLevel:xh.logLevels[n]})(o,s,a,c,f,D,h,m,b,y);return r},zC=ba;bo.default=zC});var jh=C(yo=>{"use strict";d();Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var $h=pa(),Wh=(e,t)=>{let r=(n,o,s,a,c,f,D,h,m,b)=>{};r.adopt=async n=>n(),r.child=n=>Wh(e,t),r.getContext=()=>({});for(let n of Object.keys($h.logLevels))r[n]=(o,s,a,c,f,D,h,m,b,y)=>r.child({logLevel:$h.logLevels[n]})(o,s,a,c,f,D,h,m,b,y);return r},UC=Wh;yo.default=UC});var zh=C((vB,Mh)=>{d();Mh.exports=function(t,r){for(var n=t.split("."),o=r.split("."),s=0;s<3;s++){var a=Number(n[s]),c=Number(o[s]);if(a>c)return 1;if(c>a)return-1;if(!isNaN(a)&&isNaN(c))return 1;if(isNaN(a)&&!isNaN(c))return-1}return 0}});var Uh=C((BB,HC)=>{HC.exports={author:{email:"gajus@gajus.com",name:"Gajus Kuizinas",url:"http://gajus.com"},ava:{babel:{compileAsTests:["test/helpers/**/*"]},files:["test/roarr/**/*"],require:["@babel/register"]},dependencies:{boolean:"^3.0.1","detect-node":"^2.0.4",globalthis:"^1.0.1","json-stringify-safe":"^5.0.1","semver-compare":"^1.0.0","sprintf-js":"^1.1.2"},description:"JSON logger for Node.js and browser.",devDependencies:{"@ava/babel":"^1.0.1","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/plugin-transform-flow-strip-types":"^7.10.4","@babel/preset-env":"^7.11.5","@babel/register":"^7.11.5",ava:"^3.12.1","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4",coveralls:"^3.1.0","domain-parent":"^1.0.0",eslint:"^7.9.0","eslint-config-canonical":"^24.1.1","flow-bin":"^0.133.0","flow-copy-source":"^2.0.9",gitdown:"^3.1.3",husky:"^4.3.0",nyc:"^15.1.0","semantic-release":"^17.1.1"},engines:{node:">=8.0"},husky:{hooks:{"pre-commit":"npm run lint && npm run test && npm run build","pre-push":"gitdown ./.README/README.md --output-file ./README.md --check"}},keywords:["log","logger","json"],main:"./dist/log.js",name:"roarr",nyc:{include:["src/**/*.js"],instrument:!1,reporter:["text-lcov"],require:["@babel/register"],sourceMap:!1},license:"BSD-3-Clause",repository:{type:"git",url:"git@github.com:gajus/roarr.git"},scripts:{build:"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","create-readme":"gitdown ./.README/README.md --output-file ./README.md",dev:"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch",lint:"eslint ./src ./test && flow",test:"NODE_ENV=test ava --serial --verbose"},version:"2.15.4"}});var Hh=C(go=>{"use strict";d();Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var GC=e=>({write:t=>{e.write(t+`
2
2
  `)}}),VC=()=>{let t=(process.env.ROARR_STREAM||"STDOUT").toUpperCase().toUpperCase()==="STDOUT"?process.stdout:process.stderr;return GC(t)},YC=VC;go.default=YC});var Vh=C(Co=>{"use strict";d();Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var XC=Ca(oo()),ga=Ca(zh()),Ea=Uh(),QC=Ca(Hh());function Ca(e){return e&&e.__esModule?e:{default:e}}function Gh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Eo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gh(Object(r),!0).forEach(function(n){JC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function JC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ZC=e=>{let t=(e.versions||[]).concat();t.sort(ga.default);let r=!t.length||(0,ga.default)(Ea.version,t[t.length-1])===1;t.includes(Ea.version)||t.push(Ea.version),t.sort(ga.default);let n=Eo(Eo({sequence:0},e),{},{versions:t});return XC.default&&(r||!n.write)&&(n=Eo(Eo({},n),(0,QC.default)())),n},KC=ZC;Co.default=KC});var Yh=C(wn=>{"use strict";d();Object.defineProperty(wn,"__esModule",{value:!0});Object.defineProperty(wn,"createLogger",{enumerable:!0,get:function(){return eA.default}});Object.defineProperty(wn,"createMockLogger",{enumerable:!0,get:function(){return tA.default}});Object.defineProperty(wn,"createRoarrInititialGlobalState",{enumerable:!0,get:function(){return rA.default}});var eA=Aa(kh()),tA=Aa(jh()),rA=Aa(Vh());function Aa(e){return e&&e.__esModule?e:{default:e}}});var Zh=C(Tr=>{"use strict";d();Object.defineProperty(Tr,"__esModule",{value:!0});Tr.default=Tr.ROARR=void 0;var nA=uo(),uA=Qh(oo()),oA=Qh(da()),Sa=Yh();function Qh(e){return e&&e.__esModule?e:{default:e}}var Xh=(0,oA.default)(),_a=Xh.ROARR=(0,Sa.createRoarrInititialGlobalState)(Xh.ROARR||{});Tr.ROARR=_a;var Jh=Sa.createLogger;uA.default&&((0,nA.boolean)(process.env.ROARR_LOG||"")||(Jh=Sa.createMockLogger));var iA=Jh(e=>{if(_a.write){let t=JSON.stringify(e);_a.write(t)}});Tr.default=iA});var Fn=C(Ao=>{"use strict";d();Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var sA=aA(Zh());function aA(e){return e&&e.__esModule?e:{default:e}}var lA=sA.default.child({package:"global-agent"}),cA=lA;Ao.default=cA});var Rn=C((jB,Kh)=>{d();var fA="2.0.0",dA=Number.MAX_SAFE_INTEGER||9007199254740991,hA=16;Kh.exports={SEMVER_SPEC_VERSION:fA,MAX_LENGTH:256,MAX_SAFE_INTEGER:dA,MAX_SAFE_COMPONENT_LENGTH:hA}});var vn=C((zB,ep)=>{d();var pA=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};ep.exports=pA});var Mt=C((Ct,tp)=>{d();var{MAX_SAFE_COMPONENT_LENGTH:wa}=Rn(),DA=vn();Ct=tp.exports={};var mA=Ct.re=[],B=Ct.src=[],P=Ct.t={},bA=0,j=(e,t,r)=>{let n=bA++;DA(e,n,t),P[e]=n,B[n]=t,mA[n]=new RegExp(t,r?"g":void 0)};j("NUMERICIDENTIFIER","0|[1-9]\\d*");j("NUMERICIDENTIFIERLOOSE","[0-9]+");j("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");j("MAINVERSION",`(${B[P.NUMERICIDENTIFIER]})\\.(${B[P.NUMERICIDENTIFIER]})\\.(${B[P.NUMERICIDENTIFIER]})`);j("MAINVERSIONLOOSE",`(${B[P.NUMERICIDENTIFIERLOOSE]})\\.(${B[P.NUMERICIDENTIFIERLOOSE]})\\.(${B[P.NUMERICIDENTIFIERLOOSE]})`);j("PRERELEASEIDENTIFIER",`(?:${B[P.NUMERICIDENTIFIER]}|${B[P.NONNUMERICIDENTIFIER]})`);j("PRERELEASEIDENTIFIERLOOSE",`(?:${B[P.NUMERICIDENTIFIERLOOSE]}|${B[P.NONNUMERICIDENTIFIER]})`);j("PRERELEASE",`(?:-(${B[P.PRERELEASEIDENTIFIER]}(?:\\.${B[P.PRERELEASEIDENTIFIER]})*))`);j("PRERELEASELOOSE",`(?:-?(${B[P.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${B[P.PRERELEASEIDENTIFIERLOOSE]})*))`);j("BUILDIDENTIFIER","[0-9A-Za-z-]+");j("BUILD",`(?:\\+(${B[P.BUILDIDENTIFIER]}(?:\\.${B[P.BUILDIDENTIFIER]})*))`);j("FULLPLAIN",`v?${B[P.MAINVERSION]}${B[P.PRERELEASE]}?${B[P.BUILD]}?`);j("FULL",`^${B[P.FULLPLAIN]}$`);j("LOOSEPLAIN",`[v=\\s]*${B[P.MAINVERSIONLOOSE]}${B[P.PRERELEASELOOSE]}?${B[P.BUILD]}?`);j("LOOSE",`^${B[P.LOOSEPLAIN]}$`);j("GTLT","((?:<|>)?=?)");j("XRANGEIDENTIFIERLOOSE",`${B[P.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);j("XRANGEIDENTIFIER",`${B[P.NUMERICIDENTIFIER]}|x|X|\\*`);j("XRANGEPLAIN",`[v=\\s]*(${B[P.XRANGEIDENTIFIER]})(?:\\.(${B[P.XRANGEIDENTIFIER]})(?:\\.(${B[P.XRANGEIDENTIFIER]})(?:${B[P.PRERELEASE]})?${B[P.BUILD]}?)?)?`);j("XRANGEPLAINLOOSE",`[v=\\s]*(${B[P.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B[P.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B[P.XRANGEIDENTIFIERLOOSE]})(?:${B[P.PRERELEASELOOSE]})?${B[P.BUILD]}?)?)?`);j("XRANGE",`^${B[P.GTLT]}\\s*${B[P.XRANGEPLAIN]}$`);j("XRANGELOOSE",`^${B[P.GTLT]}\\s*${B[P.XRANGEPLAINLOOSE]}$`);j("COERCE",`(^|[^\\d])(\\d{1,${wa}})(?:\\.(\\d{1,${wa}}))?(?:\\.(\\d{1,${wa}}))?(?:$|[^\\d])`);j("COERCERTL",B[P.COERCE],!0);j("LONETILDE","(?:~>?)");j("TILDETRIM",`(\\s*)${B[P.LONETILDE]}\\s+`,!0);Ct.tildeTrimReplace="$1~";j("TILDE",`^${B[P.LONETILDE]}${B[P.XRANGEPLAIN]}$`);j("TILDELOOSE",`^${B[P.LONETILDE]}${B[P.XRANGEPLAINLOOSE]}$`);j("LONECARET","(?:\\^)");j("CARETTRIM",`(\\s*)${B[P.LONECARET]}\\s+`,!0);Ct.caretTrimReplace="$1^";j("CARET",`^${B[P.LONECARET]}${B[P.XRANGEPLAIN]}$`);j("CARETLOOSE",`^${B[P.LONECARET]}${B[P.XRANGEPLAINLOOSE]}$`);j("COMPARATORLOOSE",`^${B[P.GTLT]}\\s*(${B[P.LOOSEPLAIN]})$|^$`);j("COMPARATOR",`^${B[P.GTLT]}\\s*(${B[P.FULLPLAIN]})$|^$`);j("COMPARATORTRIM",`(\\s*)${B[P.GTLT]}\\s*(${B[P.LOOSEPLAIN]}|${B[P.XRANGEPLAIN]})`,!0);Ct.comparatorTrimReplace="$1$2$3";j("HYPHENRANGE",`^\\s*(${B[P.XRANGEPLAIN]})\\s+-\\s+(${B[P.XRANGEPLAIN]})\\s*$`);j("HYPHENRANGELOOSE",`^\\s*(${B[P.XRANGEPLAINLOOSE]})\\s+-\\s+(${B[P.XRANGEPLAINLOOSE]})\\s*$`);j("STAR","(<|>)?=?\\s*\\*");j("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");j("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Tn=C((GB,rp)=>{d();var yA=["includePrerelease","loose","rtl"],gA=e=>e?typeof e!="object"?{loose:!0}:yA.filter(t=>e[t]).reduce((t,r)=>(t[r]=!0,t),{}):{};rp.exports=gA});var Fa=C((YB,op)=>{d();var np=/^[0-9]+$/,up=(e,t)=>{let r=np.test(e),n=np.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},EA=(e,t)=>up(t,e);op.exports={compareIdentifiers:up,rcompareIdentifiers:EA}});var he=C((QB,lp)=>{d();var _o=vn(),{MAX_LENGTH:ip,MAX_SAFE_INTEGER:So}=Rn(),{re:sp,t:ap}=Mt(),CA=Tn(),{compareIdentifiers:Br}=Fa(),Ra=class e{constructor(t,r){if(r=CA(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid Version: ${t}`);if(t.length>ip)throw new TypeError(`version is longer than ${ip} characters`);_o("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?sp[ap.LOOSE]:sp[ap.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>So||this.major<0)throw new TypeError("Invalid major version");if(this.minor>So||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>So||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let s=+o;if(s>=0&&s<So)return s}return o}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(_o("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),Br(this.major,t.major)||Br(this.minor,t.minor)||Br(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],o=t.prerelease[r];if(_o("prerelease compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return Br(n,o)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],o=t.build[r];if(_o("prerelease compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return Br(n,o)}while(++r)}inc(t,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r),this.inc("pre",r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);n===-1&&this.prerelease.push(0)}r&&(Br(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}};lp.exports=Ra});var zt=C((ZB,hp)=>{d();var{MAX_LENGTH:AA}=Rn(),{re:cp,t:fp}=Mt(),dp=he(),_A=Tn(),SA=(e,t)=>{if(t=_A(t),e instanceof dp)return e;if(typeof e!="string"||e.length>AA||!(t.loose?cp[fp.LOOSE]:cp[fp.FULL]).test(e))return null;try{return new dp(e,t)}catch{return null}};hp.exports=SA});var Dp=C((eP,pp)=>{d();var wA=zt(),FA=(e,t)=>{let r=wA(e,t);return r?r.version:null};pp.exports=FA});var bp=C((rP,mp)=>{d();var RA=zt(),vA=(e,t)=>{let r=RA(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};mp.exports=vA});var Ep=C((uP,gp)=>{d();var yp=he(),TA=(e,t,r,n)=>{typeof r=="string"&&(n=r,r=void 0);try{return new yp(e instanceof yp?e.version:e,r).inc(t,n).version}catch{return null}};gp.exports=TA});var Ie=C((iP,Ap)=>{d();var Cp=he(),BA=(e,t,r)=>new Cp(e,r).compare(new Cp(t,r));Ap.exports=BA});var wo=C((aP,_p)=>{d();var PA=Ie(),OA=(e,t,r)=>PA(e,t,r)===0;_p.exports=OA});var Fp=C((cP,wp)=>{d();var Sp=zt(),IA=wo(),qA=(e,t)=>{if(IA(e,t))return null;{let r=Sp(e),n=Sp(t),o=r.prerelease.length||n.prerelease.length,s=o?"pre":"",a=o?"prerelease":"";for(let c in r)if((c==="major"||c==="minor"||c==="patch")&&r[c]!==n[c])return s+c;return a}};wp.exports=qA});var vp=C((dP,Rp)=>{d();var LA=he(),xA=(e,t)=>new LA(e,t).major;Rp.exports=xA});var Bp=C((pP,Tp)=>{d();var NA=he(),kA=(e,t)=>new NA(e,t).minor;Tp.exports=kA});var Op=C((mP,Pp)=>{d();var $A=he(),WA=(e,t)=>new $A(e,t).patch;Pp.exports=WA});var qp=C((yP,Ip)=>{d();var jA=zt(),MA=(e,t)=>{let r=jA(e,t);return r&&r.prerelease.length?r.prerelease:null};Ip.exports=MA});var xp=C((EP,Lp)=>{d();var zA=Ie(),UA=(e,t,r)=>zA(t,e,r);Lp.exports=UA});var kp=C((AP,Np)=>{d();var HA=Ie(),GA=(e,t)=>HA(e,t,!0);Np.exports=GA});var Fo=C((SP,Wp)=>{d();var $p=he(),VA=(e,t,r)=>{let n=new $p(e,r),o=new $p(t,r);return n.compare(o)||n.compareBuild(o)};Wp.exports=VA});var Mp=C((FP,jp)=>{d();var YA=Fo(),XA=(e,t)=>e.sort((r,n)=>YA(r,n,t));jp.exports=XA});var Up=C((vP,zp)=>{d();var QA=Fo(),JA=(e,t)=>e.sort((r,n)=>QA(n,r,t));zp.exports=JA});var Bn=C((BP,Hp)=>{d();var ZA=Ie(),KA=(e,t,r)=>ZA(e,t,r)>0;Hp.exports=KA});var Ro=C((OP,Gp)=>{d();var e_=Ie(),t_=(e,t,r)=>e_(e,t,r)<0;Gp.exports=t_});var va=C((qP,Vp)=>{d();var r_=Ie(),n_=(e,t,r)=>r_(e,t,r)!==0;Vp.exports=n_});var vo=C((xP,Yp)=>{d();var u_=Ie(),o_=(e,t,r)=>u_(e,t,r)>=0;Yp.exports=o_});var To=C((kP,Xp)=>{d();var i_=Ie(),s_=(e,t,r)=>i_(e,t,r)<=0;Xp.exports=s_});var Ta=C((WP,Qp)=>{d();var a_=wo(),l_=va(),c_=Bn(),f_=vo(),d_=Ro(),h_=To(),p_=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return a_(e,r,n);case"!=":return l_(e,r,n);case">":return c_(e,r,n);case">=":return f_(e,r,n);case"<":return d_(e,r,n);case"<=":return h_(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};Qp.exports=p_});var Zp=C((MP,Jp)=>{d();var D_=he(),m_=zt(),{re:Bo,t:Po}=Mt(),b_=(e,t)=>{if(e instanceof D_)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(Bo[Po.COERCE]);else{let n;for(;(n=Bo[Po.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Bo[Po.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Bo[Po.COERCERTL].lastIndex=-1}return r===null?null:m_(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};Jp.exports=b_});var e0=C((UP,Kp)=>{"use strict";d();Kp.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var r0=C((GP,t0)=>{"use strict";d();t0.exports=X;X.Node=Ut;X.create=X;function X(e){var t=this;if(t instanceof X||(t=new X),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}X.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};X.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};X.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};X.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)g_(this,arguments[e]);return this.length};X.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)E_(this,arguments[e]);return this.length};X.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};X.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};X.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next};X.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev};X.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};X.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};X.prototype.map=function(e,t){t=t||this;for(var r=new X,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};X.prototype.mapReverse=function(e,t){t=t||this;for(var r=new X,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};X.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;n!==null;o++)r=e(r,n.value,o),n=n.next;return r};X.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;n!==null;o--)r=e(r,n.value,o),n=n.prev;return r};X.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};X.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};X.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new X;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,o=this.head;o!==null&&n<e;n++)o=o.next;for(;o!==null&&n<t;n++,o=o.next)r.push(o.value);return r};X.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new X;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,o=this.tail;o!==null&&n>t;n--)o=o.prev;for(;o!==null&&n>e;n--,o=o.prev)r.push(o.value);return r};X.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;o!==null&&n<e;n++)o=o.next;for(var s=[],n=0;o&&n<t;n++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var n=0;n<r.length;n++)o=y_(this,o,r[n]);return s};X.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};function y_(e,t,r){var n=t===e.head?new Ut(r,null,t,e):new Ut(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function g_(e,t){e.tail=new Ut(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function E_(e,t){e.head=new Ut(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Ut(e,t,r,n){if(!(this instanceof Ut))return new Ut(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{e0()(X)}catch{}});var s0=C((YP,i0)=>{"use strict";d();var C_=r0(),Ht=Symbol("max"),it=Symbol("length"),Pr=Symbol("lengthCalculator"),On=Symbol("allowStale"),Gt=Symbol("maxAge"),ot=Symbol("dispose"),n0=Symbol("noDisposeOnSet"),se=Symbol("lruList"),Me=Symbol("cache"),o0=Symbol("updateAgeOnGet"),Ba=()=>1,Oa=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let r=this[Ht]=t.max||1/0,n=t.length||Ba;if(this[Pr]=typeof n!="function"?Ba:n,this[On]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Gt]=t.maxAge||0,this[ot]=t.dispose,this[n0]=t.noDisposeOnSet||!1,this[o0]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Ht]=t||1/0,Pn(this)}get max(){return this[Ht]}set allowStale(t){this[On]=!!t}get allowStale(){return this[On]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Gt]=t,Pn(this)}get maxAge(){return this[Gt]}set lengthCalculator(t){typeof t!="function"&&(t=Ba),t!==this[Pr]&&(this[Pr]=t,this[it]=0,this[se].forEach(r=>{r.length=this[Pr](r.value,r.key),this[it]+=r.length})),Pn(this)}get lengthCalculator(){return this[Pr]}get length(){return this[it]}get itemCount(){return this[se].length}rforEach(t,r){r=r||this;for(let n=this[se].tail;n!==null;){let o=n.prev;u0(this,t,n,r),n=o}}forEach(t,r){r=r||this;for(let n=this[se].head;n!==null;){let o=n.next;u0(this,t,n,r),n=o}}keys(){return this[se].toArray().map(t=>t.key)}values(){return this[se].toArray().map(t=>t.value)}reset(){this[ot]&&this[se]&&this[se].length&&this[se].forEach(t=>this[ot](t.key,t.value)),this[Me]=new Map,this[se]=new C_,this[it]=0}dump(){return this[se].map(t=>Oo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[se]}set(t,r,n){if(n=n||this[Gt],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let o=n?Date.now():0,s=this[Pr](r,t);if(this[Me].has(t)){if(s>this[Ht])return Or(this,this[Me].get(t)),!1;let f=this[Me].get(t).value;return this[ot]&&(this[n0]||this[ot](t,f.value)),f.now=o,f.maxAge=n,f.value=r,this[it]+=s-f.length,f.length=s,this.get(t),Pn(this),!0}let a=new Ia(t,r,s,o,n);return a.length>this[Ht]?(this[ot]&&this[ot](t,r),!1):(this[it]+=a.length,this[se].unshift(a),this[Me].set(t,this[se].head),Pn(this),!0)}has(t){if(!this[Me].has(t))return!1;let r=this[Me].get(t).value;return!Oo(this,r)}get(t){return Pa(this,t,!0)}peek(t){return Pa(this,t,!1)}pop(){let t=this[se].tail;return t?(Or(this,t),t.value):null}del(t){Or(this,this[Me].get(t))}load(t){this.reset();let r=Date.now();for(let n=t.length-1;n>=0;n--){let o=t[n],s=o.e||0;if(s===0)this.set(o.k,o.v);else{let a=s-r;a>0&&this.set(o.k,o.v,a)}}}prune(){this[Me].forEach((t,r)=>Pa(this,r,!1))}},Pa=(e,t,r)=>{let n=e[Me].get(t);if(n){let o=n.value;if(Oo(e,o)){if(Or(e,n),!e[On])return}else r&&(e[o0]&&(n.value.now=Date.now()),e[se].unshiftNode(n));return o.value}},Oo=(e,t)=>{if(!t||!t.maxAge&&!e[Gt])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[Gt]&&r>e[Gt]},Pn=e=>{if(e[it]>e[Ht])for(let t=e[se].tail;e[it]>e[Ht]&&t!==null;){let r=t.prev;Or(e,t),t=r}},Or=(e,t)=>{if(t){let r=t.value;e[ot]&&e[ot](r.key,r.value),e[it]-=r.length,e[Me].delete(r.key),e[se].removeNode(t)}},Ia=class{constructor(t,r,n,o,s){this.key=t,this.value=r,this.length=n,this.now=o,this.maxAge=s||0}},u0=(e,t,r,n)=>{let o=r.value;Oo(e,o)&&(Or(e,r),e[On]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};i0.exports=Oa});var qe=C((QP,f0)=>{d();var qa=class e{constructor(t,r){if(r=__(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof La)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t,this.set=t.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${t}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(o=>!l0(o[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&v_(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){t=t.trim();let n=`parseRange:${Object.keys(this.options).join(",")}:${t}`,o=a0.get(n);if(o)return o;let s=this.options.loose,a=s?Ee[me.HYPHENRANGELOOSE]:Ee[me.HYPHENRANGE];t=t.replace(a,k_(this.options.includePrerelease)),te("hyphen replace",t),t=t.replace(Ee[me.COMPARATORTRIM],w_),te("comparator trim",t),t=t.replace(Ee[me.TILDETRIM],F_),t=t.replace(Ee[me.CARETTRIM],R_),t=t.split(/\s+/).join(" ");let c=t.split(" ").map(m=>T_(m,this.options)).join(" ").split(/\s+/).map(m=>N_(m,this.options));s&&(c=c.filter(m=>(te("loose invalid filter",m,this.options),!!m.match(Ee[me.COMPARATORLOOSE])))),te("range list",c);let f=new Map,D=c.map(m=>new La(m,this.options));for(let m of D){if(l0(m))return[m];f.set(m.value,m)}f.size>1&&f.has("")&&f.delete("");let h=[...f.values()];return a0.set(n,h),h}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(n=>c0(n,r)&&t.set.some(o=>c0(o,r)&&n.every(s=>o.every(a=>s.intersects(a,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new S_(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if($_(this.set[r],t,this.options))return!0;return!1}};f0.exports=qa;var A_=s0(),a0=new A_({max:1e3}),__=Tn(),La=In(),te=vn(),S_=he(),{re:Ee,t:me,comparatorTrimReplace:w_,tildeTrimReplace:F_,caretTrimReplace:R_}=Mt(),l0=e=>e.value==="<0.0.0-0",v_=e=>e.value==="",c0=(e,t)=>{let r=!0,n=e.slice(),o=n.pop();for(;r&&n.length;)r=n.every(s=>o.intersects(s,t)),o=n.pop();return r},T_=(e,t)=>(te("comp",e,t),e=O_(e,t),te("caret",e),e=B_(e,t),te("tildes",e),e=q_(e,t),te("xrange",e),e=x_(e,t),te("stars",e),e),be=e=>!e||e.toLowerCase()==="x"||e==="*",B_=(e,t)=>e.trim().split(/\s+/).map(r=>P_(r,t)).join(" "),P_=(e,t)=>{let r=t.loose?Ee[me.TILDELOOSE]:Ee[me.TILDE];return e.replace(r,(n,o,s,a,c)=>{te("tilde",e,n,o,s,a,c);let f;return be(o)?f="":be(s)?f=`>=${o}.0.0 <${+o+1}.0.0-0`:be(a)?f=`>=${o}.${s}.0 <${o}.${+s+1}.0-0`:c?(te("replaceTilde pr",c),f=`>=${o}.${s}.${a}-${c} <${o}.${+s+1}.0-0`):f=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`,te("tilde return",f),f})},O_=(e,t)=>e.trim().split(/\s+/).map(r=>I_(r,t)).join(" "),I_=(e,t)=>{te("caret",e,t);let r=t.loose?Ee[me.CARETLOOSE]:Ee[me.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(o,s,a,c,f)=>{te("caret",e,o,s,a,c,f);let D;return be(s)?D="":be(a)?D=`>=${s}.0.0${n} <${+s+1}.0.0-0`:be(c)?s==="0"?D=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:D=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:f?(te("replaceCaret pr",f),s==="0"?a==="0"?D=`>=${s}.${a}.${c}-${f} <${s}.${a}.${+c+1}-0`:D=`>=${s}.${a}.${c}-${f} <${s}.${+a+1}.0-0`:D=`>=${s}.${a}.${c}-${f} <${+s+1}.0.0-0`):(te("no pr"),s==="0"?a==="0"?D=`>=${s}.${a}.${c}${n} <${s}.${a}.${+c+1}-0`:D=`>=${s}.${a}.${c}${n} <${s}.${+a+1}.0-0`:D=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),te("caret return",D),D})},q_=(e,t)=>(te("replaceXRanges",e,t),e.split(/\s+/).map(r=>L_(r,t)).join(" ")),L_=(e,t)=>{e=e.trim();let r=t.loose?Ee[me.XRANGELOOSE]:Ee[me.XRANGE];return e.replace(r,(n,o,s,a,c,f)=>{te("xRange",e,n,o,s,a,c,f);let D=be(s),h=D||be(a),m=h||be(c),b=m;return o==="="&&b&&(o=""),f=t.includePrerelease?"-0":"",D?o===">"||o==="<"?n="<0.0.0-0":n="*":o&&b?(h&&(a=0),c=0,o===">"?(o=">=",h?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):o==="<="&&(o="<",h?s=+s+1:a=+a+1),o==="<"&&(f="-0"),n=`${o+s}.${a}.${c}${f}`):h?n=`>=${s}.0.0${f} <${+s+1}.0.0-0`:m&&(n=`>=${s}.${a}.0${f} <${s}.${+a+1}.0-0`),te("xRange return",n),n})},x_=(e,t)=>(te("replaceStars",e,t),e.trim().replace(Ee[me.STAR],"")),N_=(e,t)=>(te("replaceGTE0",e,t),e.trim().replace(Ee[t.includePrerelease?me.GTE0PRE:me.GTE0],"")),k_=e=>(t,r,n,o,s,a,c,f,D,h,m,b,y)=>(be(n)?r="":be(o)?r=`>=${n}.0.0${e?"-0":""}`:be(s)?r=`>=${n}.${o}.0${e?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,be(D)?f="":be(h)?f=`<${+D+1}.0.0-0`:be(m)?f=`<${D}.${+h+1}.0-0`:b?f=`<=${D}.${h}.${m}-${b}`:e?f=`<${D}.${h}.${+m+1}-0`:f=`<=${f}`,`${r} ${f}`.trim()),$_=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++)if(te(e[n].semver),e[n].semver!==La.ANY&&e[n].semver.prerelease.length>0){let o=e[n].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var In=C((ZP,m0)=>{d();var qn=Symbol("SemVer ANY"),ka=class e{static get ANY(){return qn}constructor(t,r){if(r=W_(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}Na("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===qn?this.value="":this.value=this.operator+this.semver.version,Na("comp",this)}parse(t){let r=this.options.loose?d0[h0.COMPARATORLOOSE]:d0[h0.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new p0(n[2],this.options.loose):this.semver=qn}toString(){return this.value}test(t){if(Na("Comparator.test",t,this.options.loose),this.semver===qn||t===qn)return!0;if(typeof t=="string")try{t=new p0(t,this.options)}catch{return!1}return xa(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new D0(t.value,r).test(this.value);if(t.operator==="")return t.value===""?!0:new D0(this.value,r).test(t.semver);let n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),o=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=xa(this.semver,"<",t.semver,r)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),f=xa(this.semver,">",t.semver,r)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||o||s&&a||c||f}};m0.exports=ka;var W_=Tn(),{re:d0,t:h0}=Mt(),xa=Ta(),Na=vn(),p0=he(),D0=qe()});var Ln=C((eO,b0)=>{d();var j_=qe(),M_=(e,t,r)=>{try{t=new j_(t,r)}catch{return!1}return t.test(e)};b0.exports=M_});var g0=C((rO,y0)=>{d();var z_=qe(),U_=(e,t)=>new z_(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));y0.exports=U_});var C0=C((uO,E0)=>{d();var H_=he(),G_=qe(),V_=(e,t,r)=>{let n=null,o=null,s=null;try{s=new G_(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!n||o.compare(a)===-1)&&(n=a,o=new H_(n,r))}),n};E0.exports=V_});var _0=C((iO,A0)=>{d();var Y_=he(),X_=qe(),Q_=(e,t,r)=>{let n=null,o=null,s=null;try{s=new X_(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!n||o.compare(a)===1)&&(n=a,o=new Y_(n,r))}),n};A0.exports=Q_});var F0=C((aO,w0)=>{d();var $a=he(),J_=qe(),S0=Bn(),Z_=(e,t)=>{e=new J_(e,t);let r=new $a("0.0.0");if(e.test(r)||(r=new $a("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){let o=e.set[n],s=null;o.forEach(a=>{let c=new $a(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||S0(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||S0(r,s))&&(r=s)}return r&&e.test(r)?r:null};w0.exports=Z_});var v0=C((cO,R0)=>{d();var K_=qe(),eS=(e,t)=>{try{return new K_(e,t).range||"*"}catch{return null}};R0.exports=eS});var Io=C((dO,O0)=>{d();var tS=he(),P0=In(),{ANY:rS}=P0,nS=qe(),uS=Ln(),T0=Bn(),B0=Ro(),oS=To(),iS=vo(),sS=(e,t,r,n)=>{e=new tS(e,n),t=new nS(t,n);let o,s,a,c,f;switch(r){case">":o=T0,s=oS,a=B0,c=">",f=">=";break;case"<":o=B0,s=iS,a=T0,c="<",f="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(uS(e,t,n))return!1;for(let D=0;D<t.set.length;++D){let h=t.set[D],m=null,b=null;if(h.forEach(y=>{y.semver===rS&&(y=new P0(">=0.0.0")),m=m||y,b=b||y,o(y.semver,m.semver,n)?m=y:a(y.semver,b.semver,n)&&(b=y)}),m.operator===c||m.operator===f||(!b.operator||b.operator===c)&&s(e,b.semver))return!1;if(b.operator===f&&a(e,b.semver))return!1}return!0};O0.exports=sS});var q0=C((pO,I0)=>{d();var aS=Io(),lS=(e,t,r)=>aS(e,t,">",r);I0.exports=lS});var x0=C((mO,L0)=>{d();var cS=Io(),fS=(e,t,r)=>cS(e,t,"<",r);L0.exports=fS});var $0=C((yO,k0)=>{d();var N0=qe(),dS=(e,t,r)=>(e=new N0(e,r),t=new N0(t,r),e.intersects(t));k0.exports=dS});var j0=C((EO,W0)=>{d();var hS=Ln(),pS=Ie();W0.exports=(e,t,r)=>{let n=[],o=null,s=null,a=e.sort((h,m)=>pS(h,m,r));for(let h of a)hS(h,t,r)?(s=h,o||(o=h)):(s&&n.push([o,s]),s=null,o=null);o&&n.push([o,null]);let c=[];for(let[h,m]of n)h===m?c.push(h):!m&&h===a[0]?c.push("*"):m?h===a[0]?c.push(`<=${m}`):c.push(`${h} - ${m}`):c.push(`>=${h}`);let f=c.join(" || "),D=typeof t.raw=="string"?t.raw:String(t);return f.length<D.length?f:t}});var G0=C((AO,H0)=>{d();var M0=qe(),qo=In(),{ANY:Wa}=qo,xn=Ln(),ja=Ie(),DS=(e,t,r={})=>{if(e===t)return!0;e=new M0(e,r),t=new M0(t,r);let n=!1;e:for(let o of e.set){for(let s of t.set){let a=mS(o,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},mS=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Wa){if(t.length===1&&t[0].semver===Wa)return!0;r.includePrerelease?e=[new qo(">=0.0.0-0")]:e=[new qo(">=0.0.0")]}if(t.length===1&&t[0].semver===Wa){if(r.includePrerelease)return!0;t=[new qo(">=0.0.0")]}let n=new Set,o,s;for(let y of e)y.operator===">"||y.operator===">="?o=z0(o,y,r):y.operator==="<"||y.operator==="<="?s=U0(s,y,r):n.add(y.semver);if(n.size>1)return null;let a;if(o&&s){if(a=ja(o.semver,s.semver,r),a>0)return null;if(a===0&&(o.operator!==">="||s.operator!=="<="))return null}for(let y of n){if(o&&!xn(y,String(o),r)||s&&!xn(y,String(s),r))return null;for(let E of t)if(!xn(y,String(E),r))return!1;return!0}let c,f,D,h,m=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,b=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1;m&&m.prerelease.length===1&&s.operator==="<"&&m.prerelease[0]===0&&(m=!1);for(let y of t){if(h=h||y.operator===">"||y.operator===">=",D=D||y.operator==="<"||y.operator==="<=",o){if(b&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===b.major&&y.semver.minor===b.minor&&y.semver.patch===b.patch&&(b=!1),y.operator===">"||y.operator===">="){if(c=z0(o,y,r),c===y&&c!==o)return!1}else if(o.operator===">="&&!xn(o.semver,String(y),r))return!1}if(s){if(m&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===m.major&&y.semver.minor===m.minor&&y.semver.patch===m.patch&&(m=!1),y.operator==="<"||y.operator==="<="){if(f=U0(s,y,r),f===y&&f!==s)return!1}else if(s.operator==="<="&&!xn(s.semver,String(y),r))return!1}if(!y.operator&&(s||o)&&a!==0)return!1}return!(o&&D&&!s&&a!==0||s&&h&&!o&&a!==0||b||m)},z0=(e,t,r)=>{if(!e)return t;let n=ja(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},U0=(e,t,r)=>{if(!e)return t;let n=ja(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};H0.exports=DS});var X0=C((SO,Y0)=>{d();var Ma=Mt(),bS=Rn(),yS=he(),V0=Fa(),gS=zt(),ES=Dp(),CS=bp(),AS=Ep(),_S=Fp(),SS=vp(),wS=Bp(),FS=Op(),RS=qp(),vS=Ie(),TS=xp(),BS=kp(),PS=Fo(),OS=Mp(),IS=Up(),qS=Bn(),LS=Ro(),xS=wo(),NS=va(),kS=vo(),$S=To(),WS=Ta(),jS=Zp(),MS=In(),zS=qe(),US=Ln(),HS=g0(),GS=C0(),VS=_0(),YS=F0(),XS=v0(),QS=Io(),JS=q0(),ZS=x0(),KS=$0(),ew=j0(),tw=G0();Y0.exports={parse:gS,valid:ES,clean:CS,inc:AS,diff:_S,major:SS,minor:wS,patch:FS,prerelease:RS,compare:vS,rcompare:TS,compareLoose:BS,compareBuild:PS,sort:OS,rsort:IS,gt:qS,lt:LS,eq:xS,neq:NS,gte:kS,lte:$S,cmp:WS,coerce:jS,Comparator:MS,Range:zS,satisfies:US,toComparators:HS,maxSatisfying:GS,minSatisfying:VS,minVersion:YS,validRange:XS,outside:QS,gtr:JS,ltr:ZS,intersects:KS,simplifyRange:ew,subset:tw,SemVer:yS,re:Ma.re,src:Ma.src,tokens:Ma.t,SEMVER_SPEC_VERSION:bS.SEMVER_SPEC_VERSION,compareIdentifiers:V0.compareIdentifiers,rcompareIdentifiers:V0.rcompareIdentifiers}});var J0=C((FO,Q0)=>{"use strict";d();var za=class e extends Error{constructor(t){super(e._prepareSuperMessage(t)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,e)}static _prepareSuperMessage(t){try{return JSON.stringify(t)}catch{return String(t)}}},rw=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],Ua=({from:e,seen:t,to_:r,forceEnumerable:n})=>{let o=r||(Array.isArray(e)?[]:{});t.push(e);for(let[s,a]of Object.entries(e))if(typeof a!="function"){if(!a||typeof a!="object"){o[s]=a;continue}if(!t.includes(e[s])){o[s]=Ua({from:e[s],seen:t.slice(),forceEnumerable:n});continue}o[s]="[Circular]"}for(let{property:s,enumerable:a}of rw)typeof e[s]=="string"&&Object.defineProperty(o,s,{value:e[s],enumerable:n?!0:a,configurable:!0,writable:!0});return o},nw=e=>typeof e=="object"&&e!==null?Ua({from:e,seen:[],forceEnumerable:!0}):typeof e=="function"?`[Function: ${e.name||"anonymous"}]`:e,uw=e=>{if(e instanceof Error)return e;if(typeof e=="object"&&e!==null&&!Array.isArray(e)){let t=new Error;return Ua({from:e,seen:[],to_:t}),t}return new za(e)};Q0.exports={serializeError:nw,deserializeError:uw}});var xo=C(Lo=>{"use strict";d();Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var Z0=J0(),ow=uo(),iw=sw(Fn());function sw(e){return e&&e.__esModule?e:{default:e}}var Qe=iw.default.child({namespace:"Agent"}),aw=0,Ha=class{constructor(t,r,n,o,s){this.fallbackAgent=o,this.isProxyConfigured=t,this.mustUrlUseProxy=r,this.getUrlProxy=n,this.socketConnectionTimeout=s}addRequest(t,r){let n;if(t.path.startsWith("http://")||t.path.startsWith("https://")?n=t.path:n=this.protocol+"//"+(r.hostname||r.host)+(r.port===80||r.port===443?"":":"+r.port)+t.path,!this.isProxyConfigured()){Qe.trace({destination:n},"not proxying request; GLOBAL_AGENT.HTTP_PROXY is not configured"),this.fallbackAgent.addRequest(t,r);return}if(!this.mustUrlUseProxy(n)){Qe.trace({destination:n},"not proxying request; url matches GLOBAL_AGENT.NO_PROXY"),this.fallbackAgent.addRequest(t,r);return}let o=aw++,s=this.getUrlProxy(n);this.protocol==="http:"&&(t.path=n,s.authorization&&t.setHeader("proxy-authorization","Basic "+Buffer.from(s.authorization).toString("base64"))),Qe.trace({destination:n,proxy:"http://"+s.hostname+":"+s.port,requestId:o},"proxying request"),t.on("error",c=>{Qe.error({error:(0,Z0.serializeError)(c)},"request error")}),t.once("response",c=>{Qe.trace({headers:c.headers,requestId:o,statusCode:c.statusCode},"proxying response")}),t.shouldKeepAlive=!1;let a={host:r.hostname||r.host,port:r.port||80,proxy:s,tls:{}};this.protocol==="https:"&&(a.tls={ca:r.ca,cert:r.cert,ciphers:r.ciphers,clientCertEngine:r.clientCertEngine,crl:r.crl,dhparam:r.dhparam,ecdhCurve:r.ecdhCurve,honorCipherOrder:r.honorCipherOrder,key:r.key,passphrase:r.passphrase,pfx:r.pfx,rejectUnauthorized:r.rejectUnauthorized,secureOptions:r.secureOptions,secureProtocol:r.secureProtocol,servername:r.servername||a.host,sessionIdContext:r.sessionIdContext},typeof process.env.NODE_TLS_REJECT_UNAUTHORIZED=="string"&&(0,ow.boolean)(process.env.NODE_TLS_REJECT_UNAUTHORIZED)===!1&&(a.tls.rejectUnauthorized=!1)),this.createConnection(a,(c,f)=>{Qe.trace({target:a},"connecting"),f&&(f.setTimeout(this.socketConnectionTimeout,()=>{f.destroy()}),f.once("connect",()=>{Qe.trace({target:a},"connected"),f.setTimeout(0)}),f.once("secureConnect",()=>{Qe.trace({target:a},"connected (secure)"),f.setTimeout(0)})),c?t.emit("error",c):(Qe.debug("created socket"),f.on("error",D=>{Qe.error({error:(0,Z0.serializeError)(D)},"socket error")}),t.onSocket(f))})}},lw=Ha;Lo.default=lw});var eD=C(No=>{"use strict";d();Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var cw=K0(require("net")),fw=K0(xo());function K0(e){return e&&e.__esModule?e:{default:e}}var Ga=class extends fw.default{constructor(...t){super(...t),this.protocol="http:",this.defaultPort=80}createConnection(t,r){let n=cw.default.connect(t.proxy.port,t.proxy.hostname);r(null,n)}},dw=Ga;No.default=dw});var tD=C(ko=>{"use strict";d();Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var hw=Ya(require("net")),pw=Ya(require("tls")),Dw=Ya(xo());function Ya(e){return e&&e.__esModule?e:{default:e}}var Va=class extends Dw.default{constructor(...t){super(...t),this.protocol="https:",this.defaultPort=443}createConnection(t,r){let n=hw.default.connect(t.proxy.port,t.proxy.hostname);n.on("error",s=>{r(s)}),n.once("data",()=>{let s=pw.default.connect({...t.tls,socket:n});r(null,s)});let o="";o+="CONNECT "+t.host+":"+t.port+` HTTP/1.1\r
3
3
  `,o+="Host: "+t.host+":"+t.port+`\r
4
4
  `,t.proxy.authorization&&(o+="Proxy-Authorization: Basic "+Buffer.from(t.proxy.authorization).toString("base64")+`\r
@@ -18,7 +18,7 @@ Content-Type: ${s.type||"application/octet-stream"}\r
18
18
  \r
19
19
  `),n=!1,o=!1,s;e.on("response",a=>{let{headers:c}=a;n=c["transfer-encoding"]==="chunked"&&!c["content-length"]}),e.on("socket",a=>{let c=()=>{if(n&&!o){let D=new Error("Premature close");D.code="ERR_STREAM_PREMATURE_CLOSE",t(D)}},f=D=>{o=Vn.Buffer.compare(D.slice(-5),r)===0,!o&&s&&(o=Vn.Buffer.compare(s.slice(-3),r.slice(0,3))===0&&Vn.Buffer.compare(D.slice(-2),r.slice(3))===0),s=D};a.prependListener("close",c),a.on("data",f),e.on("close",()=>{a.removeListener("close",c),a.removeListener("data",f)})})}var lm,cm,Qt,Te,Vn,kF,bl=ne(()=>{d();lm=de(require("node:http"),1),cm=de(require("node:https"),1),Qt=de(require("node:zlib"),1),Te=de(require("node:stream"),1),Vn=require("node:buffer");FD();ui();YD();ii();sm();al();am();Dl();Jo();ei();ml();cl();kF=new Set(["data:","http:","https:"])});function xl(e,t,...r){if(!e)throw new TypeError(Qm(t,r))}function Qm(e,t){let r=0;return e.replace(/%[os]/gu,()=>Jm(t[r++]))}function Jm(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}function zF(e){try{let t=e instanceof Error?e:new Error(Jm(e));if(typeof dispatchEvent=="function"&&typeof ErrorEvent=="function")dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if(typeof process<"u"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)}catch{}}function ue(e,t="this"){let r=vl.get(e);return xl(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function bm(e){if(e.inPassiveListenerFlag){XF.warn();return}if(!e.cancelable){YF.warn();return}e.canceledFlag=!0}function wt(e){let t=Zm.get(e);return xl(t!=null,"'this' is expected an Event object, but got",e),t}function Km(e){let t=Object.getPrototypeOf(e);if(t==null)return eu;let r=Tl.get(t);return r==null&&(r=ZF(Km(t),t),Tl.set(t,r)),r}function ZF(e,t){class r extends e{}let n=Object.keys(t);for(let o=0;o<n.length;++o)Object.defineProperty(r.prototype,n[o],eb(t,n[o]));return r}function eb(e,t){let r=Object.getOwnPropertyDescriptor(e,t);return{get(){let n=wt(this).original,o=n[t];return typeof o=="function"?o.bind(n):o},set(n){let o=wt(this).original;o[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function KF(e,t,r,n,o,s){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:o,signalListener:s}}function eR(e){e.flags|=8}function tb(e){return(e.flags&1)===1}function rb(e){return(e.flags&2)===2}function nb(e){return(e.flags&4)===4}function tR(e){return(e.flags&8)===8}function rR({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){zF(n)}}function ub({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&tb(e[n])===r)return n;return-1}function ob(e,t,r,n,o,s){let a;s&&(a=Nl.bind(null,e,t,r),s.addEventListener("abort",a));let c=KF(t,r,n,o,s,a);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,c]):e.listeners.push(c),c}function Nl(e,t,r){let n=ub(e,t,r);return n!==-1?ib(e,n):!1}function ib(e,t,r=!1){let n=e.listeners[t];return eR(n),n.signal&&n.signal.removeEventListener("abort",n.signalListener),e.cow&&!r?(e.cow=!1,e.listeners=e.listeners.filter((o,s)=>s!==t),!1):(e.listeners.splice(t,1),!0)}function nR(){return Object.create(null)}function sb(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e[t]={attrCallback:void 0,attrListener:void 0,cow:!1,listeners:[]}}function Mr(e,t="this"){let r=ab.get(e);return xl(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function uR(e,t,r){var n;return lb(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture,passive:!!r.passive,once:!!r.once,signal:(n=r.signal)!==null&&n!==void 0?n:void 0}:{type:String(e),callback:t??void 0,capture:!!r,passive:!1,once:!1,signal:void 0}}function oR(e,t,r){return lb(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture}:{type:String(e),callback:t??void 0,capture:!!r}}function lb(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){dm.warn(e);return}throw new TypeError(Qm(dm.message,[e]))}}function iR(e,t,r,n){QF.warn(tb(e)?"capture":"bubble",e.callback),rb(e)!==t&&yl.warn("passive"),nb(e)!==r&&yl.warn("once"),e.signal!==n&&yl.warn("signal")}function sR(e,t){var r,n;return(n=(r=Mr(e,"target")[t])===null||r===void 0?void 0:r.attrCallback)!==null&&n!==void 0?n:null}function aR(e,t,r){r!=null&&typeof r!="function"&&JF.warn(r),typeof r=="function"||typeof r=="object"&&r!==null?lR(e,t,r):cR(e,t)}function lR(e,t,r){let n=sb(Mr(e,"target"),String(t));n.attrCallback=r,n.attrListener==null&&(n.attrListener=ob(n,fR(n),!1,!1,!1,void 0))}function cR(e,t){let n=Mr(e,"target")[String(t)];n&&n.attrListener&&(Nl(n,n.attrListener.callback,!1),n.attrCallback=n.attrListener=void 0)}function fR(e){return function(t){let r=e.attrCallback;typeof r=="function"&&r.call(this,t)}}function dR(e,t,r){Object.defineProperty(e,`on${t}`,{get(){return sR(this,t)},set(n){aR(this,t,n)},configurable:!0,enumerable:!0})}function hR(){let e=Object.create(ir.prototype);return Be.call(e),Si.set(e,!1),e}function pR(e){Si.get(e)===!1&&(Si.set(e,!0),e.dispatchEvent({type:"abort"}))}function ym(e){let t=cb.get(e);if(t==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${e===null?"null":typeof e}`);return t}function kl(){}function Se(e){return typeof e=="object"&&e!==null||typeof e=="function"}function pe(e){return new $l(e)}function J(e){return mR(e)}function N(e){return bR(e)}function Ft(e,t,r){return DR.call(e,t,r)}function Ve(e,t,r){Ft(Ft(e,t,r),void 0,fb)}function Cl(e,t){Ve(e,t)}function Wl(e,t){Ve(e,void 0,t)}function or(e,t,r){return Ft(e,t,r)}function gu(e){Ft(e,void 0,fb)}function is(e,t,r){if(typeof e!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function cr(e,t,r){try{return J(is(e,t,r))}catch(n){return N(n)}}function db(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?Ml(e):t._state==="closed"?yR(e):hb(e,t._storedError)}function jl(e,t){let r=e._ownerReadableStream;return He(r,t)}function ct(e){e._ownerReadableStream._state==="readable"?zl(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):gR(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function Hr(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Ml(e){e._closedPromise=pe((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function hb(e,t){Ml(e),zl(e,t)}function yR(e){Ml(e),pb(e)}function zl(e,t){e._closedPromise_reject!==void 0&&(gu(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function gR(e,t){hb(e,t)}function pb(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function CR(e){return typeof e=="object"||typeof e=="function"}function ht(e,t){if(e!==void 0&&!CR(e))throw new TypeError(`${t} is not an object.`)}function Ye(e,t){if(typeof e!="function")throw new TypeError(`${t} is not a function.`)}function AR(e){return typeof e=="object"&&e!==null||typeof e=="function"}function bb(e,t){if(!AR(e))throw new TypeError(`${t} is not an object.`)}function ft(e,t,r){if(e===void 0)throw new TypeError(`Parameter ${t} is required in '${r}'.`)}function Bl(e,t,r){if(e===void 0)throw new TypeError(`${t} is required in '${r}'.`)}function Gl(e){return Number(e)}function yb(e){return e===0?0:e}function _R(e){return yb(ER(e))}function gb(e,t){let n=Number.MAX_SAFE_INTEGER,o=Number(e);if(o=yb(o),!Em(o))throw new TypeError(`${t} is not a finite number`);if(o=_R(o),o<0||o>n)throw new TypeError(`${t} is outside the accepted range of 0 to ${n}, inclusive`);return!Em(o)||o===0?0:o}function Vl(e,t){if(!_t(e))throw new TypeError(`${t} is not a ReadableStream.`)}function Gr(e){return new Vr(e)}function Eb(e,t){e._reader._readRequests.push(t)}function Yl(e,t,r){let o=e._reader._readRequests.shift();r?o._closeSteps():o._chunkSteps(t)}function ss(e){return e._reader._readRequests.length}function Cb(e){let t=e._reader;return!(t===void 0||!Rt(t))}function Rt(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests")?!1:e instanceof Vr}function Eu(e,t){let r=e._ownerReadableStream;r._disturbed=!0,r._state==="closed"?t._closeSteps():r._state==="errored"?t._errorSteps(r._storedError):r._readableStreamController[Hl](t)}function ci(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}function wR(e,t){let r=Gr(e),n=new wi(r,t),o=Object.create(SR);return o._asyncIteratorImpl=n,o}function Cm(e){if(!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof wi}catch{return!1}}function Am(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}function tu(e){return e.slice()}function _b(e,t,r,n,o){new Uint8Array(e).set(new Uint8Array(r,n,o),t)}function Fi(e){return!1}function Sb(e,t,r){if(e.slice)return e.slice(t,r);let n=r-t,o=new ArrayBuffer(n);return _b(o,0,e,t,n),o}function FR(e){return!(typeof e!="number"||Ab(e)||e<0)}function _m(e){let t=Sb(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function Xl(e){let t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function Ql(e,t,r){if(!FR(r)||r===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function RR(e){return e._queue.peek().value}function Ot(e){e._queue=new Pe,e._queueTotalSize=0}function tr(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")?!1:e instanceof sr}function Al(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")?!1:e instanceof Yr}function fr(e){if(!PR(e))return;if(e._pulling){e._pullAgain=!0;return}e._pulling=!0;let r=e._pullAlgorithm();Ve(r,()=>{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,fr(e))},n=>{Ue(e,n)})}function wb(e){Zl(e),e._pendingPullIntos=new Pe}function Jl(e,t){let r=!1;e._state==="closed"&&(r=!0);let n=Fb(t);t.readerType==="default"?Yl(e,n,r):qR(e,n,r)}function Fb(e){let t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function Ei(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function Rb(e,t){let r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),s=t.bytesFilled+o,a=s-s%r,c=o,f=!1;a>n&&(c=a-t.bytesFilled,f=!0);let D=e._queue;for(;c>0;){let h=D.peek(),m=Math.min(c,h.byteLength),b=t.byteOffset+t.bytesFilled;_b(t.buffer,b,h.buffer,h.byteOffset,m),h.byteLength===m?D.shift():(h.byteOffset+=m,h.byteLength-=m),e._queueTotalSize-=m,vb(e,m,t),c-=m}return f}function vb(e,t,r){r.bytesFilled+=t}function Tb(e){e._queueTotalSize===0&&e._closeRequested?(ls(e),Cu(e._controlledReadableByteStream)):fr(e)}function Zl(e){e._byobRequest!==null&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function Bb(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;let t=e._pendingPullIntos.peek();Rb(e,t)&&(as(e),Jl(e._controlledReadableByteStream,t))}}function vR(e,t,r){let n=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);let s=t.constructor,a=t.buffer,c={buffer:a,bufferByteLength:a.byteLength,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,viewConstructor:s,readerType:"byob"};if(e._pendingPullIntos.length>0){e._pendingPullIntos.push(c),Sm(n,r);return}if(n._state==="closed"){let f=new s(c.buffer,c.byteOffset,0);r._closeSteps(f);return}if(e._queueTotalSize>0){if(Rb(e,c)){let f=Fb(c);Tb(e),r._chunkSteps(f);return}if(e._closeRequested){let f=new TypeError("Insufficient bytes to fill elements in the given buffer");Ue(e,f),r._errorSteps(f);return}}e._pendingPullIntos.push(c),Sm(n,r),fr(e)}function TR(e,t){let r=e._controlledReadableByteStream;if(Kl(r))for(;Lb(r)>0;){let n=as(e);Jl(r,n)}}function BR(e,t,r){if(vb(e,t,r),r.bytesFilled<r.elementSize)return;as(e);let n=r.bytesFilled%r.elementSize;if(n>0){let o=r.byteOffset+r.bytesFilled,s=Sb(r.buffer,o-n,o);Ei(e,s,0,s.byteLength)}r.bytesFilled-=n,Jl(e._controlledReadableByteStream,r),Bb(e)}function Pb(e,t){let r=e._pendingPullIntos.peek();Zl(e),e._controlledReadableByteStream._state==="closed"?TR(e):BR(e,t,r),fr(e)}function as(e){return e._pendingPullIntos.shift()}function PR(e){let t=e._controlledReadableByteStream;return t._state!=="readable"||e._closeRequested||!e._started?!1:!!(Cb(t)&&ss(t)>0||Kl(t)&&Lb(t)>0||Ob(e)>0)}function ls(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Jn(e){let t=e._controlledReadableByteStream;if(!(e._closeRequested||t._state!=="readable")){if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){let n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Ue(e,n),n}ls(e),Cu(t)}}function Ci(e,t){let r=e._controlledReadableByteStream;if(e._closeRequested||r._state!=="readable")return;let n=t.buffer,o=t.byteOffset,s=t.byteLength,a=n;if(e._pendingPullIntos.length>0){let c=e._pendingPullIntos.peek();Fi(c.buffer),c.buffer=c.buffer}if(Zl(e),Cb(r))if(ss(r)===0)Ei(e,a,o,s);else{e._pendingPullIntos.length>0&&as(e);let c=new Uint8Array(a,o,s);Yl(r,c,!1)}else Kl(r)?(Ei(e,a,o,s),Bb(e)):Ei(e,a,o,s);fr(e)}function Ue(e,t){let r=e._controlledReadableByteStream;r._state==="readable"&&(wb(e),Ot(e),ls(e),ey(r,t))}function Pl(e){if(e._byobRequest===null&&e._pendingPullIntos.length>0){let t=e._pendingPullIntos.peek(),r=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),n=Object.create(Yr.prototype);IR(n,e,r),e._byobRequest=n}return e._byobRequest}function Ob(e){let t=e._controlledReadableByteStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function Ai(e,t){let r=e._pendingPullIntos.peek();if(e._controlledReadableByteStream._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(t===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range")}r.buffer=r.buffer,Pb(e,t)}function _i(e,t){let r=e._pendingPullIntos.peek();if(e._controlledReadableByteStream._state==="closed"){if(t.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(t.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.bufferByteLength!==t.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(r.bytesFilled+t.byteLength>r.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let o=t.byteLength;r.buffer=t.buffer,Pb(e,o)}function Ib(e,t,r,n,o,s,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,Ot(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=s,t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=new Pe,e._readableStreamController=t;let c=r();Ve(J(c),()=>{t._started=!0,fr(t)},f=>{Ue(t,f)})}function OR(e,t,r){let n=Object.create(sr.prototype),o=()=>{},s=()=>J(void 0),a=()=>J(void 0);t.start!==void 0&&(o=()=>t.start(n)),t.pull!==void 0&&(s=()=>t.pull(n)),t.cancel!==void 0&&(a=f=>t.cancel(f));let c=t.autoAllocateChunkSize;if(c===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");Ib(e,n,o,s,a,r,c)}function IR(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function _l(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function Yn(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function qb(e){return new Xr(e)}function Sm(e,t){e._reader._readIntoRequests.push(t)}function qR(e,t,r){let o=e._reader._readIntoRequests.shift();r?o._closeSteps(t):o._chunkSteps(t)}function Lb(e){return e._reader._readIntoRequests.length}function Kl(e){let t=e._reader;return!(t===void 0||!ur(t))}function ur(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")?!1:e instanceof Xr}function xb(e,t,r){let n=e._ownerReadableStream;n._disturbed=!0,n._state==="errored"?r._errorSteps(n._storedError):vR(n._readableStreamController,t,r)}function fi(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function ru(e,t){let{highWaterMark:r}=e;if(r===void 0)return t;if(Ab(r)||r<0)throw new RangeError("Invalid highWaterMark");return r}function Ri(e){let{size:t}=e;return t||(()=>1)}function vi(e,t){ht(e,t);let r=e?.highWaterMark,n=e?.size;return{highWaterMark:r===void 0?void 0:Gl(r),size:n===void 0?void 0:LR(n,`${t} has member 'size' that`)}}function LR(e,t){return Ye(e,t),r=>Gl(e(r))}function xR(e,t){ht(e,t);let r=e?.abort,n=e?.close,o=e?.start,s=e?.type,a=e?.write;return{abort:r===void 0?void 0:NR(r,e,`${t} has member 'abort' that`),close:n===void 0?void 0:kR(n,e,`${t} has member 'close' that`),start:o===void 0?void 0:$R(o,e,`${t} has member 'start' that`),write:a===void 0?void 0:WR(a,e,`${t} has member 'write' that`),type:s}}function NR(e,t,r){return Ye(e,r),n=>cr(e,t,[n])}function kR(e,t,r){return Ye(e,r),()=>cr(e,t,[])}function $R(e,t,r){return Ye(e,r),n=>is(e,t,[n])}function WR(e,t,r){return Ye(e,r),(n,o)=>cr(e,t,[n,o])}function Nb(e,t){if(!jr(e))throw new TypeError(`${t} is not a WritableStream.`)}function jR(e){if(typeof e!="object"||e===null)return!1;try{return typeof e.aborted=="boolean"}catch{return!1}}function kb(e){return new Jr(e)}function MR(e,t,r,n,o=1,s=()=>1){let a=Object.create(Qr.prototype);$b(a);let c=Object.create(ar.prototype);return Gb(a,c,e,t,r,n,o,s),a}function $b(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new Pe,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function jr(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")?!1:e instanceof Qr}function zr(e){return e._writer!==void 0}function Ti(e,t){var r;if(e._state==="closed"||e._state==="errored")return J(void 0);e._writableStreamController._abortReason=t,(r=e._writableStreamController._abortController)===null||r===void 0||r.abort();let n=e._state;if(n==="closed"||n==="errored")return J(void 0);if(e._pendingAbortRequest!==void 0)return e._pendingAbortRequest._promise;let o=!1;n==="erroring"&&(o=!0,t=void 0);let s=pe((a,c)=>{e._pendingAbortRequest={_promise:void 0,_resolve:a,_reject:c,_reason:t,_wasAlreadyErroring:o}});return e._pendingAbortRequest._promise=s,o||tc(e,t),s}function Wb(e){let t=e._state;if(t==="closed"||t==="errored")return N(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));let r=pe((o,s)=>{let a={_resolve:o,_reject:s};e._closeRequest=a}),n=e._writer;return n!==void 0&&e._backpressure&&t==="writable"&&sc(n),r1(e._writableStreamController),r}function zR(e){return pe((r,n)=>{let o={_resolve:r,_reject:n};e._writeRequests.push(o)})}function ec(e,t){if(e._state==="writable"){tc(e,t);return}rc(e)}function tc(e,t){let r=e._writableStreamController;e._state="erroring",e._storedError=t;let n=e._writer;n!==void 0&&Mb(n,t),!YR(e)&&r._started&&rc(e)}function rc(e){e._state="errored",e._writableStreamController[mb]();let t=e._storedError;if(e._writeRequests.forEach(o=>{o._reject(t)}),e._writeRequests=new Pe,e._pendingAbortRequest===void 0){di(e);return}let r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring){r._reject(t),di(e);return}let n=e._writableStreamController[Db](r._reason);Ve(n,()=>{r._resolve(),di(e)},o=>{r._reject(o),di(e)})}function UR(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function HR(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,ec(e,t)}function GR(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,e._state==="erroring"&&(e._storedError=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";let r=e._writer;r!==void 0&&Qb(r)}function VR(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),ec(e,t)}function Ke(e){return!(e._closeRequest===void 0&&e._inFlightCloseRequest===void 0)}function YR(e){return!(e._inFlightWriteRequest===void 0&&e._inFlightCloseRequest===void 0)}function XR(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function QR(e){e._inFlightWriteRequest=e._writeRequests.shift()}function di(e){e._closeRequest!==void 0&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);let t=e._writer;t!==void 0&&ic(t,e._storedError)}function nc(e,t){let r=e._writer;r!==void 0&&t!==e._backpressure&&(t?l1(r):sc(r)),e._backpressure=t}function Jt(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")?!1:e instanceof Jr}function JR(e,t){let r=e._ownerWritableStream;return Ti(r,t)}function jb(e){let t=e._ownerWritableStream;return Wb(t)}function ZR(e){let t=e._ownerWritableStream,r=t._state;return Ke(t)||r==="closed"?J(void 0):r==="errored"?N(t._storedError):jb(e)}function KR(e,t){e._closedPromiseState==="pending"?ic(e,t):a1(e,t)}function Mb(e,t){e._readyPromiseState==="pending"?Jb(e,t):c1(e,t)}function e1(e){let t=e._ownerWritableStream,r=t._state;return r==="errored"||r==="erroring"?null:r==="closed"?0:Vb(t._writableStreamController)}function zb(e){let t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Mb(e,r),KR(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function Ub(e,t){let r=e._ownerWritableStream,n=r._writableStreamController,o=n1(n,t);if(r!==e._ownerWritableStream)return N(Zn("write to"));let s=r._state;if(s==="errored")return N(r._storedError);if(Ke(r)||s==="closed")return N(new TypeError("The stream is closing or closed and cannot be written to"));if(s==="erroring")return N(r._storedError);let a=zR(r);return u1(n,t,o),a}function Sl(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")?!1:e instanceof ar}function Gb(e,t,r,n,o,s,a,c){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,Ot(t),t._abortReason=void 0,t._abortController=new Ur,t._started=!1,t._strategySizeAlgorithm=c,t._strategyHWM=a,t._writeAlgorithm=n,t._closeAlgorithm=o,t._abortAlgorithm=s;let f=oc(t);nc(e,f);let D=r(),h=J(D);Ve(h,()=>{t._started=!0,fs(t)},m=>{t._started=!0,ec(e,m)})}function t1(e,t,r,n){let o=Object.create(ar.prototype),s=()=>{},a=()=>J(void 0),c=()=>J(void 0),f=()=>J(void 0);t.start!==void 0&&(s=()=>t.start(o)),t.write!==void 0&&(a=D=>t.write(D,o)),t.close!==void 0&&(c=()=>t.close()),t.abort!==void 0&&(f=D=>t.abort(D)),Gb(e,o,s,a,c,f,r,n)}function cs(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function r1(e){Ql(e,Hb,0),fs(e)}function n1(e,t){try{return e._strategySizeAlgorithm(t)}catch(r){return uc(e,r),1}}function Vb(e){return e._strategyHWM-e._queueTotalSize}function u1(e,t,r){try{Ql(e,t,r)}catch(o){uc(e,o);return}let n=e._controlledWritableStream;if(!Ke(n)&&n._state==="writable"){let o=oc(e);nc(n,o)}fs(e)}function fs(e){let t=e._controlledWritableStream;if(!e._started||t._inFlightWriteRequest!==void 0)return;if(t._state==="erroring"){rc(t);return}if(e._queue.length===0)return;let n=RR(e);n===Hb?o1(e):i1(e,n)}function uc(e,t){e._controlledWritableStream._state==="writable"&&Yb(e,t)}function o1(e){let t=e._controlledWritableStream;XR(t),Xl(e);let r=e._closeAlgorithm();cs(e),Ve(r,()=>{GR(t)},n=>{VR(t,n)})}function i1(e,t){let r=e._controlledWritableStream;QR(r);let n=e._writeAlgorithm(t);Ve(n,()=>{UR(r);let o=r._state;if(Xl(e),!Ke(r)&&o==="writable"){let s=oc(e);nc(r,s)}fs(e)},o=>{r._state==="writable"&&cs(e),HR(r,o)})}function oc(e){return Vb(e)<=0}function Yb(e,t){let r=e._controlledWritableStream;cs(e),tc(r,t)}function hi(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function wl(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function Zt(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function Zn(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function Bi(e){e._closedPromise=pe((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function Xb(e,t){Bi(e),ic(e,t)}function s1(e){Bi(e),Qb(e)}function ic(e,t){e._closedPromise_reject!==void 0&&(gu(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function a1(e,t){Xb(e,t)}function Qb(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function ds(e){e._readyPromise=pe((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function Ol(e,t){ds(e),Jb(e,t)}function wm(e){ds(e),sc(e)}function Jb(e,t){e._readyPromise_reject!==void 0&&(gu(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function l1(e){ds(e)}function c1(e,t){Ol(e,t)}function sc(e){e._readyPromise_resolve!==void 0&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}function Fm(e,t,r,n,o,s){let a=Gr(e),c=kb(t);e._disturbed=!0;let f=!1,D=J(void 0);return pe((h,m)=>{let b;if(s!==void 0){if(b=()=>{let S=new Q("Aborted","AbortError"),F=[];n||F.push(()=>t._state==="writable"?Ti(t,S):J(void 0)),o||F.push(()=>e._state==="readable"?He(e,S):J(void 0)),I(()=>Promise.all(F.map($=>$())),!0,S)},s.aborted){b();return}s.addEventListener("abort",b)}function y(){return pe((S,F)=>{function $(U){U?S():Ft(E(),$,F)}$(!1)})}function E(){return f?J(!0):Ft(c._readyPromise,()=>pe((S,F)=>{Eu(a,{_chunkSteps:$=>{D=Ft(Ub(c,$),void 0,kl),S(!1)},_closeSteps:()=>S(!0),_errorSteps:F})}))}if(w(e,a._closedPromise,S=>{n?k(!0,S):I(()=>Ti(t,S),!0,S)}),w(t,c._closedPromise,S=>{o?k(!0,S):I(()=>He(e,S),!0,S)}),v(e,a._closedPromise,()=>{r?k():I(()=>ZR(c))}),Ke(t)||t._state==="closed"){let S=new TypeError("the destination writable stream closed before all data could be piped to it");o?k(!0,S):I(()=>He(e,S),!0,S)}gu(y());function O(){let S=D;return Ft(D,()=>S!==D?O():void 0)}function w(S,F,$){S._state==="errored"?$(S._storedError):Wl(F,$)}function v(S,F,$){S._state==="closed"?$():Cl(F,$)}function I(S,F,$){if(f)return;f=!0,t._state==="writable"&&!Ke(t)?Cl(O(),U):U();function U(){Ve(S(),()=>q(F,$),Ne=>q(!0,Ne))}}function k(S,F){f||(f=!0,t._state==="writable"&&!Ke(t)?Cl(O(),()=>q(S,F)):q(S,F))}function q(S,F){zb(c),ct(a),s!==void 0&&s.removeEventListener("abort",b),S?m(F):h(void 0)}})}function pi(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")?!1:e instanceof lr}function nu(e){if(!Zb(e))return;if(e._pulling){e._pullAgain=!0;return}e._pulling=!0;let r=e._pullAlgorithm();Ve(r,()=>{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,nu(e))},n=>{Tt(e,n)})}function Zb(e){let t=e._controlledReadableStream;return!Zr(e)||!e._started?!1:!!(vt(t)&&ss(t)>0||ac(e)>0)}function Pi(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function uu(e){if(!Zr(e))return;let t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(Pi(e),Cu(t))}function Oi(e,t){if(!Zr(e))return;let r=e._controlledReadableStream;if(vt(r)&&ss(r)>0)Yl(r,t,!1);else{let n;try{n=e._strategySizeAlgorithm(t)}catch(o){throw Tt(e,o),o}try{Ql(e,t,n)}catch(o){throw Tt(e,o),o}}nu(e)}function Tt(e,t){let r=e._controlledReadableStream;r._state==="readable"&&(Ot(e),Pi(e),ey(r,t))}function ac(e){let t=e._controlledReadableStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function f1(e){return!Zb(e)}function Zr(e){let t=e._controlledReadableStream._state;return!e._closeRequested&&t==="readable"}function Kb(e,t,r,n,o,s,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Ot(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=s,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t;let c=r();Ve(J(c),()=>{t._started=!0,nu(t)},f=>{Tt(t,f)})}function d1(e,t,r,n){let o=Object.create(lr.prototype),s=()=>{},a=()=>J(void 0),c=()=>J(void 0);t.start!==void 0&&(s=()=>t.start(o)),t.pull!==void 0&&(a=()=>t.pull(o)),t.cancel!==void 0&&(c=f=>t.cancel(f)),Kb(e,o,s,a,c,r,n)}function Di(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function h1(e,t){return tr(e._readableStreamController)?D1(e):p1(e)}function p1(e,t){let r=Gr(e),n=!1,o=!1,s=!1,a=!1,c,f,D,h,m,b=pe(v=>{m=v});function y(){return n?(o=!0,J(void 0)):(n=!0,Eu(r,{_chunkSteps:I=>{queueMicrotask(()=>{o=!1;let k=I,q=I;s||Oi(D._readableStreamController,k),a||Oi(h._readableStreamController,q),n=!1,o&&y()})},_closeSteps:()=>{n=!1,s||uu(D._readableStreamController),a||uu(h._readableStreamController),(!s||!a)&&m(void 0)},_errorSteps:()=>{n=!1}}),J(void 0))}function E(v){if(s=!0,c=v,a){let I=tu([c,f]),k=He(e,I);m(k)}return b}function O(v){if(a=!0,f=v,s){let I=tu([c,f]),k=He(e,I);m(k)}return b}function w(){}return D=Il(w,y,E),h=Il(w,y,O),Wl(r._closedPromise,v=>{Tt(D._readableStreamController,v),Tt(h._readableStreamController,v),(!s||!a)&&m(void 0)}),[D,h]}function D1(e){let t=Gr(e),r=!1,n=!1,o=!1,s=!1,a=!1,c,f,D,h,m,b=pe(S=>{m=S});function y(S){Wl(S._closedPromise,F=>{S===t&&(Ue(D._readableStreamController,F),Ue(h._readableStreamController,F),(!s||!a)&&m(void 0))})}function E(){ur(t)&&(ct(t),t=Gr(e),y(t)),Eu(t,{_chunkSteps:F=>{queueMicrotask(()=>{n=!1,o=!1;let $=F,U=F;if(!s&&!a)try{U=_m(F)}catch(Ne){Ue(D._readableStreamController,Ne),Ue(h._readableStreamController,Ne),m(He(e,Ne));return}s||Ci(D._readableStreamController,$),a||Ci(h._readableStreamController,U),r=!1,n?w():o&&v()})},_closeSteps:()=>{r=!1,s||Jn(D._readableStreamController),a||Jn(h._readableStreamController),D._readableStreamController._pendingPullIntos.length>0&&Ai(D._readableStreamController,0),h._readableStreamController._pendingPullIntos.length>0&&Ai(h._readableStreamController,0),(!s||!a)&&m(void 0)},_errorSteps:()=>{r=!1}})}function O(S,F){Rt(t)&&(ct(t),t=qb(e),y(t));let $=F?h:D,U=F?D:h;xb(t,S,{_chunkSteps:we=>{queueMicrotask(()=>{n=!1,o=!1;let Z=F?a:s;if(F?s:a)Z||_i($._readableStreamController,we);else{let et;try{et=_m(we)}catch(dr){Ue($._readableStreamController,dr),Ue(U._readableStreamController,dr),m(He(e,dr));return}Z||_i($._readableStreamController,we),Ci(U._readableStreamController,et)}r=!1,n?w():o&&v()})},_closeSteps:we=>{r=!1;let Z=F?a:s,fe=F?s:a;Z||Jn($._readableStreamController),fe||Jn(U._readableStreamController),we!==void 0&&(Z||_i($._readableStreamController,we),!fe&&U._readableStreamController._pendingPullIntos.length>0&&Ai(U._readableStreamController,0)),(!Z||!fe)&&m(void 0)},_errorSteps:()=>{r=!1}})}function w(){if(r)return n=!0,J(void 0);r=!0;let S=Pl(D._readableStreamController);return S===null?E():O(S._view,!1),J(void 0)}function v(){if(r)return o=!0,J(void 0);r=!0;let S=Pl(h._readableStreamController);return S===null?E():O(S._view,!0),J(void 0)}function I(S){if(s=!0,c=S,a){let F=tu([c,f]),$=He(e,F);m($)}return b}function k(S){if(a=!0,f=S,s){let F=tu([c,f]),$=He(e,F);m($)}return b}function q(){}return D=vm(q,w,I),h=vm(q,v,k),y(t),[D,h]}function m1(e,t){ht(e,t);let r=e,n=r?.autoAllocateChunkSize,o=r?.cancel,s=r?.pull,a=r?.start,c=r?.type;return{autoAllocateChunkSize:n===void 0?void 0:gb(n,`${t} has member 'autoAllocateChunkSize' that`),cancel:o===void 0?void 0:b1(o,r,`${t} has member 'cancel' that`),pull:s===void 0?void 0:y1(s,r,`${t} has member 'pull' that`),start:a===void 0?void 0:g1(a,r,`${t} has member 'start' that`),type:c===void 0?void 0:E1(c,`${t} has member 'type' that`)}}function b1(e,t,r){return Ye(e,r),n=>cr(e,t,[n])}function y1(e,t,r){return Ye(e,r),n=>cr(e,t,[n])}function g1(e,t,r){return Ye(e,r),n=>is(e,t,[n])}function E1(e,t){if(e=`${e}`,e!=="bytes")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function C1(e,t){ht(e,t);let r=e?.mode;return{mode:r===void 0?void 0:A1(r,`${t} has member 'mode' that`)}}function A1(e,t){if(e=`${e}`,e!=="byob")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function _1(e,t){return ht(e,t),{preventCancel:!!e?.preventCancel}}function Rm(e,t){ht(e,t);let r=e?.preventAbort,n=e?.preventCancel,o=e?.preventClose,s=e?.signal;return s!==void 0&&S1(s,`${t} has member 'signal' that`),{preventAbort:!!r,preventCancel:!!n,preventClose:!!o,signal:s}}function S1(e,t){if(!jR(e))throw new TypeError(`${t} is not an AbortSignal.`)}function w1(e,t){ht(e,t);let r=e?.readable;Bl(r,"readable","ReadableWritablePair"),Vl(r,`${t} has member 'readable' that`);let n=e?.writable;return Bl(n,"writable","ReadableWritablePair"),Nb(n,`${t} has member 'writable' that`),{readable:r,writable:n}}function Il(e,t,r,n=1,o=()=>1){let s=Object.create(dt.prototype);lc(s);let a=Object.create(lr.prototype);return Kb(s,a,e,t,r,n,o),s}function vm(e,t,r){let n=Object.create(dt.prototype);lc(n);let o=Object.create(sr.prototype);return Ib(n,o,e,t,r,0,void 0),n}function lc(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function _t(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")?!1:e instanceof dt}function vt(e){return e._reader!==void 0}function He(e,t){if(e._disturbed=!0,e._state==="closed")return J(void 0);if(e._state==="errored")return N(e._storedError);Cu(e);let r=e._reader;r!==void 0&&ur(r)&&(r._readIntoRequests.forEach(o=>{o._closeSteps(void 0)}),r._readIntoRequests=new Pe);let n=e._readableStreamController[Ul](t);return or(n,kl)}function Cu(e){e._state="closed";let t=e._reader;t!==void 0&&(pb(t),Rt(t)&&(t._readRequests.forEach(r=>{r._closeSteps()}),t._readRequests=new Pe))}function ey(e,t){e._state="errored",e._storedError=t;let r=e._reader;r!==void 0&&(zl(r,t),Rt(r)?(r._readRequests.forEach(n=>{n._errorSteps(t)}),r._readRequests=new Pe):(r._readIntoRequests.forEach(n=>{n._errorSteps(t)}),r._readIntoRequests=new Pe))}function Kt(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function ty(e,t){ht(e,t);let r=e?.highWaterMark;return Bl(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:Gl(r)}}function Tm(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function Bm(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")?!1:e instanceof ou}function Pm(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function Om(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")?!1:e instanceof iu}function F1(e,t){ht(e,t);let r=e?.flush,n=e?.readableType,o=e?.start,s=e?.transform,a=e?.writableType;return{flush:r===void 0?void 0:R1(r,e,`${t} has member 'flush' that`),readableType:n,start:o===void 0?void 0:v1(o,e,`${t} has member 'start' that`),transform:s===void 0?void 0:T1(s,e,`${t} has member 'transform' that`),writableType:a}}function R1(e,t,r){return Ye(e,r),n=>cr(e,t,[n])}function v1(e,t,r){return Ye(e,r),n=>is(e,t,[n])}function T1(e,t,r){return Ye(e,r),(n,o)=>cr(e,t,[n,o])}function B1(e,t,r,n,o,s){function a(){return t}function c(b){return L1(e,b)}function f(b){return x1(e,b)}function D(){return N1(e)}e._writable=MR(a,c,D,f,r,n);function h(){return k1(e)}function m(b){return ps(e,b),J(void 0)}e._readable=Il(a,h,m,o,s),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Ds(e,!0),e._transformStreamController=void 0}function Im(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")?!1:e instanceof su}function hs(e,t){Tt(e._readable._readableStreamController,t),ps(e,t)}function ps(e,t){uy(e._transformStreamController),uc(e._writable._writableStreamController,t),e._backpressure&&Ds(e,!1)}function Ds(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=pe(r=>{e._backpressureChangePromise_resolve=r}),e._backpressure=t}function mi(e){return!Se(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")?!1:e instanceof au}function P1(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function O1(e,t){let r=Object.create(au.prototype),n=s=>{try{return oy(r,s),J(void 0)}catch(a){return N(a)}},o=()=>J(void 0);t.transform!==void 0&&(n=s=>t.transform(s,r)),t.flush!==void 0&&(o=()=>t.flush(r)),P1(e,r,n,o)}function uy(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function oy(e,t){let r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!Zr(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{Oi(n,t)}catch(s){throw ps(r,s),r._readable._storedError}f1(n)!==r._backpressure&&Ds(r,!0)}function I1(e,t){hs(e._controlledTransformStream,t)}function qm(e,t){let r=e._transformAlgorithm(t);return or(r,void 0,n=>{throw hs(e._controlledTransformStream,n),n})}function q1(e){let t=e._controlledTransformStream,r=t._readable._readableStreamController;uu(r);let n=new TypeError("TransformStream terminated");ps(t,n)}function L1(e,t){let r=e._transformStreamController;if(e._backpressure){let n=e._backpressureChangePromise;return or(n,()=>{let o=e._writable;if(o._state==="erroring")throw o._storedError;return qm(r,t)})}return qm(r,t)}function x1(e,t){return hs(e,t),J(void 0)}function N1(e){let t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return uy(r),or(n,()=>{if(t._state==="errored")throw t._storedError;uu(t._readableStreamController)},o=>{throw hs(e,o),t._storedError})}function k1(e){return Ds(e,!1),e._backpressureChangePromise}function bi(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function Lm(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}async function*Fl(e,t=!0){for(let r of e)if("stream"in r)yield*r.stream();else if(ArrayBuffer.isView(r))if(t){let n=r.byteOffset,o=r.byteOffset+r.byteLength;for(;n!==o;){let s=Math.min(o-n,xm),a=r.buffer.slice(n,n+s);n+=a.byteLength,yield new Uint8Array(a)}}else yield r;else{let n=0,o=r;for(;n!==o.size;){let a=await o.slice(n,Math.min(o.size,n+xm)).arrayBuffer();n+=a.byteLength,yield new Uint8Array(a)}}}function km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sy(e,t,r){return t&&km(e.prototype,t),r&&km(e,r),e}function $m(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ii(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(o,s){if(o){if(typeof o=="string")return $m(o,s);var a=Object.prototype.toString.call(o).slice(8,-1);return a==="Object"&&o.constructor&&(a=o.constructor.name),a==="Map"||a==="Set"?Array.from(o):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?$m(o,s):void 0}}(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
20
20
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G1(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function ay(e,t){t===void 0&&(t=!1);for(var r=[],n=0;n<e.length;){var o=e[n],s=function(y){if(!t)throw new TypeError(y);r.push({type:"INVALID_CHAR",index:n,value:e[n++]})};if(o!=="*")if(o!=="+"&&o!=="?")if(o!=="\\")if(o!=="{")if(o!=="}")if(o!==":")if(o!=="(")r.push({type:"CHAR",index:n,value:e[n++]});else{var a=1,c="",f=n+1,D=!1;if(e[f]==="?"){s('Pattern cannot start with "?" at '+f);continue}for(;f<e.length;){if(!G1(e[f],!1)){s("Invalid character '"+e[f]+"' at "+f+"."),D=!0;break}if(e[f]!=="\\"){if(e[f]===")"){if(--a==0){f++;break}}else if(e[f]==="("&&(a++,e[f+1]!=="?")){s("Capturing groups are not allowed at "+f),D=!0;break}c+=e[f++]}else c+=e[f++]+e[f++]}if(D)continue;if(a){s("Unbalanced pattern at "+n);continue}if(!c){s("Missing pattern at "+n);continue}r.push({type:"PATTERN",index:n,value:c}),n=f}else{for(var h="",m=n+1;m<e.length;){var b=e.substr(m,1);if(!(m===n+1&&U1.test(b)||m!==n+1&&H1.test(b)))break;h+=e[m++]}if(!h){s("Missing parameter name at "+n);continue}r.push({type:"NAME",index:n,value:h}),n=m}else r.push({type:"CLOSE",index:n,value:e[n++]});else r.push({type:"OPEN",index:n,value:e[n++]});else r.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else r.push({type:"MODIFIER",index:n,value:e[n++]});else r.push({type:"ASTERISK",index:n,value:e[n++]})}return r.push({type:"END",index:n,value:""}),r}function ly(e,t){t===void 0&&(t={});for(var r=ay(e),n=t.prefixes,o=n===void 0?"./":n,s="[^"+Wr(t.delimiter||"/#?")+"]+?",a=[],c=0,f=0,D="",h=new Set,m=function(Z){if(f<r.length&&r[f].type===Z)return r[f++].value},b=function(){return m("MODIFIER")||m("ASTERISK")},y=function(Z){var fe=m(Z);if(fe!==void 0)return fe;var et=r[f];throw new TypeError("Unexpected "+et.type+" at "+et.index+", expected "+Z)},E=function(){for(var Z,fe="";Z=m("CHAR")||m("ESCAPED_CHAR");)fe+=Z;return fe},O=t.encodePart||function(Z){return Z};f<r.length;){var w=m("CHAR"),v=m("NAME"),I=m("PATTERN");if(v||I||!m("ASTERISK")||(I=".*"),v||I){var k=w||"";o.indexOf(k)===-1&&(D+=k,k=""),D&&(a.push(O(D)),D="");var q=v||c++;if(h.has(q))throw new TypeError("Duplicate name '"+q+"'.");h.add(q),a.push({name:q,prefix:O(k),suffix:"",pattern:I||s,modifier:b()||""})}else{var S=w||m("ESCAPED_CHAR");if(S)D+=S;else if(m("OPEN")){var F=E(),$=m("NAME")||"",U=m("PATTERN")||"";$||U||!m("ASTERISK")||(U=".*");var Ne=E();y("CLOSE");var we=b()||"";if(!$&&!U&&!we){D+=F;continue}if(!$&&!U&&!F)continue;D&&(a.push(O(D)),D=""),a.push({name:$||(U?c++:""),pattern:$&&!U?s:U,prefix:O(F),suffix:O(Ne),modifier:we})}else D&&(a.push(O(D)),D=""),y("END")}}return a}function Wr(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function cy(e){return e&&e.sensitive?"u":"ui"}function fy(e,t,r){r===void 0&&(r={});for(var n,o=r.strict,s=o!==void 0&&o,a=r.start,c=a===void 0||a,f=r.end,D=f===void 0||f,h=r.encode,m=h===void 0?function(S){return S}:h,b="["+Wr(r.endsWith||"")+"]|$",y="["+Wr(r.delimiter||"/#?")+"]",E=c?"^":"",O=Ii(e);!(n=O()).done;){var w=n.value;if(typeof w=="string")E+=Wr(m(w));else{var v=Wr(m(w.prefix)),I=Wr(m(w.suffix));w.pattern?(t&&t.push(w),E+=v||I?w.modifier==="+"||w.modifier==="*"?"(?:"+v+"((?:"+w.pattern+")(?:"+I+v+"(?:"+w.pattern+"))*)"+I+")"+(w.modifier==="*"?"?":""):"(?:"+v+"("+w.pattern+")"+I+")"+w.modifier:w.modifier==="+"||w.modifier==="*"?"((?:"+w.pattern+")"+w.modifier+")":"("+w.pattern+")"+w.modifier):E+="(?:"+v+I+")"+w.modifier}}if(D)s||(E+=y+"?"),E+=r.endsWith?"(?="+b+")":"$";else{var k=e[e.length-1],q=typeof k=="string"?y.indexOf(k[k.length-1])>-1:k===void 0;s||(E+="(?:"+y+"(?="+b+"))?"),q||(E+="(?="+y+"|"+b+")")}return new RegExp(E,cy(r))}function dy(e,t,r){return e instanceof RegExp?function(n,o){if(!o)return n;for(var s=/\((?:\?<(.*?)>)?(?!\?)/g,a=0,c=s.exec(n.source);c;)o.push({name:c[1]||a++,prefix:"",suffix:"",modifier:"",pattern:""}),c=s.exec(n.source);return n}(e,t):Array.isArray(e)?function(n,o,s){var a=n.map(function(c){return dy(c,o,s).source});return new RegExp("(?:"+a.join("|")+")",cy(s))}(e,t,r):function(n,o,s){return fy(ly(n,s),o,s)}(e,t,r)}function Wm(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function hy(e){return!(!e||e.length<2||e[0]!=="["&&(e[0]!=="\\"&&e[0]!=="{"||e[1]!=="["))}function Dy(e){if(!e)return!0;for(var t,r=Ii(py);!(t=r()).done;)if(e.test(t.value))return!0;return!1}function my(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function fc(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError("Invalid protocol '"+e+"'.")}function X1(e){if(e==="")return e;var t=new URL("https://example.com");return t.username=e,t.username}function Q1(e){if(e==="")return e;var t=new URL("https://example.com");return t.password=e,t.password}function by(e){if(e==="")return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError("Invalid hostname '"+e+"'");var t=new URL("https://example.com");return t.hostname=e,t.hostname}function yy(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError("Invalid IPv6 hostname '"+e+"'");return e.toLowerCase()}function gy(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError("Invalid port '"+e+"'.")}function J1(e){if(e==="")return e;var t=new URL("https://example.com");return t.pathname=e[0]!=="/"?"/-"+e:e,e[0]!=="/"?t.pathname.substring(2,t.pathname.length):t.pathname}function Z1(e){return e===""?e:new URL("data:"+e).pathname}function K1(e){if(e==="")return e;var t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function ev(e){if(e==="")return e;var t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}function jm(e,t){if(typeof e!="string")throw new TypeError("parameter 1 is not of type 'string'.");var r=new URL(e,t);return{protocol:r.protocol.substring(0,r.protocol.length-1),username:r.username,password:r.password,hostname:r.hostname,port:r.port,pathname:r.pathname,search:r.search!=""?r.search.substring(1,r.search.length):void 0,hash:r.hash!=""?r.hash.substring(1,r.hash.length):void 0}}function Rl(e,t,r){var n;if(typeof t.baseURL=="string")try{n=new URL(t.baseURL),e.protocol=n.protocol?n.protocol.substring(0,n.protocol.length-1):"",e.username=n.username,e.password=n.password,e.hostname=n.hostname,e.port=n.port,e.pathname=n.pathname,e.search=n.search?n.search.substring(1,n.search.length):"",e.hash=n.hash?n.hash.substring(1,n.hash.length):""}catch{throw new TypeError("invalid baseURL '"+t.baseURL+"'.")}if(typeof t.protocol=="string"&&(e.protocol=function(s,a){var c;return s=(c=s).endsWith(":")?c.substr(0,c.length-1):c,a||s===""?s:fc(s)}(t.protocol,r)),typeof t.username=="string"&&(e.username=function(s,a){if(a||s==="")return s;var c=new URL("https://example.com");return c.username=s,c.username}(t.username,r)),typeof t.password=="string"&&(e.password=function(s,a){if(a||s==="")return s;var c=new URL("https://example.com");return c.password=s,c.password}(t.password,r)),typeof t.hostname=="string"&&(e.hostname=function(s,a){return a||s===""?s:hy(s)?yy(s):by(s)}(t.hostname,r)),typeof t.port=="string"&&(e.port=function(s,a,c){return my(a)===s&&(s=""),c||s===""?s:gy(s)}(t.port,e.protocol,r)),typeof t.pathname=="string"){if(e.pathname=t.pathname,n&&!function(s,a){return!(!s.length||s[0]!=="/"&&(!a||s.length<2||s[0]!="\\"&&s[0]!="{"||s[1]!="/"))}(e.pathname,r)){var o=n.pathname.lastIndexOf("/");o>=0&&(e.pathname=n.pathname.substring(0,o+1)+e.pathname)}e.pathname=function(s,a,c){if(c||s==="")return s;if(a&&!py.includes(a))return new URL(a+":"+s).pathname;var f=s[0]=="/";return s=new URL(f?s:"/-"+s,"https://example.com").pathname,f||(s=s.substring(2,s.length)),s}(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=function(s,a){if(s=Wm(s,"?"),a||s==="")return s;var c=new URL("https://example.com");return c.search=s,c.search?c.search.substring(1,c.search.length):""}(t.search,r)),typeof t.hash=="string"&&(e.hash=function(s,a){if(s=Wm(s,"#"),a||s==="")return s;var c=new URL("https://example.com");return c.hash=s,c.hash?c.hash.substring(1,c.hash.length):""}(t.hash,r)),e}function Xn(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function nv(e,t){for(var r="[^"+(t.delimiter||"/#?").replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")+"]+?",n=/(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u08D3-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])/,o="",s=0;s<e.length;++s){var a=e[s],c=s>0?e[s-1]:null,f=s<e.length-1?e[s+1]:null;if(typeof a!="string")if(a.pattern!==""){var D=typeof a.name!="number",h=t.prefixes!==void 0?t.prefixes:"./",m=a.suffix!==""||a.prefix!==""&&(a.prefix.length!==1||!h.includes(a.prefix));m||!D||a.pattern!==r||a.modifier!==""||!f||f.prefix||f.suffix||(m=typeof f=="string"?n.test(f.length>0?f[0]:""):typeof f.name=="number"),!m&&a.prefix===""&&c&&typeof c=="string"&&c.length>0&&(m=h.includes(c[c.length-1])),m&&(o+="{"),o+=Xn(a.prefix),D&&(o+=":"+a.name),a.pattern===".*"?o+=D||c&&typeof c!="string"&&!c.modifier&&!m&&a.prefix===""?"(.*)":"*":a.pattern===r?D||(o+="("+r+")"):o+="("+a.pattern+")",a.pattern===r&&D&&a.suffix!==""&&n.test(a.suffix[0])&&(o+="\\"),o+=Xn(a.suffix),m&&(o+="}"),o+=a.modifier}else{if(a.modifier===""){o+=Xn(a.prefix);continue}o+="{"+Xn(a.prefix)+"}"+a.modifier}else o+=Xn(a)}return o}function uv(e){rr.pool.size||(0,Pt.setTimeout)(()=>{let n=Xm();for(let o of rr.pool.values())o(n);rr.pool.clear()},1e3/16);let t=Ll(e,void 0),r=++rr.tick;return rr.pool.set(r,t),r}function ov(e){let t=rr.pool.get(e);t&&((0,Pt.clearTimeout)(t),rr.pool.delete(e))}function iv(e){return Buffer.from(e,"base64").toString("binary")}function sv(e){return Buffer.from(e,"binary").toString("base64")}function lv(e){nr.pool.size||(0,Pt.setTimeout)(()=>{let n=Xm();for(let o of nr.pool.values())o(n);nr.pool.clear()},1e3/16);let t=Ll(e,void 0),r=++nr.tick;return nr.pool.set(r,t),r}function cv(e){let t=nr.pool.get(e);t&&((0,Pt.clearTimeout)(t),nr.pool.delete(e))}function yv(e,t=0,...r){let n=Ll(e,globalThis),o=++$i.tick,s=(0,Pt.setTimeout)(n,t,...r);return $i.pool.set(o,s),o}function gv(e){let t=$i.pool.get(e);t&&((0,Pt.clearTimeout)(t),$i.pool.delete(e))}function wy(){ce.set(this,{attributes:{},localName:"img",innerHTML:"",shadowRoot:null,shadowInit:null})}function Cv(...e){console.log(...e)}var Gm,Pt,Vm,Ym,Ll,WF,us,Xm,jF,ce,R,G,fm,Q,MF,UF,Ge,HF,GF,VF,YF,XF,QF,yl,dm,JF,xe,hm,pm,Dm,mm,vl,gl,eu,Zm,Tl,Be,ab,El,ir,Si,Ur,cb,os,fb,$l,DR,mR,bR,gm,Pe,Db,mb,Ul,Hl,Em,ER,Vr,wi,SR,Ab,Yr,sr,Xr,Qr,Jr,Hb,ar,lr,dt,ry,ou,ny,iu,su,au,$1,xm,iy,Kr,W1,ms,Kn,j1,M1,z1,Nm,er,cc,U1,H1,St,V1,Y1,x,py,tv,rv,bs,rr,Bt,lu,cu,av,qi,en,Li,fu,xi,dc,nr,ys,Ni,ki,hc,pc,Dc,mc,Ey,Cy,Mm,fv,dv,$r,hv,pv,Qn,yi,Dv,mv,bv,$i,du,tn,gi,hu,Ay,Wi,_y,pu,_e,ji,Mi,zi,Ui,Hi,Gi,Vi,Du,mu,Yi,Sy,Xi,bu,Qi,Fy,Ji,Zi,Ki,es,Ev,ts,zm,Ry,yu,rs,ns,vy,Av,Ty,_v,By,Sv,Py,wv,Oy,Iy,qy,Ly,bc,Fv,Rv,Um,Hm,vv,xy=ne(()=>{d();Gm=require("node:perf_hooks"),Pt=require("node:timers"),Vm=de(SD(),1);bl();bl();Ym=de(require("node:stream"),1),Ll=Function.bind.bind(Function.call);Function.call.bind(Function.call);WF=Function.call.bind(Object.prototype.hasOwnProperty);Function.call.bind(Object.prototype.toString);us=Function.call.bind(Object.prototype.isPrototypeOf),Xm=Gm.performance.now,jF=e=>e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"),ce=new WeakMap,R=(e,t,r)=>{let n=ce.get(e);if(!n)throw new TypeError(`${t}.${r} can only be used on instances of ${t}`);return n},G=e=>e.prototype[Symbol.toStringTag]=e.name,fm=e=>String(e??"").replace(/\\+/g,"/").replace(/^(?=[A-Za-z]:\/)/,"/").replace(/%/g,"%25").replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/\t/g,"%09"),Q=class extends Error{constructor(t="",r="Error"){super(t),this.code=0,this.name=r}};Q.INDEX_SIZE_ERR=1;Q.DOMSTRING_SIZE_ERR=2;Q.HIERARCHY_REQUEST_ERR=3;Q.WRONG_DOCUMENT_ERR=4;Q.INVALID_CHARACTER_ERR=5;Q.NO_DATA_ALLOWED_ERR=6;Q.NO_MODIFICATION_ALLOWED_ERR=7;Q.NOT_FOUND_ERR=8;Q.NOT_SUPPORTED_ERR=9;Q.INUSE_ATTRIBUTE_ERR=10;Q.INVALID_STATE_ERR=11;Q.SYNTAX_ERR=12;Q.INVALID_MODIFICATION_ERR=13;Q.NAMESPACE_ERR=14;Q.INVALID_ACCESS_ERR=15;Q.VALIDATION_ERR=16;Q.TYPE_MISMATCH_ERR=17;Q.SECURITY_ERR=18;Q.NETWORK_ERR=19;Q.ABORT_ERR=20;Q.URL_MISMATCH_ERR=21;Q.QUOTA_EXCEEDED_ERR=22;Q.TIMEOUT_ERR=23;Q.INVALID_NODE_TYPE_ERR=24;Q.DATA_CLONE_ERR=25;G(Q);Ge=class{constructor(t,r){this.code=t,this.message=r}warn(...t){var r;try{let n=((r=new Error().stack)!==null&&r!==void 0?r:"").replace(/^(?:.+?\n){2}/gu,`
21
- `);console.warn(this.message,...t,n)}catch{}}},HF=new Ge("W01","Unable to initialize event under dispatching."),GF=new Ge("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),VF=new Ge("W03","Assigning any truthy value to 'returnValue' property has no effect."),YF=new Ge("W04","Unable to preventDefault on non-cancelable events."),XF=new Ge("W05","Unable to preventDefault inside passive event listener invocation."),QF=new Ge("W06","An event listener wasn't added because it has been added already: %o, %o"),yl=new Ge("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),dm=new Ge("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o"),JF=new Ge("W09","Event attribute handler must be a function: %o"),xe=class{static get NONE(){return hm}static get CAPTURING_PHASE(){return pm}static get AT_TARGET(){return Dm}static get BUBBLING_PHASE(){return mm}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let n=r??{};vl.set(this,{type:String(t),bubbles:!!n.bubbles,cancelable:!!n.cancelable,composed:!!n.composed,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return ue(this).type}get target(){return ue(this).target}get srcElement(){return ue(this).target}get currentTarget(){return ue(this).currentTarget}composedPath(){let t=ue(this).currentTarget;return t?[t]:[]}get NONE(){return hm}get CAPTURING_PHASE(){return pm}get AT_TARGET(){return Dm}get BUBBLING_PHASE(){return mm}get eventPhase(){return ue(this).dispatchFlag?2:0}stopPropagation(){ue(this).stopPropagationFlag=!0}get cancelBubble(){return ue(this).stopPropagationFlag}set cancelBubble(t){t?ue(this).stopPropagationFlag=!0:GF.warn()}stopImmediatePropagation(){let t=ue(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return ue(this).bubbles}get cancelable(){return ue(this).cancelable}get returnValue(){return!ue(this).canceledFlag}set returnValue(t){t?VF.warn():bm(ue(this))}preventDefault(){bm(ue(this))}get defaultPrevented(){return ue(this).canceledFlag}get composed(){return ue(this).composed}get isTrusted(){return!1}get timeStamp(){return ue(this).timeStamp}initEvent(t,r=!1,n=!1){let o=ue(this);if(o.dispatchFlag){HF.warn();return}vl.set(this,{...o,type:String(t),bubbles:!!r,cancelable:!!n,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}},hm=0,pm=1,Dm=2,mm=3,vl=new WeakMap;Object.defineProperty(xe,"NONE",{enumerable:!0});Object.defineProperty(xe,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(xe,"AT_TARGET",{enumerable:!0});Object.defineProperty(xe,"BUBBLING_PHASE",{enumerable:!0});gl=Object.getOwnPropertyNames(xe.prototype);for(let e=0;e<gl.length;++e)gl[e]!=="constructor"&&Object.defineProperty(xe.prototype,gl[e],{enumerable:!0});eu=class extends xe{static wrap(t){return new(Km(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),Zm.set(this,{original:t});let r=Object.keys(t);for(let n=0;n<r.length;++n){let o=r[n];o in this||Object.defineProperty(this,o,eb(t,o))}}stopPropagation(){super.stopPropagation();let{original:t}=wt(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;let{original:r}=wt(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();let{original:t}=wt(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;let{original:r}=wt(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();let{original:t}=wt(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){let{original:t}=wt(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}},Zm=new WeakMap;Tl=new WeakMap;Tl.set(Object.prototype,eu);Be=class{constructor(){ab.set(this,nR())}addEventListener(t,r,n){let o=Mr(this),{callback:s,capture:a,once:c,passive:f,signal:D,type:h}=uR(t,r,n);if(s==null||D?.aborted)return;let m=sb(o,h),b=ub(m,s,a);if(b!==-1){iR(m.listeners[b],f,c,D);return}ob(m,s,a,f,c,D)}removeEventListener(t,r,n){let o=Mr(this),{callback:s,capture:a,type:c}=oR(t,r,n),f=o[c];s!=null&&f&&Nl(f,s,a)}dispatchEvent(t){let r=Mr(this)[String(t.type)];if(r==null)return!0;let n=t instanceof xe?t:eu.wrap(t),o=ue(n,"event");if(o.dispatchFlag)throw new Q("This event has been in dispatching.");if(o.dispatchFlag=!0,o.target=o.currentTarget=this,!o.stopPropagationFlag){let{cow:s,listeners:a}=r;r.cow=!0;for(let c=0;c<a.length;++c){let f=a[c];if(!tR(f)&&(nb(f)&&ib(r,c,!s)&&(c-=1),o.inPassiveListenerFlag=rb(f),rR(f,this,n),o.inPassiveListenerFlag=!1,o.stopImmediatePropagationFlag))break}s||(r.cow=!1)}return o.target=null,o.currentTarget=null,o.stopImmediatePropagationFlag=!1,o.stopPropagationFlag=!1,o.dispatchFlag=!1,!o.canceledFlag}},ab=new WeakMap;El=Object.getOwnPropertyNames(Be.prototype);for(let e=0;e<El.length;++e)El[e]!=="constructor"&&Object.defineProperty(Be.prototype,El[e],{enumerable:!0});ir=class extends Be{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let t=Si.get(this);if(typeof t!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return t}};dR(ir.prototype,"abort");Si=new WeakMap;Object.defineProperties(ir.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ir.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});Ur=class{constructor(){cb.set(this,hR())}get signal(){return ym(this)}abort(){pR(ym(this))}},cb=new WeakMap;Object.defineProperties(Ur.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ur.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});os=Symbol;fb=kl,$l=Promise,DR=Promise.prototype.then,mR=Promise.resolve.bind($l),bR=Promise.reject.bind($l);gm=16384,Pe=class{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(t){let r=this._back,n=r;r._elements.length===gm-1&&(n={_elements:[],_next:void 0}),r._elements.push(t),n!==r&&(this._back=n,r._next=n),++this._size}shift(){let t=this._front,r=t,n=this._cursor,o=n+1,s=t._elements,a=s[n];return o===gm&&(r=t._next,o=0),--this._size,this._cursor=o,t!==r&&(this._front=r),s[n]=void 0,a}forEach(t){let r=this._cursor,n=this._front,o=n._elements;for(;(r!==o.length||n._next!==void 0)&&!(r===o.length&&(n=n._next,o=n._elements,r=0,o.length===0));)t(o[r]),++r}peek(){let t=this._front,r=this._cursor;return t._elements[r]}};Db=os("[[AbortSteps]]"),mb=os("[[ErrorSteps]]"),Ul=os("[[CancelSteps]]"),Hl=os("[[PullSteps]]"),Em=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},ER=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};Vr=class{constructor(t){if(ft(t,1,"ReadableStreamDefaultReader"),Vl(t,"First parameter"),vt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");db(this,t),this._readRequests=new Pe}get closed(){return Rt(this)?this._closedPromise:N(ci("closed"))}cancel(t=void 0){return Rt(this)?this._ownerReadableStream===void 0?N(Hr("cancel")):jl(this,t):N(ci("cancel"))}read(){if(!Rt(this))return N(ci("read"));if(this._ownerReadableStream===void 0)return N(Hr("read from"));let t,r,n=pe((s,a)=>{t=s,r=a});return Eu(this,{_chunkSteps:s=>t({value:s,done:!1}),_closeSteps:()=>t({value:void 0,done:!0}),_errorSteps:s=>r(s)}),n}releaseLock(){if(!Rt(this))throw ci("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ct(this)}}};Object.defineProperties(Vr.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});wi=class{constructor(t,r){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=t,this._preventCancel=r}next(){let t=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?or(this._ongoingPromise,t,t):t(),this._ongoingPromise}return(t){let r=()=>this._returnSteps(t);return this._ongoingPromise?or(this._ongoingPromise,r,r):r()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let t=this._reader;if(t._ownerReadableStream===void 0)return N(Hr("iterate"));let r,n,o=pe((a,c)=>{r=a,n=c});return Eu(t,{_chunkSteps:a=>{this._ongoingPromise=void 0,queueMicrotask(()=>r({value:a,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,ct(t),r({value:void 0,done:!0})},_errorSteps:a=>{this._ongoingPromise=void 0,this._isFinished=!0,ct(t),n(a)}}),o}_returnSteps(t){if(this._isFinished)return Promise.resolve({value:t,done:!0});this._isFinished=!0;let r=this._reader;if(r._ownerReadableStream===void 0)return N(Hr("finish iterating"));if(!this._preventCancel){let n=jl(r,t);return ct(r),or(n,()=>({value:t,done:!0}))}return ct(r),J({value:t,done:!0})}},SR={next(){return Cm(this)?this._asyncIteratorImpl.next():N(Am("next"))},return(e){return Cm(this)?this._asyncIteratorImpl.return(e):N(Am("return"))}};Ab=Number.isNaN||function(e){return e!==e};Yr=class{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!Al(this))throw _l("view");return this._view}respond(t){if(!Al(this))throw _l("respond");if(ft(t,1,"respond"),t=gb(t,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");Fi(this._view.buffer),Ai(this._associatedReadableByteStreamController,t)}respondWithNewView(t){if(!Al(this))throw _l("respondWithNewView");if(ft(t,1,"respondWithNewView"),!ArrayBuffer.isView(t))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");Fi(t.buffer),_i(this._associatedReadableByteStreamController,t)}};Object.defineProperties(Yr.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}});sr=class{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!tr(this))throw Yn("byobRequest");return Pl(this)}get desiredSize(){if(!tr(this))throw Yn("desiredSize");return Ob(this)}close(){if(!tr(this))throw Yn("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`);Jn(this)}enqueue(t){if(!tr(this))throw Yn("enqueue");if(ft(t,1,"enqueue"),!ArrayBuffer.isView(t))throw new TypeError("chunk must be an array buffer view");if(t.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(t.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let r=this._controlledReadableByteStream._state;if(r!=="readable")throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`);Ci(this,t)}error(t=void 0){if(!tr(this))throw Yn("error");Ue(this,t)}[Ul](t){wb(this),Ot(this);let r=this._cancelAlgorithm(t);return ls(this),r}[Hl](t){let r=this._controlledReadableByteStream;if(this._queueTotalSize>0){let o=this._queue.shift();this._queueTotalSize-=o.byteLength,Tb(this);let s=new Uint8Array(o.buffer,o.byteOffset,o.byteLength);t._chunkSteps(s);return}let n=this._autoAllocateChunkSize;if(n!==void 0){let o;try{o=new ArrayBuffer(n)}catch(a){t._errorSteps(a);return}let s={buffer:o,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(s)}Eb(r,t),fr(this)}};Object.defineProperties(sr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}});Xr=class{constructor(t){if(ft(t,1,"ReadableStreamBYOBReader"),Vl(t,"First parameter"),vt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!tr(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");db(this,t),this._readIntoRequests=new Pe}get closed(){return ur(this)?this._closedPromise:N(fi("closed"))}cancel(t=void 0){return ur(this)?this._ownerReadableStream===void 0?N(Hr("cancel")):jl(this,t):N(fi("cancel"))}read(t){if(!ur(this))return N(fi("read"));if(!ArrayBuffer.isView(t))return N(new TypeError("view must be an array buffer view"));if(t.byteLength===0)return N(new TypeError("view must have non-zero byteLength"));if(t.buffer.byteLength===0)return N(new TypeError("view's buffer must have non-zero byteLength"));if(Fi(t.buffer),this._ownerReadableStream===void 0)return N(Hr("read from"));let r,n,o=pe((a,c)=>{r=a,n=c});return xb(this,t,{_chunkSteps:a=>r({value:a,done:!1}),_closeSteps:a=>r({value:a,done:!0}),_errorSteps:a=>n(a)}),o}releaseLock(){if(!ur(this))throw fi("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ct(this)}}};Object.defineProperties(Xr.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});Qr=class{constructor(t={},r={}){t===void 0?t=null:bb(t,"First parameter");let n=vi(r,"Second parameter"),o=xR(t,"First parameter");if($b(this),o.type!==void 0)throw new RangeError("Invalid type is specified");let a=Ri(n),c=ru(n,1);t1(this,o,c,a)}get locked(){if(!jr(this))throw hi("locked");return zr(this)}abort(t=void 0){return jr(this)?zr(this)?N(new TypeError("Cannot abort a stream that already has a writer")):Ti(this,t):N(hi("abort"))}close(){return jr(this)?zr(this)?N(new TypeError("Cannot close a stream that already has a writer")):Ke(this)?N(new TypeError("Cannot close an already-closing stream")):Wb(this):N(hi("close"))}getWriter(){if(!jr(this))throw hi("getWriter");return kb(this)}};Object.defineProperties(Qr.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}});Jr=class{constructor(t){if(ft(t,1,"WritableStreamDefaultWriter"),Nb(t,"First parameter"),zr(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;let r=t._state;if(r==="writable")!Ke(t)&&t._backpressure?ds(this):wm(this),Bi(this);else if(r==="erroring")Ol(this,t._storedError),Bi(this);else if(r==="closed")wm(this),s1(this);else{let n=t._storedError;Ol(this,n),Xb(this,n)}}get closed(){return Jt(this)?this._closedPromise:N(Zt("closed"))}get desiredSize(){if(!Jt(this))throw Zt("desiredSize");if(this._ownerWritableStream===void 0)throw Zn("desiredSize");return e1(this)}get ready(){return Jt(this)?this._readyPromise:N(Zt("ready"))}abort(t=void 0){return Jt(this)?this._ownerWritableStream===void 0?N(Zn("abort")):JR(this,t):N(Zt("abort"))}close(){if(!Jt(this))return N(Zt("close"));let t=this._ownerWritableStream;return t===void 0?N(Zn("close")):Ke(t)?N(new TypeError("Cannot close an already-closing stream")):jb(this)}releaseLock(){if(!Jt(this))throw Zt("releaseLock");this._ownerWritableStream!==void 0&&zb(this)}write(t=void 0){return Jt(this)?this._ownerWritableStream===void 0?N(Zn("write to")):Ub(this,t):N(Zt("write"))}};Object.defineProperties(Jr.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}});Hb={},ar=class{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Sl(this))throw wl("abortReason");return this._abortReason}get signal(){if(!Sl(this))throw wl("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(t=void 0){if(!Sl(this))throw wl("error");this._controlledWritableStream._state==="writable"&&Yb(this,t)}[Db](t){let r=this._abortAlgorithm(t);return cs(this),r}[mb](){Ot(this)}};Object.defineProperties(ar.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}});lr=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!pi(this))throw Di("desiredSize");return ac(this)}close(){if(!pi(this))throw Di("close");if(!Zr(this))throw new TypeError("The stream is not in a state that permits close");uu(this)}enqueue(t=void 0){if(!pi(this))throw Di("enqueue");if(!Zr(this))throw new TypeError("The stream is not in a state that permits enqueue");return Oi(this,t)}error(t=void 0){if(!pi(this))throw Di("error");Tt(this,t)}[Ul](t){Ot(this);let r=this._cancelAlgorithm(t);return Pi(this),r}[Hl](t){let r=this._controlledReadableStream;if(this._queue.length>0){let n=Xl(this);this._closeRequested&&this._queue.length===0?(Pi(this),Cu(r)):nu(this),t._chunkSteps(n)}else Eb(r,t),nu(this)}};Object.defineProperties(lr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}});dt=class{constructor(t={},r={}){t===void 0?t=null:bb(t,"First parameter");let n=vi(r,"Second parameter"),o=m1(t,"First parameter");if(lc(this),o.type==="bytes"){if(n.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let s=ru(n,0);OR(this,o,s)}else{let s=Ri(n),a=ru(n,1);d1(this,o,a,s)}}get locked(){if(!_t(this))throw Kt("locked");return vt(this)}cancel(t=void 0){return _t(this)?vt(this)?N(new TypeError("Cannot cancel a stream that already has a reader")):He(this,t):N(Kt("cancel"))}getReader(t=void 0){if(!_t(this))throw Kt("getReader");return C1(t,"First parameter").mode===void 0?Gr(this):qb(this)}pipeThrough(t,r={}){if(!_t(this))throw Kt("pipeThrough");ft(t,1,"pipeThrough");let n=w1(t,"First parameter"),o=Rm(r,"Second parameter");if(vt(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(zr(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let s=Fm(this,n.writable,o.preventClose,o.preventAbort,o.preventCancel,o.signal);return gu(s),n.readable}pipeTo(t,r={}){if(!_t(this))return N(Kt("pipeTo"));if(t===void 0)return N("Parameter 1 is required in 'pipeTo'.");if(!jr(t))return N(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let n;try{n=Rm(r,"Second parameter")}catch(o){return N(o)}return vt(this)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):zr(t)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Fm(this,t,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!_t(this))throw Kt("tee");let t=h1(this);return tu(t)}values(t=void 0){if(!_t(this))throw Kt("values");let r=_1(t,"First parameter");return wR(this,r.preventCancel)}};Object.defineProperties(dt.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}});ry=e=>e.byteLength;try{Object.defineProperty(ry,"name",{value:"size",configurable:!0})}catch{}ou=class{constructor(t){ft(t,1,"ByteLengthQueuingStrategy"),t=ty(t,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!Bm(this))throw Tm("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Bm(this))throw Tm("size");return ry}};Object.defineProperties(ou.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});ny=()=>1;try{Object.defineProperty(ny,"name",{value:"size",configurable:!0})}catch{}iu=class{constructor(t){ft(t,1,"CountQueuingStrategy"),t=ty(t,"First parameter"),this._countQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!Om(this))throw Pm("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Om(this))throw Pm("size");return ny}};Object.defineProperties(iu.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});su=class{constructor(t={},r={},n={}){t===void 0&&(t=null);let o=vi(r,"Second parameter"),s=vi(n,"Third parameter"),a=F1(t,"First parameter");if(a.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(a.writableType!==void 0)throw new RangeError("Invalid writableType specified");let c=ru(s,0),f=Ri(s),D=ru(o,1),h=Ri(o),m,b=pe(y=>{m=y});B1(this,b,D,h,c,f),O1(this,a),a.start!==void 0?m(a.start(this._transformStreamController)):m(void 0)}get readable(){if(!Im(this))throw Lm("readable");return this._readable}get writable(){if(!Im(this))throw Lm("writable");return this._writable}};Object.defineProperties(su.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}});au=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!mi(this))throw bi("desiredSize");let t=this._controlledTransformStream._readable._readableStreamController;return ac(t)}enqueue(t=void 0){if(!mi(this))throw bi("enqueue");oy(this,t)}error(t=void 0){if(!mi(this))throw bi("error");I1(this,t)}terminate(){if(!mi(this))throw bi("terminate");q1(this)}};Object.defineProperties(au.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}});$1=65536;try{let{Blob:e}=require("buffer");e&&!e.prototype.stream&&(e.prototype.stream=function(r){let n=0,o=this;return new dt({type:"bytes",async pull(s){let c=await o.slice(n,Math.min(o.size,n+$1)).arrayBuffer();n+=c.byteLength,s.enqueue(new Uint8Array(c)),n===o.size&&s.close()}})})}catch{}xm=65536;iy=class ql{#e=[];#t="";#r=0;#n="transparent";constructor(t=[],r={}){if(typeof t!="object"||t===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(typeof t[Symbol.iterator]!="function")throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof r!="object"&&typeof r!="function")throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");r===null&&(r={});let n=new TextEncoder;for(let s of t){let a;ArrayBuffer.isView(s)?a=new Uint8Array(s.buffer.slice(s.byteOffset,s.byteOffset+s.byteLength)):s instanceof ArrayBuffer?a=new Uint8Array(s.slice(0)):s instanceof ql?a=s:a=n.encode(`${s}`),this.#r+=ArrayBuffer.isView(a)?a.byteLength:a.size,this.#e.push(a)}this.#n=`${r.endings===void 0?"transparent":r.endings}`;let o=r.type===void 0?"":String(r.type);this.#t=/^[\x20-\x7E]*$/.test(o)?o:""}get size(){return this.#r}get type(){return this.#t}async text(){let t=new TextDecoder,r="";for await(let n of Fl(this.#e,!1))r+=t.decode(n,{stream:!0});return r+=t.decode(),r}async arrayBuffer(){let t=new Uint8Array(this.size),r=0;for await(let n of Fl(this.#e,!1))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=Fl(this.#e,!0);return new dt({type:"bytes",async pull(r){let n=await t.next();n.done?r.close():r.enqueue(n.value)},async cancel(){await t.return()}})}slice(t=0,r=this.size,n=""){let{size:o}=this,s=t<0?Math.max(o+t,0):Math.min(t,o),a=r<0?Math.max(o+r,0):Math.min(r,o),c=Math.max(a-s,0),f=this.#e,D=[],h=0;for(let b of f){if(h>=c)break;let y=ArrayBuffer.isView(b)?b.byteLength:b.size;if(s&&y<=s)s-=y,a-=y;else{let E;ArrayBuffer.isView(b)?(E=b.subarray(s,Math.min(y,a)),h+=E.byteLength):(E=b.slice(s,Math.min(y,a)),h+=E.size),a-=y,D.push(E),s=0}}let m=new ql([],{type:String(n).toLowerCase()});return m.#r=c,m.#e=D,m}get[Symbol.toStringTag](){return"Blob"}static[Symbol.hasInstance](t){return t&&typeof t=="object"&&typeof t.constructor=="function"&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}};Object.defineProperties(iy.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});Kr=iy,W1=class extends Kr{#e=0;#t="";constructor(t,r,n={}){if(arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);super(t,n),n===null&&(n={});let o=n.lastModified===void 0?Date.now():Number(n.lastModified);Number.isNaN(o)||(this.#e=o),this.#t=String(r)}get name(){return this.#t}get lastModified(){return this.#e}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](t){return!!t&&t instanceof Kr&&/^(File)$/.test(t[Symbol.toStringTag])}},ms=W1;({toStringTag:Kn,iterator:j1,hasInstance:M1}=Symbol),z1="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),Nm=(e,t,r)=>(e+="",/^(Blob|File)$/.test(t&&t[Kn])?[(r=r!==void 0?r+"":t[Kn]=="File"?t.name:"blob",e),t.name!==r||t[Kn]=="blob"?new ms([t],r,t):t]:[e,t+""]),er=(e,t,r)=>{if(t.length<r)throw new TypeError(`Failed to execute '${e}' on 'FormData': ${r} arguments required, but only ${t.length} present.`)},cc=class{#e=[];constructor(...t){if(t.length)throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.")}get[Kn](){return"FormData"}[j1](){return this.entries()}static[M1](t){return t&&typeof t=="object"&&t[Kn]==="FormData"&&!z1.some(r=>typeof t[r]!="function")}append(...t){er("append",arguments,2),this.#e.push(Nm(...t))}delete(t){er("delete",arguments,1),t+="",this.#e=this.#e.filter(([r])=>r!==t)}get(t){er("get",arguments,1),t+="";for(var r=this.#e,n=r.length,o=0;o<n;o++)if(r[o][0]===t)return r[o][1];return null}getAll(t,r){return er("getAll",arguments,1),r=[],t+="",this.#e.forEach(n=>n[0]===t&&r.push(n[1])),r}has(t){return er("has",arguments,1),t+="",this.#e.some(r=>r[0]===t)}forEach(t,r){er("forEach",arguments,1);for(var[n,o]of this)t.call(r,o,n,this)}set(...t){er("set",arguments,2);var r=[],n=!0;t=Nm(...t),this.#e.forEach(o=>{o[0]===t[0]?n&&(n=!r.push(t)):r.push(o)}),n&&r.push(t),this.#e=r}*entries(){yield*this.#e}*keys(){for(var[t]of this)yield t}*values(){for(var[,t]of this)yield t}};U1=/(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/,H1=/(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u08D3-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])/;St={delimiter:"",prefixes:"",sensitive:!0,strict:!0},V1={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Y1={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};py=["ftp","file","http","https","ws","wss"];(function(e){e[e.INIT=0]="INIT",e[e.PROTOCOL=1]="PROTOCOL",e[e.AUTHORITY=2]="AUTHORITY",e[e.USERNAME=3]="USERNAME",e[e.PASSWORD=4]="PASSWORD",e[e.HOSTNAME=5]="HOSTNAME",e[e.PORT=6]="PORT",e[e.PATHNAME=7]="PATHNAME",e[e.SEARCH=8]="SEARCH",e[e.HASH=9]="HASH",e[e.DONE=10]="DONE"})(x||(x={}));tv=function(){function e(r){this.input=void 0,this.tokenList=[],this.internalResult={},this.tokenIndex=0,this.tokenIncrement=1,this.componentStart=0,this.state=x.INIT,this.groupDepth=0,this.hostnameIPv6BracketDepth=0,this.shouldTreatAsStandardURL=!1,this.input=r}var t=e.prototype;return t.parse=function(){for(this.tokenList=ay(this.input,!0);this.tokenIndex<this.tokenList.length;this.tokenIndex+=this.tokenIncrement){if(this.tokenIncrement=1,this.tokenList[this.tokenIndex].type==="END"){if(this.state===x.INIT){this.rewind(),this.isHashPrefix()?this.changeState(x.HASH,1):this.isSearchPrefix()?(this.changeState(x.SEARCH,1),this.internalResult.hash=""):(this.changeState(x.PATHNAME,0),this.internalResult.search="",this.internalResult.hash="");continue}if(this.state===x.AUTHORITY){this.rewindAndSetState(x.HOSTNAME);continue}this.changeState(x.DONE,0);break}if(this.groupDepth>0){if(!this.isGroupClose())continue;this.groupDepth-=1}if(this.isGroupOpen())this.groupDepth+=1;else switch(this.state){case x.INIT:this.isProtocolSuffix()&&(this.internalResult.username="",this.internalResult.password="",this.internalResult.hostname="",this.internalResult.port="",this.internalResult.pathname="",this.internalResult.search="",this.internalResult.hash="",this.rewindAndSetState(x.PROTOCOL));break;case x.PROTOCOL:if(this.isProtocolSuffix()){this.computeShouldTreatAsStandardURL();var r=x.PATHNAME,n=1;this.shouldTreatAsStandardURL&&(this.internalResult.pathname="/"),this.nextIsAuthoritySlashes()?(r=x.AUTHORITY,n=3):this.shouldTreatAsStandardURL&&(r=x.AUTHORITY),this.changeState(r,n)}break;case x.AUTHORITY:this.isIdentityTerminator()?this.rewindAndSetState(x.USERNAME):(this.isPathnameStart()||this.isSearchPrefix()||this.isHashPrefix())&&this.rewindAndSetState(x.HOSTNAME);break;case x.USERNAME:this.isPasswordPrefix()?this.changeState(x.PASSWORD,1):this.isIdentityTerminator()&&this.changeState(x.HOSTNAME,1);break;case x.PASSWORD:this.isIdentityTerminator()&&this.changeState(x.HOSTNAME,1);break;case x.HOSTNAME:this.isIPv6Open()?this.hostnameIPv6BracketDepth+=1:this.isIPv6Close()&&(this.hostnameIPv6BracketDepth-=1),this.isPortPrefix()&&!this.hostnameIPv6BracketDepth?this.changeState(x.PORT,1):this.isPathnameStart()?this.changeState(x.PATHNAME,0):this.isSearchPrefix()?this.changeState(x.SEARCH,1):this.isHashPrefix()&&this.changeState(x.HASH,1);break;case x.PORT:this.isPathnameStart()?this.changeState(x.PATHNAME,0):this.isSearchPrefix()?this.changeState(x.SEARCH,1):this.isHashPrefix()&&this.changeState(x.HASH,1);break;case x.PATHNAME:this.isSearchPrefix()?this.changeState(x.SEARCH,1):this.isHashPrefix()&&this.changeState(x.HASH,1);break;case x.SEARCH:this.isHashPrefix()&&this.changeState(x.HASH,1)}}},t.changeState=function(r,n){switch(this.state){case x.INIT:break;case x.PROTOCOL:this.internalResult.protocol=this.makeComponentString();break;case x.AUTHORITY:break;case x.USERNAME:this.internalResult.username=this.makeComponentString();break;case x.PASSWORD:this.internalResult.password=this.makeComponentString();break;case x.HOSTNAME:this.internalResult.hostname=this.makeComponentString();break;case x.PORT:this.internalResult.port=this.makeComponentString();break;case x.PATHNAME:this.internalResult.pathname=this.makeComponentString();break;case x.SEARCH:this.internalResult.search=this.makeComponentString();break;case x.HASH:this.internalResult.hash=this.makeComponentString()}this.changeStateWithoutSettingComponent(r,n)},t.changeStateWithoutSettingComponent=function(r,n){this.state=r,this.componentStart=this.tokenIndex+n,this.tokenIndex+=n,this.tokenIncrement=0},t.rewind=function(){this.tokenIndex=this.componentStart,this.tokenIncrement=0},t.rewindAndSetState=function(r){this.rewind(),this.state=r},t.safeToken=function(r){return r<0&&(r=this.tokenList.length-r),r<this.tokenList.length?this.tokenList[r]:this.tokenList[this.tokenList.length-1]},t.isNonSpecialPatternChar=function(r,n){var o=this.safeToken(r);return o.value===n&&(o.type==="CHAR"||o.type==="ESCAPED_CHAR"||o.type==="INVALID_CHAR")},t.isProtocolSuffix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.nextIsAuthoritySlashes=function(){return this.isNonSpecialPatternChar(this.tokenIndex+1,"/")&&this.isNonSpecialPatternChar(this.tokenIndex+2,"/")},t.isIdentityTerminator=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"@")},t.isPasswordPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPortPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPathnameStart=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"/")},t.isSearchPrefix=function(){if(this.isNonSpecialPatternChar(this.tokenIndex,"?"))return!0;if(this.tokenList[this.tokenIndex].value!=="?")return!1;var r=this.safeToken(this.tokenIndex-1);return r.type!=="NAME"&&r.type!=="PATTERN"&&r.type!=="CLOSE"&&r.type!=="ASTERISK"},t.isHashPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"#")},t.isGroupOpen=function(){return this.tokenList[this.tokenIndex].type=="OPEN"},t.isGroupClose=function(){return this.tokenList[this.tokenIndex].type=="CLOSE"},t.isIPv6Open=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"[")},t.isIPv6Close=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"]")},t.makeComponentString=function(){var r=this.tokenList[this.tokenIndex],n=this.safeToken(this.componentStart).index;return this.input.substring(n,r.index)},t.computeShouldTreatAsStandardURL=function(){var r={};Object.assign(r,St),r.encodePart=fc;var n=dy(this.makeComponentString(),void 0,r);this.shouldTreatAsStandardURL=Dy(n)},sy(e,[{key:"result",get:function(){return this.internalResult}}]),e}(),rv=["protocol","username","password","hostname","port","pathname","search","hash"];bs=function(){function e(r,n){r===void 0&&(r={}),this.pattern=void 0,this.regexp={},this.keys={},this.component_pattern={};try{if(typeof r=="string"){var o=new tv(r);if(o.parse(),r=o.result,n){if(typeof n!="string")throw new TypeError("'baseURL' parameter is not of type 'string'.");r.baseURL=n}else if(typeof r.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.")}else if(n)throw new TypeError("parameter 1 is not of type 'string'.");if(!r||typeof r!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");var s;this.pattern=Rl({pathname:"*",protocol:"*",username:"*",password:"*",hostname:"*",port:"*",search:"*",hash:"*"},r,!0),my(this.pattern.protocol)===this.pattern.port&&(this.pattern.port="");for(var a,c=Ii(rv);!(a=c()).done;)if((s=a.value)in this.pattern){var f={},D=this.pattern[s];switch(this.keys[s]=[],s){case"protocol":Object.assign(f,St),f.encodePart=fc;break;case"username":Object.assign(f,St),f.encodePart=X1;break;case"password":Object.assign(f,St),f.encodePart=Q1;break;case"hostname":Object.assign(f,V1),f.encodePart=hy(D)?yy:by;break;case"port":Object.assign(f,St),f.encodePart=gy;break;case"pathname":Dy(this.regexp.protocol)?(Object.assign(f,Y1),f.encodePart=J1):(Object.assign(f,St),f.encodePart=Z1);break;case"search":Object.assign(f,St),f.encodePart=K1;break;case"hash":Object.assign(f,St),f.encodePart=ev}try{var h=ly(D,f);this.regexp[s]=fy(h,this.keys[s],f),this.component_pattern[s]=nv(h,f)}catch{throw new TypeError("invalid "+s+" pattern '"+this.pattern[s]+"'.")}}}catch(m){throw new TypeError("Failed to construct 'URLPattern': "+m.message)}}var t=e.prototype;return t.test=function(r,n){r===void 0&&(r={});var o,s={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r===void 0)return!1;try{s=Rl(s,typeof r=="object"?r:jm(r,n),!1)}catch{return!1}for(o in this.pattern)if(!this.regexp[o].exec(s[o]))return!1;return!0},t.exec=function(r,n){r===void 0&&(r={});var o={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r!==void 0){try{o=Rl(o,typeof r=="object"?r:jm(r,n),!1)}catch{return null}var s,a={};for(s in a.inputs=n?[r,n]:[r],this.pattern){var c=this.regexp[s].exec(o[s]);if(!c)return null;for(var f,D={},h=Ii(this.keys[s].entries());!(f=h()).done;){var m=f.value,b=m[1];typeof b.name!="string"&&typeof b.name!="number"||(D[b.name]=c[m[0]+1]||"")}a[s]={input:o[s]||"",groups:D}}return a}},sy(e,[{key:"protocol",get:function(){return this.component_pattern.protocol}},{key:"username",get:function(){return this.component_pattern.username}},{key:"password",get:function(){return this.component_pattern.password}},{key:"hostname",get:function(){return this.component_pattern.hostname}},{key:"port",get:function(){return this.component_pattern.port}},{key:"pathname",get:function(){return this.component_pattern.pathname}},{key:"search",get:function(){return this.component_pattern.search}},{key:"hash",get:function(){return this.component_pattern.hash}}]),e}(),rr={tick:0,pool:new Map};Bt=class extends Be{append(...t){}appendChild(t){return t}after(...t){}before(...t){}prepend(...t){}replaceChild(t,r){return r}removeChild(t){return t}get attributes(){return{}}get childNodes(){return[]}get children(){return[]}get ownerDocument(){return null}get nodeValue(){return""}set nodeValue(t){}get textContent(){return""}set textContent(t){}get previousElementSibling(){return null}get nextElementSibling(){return null}[Symbol.for("nodejs.util.inspect.custom")](t,r){return`${this.constructor.name}`}},lu=class extends Bt{},cu=class extends lu{get innerHTML(){return""}set innerHTML(t){}},av=Object.assign({NodeFilter(){throw new TypeError("Illegal constructor")}}.NodeFilter,{FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048}),qi=class{nextNode(){return null}previousNode(){return null}get filter(){return R(this,"NodeIterator","filter").filter}get pointerBeforeReferenceNode(){return R(this,"NodeIterator","pointerBeforeReferenceNode").pointerBeforeReferenceNode}get referenceNode(){return R(this,"NodeIterator","referenceNode").referenceNode}get root(){return R(this,"NodeIterator","root").root}get whatToShow(){return R(this,"NodeIterator","whatToShow").whatToShow}};G(Bt);G(qi);G(lu);G(cu);en=class extends Bt{constructor(t){ce.set(super(),{data:String(t)})}get data(){return R(this,"CharacterData","data").data}get textContent(){return R(this,"CharacterData","textContent").data}},Li=class extends en{},fu=class extends en{get assignedSlot(){return null}get wholeText(){return R(this,"CharacterData","textContent").data}};G(en);G(fu);G(Li);xi=class extends xe{constructor(t,r){r=Object(r),super(t,r),"detail"in r&&(this.detail=r.detail)}};G(xi);(0,Vm.bootstrap)({environmentVariableNamespace:""});dc={fetch(e,t){let r=new URL(us(ve.prototype,e)?e.url:fm(e),typeof Object(globalThis.process).cwd=="function"?"file:"+fm(process.cwd())+"/":"file:");return r.protocol.toLowerCase()==="file:"?import("node:fs").then(n=>{try{let o=n.statSync(r),s=n.createReadStream(r);return new oe(s,{status:200,statusText:"",headers:{"content-length":String(o.size),date:new Date().toUTCString(),"last-modified":new Date(o.mtimeMs).toUTCString()}})}catch{let s=new Ym.default.Readable;return s._read=()=>{},s.push(null),new oe(s,{status:404,statusText:"",headers:{date:new Date().toUTCString()}})}}):li(e,t)}}.fetch,nr={tick:0,pool:new Map};ys=0,Ni=1,ki=2,hc=3,pc=4,Dc=5,mc=6,Ey=7,Cy=8,Mm=typeof self=="object"?self:globalThis,fv=(e,t)=>{let r=(o,s)=>(e.set(s,o),o),n=o=>{if(e.has(o))return e.get(o);let[s,a]=t[o];switch(s){case ys:return r(a,o);case Ni:{let c=r([],o);for(let f of a)c.push(n(f));return c}case ki:{let c=r({},o);for(let[f,D]of a)c[n(f)]=n(D);return c}case hc:return r(new Date(a),o);case pc:{let{source:c,flags:f}=a;return r(new RegExp(c,f),o)}case Dc:{let c=r(new Map,o);for(let[f,D]of a)c.set(n(f),n(D));return c}case mc:{let c=r(new Set,o);for(let f of a)c.add(n(f));return c}case Ey:{let{name:c,message:f}=a;return r(new Mm[c](f),o)}case Cy:return r(BigInt(a),o);case"BigInt":return r(Object(BigInt(a)),o)}return r(new Mm[s](a),o)};return n},dv=e=>fv(new Map,e)(0),$r="",{toString:hv}={},{keys:pv}=Object,Qn=e=>{let t=typeof e;if(t!=="object"||!e)return[ys,t];let r=hv.call(e).slice(8,-1);switch(r){case"Array":return[Ni,$r];case"Object":return[ki,$r];case"Date":return[hc,$r];case"RegExp":return[pc,$r];case"Map":return[Dc,$r];case"Set":return[mc,$r]}return r.includes("Array")?[Ni,r]:r.includes("Error")?[Ey,r]:[ki,r]},yi=([e,t])=>e===ys&&(t==="function"||t==="symbol"),Dv=(e,t,r,n)=>{let o=(a,c)=>{let f=n.push(a)-1;return r.set(c,f),f},s=a=>{if(r.has(a))return r.get(a);let[c,f]=Qn(a);switch(c){case ys:{let h=a;switch(f){case"bigint":c=Cy,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);h=null;break}return o([c,h],a)}case Ni:{if(f)return o([f,[...a]],a);let h=[],m=o([c,h],a);for(let b of a)h.push(s(b));return m}case ki:{if(f)switch(f){case"BigInt":return o([f,a.toString()],a);case"Boolean":case"Number":case"String":return o([f,a.valueOf()],a)}if(t&&"toJSON"in a)return s(a.toJSON());let h=[],m=o([c,h],a);for(let b of pv(a))(e||!yi(Qn(a[b])))&&h.push([s(b),s(a[b])]);return m}case hc:return o([c,a.toISOString()],a);case pc:{let{source:h,flags:m}=a;return o([c,{source:h,flags:m}],a)}case Dc:{let h=[],m=o([c,h],a);for(let[b,y]of a)(e||!(yi(Qn(b))||yi(Qn(y))))&&h.push([s(b),s(y)]);return m}case mc:{let h=[],m=o([c,h],a);for(let b of a)(e||!yi(Qn(b)))&&h.push(s(b));return m}}let{message:D}=a;return o([c,{name:f,message:D}],a)};return s},mv=(e,{json:t,lossy:r}={})=>{let n=[];return Dv(!(t||r),!!t,new Map,n)(e),n},bv=(e,t)=>dv(mv(e,t)),$i={tick:0,pool:new Map};du=class{parentNode(){return null}firstChild(){return null}lastChild(){return null}previousSibling(){return null}nextSibling(){return null}previousNode(){return null}nextNode(){return null}get currentNode(){return R(this,"TreeWalker","currentNode").currentNode}get root(){return R(this,"TreeWalker","root").root}get whatToShow(){return R(this,"TreeWalker","whatToShow").whatToShow}};G(du);tn=class{constructor(t,r,...n){if(arguments.length<2)throw new TypeError("Failed to construct 'ImageData': 2 arguments required.");let o=us(Uint8ClampedArray.prototype,t),s=o?t:new Uint8ClampedArray(gi(t,"width")*gi(r,"height")*4),a=gi(o?r:t,"width"),c=s.length/a/4,f=String(Object(o?n[1]:n[0]).colorSpace||"srgb");if(n.length&&gi(n[0],"height")!==c)throw new Q("height is not equal to (4 * width * height)","IndexSizeError");if(f!=="srgb"&&f!=="rec2020"&&f!=="display-p3")throw new TypeError("colorSpace is not known value");Object.defineProperty(this,"data",{configurable:!0,enumerable:!0,value:s}),ce.set(this,{width:a,height:c,colorSpace:f})}get data(){return R(this,"ImageData","data"),Object.getOwnPropertyDescriptor(this,"data").value}get width(){return R(this,"ImageData","width").width}get height(){return R(this,"ImageData","height").height}};G(tn);gi=(e,t)=>{if(e=Number(e)||0,e===0)throw new TypeError(`The source ${t} is zero or not a number.`);return e},hu=class{get canvas(){return R(this,"CanvasRenderingContext2D","canvas").canvas}get direction(){return R(this,"CanvasRenderingContext2D","direction").direction}get fillStyle(){return R(this,"CanvasRenderingContext2D","fillStyle").fillStyle}get filter(){return R(this,"CanvasRenderingContext2D","filter").filter}get globalAlpha(){return R(this,"CanvasRenderingContext2D","globalAlpha").globalAlpha}get globalCompositeOperation(){return R(this,"CanvasRenderingContext2D","globalCompositeOperation").globalCompositeOperation}get font(){return R(this,"CanvasRenderingContext2D","font").font}get imageSmoothingEnabled(){return R(this,"CanvasRenderingContext2D","imageSmoothingEnabled").imageSmoothingEnabled}get imageSmoothingQuality(){return R(this,"CanvasRenderingContext2D","imageSmoothingQuality").imageSmoothingQuality}get lineCap(){return R(this,"CanvasRenderingContext2D","lineCap").lineCap}get lineDashOffset(){return R(this,"CanvasRenderingContext2D","lineDashOffset").lineDashOffset}get lineJoin(){return R(this,"CanvasRenderingContext2D","lineJoin").lineJoin}get lineWidth(){return R(this,"CanvasRenderingContext2D","lineWidth").lineWidth}get miterLimit(){return R(this,"CanvasRenderingContext2D","miterLimit").miterLimit}get strokeStyle(){return R(this,"CanvasRenderingContext2D","strokeStyle").strokeStyle}get shadowOffsetX(){return R(this,"CanvasRenderingContext2D","shadowOffsetX").shadowOffsetX}get shadowOffsetY(){return R(this,"CanvasRenderingContext2D","shadowOffsetY").shadowOffsetY}get shadowBlur(){return R(this,"CanvasRenderingContext2D","shadowBlur").shadowBlur}get shadowColor(){return R(this,"CanvasRenderingContext2D","shadowColor").shadowColor}get textAlign(){return R(this,"CanvasRenderingContext2D","textAlign").textAlign}get textBaseline(){return R(this,"CanvasRenderingContext2D","textBaseline").textBaseline}arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}createImageData(t,r){let n=us(tn.prototype,t),o=n?t.width:t,s=n?t.height:r,a=n?t.data:new Uint8ClampedArray(o*s*4);return new tn(a,o,s)}createLinearGradient(){}createPattern(){}createRadialGradient(){}drawFocusIfNeeded(){}drawImage(){}ellipse(){}fill(){}fillRect(){}fillText(){}getContextAttributes(){}getImageData(){}getLineDash(){}getTransform(){}isPointInPath(){}isPointInStroke(){}lineTo(){}measureText(){}moveTo(){}putImageData(){}quadraticCurveTo(){}rect(){}resetTransform(){}restore(){}rotate(){}save(){}scale(){}setLineDash(){}setTransform(){}stroke(){}strokeRect(){}strokeText(){}transform(){}translate(){}};G(hu);Ay=e=>{let t=Object.create(hu.prototype);return ce.set(t,{canvas:e,direction:"inherit",fillStyle:"#000",filter:"none",font:"10px sans-serif",globalAlpha:0,globalCompositeOperation:"source-over",imageSmoothingEnabled:!1,imageSmoothingQuality:"high",lineCap:"butt",lineDashOffset:0,lineJoin:"miter",lineWidth:1,miterLimit:10,shadowBlur:0,shadowColor:"#000",shadowOffsetX:0,shadowOffsetY:0,strokeStyle:"#000",textAlign:"start",textBaseline:"alphabetic"}),t},Wi=class{define(t,r,n){let o=R(this,"CustomElementRegistry","define");if(t=String(t),/[A-Z]/.test(t))throw new SyntaxError("Custom element name cannot contain an uppercase ASCII letter");if(!/^[a-z]/.test(t))throw new SyntaxError("Custom element name must have a lowercase ASCII letter as its first character");if(!/-/.test(t))throw new SyntaxError("Custom element name must contain a hyphen");ce.set(r,{attributes:{},localName:t}),o.constructorByName.set(t,r),o.nameByConstructor.set(r,t)}get(t){let r=R(this,"CustomElementRegistry","get");return t=String(t).toLowerCase(),r.constructorByName.get(t)}getName(t){return R(this,"CustomElementRegistry","getName").nameByConstructor.get(t)}};G(Wi);_y=(e,t)=>{if(t.has("customElements"))return;let r=e.CustomElementRegistry||globalThis.CustomElementRegistry,n=e.customElements||(e.customElements=new r);ce.set(n,{constructorByName:new Map,nameByConstructor:new Map})},pu=class extends Bt{constructor(){if(super(),ce.has(new.target)){let t=R(new.target,"Element","localName");ce.set(this,{attributes:{},localName:t.localName,ownerDocument:this.ownerDocument,shadowInit:null,shadowRoot:null})}}hasAttribute(t){return!1}getAttribute(t){return null}setAttribute(t,r){}removeAttribute(t){}attachShadow(t){if(arguments.length<1)throw new TypeError("Failed to execute 'attachShadow' on 'Element': 1 argument required, but only 0 present.");if(t!==Object(t))throw new TypeError("Failed to execute 'attachShadow' on 'Element': The provided value is not of type 'ShadowRootInit'.");if(t.mode!=="open"&&t.mode!=="closed")throw new TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': The provided value '${t.mode}' is not a valid enum value of type ShadowRootMode.`);let r=R(this,"Element","attachShadow");if(r.shadowRoot)throw new Error("The operation is not supported.");return r.shadowInit=r.shadowInit||{mode:t.mode,delegatesFocus:!!t.delegatesFocus},r.shadowRoot=r.shadowRoot||(/^open$/.test(r.shadowInit.mode)?Object.setPrototypeOf(new Be,cu.prototype):null),r.shadowRoot}get assignedSlot(){return null}get innerHTML(){return R(this,"Element","innerHTML"),""}set innerHTML(t){R(this,"Element","innerHTML")}get shadowRoot(){let t=R(this,"Element","shadowRoot");return Object(t.shadowInit).mode==="open"?t.shadowRoot:null}get localName(){return R(this,"Element","localName").localName}get nodeName(){return R(this,"Element","nodeName").localName.toUpperCase()}get tagName(){return R(this,"Element","tagName").localName.toUpperCase()}},_e=class extends pu{},ji=class extends _e{},Mi=class extends _e{},zi=class extends _e{},Ui=class extends _e{},Hi=class extends _e{},Gi=class extends _e{},Vi=class extends _e{},Du=class extends _e{};G(pu);G(_e);G(ji);G(Mi);G(zi);G(Ui);G(Hi);G(Gi);G(Vi);G(Du);mu=class extends Bt{createElement(t){let r=R(this,"Document","createElement"),n=ce.get(r.target.customElements);t=String(t).toLowerCase();let o=r.constructorByName.get(t)||n&&n.constructorByName.get(t)||Du,s=Object.setPrototypeOf(new Be,o.prototype);return ce.set(s,{attributes:{},localName:t,ownerDocument:this,shadowInit:null,shadowRoot:null}),s}createNodeIterator(t,r=NodeFilter.SHOW_ALL,n){let o=Object.create(NodeIterator.prototype);return ce.set(o,{filter:n,pointerBeforeReferenceNode:!1,referenceNode:t,root:t,whatToShow:r}),o}createTextNode(t){return new fu(t)}createTreeWalker(t,r=NodeFilter.SHOW_ALL,n,o){let s=Object.create(du.prototype);return ce.set(s,{filter:n,currentNode:t,root:t,whatToShow:r}),s}get adoptedStyleSheets(){return[]}get styleSheets(){return[]}},Yi=class extends mu{};G(mu);G(Yi);Sy=(e,t)=>{if(t.has("document"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.HTMLDocument||globalThis.HTMLDocument,o=e.document=Object.setPrototypeOf(new r,n.prototype);ce.set(o,{target:e,constructorByName:new Map([["body",e.HTMLBodyElement],["canvas",e.HTMLCanvasElement],["div",e.HTMLDivElement],["head",e.HTMLHeadElement],["html",e.HTMLHtmlElement],["img",e.HTMLImageElement],["span",e.HTMLSpanElement],["style",e.HTMLStyleElement]]),nameByConstructor:new Map});let s=(a,c)=>{let f=Object.setPrototypeOf(new r,c.prototype);return ce.set(f,{attributes:{},localName:a,ownerDocument:o,shadowRoot:null,shadowInit:null}),f};o.body=s("body",e.HTMLBodyElement),o.head=s("head",e.HTMLHeadElement),o.documentElement=s("html",e.HTMLHtmlElement)},Xi=class extends _e{get height(){return R(this,"HTMLCanvasElement","height").height}set height(t){R(this,"HTMLCanvasElement","height").height=Number(t)||0}get width(){return R(this,"HTMLCanvasElement","width").width}set width(t){R(this,"HTMLCanvasElement","width").width=Number(t)||0}captureStream(){return null}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=Ay(this)),r.renderingContext2D;default:return null}}toBlob(){}toDataURL(){}transferControlToOffscreen(){}};G(Xi);bu=class extends _e{get src(){return R(this,"HTMLImageElement","src").src}set src(t){let r=R(this,"HTMLImageElement","src");r.src=String(t)}};G(bu);wy.prototype=bu.prototype;Qi=class extends Be{get matches(){return R(this,"MediaQueryList","matches").matches}get media(){return R(this,"MediaQueryList","media").media}};G(Qi);Fy=(e,t)=>{if(t.has("MediaQueryList")||t.has("matchMedia"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.MediaQueryList||globalThis.MediaQueryList;e.matchMedia=function(s){let a=Object.setPrototypeOf(new r,n.prototype);return ce.set(a,{matches:!1,media:s}),a}},Ji=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},Zi=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},Ki=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}};G(Zi);G(Ji);G(Ki);es=class extends Be{constructor(t,r){if(super(),arguments.length<2)throw new TypeError("Failed to construct 'OffscreenCanvas': 2 arguments required.");t=Number(t)||0,r=Number(r)||0,ce.set(this,{width:t,height:r})}get height(){return R(this,"OffscreenCanvas","height").height}set height(t){R(this,"OffscreenCanvas","height").height=Number(t)||0}get width(){return R(this,"OffscreenCanvas","width").width}set width(t){R(this,"OffscreenCanvas","width").width=Number(t)||0}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=Ay(this)),r.renderingContext2D;default:return null}}convertToBlob(t){t=Object(t),Number(t.quality);let r=Ev(String(t.type).trim().toLowerCase());return Promise.resolve(new Kr([],{type:r}))}};G(es);Ev=e=>e==="image/avif"||e==="image/jpeg"||e==="image/png"||e==="image/webp"?e:"image/png",ts=class{clear(){R(this,"Storage","clear").storage.clear()}getItem(t){return zm(R(this,"Storage","getItem").storage.get(String(t)))}key(t){return zm([...R(this,"Storage","key").storage.keys()][Number(t)||0])}removeItem(t){R(this,"Storage","getItem").storage.delete(String(t))}setItem(t,r){R(this,"Storage","getItem").storage.set(String(t),String(r))}get length(){return R(this,"Storage","size").storage.size}},zm=e=>typeof e=="string"?e:null,Ry=(e,t)=>{if(t.has("Storage")||t.has("localStorage"))return;e.localStorage=Object.create(ts.prototype);let r=new Map;ce.set(e.localStorage,{storage:r})},yu=class{},rs=class e extends yu{async replace(t){return new e}replaceSync(t){return new e}get cssRules(){return[]}};G(yu);G(rs);ns=class extends Be{get self(){return this}get top(){return this}get window(){return this}get innerHeight(){return 0}get innerWidth(){return 0}get scrollX(){return 0}get scrollY(){return 0}};G(ns);vy=(e,t)=>{t.has("Window")||t.has("window")||(e.window=e)};Av={hasOwn(e,t){return WF(e,t)}}.hasOwn,Ty=(e,t)=>{if(t.has("Object")||t.has("object")||t.has("hasOwn"))return;let r=e.Object||globalThis.Object;Object.defineProperty(r,"hasOwn",{value:Av,writable:!0,enumerable:!1,configurable:!0})},_v={async any(e){return Promise.all([...e].map(t=>new Promise((r,n)=>Promise.resolve(t).then(n,r)))).then(t=>Promise.reject(t),t=>Promise.resolve(t))}}.any,By=(e,t)=>{if(t.has("Promise")||t.has("any"))return;let r=e.Promise||globalThis.Promise;r.any||Object.defineProperty(r,"any",{value:_v,writable:!0,enumerable:!1,configurable:!0})},Sv={at(e){if(e=Math.trunc(e)||0,e<0&&(e+=this.length),!(e<0||e>=this.length))return this[e]}}.at,Py=(e,t)=>{if(t.has("at"))return;let r=[];t.has("TypedArray")||r.push(Object.getPrototypeOf(e.Int8Array||globalThis.Int8Array)),t.has("Array")||r.push(e.Array||globalThis.Array),t.has("String")||r.push(e.String||globalThis.String);for(let n of r)n.prototype.at||Object.defineProperty(n.prototype,"at",{value:Sv,writable:!0,enumerable:!1,configurable:!0})},wv={replaceAll(e,t){return us(RegExp.prototype,e)?this.replace(e,t):this.replace(new RegExp(jF(e),"g"),t)}}.replaceAll,Oy=(e,t)=>{if(t.has("String")||t.has("replaceAll"))return;let r=e.String||globalThis.String;r.prototype.replaceAll||Object.defineProperty(r.prototype,"replaceAll",{value:wv,writable:!0,enumerable:!1,configurable:!0})},Iy=["CustomElementsRegistry","HTMLElement","HTMLBodyElement","HTMLCanvasElement","HTMLDivElement","HTMLHeadElement","HTMLHtmlElement","HTMLImageElement","HTMLStyleElement","HTMLTemplateElement","HTMLUnknownElement","Image"],qy=["Element",...Iy],Ly=["CustomElementsRegistry","Document","HTMLDocument","document","customElements"],bc=["Node","DocumentFragment","ShadowRoot",...Ly,...qy],Fv=["AbortSignal","Event","CustomEvent","EventTarget","OffscreenCanvas","MediaQueryList","Window",...bc],Rv=["AbortSignal","Event","CustomEvent","EventTarget","MediaQueryList","OffscreenCanvas","Window",...bc],Um={"Blob+":["Blob","File"],"Document+":Ly,"Element+":qy,"Event+":Rv,"EventTarget+":Fv,"HTMLElement+":Iy,"Node+":bc,"StyleSheet+":["StyleSheet","CSSStyleSheet"]},Hm={CSSStyleSheet:"StyleSheet",CustomEvent:"Event",DOMException:"Error",Document:"Node",DocumentFragment:"Node",Element:"Node",File:"Blob",HTMLDocument:"Document",HTMLElement:"Element",HTMLBodyElement:"HTMLElement",HTMLCanvasElement:"HTMLElement",HTMLDivElement:"HTMLElement",HTMLHeadElement:"HTMLElement",HTMLHtmlElement:"HTMLElement",HTMLImageElement:"HTMLElement",HTMLSpanElement:"HTMLElement",HTMLStyleElement:"HTMLElement",HTMLTemplateElement:"HTMLElement",HTMLUnknownElement:"HTMLElement",Image:"HTMLElement",MediaQueryList:"EventTarget",Node:"EventTarget",OffscreenCanvas:"EventTarget",ShadowRoot:"DocumentFragment",Window:"EventTarget"},vv=(e,t)=>{let r={AbortController:Ur,AbortSignal:ir,Blob:Kr,ByteLengthQueuingStrategy:ou,CanvasRenderingContext2D:hu,CharacterData:en,Comment:Li,CountQueuingStrategy:iu,CSSStyleSheet:rs,CustomElementRegistry:Wi,CustomEvent:xi,Document:mu,DocumentFragment:lu,DOMException:Q,Element:pu,Event:xe,EventTarget:Be,File:ms,FormData:cc,HTMLDocument:Yi,HTMLElement:_e,HTMLBodyElement:ji,HTMLCanvasElement:Xi,HTMLDivElement:Mi,HTMLHeadElement:zi,HTMLHtmlElement:Ui,HTMLImageElement:bu,HTMLSpanElement:Hi,HTMLStyleElement:Gi,HTMLTemplateElement:Vi,HTMLUnknownElement:Du,Headers:ae,IntersectionObserver:Ji,Image:wy,ImageData:tn,MediaQueryList:Qi,MutationObserver:Zi,Node:Bt,NodeFilter:av,NodeIterator:qi,OffscreenCanvas:es,ReadableByteStreamController:sr,ReadableStream:dt,ReadableStreamBYOBReader:Xr,ReadableStreamBYOBRequest:Yr,ReadableStreamDefaultController:lr,ReadableStreamDefaultReader:Vr,Request:ve,ResizeObserver:Ki,Response:oe,ShadowRoot:cu,Storage:ts,StyleSheet:yu,Text:fu,TransformStream:su,TreeWalker:du,URLPattern:bs,WritableStream:Qr,WritableStreamDefaultController:ar,WritableStreamDefaultWriter:Jr,Window:ns,alert:Cv,atob:iv,btoa:sv,cancelAnimationFrame:ov,cancelIdleCallback:cv,clearTimeout:gv,fetch:dc,requestAnimationFrame:uv,requestIdleCallback:lv,setTimeout:yv,structuredClone:bv},n=new Set(typeof Object(t).exclude=="string"?String(Object(t).exclude).trim().split(/\s+/):Array.isArray(Object(t).exclude)?Object(t).exclude.reduce((o,s)=>o.splice(o.length,0,...typeof s=="string"?s.trim().split(/\s+/):[])&&o,[]):[]);for(let o of n)if(o in Um)for(let s of Um[o])n.add(s);for(let o of Object.keys(r))n.has(o)||Object.hasOwnProperty.call(e,o)||Object.defineProperty(e,o,{configurable:!0,enumerable:!0,writable:!0,value:r[o]});for(let o of Object.keys(r)){if(n.has(o)||!Object.hasOwnProperty.call(Hm,o))continue;let s=e[o],a=e[Hm[o]];!s||!a||Object.getPrototypeOf(s.prototype)!==a.prototype&&Object.setPrototypeOf(s.prototype,a.prototype)}return!n.has("HTMLDocument")&&!n.has("HTMLElement")&&(Sy(e,n),n.has("CustomElementRegistry")||_y(e,n)),Ty(e,n),Fy(e,n),By(e,n),Py(e,n),Ry(e,n),Oy(e,n),vy(e,n),e};vv.internals=(e,t)=>({CustomElementRegistry:_y,Document:Sy,MediaQueryList:Fy,Object:Ty,Promise:By,RelativeIndexingMethod:Py,Storage:Ry,String:Oy,Window:vy}[t](e,new Set),e)});var gc=C(()=>{"use strict";d();var ky=de(require("http")),$y=de(require("https")),yc=require("crypto"),Wy=de(require("node:stream/web"));xy();Object.assign(ky.default.globalAgent,{keepAlive:!0});Object.assign($y.default.globalAgent,{keepAlive:!0});var Ny=parseInt(process.version.slice(1).split(".")[0]);Ny<18?Object.assign(globalThis,{fetch:dc,Request:ve,Response:oe,Headers:ae,Blob:Kr,File:ms,FormData:cc,URLPattern:bs,crypto:yc.webcrypto},Wy.default):Ny<20&&Object.assign(globalThis,{URLPattern:bs,crypto:yc.webcrypto})});var It={};qf(It,{default:()=>Tv});module.exports=yE(It);d();d();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d0431d6c-6f45-451f-b27c-dff2543c5de4",e._sentryDebugIdIdentifier="sentry-dbid-d0431d6c-6f45-451f-b27c-dff2543c5de4")}catch{}})();var jy=de(gc());Wt(It,de(gc()),module.exports);var Tv=jy.default;
21
+ `);console.warn(this.message,...t,n)}catch{}}},HF=new Ge("W01","Unable to initialize event under dispatching."),GF=new Ge("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),VF=new Ge("W03","Assigning any truthy value to 'returnValue' property has no effect."),YF=new Ge("W04","Unable to preventDefault on non-cancelable events."),XF=new Ge("W05","Unable to preventDefault inside passive event listener invocation."),QF=new Ge("W06","An event listener wasn't added because it has been added already: %o, %o"),yl=new Ge("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),dm=new Ge("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o"),JF=new Ge("W09","Event attribute handler must be a function: %o"),xe=class{static get NONE(){return hm}static get CAPTURING_PHASE(){return pm}static get AT_TARGET(){return Dm}static get BUBBLING_PHASE(){return mm}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let n=r??{};vl.set(this,{type:String(t),bubbles:!!n.bubbles,cancelable:!!n.cancelable,composed:!!n.composed,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return ue(this).type}get target(){return ue(this).target}get srcElement(){return ue(this).target}get currentTarget(){return ue(this).currentTarget}composedPath(){let t=ue(this).currentTarget;return t?[t]:[]}get NONE(){return hm}get CAPTURING_PHASE(){return pm}get AT_TARGET(){return Dm}get BUBBLING_PHASE(){return mm}get eventPhase(){return ue(this).dispatchFlag?2:0}stopPropagation(){ue(this).stopPropagationFlag=!0}get cancelBubble(){return ue(this).stopPropagationFlag}set cancelBubble(t){t?ue(this).stopPropagationFlag=!0:GF.warn()}stopImmediatePropagation(){let t=ue(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return ue(this).bubbles}get cancelable(){return ue(this).cancelable}get returnValue(){return!ue(this).canceledFlag}set returnValue(t){t?VF.warn():bm(ue(this))}preventDefault(){bm(ue(this))}get defaultPrevented(){return ue(this).canceledFlag}get composed(){return ue(this).composed}get isTrusted(){return!1}get timeStamp(){return ue(this).timeStamp}initEvent(t,r=!1,n=!1){let o=ue(this);if(o.dispatchFlag){HF.warn();return}vl.set(this,{...o,type:String(t),bubbles:!!r,cancelable:!!n,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}},hm=0,pm=1,Dm=2,mm=3,vl=new WeakMap;Object.defineProperty(xe,"NONE",{enumerable:!0});Object.defineProperty(xe,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(xe,"AT_TARGET",{enumerable:!0});Object.defineProperty(xe,"BUBBLING_PHASE",{enumerable:!0});gl=Object.getOwnPropertyNames(xe.prototype);for(let e=0;e<gl.length;++e)gl[e]!=="constructor"&&Object.defineProperty(xe.prototype,gl[e],{enumerable:!0});eu=class extends xe{static wrap(t){return new(Km(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),Zm.set(this,{original:t});let r=Object.keys(t);for(let n=0;n<r.length;++n){let o=r[n];o in this||Object.defineProperty(this,o,eb(t,o))}}stopPropagation(){super.stopPropagation();let{original:t}=wt(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;let{original:r}=wt(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();let{original:t}=wt(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;let{original:r}=wt(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();let{original:t}=wt(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){let{original:t}=wt(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}},Zm=new WeakMap;Tl=new WeakMap;Tl.set(Object.prototype,eu);Be=class{constructor(){ab.set(this,nR())}addEventListener(t,r,n){let o=Mr(this),{callback:s,capture:a,once:c,passive:f,signal:D,type:h}=uR(t,r,n);if(s==null||D?.aborted)return;let m=sb(o,h),b=ub(m,s,a);if(b!==-1){iR(m.listeners[b],f,c,D);return}ob(m,s,a,f,c,D)}removeEventListener(t,r,n){let o=Mr(this),{callback:s,capture:a,type:c}=oR(t,r,n),f=o[c];s!=null&&f&&Nl(f,s,a)}dispatchEvent(t){let r=Mr(this)[String(t.type)];if(r==null)return!0;let n=t instanceof xe?t:eu.wrap(t),o=ue(n,"event");if(o.dispatchFlag)throw new Q("This event has been in dispatching.");if(o.dispatchFlag=!0,o.target=o.currentTarget=this,!o.stopPropagationFlag){let{cow:s,listeners:a}=r;r.cow=!0;for(let c=0;c<a.length;++c){let f=a[c];if(!tR(f)&&(nb(f)&&ib(r,c,!s)&&(c-=1),o.inPassiveListenerFlag=rb(f),rR(f,this,n),o.inPassiveListenerFlag=!1,o.stopImmediatePropagationFlag))break}s||(r.cow=!1)}return o.target=null,o.currentTarget=null,o.stopImmediatePropagationFlag=!1,o.stopPropagationFlag=!1,o.dispatchFlag=!1,!o.canceledFlag}},ab=new WeakMap;El=Object.getOwnPropertyNames(Be.prototype);for(let e=0;e<El.length;++e)El[e]!=="constructor"&&Object.defineProperty(Be.prototype,El[e],{enumerable:!0});ir=class extends Be{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let t=Si.get(this);if(typeof t!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return t}};dR(ir.prototype,"abort");Si=new WeakMap;Object.defineProperties(ir.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ir.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});Ur=class{constructor(){cb.set(this,hR())}get signal(){return ym(this)}abort(){pR(ym(this))}},cb=new WeakMap;Object.defineProperties(Ur.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ur.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});os=Symbol;fb=kl,$l=Promise,DR=Promise.prototype.then,mR=Promise.resolve.bind($l),bR=Promise.reject.bind($l);gm=16384,Pe=class{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(t){let r=this._back,n=r;r._elements.length===gm-1&&(n={_elements:[],_next:void 0}),r._elements.push(t),n!==r&&(this._back=n,r._next=n),++this._size}shift(){let t=this._front,r=t,n=this._cursor,o=n+1,s=t._elements,a=s[n];return o===gm&&(r=t._next,o=0),--this._size,this._cursor=o,t!==r&&(this._front=r),s[n]=void 0,a}forEach(t){let r=this._cursor,n=this._front,o=n._elements;for(;(r!==o.length||n._next!==void 0)&&!(r===o.length&&(n=n._next,o=n._elements,r=0,o.length===0));)t(o[r]),++r}peek(){let t=this._front,r=this._cursor;return t._elements[r]}};Db=os("[[AbortSteps]]"),mb=os("[[ErrorSteps]]"),Ul=os("[[CancelSteps]]"),Hl=os("[[PullSteps]]"),Em=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},ER=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};Vr=class{constructor(t){if(ft(t,1,"ReadableStreamDefaultReader"),Vl(t,"First parameter"),vt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");db(this,t),this._readRequests=new Pe}get closed(){return Rt(this)?this._closedPromise:N(ci("closed"))}cancel(t=void 0){return Rt(this)?this._ownerReadableStream===void 0?N(Hr("cancel")):jl(this,t):N(ci("cancel"))}read(){if(!Rt(this))return N(ci("read"));if(this._ownerReadableStream===void 0)return N(Hr("read from"));let t,r,n=pe((s,a)=>{t=s,r=a});return Eu(this,{_chunkSteps:s=>t({value:s,done:!1}),_closeSteps:()=>t({value:void 0,done:!0}),_errorSteps:s=>r(s)}),n}releaseLock(){if(!Rt(this))throw ci("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ct(this)}}};Object.defineProperties(Vr.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});wi=class{constructor(t,r){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=t,this._preventCancel=r}next(){let t=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?or(this._ongoingPromise,t,t):t(),this._ongoingPromise}return(t){let r=()=>this._returnSteps(t);return this._ongoingPromise?or(this._ongoingPromise,r,r):r()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let t=this._reader;if(t._ownerReadableStream===void 0)return N(Hr("iterate"));let r,n,o=pe((a,c)=>{r=a,n=c});return Eu(t,{_chunkSteps:a=>{this._ongoingPromise=void 0,queueMicrotask(()=>r({value:a,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,ct(t),r({value:void 0,done:!0})},_errorSteps:a=>{this._ongoingPromise=void 0,this._isFinished=!0,ct(t),n(a)}}),o}_returnSteps(t){if(this._isFinished)return Promise.resolve({value:t,done:!0});this._isFinished=!0;let r=this._reader;if(r._ownerReadableStream===void 0)return N(Hr("finish iterating"));if(!this._preventCancel){let n=jl(r,t);return ct(r),or(n,()=>({value:t,done:!0}))}return ct(r),J({value:t,done:!0})}},SR={next(){return Cm(this)?this._asyncIteratorImpl.next():N(Am("next"))},return(e){return Cm(this)?this._asyncIteratorImpl.return(e):N(Am("return"))}};Ab=Number.isNaN||function(e){return e!==e};Yr=class{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!Al(this))throw _l("view");return this._view}respond(t){if(!Al(this))throw _l("respond");if(ft(t,1,"respond"),t=gb(t,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");Fi(this._view.buffer),Ai(this._associatedReadableByteStreamController,t)}respondWithNewView(t){if(!Al(this))throw _l("respondWithNewView");if(ft(t,1,"respondWithNewView"),!ArrayBuffer.isView(t))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");Fi(t.buffer),_i(this._associatedReadableByteStreamController,t)}};Object.defineProperties(Yr.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}});sr=class{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!tr(this))throw Yn("byobRequest");return Pl(this)}get desiredSize(){if(!tr(this))throw Yn("desiredSize");return Ob(this)}close(){if(!tr(this))throw Yn("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`);Jn(this)}enqueue(t){if(!tr(this))throw Yn("enqueue");if(ft(t,1,"enqueue"),!ArrayBuffer.isView(t))throw new TypeError("chunk must be an array buffer view");if(t.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(t.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let r=this._controlledReadableByteStream._state;if(r!=="readable")throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`);Ci(this,t)}error(t=void 0){if(!tr(this))throw Yn("error");Ue(this,t)}[Ul](t){wb(this),Ot(this);let r=this._cancelAlgorithm(t);return ls(this),r}[Hl](t){let r=this._controlledReadableByteStream;if(this._queueTotalSize>0){let o=this._queue.shift();this._queueTotalSize-=o.byteLength,Tb(this);let s=new Uint8Array(o.buffer,o.byteOffset,o.byteLength);t._chunkSteps(s);return}let n=this._autoAllocateChunkSize;if(n!==void 0){let o;try{o=new ArrayBuffer(n)}catch(a){t._errorSteps(a);return}let s={buffer:o,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(s)}Eb(r,t),fr(this)}};Object.defineProperties(sr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}});Xr=class{constructor(t){if(ft(t,1,"ReadableStreamBYOBReader"),Vl(t,"First parameter"),vt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!tr(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");db(this,t),this._readIntoRequests=new Pe}get closed(){return ur(this)?this._closedPromise:N(fi("closed"))}cancel(t=void 0){return ur(this)?this._ownerReadableStream===void 0?N(Hr("cancel")):jl(this,t):N(fi("cancel"))}read(t){if(!ur(this))return N(fi("read"));if(!ArrayBuffer.isView(t))return N(new TypeError("view must be an array buffer view"));if(t.byteLength===0)return N(new TypeError("view must have non-zero byteLength"));if(t.buffer.byteLength===0)return N(new TypeError("view's buffer must have non-zero byteLength"));if(Fi(t.buffer),this._ownerReadableStream===void 0)return N(Hr("read from"));let r,n,o=pe((a,c)=>{r=a,n=c});return xb(this,t,{_chunkSteps:a=>r({value:a,done:!1}),_closeSteps:a=>r({value:a,done:!0}),_errorSteps:a=>n(a)}),o}releaseLock(){if(!ur(this))throw fi("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ct(this)}}};Object.defineProperties(Xr.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});Qr=class{constructor(t={},r={}){t===void 0?t=null:bb(t,"First parameter");let n=vi(r,"Second parameter"),o=xR(t,"First parameter");if($b(this),o.type!==void 0)throw new RangeError("Invalid type is specified");let a=Ri(n),c=ru(n,1);t1(this,o,c,a)}get locked(){if(!jr(this))throw hi("locked");return zr(this)}abort(t=void 0){return jr(this)?zr(this)?N(new TypeError("Cannot abort a stream that already has a writer")):Ti(this,t):N(hi("abort"))}close(){return jr(this)?zr(this)?N(new TypeError("Cannot close a stream that already has a writer")):Ke(this)?N(new TypeError("Cannot close an already-closing stream")):Wb(this):N(hi("close"))}getWriter(){if(!jr(this))throw hi("getWriter");return kb(this)}};Object.defineProperties(Qr.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}});Jr=class{constructor(t){if(ft(t,1,"WritableStreamDefaultWriter"),Nb(t,"First parameter"),zr(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;let r=t._state;if(r==="writable")!Ke(t)&&t._backpressure?ds(this):wm(this),Bi(this);else if(r==="erroring")Ol(this,t._storedError),Bi(this);else if(r==="closed")wm(this),s1(this);else{let n=t._storedError;Ol(this,n),Xb(this,n)}}get closed(){return Jt(this)?this._closedPromise:N(Zt("closed"))}get desiredSize(){if(!Jt(this))throw Zt("desiredSize");if(this._ownerWritableStream===void 0)throw Zn("desiredSize");return e1(this)}get ready(){return Jt(this)?this._readyPromise:N(Zt("ready"))}abort(t=void 0){return Jt(this)?this._ownerWritableStream===void 0?N(Zn("abort")):JR(this,t):N(Zt("abort"))}close(){if(!Jt(this))return N(Zt("close"));let t=this._ownerWritableStream;return t===void 0?N(Zn("close")):Ke(t)?N(new TypeError("Cannot close an already-closing stream")):jb(this)}releaseLock(){if(!Jt(this))throw Zt("releaseLock");this._ownerWritableStream!==void 0&&zb(this)}write(t=void 0){return Jt(this)?this._ownerWritableStream===void 0?N(Zn("write to")):Ub(this,t):N(Zt("write"))}};Object.defineProperties(Jr.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}});Hb={},ar=class{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Sl(this))throw wl("abortReason");return this._abortReason}get signal(){if(!Sl(this))throw wl("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(t=void 0){if(!Sl(this))throw wl("error");this._controlledWritableStream._state==="writable"&&Yb(this,t)}[Db](t){let r=this._abortAlgorithm(t);return cs(this),r}[mb](){Ot(this)}};Object.defineProperties(ar.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}});lr=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!pi(this))throw Di("desiredSize");return ac(this)}close(){if(!pi(this))throw Di("close");if(!Zr(this))throw new TypeError("The stream is not in a state that permits close");uu(this)}enqueue(t=void 0){if(!pi(this))throw Di("enqueue");if(!Zr(this))throw new TypeError("The stream is not in a state that permits enqueue");return Oi(this,t)}error(t=void 0){if(!pi(this))throw Di("error");Tt(this,t)}[Ul](t){Ot(this);let r=this._cancelAlgorithm(t);return Pi(this),r}[Hl](t){let r=this._controlledReadableStream;if(this._queue.length>0){let n=Xl(this);this._closeRequested&&this._queue.length===0?(Pi(this),Cu(r)):nu(this),t._chunkSteps(n)}else Eb(r,t),nu(this)}};Object.defineProperties(lr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}});dt=class{constructor(t={},r={}){t===void 0?t=null:bb(t,"First parameter");let n=vi(r,"Second parameter"),o=m1(t,"First parameter");if(lc(this),o.type==="bytes"){if(n.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let s=ru(n,0);OR(this,o,s)}else{let s=Ri(n),a=ru(n,1);d1(this,o,a,s)}}get locked(){if(!_t(this))throw Kt("locked");return vt(this)}cancel(t=void 0){return _t(this)?vt(this)?N(new TypeError("Cannot cancel a stream that already has a reader")):He(this,t):N(Kt("cancel"))}getReader(t=void 0){if(!_t(this))throw Kt("getReader");return C1(t,"First parameter").mode===void 0?Gr(this):qb(this)}pipeThrough(t,r={}){if(!_t(this))throw Kt("pipeThrough");ft(t,1,"pipeThrough");let n=w1(t,"First parameter"),o=Rm(r,"Second parameter");if(vt(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(zr(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let s=Fm(this,n.writable,o.preventClose,o.preventAbort,o.preventCancel,o.signal);return gu(s),n.readable}pipeTo(t,r={}){if(!_t(this))return N(Kt("pipeTo"));if(t===void 0)return N("Parameter 1 is required in 'pipeTo'.");if(!jr(t))return N(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let n;try{n=Rm(r,"Second parameter")}catch(o){return N(o)}return vt(this)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):zr(t)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Fm(this,t,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!_t(this))throw Kt("tee");let t=h1(this);return tu(t)}values(t=void 0){if(!_t(this))throw Kt("values");let r=_1(t,"First parameter");return wR(this,r.preventCancel)}};Object.defineProperties(dt.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}});ry=e=>e.byteLength;try{Object.defineProperty(ry,"name",{value:"size",configurable:!0})}catch{}ou=class{constructor(t){ft(t,1,"ByteLengthQueuingStrategy"),t=ty(t,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!Bm(this))throw Tm("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Bm(this))throw Tm("size");return ry}};Object.defineProperties(ou.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});ny=()=>1;try{Object.defineProperty(ny,"name",{value:"size",configurable:!0})}catch{}iu=class{constructor(t){ft(t,1,"CountQueuingStrategy"),t=ty(t,"First parameter"),this._countQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!Om(this))throw Pm("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Om(this))throw Pm("size");return ny}};Object.defineProperties(iu.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});su=class{constructor(t={},r={},n={}){t===void 0&&(t=null);let o=vi(r,"Second parameter"),s=vi(n,"Third parameter"),a=F1(t,"First parameter");if(a.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(a.writableType!==void 0)throw new RangeError("Invalid writableType specified");let c=ru(s,0),f=Ri(s),D=ru(o,1),h=Ri(o),m,b=pe(y=>{m=y});B1(this,b,D,h,c,f),O1(this,a),a.start!==void 0?m(a.start(this._transformStreamController)):m(void 0)}get readable(){if(!Im(this))throw Lm("readable");return this._readable}get writable(){if(!Im(this))throw Lm("writable");return this._writable}};Object.defineProperties(su.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}});au=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!mi(this))throw bi("desiredSize");let t=this._controlledTransformStream._readable._readableStreamController;return ac(t)}enqueue(t=void 0){if(!mi(this))throw bi("enqueue");oy(this,t)}error(t=void 0){if(!mi(this))throw bi("error");I1(this,t)}terminate(){if(!mi(this))throw bi("terminate");q1(this)}};Object.defineProperties(au.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}});$1=65536;try{let{Blob:e}=require("buffer");e&&!e.prototype.stream&&(e.prototype.stream=function(r){let n=0,o=this;return new dt({type:"bytes",async pull(s){let c=await o.slice(n,Math.min(o.size,n+$1)).arrayBuffer();n+=c.byteLength,s.enqueue(new Uint8Array(c)),n===o.size&&s.close()}})})}catch{}xm=65536;iy=class ql{#e=[];#t="";#r=0;#n="transparent";constructor(t=[],r={}){if(typeof t!="object"||t===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(typeof t[Symbol.iterator]!="function")throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof r!="object"&&typeof r!="function")throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");r===null&&(r={});let n=new TextEncoder;for(let s of t){let a;ArrayBuffer.isView(s)?a=new Uint8Array(s.buffer.slice(s.byteOffset,s.byteOffset+s.byteLength)):s instanceof ArrayBuffer?a=new Uint8Array(s.slice(0)):s instanceof ql?a=s:a=n.encode(`${s}`),this.#r+=ArrayBuffer.isView(a)?a.byteLength:a.size,this.#e.push(a)}this.#n=`${r.endings===void 0?"transparent":r.endings}`;let o=r.type===void 0?"":String(r.type);this.#t=/^[\x20-\x7E]*$/.test(o)?o:""}get size(){return this.#r}get type(){return this.#t}async text(){let t=new TextDecoder,r="";for await(let n of Fl(this.#e,!1))r+=t.decode(n,{stream:!0});return r+=t.decode(),r}async arrayBuffer(){let t=new Uint8Array(this.size),r=0;for await(let n of Fl(this.#e,!1))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=Fl(this.#e,!0);return new dt({type:"bytes",async pull(r){let n=await t.next();n.done?r.close():r.enqueue(n.value)},async cancel(){await t.return()}})}slice(t=0,r=this.size,n=""){let{size:o}=this,s=t<0?Math.max(o+t,0):Math.min(t,o),a=r<0?Math.max(o+r,0):Math.min(r,o),c=Math.max(a-s,0),f=this.#e,D=[],h=0;for(let b of f){if(h>=c)break;let y=ArrayBuffer.isView(b)?b.byteLength:b.size;if(s&&y<=s)s-=y,a-=y;else{let E;ArrayBuffer.isView(b)?(E=b.subarray(s,Math.min(y,a)),h+=E.byteLength):(E=b.slice(s,Math.min(y,a)),h+=E.size),a-=y,D.push(E),s=0}}let m=new ql([],{type:String(n).toLowerCase()});return m.#r=c,m.#e=D,m}get[Symbol.toStringTag](){return"Blob"}static[Symbol.hasInstance](t){return t&&typeof t=="object"&&typeof t.constructor=="function"&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}};Object.defineProperties(iy.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});Kr=iy,W1=class extends Kr{#e=0;#t="";constructor(t,r,n={}){if(arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);super(t,n),n===null&&(n={});let o=n.lastModified===void 0?Date.now():Number(n.lastModified);Number.isNaN(o)||(this.#e=o),this.#t=String(r)}get name(){return this.#t}get lastModified(){return this.#e}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](t){return!!t&&t instanceof Kr&&/^(File)$/.test(t[Symbol.toStringTag])}},ms=W1;({toStringTag:Kn,iterator:j1,hasInstance:M1}=Symbol),z1="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),Nm=(e,t,r)=>(e+="",/^(Blob|File)$/.test(t&&t[Kn])?[(r=r!==void 0?r+"":t[Kn]=="File"?t.name:"blob",e),t.name!==r||t[Kn]=="blob"?new ms([t],r,t):t]:[e,t+""]),er=(e,t,r)=>{if(t.length<r)throw new TypeError(`Failed to execute '${e}' on 'FormData': ${r} arguments required, but only ${t.length} present.`)},cc=class{#e=[];constructor(...t){if(t.length)throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.")}get[Kn](){return"FormData"}[j1](){return this.entries()}static[M1](t){return t&&typeof t=="object"&&t[Kn]==="FormData"&&!z1.some(r=>typeof t[r]!="function")}append(...t){er("append",arguments,2),this.#e.push(Nm(...t))}delete(t){er("delete",arguments,1),t+="",this.#e=this.#e.filter(([r])=>r!==t)}get(t){er("get",arguments,1),t+="";for(var r=this.#e,n=r.length,o=0;o<n;o++)if(r[o][0]===t)return r[o][1];return null}getAll(t,r){return er("getAll",arguments,1),r=[],t+="",this.#e.forEach(n=>n[0]===t&&r.push(n[1])),r}has(t){return er("has",arguments,1),t+="",this.#e.some(r=>r[0]===t)}forEach(t,r){er("forEach",arguments,1);for(var[n,o]of this)t.call(r,o,n,this)}set(...t){er("set",arguments,2);var r=[],n=!0;t=Nm(...t),this.#e.forEach(o=>{o[0]===t[0]?n&&(n=!r.push(t)):r.push(o)}),n&&r.push(t),this.#e=r}*entries(){yield*this.#e}*keys(){for(var[t]of this)yield t}*values(){for(var[,t]of this)yield t}};U1=/(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/,H1=/(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u08D3-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])/;St={delimiter:"",prefixes:"",sensitive:!0,strict:!0},V1={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Y1={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};py=["ftp","file","http","https","ws","wss"];(function(e){e[e.INIT=0]="INIT",e[e.PROTOCOL=1]="PROTOCOL",e[e.AUTHORITY=2]="AUTHORITY",e[e.USERNAME=3]="USERNAME",e[e.PASSWORD=4]="PASSWORD",e[e.HOSTNAME=5]="HOSTNAME",e[e.PORT=6]="PORT",e[e.PATHNAME=7]="PATHNAME",e[e.SEARCH=8]="SEARCH",e[e.HASH=9]="HASH",e[e.DONE=10]="DONE"})(x||(x={}));tv=function(){function e(r){this.input=void 0,this.tokenList=[],this.internalResult={},this.tokenIndex=0,this.tokenIncrement=1,this.componentStart=0,this.state=x.INIT,this.groupDepth=0,this.hostnameIPv6BracketDepth=0,this.shouldTreatAsStandardURL=!1,this.input=r}var t=e.prototype;return t.parse=function(){for(this.tokenList=ay(this.input,!0);this.tokenIndex<this.tokenList.length;this.tokenIndex+=this.tokenIncrement){if(this.tokenIncrement=1,this.tokenList[this.tokenIndex].type==="END"){if(this.state===x.INIT){this.rewind(),this.isHashPrefix()?this.changeState(x.HASH,1):this.isSearchPrefix()?(this.changeState(x.SEARCH,1),this.internalResult.hash=""):(this.changeState(x.PATHNAME,0),this.internalResult.search="",this.internalResult.hash="");continue}if(this.state===x.AUTHORITY){this.rewindAndSetState(x.HOSTNAME);continue}this.changeState(x.DONE,0);break}if(this.groupDepth>0){if(!this.isGroupClose())continue;this.groupDepth-=1}if(this.isGroupOpen())this.groupDepth+=1;else switch(this.state){case x.INIT:this.isProtocolSuffix()&&(this.internalResult.username="",this.internalResult.password="",this.internalResult.hostname="",this.internalResult.port="",this.internalResult.pathname="",this.internalResult.search="",this.internalResult.hash="",this.rewindAndSetState(x.PROTOCOL));break;case x.PROTOCOL:if(this.isProtocolSuffix()){this.computeShouldTreatAsStandardURL();var r=x.PATHNAME,n=1;this.shouldTreatAsStandardURL&&(this.internalResult.pathname="/"),this.nextIsAuthoritySlashes()?(r=x.AUTHORITY,n=3):this.shouldTreatAsStandardURL&&(r=x.AUTHORITY),this.changeState(r,n)}break;case x.AUTHORITY:this.isIdentityTerminator()?this.rewindAndSetState(x.USERNAME):(this.isPathnameStart()||this.isSearchPrefix()||this.isHashPrefix())&&this.rewindAndSetState(x.HOSTNAME);break;case x.USERNAME:this.isPasswordPrefix()?this.changeState(x.PASSWORD,1):this.isIdentityTerminator()&&this.changeState(x.HOSTNAME,1);break;case x.PASSWORD:this.isIdentityTerminator()&&this.changeState(x.HOSTNAME,1);break;case x.HOSTNAME:this.isIPv6Open()?this.hostnameIPv6BracketDepth+=1:this.isIPv6Close()&&(this.hostnameIPv6BracketDepth-=1),this.isPortPrefix()&&!this.hostnameIPv6BracketDepth?this.changeState(x.PORT,1):this.isPathnameStart()?this.changeState(x.PATHNAME,0):this.isSearchPrefix()?this.changeState(x.SEARCH,1):this.isHashPrefix()&&this.changeState(x.HASH,1);break;case x.PORT:this.isPathnameStart()?this.changeState(x.PATHNAME,0):this.isSearchPrefix()?this.changeState(x.SEARCH,1):this.isHashPrefix()&&this.changeState(x.HASH,1);break;case x.PATHNAME:this.isSearchPrefix()?this.changeState(x.SEARCH,1):this.isHashPrefix()&&this.changeState(x.HASH,1);break;case x.SEARCH:this.isHashPrefix()&&this.changeState(x.HASH,1)}}},t.changeState=function(r,n){switch(this.state){case x.INIT:break;case x.PROTOCOL:this.internalResult.protocol=this.makeComponentString();break;case x.AUTHORITY:break;case x.USERNAME:this.internalResult.username=this.makeComponentString();break;case x.PASSWORD:this.internalResult.password=this.makeComponentString();break;case x.HOSTNAME:this.internalResult.hostname=this.makeComponentString();break;case x.PORT:this.internalResult.port=this.makeComponentString();break;case x.PATHNAME:this.internalResult.pathname=this.makeComponentString();break;case x.SEARCH:this.internalResult.search=this.makeComponentString();break;case x.HASH:this.internalResult.hash=this.makeComponentString()}this.changeStateWithoutSettingComponent(r,n)},t.changeStateWithoutSettingComponent=function(r,n){this.state=r,this.componentStart=this.tokenIndex+n,this.tokenIndex+=n,this.tokenIncrement=0},t.rewind=function(){this.tokenIndex=this.componentStart,this.tokenIncrement=0},t.rewindAndSetState=function(r){this.rewind(),this.state=r},t.safeToken=function(r){return r<0&&(r=this.tokenList.length-r),r<this.tokenList.length?this.tokenList[r]:this.tokenList[this.tokenList.length-1]},t.isNonSpecialPatternChar=function(r,n){var o=this.safeToken(r);return o.value===n&&(o.type==="CHAR"||o.type==="ESCAPED_CHAR"||o.type==="INVALID_CHAR")},t.isProtocolSuffix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.nextIsAuthoritySlashes=function(){return this.isNonSpecialPatternChar(this.tokenIndex+1,"/")&&this.isNonSpecialPatternChar(this.tokenIndex+2,"/")},t.isIdentityTerminator=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"@")},t.isPasswordPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPortPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPathnameStart=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"/")},t.isSearchPrefix=function(){if(this.isNonSpecialPatternChar(this.tokenIndex,"?"))return!0;if(this.tokenList[this.tokenIndex].value!=="?")return!1;var r=this.safeToken(this.tokenIndex-1);return r.type!=="NAME"&&r.type!=="PATTERN"&&r.type!=="CLOSE"&&r.type!=="ASTERISK"},t.isHashPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"#")},t.isGroupOpen=function(){return this.tokenList[this.tokenIndex].type=="OPEN"},t.isGroupClose=function(){return this.tokenList[this.tokenIndex].type=="CLOSE"},t.isIPv6Open=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"[")},t.isIPv6Close=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"]")},t.makeComponentString=function(){var r=this.tokenList[this.tokenIndex],n=this.safeToken(this.componentStart).index;return this.input.substring(n,r.index)},t.computeShouldTreatAsStandardURL=function(){var r={};Object.assign(r,St),r.encodePart=fc;var n=dy(this.makeComponentString(),void 0,r);this.shouldTreatAsStandardURL=Dy(n)},sy(e,[{key:"result",get:function(){return this.internalResult}}]),e}(),rv=["protocol","username","password","hostname","port","pathname","search","hash"];bs=function(){function e(r,n){r===void 0&&(r={}),this.pattern=void 0,this.regexp={},this.keys={},this.component_pattern={};try{if(typeof r=="string"){var o=new tv(r);if(o.parse(),r=o.result,n){if(typeof n!="string")throw new TypeError("'baseURL' parameter is not of type 'string'.");r.baseURL=n}else if(typeof r.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.")}else if(n)throw new TypeError("parameter 1 is not of type 'string'.");if(!r||typeof r!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");var s;this.pattern=Rl({pathname:"*",protocol:"*",username:"*",password:"*",hostname:"*",port:"*",search:"*",hash:"*"},r,!0),my(this.pattern.protocol)===this.pattern.port&&(this.pattern.port="");for(var a,c=Ii(rv);!(a=c()).done;)if((s=a.value)in this.pattern){var f={},D=this.pattern[s];switch(this.keys[s]=[],s){case"protocol":Object.assign(f,St),f.encodePart=fc;break;case"username":Object.assign(f,St),f.encodePart=X1;break;case"password":Object.assign(f,St),f.encodePart=Q1;break;case"hostname":Object.assign(f,V1),f.encodePart=hy(D)?yy:by;break;case"port":Object.assign(f,St),f.encodePart=gy;break;case"pathname":Dy(this.regexp.protocol)?(Object.assign(f,Y1),f.encodePart=J1):(Object.assign(f,St),f.encodePart=Z1);break;case"search":Object.assign(f,St),f.encodePart=K1;break;case"hash":Object.assign(f,St),f.encodePart=ev}try{var h=ly(D,f);this.regexp[s]=fy(h,this.keys[s],f),this.component_pattern[s]=nv(h,f)}catch{throw new TypeError("invalid "+s+" pattern '"+this.pattern[s]+"'.")}}}catch(m){throw new TypeError("Failed to construct 'URLPattern': "+m.message)}}var t=e.prototype;return t.test=function(r,n){r===void 0&&(r={});var o,s={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r===void 0)return!1;try{s=Rl(s,typeof r=="object"?r:jm(r,n),!1)}catch{return!1}for(o in this.pattern)if(!this.regexp[o].exec(s[o]))return!1;return!0},t.exec=function(r,n){r===void 0&&(r={});var o={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r!==void 0){try{o=Rl(o,typeof r=="object"?r:jm(r,n),!1)}catch{return null}var s,a={};for(s in a.inputs=n?[r,n]:[r],this.pattern){var c=this.regexp[s].exec(o[s]);if(!c)return null;for(var f,D={},h=Ii(this.keys[s].entries());!(f=h()).done;){var m=f.value,b=m[1];typeof b.name!="string"&&typeof b.name!="number"||(D[b.name]=c[m[0]+1]||"")}a[s]={input:o[s]||"",groups:D}}return a}},sy(e,[{key:"protocol",get:function(){return this.component_pattern.protocol}},{key:"username",get:function(){return this.component_pattern.username}},{key:"password",get:function(){return this.component_pattern.password}},{key:"hostname",get:function(){return this.component_pattern.hostname}},{key:"port",get:function(){return this.component_pattern.port}},{key:"pathname",get:function(){return this.component_pattern.pathname}},{key:"search",get:function(){return this.component_pattern.search}},{key:"hash",get:function(){return this.component_pattern.hash}}]),e}(),rr={tick:0,pool:new Map};Bt=class extends Be{append(...t){}appendChild(t){return t}after(...t){}before(...t){}prepend(...t){}replaceChild(t,r){return r}removeChild(t){return t}get attributes(){return{}}get childNodes(){return[]}get children(){return[]}get ownerDocument(){return null}get nodeValue(){return""}set nodeValue(t){}get textContent(){return""}set textContent(t){}get previousElementSibling(){return null}get nextElementSibling(){return null}[Symbol.for("nodejs.util.inspect.custom")](t,r){return`${this.constructor.name}`}},lu=class extends Bt{},cu=class extends lu{get innerHTML(){return""}set innerHTML(t){}},av=Object.assign({NodeFilter(){throw new TypeError("Illegal constructor")}}.NodeFilter,{FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048}),qi=class{nextNode(){return null}previousNode(){return null}get filter(){return R(this,"NodeIterator","filter").filter}get pointerBeforeReferenceNode(){return R(this,"NodeIterator","pointerBeforeReferenceNode").pointerBeforeReferenceNode}get referenceNode(){return R(this,"NodeIterator","referenceNode").referenceNode}get root(){return R(this,"NodeIterator","root").root}get whatToShow(){return R(this,"NodeIterator","whatToShow").whatToShow}};G(Bt);G(qi);G(lu);G(cu);en=class extends Bt{constructor(t){ce.set(super(),{data:String(t)})}get data(){return R(this,"CharacterData","data").data}get textContent(){return R(this,"CharacterData","textContent").data}},Li=class extends en{},fu=class extends en{get assignedSlot(){return null}get wholeText(){return R(this,"CharacterData","textContent").data}};G(en);G(fu);G(Li);xi=class extends xe{constructor(t,r){r=Object(r),super(t,r),"detail"in r&&(this.detail=r.detail)}};G(xi);(0,Vm.bootstrap)({environmentVariableNamespace:""});dc={fetch(e,t){let r=new URL(us(ve.prototype,e)?e.url:fm(e),typeof Object(globalThis.process).cwd=="function"?"file:"+fm(process.cwd())+"/":"file:");return r.protocol.toLowerCase()==="file:"?import("node:fs").then(n=>{try{let o=n.statSync(r),s=n.createReadStream(r);return new oe(s,{status:200,statusText:"",headers:{"content-length":String(o.size),date:new Date().toUTCString(),"last-modified":new Date(o.mtimeMs).toUTCString()}})}catch{let s=new Ym.default.Readable;return s._read=()=>{},s.push(null),new oe(s,{status:404,statusText:"",headers:{date:new Date().toUTCString()}})}}):li(e,t)}}.fetch,nr={tick:0,pool:new Map};ys=0,Ni=1,ki=2,hc=3,pc=4,Dc=5,mc=6,Ey=7,Cy=8,Mm=typeof self=="object"?self:globalThis,fv=(e,t)=>{let r=(o,s)=>(e.set(s,o),o),n=o=>{if(e.has(o))return e.get(o);let[s,a]=t[o];switch(s){case ys:return r(a,o);case Ni:{let c=r([],o);for(let f of a)c.push(n(f));return c}case ki:{let c=r({},o);for(let[f,D]of a)c[n(f)]=n(D);return c}case hc:return r(new Date(a),o);case pc:{let{source:c,flags:f}=a;return r(new RegExp(c,f),o)}case Dc:{let c=r(new Map,o);for(let[f,D]of a)c.set(n(f),n(D));return c}case mc:{let c=r(new Set,o);for(let f of a)c.add(n(f));return c}case Ey:{let{name:c,message:f}=a;return r(new Mm[c](f),o)}case Cy:return r(BigInt(a),o);case"BigInt":return r(Object(BigInt(a)),o)}return r(new Mm[s](a),o)};return n},dv=e=>fv(new Map,e)(0),$r="",{toString:hv}={},{keys:pv}=Object,Qn=e=>{let t=typeof e;if(t!=="object"||!e)return[ys,t];let r=hv.call(e).slice(8,-1);switch(r){case"Array":return[Ni,$r];case"Object":return[ki,$r];case"Date":return[hc,$r];case"RegExp":return[pc,$r];case"Map":return[Dc,$r];case"Set":return[mc,$r]}return r.includes("Array")?[Ni,r]:r.includes("Error")?[Ey,r]:[ki,r]},yi=([e,t])=>e===ys&&(t==="function"||t==="symbol"),Dv=(e,t,r,n)=>{let o=(a,c)=>{let f=n.push(a)-1;return r.set(c,f),f},s=a=>{if(r.has(a))return r.get(a);let[c,f]=Qn(a);switch(c){case ys:{let h=a;switch(f){case"bigint":c=Cy,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);h=null;break}return o([c,h],a)}case Ni:{if(f)return o([f,[...a]],a);let h=[],m=o([c,h],a);for(let b of a)h.push(s(b));return m}case ki:{if(f)switch(f){case"BigInt":return o([f,a.toString()],a);case"Boolean":case"Number":case"String":return o([f,a.valueOf()],a)}if(t&&"toJSON"in a)return s(a.toJSON());let h=[],m=o([c,h],a);for(let b of pv(a))(e||!yi(Qn(a[b])))&&h.push([s(b),s(a[b])]);return m}case hc:return o([c,a.toISOString()],a);case pc:{let{source:h,flags:m}=a;return o([c,{source:h,flags:m}],a)}case Dc:{let h=[],m=o([c,h],a);for(let[b,y]of a)(e||!(yi(Qn(b))||yi(Qn(y))))&&h.push([s(b),s(y)]);return m}case mc:{let h=[],m=o([c,h],a);for(let b of a)(e||!yi(Qn(b)))&&h.push(s(b));return m}}let{message:D}=a;return o([c,{name:f,message:D}],a)};return s},mv=(e,{json:t,lossy:r}={})=>{let n=[];return Dv(!(t||r),!!t,new Map,n)(e),n},bv=(e,t)=>dv(mv(e,t)),$i={tick:0,pool:new Map};du=class{parentNode(){return null}firstChild(){return null}lastChild(){return null}previousSibling(){return null}nextSibling(){return null}previousNode(){return null}nextNode(){return null}get currentNode(){return R(this,"TreeWalker","currentNode").currentNode}get root(){return R(this,"TreeWalker","root").root}get whatToShow(){return R(this,"TreeWalker","whatToShow").whatToShow}};G(du);tn=class{constructor(t,r,...n){if(arguments.length<2)throw new TypeError("Failed to construct 'ImageData': 2 arguments required.");let o=us(Uint8ClampedArray.prototype,t),s=o?t:new Uint8ClampedArray(gi(t,"width")*gi(r,"height")*4),a=gi(o?r:t,"width"),c=s.length/a/4,f=String(Object(o?n[1]:n[0]).colorSpace||"srgb");if(n.length&&gi(n[0],"height")!==c)throw new Q("height is not equal to (4 * width * height)","IndexSizeError");if(f!=="srgb"&&f!=="rec2020"&&f!=="display-p3")throw new TypeError("colorSpace is not known value");Object.defineProperty(this,"data",{configurable:!0,enumerable:!0,value:s}),ce.set(this,{width:a,height:c,colorSpace:f})}get data(){return R(this,"ImageData","data"),Object.getOwnPropertyDescriptor(this,"data").value}get width(){return R(this,"ImageData","width").width}get height(){return R(this,"ImageData","height").height}};G(tn);gi=(e,t)=>{if(e=Number(e)||0,e===0)throw new TypeError(`The source ${t} is zero or not a number.`);return e},hu=class{get canvas(){return R(this,"CanvasRenderingContext2D","canvas").canvas}get direction(){return R(this,"CanvasRenderingContext2D","direction").direction}get fillStyle(){return R(this,"CanvasRenderingContext2D","fillStyle").fillStyle}get filter(){return R(this,"CanvasRenderingContext2D","filter").filter}get globalAlpha(){return R(this,"CanvasRenderingContext2D","globalAlpha").globalAlpha}get globalCompositeOperation(){return R(this,"CanvasRenderingContext2D","globalCompositeOperation").globalCompositeOperation}get font(){return R(this,"CanvasRenderingContext2D","font").font}get imageSmoothingEnabled(){return R(this,"CanvasRenderingContext2D","imageSmoothingEnabled").imageSmoothingEnabled}get imageSmoothingQuality(){return R(this,"CanvasRenderingContext2D","imageSmoothingQuality").imageSmoothingQuality}get lineCap(){return R(this,"CanvasRenderingContext2D","lineCap").lineCap}get lineDashOffset(){return R(this,"CanvasRenderingContext2D","lineDashOffset").lineDashOffset}get lineJoin(){return R(this,"CanvasRenderingContext2D","lineJoin").lineJoin}get lineWidth(){return R(this,"CanvasRenderingContext2D","lineWidth").lineWidth}get miterLimit(){return R(this,"CanvasRenderingContext2D","miterLimit").miterLimit}get strokeStyle(){return R(this,"CanvasRenderingContext2D","strokeStyle").strokeStyle}get shadowOffsetX(){return R(this,"CanvasRenderingContext2D","shadowOffsetX").shadowOffsetX}get shadowOffsetY(){return R(this,"CanvasRenderingContext2D","shadowOffsetY").shadowOffsetY}get shadowBlur(){return R(this,"CanvasRenderingContext2D","shadowBlur").shadowBlur}get shadowColor(){return R(this,"CanvasRenderingContext2D","shadowColor").shadowColor}get textAlign(){return R(this,"CanvasRenderingContext2D","textAlign").textAlign}get textBaseline(){return R(this,"CanvasRenderingContext2D","textBaseline").textBaseline}arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}createImageData(t,r){let n=us(tn.prototype,t),o=n?t.width:t,s=n?t.height:r,a=n?t.data:new Uint8ClampedArray(o*s*4);return new tn(a,o,s)}createLinearGradient(){}createPattern(){}createRadialGradient(){}drawFocusIfNeeded(){}drawImage(){}ellipse(){}fill(){}fillRect(){}fillText(){}getContextAttributes(){}getImageData(){}getLineDash(){}getTransform(){}isPointInPath(){}isPointInStroke(){}lineTo(){}measureText(){}moveTo(){}putImageData(){}quadraticCurveTo(){}rect(){}resetTransform(){}restore(){}rotate(){}save(){}scale(){}setLineDash(){}setTransform(){}stroke(){}strokeRect(){}strokeText(){}transform(){}translate(){}};G(hu);Ay=e=>{let t=Object.create(hu.prototype);return ce.set(t,{canvas:e,direction:"inherit",fillStyle:"#000",filter:"none",font:"10px sans-serif",globalAlpha:0,globalCompositeOperation:"source-over",imageSmoothingEnabled:!1,imageSmoothingQuality:"high",lineCap:"butt",lineDashOffset:0,lineJoin:"miter",lineWidth:1,miterLimit:10,shadowBlur:0,shadowColor:"#000",shadowOffsetX:0,shadowOffsetY:0,strokeStyle:"#000",textAlign:"start",textBaseline:"alphabetic"}),t},Wi=class{define(t,r,n){let o=R(this,"CustomElementRegistry","define");if(t=String(t),/[A-Z]/.test(t))throw new SyntaxError("Custom element name cannot contain an uppercase ASCII letter");if(!/^[a-z]/.test(t))throw new SyntaxError("Custom element name must have a lowercase ASCII letter as its first character");if(!/-/.test(t))throw new SyntaxError("Custom element name must contain a hyphen");ce.set(r,{attributes:{},localName:t}),o.constructorByName.set(t,r),o.nameByConstructor.set(r,t)}get(t){let r=R(this,"CustomElementRegistry","get");return t=String(t).toLowerCase(),r.constructorByName.get(t)}getName(t){return R(this,"CustomElementRegistry","getName").nameByConstructor.get(t)}};G(Wi);_y=(e,t)=>{if(t.has("customElements"))return;let r=e.CustomElementRegistry||globalThis.CustomElementRegistry,n=e.customElements||(e.customElements=new r);ce.set(n,{constructorByName:new Map,nameByConstructor:new Map})},pu=class extends Bt{constructor(){if(super(),ce.has(new.target)){let t=R(new.target,"Element","localName");ce.set(this,{attributes:{},localName:t.localName,ownerDocument:this.ownerDocument,shadowInit:null,shadowRoot:null})}}hasAttribute(t){return!1}getAttribute(t){return null}setAttribute(t,r){}removeAttribute(t){}attachShadow(t){if(arguments.length<1)throw new TypeError("Failed to execute 'attachShadow' on 'Element': 1 argument required, but only 0 present.");if(t!==Object(t))throw new TypeError("Failed to execute 'attachShadow' on 'Element': The provided value is not of type 'ShadowRootInit'.");if(t.mode!=="open"&&t.mode!=="closed")throw new TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': The provided value '${t.mode}' is not a valid enum value of type ShadowRootMode.`);let r=R(this,"Element","attachShadow");if(r.shadowRoot)throw new Error("The operation is not supported.");return r.shadowInit=r.shadowInit||{mode:t.mode,delegatesFocus:!!t.delegatesFocus},r.shadowRoot=r.shadowRoot||(/^open$/.test(r.shadowInit.mode)?Object.setPrototypeOf(new Be,cu.prototype):null),r.shadowRoot}get assignedSlot(){return null}get innerHTML(){return R(this,"Element","innerHTML"),""}set innerHTML(t){R(this,"Element","innerHTML")}get shadowRoot(){let t=R(this,"Element","shadowRoot");return Object(t.shadowInit).mode==="open"?t.shadowRoot:null}get localName(){return R(this,"Element","localName").localName}get nodeName(){return R(this,"Element","nodeName").localName.toUpperCase()}get tagName(){return R(this,"Element","tagName").localName.toUpperCase()}},_e=class extends pu{},ji=class extends _e{},Mi=class extends _e{},zi=class extends _e{},Ui=class extends _e{},Hi=class extends _e{},Gi=class extends _e{},Vi=class extends _e{},Du=class extends _e{};G(pu);G(_e);G(ji);G(Mi);G(zi);G(Ui);G(Hi);G(Gi);G(Vi);G(Du);mu=class extends Bt{createElement(t){let r=R(this,"Document","createElement"),n=ce.get(r.target.customElements);t=String(t).toLowerCase();let o=r.constructorByName.get(t)||n&&n.constructorByName.get(t)||Du,s=Object.setPrototypeOf(new Be,o.prototype);return ce.set(s,{attributes:{},localName:t,ownerDocument:this,shadowInit:null,shadowRoot:null}),s}createNodeIterator(t,r=NodeFilter.SHOW_ALL,n){let o=Object.create(NodeIterator.prototype);return ce.set(o,{filter:n,pointerBeforeReferenceNode:!1,referenceNode:t,root:t,whatToShow:r}),o}createTextNode(t){return new fu(t)}createTreeWalker(t,r=NodeFilter.SHOW_ALL,n,o){let s=Object.create(du.prototype);return ce.set(s,{filter:n,currentNode:t,root:t,whatToShow:r}),s}get adoptedStyleSheets(){return[]}get styleSheets(){return[]}},Yi=class extends mu{};G(mu);G(Yi);Sy=(e,t)=>{if(t.has("document"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.HTMLDocument||globalThis.HTMLDocument,o=e.document=Object.setPrototypeOf(new r,n.prototype);ce.set(o,{target:e,constructorByName:new Map([["body",e.HTMLBodyElement],["canvas",e.HTMLCanvasElement],["div",e.HTMLDivElement],["head",e.HTMLHeadElement],["html",e.HTMLHtmlElement],["img",e.HTMLImageElement],["span",e.HTMLSpanElement],["style",e.HTMLStyleElement]]),nameByConstructor:new Map});let s=(a,c)=>{let f=Object.setPrototypeOf(new r,c.prototype);return ce.set(f,{attributes:{},localName:a,ownerDocument:o,shadowRoot:null,shadowInit:null}),f};o.body=s("body",e.HTMLBodyElement),o.head=s("head",e.HTMLHeadElement),o.documentElement=s("html",e.HTMLHtmlElement)},Xi=class extends _e{get height(){return R(this,"HTMLCanvasElement","height").height}set height(t){R(this,"HTMLCanvasElement","height").height=Number(t)||0}get width(){return R(this,"HTMLCanvasElement","width").width}set width(t){R(this,"HTMLCanvasElement","width").width=Number(t)||0}captureStream(){return null}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=Ay(this)),r.renderingContext2D;default:return null}}toBlob(){}toDataURL(){}transferControlToOffscreen(){}};G(Xi);bu=class extends _e{get src(){return R(this,"HTMLImageElement","src").src}set src(t){let r=R(this,"HTMLImageElement","src");r.src=String(t)}};G(bu);wy.prototype=bu.prototype;Qi=class extends Be{get matches(){return R(this,"MediaQueryList","matches").matches}get media(){return R(this,"MediaQueryList","media").media}};G(Qi);Fy=(e,t)=>{if(t.has("MediaQueryList")||t.has("matchMedia"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.MediaQueryList||globalThis.MediaQueryList;e.matchMedia=function(s){let a=Object.setPrototypeOf(new r,n.prototype);return ce.set(a,{matches:!1,media:s}),a}},Ji=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},Zi=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},Ki=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}};G(Zi);G(Ji);G(Ki);es=class extends Be{constructor(t,r){if(super(),arguments.length<2)throw new TypeError("Failed to construct 'OffscreenCanvas': 2 arguments required.");t=Number(t)||0,r=Number(r)||0,ce.set(this,{width:t,height:r})}get height(){return R(this,"OffscreenCanvas","height").height}set height(t){R(this,"OffscreenCanvas","height").height=Number(t)||0}get width(){return R(this,"OffscreenCanvas","width").width}set width(t){R(this,"OffscreenCanvas","width").width=Number(t)||0}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=Ay(this)),r.renderingContext2D;default:return null}}convertToBlob(t){t=Object(t),Number(t.quality);let r=Ev(String(t.type).trim().toLowerCase());return Promise.resolve(new Kr([],{type:r}))}};G(es);Ev=e=>e==="image/avif"||e==="image/jpeg"||e==="image/png"||e==="image/webp"?e:"image/png",ts=class{clear(){R(this,"Storage","clear").storage.clear()}getItem(t){return zm(R(this,"Storage","getItem").storage.get(String(t)))}key(t){return zm([...R(this,"Storage","key").storage.keys()][Number(t)||0])}removeItem(t){R(this,"Storage","getItem").storage.delete(String(t))}setItem(t,r){R(this,"Storage","getItem").storage.set(String(t),String(r))}get length(){return R(this,"Storage","size").storage.size}},zm=e=>typeof e=="string"?e:null,Ry=(e,t)=>{if(t.has("Storage")||t.has("localStorage"))return;e.localStorage=Object.create(ts.prototype);let r=new Map;ce.set(e.localStorage,{storage:r})},yu=class{},rs=class e extends yu{async replace(t){return new e}replaceSync(t){return new e}get cssRules(){return[]}};G(yu);G(rs);ns=class extends Be{get self(){return this}get top(){return this}get window(){return this}get innerHeight(){return 0}get innerWidth(){return 0}get scrollX(){return 0}get scrollY(){return 0}};G(ns);vy=(e,t)=>{t.has("Window")||t.has("window")||(e.window=e)};Av={hasOwn(e,t){return WF(e,t)}}.hasOwn,Ty=(e,t)=>{if(t.has("Object")||t.has("object")||t.has("hasOwn"))return;let r=e.Object||globalThis.Object;Object.defineProperty(r,"hasOwn",{value:Av,writable:!0,enumerable:!1,configurable:!0})},_v={async any(e){return Promise.all([...e].map(t=>new Promise((r,n)=>Promise.resolve(t).then(n,r)))).then(t=>Promise.reject(t),t=>Promise.resolve(t))}}.any,By=(e,t)=>{if(t.has("Promise")||t.has("any"))return;let r=e.Promise||globalThis.Promise;r.any||Object.defineProperty(r,"any",{value:_v,writable:!0,enumerable:!1,configurable:!0})},Sv={at(e){if(e=Math.trunc(e)||0,e<0&&(e+=this.length),!(e<0||e>=this.length))return this[e]}}.at,Py=(e,t)=>{if(t.has("at"))return;let r=[];t.has("TypedArray")||r.push(Object.getPrototypeOf(e.Int8Array||globalThis.Int8Array)),t.has("Array")||r.push(e.Array||globalThis.Array),t.has("String")||r.push(e.String||globalThis.String);for(let n of r)n.prototype.at||Object.defineProperty(n.prototype,"at",{value:Sv,writable:!0,enumerable:!1,configurable:!0})},wv={replaceAll(e,t){return us(RegExp.prototype,e)?this.replace(e,t):this.replace(new RegExp(jF(e),"g"),t)}}.replaceAll,Oy=(e,t)=>{if(t.has("String")||t.has("replaceAll"))return;let r=e.String||globalThis.String;r.prototype.replaceAll||Object.defineProperty(r.prototype,"replaceAll",{value:wv,writable:!0,enumerable:!1,configurable:!0})},Iy=["CustomElementsRegistry","HTMLElement","HTMLBodyElement","HTMLCanvasElement","HTMLDivElement","HTMLHeadElement","HTMLHtmlElement","HTMLImageElement","HTMLStyleElement","HTMLTemplateElement","HTMLUnknownElement","Image"],qy=["Element",...Iy],Ly=["CustomElementsRegistry","Document","HTMLDocument","document","customElements"],bc=["Node","DocumentFragment","ShadowRoot",...Ly,...qy],Fv=["AbortSignal","Event","CustomEvent","EventTarget","OffscreenCanvas","MediaQueryList","Window",...bc],Rv=["AbortSignal","Event","CustomEvent","EventTarget","MediaQueryList","OffscreenCanvas","Window",...bc],Um={"Blob+":["Blob","File"],"Document+":Ly,"Element+":qy,"Event+":Rv,"EventTarget+":Fv,"HTMLElement+":Iy,"Node+":bc,"StyleSheet+":["StyleSheet","CSSStyleSheet"]},Hm={CSSStyleSheet:"StyleSheet",CustomEvent:"Event",DOMException:"Error",Document:"Node",DocumentFragment:"Node",Element:"Node",File:"Blob",HTMLDocument:"Document",HTMLElement:"Element",HTMLBodyElement:"HTMLElement",HTMLCanvasElement:"HTMLElement",HTMLDivElement:"HTMLElement",HTMLHeadElement:"HTMLElement",HTMLHtmlElement:"HTMLElement",HTMLImageElement:"HTMLElement",HTMLSpanElement:"HTMLElement",HTMLStyleElement:"HTMLElement",HTMLTemplateElement:"HTMLElement",HTMLUnknownElement:"HTMLElement",Image:"HTMLElement",MediaQueryList:"EventTarget",Node:"EventTarget",OffscreenCanvas:"EventTarget",ShadowRoot:"DocumentFragment",Window:"EventTarget"},vv=(e,t)=>{let r={AbortController:Ur,AbortSignal:ir,Blob:Kr,ByteLengthQueuingStrategy:ou,CanvasRenderingContext2D:hu,CharacterData:en,Comment:Li,CountQueuingStrategy:iu,CSSStyleSheet:rs,CustomElementRegistry:Wi,CustomEvent:xi,Document:mu,DocumentFragment:lu,DOMException:Q,Element:pu,Event:xe,EventTarget:Be,File:ms,FormData:cc,HTMLDocument:Yi,HTMLElement:_e,HTMLBodyElement:ji,HTMLCanvasElement:Xi,HTMLDivElement:Mi,HTMLHeadElement:zi,HTMLHtmlElement:Ui,HTMLImageElement:bu,HTMLSpanElement:Hi,HTMLStyleElement:Gi,HTMLTemplateElement:Vi,HTMLUnknownElement:Du,Headers:ae,IntersectionObserver:Ji,Image:wy,ImageData:tn,MediaQueryList:Qi,MutationObserver:Zi,Node:Bt,NodeFilter:av,NodeIterator:qi,OffscreenCanvas:es,ReadableByteStreamController:sr,ReadableStream:dt,ReadableStreamBYOBReader:Xr,ReadableStreamBYOBRequest:Yr,ReadableStreamDefaultController:lr,ReadableStreamDefaultReader:Vr,Request:ve,ResizeObserver:Ki,Response:oe,ShadowRoot:cu,Storage:ts,StyleSheet:yu,Text:fu,TransformStream:su,TreeWalker:du,URLPattern:bs,WritableStream:Qr,WritableStreamDefaultController:ar,WritableStreamDefaultWriter:Jr,Window:ns,alert:Cv,atob:iv,btoa:sv,cancelAnimationFrame:ov,cancelIdleCallback:cv,clearTimeout:gv,fetch:dc,requestAnimationFrame:uv,requestIdleCallback:lv,setTimeout:yv,structuredClone:bv},n=new Set(typeof Object(t).exclude=="string"?String(Object(t).exclude).trim().split(/\s+/):Array.isArray(Object(t).exclude)?Object(t).exclude.reduce((o,s)=>o.splice(o.length,0,...typeof s=="string"?s.trim().split(/\s+/):[])&&o,[]):[]);for(let o of n)if(o in Um)for(let s of Um[o])n.add(s);for(let o of Object.keys(r))n.has(o)||Object.hasOwnProperty.call(e,o)||Object.defineProperty(e,o,{configurable:!0,enumerable:!0,writable:!0,value:r[o]});for(let o of Object.keys(r)){if(n.has(o)||!Object.hasOwnProperty.call(Hm,o))continue;let s=e[o],a=e[Hm[o]];!s||!a||Object.getPrototypeOf(s.prototype)!==a.prototype&&Object.setPrototypeOf(s.prototype,a.prototype)}return!n.has("HTMLDocument")&&!n.has("HTMLElement")&&(Sy(e,n),n.has("CustomElementRegistry")||_y(e,n)),Ty(e,n),Fy(e,n),By(e,n),Py(e,n),Ry(e,n),Oy(e,n),vy(e,n),e};vv.internals=(e,t)=>({CustomElementRegistry:_y,Document:Sy,MediaQueryList:Fy,Object:Ty,Promise:By,RelativeIndexingMethod:Py,Storage:Ry,String:Oy,Window:vy}[t](e,new Set),e)});var gc=C(()=>{"use strict";d();var ky=de(require("http")),$y=de(require("https")),yc=require("crypto"),Wy=de(require("node:stream/web"));xy();Object.assign(ky.default.globalAgent,{keepAlive:!0});Object.assign($y.default.globalAgent,{keepAlive:!0});var Ny=parseInt(process.version.slice(1).split(".")[0]);Ny<18?Object.assign(globalThis,{fetch:dc,Request:ve,Response:oe,Headers:ae,Blob:Kr,File:ms,FormData:cc,URLPattern:bs,crypto:yc.webcrypto},Wy.default):Ny<20&&Object.assign(globalThis,{URLPattern:bs,crypto:yc.webcrypto})});var It={};qf(It,{default:()=>Tv});module.exports=yE(It);d();d();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="860c01f9-8a36-4d66-90fc-f21d3ad14f41",e._sentryDebugIdIdentifier="sentry-dbid-860c01f9-8a36-4d66-90fc-f21d3ad14f41")}catch{}})();var jy=de(gc());Wt(It,de(gc()),module.exports);var Tv=jy.default;
22
22
  /*! Bundled license information:
23
23
 
24
24
  fetch-blob/index.js: