From d5794ba880dca0df31ef980678c10be501a79a08 Mon Sep 17 00:00:00 2001 From: "Plasmo G.A.T Deployer" Date: Thu, 7 Mar 2024 08:11:44 +0000 Subject: [PATCH] Updates --- index.js | 66 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/index.js b/index.js index 583d6e3..dfbc150 100644 --- a/index.js +++ b/index.js @@ -1,16 +1,16 @@ -"use strict";var K3=Object.create;var Pf=Object.defineProperty;var X3=Object.getOwnPropertyDescriptor;var $3=Object.getOwnPropertyNames;var Z3=Object.getPrototypeOf,eM=Object.prototype.hasOwnProperty;var Wn=(e,t)=>()=>(e&&(t=e(e=0)),t);var Re=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tM=(e,t)=>{for(var r in t)Pf(e,r,{get:t[r],enumerable:!0})},Ib=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $3(t))!eM.call(e,i)&&i!==r&&Pf(e,i,{get:()=>t[i],enumerable:!(n=X3(t,i))||n.enumerable});return e};var Bu=(e,t,r)=>(r=e!=null?K3(Z3(e)):{},Ib(t||!e||!e.__esModule?Pf(r,"default",{value:e,enumerable:!0}):r,e)),rM=e=>Ib(Pf({},"__esModule",{value:!0}),e);var qf=Re(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});Sc.toCommandProperties=Sc.toCommandValue=void 0;function nM(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}Sc.toCommandValue=nM;function iM(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}Sc.toCommandProperties=iM});var mb=Re(es=>{"use strict";var sM=es&&es.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),oM=es&&es.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),AM=es&&es.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&sM(t,e,r);return oM(t,e),t};Object.defineProperty(es,"__esModule",{value:!0});es.issue=es.issueCommand=void 0;var aM=AM(require("os")),yb=qf();function Qb(e,t,r){let n=new dC(e,t,r);process.stdout.write(n.toString()+aM.EOL)}es.issueCommand=Qb;function cM(e,t=""){Qb(e,{},t)}es.issue=cM;var Bb="::",dC=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=Bb+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:t+=",",t+=`${n}=${uM(i)}`)}}return t+=`${Bb}${lM(this.message)}`,t}};function lM(e){return yb.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function uM(e){return yb.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function yu(){return Vf>Hf.length-16&&(bb.default.randomFillSync(Hf),Vf=0),Hf.slice(Vf,Vf+=16)}var bb,Hf,Vf,EC=Wn(()=>{bb=Bu(require("crypto")),Hf=new Uint8Array(256),Vf=Hf.length});var wb,vb=Wn(()=>{wb=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function hM(e){return typeof e=="string"&&wb.test(e)}var mA,Qu=Wn(()=>{vb();mA=hM});function fM(e,t=0){let r=(In[e[t+0]]+In[e[t+1]]+In[e[t+2]]+In[e[t+3]]+"-"+In[e[t+4]]+In[e[t+5]]+"-"+In[e[t+6]]+In[e[t+7]]+"-"+In[e[t+8]]+In[e[t+9]]+"-"+In[e[t+10]]+In[e[t+11]]+In[e[t+12]]+In[e[t+13]]+In[e[t+14]]+In[e[t+15]]).toLowerCase();if(!mA(r))throw TypeError("Stringified UUID is invalid");return r}var In,bA,mu=Wn(()=>{Qu();In=[];for(let e=0;e<256;++e)In.push((e+256).toString(16).substr(1));bA=fM});function gM(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let s=e.node||Sb,a=e.clockseq!==void 0?e.clockseq:pC;if(s==null||a==null){let g=e.random||(e.rng||yu)();s==null&&(s=Sb=[g[0]|1,g[1],g[2],g[3],g[4],g[5]]),a==null&&(a=pC=(g[6]<<8|g[7])&16383)}let c=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:IC+1,A=c-CC+(l-IC)/1e4;if(A<0&&e.clockseq===void 0&&(a=a+1&16383),(A<0||c>CC)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");CC=c,IC=l,pC=a,c+=122192928e5;let f=((c&268435455)*1e4+l)%4294967296;i[n++]=f>>>24&255,i[n++]=f>>>16&255,i[n++]=f>>>8&255,i[n++]=f&255;let h=c/4294967296*1e4&268435455;i[n++]=h>>>8&255,i[n++]=h&255,i[n++]=h>>>24&15|16,i[n++]=h>>>16&255,i[n++]=a>>>8|128,i[n++]=a&255;for(let g=0;g<6;++g)i[n+g]=s[g];return t||bA(i)}var Sb,pC,CC,IC,Rb,_b=Wn(()=>{EC();mu();CC=0,IC=0;Rb=gM});function dM(e){if(!mA(e))throw TypeError("Invalid UUID");let t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}var Gf,BC=Wn(()=>{Qu();Gf=dM});function EM(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{mu();BC();pM="6ba7b810-9dad-11d1-80b4-00c04fd430c8",CM="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function IM(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),kb.default.createHash("md5").update(e).digest()}var kb,Db,Nb=Wn(()=>{kb=Bu(require("crypto"));Db=IM});var BM,Tb,Lb=Wn(()=>{yC();Nb();BM=Yf("v3",48,Db),Tb=BM});function yM(e,t,r){e=e||{};let n=e.random||(e.rng||yu)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return bA(n)}var Fb,Ub=Wn(()=>{EC();mu();Fb=yM});function QM(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),xb.default.createHash("sha1").update(e).digest()}var xb,Mb,Ob=Wn(()=>{xb=Bu(require("crypto"));Mb=QM});var mM,Pb,qb=Wn(()=>{yC();Ob();mM=Yf("v5",80,Mb),Pb=mM});var Vb,Hb=Wn(()=>{Vb="00000000-0000-0000-0000-000000000000"});function bM(e){if(!mA(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var Gb,Yb=Wn(()=>{Qu();Gb=bM});var Jb={};tM(Jb,{NIL:()=>Vb,parse:()=>Gf,stringify:()=>bA,v1:()=>Rb,v3:()=>Tb,v4:()=>Fb,v5:()=>Pb,validate:()=>mA,version:()=>Gb});var Wb=Wn(()=>{_b();Lb();Ub();qb();Hb();Yb();Qu();mu();BC()});var Xb=Re(ts=>{"use strict";var wM=ts&&ts.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),vM=ts&&ts.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zb=ts&&ts.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&wM(t,e,r);return vM(t,e),t};Object.defineProperty(ts,"__esModule",{value:!0});ts.prepareKeyValueMessage=ts.issueFileCommand=void 0;var jb=zb(require("fs")),QC=zb(require("os")),SM=(Wb(),rM(Jb)),Kb=qf();function RM(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!jb.existsSync(r))throw new Error(`Missing file at path: ${r}`);jb.appendFileSync(r,`${Kb.toCommandValue(t)}${QC.EOL}`,{encoding:"utf8"})}ts.issueFileCommand=RM;function _M(e,t){let r=`ghadelimiter_${SM.v4()}`,n=Kb.toCommandValue(t);if(e.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${QC.EOL}${n}${QC.EOL}${r}`}ts.prepareKeyValueMessage=_M});var Zb=Re(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.checkBypass=Rc.getProxyUrl=void 0;function kM(e){let t=e.protocol==="https:";if($b(e))return;let r=(()=>t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(r)try{return new URL(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new URL(`http://${r}`)}else return}Rc.getProxyUrl=kM;function $b(e){if(!e.hostname)return!1;let t=e.hostname;if(DM(t))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;e.port?n=Number(e.port):e.protocol==="http:"?n=80:e.protocol==="https:"&&(n=443);let i=[e.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}Rc.checkBypass=$b;function DM(e){let t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}});var nw=Re(_c=>{"use strict";var _Z=require("net"),NM=require("tls"),mC=require("http"),ew=require("https"),TM=require("events"),kZ=require("assert"),LM=require("util");_c.httpOverHttp=FM;_c.httpsOverHttp=UM;_c.httpOverHttps=xM;_c.httpsOverHttps=MM;function FM(e){var t=new xo(e);return t.request=mC.request,t}function UM(e){var t=new xo(e);return t.request=mC.request,t.createSocket=tw,t.defaultPort=443,t}function xM(e){var t=new xo(e);return t.request=ew.request,t}function MM(e){var t=new xo(e);return t.request=ew.request,t.createSocket=tw,t.defaultPort=443,t}function xo(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||mC.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,s,a){for(var c=rw(i,s,a),l=0,A=t.requests.length;l=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),t.onSocket(c);function l(){s.emit("free",c,a)}function A(f){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}})};xo.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var s=bC({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(s.localAddress=t.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),wA("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",f),a.end();function c(h){h.upgrade=!0}function l(h,g,b){process.nextTick(function(){A(h,g,b)})}function A(h,g,b){if(a.removeAllListeners(),g.removeAllListeners(),h.statusCode!==200){wA("tunneling socket could not be established, statusCode=%d",h.statusCode),g.destroy();var C=new Error("tunneling socket could not be established, statusCode="+h.statusCode);C.code="ECONNRESET",t.request.emit("error",C),n.removeSocket(i);return}if(b.length>0){wA("got illegal response body from proxy"),g.destroy();var C=new Error("got illegal response body from proxy");C.code="ECONNRESET",t.request.emit("error",C),n.removeSocket(i);return}return wA("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=g,r(g)}function f(h){a.removeAllListeners(),wA(`tunneling socket could not be established, cause=%s -`,h.message,h.stack);var g=new Error("tunneling socket could not be established, cause="+h.message);g.code="ECONNRESET",t.request.emit("error",g),n.removeSocket(i)}};xo.prototype.removeSocket=function(t){var r=this.sockets.indexOf(t);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}};function tw(e,t){var r=this;xo.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),s=bC({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),a=NM.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,t(a)})}function rw(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function bC(e){for(var t=1,r=arguments.length;t{iw.exports=nw()});var lr=Re((TZ,ow)=>{ow.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}});var Ar=Re((LZ,Aw)=>{"use strict";var Jr=class extends Error{constructor(t){super(t),this.name="UndiciError",this.code="UND_ERR"}},wC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ConnectTimeoutError",this.message=t||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},vC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="HeadersTimeoutError",this.message=t||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},SC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="HeadersOverflowError",this.message=t||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},RC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="BodyTimeoutError",this.message=t||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},_C=class e extends Jr{constructor(t,r,n,i){super(t),Error.captureStackTrace(this,e),this.name="ResponseStatusCodeError",this.message=t||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}},kC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="InvalidArgumentError",this.message=t||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},DC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="InvalidReturnValueError",this.message=t||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},NC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="AbortError",this.message=t||"Request aborted",this.code="UND_ERR_ABORTED"}},TC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="InformationalError",this.message=t||"Request information",this.code="UND_ERR_INFO"}},LC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="RequestContentLengthMismatchError",this.message=t||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}},FC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ResponseContentLengthMismatchError",this.message=t||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}},UC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ClientDestroyedError",this.message=t||"The client is destroyed",this.code="UND_ERR_DESTROYED"}},xC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ClientClosedError",this.message=t||"The client is closed",this.code="UND_ERR_CLOSED"}},MC=class e extends Jr{constructor(t,r){super(t),Error.captureStackTrace(this,e),this.name="SocketError",this.message=t||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}},Jf=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="NotSupportedError",this.message=t||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}},OC=class extends Jr{constructor(t){super(t),Error.captureStackTrace(this,Jf),this.name="MissingUpstreamError",this.message=t||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}},PC=class e extends Error{constructor(t,r,n){super(t),Error.captureStackTrace(this,e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}},qC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ResponseExceededMaxSizeError",this.message=t||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}},VC=class e extends Jr{constructor(t,r,{headers:n,data:i}){super(t),Error.captureStackTrace(this,e),this.name="RequestRetryError",this.message=t||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}};Aw.exports={HTTPParserError:PC,UndiciError:Jr,HeadersTimeoutError:vC,HeadersOverflowError:SC,BodyTimeoutError:RC,RequestContentLengthMismatchError:LC,ConnectTimeoutError:wC,ResponseStatusCodeError:_C,InvalidArgumentError:kC,InvalidReturnValueError:DC,RequestAbortedError:NC,ClientDestroyedError:UC,ClientClosedError:xC,InformationalError:TC,SocketError:MC,NotSupportedError:Jf,ResponseContentLengthMismatchError:FC,BalancedPoolMissingUpstreamError:OC,ResponseExceededMaxSizeError:qC,RequestRetryError:VC}});var Nt=Re((FZ,Cw)=>{"use strict";var uw=require("assert"),{kDestroyed:hw,kBodyUsed:aw}=lr(),{IncomingMessage:OM}=require("http"),kc=require("stream"),PM=require("net"),{InvalidArgumentError:Bn}=Ar(),{Blob:cw}=require("buffer"),Wf=require("util"),{stringify:qM}=require("querystring"),[HC,lw]=process.versions.node.split(".").map(e=>Number(e));function VM(){}function GC(e){return e&&typeof e=="object"&&typeof e.pipe=="function"&&typeof e.on=="function"}function fw(e){return cw&&e instanceof cw||e&&typeof e=="object"&&(typeof e.stream=="function"||typeof e.arrayBuffer=="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function HM(e,t){if(e.includes("?")||e.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=qM(t);return r&&(e+="?"+r),e}function gw(e){if(typeof e=="string"){if(e=new URL(e),!/^https?:/.test(e.origin||e.protocol))throw new Bn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!="object")throw new Bn("Invalid URL: The URL argument must be a non-null object.");if(!/^https?:/.test(e.origin||e.protocol))throw new Bn("Invalid URL protocol: the URL must start with `http:` or `https:`.");if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port)))throw new Bn("Invalid URL: port must be a valid integer or a string representation of an integer.");if(e.path!=null&&typeof e.path!="string")throw new Bn("Invalid URL path: the path must be a string or null/undefined.");if(e.pathname!=null&&typeof e.pathname!="string")throw new Bn("Invalid URL pathname: the pathname must be a string or null/undefined.");if(e.hostname!=null&&typeof e.hostname!="string")throw new Bn("Invalid URL hostname: the hostname must be a string or null/undefined.");if(e.origin!=null&&typeof e.origin!="string")throw new Bn("Invalid URL origin: the origin must be a string or null/undefined.");let t=e.port!=null?e.port:e.protocol==="https:"?443:80,r=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`,n=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;r.endsWith("/")&&(r=r.substring(0,r.length-1)),n&&!n.startsWith("/")&&(n=`/${n}`),e=new URL(r+n)}return e}function GM(e){if(e=gw(e),e.pathname!=="/"||e.search||e.hash)throw new Bn("invalid url");return e}function YM(e){if(e[0]==="["){let r=e.indexOf("]");return uw(r!==-1),e.substring(1,r)}let t=e.indexOf(":");return t===-1?e:e.substring(0,t)}function JM(e){if(!e)return null;uw.strictEqual(typeof e,"string");let t=YM(e);return PM.isIP(t)?"":t}function WM(e){return JSON.parse(JSON.stringify(e))}function jM(e){return e!=null&&typeof e[Symbol.asyncIterator]=="function"}function zM(e){return e!=null&&(typeof e[Symbol.iterator]=="function"||typeof e[Symbol.asyncIterator]=="function")}function KM(e){if(e==null)return 0;if(GC(e)){let t=e._readableState;return t&&t.objectMode===!1&&t.ended===!0&&Number.isFinite(t.length)?t.length:null}else{if(fw(e))return e.size!=null?e.size:null;if(Ew(e))return e.byteLength}return null}function YC(e){return!e||!!(e.destroyed||e[hw])}function dw(e){let t=e&&e._readableState;return YC(e)&&t&&!t.endEmitted}function XM(e,t){e==null||!GC(e)||YC(e)||(typeof e.destroy=="function"?(Object.getPrototypeOf(e).constructor===OM&&(e.socket=null),e.destroy(t)):t&&process.nextTick((r,n)=>{r.emit("error",n)},e,t),e.destroyed!==!0&&(e[hw]=!0))}var $M=/timeout=(\d+)/;function ZM(e){let t=e.toString().match($M);return t?parseInt(t[1],10)*1e3:null}function e5(e,t={}){if(!Array.isArray(e))return e;for(let r=0;rs.toString("utf8")):t[n]=e[r+1].toString("utf8")}return"content-length"in t&&"content-disposition"in t&&(t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")),t}function t5(e){let t=[],r=!1,n=-1;for(let i=0;i{r.close()});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await t.return()}},0)}function c5(e){return e&&typeof e=="object"&&typeof e.append=="function"&&typeof e.delete=="function"&&typeof e.get=="function"&&typeof e.getAll=="function"&&typeof e.has=="function"&&typeof e.set=="function"&&e[Symbol.toStringTag]==="FormData"}function l5(e){if(e){if(typeof e.throwIfAborted=="function")e.throwIfAborted();else if(e.aborted){let t=new Error("The operation was aborted");throw t.name="AbortError",t}}}function u5(e,t){return"addEventListener"in e?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.addListener("abort",t),()=>e.removeListener("abort",t))}var h5=!!String.prototype.toWellFormed;function f5(e){return h5?`${e}`.toWellFormed():Wf.toUSVString?Wf.toUSVString(e):`${e}`}function g5(e){if(e==null||e==="")return{start:0,end:null,size:null};let t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}var pw=Object.create(null);pw.enumerable=!0;Cw.exports={kEnumerableProperty:pw,nop:VM,isDisturbed:n5,isErrored:i5,isReadable:s5,toUSVString:f5,isReadableAborted:dw,isBlobLike:fw,parseOrigin:GM,parseURL:gw,getServerName:JM,isStream:GC,isIterable:zM,isAsyncIterable:jM,isDestroyed:YC,parseRawHeaders:t5,parseHeaders:e5,parseKeepAliveTimeout:ZM,destroy:XM,bodyLength:KM,deepClone:WM,ReadableStreamFrom:a5,isBuffer:Ew,validateHandler:r5,getSocketInfo:o5,isFormDataLike:c5,buildURL:HM,throwIfAborted:l5,addAbortListener:u5,parseRangeHeader:g5,nodeMajor:HC,nodeMinor:lw,nodeHasAutoSelectFamily:HC>18||HC===18&&lw>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}});var yw=Re((UZ,Bw)=>{"use strict";var JC=Date.now(),vA,SA=[];function d5(){JC=Date.now();let e=SA.length,t=0;for(;t0&&JC>=r.state&&(r.state=-1,r.callback(r.opaque)),r.state===-1?(r.state=-2,t!==e-1?SA[t]=SA.pop():SA.pop(),e-=1):t+=1}SA.length>0&&Iw()}function Iw(){vA&&vA.refresh?vA.refresh():(clearTimeout(vA),vA=setTimeout(d5,1e3),vA.unref&&vA.unref())}var jf=class{constructor(t,r,n){this.callback=t,this.delay=r,this.opaque=n,this.state=-2,this.refresh()}refresh(){this.state===-2&&(SA.push(this),(!vA||SA.length===1)&&Iw()),this.state=0}clear(){this.state=-1}};Bw.exports={setTimeout(e,t,r){return t<1e3?setTimeout(e,t,r):new jf(e,t,r)},clearTimeout(e){e instanceof jf?e.clear():clearTimeout(e)}}});var WC=Re((xZ,Qw)=>{"use strict";var E5=require("node:events").EventEmitter,p5=require("node:util").inherits;function ga(e){if(typeof e=="string"&&(e=Buffer.from(e)),!Buffer.isBuffer(e))throw new TypeError("The needle has to be a String or a Buffer.");let t=e.length;if(t===0)throw new Error("The needle cannot be an empty String/Buffer.");if(t>256)throw new Error("The needle cannot have a length bigger than 256.");this.maxMatches=1/0,this.matches=0,this._occ=new Array(256).fill(t),this._lookbehind_size=0,this._needle=e,this._bufpos=0,this._lookbehind=Buffer.alloc(t);for(var r=0;r=0)this.emit("info",!1,this._lookbehind,0,this._lookbehind_size),this._lookbehind_size=0;else{let c=this._lookbehind_size+s;return c>0&&this.emit("info",!1,this._lookbehind,0,c),this._lookbehind.copy(this._lookbehind,0,c,this._lookbehind_size-c),this._lookbehind_size-=c,e.copy(this._lookbehind,this._lookbehind_size),this._lookbehind_size+=t,this._bufpos=t,t}}if(s+=(s>=0)*this._bufpos,e.indexOf(r,s)!==-1)return s=e.indexOf(r,s),++this.matches,s>0?this.emit("info",!0,e,this._bufpos,s):this.emit("info",!0),this._bufpos=s+n;for(s=t-n;s0&&this.emit("info",!1,e,this._bufpos,s{"use strict";var C5=require("node:util").inherits,mw=require("node:stream").Readable;function jC(e){mw.call(this,e)}C5(jC,mw);jC.prototype._read=function(e){};bw.exports=jC});var zf=Re((OZ,vw)=>{"use strict";vw.exports=function(t,r,n){if(!t||t[r]===void 0||t[r]===null)return n;if(typeof t[r]!="number"||isNaN(t[r]))throw new TypeError("Limit "+r+" is not a valid number");return t[r]}});var kw=Re((PZ,_w)=>{"use strict";var Rw=require("node:events").EventEmitter,I5=require("node:util").inherits,Sw=zf(),B5=WC(),y5=Buffer.from(`\r +"use strict";var X3=Object.create;var Pf=Object.defineProperty;var $3=Object.getOwnPropertyDescriptor;var Z3=Object.getOwnPropertyNames;var eM=Object.getPrototypeOf,tM=Object.prototype.hasOwnProperty;var Wn=(e,t)=>()=>(e&&(t=e(e=0)),t);var Re=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),rM=(e,t)=>{for(var r in t)Pf(e,r,{get:t[r],enumerable:!0})},Ib=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Z3(t))!tM.call(e,i)&&i!==r&&Pf(e,i,{get:()=>t[i],enumerable:!(n=$3(t,i))||n.enumerable});return e};var Bu=(e,t,r)=>(r=e!=null?X3(eM(e)):{},Ib(t||!e||!e.__esModule?Pf(r,"default",{value:e,enumerable:!0}):r,e)),nM=e=>Ib(Pf({},"__esModule",{value:!0}),e);var qf=Re(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});Sc.toCommandProperties=Sc.toCommandValue=void 0;function iM(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}Sc.toCommandValue=iM;function sM(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}Sc.toCommandProperties=sM});var mb=Re(es=>{"use strict";var oM=es&&es.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),AM=es&&es.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),aM=es&&es.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&oM(t,e,r);return AM(t,e),t};Object.defineProperty(es,"__esModule",{value:!0});es.issue=es.issueCommand=void 0;var cM=aM(require("os")),yb=qf();function Qb(e,t,r){let n=new dC(e,t,r);process.stdout.write(n.toString()+cM.EOL)}es.issueCommand=Qb;function lM(e,t=""){Qb(e,{},t)}es.issue=lM;var Bb="::",dC=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=Bb+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:t+=",",t+=`${n}=${hM(i)}`)}}return t+=`${Bb}${uM(this.message)}`,t}};function uM(e){return yb.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function hM(e){return yb.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function yu(){return Vf>Hf.length-16&&(bb.default.randomFillSync(Hf),Vf=0),Hf.slice(Vf,Vf+=16)}var bb,Hf,Vf,EC=Wn(()=>{bb=Bu(require("crypto")),Hf=new Uint8Array(256),Vf=Hf.length});var wb,vb=Wn(()=>{wb=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function fM(e){return typeof e=="string"&&wb.test(e)}var mA,Qu=Wn(()=>{vb();mA=fM});function gM(e,t=0){let r=(In[e[t+0]]+In[e[t+1]]+In[e[t+2]]+In[e[t+3]]+"-"+In[e[t+4]]+In[e[t+5]]+"-"+In[e[t+6]]+In[e[t+7]]+"-"+In[e[t+8]]+In[e[t+9]]+"-"+In[e[t+10]]+In[e[t+11]]+In[e[t+12]]+In[e[t+13]]+In[e[t+14]]+In[e[t+15]]).toLowerCase();if(!mA(r))throw TypeError("Stringified UUID is invalid");return r}var In,bA,mu=Wn(()=>{Qu();In=[];for(let e=0;e<256;++e)In.push((e+256).toString(16).substr(1));bA=gM});function dM(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let s=e.node||Sb,a=e.clockseq!==void 0?e.clockseq:pC;if(s==null||a==null){let g=e.random||(e.rng||yu)();s==null&&(s=Sb=[g[0]|1,g[1],g[2],g[3],g[4],g[5]]),a==null&&(a=pC=(g[6]<<8|g[7])&16383)}let c=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:IC+1,A=c-CC+(l-IC)/1e4;if(A<0&&e.clockseq===void 0&&(a=a+1&16383),(A<0||c>CC)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");CC=c,IC=l,pC=a,c+=122192928e5;let f=((c&268435455)*1e4+l)%4294967296;i[n++]=f>>>24&255,i[n++]=f>>>16&255,i[n++]=f>>>8&255,i[n++]=f&255;let h=c/4294967296*1e4&268435455;i[n++]=h>>>8&255,i[n++]=h&255,i[n++]=h>>>24&15|16,i[n++]=h>>>16&255,i[n++]=a>>>8|128,i[n++]=a&255;for(let g=0;g<6;++g)i[n+g]=s[g];return t||bA(i)}var Sb,pC,CC,IC,Rb,_b=Wn(()=>{EC();mu();CC=0,IC=0;Rb=dM});function EM(e){if(!mA(e))throw TypeError("Invalid UUID");let t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}var Gf,BC=Wn(()=>{Qu();Gf=EM});function pM(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{mu();BC();CM="6ba7b810-9dad-11d1-80b4-00c04fd430c8",IM="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function BM(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),kb.default.createHash("md5").update(e).digest()}var kb,Db,Nb=Wn(()=>{kb=Bu(require("crypto"));Db=BM});var yM,Tb,Lb=Wn(()=>{yC();Nb();yM=Yf("v3",48,Db),Tb=yM});function QM(e,t,r){e=e||{};let n=e.random||(e.rng||yu)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return bA(n)}var Fb,Ub=Wn(()=>{EC();mu();Fb=QM});function mM(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),xb.default.createHash("sha1").update(e).digest()}var xb,Mb,Ob=Wn(()=>{xb=Bu(require("crypto"));Mb=mM});var bM,Pb,qb=Wn(()=>{yC();Ob();bM=Yf("v5",80,Mb),Pb=bM});var Vb,Hb=Wn(()=>{Vb="00000000-0000-0000-0000-000000000000"});function wM(e){if(!mA(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var Gb,Yb=Wn(()=>{Qu();Gb=wM});var Jb={};rM(Jb,{NIL:()=>Vb,parse:()=>Gf,stringify:()=>bA,v1:()=>Rb,v3:()=>Tb,v4:()=>Fb,v5:()=>Pb,validate:()=>mA,version:()=>Gb});var Wb=Wn(()=>{_b();Lb();Ub();qb();Hb();Yb();Qu();mu();BC()});var Xb=Re(ts=>{"use strict";var vM=ts&&ts.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),SM=ts&&ts.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zb=ts&&ts.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&vM(t,e,r);return SM(t,e),t};Object.defineProperty(ts,"__esModule",{value:!0});ts.prepareKeyValueMessage=ts.issueFileCommand=void 0;var jb=zb(require("fs")),QC=zb(require("os")),RM=(Wb(),nM(Jb)),Kb=qf();function _M(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!jb.existsSync(r))throw new Error(`Missing file at path: ${r}`);jb.appendFileSync(r,`${Kb.toCommandValue(t)}${QC.EOL}`,{encoding:"utf8"})}ts.issueFileCommand=_M;function kM(e,t){let r=`ghadelimiter_${RM.v4()}`,n=Kb.toCommandValue(t);if(e.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${QC.EOL}${n}${QC.EOL}${r}`}ts.prepareKeyValueMessage=kM});var Zb=Re(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.checkBypass=Rc.getProxyUrl=void 0;function DM(e){let t=e.protocol==="https:";if($b(e))return;let r=(()=>t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(r)try{return new URL(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new URL(`http://${r}`)}else return}Rc.getProxyUrl=DM;function $b(e){if(!e.hostname)return!1;let t=e.hostname;if(NM(t))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;e.port?n=Number(e.port):e.protocol==="http:"?n=80:e.protocol==="https:"&&(n=443);let i=[e.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}Rc.checkBypass=$b;function NM(e){let t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}});var nw=Re(_c=>{"use strict";var _Z=require("net"),TM=require("tls"),mC=require("http"),ew=require("https"),LM=require("events"),kZ=require("assert"),FM=require("util");_c.httpOverHttp=UM;_c.httpsOverHttp=xM;_c.httpOverHttps=MM;_c.httpsOverHttps=OM;function UM(e){var t=new xo(e);return t.request=mC.request,t}function xM(e){var t=new xo(e);return t.request=mC.request,t.createSocket=tw,t.defaultPort=443,t}function MM(e){var t=new xo(e);return t.request=ew.request,t}function OM(e){var t=new xo(e);return t.request=ew.request,t.createSocket=tw,t.defaultPort=443,t}function xo(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||mC.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,s,a){for(var c=rw(i,s,a),l=0,A=t.requests.length;l=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),t.onSocket(c);function l(){s.emit("free",c,a)}function A(f){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}})};xo.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var s=bC({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(s.localAddress=t.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),wA("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",f),a.end();function c(h){h.upgrade=!0}function l(h,g,b){process.nextTick(function(){A(h,g,b)})}function A(h,g,b){if(a.removeAllListeners(),g.removeAllListeners(),h.statusCode!==200){wA("tunneling socket could not be established, statusCode=%d",h.statusCode),g.destroy();var C=new Error("tunneling socket could not be established, statusCode="+h.statusCode);C.code="ECONNRESET",t.request.emit("error",C),n.removeSocket(i);return}if(b.length>0){wA("got illegal response body from proxy"),g.destroy();var C=new Error("got illegal response body from proxy");C.code="ECONNRESET",t.request.emit("error",C),n.removeSocket(i);return}return wA("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=g,r(g)}function f(h){a.removeAllListeners(),wA(`tunneling socket could not be established, cause=%s +`,h.message,h.stack);var g=new Error("tunneling socket could not be established, cause="+h.message);g.code="ECONNRESET",t.request.emit("error",g),n.removeSocket(i)}};xo.prototype.removeSocket=function(t){var r=this.sockets.indexOf(t);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}};function tw(e,t){var r=this;xo.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),s=bC({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),a=TM.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,t(a)})}function rw(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function bC(e){for(var t=1,r=arguments.length;t{iw.exports=nw()});var lr=Re((TZ,ow)=>{ow.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}});var Ar=Re((LZ,Aw)=>{"use strict";var Jr=class extends Error{constructor(t){super(t),this.name="UndiciError",this.code="UND_ERR"}},wC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ConnectTimeoutError",this.message=t||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},vC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="HeadersTimeoutError",this.message=t||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},SC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="HeadersOverflowError",this.message=t||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},RC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="BodyTimeoutError",this.message=t||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},_C=class e extends Jr{constructor(t,r,n,i){super(t),Error.captureStackTrace(this,e),this.name="ResponseStatusCodeError",this.message=t||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}},kC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="InvalidArgumentError",this.message=t||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},DC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="InvalidReturnValueError",this.message=t||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},NC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="AbortError",this.message=t||"Request aborted",this.code="UND_ERR_ABORTED"}},TC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="InformationalError",this.message=t||"Request information",this.code="UND_ERR_INFO"}},LC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="RequestContentLengthMismatchError",this.message=t||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}},FC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ResponseContentLengthMismatchError",this.message=t||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}},UC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ClientDestroyedError",this.message=t||"The client is destroyed",this.code="UND_ERR_DESTROYED"}},xC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ClientClosedError",this.message=t||"The client is closed",this.code="UND_ERR_CLOSED"}},MC=class e extends Jr{constructor(t,r){super(t),Error.captureStackTrace(this,e),this.name="SocketError",this.message=t||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}},Jf=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="NotSupportedError",this.message=t||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}},OC=class extends Jr{constructor(t){super(t),Error.captureStackTrace(this,Jf),this.name="MissingUpstreamError",this.message=t||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}},PC=class e extends Error{constructor(t,r,n){super(t),Error.captureStackTrace(this,e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}},qC=class e extends Jr{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="ResponseExceededMaxSizeError",this.message=t||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}},VC=class e extends Jr{constructor(t,r,{headers:n,data:i}){super(t),Error.captureStackTrace(this,e),this.name="RequestRetryError",this.message=t||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}};Aw.exports={HTTPParserError:PC,UndiciError:Jr,HeadersTimeoutError:vC,HeadersOverflowError:SC,BodyTimeoutError:RC,RequestContentLengthMismatchError:LC,ConnectTimeoutError:wC,ResponseStatusCodeError:_C,InvalidArgumentError:kC,InvalidReturnValueError:DC,RequestAbortedError:NC,ClientDestroyedError:UC,ClientClosedError:xC,InformationalError:TC,SocketError:MC,NotSupportedError:Jf,ResponseContentLengthMismatchError:FC,BalancedPoolMissingUpstreamError:OC,ResponseExceededMaxSizeError:qC,RequestRetryError:VC}});var Nt=Re((FZ,Cw)=>{"use strict";var uw=require("assert"),{kDestroyed:hw,kBodyUsed:aw}=lr(),{IncomingMessage:PM}=require("http"),kc=require("stream"),qM=require("net"),{InvalidArgumentError:Bn}=Ar(),{Blob:cw}=require("buffer"),Wf=require("util"),{stringify:VM}=require("querystring"),[HC,lw]=process.versions.node.split(".").map(e=>Number(e));function HM(){}function GC(e){return e&&typeof e=="object"&&typeof e.pipe=="function"&&typeof e.on=="function"}function fw(e){return cw&&e instanceof cw||e&&typeof e=="object"&&(typeof e.stream=="function"||typeof e.arrayBuffer=="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function GM(e,t){if(e.includes("?")||e.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=VM(t);return r&&(e+="?"+r),e}function gw(e){if(typeof e=="string"){if(e=new URL(e),!/^https?:/.test(e.origin||e.protocol))throw new Bn("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!="object")throw new Bn("Invalid URL: The URL argument must be a non-null object.");if(!/^https?:/.test(e.origin||e.protocol))throw new Bn("Invalid URL protocol: the URL must start with `http:` or `https:`.");if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port)))throw new Bn("Invalid URL: port must be a valid integer or a string representation of an integer.");if(e.path!=null&&typeof e.path!="string")throw new Bn("Invalid URL path: the path must be a string or null/undefined.");if(e.pathname!=null&&typeof e.pathname!="string")throw new Bn("Invalid URL pathname: the pathname must be a string or null/undefined.");if(e.hostname!=null&&typeof e.hostname!="string")throw new Bn("Invalid URL hostname: the hostname must be a string or null/undefined.");if(e.origin!=null&&typeof e.origin!="string")throw new Bn("Invalid URL origin: the origin must be a string or null/undefined.");let t=e.port!=null?e.port:e.protocol==="https:"?443:80,r=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`,n=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;r.endsWith("/")&&(r=r.substring(0,r.length-1)),n&&!n.startsWith("/")&&(n=`/${n}`),e=new URL(r+n)}return e}function YM(e){if(e=gw(e),e.pathname!=="/"||e.search||e.hash)throw new Bn("invalid url");return e}function JM(e){if(e[0]==="["){let r=e.indexOf("]");return uw(r!==-1),e.substring(1,r)}let t=e.indexOf(":");return t===-1?e:e.substring(0,t)}function WM(e){if(!e)return null;uw.strictEqual(typeof e,"string");let t=JM(e);return qM.isIP(t)?"":t}function jM(e){return JSON.parse(JSON.stringify(e))}function zM(e){return e!=null&&typeof e[Symbol.asyncIterator]=="function"}function KM(e){return e!=null&&(typeof e[Symbol.iterator]=="function"||typeof e[Symbol.asyncIterator]=="function")}function XM(e){if(e==null)return 0;if(GC(e)){let t=e._readableState;return t&&t.objectMode===!1&&t.ended===!0&&Number.isFinite(t.length)?t.length:null}else{if(fw(e))return e.size!=null?e.size:null;if(Ew(e))return e.byteLength}return null}function YC(e){return!e||!!(e.destroyed||e[hw])}function dw(e){let t=e&&e._readableState;return YC(e)&&t&&!t.endEmitted}function $M(e,t){e==null||!GC(e)||YC(e)||(typeof e.destroy=="function"?(Object.getPrototypeOf(e).constructor===PM&&(e.socket=null),e.destroy(t)):t&&process.nextTick((r,n)=>{r.emit("error",n)},e,t),e.destroyed!==!0&&(e[hw]=!0))}var ZM=/timeout=(\d+)/;function e5(e){let t=e.toString().match(ZM);return t?parseInt(t[1],10)*1e3:null}function t5(e,t={}){if(!Array.isArray(e))return e;for(let r=0;rs.toString("utf8")):t[n]=e[r+1].toString("utf8")}return"content-length"in t&&"content-disposition"in t&&(t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")),t}function r5(e){let t=[],r=!1,n=-1;for(let i=0;i{r.close()});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await t.return()}},0)}function l5(e){return e&&typeof e=="object"&&typeof e.append=="function"&&typeof e.delete=="function"&&typeof e.get=="function"&&typeof e.getAll=="function"&&typeof e.has=="function"&&typeof e.set=="function"&&e[Symbol.toStringTag]==="FormData"}function u5(e){if(e){if(typeof e.throwIfAborted=="function")e.throwIfAborted();else if(e.aborted){let t=new Error("The operation was aborted");throw t.name="AbortError",t}}}function h5(e,t){return"addEventListener"in e?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.addListener("abort",t),()=>e.removeListener("abort",t))}var f5=!!String.prototype.toWellFormed;function g5(e){return f5?`${e}`.toWellFormed():Wf.toUSVString?Wf.toUSVString(e):`${e}`}function d5(e){if(e==null||e==="")return{start:0,end:null,size:null};let t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}var pw=Object.create(null);pw.enumerable=!0;Cw.exports={kEnumerableProperty:pw,nop:HM,isDisturbed:i5,isErrored:s5,isReadable:o5,toUSVString:g5,isReadableAborted:dw,isBlobLike:fw,parseOrigin:YM,parseURL:gw,getServerName:WM,isStream:GC,isIterable:KM,isAsyncIterable:zM,isDestroyed:YC,parseRawHeaders:r5,parseHeaders:t5,parseKeepAliveTimeout:e5,destroy:$M,bodyLength:XM,deepClone:jM,ReadableStreamFrom:c5,isBuffer:Ew,validateHandler:n5,getSocketInfo:A5,isFormDataLike:l5,buildURL:GM,throwIfAborted:u5,addAbortListener:h5,parseRangeHeader:d5,nodeMajor:HC,nodeMinor:lw,nodeHasAutoSelectFamily:HC>18||HC===18&&lw>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}});var yw=Re((UZ,Bw)=>{"use strict";var JC=Date.now(),vA,SA=[];function E5(){JC=Date.now();let e=SA.length,t=0;for(;t0&&JC>=r.state&&(r.state=-1,r.callback(r.opaque)),r.state===-1?(r.state=-2,t!==e-1?SA[t]=SA.pop():SA.pop(),e-=1):t+=1}SA.length>0&&Iw()}function Iw(){vA&&vA.refresh?vA.refresh():(clearTimeout(vA),vA=setTimeout(E5,1e3),vA.unref&&vA.unref())}var jf=class{constructor(t,r,n){this.callback=t,this.delay=r,this.opaque=n,this.state=-2,this.refresh()}refresh(){this.state===-2&&(SA.push(this),(!vA||SA.length===1)&&Iw()),this.state=0}clear(){this.state=-1}};Bw.exports={setTimeout(e,t,r){return t<1e3?setTimeout(e,t,r):new jf(e,t,r)},clearTimeout(e){e instanceof jf?e.clear():clearTimeout(e)}}});var WC=Re((xZ,Qw)=>{"use strict";var p5=require("node:events").EventEmitter,C5=require("node:util").inherits;function ga(e){if(typeof e=="string"&&(e=Buffer.from(e)),!Buffer.isBuffer(e))throw new TypeError("The needle has to be a String or a Buffer.");let t=e.length;if(t===0)throw new Error("The needle cannot be an empty String/Buffer.");if(t>256)throw new Error("The needle cannot have a length bigger than 256.");this.maxMatches=1/0,this.matches=0,this._occ=new Array(256).fill(t),this._lookbehind_size=0,this._needle=e,this._bufpos=0,this._lookbehind=Buffer.alloc(t);for(var r=0;r=0)this.emit("info",!1,this._lookbehind,0,this._lookbehind_size),this._lookbehind_size=0;else{let c=this._lookbehind_size+s;return c>0&&this.emit("info",!1,this._lookbehind,0,c),this._lookbehind.copy(this._lookbehind,0,c,this._lookbehind_size-c),this._lookbehind_size-=c,e.copy(this._lookbehind,this._lookbehind_size),this._lookbehind_size+=t,this._bufpos=t,t}}if(s+=(s>=0)*this._bufpos,e.indexOf(r,s)!==-1)return s=e.indexOf(r,s),++this.matches,s>0?this.emit("info",!0,e,this._bufpos,s):this.emit("info",!0),this._bufpos=s+n;for(s=t-n;s0&&this.emit("info",!1,e,this._bufpos,s{"use strict";var I5=require("node:util").inherits,mw=require("node:stream").Readable;function jC(e){mw.call(this,e)}I5(jC,mw);jC.prototype._read=function(e){};bw.exports=jC});var zf=Re((OZ,vw)=>{"use strict";vw.exports=function(t,r,n){if(!t||t[r]===void 0||t[r]===null)return n;if(typeof t[r]!="number"||isNaN(t[r]))throw new TypeError("Limit "+r+" is not a valid number");return t[r]}});var kw=Re((PZ,_w)=>{"use strict";var Rw=require("node:events").EventEmitter,B5=require("node:util").inherits,Sw=zf(),y5=WC(),Q5=Buffer.from(`\r \r -`),Q5=/\r\n/g,m5=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function Dc(e){Rw.call(this),e=e||{};let t=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=Sw(e,"maxHeaderPairs",2e3),this.maxHeaderSize=Sw(e,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new B5(y5),this.ss.on("info",function(r,n,i,s){n&&!t.maxed&&(t.nread+s-i>=t.maxHeaderSize?(s=t.maxHeaderSize-t.nread+i,t.nread=t.maxHeaderSize,t.maxed=!0):t.nread+=s-i,t.buffer+=n.toString("binary",i,s)),r&&t._finish()})}I5(Dc,Rw);Dc.prototype.push=function(e){let t=this.ss.push(e);if(this.finished)return t};Dc.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};Dc.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let e=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",e)};Dc.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let e=this.buffer.split(Q5),t=e.length,r,n;for(var i=0;i{"use strict";var zC=require("node:stream").Writable,b5=require("node:util").inherits,w5=WC(),Dw=ww(),v5=kw(),S5=45,R5=Buffer.from("-"),_5=Buffer.from(`\r -`),k5=function(){};function ps(e){if(!(this instanceof ps))return new ps(e);if(zC.call(this,e),!e||!e.headerFirst&&typeof e.boundary!="string")throw new TypeError("Boundary required");typeof e.boundary=="string"?this.setBoundary(e.boundary):this._bparser=void 0,this._headerFirst=e.headerFirst,this._dashes=0,this._parts=0,this._finished=!1,this._realFinish=!1,this._isPreamble=!0,this._justMatched=!1,this._firstWrite=!0,this._inHeader=!0,this._part=void 0,this._cb=void 0,this._ignoreData=!1,this._partOpts={highWaterMark:e.partHwm},this._pause=!1;let t=this;this._hparser=new v5(e),this._hparser.on("header",function(r){t._inHeader=!1,t._part.emit("header",r)})}b5(ps,zC);ps.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){let t=this;process.nextTick(function(){if(t.emit("error",new Error("Unexpected end of multipart data")),t._part&&!t._ignoreData){let r=t._isPreamble?"Preamble":"Part";t._part.emit("error",new Error(r+" terminated early due to unexpected end of multipart data")),t._part.push(null),process.nextTick(function(){t._realFinish=!0,t.emit("finish"),t._realFinish=!1});return}t._realFinish=!0,t.emit("finish"),t._realFinish=!1})}}else zC.prototype.emit.apply(this,arguments)};ps.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser)return r();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new Dw(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let n=this._hparser.push(e);if(!this._inHeader&&n!==void 0&&n{"use strict";var Tw=new TextDecoder("utf-8"),Lw=new Map([["utf-8",Tw],["utf8",Tw]]);function D5(e){let t;for(;;)switch(e){case"utf-8":case"utf8":return wu.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return wu.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return wu.utf16le;case"base64":return wu.base64;default:if(t===void 0){t=!0,e=e.toLowerCase();continue}return wu.other.bind(e)}}var wu={utf8:(e,t)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,t)),e.utf8Slice(0,e.length)),latin1:(e,t)=>e.length===0?"":typeof e=="string"?e:e.latin1Slice(0,e.length),utf16le:(e,t)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,t)),e.ucs2Slice(0,e.length)),base64:(e,t)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,t)),e.base64Slice(0,e.length)),other:(e,t)=>{if(e.length===0)return"";if(typeof e=="string"&&(e=Buffer.from(e,t)),Lw.has(XC.toString()))try{return Lw.get(XC).decode(e)}catch{}return typeof e=="string"?e:e.toString()}};function N5(e,t,r){return e&&D5(r)(e,t)}Fw.exports=N5});var ZC=Re((VZ,Pw)=>{"use strict";var Xf=Kf(),Uw=/%[a-fA-F0-9][a-fA-F0-9]/g,T5={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":` +`),m5=/\r\n/g,b5=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function Dc(e){Rw.call(this),e=e||{};let t=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=Sw(e,"maxHeaderPairs",2e3),this.maxHeaderSize=Sw(e,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new y5(Q5),this.ss.on("info",function(r,n,i,s){n&&!t.maxed&&(t.nread+s-i>=t.maxHeaderSize?(s=t.maxHeaderSize-t.nread+i,t.nread=t.maxHeaderSize,t.maxed=!0):t.nread+=s-i,t.buffer+=n.toString("binary",i,s)),r&&t._finish()})}B5(Dc,Rw);Dc.prototype.push=function(e){let t=this.ss.push(e);if(this.finished)return t};Dc.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};Dc.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let e=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",e)};Dc.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let e=this.buffer.split(m5),t=e.length,r,n;for(var i=0;i{"use strict";var zC=require("node:stream").Writable,w5=require("node:util").inherits,v5=WC(),Dw=ww(),S5=kw(),R5=45,_5=Buffer.from("-"),k5=Buffer.from(`\r +`),D5=function(){};function ps(e){if(!(this instanceof ps))return new ps(e);if(zC.call(this,e),!e||!e.headerFirst&&typeof e.boundary!="string")throw new TypeError("Boundary required");typeof e.boundary=="string"?this.setBoundary(e.boundary):this._bparser=void 0,this._headerFirst=e.headerFirst,this._dashes=0,this._parts=0,this._finished=!1,this._realFinish=!1,this._isPreamble=!0,this._justMatched=!1,this._firstWrite=!0,this._inHeader=!0,this._part=void 0,this._cb=void 0,this._ignoreData=!1,this._partOpts={highWaterMark:e.partHwm},this._pause=!1;let t=this;this._hparser=new S5(e),this._hparser.on("header",function(r){t._inHeader=!1,t._part.emit("header",r)})}w5(ps,zC);ps.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){let t=this;process.nextTick(function(){if(t.emit("error",new Error("Unexpected end of multipart data")),t._part&&!t._ignoreData){let r=t._isPreamble?"Preamble":"Part";t._part.emit("error",new Error(r+" terminated early due to unexpected end of multipart data")),t._part.push(null),process.nextTick(function(){t._realFinish=!0,t.emit("finish"),t._realFinish=!1});return}t._realFinish=!0,t.emit("finish"),t._realFinish=!1})}}else zC.prototype.emit.apply(this,arguments)};ps.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser)return r();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new Dw(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let n=this._hparser.push(e);if(!this._inHeader&&n!==void 0&&n{"use strict";var Tw=new TextDecoder("utf-8"),Lw=new Map([["utf-8",Tw],["utf8",Tw]]);function N5(e){let t;for(;;)switch(e){case"utf-8":case"utf8":return wu.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return wu.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return wu.utf16le;case"base64":return wu.base64;default:if(t===void 0){t=!0,e=e.toLowerCase();continue}return wu.other.bind(e)}}var wu={utf8:(e,t)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,t)),e.utf8Slice(0,e.length)),latin1:(e,t)=>e.length===0?"":typeof e=="string"?e:e.latin1Slice(0,e.length),utf16le:(e,t)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,t)),e.ucs2Slice(0,e.length)),base64:(e,t)=>e.length===0?"":(typeof e=="string"&&(e=Buffer.from(e,t)),e.base64Slice(0,e.length)),other:(e,t)=>{if(e.length===0)return"";if(typeof e=="string"&&(e=Buffer.from(e,t)),Lw.has(XC.toString()))try{return Lw.get(XC).decode(e)}catch{}return typeof e=="string"?e:e.toString()}};function T5(e,t,r){return e&&N5(r)(e,t)}Fw.exports=T5});var ZC=Re((VZ,Pw)=>{"use strict";var Xf=Kf(),Uw=/%[a-fA-F0-9][a-fA-F0-9]/g,L5={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":` `,"%0A":` -`,"%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"\x1B","%1B":"\x1B","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"\x7F","%7F":"\x7F","%80":"\x80","%81":"\x81","%82":"\x82","%83":"\x83","%84":"\x84","%85":"\x85","%86":"\x86","%87":"\x87","%88":"\x88","%89":"\x89","%8a":"\x8A","%8A":"\x8A","%8b":"\x8B","%8B":"\x8B","%8c":"\x8C","%8C":"\x8C","%8d":"\x8D","%8D":"\x8D","%8e":"\x8E","%8E":"\x8E","%8f":"\x8F","%8F":"\x8F","%90":"\x90","%91":"\x91","%92":"\x92","%93":"\x93","%94":"\x94","%95":"\x95","%96":"\x96","%97":"\x97","%98":"\x98","%99":"\x99","%9a":"\x9A","%9A":"\x9A","%9b":"\x9B","%9B":"\x9B","%9c":"\x9C","%9C":"\x9C","%9d":"\x9D","%9D":"\x9D","%9e":"\x9E","%9E":"\x9E","%9f":"\x9F","%9F":"\x9F","%a0":"\xA0","%A0":"\xA0","%a1":"\xA1","%A1":"\xA1","%a2":"\xA2","%A2":"\xA2","%a3":"\xA3","%A3":"\xA3","%a4":"\xA4","%A4":"\xA4","%a5":"\xA5","%A5":"\xA5","%a6":"\xA6","%A6":"\xA6","%a7":"\xA7","%A7":"\xA7","%a8":"\xA8","%A8":"\xA8","%a9":"\xA9","%A9":"\xA9","%aa":"\xAA","%Aa":"\xAA","%aA":"\xAA","%AA":"\xAA","%ab":"\xAB","%Ab":"\xAB","%aB":"\xAB","%AB":"\xAB","%ac":"\xAC","%Ac":"\xAC","%aC":"\xAC","%AC":"\xAC","%ad":"\xAD","%Ad":"\xAD","%aD":"\xAD","%AD":"\xAD","%ae":"\xAE","%Ae":"\xAE","%aE":"\xAE","%AE":"\xAE","%af":"\xAF","%Af":"\xAF","%aF":"\xAF","%AF":"\xAF","%b0":"\xB0","%B0":"\xB0","%b1":"\xB1","%B1":"\xB1","%b2":"\xB2","%B2":"\xB2","%b3":"\xB3","%B3":"\xB3","%b4":"\xB4","%B4":"\xB4","%b5":"\xB5","%B5":"\xB5","%b6":"\xB6","%B6":"\xB6","%b7":"\xB7","%B7":"\xB7","%b8":"\xB8","%B8":"\xB8","%b9":"\xB9","%B9":"\xB9","%ba":"\xBA","%Ba":"\xBA","%bA":"\xBA","%BA":"\xBA","%bb":"\xBB","%Bb":"\xBB","%bB":"\xBB","%BB":"\xBB","%bc":"\xBC","%Bc":"\xBC","%bC":"\xBC","%BC":"\xBC","%bd":"\xBD","%Bd":"\xBD","%bD":"\xBD","%BD":"\xBD","%be":"\xBE","%Be":"\xBE","%bE":"\xBE","%BE":"\xBE","%bf":"\xBF","%Bf":"\xBF","%bF":"\xBF","%BF":"\xBF","%c0":"\xC0","%C0":"\xC0","%c1":"\xC1","%C1":"\xC1","%c2":"\xC2","%C2":"\xC2","%c3":"\xC3","%C3":"\xC3","%c4":"\xC4","%C4":"\xC4","%c5":"\xC5","%C5":"\xC5","%c6":"\xC6","%C6":"\xC6","%c7":"\xC7","%C7":"\xC7","%c8":"\xC8","%C8":"\xC8","%c9":"\xC9","%C9":"\xC9","%ca":"\xCA","%Ca":"\xCA","%cA":"\xCA","%CA":"\xCA","%cb":"\xCB","%Cb":"\xCB","%cB":"\xCB","%CB":"\xCB","%cc":"\xCC","%Cc":"\xCC","%cC":"\xCC","%CC":"\xCC","%cd":"\xCD","%Cd":"\xCD","%cD":"\xCD","%CD":"\xCD","%ce":"\xCE","%Ce":"\xCE","%cE":"\xCE","%CE":"\xCE","%cf":"\xCF","%Cf":"\xCF","%cF":"\xCF","%CF":"\xCF","%d0":"\xD0","%D0":"\xD0","%d1":"\xD1","%D1":"\xD1","%d2":"\xD2","%D2":"\xD2","%d3":"\xD3","%D3":"\xD3","%d4":"\xD4","%D4":"\xD4","%d5":"\xD5","%D5":"\xD5","%d6":"\xD6","%D6":"\xD6","%d7":"\xD7","%D7":"\xD7","%d8":"\xD8","%D8":"\xD8","%d9":"\xD9","%D9":"\xD9","%da":"\xDA","%Da":"\xDA","%dA":"\xDA","%DA":"\xDA","%db":"\xDB","%Db":"\xDB","%dB":"\xDB","%DB":"\xDB","%dc":"\xDC","%Dc":"\xDC","%dC":"\xDC","%DC":"\xDC","%dd":"\xDD","%Dd":"\xDD","%dD":"\xDD","%DD":"\xDD","%de":"\xDE","%De":"\xDE","%dE":"\xDE","%DE":"\xDE","%df":"\xDF","%Df":"\xDF","%dF":"\xDF","%DF":"\xDF","%e0":"\xE0","%E0":"\xE0","%e1":"\xE1","%E1":"\xE1","%e2":"\xE2","%E2":"\xE2","%e3":"\xE3","%E3":"\xE3","%e4":"\xE4","%E4":"\xE4","%e5":"\xE5","%E5":"\xE5","%e6":"\xE6","%E6":"\xE6","%e7":"\xE7","%E7":"\xE7","%e8":"\xE8","%E8":"\xE8","%e9":"\xE9","%E9":"\xE9","%ea":"\xEA","%Ea":"\xEA","%eA":"\xEA","%EA":"\xEA","%eb":"\xEB","%Eb":"\xEB","%eB":"\xEB","%EB":"\xEB","%ec":"\xEC","%Ec":"\xEC","%eC":"\xEC","%EC":"\xEC","%ed":"\xED","%Ed":"\xED","%eD":"\xED","%ED":"\xED","%ee":"\xEE","%Ee":"\xEE","%eE":"\xEE","%EE":"\xEE","%ef":"\xEF","%Ef":"\xEF","%eF":"\xEF","%EF":"\xEF","%f0":"\xF0","%F0":"\xF0","%f1":"\xF1","%F1":"\xF1","%f2":"\xF2","%F2":"\xF2","%f3":"\xF3","%F3":"\xF3","%f4":"\xF4","%F4":"\xF4","%f5":"\xF5","%F5":"\xF5","%f6":"\xF6","%F6":"\xF6","%f7":"\xF7","%F7":"\xF7","%f8":"\xF8","%F8":"\xF8","%f9":"\xF9","%F9":"\xF9","%fa":"\xFA","%Fa":"\xFA","%fA":"\xFA","%FA":"\xFA","%fb":"\xFB","%Fb":"\xFB","%fB":"\xFB","%FB":"\xFB","%fc":"\xFC","%Fc":"\xFC","%fC":"\xFC","%FC":"\xFC","%fd":"\xFD","%Fd":"\xFD","%fD":"\xFD","%FD":"\xFD","%fe":"\xFE","%Fe":"\xFE","%fE":"\xFE","%FE":"\xFE","%ff":"\xFF","%Ff":"\xFF","%fF":"\xFF","%FF":"\xFF"};function xw(e){return T5[e]}var $f=0,Mw=1,$C=2,Ow=3;function L5(e){let t=[],r=$f,n="",i=!1,s=!1,a=0,c="",l=e.length;for(var A=0;A{"use strict";qw.exports=function(t){if(typeof t!="string")return"";for(var r=t.length-1;r>=0;--r)switch(t.charCodeAt(r)){case 47:case 92:return t=t.slice(r+1),t===".."||t==="."?"":t}return t===".."||t==="."?"":t}});var Jw=Re((GZ,Yw)=>{"use strict";var{Readable:Gw}=require("node:stream"),{inherits:F5}=require("node:util"),U5=KC(),Hw=ZC(),x5=Kf(),M5=Vw(),da=zf(),O5=/^boundary$/i,P5=/^form-data$/i,q5=/^charset$/i,V5=/^filename$/i,H5=/^name$/i;Zf.detect=/^multipart\/form-data/i;function Zf(e,t){let r,n,i=this,s,a=t.limits,c=t.isPartAFile||((O,q,V)=>q==="application/octet-stream"||V!==void 0),l=t.parsedConType||[],A=t.defCharset||"utf8",f=t.preservePath,h={highWaterMark:t.fileHwm};for(r=0,n=l.length;rR)return i.parser.removeListener("part",O),i.parser.on("part",Nc),e.hitPartsLimit=!0,e.emit("partsLimit"),Nc(q);if(v){let V=v;V.emit("end"),V.removeAllListeners("end")}q.on("header",function(V){let w,N,F,M,P,ee,se=0;if(V["content-type"]&&(F=Hw(V["content-type"][0]),F[0])){for(w=F[0].toLowerCase(),r=0,n=F.length;rC){let De=C-se+we.length;De>0&&Ee.push(we.slice(0,De)),Ee.truncated=!0,Ee.bytesRead=C,q.removeAllListeners("data"),Ee.emit("limit");return}else Ee.push(we)||(i._pause=!0);Ee.bytesRead=se},ge=function(){L=void 0,Ee.push(null)}}else{if(m===Q)return e.hitFieldsLimit||(e.hitFieldsLimit=!0,e.emit("fieldsLimit")),Nc(q);++m,++T;let Ee="",we=!1;v=q,ce=function(De){if((se+=De.length)>b){let ye=b-(se-De.length);Ee+=De.toString("binary",0,ye),we=!0,q.removeAllListeners("data")}else Ee+=De.toString("binary")},ge=function(){v=void 0,Ee.length&&(Ee=x5(Ee,"binary",M)),e.emit("field",N,Ee,!1,we,P,w),--T,g()}}q._readableState.sync=!1,q.on("data",ce),q.on("end",ge)}).on("error",function(V){L&&L.emit("error",V)})}).on("error",function(O){e.emit("error",O)}).on("finish",function(){I=!0,g()})}Zf.prototype.write=function(e,t){let r=this.parser.write(e);r&&!this._pause?t():(this._needDrain=!r,this._cb=t)};Zf.prototype.end=function(){let e=this;e.parser.writable?e.parser.end():e._boy._done||process.nextTick(function(){e._boy._done=!0,e._boy.emit("finish")})};function Nc(e){e.resume()}function eI(e){Gw.call(this,e),this.bytesRead=0,this.truncated=!1}F5(eI,Gw);eI.prototype._read=function(e){};Yw.exports=Zf});var jw=Re((YZ,Ww)=>{"use strict";var G5=/\+/g,Y5=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function tI(){this.buffer=void 0}tI.prototype.write=function(e){e=e.replace(G5," ");let t="",r=0,n=0,i=e.length;for(;rn&&(t+=e.substring(n,r),n=r),this.buffer="",++n);return n{"use strict";var J5=jw(),Tc=Kf(),rI=zf(),W5=/^charset$/i;eg.detect=/^application\/x-www-form-urlencoded/i;function eg(e,t){let r=t.limits,n=t.parsedConType;this.boy=e,this.fieldSizeLimit=rI(r,"fieldSize",1*1024*1024),this.fieldNameSizeLimit=rI(r,"fieldNameSize",100),this.fieldsLimit=rI(r,"fields",1/0);let i;for(var s=0,a=n.length;ss&&(this._key+=this.decoder.write(e.toString("binary",s,r))),this._state="val",this._hitLimit=!1,this._checkingBytes=!0,this._val="",this._bytesVal=0,this._valTrunc=!1,this.decoder.reset(),s=r+1;else if(n!==void 0){++this._fields;let c,l=this._keyTrunc;if(n>s?c=this._key+=this.decoder.write(e.toString("binary",s,n)):c=this._key,this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),c.length&&this.boy.emit("field",Tc(c,"binary",this.charset),"",l,!1),s=n+1,this._fields===this.fieldsLimit)return t()}else this._hitLimit?(i>s&&(this._key+=this.decoder.write(e.toString("binary",s,i))),s=i,(this._bytesKey=this._key.length)===this.fieldNameSizeLimit&&(this._checkingBytes=!1,this._keyTrunc=!0)):(ss&&(this._val+=this.decoder.write(e.toString("binary",s,n))),this.boy.emit("field",Tc(this._key,"binary",this.charset),Tc(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this._state="key",this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),s=n+1,this._fields===this.fieldsLimit)return t()}else this._hitLimit?(i>s&&(this._val+=this.decoder.write(e.toString("binary",s,i))),s=i,(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit)&&(this._checkingBytes=!1,this._valTrunc=!0)):(s0?this.boy.emit("field",Tc(this._key,"binary",this.charset),"",this._keyTrunc,!1):this._state==="val"&&this.boy.emit("field",Tc(this._key,"binary",this.charset),Tc(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this.boy._done=!0,this.boy.emit("finish"))};zw.exports=eg});var Zw=Re((WZ,vu)=>{"use strict";var nI=require("node:stream").Writable,{inherits:j5}=require("node:util"),z5=KC(),Xw=Jw(),$w=Kw(),K5=ZC();function Mo(e){if(!(this instanceof Mo))return new Mo(e);if(typeof e!="object")throw new TypeError("Busboy expected an options-Object.");if(typeof e.headers!="object")throw new TypeError("Busboy expected an options-Object with headers-attribute.");if(typeof e.headers["content-type"]!="string")throw new TypeError("Missing Content-Type-header.");let{headers:t,...r}=e;this.opts={autoDestroy:!1,...r},nI.call(this,this.opts),this._done=!1,this._parser=this.getParserByHeaders(t),this._finished=!1}j5(Mo,nI);Mo.prototype.emit=function(e){if(e==="finish"){if(this._done){if(this._finished)return}else{this._parser?.end();return}this._finished=!0}nI.prototype.emit.apply(this,arguments)};Mo.prototype.getParserByHeaders=function(e){let t=K5(e["content-type"]),r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(Xw.detect.test(t[0]))return new Xw(this,r);if($w.detect.test(t[0]))return new $w(this,r);throw new Error("Unsupported Content-Type.")};Mo.prototype._write=function(e,t,r){this._parser.write(e,r)};vu.exports=Mo;vu.exports.default=Mo;vu.exports.Busboy=Mo;vu.exports.Dicer=z5});var RA=Re((jZ,Av)=>{"use strict";var{MessageChannel:X5,receiveMessageOnPort:$5}=require("worker_threads"),ev=["GET","HEAD","POST"],Z5=new Set(ev),eO=[101,204,205,304],tv=[301,302,303,307,308],tO=new Set(tv),rv=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"],rO=new Set(rv),nv=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],nO=new Set(nv),iO=["follow","manual","error"],iv=["GET","HEAD","OPTIONS","TRACE"],sO=new Set(iv),oO=["navigate","same-origin","no-cors","cors"],AO=["omit","same-origin","include"],aO=["default","no-store","reload","no-cache","force-cache","only-if-cached"],cO=["content-encoding","content-language","content-location","content-type","content-length"],lO=["half"],sv=["CONNECT","TRACE","TRACK"],uO=new Set(sv),ov=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],hO=new Set(ov),fO=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})(),Lc,gO=globalThis.structuredClone??function(t,r=void 0){if(arguments.length===0)throw new TypeError("missing argument");return Lc||(Lc=new X5),Lc.port1.unref(),Lc.port2.unref(),Lc.port1.postMessage(t,r?.transfer),$5(Lc.port2).message};Av.exports={DOMException:fO,structuredClone:gO,subresource:ov,forbiddenMethods:sv,requestBodyHeader:cO,referrerPolicy:nv,requestRedirect:iO,requestMode:oO,requestCredentials:AO,requestCache:aO,redirectStatus:tv,corsSafeListedMethods:ev,nullBodyStatus:eO,safeMethods:iv,badPorts:rv,requestDuplex:lO,subresourceSet:hO,badPortsSet:rO,redirectStatusSet:tO,corsSafeListedMethodsSet:Z5,safeMethodsSet:sO,forbiddenMethodsSet:uO,referrerPolicySet:nO}});var Fc=Re((zZ,av)=>{"use strict";var iI=Symbol.for("undici.globalOrigin.1");function dO(){return globalThis[iI]}function EO(e){if(e===void 0){Object.defineProperty(globalThis,iI,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let t=new URL(e);if(t.protocol!=="http:"&&t.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${t.protocol}`);Object.defineProperty(globalThis,iI,{value:t,writable:!0,enumerable:!1,configurable:!1})}av.exports={getGlobalOrigin:dO,setGlobalOrigin:EO}});var rs=Re((KZ,gv)=>{"use strict";var{redirectStatusSet:pO,referrerPolicySet:CO,badPortsSet:IO}=RA(),{getGlobalOrigin:BO}=Fc(),{performance:yO}=require("perf_hooks"),{isBlobLike:QO,toUSVString:mO,ReadableStreamFrom:bO}=Nt(),Uc=require("assert"),{isUint8Array:wO}=require("util/types"),Ru;try{Ru=require("crypto")}catch{}function cv(e){let t=e.urlList,r=t.length;return r===0?null:t[r-1].toString()}function vO(e,t){if(!pO.has(e.status))return null;let r=e.headersList.get("location");return r!==null&&uv(r)&&(r=new URL(r,cv(e))),r&&!r.hash&&(r.hash=t),r}function _u(e){return e.urlList[e.urlList.length-1]}function SO(e){let t=_u(e);return fv(t)&&IO.has(t.port)?"blocked":"allowed"}function RO(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"}function _O(e){for(let t=0;t=32&&r<=126||r>=128&&r<=255))return!1}return!0}function kO(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return e>=33&&e<=126}}function lv(e){if(e.length===0)return!1;for(let t=0;t0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(CO.has(a)){i=a;break}}i!==""&&(e.referrerPolicy=i)}function TO(){return"allowed"}function LO(){return"success"}function FO(){return"success"}function UO(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t)}function xO(e){let t=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket")t&&e.headersList.append("origin",t);else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&AI(e.origin)&&!AI(_u(e))&&(t=null);break;case"same-origin":tg(e,_u(e))||(t=null);break;default:}t&&e.headersList.append("origin",t)}}function MO(e){return yO.now()}function OO(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function PO(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function qO(e){return{referrerPolicy:e.referrerPolicy}}function VO(e){let t=e.referrerPolicy;Uc(t);let r=null;if(e.referrer==="client"){let c=BO();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else e.referrer instanceof URL&&(r=e.referrer);let n=sI(r),i=sI(r,!0);n.toString().length>4096&&(n=i);let s=tg(e,n),a=Su(n)&&!Su(e.url);switch(t){case"origin":return i??sI(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=_u(e);return tg(n,c)?n:Su(n)&&!Su(c)?"no-referrer":i}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":i}}function sI(e,t){return Uc(e instanceof URL),e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"?"no-referrer":(e.username="",e.password="",e.hash="",t&&(e.pathname="",e.search=""),e)}function Su(e){if(!(e instanceof URL))return!1;if(e.href==="about:blank"||e.href==="about:srcdoc"||e.protocol==="data:"||e.protocol==="file:")return!0;return t(e.origin);function t(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}function HO(e,t){if(Ru===void 0)return!0;let r=YO(t);if(r==="no metadata"||r.length===0)return!0;let n=r.sort((a,c)=>c.algo.localeCompare(a.algo)),i=n[0].algo,s=n.filter(a=>a.algo===i);for(let a of s){let c=a.algo,l=a.hash;l.endsWith("==")&&(l=l.slice(0,-2));let A=Ru.createHash(c).update(e).digest("base64");if(A.endsWith("==")&&(A=A.slice(0,-2)),A===l)return!0;let f=Ru.createHash(c).update(e).digest("base64url");if(f.endsWith("==")&&(f=f.slice(0,-2)),f===l)return!0}return!1}var GO=/((?sha256|sha384|sha512)-(?[A-z0-9+/]{1}.*={0,2}))( +[\x21-\x7e]?)?/i;function YO(e){let t=[],r=!0,n=Ru.getHashes();for(let i of e.split(" ")){r=!1;let s=GO.exec(i);if(s===null||s.groups===void 0)continue;let a=s.groups.algo;n.includes(a.toLowerCase())&&t.push(s.groups)}return r===!0?"no metadata":t}function JO(e){}function tg(e,t){return e.origin===t.origin&&e.origin==="null"||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}function WO(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}function jO(e){return e.controller.state==="aborted"}function zO(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}var aI={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(aI,null);function KO(e){return aI[e.toLowerCase()]??e}function XO(e){let t=JSON.stringify(e);if(t===void 0)throw new TypeError("Value is not JSON serializable");return Uc(typeof t=="string"),t}var $O=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function ZO(e,t,r){let n={index:0,kind:r,target:e},i={next(){if(Object.getPrototypeOf(this)!==i)throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let{index:s,kind:a,target:c}=n,l=c(),A=l.length;if(s>=A)return{value:void 0,done:!0};let f=l[s];return n.index=s+1,e8(f,a)},[Symbol.toStringTag]:`${t} Iterator`};return Object.setPrototypeOf(i,$O),Object.setPrototypeOf({},i)}function e8(e,t){let r;switch(t){case"key":{r=e[0];break}case"value":{r=e[1];break}case"key+value":{r=e;break}}return{value:r,done:!1}}async function t8(e,t,r){let n=t,i=r,s;try{s=e.stream.getReader()}catch(a){i(a);return}try{let a=await hv(s);n(a)}catch(a){i(a)}}var oI=globalThis.ReadableStream;function r8(e){return oI||(oI=require("stream/web").ReadableStream),e instanceof oI||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee=="function"}var n8=65535;function i8(e){return e.lengtht+String.fromCharCode(r),"")}function s8(e){try{e.close()}catch(t){if(!t.message.includes("Controller is already closed"))throw t}}function o8(e){for(let t=0;tObject.prototype.hasOwnProperty.call(e,t));gv.exports={isAborted:jO,isCancelled:zO,createDeferredPromise:WO,ReadableStreamFrom:bO,toUSVString:mO,tryUpgradeRequestToAPotentiallyTrustworthyURL:JO,coarsenedSharedCurrentTime:MO,determineRequestsReferrer:VO,makePolicyContainer:PO,clonePolicyContainer:qO,appendFetchMetadata:UO,appendRequestOriginHeader:xO,TAOCheck:FO,corsCheck:LO,crossOriginResourcePolicyCheck:TO,createOpaqueTimingInfo:OO,setRequestReferrerPolicyOnRedirect:NO,isValidHTTPToken:lv,requestBadPort:SO,requestCurrentURL:_u,responseURL:cv,responseLocationURL:vO,isBlobLike:QO,isURLPotentiallyTrustworthy:Su,isValidReasonPhrase:_O,sameOrigin:tg,normalizeMethod:KO,serializeJavascriptValueToJSONString:XO,makeIterator:ZO,isValidHeaderName:DO,isValidHeaderValue:uv,hasOwn:a8,isErrorLike:RO,fullyReadBody:t8,bytesMatch:HO,isReadableStreamLike:r8,readableStreamClose:s8,isomorphicEncode:o8,isomorphicDecode:i8,urlIsLocal:A8,urlHasHttpsScheme:AI,urlIsHttpHttpsScheme:fv,readAllBytes:hv,normalizeMethodRecord:aI}});var Oo=Re((XZ,dv)=>{"use strict";dv.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}});var jn=Re(($Z,pv)=>{"use strict";var{types:Gs}=require("util"),{hasOwn:Ev,toUSVString:c8}=rs(),xe={};xe.converters={};xe.util={};xe.errors={};xe.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};xe.errors.conversionFailed=function(e){let t=e.types.length===1?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return xe.errors.exception({header:e.prefix,message:r})};xe.errors.invalidArgument=function(e){return xe.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};xe.brandCheck=function(e,t,r=void 0){if(r?.strict!==!1&&!(e instanceof t))throw new TypeError("Illegal invocation");return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]};xe.argumentLengthCheck=function({length:e},t,r){if(ei)throw xe.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=xe.util.IntegerPart(a),a=a%Math.pow(2,t),r==="signed"&&a>=Math.pow(2,t)-1?a-Math.pow(2,t):a)};xe.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t};xe.sequenceConverter=function(e){return t=>{if(xe.util.Type(t)!=="Object")throw xe.errors.exception({header:"Sequence",message:`Value of type ${xe.util.Type(t)} is not an Object.`});let r=t?.[Symbol.iterator]?.(),n=[];if(r===void 0||typeof r.next!="function")throw xe.errors.exception({header:"Sequence",message:"Object is not an iterator."});for(;;){let{done:i,value:s}=r.next();if(i)break;n.push(e(s))}return n}};xe.recordConverter=function(e,t){return r=>{if(xe.util.Type(r)!=="Object")throw xe.errors.exception({header:"Record",message:`Value of type ${xe.util.Type(r)} is not an Object.`});let n={};if(!Gs.isProxy(r)){let s=Object.keys(r);for(let a of s){let c=e(a),l=t(r[a]);n[c]=l}return n}let i=Reflect.ownKeys(r);for(let s of i)if(Reflect.getOwnPropertyDescriptor(r,s)?.enumerable){let c=e(s),l=t(r[s]);n[c]=l}return n}};xe.interfaceConverter=function(e){return(t,r={})=>{if(r.strict!==!1&&!(t instanceof e))throw xe.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`});return t}};xe.dictionaryConverter=function(e){return t=>{let r=xe.util.Type(t),n={};if(r==="Null"||r==="Undefined")return n;if(r!=="Object")throw xe.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let i of e){let{key:s,defaultValue:a,required:c,converter:l}=i;if(c===!0&&!Ev(t,s))throw xe.errors.exception({header:"Dictionary",message:`Missing required key "${s}".`});let A=t[s],f=Ev(i,"defaultValue");if(f&&A!==null&&(A=A??a),c||f||A!==void 0){if(A=l(A),i.allowedValues&&!i.allowedValues.includes(A))throw xe.errors.exception({header:"Dictionary",message:`${A} is not an accepted type. Expected one of ${i.allowedValues.join(", ")}.`});n[s]=A}}return n}};xe.nullableConverter=function(e){return t=>t===null?t:e(t)};xe.converters.DOMString=function(e,t={}){if(e===null&&t.legacyNullToEmptyString)return"";if(typeof e=="symbol")throw new TypeError("Could not convert argument of type symbol to string.");return String(e)};xe.converters.ByteString=function(e){let t=xe.converters.DOMString(e);for(let r=0;r255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${r} has a value of ${t.charCodeAt(r)} which is greater than 255.`);return t};xe.converters.USVString=c8;xe.converters.boolean=function(e){return!!e};xe.converters.any=function(e){return e};xe.converters["long long"]=function(e){return xe.util.ConvertToInt(e,64,"signed")};xe.converters["unsigned long long"]=function(e){return xe.util.ConvertToInt(e,64,"unsigned")};xe.converters["unsigned long"]=function(e){return xe.util.ConvertToInt(e,32,"unsigned")};xe.converters["unsigned short"]=function(e,t){return xe.util.ConvertToInt(e,16,"unsigned",t)};xe.converters.ArrayBuffer=function(e,t={}){if(xe.util.Type(e)!=="Object"||!Gs.isAnyArrayBuffer(e))throw xe.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]});if(t.allowShared===!1&&Gs.isSharedArrayBuffer(e))throw xe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return e};xe.converters.TypedArray=function(e,t,r={}){if(xe.util.Type(e)!=="Object"||!Gs.isTypedArray(e)||e.constructor.name!==t.name)throw xe.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]});if(r.allowShared===!1&&Gs.isSharedArrayBuffer(e.buffer))throw xe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return e};xe.converters.DataView=function(e,t={}){if(xe.util.Type(e)!=="Object"||!Gs.isDataView(e))throw xe.errors.exception({header:"DataView",message:"Object is not a DataView."});if(t.allowShared===!1&&Gs.isSharedArrayBuffer(e.buffer))throw xe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return e};xe.converters.BufferSource=function(e,t={}){if(Gs.isAnyArrayBuffer(e))return xe.converters.ArrayBuffer(e,t);if(Gs.isTypedArray(e))return xe.converters.TypedArray(e,e.constructor);if(Gs.isDataView(e))return xe.converters.DataView(e,t);throw new TypeError(`Could not convert ${e} to a BufferSource.`)};xe.converters["sequence"]=xe.sequenceConverter(xe.converters.ByteString);xe.converters["sequence>"]=xe.sequenceConverter(xe.converters["sequence"]);xe.converters["record"]=xe.recordConverter(xe.converters.ByteString,xe.converters.ByteString);pv.exports={webidl:xe}});var Cs=Re((ZZ,mv)=>{var ng=require("assert"),{atob:l8}=require("buffer"),{isomorphicDecode:u8}=rs(),h8=new TextEncoder,rg=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/,f8=/(\u000A|\u000D|\u0009|\u0020)/,g8=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function d8(e){ng(e.protocol==="data:");let t=Bv(e,!0);t=t.slice(5);let r={position:0},n=xc(",",t,r),i=n.length;if(n=I8(n,!0,!0),r.position>=t.length)return"failure";r.position++;let s=t.slice(i+1),a=yv(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=u8(a);if(a=p8(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=lI(n);return c==="failure"&&(c=lI("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}function Bv(e,t=!1){if(!t)return e.href;let r=e.href,n=e.hash.length;return n===0?r:r.substring(0,r.length-n)}function ig(e,t,r){let n="";for(;r.positione.length)return"failure";t.position++;let n=xc(";",e,t);if(n=cI(n,!1,!0),n.length===0||!rg.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;t.positionf8.test(A),e,t);let c=ig(A=>A!==";"&&A!=="=",e,t);if(c=c.toLowerCase(),t.positione.length)break;let l=null;if(e[t.position]==='"')l=Qv(e,t,!0),xc(";",e,t);else if(l=xc(";",e,t),l=cI(l,!1,!0),l.length===0)continue;c.length!==0&&rg.test(c)&&(l.length===0||g8.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}function p8(e){if(e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,""),e.length%4===0&&(e=e.replace(/=?=$/,"")),e.length%4===1||/[^+/0-9A-Za-z]/.test(e))return"failure";let t=l8(e),r=new Uint8Array(t.length);for(let n=0;na!=='"'&&a!=="\\",e,t),!(t.position>=e.length);){let s=e[t.position];if(t.position++,s==="\\"){if(t.position>=e.length){i+="\\";break}i+=e[t.position],t.position++}else{ng(s==='"');break}}return r?i:e.slice(n,t.position)}function C8(e){ng(e!=="failure");let{parameters:t,essence:r}=e,n=r;for(let[i,s]of t.entries())n+=";",n+=i,n+="=",rg.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}function Cv(e){return e==="\r"||e===` +`,"%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"\x1B","%1B":"\x1B","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"\x7F","%7F":"\x7F","%80":"\x80","%81":"\x81","%82":"\x82","%83":"\x83","%84":"\x84","%85":"\x85","%86":"\x86","%87":"\x87","%88":"\x88","%89":"\x89","%8a":"\x8A","%8A":"\x8A","%8b":"\x8B","%8B":"\x8B","%8c":"\x8C","%8C":"\x8C","%8d":"\x8D","%8D":"\x8D","%8e":"\x8E","%8E":"\x8E","%8f":"\x8F","%8F":"\x8F","%90":"\x90","%91":"\x91","%92":"\x92","%93":"\x93","%94":"\x94","%95":"\x95","%96":"\x96","%97":"\x97","%98":"\x98","%99":"\x99","%9a":"\x9A","%9A":"\x9A","%9b":"\x9B","%9B":"\x9B","%9c":"\x9C","%9C":"\x9C","%9d":"\x9D","%9D":"\x9D","%9e":"\x9E","%9E":"\x9E","%9f":"\x9F","%9F":"\x9F","%a0":"\xA0","%A0":"\xA0","%a1":"\xA1","%A1":"\xA1","%a2":"\xA2","%A2":"\xA2","%a3":"\xA3","%A3":"\xA3","%a4":"\xA4","%A4":"\xA4","%a5":"\xA5","%A5":"\xA5","%a6":"\xA6","%A6":"\xA6","%a7":"\xA7","%A7":"\xA7","%a8":"\xA8","%A8":"\xA8","%a9":"\xA9","%A9":"\xA9","%aa":"\xAA","%Aa":"\xAA","%aA":"\xAA","%AA":"\xAA","%ab":"\xAB","%Ab":"\xAB","%aB":"\xAB","%AB":"\xAB","%ac":"\xAC","%Ac":"\xAC","%aC":"\xAC","%AC":"\xAC","%ad":"\xAD","%Ad":"\xAD","%aD":"\xAD","%AD":"\xAD","%ae":"\xAE","%Ae":"\xAE","%aE":"\xAE","%AE":"\xAE","%af":"\xAF","%Af":"\xAF","%aF":"\xAF","%AF":"\xAF","%b0":"\xB0","%B0":"\xB0","%b1":"\xB1","%B1":"\xB1","%b2":"\xB2","%B2":"\xB2","%b3":"\xB3","%B3":"\xB3","%b4":"\xB4","%B4":"\xB4","%b5":"\xB5","%B5":"\xB5","%b6":"\xB6","%B6":"\xB6","%b7":"\xB7","%B7":"\xB7","%b8":"\xB8","%B8":"\xB8","%b9":"\xB9","%B9":"\xB9","%ba":"\xBA","%Ba":"\xBA","%bA":"\xBA","%BA":"\xBA","%bb":"\xBB","%Bb":"\xBB","%bB":"\xBB","%BB":"\xBB","%bc":"\xBC","%Bc":"\xBC","%bC":"\xBC","%BC":"\xBC","%bd":"\xBD","%Bd":"\xBD","%bD":"\xBD","%BD":"\xBD","%be":"\xBE","%Be":"\xBE","%bE":"\xBE","%BE":"\xBE","%bf":"\xBF","%Bf":"\xBF","%bF":"\xBF","%BF":"\xBF","%c0":"\xC0","%C0":"\xC0","%c1":"\xC1","%C1":"\xC1","%c2":"\xC2","%C2":"\xC2","%c3":"\xC3","%C3":"\xC3","%c4":"\xC4","%C4":"\xC4","%c5":"\xC5","%C5":"\xC5","%c6":"\xC6","%C6":"\xC6","%c7":"\xC7","%C7":"\xC7","%c8":"\xC8","%C8":"\xC8","%c9":"\xC9","%C9":"\xC9","%ca":"\xCA","%Ca":"\xCA","%cA":"\xCA","%CA":"\xCA","%cb":"\xCB","%Cb":"\xCB","%cB":"\xCB","%CB":"\xCB","%cc":"\xCC","%Cc":"\xCC","%cC":"\xCC","%CC":"\xCC","%cd":"\xCD","%Cd":"\xCD","%cD":"\xCD","%CD":"\xCD","%ce":"\xCE","%Ce":"\xCE","%cE":"\xCE","%CE":"\xCE","%cf":"\xCF","%Cf":"\xCF","%cF":"\xCF","%CF":"\xCF","%d0":"\xD0","%D0":"\xD0","%d1":"\xD1","%D1":"\xD1","%d2":"\xD2","%D2":"\xD2","%d3":"\xD3","%D3":"\xD3","%d4":"\xD4","%D4":"\xD4","%d5":"\xD5","%D5":"\xD5","%d6":"\xD6","%D6":"\xD6","%d7":"\xD7","%D7":"\xD7","%d8":"\xD8","%D8":"\xD8","%d9":"\xD9","%D9":"\xD9","%da":"\xDA","%Da":"\xDA","%dA":"\xDA","%DA":"\xDA","%db":"\xDB","%Db":"\xDB","%dB":"\xDB","%DB":"\xDB","%dc":"\xDC","%Dc":"\xDC","%dC":"\xDC","%DC":"\xDC","%dd":"\xDD","%Dd":"\xDD","%dD":"\xDD","%DD":"\xDD","%de":"\xDE","%De":"\xDE","%dE":"\xDE","%DE":"\xDE","%df":"\xDF","%Df":"\xDF","%dF":"\xDF","%DF":"\xDF","%e0":"\xE0","%E0":"\xE0","%e1":"\xE1","%E1":"\xE1","%e2":"\xE2","%E2":"\xE2","%e3":"\xE3","%E3":"\xE3","%e4":"\xE4","%E4":"\xE4","%e5":"\xE5","%E5":"\xE5","%e6":"\xE6","%E6":"\xE6","%e7":"\xE7","%E7":"\xE7","%e8":"\xE8","%E8":"\xE8","%e9":"\xE9","%E9":"\xE9","%ea":"\xEA","%Ea":"\xEA","%eA":"\xEA","%EA":"\xEA","%eb":"\xEB","%Eb":"\xEB","%eB":"\xEB","%EB":"\xEB","%ec":"\xEC","%Ec":"\xEC","%eC":"\xEC","%EC":"\xEC","%ed":"\xED","%Ed":"\xED","%eD":"\xED","%ED":"\xED","%ee":"\xEE","%Ee":"\xEE","%eE":"\xEE","%EE":"\xEE","%ef":"\xEF","%Ef":"\xEF","%eF":"\xEF","%EF":"\xEF","%f0":"\xF0","%F0":"\xF0","%f1":"\xF1","%F1":"\xF1","%f2":"\xF2","%F2":"\xF2","%f3":"\xF3","%F3":"\xF3","%f4":"\xF4","%F4":"\xF4","%f5":"\xF5","%F5":"\xF5","%f6":"\xF6","%F6":"\xF6","%f7":"\xF7","%F7":"\xF7","%f8":"\xF8","%F8":"\xF8","%f9":"\xF9","%F9":"\xF9","%fa":"\xFA","%Fa":"\xFA","%fA":"\xFA","%FA":"\xFA","%fb":"\xFB","%Fb":"\xFB","%fB":"\xFB","%FB":"\xFB","%fc":"\xFC","%Fc":"\xFC","%fC":"\xFC","%FC":"\xFC","%fd":"\xFD","%Fd":"\xFD","%fD":"\xFD","%FD":"\xFD","%fe":"\xFE","%Fe":"\xFE","%fE":"\xFE","%FE":"\xFE","%ff":"\xFF","%Ff":"\xFF","%fF":"\xFF","%FF":"\xFF"};function xw(e){return L5[e]}var $f=0,Mw=1,$C=2,Ow=3;function F5(e){let t=[],r=$f,n="",i=!1,s=!1,a=0,c="",l=e.length;for(var A=0;A{"use strict";qw.exports=function(t){if(typeof t!="string")return"";for(var r=t.length-1;r>=0;--r)switch(t.charCodeAt(r)){case 47:case 92:return t=t.slice(r+1),t===".."||t==="."?"":t}return t===".."||t==="."?"":t}});var Jw=Re((GZ,Yw)=>{"use strict";var{Readable:Gw}=require("node:stream"),{inherits:U5}=require("node:util"),x5=KC(),Hw=ZC(),M5=Kf(),O5=Vw(),da=zf(),P5=/^boundary$/i,q5=/^form-data$/i,V5=/^charset$/i,H5=/^filename$/i,G5=/^name$/i;Zf.detect=/^multipart\/form-data/i;function Zf(e,t){let r,n,i=this,s,a=t.limits,c=t.isPartAFile||((O,q,V)=>q==="application/octet-stream"||V!==void 0),l=t.parsedConType||[],A=t.defCharset||"utf8",f=t.preservePath,h={highWaterMark:t.fileHwm};for(r=0,n=l.length;rR)return i.parser.removeListener("part",O),i.parser.on("part",Nc),e.hitPartsLimit=!0,e.emit("partsLimit"),Nc(q);if(v){let V=v;V.emit("end"),V.removeAllListeners("end")}q.on("header",function(V){let w,N,F,M,P,ee,se=0;if(V["content-type"]&&(F=Hw(V["content-type"][0]),F[0])){for(w=F[0].toLowerCase(),r=0,n=F.length;rC){let De=C-se+we.length;De>0&&Ee.push(we.slice(0,De)),Ee.truncated=!0,Ee.bytesRead=C,q.removeAllListeners("data"),Ee.emit("limit");return}else Ee.push(we)||(i._pause=!0);Ee.bytesRead=se},ge=function(){L=void 0,Ee.push(null)}}else{if(m===Q)return e.hitFieldsLimit||(e.hitFieldsLimit=!0,e.emit("fieldsLimit")),Nc(q);++m,++T;let Ee="",we=!1;v=q,ce=function(De){if((se+=De.length)>b){let ye=b-(se-De.length);Ee+=De.toString("binary",0,ye),we=!0,q.removeAllListeners("data")}else Ee+=De.toString("binary")},ge=function(){v=void 0,Ee.length&&(Ee=M5(Ee,"binary",M)),e.emit("field",N,Ee,!1,we,P,w),--T,g()}}q._readableState.sync=!1,q.on("data",ce),q.on("end",ge)}).on("error",function(V){L&&L.emit("error",V)})}).on("error",function(O){e.emit("error",O)}).on("finish",function(){I=!0,g()})}Zf.prototype.write=function(e,t){let r=this.parser.write(e);r&&!this._pause?t():(this._needDrain=!r,this._cb=t)};Zf.prototype.end=function(){let e=this;e.parser.writable?e.parser.end():e._boy._done||process.nextTick(function(){e._boy._done=!0,e._boy.emit("finish")})};function Nc(e){e.resume()}function eI(e){Gw.call(this,e),this.bytesRead=0,this.truncated=!1}U5(eI,Gw);eI.prototype._read=function(e){};Yw.exports=Zf});var jw=Re((YZ,Ww)=>{"use strict";var Y5=/\+/g,J5=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function tI(){this.buffer=void 0}tI.prototype.write=function(e){e=e.replace(Y5," ");let t="",r=0,n=0,i=e.length;for(;rn&&(t+=e.substring(n,r),n=r),this.buffer="",++n);return n{"use strict";var W5=jw(),Tc=Kf(),rI=zf(),j5=/^charset$/i;eg.detect=/^application\/x-www-form-urlencoded/i;function eg(e,t){let r=t.limits,n=t.parsedConType;this.boy=e,this.fieldSizeLimit=rI(r,"fieldSize",1*1024*1024),this.fieldNameSizeLimit=rI(r,"fieldNameSize",100),this.fieldsLimit=rI(r,"fields",1/0);let i;for(var s=0,a=n.length;ss&&(this._key+=this.decoder.write(e.toString("binary",s,r))),this._state="val",this._hitLimit=!1,this._checkingBytes=!0,this._val="",this._bytesVal=0,this._valTrunc=!1,this.decoder.reset(),s=r+1;else if(n!==void 0){++this._fields;let c,l=this._keyTrunc;if(n>s?c=this._key+=this.decoder.write(e.toString("binary",s,n)):c=this._key,this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),c.length&&this.boy.emit("field",Tc(c,"binary",this.charset),"",l,!1),s=n+1,this._fields===this.fieldsLimit)return t()}else this._hitLimit?(i>s&&(this._key+=this.decoder.write(e.toString("binary",s,i))),s=i,(this._bytesKey=this._key.length)===this.fieldNameSizeLimit&&(this._checkingBytes=!1,this._keyTrunc=!0)):(ss&&(this._val+=this.decoder.write(e.toString("binary",s,n))),this.boy.emit("field",Tc(this._key,"binary",this.charset),Tc(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this._state="key",this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),s=n+1,this._fields===this.fieldsLimit)return t()}else this._hitLimit?(i>s&&(this._val+=this.decoder.write(e.toString("binary",s,i))),s=i,(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit)&&(this._checkingBytes=!1,this._valTrunc=!0)):(s0?this.boy.emit("field",Tc(this._key,"binary",this.charset),"",this._keyTrunc,!1):this._state==="val"&&this.boy.emit("field",Tc(this._key,"binary",this.charset),Tc(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this.boy._done=!0,this.boy.emit("finish"))};zw.exports=eg});var Zw=Re((WZ,vu)=>{"use strict";var nI=require("node:stream").Writable,{inherits:z5}=require("node:util"),K5=KC(),Xw=Jw(),$w=Kw(),X5=ZC();function Mo(e){if(!(this instanceof Mo))return new Mo(e);if(typeof e!="object")throw new TypeError("Busboy expected an options-Object.");if(typeof e.headers!="object")throw new TypeError("Busboy expected an options-Object with headers-attribute.");if(typeof e.headers["content-type"]!="string")throw new TypeError("Missing Content-Type-header.");let{headers:t,...r}=e;this.opts={autoDestroy:!1,...r},nI.call(this,this.opts),this._done=!1,this._parser=this.getParserByHeaders(t),this._finished=!1}z5(Mo,nI);Mo.prototype.emit=function(e){if(e==="finish"){if(this._done){if(this._finished)return}else{this._parser?.end();return}this._finished=!0}nI.prototype.emit.apply(this,arguments)};Mo.prototype.getParserByHeaders=function(e){let t=X5(e["content-type"]),r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(Xw.detect.test(t[0]))return new Xw(this,r);if($w.detect.test(t[0]))return new $w(this,r);throw new Error("Unsupported Content-Type.")};Mo.prototype._write=function(e,t,r){this._parser.write(e,r)};vu.exports=Mo;vu.exports.default=Mo;vu.exports.Busboy=Mo;vu.exports.Dicer=K5});var RA=Re((jZ,Av)=>{"use strict";var{MessageChannel:$5,receiveMessageOnPort:Z5}=require("worker_threads"),ev=["GET","HEAD","POST"],eO=new Set(ev),tO=[101,204,205,304],tv=[301,302,303,307,308],rO=new Set(tv),rv=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"],nO=new Set(rv),nv=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],iO=new Set(nv),sO=["follow","manual","error"],iv=["GET","HEAD","OPTIONS","TRACE"],oO=new Set(iv),AO=["navigate","same-origin","no-cors","cors"],aO=["omit","same-origin","include"],cO=["default","no-store","reload","no-cache","force-cache","only-if-cached"],lO=["content-encoding","content-language","content-location","content-type","content-length"],uO=["half"],sv=["CONNECT","TRACE","TRACK"],hO=new Set(sv),ov=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],fO=new Set(ov),gO=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})(),Lc,dO=globalThis.structuredClone??function(t,r=void 0){if(arguments.length===0)throw new TypeError("missing argument");return Lc||(Lc=new $5),Lc.port1.unref(),Lc.port2.unref(),Lc.port1.postMessage(t,r?.transfer),Z5(Lc.port2).message};Av.exports={DOMException:gO,structuredClone:dO,subresource:ov,forbiddenMethods:sv,requestBodyHeader:lO,referrerPolicy:nv,requestRedirect:sO,requestMode:AO,requestCredentials:aO,requestCache:cO,redirectStatus:tv,corsSafeListedMethods:ev,nullBodyStatus:tO,safeMethods:iv,badPorts:rv,requestDuplex:uO,subresourceSet:fO,badPortsSet:nO,redirectStatusSet:rO,corsSafeListedMethodsSet:eO,safeMethodsSet:oO,forbiddenMethodsSet:hO,referrerPolicySet:iO}});var Fc=Re((zZ,av)=>{"use strict";var iI=Symbol.for("undici.globalOrigin.1");function EO(){return globalThis[iI]}function pO(e){if(e===void 0){Object.defineProperty(globalThis,iI,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let t=new URL(e);if(t.protocol!=="http:"&&t.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${t.protocol}`);Object.defineProperty(globalThis,iI,{value:t,writable:!0,enumerable:!1,configurable:!1})}av.exports={getGlobalOrigin:EO,setGlobalOrigin:pO}});var rs=Re((KZ,gv)=>{"use strict";var{redirectStatusSet:CO,referrerPolicySet:IO,badPortsSet:BO}=RA(),{getGlobalOrigin:yO}=Fc(),{performance:QO}=require("perf_hooks"),{isBlobLike:mO,toUSVString:bO,ReadableStreamFrom:wO}=Nt(),Uc=require("assert"),{isUint8Array:vO}=require("util/types"),Ru;try{Ru=require("crypto")}catch{}function cv(e){let t=e.urlList,r=t.length;return r===0?null:t[r-1].toString()}function SO(e,t){if(!CO.has(e.status))return null;let r=e.headersList.get("location");return r!==null&&uv(r)&&(r=new URL(r,cv(e))),r&&!r.hash&&(r.hash=t),r}function _u(e){return e.urlList[e.urlList.length-1]}function RO(e){let t=_u(e);return fv(t)&&BO.has(t.port)?"blocked":"allowed"}function _O(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"}function kO(e){for(let t=0;t=32&&r<=126||r>=128&&r<=255))return!1}return!0}function DO(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return e>=33&&e<=126}}function lv(e){if(e.length===0)return!1;for(let t=0;t0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(IO.has(a)){i=a;break}}i!==""&&(e.referrerPolicy=i)}function LO(){return"allowed"}function FO(){return"success"}function UO(){return"success"}function xO(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t)}function MO(e){let t=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket")t&&e.headersList.append("origin",t);else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&AI(e.origin)&&!AI(_u(e))&&(t=null);break;case"same-origin":tg(e,_u(e))||(t=null);break;default:}t&&e.headersList.append("origin",t)}}function OO(e){return QO.now()}function PO(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function qO(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function VO(e){return{referrerPolicy:e.referrerPolicy}}function HO(e){let t=e.referrerPolicy;Uc(t);let r=null;if(e.referrer==="client"){let c=yO();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else e.referrer instanceof URL&&(r=e.referrer);let n=sI(r),i=sI(r,!0);n.toString().length>4096&&(n=i);let s=tg(e,n),a=Su(n)&&!Su(e.url);switch(t){case"origin":return i??sI(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=_u(e);return tg(n,c)?n:Su(n)&&!Su(c)?"no-referrer":i}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":i}}function sI(e,t){return Uc(e instanceof URL),e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"?"no-referrer":(e.username="",e.password="",e.hash="",t&&(e.pathname="",e.search=""),e)}function Su(e){if(!(e instanceof URL))return!1;if(e.href==="about:blank"||e.href==="about:srcdoc"||e.protocol==="data:"||e.protocol==="file:")return!0;return t(e.origin);function t(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}function GO(e,t){if(Ru===void 0)return!0;let r=JO(t);if(r==="no metadata"||r.length===0)return!0;let n=r.sort((a,c)=>c.algo.localeCompare(a.algo)),i=n[0].algo,s=n.filter(a=>a.algo===i);for(let a of s){let c=a.algo,l=a.hash;l.endsWith("==")&&(l=l.slice(0,-2));let A=Ru.createHash(c).update(e).digest("base64");if(A.endsWith("==")&&(A=A.slice(0,-2)),A===l)return!0;let f=Ru.createHash(c).update(e).digest("base64url");if(f.endsWith("==")&&(f=f.slice(0,-2)),f===l)return!0}return!1}var YO=/((?sha256|sha384|sha512)-(?[A-z0-9+/]{1}.*={0,2}))( +[\x21-\x7e]?)?/i;function JO(e){let t=[],r=!0,n=Ru.getHashes();for(let i of e.split(" ")){r=!1;let s=YO.exec(i);if(s===null||s.groups===void 0)continue;let a=s.groups.algo;n.includes(a.toLowerCase())&&t.push(s.groups)}return r===!0?"no metadata":t}function WO(e){}function tg(e,t){return e.origin===t.origin&&e.origin==="null"||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}function jO(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}function zO(e){return e.controller.state==="aborted"}function KO(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}var aI={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(aI,null);function XO(e){return aI[e.toLowerCase()]??e}function $O(e){let t=JSON.stringify(e);if(t===void 0)throw new TypeError("Value is not JSON serializable");return Uc(typeof t=="string"),t}var ZO=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function e8(e,t,r){let n={index:0,kind:r,target:e},i={next(){if(Object.getPrototypeOf(this)!==i)throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let{index:s,kind:a,target:c}=n,l=c(),A=l.length;if(s>=A)return{value:void 0,done:!0};let f=l[s];return n.index=s+1,t8(f,a)},[Symbol.toStringTag]:`${t} Iterator`};return Object.setPrototypeOf(i,ZO),Object.setPrototypeOf({},i)}function t8(e,t){let r;switch(t){case"key":{r=e[0];break}case"value":{r=e[1];break}case"key+value":{r=e;break}}return{value:r,done:!1}}async function r8(e,t,r){let n=t,i=r,s;try{s=e.stream.getReader()}catch(a){i(a);return}try{let a=await hv(s);n(a)}catch(a){i(a)}}var oI=globalThis.ReadableStream;function n8(e){return oI||(oI=require("stream/web").ReadableStream),e instanceof oI||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee=="function"}var i8=65535;function s8(e){return e.lengtht+String.fromCharCode(r),"")}function o8(e){try{e.close()}catch(t){if(!t.message.includes("Controller is already closed"))throw t}}function A8(e){for(let t=0;tObject.prototype.hasOwnProperty.call(e,t));gv.exports={isAborted:zO,isCancelled:KO,createDeferredPromise:jO,ReadableStreamFrom:wO,toUSVString:bO,tryUpgradeRequestToAPotentiallyTrustworthyURL:WO,coarsenedSharedCurrentTime:OO,determineRequestsReferrer:HO,makePolicyContainer:qO,clonePolicyContainer:VO,appendFetchMetadata:xO,appendRequestOriginHeader:MO,TAOCheck:UO,corsCheck:FO,crossOriginResourcePolicyCheck:LO,createOpaqueTimingInfo:PO,setRequestReferrerPolicyOnRedirect:TO,isValidHTTPToken:lv,requestBadPort:RO,requestCurrentURL:_u,responseURL:cv,responseLocationURL:SO,isBlobLike:mO,isURLPotentiallyTrustworthy:Su,isValidReasonPhrase:kO,sameOrigin:tg,normalizeMethod:XO,serializeJavascriptValueToJSONString:$O,makeIterator:e8,isValidHeaderName:NO,isValidHeaderValue:uv,hasOwn:c8,isErrorLike:_O,fullyReadBody:r8,bytesMatch:GO,isReadableStreamLike:n8,readableStreamClose:o8,isomorphicEncode:A8,isomorphicDecode:s8,urlIsLocal:a8,urlHasHttpsScheme:AI,urlIsHttpHttpsScheme:fv,readAllBytes:hv,normalizeMethodRecord:aI}});var Oo=Re((XZ,dv)=>{"use strict";dv.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}});var jn=Re(($Z,pv)=>{"use strict";var{types:Gs}=require("util"),{hasOwn:Ev,toUSVString:l8}=rs(),xe={};xe.converters={};xe.util={};xe.errors={};xe.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};xe.errors.conversionFailed=function(e){let t=e.types.length===1?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return xe.errors.exception({header:e.prefix,message:r})};xe.errors.invalidArgument=function(e){return xe.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};xe.brandCheck=function(e,t,r=void 0){if(r?.strict!==!1&&!(e instanceof t))throw new TypeError("Illegal invocation");return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]};xe.argumentLengthCheck=function({length:e},t,r){if(ei)throw xe.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=xe.util.IntegerPart(a),a=a%Math.pow(2,t),r==="signed"&&a>=Math.pow(2,t)-1?a-Math.pow(2,t):a)};xe.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t};xe.sequenceConverter=function(e){return t=>{if(xe.util.Type(t)!=="Object")throw xe.errors.exception({header:"Sequence",message:`Value of type ${xe.util.Type(t)} is not an Object.`});let r=t?.[Symbol.iterator]?.(),n=[];if(r===void 0||typeof r.next!="function")throw xe.errors.exception({header:"Sequence",message:"Object is not an iterator."});for(;;){let{done:i,value:s}=r.next();if(i)break;n.push(e(s))}return n}};xe.recordConverter=function(e,t){return r=>{if(xe.util.Type(r)!=="Object")throw xe.errors.exception({header:"Record",message:`Value of type ${xe.util.Type(r)} is not an Object.`});let n={};if(!Gs.isProxy(r)){let s=Object.keys(r);for(let a of s){let c=e(a),l=t(r[a]);n[c]=l}return n}let i=Reflect.ownKeys(r);for(let s of i)if(Reflect.getOwnPropertyDescriptor(r,s)?.enumerable){let c=e(s),l=t(r[s]);n[c]=l}return n}};xe.interfaceConverter=function(e){return(t,r={})=>{if(r.strict!==!1&&!(t instanceof e))throw xe.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`});return t}};xe.dictionaryConverter=function(e){return t=>{let r=xe.util.Type(t),n={};if(r==="Null"||r==="Undefined")return n;if(r!=="Object")throw xe.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let i of e){let{key:s,defaultValue:a,required:c,converter:l}=i;if(c===!0&&!Ev(t,s))throw xe.errors.exception({header:"Dictionary",message:`Missing required key "${s}".`});let A=t[s],f=Ev(i,"defaultValue");if(f&&A!==null&&(A=A??a),c||f||A!==void 0){if(A=l(A),i.allowedValues&&!i.allowedValues.includes(A))throw xe.errors.exception({header:"Dictionary",message:`${A} is not an accepted type. Expected one of ${i.allowedValues.join(", ")}.`});n[s]=A}}return n}};xe.nullableConverter=function(e){return t=>t===null?t:e(t)};xe.converters.DOMString=function(e,t={}){if(e===null&&t.legacyNullToEmptyString)return"";if(typeof e=="symbol")throw new TypeError("Could not convert argument of type symbol to string.");return String(e)};xe.converters.ByteString=function(e){let t=xe.converters.DOMString(e);for(let r=0;r255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${r} has a value of ${t.charCodeAt(r)} which is greater than 255.`);return t};xe.converters.USVString=l8;xe.converters.boolean=function(e){return!!e};xe.converters.any=function(e){return e};xe.converters["long long"]=function(e){return xe.util.ConvertToInt(e,64,"signed")};xe.converters["unsigned long long"]=function(e){return xe.util.ConvertToInt(e,64,"unsigned")};xe.converters["unsigned long"]=function(e){return xe.util.ConvertToInt(e,32,"unsigned")};xe.converters["unsigned short"]=function(e,t){return xe.util.ConvertToInt(e,16,"unsigned",t)};xe.converters.ArrayBuffer=function(e,t={}){if(xe.util.Type(e)!=="Object"||!Gs.isAnyArrayBuffer(e))throw xe.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]});if(t.allowShared===!1&&Gs.isSharedArrayBuffer(e))throw xe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return e};xe.converters.TypedArray=function(e,t,r={}){if(xe.util.Type(e)!=="Object"||!Gs.isTypedArray(e)||e.constructor.name!==t.name)throw xe.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]});if(r.allowShared===!1&&Gs.isSharedArrayBuffer(e.buffer))throw xe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return e};xe.converters.DataView=function(e,t={}){if(xe.util.Type(e)!=="Object"||!Gs.isDataView(e))throw xe.errors.exception({header:"DataView",message:"Object is not a DataView."});if(t.allowShared===!1&&Gs.isSharedArrayBuffer(e.buffer))throw xe.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return e};xe.converters.BufferSource=function(e,t={}){if(Gs.isAnyArrayBuffer(e))return xe.converters.ArrayBuffer(e,t);if(Gs.isTypedArray(e))return xe.converters.TypedArray(e,e.constructor);if(Gs.isDataView(e))return xe.converters.DataView(e,t);throw new TypeError(`Could not convert ${e} to a BufferSource.`)};xe.converters["sequence"]=xe.sequenceConverter(xe.converters.ByteString);xe.converters["sequence>"]=xe.sequenceConverter(xe.converters["sequence"]);xe.converters["record"]=xe.recordConverter(xe.converters.ByteString,xe.converters.ByteString);pv.exports={webidl:xe}});var Cs=Re((ZZ,mv)=>{var ng=require("assert"),{atob:u8}=require("buffer"),{isomorphicDecode:h8}=rs(),f8=new TextEncoder,rg=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/,g8=/(\u000A|\u000D|\u0009|\u0020)/,d8=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function E8(e){ng(e.protocol==="data:");let t=Bv(e,!0);t=t.slice(5);let r={position:0},n=xc(",",t,r),i=n.length;if(n=B8(n,!0,!0),r.position>=t.length)return"failure";r.position++;let s=t.slice(i+1),a=yv(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=h8(a);if(a=C8(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=lI(n);return c==="failure"&&(c=lI("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}function Bv(e,t=!1){if(!t)return e.href;let r=e.href,n=e.hash.length;return n===0?r:r.substring(0,r.length-n)}function ig(e,t,r){let n="";for(;r.positione.length)return"failure";t.position++;let n=xc(";",e,t);if(n=cI(n,!1,!0),n.length===0||!rg.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;t.positiong8.test(A),e,t);let c=ig(A=>A!==";"&&A!=="=",e,t);if(c=c.toLowerCase(),t.positione.length)break;let l=null;if(e[t.position]==='"')l=Qv(e,t,!0),xc(";",e,t);else if(l=xc(";",e,t),l=cI(l,!1,!0),l.length===0)continue;c.length!==0&&rg.test(c)&&(l.length===0||d8.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}function C8(e){if(e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,""),e.length%4===0&&(e=e.replace(/=?=$/,"")),e.length%4===1||/[^+/0-9A-Za-z]/.test(e))return"failure";let t=u8(e),r=new Uint8Array(t.length);for(let n=0;na!=='"'&&a!=="\\",e,t),!(t.position>=e.length);){let s=e[t.position];if(t.position++,s==="\\"){if(t.position>=e.length){i+="\\";break}i+=e[t.position],t.position++}else{ng(s==='"');break}}return r?i:e.slice(n,t.position)}function I8(e){ng(e!=="failure");let{parameters:t,essence:r}=e,n=r;for(let[i,s]of t.entries())n+=";",n+=i,n+="=",rg.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}function Cv(e){return e==="\r"||e===` `||e===" "||e===" "}function cI(e,t=!0,r=!0){let n=0,i=e.length-1;if(t)for(;n0&&Cv(e[i]);i--);return e.slice(n,i+1)}function Iv(e){return e==="\r"||e===` -`||e===" "||e==="\f"||e===" "}function I8(e,t=!0,r=!0){let n=0,i=e.length-1;if(t)for(;n0&&Iv(e[i]);i--);return e.slice(n,i+1)}mv.exports={dataURLProcessor:d8,URLSerializer:Bv,collectASequenceOfCodePoints:ig,collectASequenceOfCodePointsFast:xc,stringPercentDecode:yv,parseMIMEType:lI,collectAnHTTPQuotedString:Qv,serializeAMimeType:C8}});var sg=Re((eee,Rv)=>{"use strict";var{Blob:vv,File:bv}=require("buffer"),{types:uI}=require("util"),{kState:Ti}=Oo(),{isBlobLike:Sv}=rs(),{webidl:jt}=jn(),{parseMIMEType:B8,serializeAMimeType:y8}=Cs(),{kEnumerableProperty:wv}=Nt(),Q8=new TextEncoder,ku=class e extends vv{constructor(t,r,n={}){jt.argumentLengthCheck(arguments,2,{header:"File constructor"}),t=jt.converters["sequence"](t),r=jt.converters.USVString(r),n=jt.converters.FilePropertyBag(n);let i=r,s=n.type,a;e:{if(s){if(s=B8(s),s==="failure"){s="";break e}s=y8(s).toLowerCase()}a=n.lastModified}super(m8(t,n),{type:s}),this[Ti]={name:i,lastModified:a,type:s}}get name(){return jt.brandCheck(this,e),this[Ti].name}get lastModified(){return jt.brandCheck(this,e),this[Ti].lastModified}get type(){return jt.brandCheck(this,e),this[Ti].type}},hI=class e{constructor(t,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Ti]={blobLike:t,name:i,type:s,lastModified:a}}stream(...t){return jt.brandCheck(this,e),this[Ti].blobLike.stream(...t)}arrayBuffer(...t){return jt.brandCheck(this,e),this[Ti].blobLike.arrayBuffer(...t)}slice(...t){return jt.brandCheck(this,e),this[Ti].blobLike.slice(...t)}text(...t){return jt.brandCheck(this,e),this[Ti].blobLike.text(...t)}get size(){return jt.brandCheck(this,e),this[Ti].blobLike.size}get type(){return jt.brandCheck(this,e),this[Ti].blobLike.type}get name(){return jt.brandCheck(this,e),this[Ti].name}get lastModified(){return jt.brandCheck(this,e),this[Ti].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(ku.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:wv,lastModified:wv});jt.converters.Blob=jt.interfaceConverter(vv);jt.converters.BlobPart=function(e,t){if(jt.util.Type(e)==="Object"){if(Sv(e))return jt.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||uI.isAnyArrayBuffer(e))return jt.converters.BufferSource(e,t)}return jt.converters.USVString(e,t)};jt.converters["sequence"]=jt.sequenceConverter(jt.converters.BlobPart);jt.converters.FilePropertyBag=jt.dictionaryConverter([{key:"lastModified",converter:jt.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:jt.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>(e=jt.converters.DOMString(e),e=e.toLowerCase(),e!=="native"&&(e="transparent"),e),defaultValue:"transparent"}]);function m8(e,t){let r=[];for(let n of e)if(typeof n=="string"){let i=n;t.endings==="native"&&(i=b8(i)),r.push(Q8.encode(i))}else uI.isAnyArrayBuffer(n)||uI.isTypedArray(n)?n.buffer?r.push(new Uint8Array(n.buffer,n.byteOffset,n.byteLength)):r.push(new Uint8Array(n)):Sv(n)&&r.push(n);return r}function b8(e){let t=` +`||e===" "||e==="\f"||e===" "}function B8(e,t=!0,r=!0){let n=0,i=e.length-1;if(t)for(;n0&&Iv(e[i]);i--);return e.slice(n,i+1)}mv.exports={dataURLProcessor:E8,URLSerializer:Bv,collectASequenceOfCodePoints:ig,collectASequenceOfCodePointsFast:xc,stringPercentDecode:yv,parseMIMEType:lI,collectAnHTTPQuotedString:Qv,serializeAMimeType:I8}});var sg=Re((eee,Rv)=>{"use strict";var{Blob:vv,File:bv}=require("buffer"),{types:uI}=require("util"),{kState:Ti}=Oo(),{isBlobLike:Sv}=rs(),{webidl:jt}=jn(),{parseMIMEType:y8,serializeAMimeType:Q8}=Cs(),{kEnumerableProperty:wv}=Nt(),m8=new TextEncoder,ku=class e extends vv{constructor(t,r,n={}){jt.argumentLengthCheck(arguments,2,{header:"File constructor"}),t=jt.converters["sequence"](t),r=jt.converters.USVString(r),n=jt.converters.FilePropertyBag(n);let i=r,s=n.type,a;e:{if(s){if(s=y8(s),s==="failure"){s="";break e}s=Q8(s).toLowerCase()}a=n.lastModified}super(b8(t,n),{type:s}),this[Ti]={name:i,lastModified:a,type:s}}get name(){return jt.brandCheck(this,e),this[Ti].name}get lastModified(){return jt.brandCheck(this,e),this[Ti].lastModified}get type(){return jt.brandCheck(this,e),this[Ti].type}},hI=class e{constructor(t,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Ti]={blobLike:t,name:i,type:s,lastModified:a}}stream(...t){return jt.brandCheck(this,e),this[Ti].blobLike.stream(...t)}arrayBuffer(...t){return jt.brandCheck(this,e),this[Ti].blobLike.arrayBuffer(...t)}slice(...t){return jt.brandCheck(this,e),this[Ti].blobLike.slice(...t)}text(...t){return jt.brandCheck(this,e),this[Ti].blobLike.text(...t)}get size(){return jt.brandCheck(this,e),this[Ti].blobLike.size}get type(){return jt.brandCheck(this,e),this[Ti].blobLike.type}get name(){return jt.brandCheck(this,e),this[Ti].name}get lastModified(){return jt.brandCheck(this,e),this[Ti].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(ku.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:wv,lastModified:wv});jt.converters.Blob=jt.interfaceConverter(vv);jt.converters.BlobPart=function(e,t){if(jt.util.Type(e)==="Object"){if(Sv(e))return jt.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||uI.isAnyArrayBuffer(e))return jt.converters.BufferSource(e,t)}return jt.converters.USVString(e,t)};jt.converters["sequence"]=jt.sequenceConverter(jt.converters.BlobPart);jt.converters.FilePropertyBag=jt.dictionaryConverter([{key:"lastModified",converter:jt.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:jt.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>(e=jt.converters.DOMString(e),e=e.toLowerCase(),e!=="native"&&(e="transparent"),e),defaultValue:"transparent"}]);function b8(e,t){let r=[];for(let n of e)if(typeof n=="string"){let i=n;t.endings==="native"&&(i=w8(i)),r.push(m8.encode(i))}else uI.isAnyArrayBuffer(n)||uI.isTypedArray(n)?n.buffer?r.push(new Uint8Array(n.buffer,n.byteOffset,n.byteLength)):r.push(new Uint8Array(n)):Sv(n)&&r.push(n);return r}function w8(e){let t=` `;return process.platform==="win32"&&(t=`\r -`),e.replace(/\r?\n/g,t)}function w8(e){return bv&&e instanceof bv||e instanceof ku||e&&(typeof e.stream=="function"||typeof e.arrayBuffer=="function")&&e[Symbol.toStringTag]==="File"}Rv.exports={File:ku,FileLike:hI,isFileLike:w8}});var Ag=Re((tee,Tv)=>{"use strict";var{isBlobLike:og,toUSVString:v8,makeIterator:fI}=rs(),{kState:Ln}=Oo(),{File:Nv,FileLike:_v,isFileLike:S8}=sg(),{webidl:Xt}=jn(),{Blob:R8,File:gI}=require("buffer"),kv=gI??Nv,Mc=class e{constructor(t){if(t!==void 0)throw Xt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Ln]=[]}append(t,r,n=void 0){if(Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!og(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");t=Xt.converters.USVString(t),r=og(r)?Xt.converters.Blob(r,{strict:!1}):Xt.converters.USVString(r),n=arguments.length===3?Xt.converters.USVString(n):void 0;let i=Dv(t,r,n);this[Ln].push(i)}delete(t){Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),t=Xt.converters.USVString(t),this[Ln]=this[Ln].filter(r=>r.name!==t)}get(t){Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.get"}),t=Xt.converters.USVString(t);let r=this[Ln].findIndex(n=>n.name===t);return r===-1?null:this[Ln][r].value}getAll(t){return Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),t=Xt.converters.USVString(t),this[Ln].filter(r=>r.name===t).map(r=>r.value)}has(t){return Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.has"}),t=Xt.converters.USVString(t),this[Ln].findIndex(r=>r.name===t)!==-1}set(t,r,n=void 0){if(Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!og(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");t=Xt.converters.USVString(t),r=og(r)?Xt.converters.Blob(r,{strict:!1}):Xt.converters.USVString(r),n=arguments.length===3?v8(n):void 0;let i=Dv(t,r,n),s=this[Ln].findIndex(a=>a.name===t);s!==-1?this[Ln]=[...this[Ln].slice(0,s),i,...this[Ln].slice(s+1).filter(a=>a.name!==t)]:this[Ln].push(i)}entries(){return Xt.brandCheck(this,e),fI(()=>this[Ln].map(t=>[t.name,t.value]),"FormData","key+value")}keys(){return Xt.brandCheck(this,e),fI(()=>this[Ln].map(t=>[t.name,t.value]),"FormData","key")}values(){return Xt.brandCheck(this,e),fI(()=>this[Ln].map(t=>[t.name,t.value]),"FormData","value")}forEach(t,r=globalThis){if(Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof t!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[n,i]of this)t.apply(r,[i,n,this])}};Mc.prototype[Symbol.iterator]=Mc.prototype.entries;Object.defineProperties(Mc.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Dv(e,t,r){if(e=Buffer.from(e).toString("utf8"),typeof t=="string")t=Buffer.from(t).toString("utf8");else if(S8(t)||(t=t instanceof R8?new kv([t],"blob",{type:t.type}):new _v(t,"blob",{type:t.type})),r!==void 0){let n={type:t.type,lastModified:t.lastModified};t=gI&&t instanceof gI||t instanceof Nv?new kv([t],r,n):new _v(t,r,n)}return{name:e,value:t}}Tv.exports={FormData:Mc}});var Du=Re((ree,Vv)=>{"use strict";var _8=Zw(),Oc=Nt(),{ReadableStreamFrom:k8,isBlobLike:Lv,isReadableStreamLike:D8,readableStreamClose:N8,createDeferredPromise:T8,fullyReadBody:L8}=rs(),{FormData:Fv}=Ag(),{kState:qo}=Oo(),{webidl:dI}=jn(),{DOMException:Mv,structuredClone:F8}=RA(),{Blob:U8,File:x8}=require("buffer"),{kBodyUsed:M8}=lr(),EI=require("assert"),{isErrored:O8}=Nt(),{isUint8Array:Ov,isArrayBuffer:P8}=require("util/types"),{File:q8}=sg(),{parseMIMEType:V8,serializeAMimeType:H8}=Cs(),Po=globalThis.ReadableStream,Uv=x8??q8,ag=new TextEncoder,G8=new TextDecoder;function Pv(e,t=!1){Po||(Po=require("stream/web").ReadableStream);let r=null;e instanceof Po?r=e:Lv(e)?r=e.stream():r=new Po({async pull(l){l.enqueue(typeof i=="string"?ag.encode(i):i),queueMicrotask(()=>N8(l))},start(){},type:void 0}),EI(D8(r));let n=null,i=null,s=null,a=null;if(typeof e=="string")i=e,a="text/plain;charset=UTF-8";else if(e instanceof URLSearchParams)i=e.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(P8(e))i=new Uint8Array(e.slice());else if(ArrayBuffer.isView(e))i=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength));else if(Oc.isFormDataLike(e)){let l=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`,A=`--${l}\r +`),e.replace(/\r?\n/g,t)}function v8(e){return bv&&e instanceof bv||e instanceof ku||e&&(typeof e.stream=="function"||typeof e.arrayBuffer=="function")&&e[Symbol.toStringTag]==="File"}Rv.exports={File:ku,FileLike:hI,isFileLike:v8}});var Ag=Re((tee,Tv)=>{"use strict";var{isBlobLike:og,toUSVString:S8,makeIterator:fI}=rs(),{kState:Ln}=Oo(),{File:Nv,FileLike:_v,isFileLike:R8}=sg(),{webidl:Xt}=jn(),{Blob:_8,File:gI}=require("buffer"),kv=gI??Nv,Mc=class e{constructor(t){if(t!==void 0)throw Xt.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Ln]=[]}append(t,r,n=void 0){if(Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!og(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");t=Xt.converters.USVString(t),r=og(r)?Xt.converters.Blob(r,{strict:!1}):Xt.converters.USVString(r),n=arguments.length===3?Xt.converters.USVString(n):void 0;let i=Dv(t,r,n);this[Ln].push(i)}delete(t){Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),t=Xt.converters.USVString(t),this[Ln]=this[Ln].filter(r=>r.name!==t)}get(t){Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.get"}),t=Xt.converters.USVString(t);let r=this[Ln].findIndex(n=>n.name===t);return r===-1?null:this[Ln][r].value}getAll(t){return Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),t=Xt.converters.USVString(t),this[Ln].filter(r=>r.name===t).map(r=>r.value)}has(t){return Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.has"}),t=Xt.converters.USVString(t),this[Ln].findIndex(r=>r.name===t)!==-1}set(t,r,n=void 0){if(Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!og(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");t=Xt.converters.USVString(t),r=og(r)?Xt.converters.Blob(r,{strict:!1}):Xt.converters.USVString(r),n=arguments.length===3?S8(n):void 0;let i=Dv(t,r,n),s=this[Ln].findIndex(a=>a.name===t);s!==-1?this[Ln]=[...this[Ln].slice(0,s),i,...this[Ln].slice(s+1).filter(a=>a.name!==t)]:this[Ln].push(i)}entries(){return Xt.brandCheck(this,e),fI(()=>this[Ln].map(t=>[t.name,t.value]),"FormData","key+value")}keys(){return Xt.brandCheck(this,e),fI(()=>this[Ln].map(t=>[t.name,t.value]),"FormData","key")}values(){return Xt.brandCheck(this,e),fI(()=>this[Ln].map(t=>[t.name,t.value]),"FormData","value")}forEach(t,r=globalThis){if(Xt.brandCheck(this,e),Xt.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof t!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[n,i]of this)t.apply(r,[i,n,this])}};Mc.prototype[Symbol.iterator]=Mc.prototype.entries;Object.defineProperties(Mc.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Dv(e,t,r){if(e=Buffer.from(e).toString("utf8"),typeof t=="string")t=Buffer.from(t).toString("utf8");else if(R8(t)||(t=t instanceof _8?new kv([t],"blob",{type:t.type}):new _v(t,"blob",{type:t.type})),r!==void 0){let n={type:t.type,lastModified:t.lastModified};t=gI&&t instanceof gI||t instanceof Nv?new kv([t],r,n):new _v(t,r,n)}return{name:e,value:t}}Tv.exports={FormData:Mc}});var Du=Re((ree,Vv)=>{"use strict";var k8=Zw(),Oc=Nt(),{ReadableStreamFrom:D8,isBlobLike:Lv,isReadableStreamLike:N8,readableStreamClose:T8,createDeferredPromise:L8,fullyReadBody:F8}=rs(),{FormData:Fv}=Ag(),{kState:qo}=Oo(),{webidl:dI}=jn(),{DOMException:Mv,structuredClone:U8}=RA(),{Blob:x8,File:M8}=require("buffer"),{kBodyUsed:O8}=lr(),EI=require("assert"),{isErrored:P8}=Nt(),{isUint8Array:Ov,isArrayBuffer:q8}=require("util/types"),{File:V8}=sg(),{parseMIMEType:H8,serializeAMimeType:G8}=Cs(),Po=globalThis.ReadableStream,Uv=M8??V8,ag=new TextEncoder,Y8=new TextDecoder;function Pv(e,t=!1){Po||(Po=require("stream/web").ReadableStream);let r=null;e instanceof Po?r=e:Lv(e)?r=e.stream():r=new Po({async pull(l){l.enqueue(typeof i=="string"?ag.encode(i):i),queueMicrotask(()=>T8(l))},start(){},type:void 0}),EI(N8(r));let n=null,i=null,s=null,a=null;if(typeof e=="string")i=e,a="text/plain;charset=UTF-8";else if(e instanceof URLSearchParams)i=e.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(q8(e))i=new Uint8Array(e.slice());else if(ArrayBuffer.isView(e))i=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength));else if(Oc.isFormDataLike(e)){let l=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`,A=`--${l}\r Content-Disposition: form-data`;let f=Q=>Q.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),h=Q=>Q.replace(/\r?\n|\r/g,`\r `),g=[],b=new Uint8Array([13,10]);s=0;let C=!1;for(let[Q,R]of e)if(typeof R=="string"){let _=ag.encode(A+`; name="${f(h(Q))}"\r \r @@ -18,12 +18,12 @@ ${h(R)}\r `);g.push(_),s+=_.byteLength}else{let _=ag.encode(`${A}; name="${f(h(Q))}"`+(R.name?`; filename="${f(R.name)}"`:"")+`\r Content-Type: ${R.type||"application/octet-stream"}\r \r -`);g.push(_,R,b),typeof R.size=="number"?s+=_.byteLength+R.size+b.byteLength:C=!0}let p=ag.encode(`--${l}--`);g.push(p),s+=p.byteLength,C&&(s=null),i=e,n=async function*(){for(let Q of g)Q.stream?yield*Q.stream():yield Q},a="multipart/form-data; boundary="+l}else if(Lv(e))i=e,s=e.size,e.type&&(a=e.type);else if(typeof e[Symbol.asyncIterator]=="function"){if(t)throw new TypeError("keepalive");if(Oc.isDisturbed(e)||e.locked)throw new TypeError("Response body object should not be disturbed or locked");r=e instanceof Po?e:k8(e)}if((typeof i=="string"||Oc.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new Po({async start(){l=n(e)[Symbol.asyncIterator]()},async pull(A){let{value:f,done:h}=await l.next();return h?queueMicrotask(()=>{A.close()}):O8(r)||A.enqueue(new Uint8Array(f)),A.desiredSize>0},async cancel(A){await l.return()},type:void 0})}return[{stream:r,source:i,length:s},a]}function Y8(e,t=!1){return Po||(Po=require("stream/web").ReadableStream),e instanceof Po&&(EI(!Oc.isDisturbed(e),"The body has already been consumed."),EI(!e.locked,"The stream is locked.")),Pv(e,t)}function J8(e){let[t,r]=e.stream.tee(),n=F8(r,{transfer:[r]}),[,i]=n.tee();return e.stream=t,{stream:i,length:e.length,source:e.source}}async function*xv(e){if(e)if(Ov(e))yield e;else{let t=e.stream;if(Oc.isDisturbed(t))throw new TypeError("The body has already been consumed.");if(t.locked)throw new TypeError("The stream is locked.");t[M8]=!0,yield*t}}function pI(e){if(e.aborted)throw new Mv("The operation was aborted.","AbortError")}function W8(e){return{blob(){return cg(this,r=>{let n=X8(this);return n==="failure"?n="":n&&(n=H8(n)),new U8([r],{type:n})},e)},arrayBuffer(){return cg(this,r=>new Uint8Array(r).buffer,e)},text(){return cg(this,qv,e)},json(){return cg(this,K8,e)},async formData(){dI.brandCheck(this,e),pI(this[qo]);let r=this.headers.get("Content-Type");if(/multipart\/form-data/.test(r)){let n={};for(let[c,l]of this.headers)n[c.toLowerCase()]=l;let i=new Fv,s;try{s=new _8({headers:n,preservePath:!0})}catch(c){throw new Mv(`${c}`,"AbortError")}s.on("field",(c,l)=>{i.append(c,l)}),s.on("file",(c,l,A,f,h)=>{let g=[];if(f==="base64"||f.toLowerCase()==="base64"){let b="";l.on("data",C=>{b+=C.toString().replace(/[\r\n]/gm,"");let p=b.length-b.length%4;g.push(Buffer.from(b.slice(0,p),"base64")),b=b.slice(p)}),l.on("end",()=>{g.push(Buffer.from(b,"base64")),i.append(c,new Uv(g,A,{type:h}))})}else l.on("data",b=>{g.push(b)}),l.on("end",()=>{i.append(c,new Uv(g,A,{type:h}))})});let a=new Promise((c,l)=>{s.on("finish",c),s.on("error",A=>l(new TypeError(A)))});if(this.body!==null)for await(let c of xv(this[qo].body))s.write(c);return s.end(),await a,i}else if(/application\/x-www-form-urlencoded/.test(r)){let n;try{let s="",a=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let c of xv(this[qo].body)){if(!Ov(c))throw new TypeError("Expected Uint8Array chunk");s+=a.decode(c,{stream:!0})}s+=a.decode(),n=new URLSearchParams(s)}catch(s){throw Object.assign(new TypeError,{cause:s})}let i=new Fv;for(let[s,a]of n)i.append(s,a);return i}else throw await Promise.resolve(),pI(this[qo]),dI.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}}function j8(e){Object.assign(e.prototype,W8(e))}async function cg(e,t,r){if(dI.brandCheck(e,r),pI(e[qo]),z8(e[qo].body))throw new TypeError("Body is unusable");let n=T8(),i=a=>n.reject(a),s=a=>{try{n.resolve(t(a))}catch(c){i(c)}};return e[qo].body==null?(s(new Uint8Array),n.promise):(await L8(e[qo].body,s,i),n.promise)}function z8(e){return e!=null&&(e.stream.locked||Oc.isDisturbed(e.stream))}function qv(e){return e.length===0?"":(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),G8.decode(e))}function K8(e){return JSON.parse(qv(e))}function X8(e){let{headersList:t}=e[qo],r=t.get("content-type");return r===null?"failure":V8(r)}Vv.exports={extractBody:Pv,safelyExtractBody:Y8,cloneBody:J8,mixinBody:j8}});var Jv=Re((nee,Yv)=>{"use strict";var{InvalidArgumentError:ur,NotSupportedError:$8}=Ar(),Vo=require("assert"),{kHTTP2BuildRequest:Z8,kHTTP2CopyHeaders:e6,kHTTP1BuildRequest:t6}=lr(),ui=Nt(),Hv=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,Gv=/[^\t\x20-\x7e\x80-\xff]/,r6=/[^\u0021-\u00ff]/,Is=Symbol("handler"),$r={},CI;try{let e=require("diagnostics_channel");$r.create=e.channel("undici:request:create"),$r.bodySent=e.channel("undici:request:bodySent"),$r.headers=e.channel("undici:request:headers"),$r.trailers=e.channel("undici:request:trailers"),$r.error=e.channel("undici:request:error")}catch{$r.create={hasSubscribers:!1},$r.bodySent={hasSubscribers:!1},$r.headers={hasSubscribers:!1},$r.trailers={hasSubscribers:!1},$r.error={hasSubscribers:!1}}var II=class e{constructor(t,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:f,bodyTimeout:h,reset:g,throwOnError:b,expectContinue:C},p){if(typeof r!="string")throw new ur("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new ur("path must be an absolute URL or start with a slash");if(r6.exec(r)!==null)throw new ur("invalid request path");if(typeof n!="string")throw new ur("method must be a string");if(Hv.exec(n)===null)throw new ur("invalid request method");if(A&&typeof A!="string")throw new ur("upgrade must be a string");if(f!=null&&(!Number.isFinite(f)||f<0))throw new ur("invalid headersTimeout");if(h!=null&&(!Number.isFinite(h)||h<0))throw new ur("invalid bodyTimeout");if(g!=null&&typeof g!="boolean")throw new ur("invalid reset");if(C!=null&&typeof C!="boolean")throw new ur("invalid expectContinue");if(this.headersTimeout=f,this.bodyTimeout=h,this.throwOnError=b===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(ui.isStream(i)){this.body=i;let Q=this.body._readableState;(!Q||!Q.autoDestroy)&&(this.endHandler=function(){ui.destroy(this)},this.body.on("end",this.endHandler)),this.errorHandler=R=>{this.abort?this.abort(R):this.error=R},this.body.on("error",this.errorHandler)}else if(ui.isBuffer(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(ui.isFormDataLike(i)||ui.isIterable(i)||ui.isBlobLike(i))this.body=i;else throw new ur("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?ui.buildURL(r,a):r,this.origin=t,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=g??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers="",this.expectContinue=C??!1,Array.isArray(s)){if(s.length%2!==0)throw new ur("headers array must be even");for(let Q=0;Q{A.close()}):P8(r)||A.enqueue(new Uint8Array(f)),A.desiredSize>0},async cancel(A){await l.return()},type:void 0})}return[{stream:r,source:i,length:s},a]}function J8(e,t=!1){return Po||(Po=require("stream/web").ReadableStream),e instanceof Po&&(EI(!Oc.isDisturbed(e),"The body has already been consumed."),EI(!e.locked,"The stream is locked.")),Pv(e,t)}function W8(e){let[t,r]=e.stream.tee(),n=U8(r,{transfer:[r]}),[,i]=n.tee();return e.stream=t,{stream:i,length:e.length,source:e.source}}async function*xv(e){if(e)if(Ov(e))yield e;else{let t=e.stream;if(Oc.isDisturbed(t))throw new TypeError("The body has already been consumed.");if(t.locked)throw new TypeError("The stream is locked.");t[O8]=!0,yield*t}}function pI(e){if(e.aborted)throw new Mv("The operation was aborted.","AbortError")}function j8(e){return{blob(){return cg(this,r=>{let n=$8(this);return n==="failure"?n="":n&&(n=G8(n)),new x8([r],{type:n})},e)},arrayBuffer(){return cg(this,r=>new Uint8Array(r).buffer,e)},text(){return cg(this,qv,e)},json(){return cg(this,X8,e)},async formData(){dI.brandCheck(this,e),pI(this[qo]);let r=this.headers.get("Content-Type");if(/multipart\/form-data/.test(r)){let n={};for(let[c,l]of this.headers)n[c.toLowerCase()]=l;let i=new Fv,s;try{s=new k8({headers:n,preservePath:!0})}catch(c){throw new Mv(`${c}`,"AbortError")}s.on("field",(c,l)=>{i.append(c,l)}),s.on("file",(c,l,A,f,h)=>{let g=[];if(f==="base64"||f.toLowerCase()==="base64"){let b="";l.on("data",C=>{b+=C.toString().replace(/[\r\n]/gm,"");let p=b.length-b.length%4;g.push(Buffer.from(b.slice(0,p),"base64")),b=b.slice(p)}),l.on("end",()=>{g.push(Buffer.from(b,"base64")),i.append(c,new Uv(g,A,{type:h}))})}else l.on("data",b=>{g.push(b)}),l.on("end",()=>{i.append(c,new Uv(g,A,{type:h}))})});let a=new Promise((c,l)=>{s.on("finish",c),s.on("error",A=>l(new TypeError(A)))});if(this.body!==null)for await(let c of xv(this[qo].body))s.write(c);return s.end(),await a,i}else if(/application\/x-www-form-urlencoded/.test(r)){let n;try{let s="",a=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let c of xv(this[qo].body)){if(!Ov(c))throw new TypeError("Expected Uint8Array chunk");s+=a.decode(c,{stream:!0})}s+=a.decode(),n=new URLSearchParams(s)}catch(s){throw Object.assign(new TypeError,{cause:s})}let i=new Fv;for(let[s,a]of n)i.append(s,a);return i}else throw await Promise.resolve(),pI(this[qo]),dI.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}}function z8(e){Object.assign(e.prototype,j8(e))}async function cg(e,t,r){if(dI.brandCheck(e,r),pI(e[qo]),K8(e[qo].body))throw new TypeError("Body is unusable");let n=L8(),i=a=>n.reject(a),s=a=>{try{n.resolve(t(a))}catch(c){i(c)}};return e[qo].body==null?(s(new Uint8Array),n.promise):(await F8(e[qo].body,s,i),n.promise)}function K8(e){return e!=null&&(e.stream.locked||Oc.isDisturbed(e.stream))}function qv(e){return e.length===0?"":(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),Y8.decode(e))}function X8(e){return JSON.parse(qv(e))}function $8(e){let{headersList:t}=e[qo],r=t.get("content-type");return r===null?"failure":H8(r)}Vv.exports={extractBody:Pv,safelyExtractBody:J8,cloneBody:W8,mixinBody:z8}});var Jv=Re((nee,Yv)=>{"use strict";var{InvalidArgumentError:ur,NotSupportedError:Z8}=Ar(),Vo=require("assert"),{kHTTP2BuildRequest:e6,kHTTP2CopyHeaders:t6,kHTTP1BuildRequest:r6}=lr(),ui=Nt(),Hv=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,Gv=/[^\t\x20-\x7e\x80-\xff]/,n6=/[^\u0021-\u00ff]/,Is=Symbol("handler"),$r={},CI;try{let e=require("diagnostics_channel");$r.create=e.channel("undici:request:create"),$r.bodySent=e.channel("undici:request:bodySent"),$r.headers=e.channel("undici:request:headers"),$r.trailers=e.channel("undici:request:trailers"),$r.error=e.channel("undici:request:error")}catch{$r.create={hasSubscribers:!1},$r.bodySent={hasSubscribers:!1},$r.headers={hasSubscribers:!1},$r.trailers={hasSubscribers:!1},$r.error={hasSubscribers:!1}}var II=class e{constructor(t,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:f,bodyTimeout:h,reset:g,throwOnError:b,expectContinue:C},p){if(typeof r!="string")throw new ur("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new ur("path must be an absolute URL or start with a slash");if(n6.exec(r)!==null)throw new ur("invalid request path");if(typeof n!="string")throw new ur("method must be a string");if(Hv.exec(n)===null)throw new ur("invalid request method");if(A&&typeof A!="string")throw new ur("upgrade must be a string");if(f!=null&&(!Number.isFinite(f)||f<0))throw new ur("invalid headersTimeout");if(h!=null&&(!Number.isFinite(h)||h<0))throw new ur("invalid bodyTimeout");if(g!=null&&typeof g!="boolean")throw new ur("invalid reset");if(C!=null&&typeof C!="boolean")throw new ur("invalid expectContinue");if(this.headersTimeout=f,this.bodyTimeout=h,this.throwOnError=b===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(ui.isStream(i)){this.body=i;let Q=this.body._readableState;(!Q||!Q.autoDestroy)&&(this.endHandler=function(){ui.destroy(this)},this.body.on("end",this.endHandler)),this.errorHandler=R=>{this.abort?this.abort(R):this.error=R},this.body.on("error",this.errorHandler)}else if(ui.isBuffer(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(ui.isFormDataLike(i)||ui.isIterable(i)||ui.isBlobLike(i))this.body=i;else throw new ur("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?ui.buildURL(r,a):r,this.origin=t,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=g??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers="",this.expectContinue=C??!1,Array.isArray(s)){if(s.length%2!==0)throw new ur("headers array must be even");for(let Q=0;Q{"use strict";var n6=require("events"),BI=class extends n6{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};Wv.exports=BI});var Lu=Re((see,jv)=>{"use strict";var i6=lg(),{ClientDestroyedError:yI,ClientClosedError:s6,InvalidArgumentError:Pc}=Ar(),{kDestroy:o6,kClose:A6,kDispatch:QI,kInterceptors:pa}=lr(),qc=Symbol("destroyed"),Tu=Symbol("closed"),Ho=Symbol("onDestroyed"),Vc=Symbol("onClosed"),ug=Symbol("Intercepted Dispatch"),mI=class extends i6{constructor(){super(),this[qc]=!1,this[Ho]=null,this[Tu]=!1,this[Vc]=[]}get destroyed(){return this[qc]}get closed(){return this[Tu]}get interceptors(){return this[pa]}set interceptors(t){if(t){for(let r=t.length-1;r>=0;r--)if(typeof this[pa][r]!="function")throw new Pc("interceptor must be an function")}this[pa]=t}close(t){if(t===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof t!="function")throw new Pc("invalid callback");if(this[qc]){queueMicrotask(()=>t(new yI,null));return}if(this[Tu]){this[Vc]?this[Vc].push(t):queueMicrotask(()=>t(null,null));return}this[Tu]=!0,this[Vc].push(t);let r=()=>{let n=this[Vc];this[Vc]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(t,r){if(typeof t=="function"&&(r=t,t=null),r===void 0)return new Promise((i,s)=>{this.destroy(t,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new Pc("invalid callback");if(this[qc]){this[Ho]?this[Ho].push(r):queueMicrotask(()=>r(null,null));return}t||(t=new yI),this[qc]=!0,this[Ho]=this[Ho]||[],this[Ho].push(r);let n=()=>{let i=this[Ho];this[Ho]=null;for(let s=0;s{queueMicrotask(n)})}[ug](t,r){if(!this[pa]||this[pa].length===0)return this[ug]=this[QI],this[QI](t,r);let n=this[QI].bind(this);for(let i=this[pa].length-1;i>=0;i--)n=this[pa][i](n);return this[ug]=n,n(t,r)}dispatch(t,r){if(!r||typeof r!="object")throw new Pc("handler must be an object");try{if(!t||typeof t!="object")throw new Pc("opts must be an object.");if(this[qc]||this[Ho])throw new yI;if(this[Tu])throw new s6;return this[ug](t,r)}catch(n){if(typeof r.onError!="function")throw new Pc("invalid onError method");return r.onError(n),!1}}};jv.exports=mI});var Fu=Re((aee,Xv)=>{"use strict";var a6=require("net"),zv=require("assert"),Kv=Nt(),{InvalidArgumentError:c6,ConnectTimeoutError:l6}=Ar(),bI,wI;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?wI=class{constructor(t){this._maxCachedSessions=t,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(t,r)}}};function u6({allowH2:e,maxCachedSessions:t,socketPath:r,timeout:n,...i}){if(t!=null&&(!Number.isInteger(t)||t<0))throw new c6("maxCachedSessions must be a positive integer or zero");let s={path:r,...i},a=new wI(t??100);return n=n??1e4,e=e??!1,function({hostname:l,host:A,protocol:f,port:h,servername:g,localAddress:b,httpSocket:C},p){let Q;if(f==="https:"){bI||(bI=require("tls")),g=g||s.servername||Kv.getServerName(A)||null;let _=g||l,d=a.get(_)||null;zv(_),Q=bI.connect({highWaterMark:16384,...s,servername:g,session:d,localAddress:b,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:C,port:h||443,host:l}),Q.on("session",function(S){a.set(_,S)})}else zv(!C,"httpSocket can only be sent on TLS update"),Q=a6.connect({highWaterMark:64*1024,...s,localAddress:b,port:h||80,host:l});if(s.keepAlive==null||s.keepAlive){let _=s.keepAliveInitialDelay===void 0?6e4:s.keepAliveInitialDelay;Q.setKeepAlive(!0,_)}let R=h6(()=>f6(Q),n);return Q.setNoDelay(!0).once(f==="https:"?"secureConnect":"connect",function(){if(R(),p){let _=p;p=null,_(null,this)}}).on("error",function(_){if(R(),p){let d=p;p=null,d(_)}}),Q}}function h6(e,t){if(!t)return()=>{};let r=null,n=null,i=setTimeout(()=>{r=setImmediate(()=>{process.platform==="win32"?n=setImmediate(()=>e()):e()})},t);return()=>{clearTimeout(i),clearImmediate(r),clearImmediate(n)}}function f6(e){Kv.destroy(e,new l6)}Xv.exports=u6});var $v=Re(hg=>{"use strict";Object.defineProperty(hg,"__esModule",{value:!0});hg.enumToMap=void 0;function g6(e){let t={};return Object.keys(e).forEach(r=>{let n=e[r];typeof n=="number"&&(t[r]=n)}),t}hg.enumToMap=g6});var Zv=Re(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.SPECIAL_HEADERS=Le.HEADER_STATE=Le.MINOR=Le.MAJOR=Le.CONNECTION_TOKEN_CHARS=Le.HEADER_CHARS=Le.TOKEN=Le.STRICT_TOKEN=Le.HEX=Le.URL_CHAR=Le.STRICT_URL_CHAR=Le.USERINFO_CHARS=Le.MARK=Le.ALPHANUM=Le.NUM=Le.HEX_MAP=Le.NUM_MAP=Le.ALPHA=Le.FINISH=Le.H_METHOD_MAP=Le.METHOD_MAP=Le.METHODS_RTSP=Le.METHODS_ICE=Le.METHODS_HTTP=Le.METHODS=Le.LENIENT_FLAGS=Le.FLAGS=Le.TYPE=Le.ERROR=void 0;var d6=$v(),E6;(function(e){e[e.OK=0]="OK",e[e.INTERNAL=1]="INTERNAL",e[e.STRICT=2]="STRICT",e[e.LF_EXPECTED=3]="LF_EXPECTED",e[e.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",e[e.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",e[e.INVALID_METHOD=6]="INVALID_METHOD",e[e.INVALID_URL=7]="INVALID_URL",e[e.INVALID_CONSTANT=8]="INVALID_CONSTANT",e[e.INVALID_VERSION=9]="INVALID_VERSION",e[e.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",e[e.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",e[e.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",e[e.INVALID_STATUS=13]="INVALID_STATUS",e[e.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",e[e.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",e[e.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",e[e.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",e[e.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",e[e.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",e[e.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",e[e.PAUSED=21]="PAUSED",e[e.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",e[e.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",e[e.USER=24]="USER"})(E6=Le.ERROR||(Le.ERROR={}));var p6;(function(e){e[e.BOTH=0]="BOTH",e[e.REQUEST=1]="REQUEST",e[e.RESPONSE=2]="RESPONSE"})(p6=Le.TYPE||(Le.TYPE={}));var C6;(function(e){e[e.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",e[e.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",e[e.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",e[e.CHUNKED=8]="CHUNKED",e[e.UPGRADE=16]="UPGRADE",e[e.CONTENT_LENGTH=32]="CONTENT_LENGTH",e[e.SKIPBODY=64]="SKIPBODY",e[e.TRAILING=128]="TRAILING",e[e.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(C6=Le.FLAGS||(Le.FLAGS={}));var I6;(function(e){e[e.HEADERS=1]="HEADERS",e[e.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",e[e.KEEP_ALIVE=4]="KEEP_ALIVE"})(I6=Le.LENIENT_FLAGS||(Le.LENIENT_FLAGS={}));var Ze;(function(e){e[e.DELETE=0]="DELETE",e[e.GET=1]="GET",e[e.HEAD=2]="HEAD",e[e.POST=3]="POST",e[e.PUT=4]="PUT",e[e.CONNECT=5]="CONNECT",e[e.OPTIONS=6]="OPTIONS",e[e.TRACE=7]="TRACE",e[e.COPY=8]="COPY",e[e.LOCK=9]="LOCK",e[e.MKCOL=10]="MKCOL",e[e.MOVE=11]="MOVE",e[e.PROPFIND=12]="PROPFIND",e[e.PROPPATCH=13]="PROPPATCH",e[e.SEARCH=14]="SEARCH",e[e.UNLOCK=15]="UNLOCK",e[e.BIND=16]="BIND",e[e.REBIND=17]="REBIND",e[e.UNBIND=18]="UNBIND",e[e.ACL=19]="ACL",e[e.REPORT=20]="REPORT",e[e.MKACTIVITY=21]="MKACTIVITY",e[e.CHECKOUT=22]="CHECKOUT",e[e.MERGE=23]="MERGE",e[e["M-SEARCH"]=24]="M-SEARCH",e[e.NOTIFY=25]="NOTIFY",e[e.SUBSCRIBE=26]="SUBSCRIBE",e[e.UNSUBSCRIBE=27]="UNSUBSCRIBE",e[e.PATCH=28]="PATCH",e[e.PURGE=29]="PURGE",e[e.MKCALENDAR=30]="MKCALENDAR",e[e.LINK=31]="LINK",e[e.UNLINK=32]="UNLINK",e[e.SOURCE=33]="SOURCE",e[e.PRI=34]="PRI",e[e.DESCRIBE=35]="DESCRIBE",e[e.ANNOUNCE=36]="ANNOUNCE",e[e.SETUP=37]="SETUP",e[e.PLAY=38]="PLAY",e[e.PAUSE=39]="PAUSE",e[e.TEARDOWN=40]="TEARDOWN",e[e.GET_PARAMETER=41]="GET_PARAMETER",e[e.SET_PARAMETER=42]="SET_PARAMETER",e[e.REDIRECT=43]="REDIRECT",e[e.RECORD=44]="RECORD",e[e.FLUSH=45]="FLUSH"})(Ze=Le.METHODS||(Le.METHODS={}));Le.METHODS_HTTP=[Ze.DELETE,Ze.GET,Ze.HEAD,Ze.POST,Ze.PUT,Ze.CONNECT,Ze.OPTIONS,Ze.TRACE,Ze.COPY,Ze.LOCK,Ze.MKCOL,Ze.MOVE,Ze.PROPFIND,Ze.PROPPATCH,Ze.SEARCH,Ze.UNLOCK,Ze.BIND,Ze.REBIND,Ze.UNBIND,Ze.ACL,Ze.REPORT,Ze.MKACTIVITY,Ze.CHECKOUT,Ze.MERGE,Ze["M-SEARCH"],Ze.NOTIFY,Ze.SUBSCRIBE,Ze.UNSUBSCRIBE,Ze.PATCH,Ze.PURGE,Ze.MKCALENDAR,Ze.LINK,Ze.UNLINK,Ze.PRI,Ze.SOURCE];Le.METHODS_ICE=[Ze.SOURCE];Le.METHODS_RTSP=[Ze.OPTIONS,Ze.DESCRIBE,Ze.ANNOUNCE,Ze.SETUP,Ze.PLAY,Ze.PAUSE,Ze.TEARDOWN,Ze.GET_PARAMETER,Ze.SET_PARAMETER,Ze.REDIRECT,Ze.RECORD,Ze.FLUSH,Ze.GET,Ze.POST];Le.METHOD_MAP=d6.enumToMap(Ze);Le.H_METHOD_MAP={};Object.keys(Le.METHOD_MAP).forEach(e=>{/^H/.test(e)&&(Le.H_METHOD_MAP[e]=Le.METHOD_MAP[e])});var B6;(function(e){e[e.SAFE=0]="SAFE",e[e.SAFE_WITH_CB=1]="SAFE_WITH_CB",e[e.UNSAFE=2]="UNSAFE"})(B6=Le.FINISH||(Le.FINISH={}));Le.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++)Le.ALPHA.push(String.fromCharCode(e)),Le.ALPHA.push(String.fromCharCode(e+32));Le.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};Le.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};Le.NUM=["0","1","2","3","4","5","6","7","8","9"];Le.ALPHANUM=Le.ALPHA.concat(Le.NUM);Le.MARK=["-","_",".","!","~","*","'","(",")"];Le.USERINFO_CHARS=Le.ALPHANUM.concat(Le.MARK).concat(["%",";",":","&","=","+","$",","]);Le.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(Le.ALPHANUM);Le.URL_CHAR=Le.STRICT_URL_CHAR.concat([" ","\f"]);for(let e=128;e<=255;e++)Le.URL_CHAR.push(e);Le.HEX=Le.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);Le.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(Le.ALPHANUM);Le.TOKEN=Le.STRICT_TOKEN.concat([" "]);Le.HEADER_CHARS=[" "];for(let e=32;e<=255;e++)e!==127&&Le.HEADER_CHARS.push(e);Le.CONNECTION_TOKEN_CHARS=Le.HEADER_CHARS.filter(e=>e!==44);Le.MAJOR=Le.NUM_MAP;Le.MINOR=Le.MAJOR;var Hc;(function(e){e[e.GENERAL=0]="GENERAL",e[e.CONNECTION=1]="CONNECTION",e[e.CONTENT_LENGTH=2]="CONTENT_LENGTH",e[e.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",e[e.UPGRADE=4]="UPGRADE",e[e.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",e[e.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",e[e.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",e[e.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(Hc=Le.HEADER_STATE||(Le.HEADER_STATE={}));Le.SPECIAL_HEADERS={connection:Hc.CONNECTION,"content-length":Hc.CONTENT_LENGTH,"proxy-connection":Hc.CONNECTION,"transfer-encoding":Hc.TRANSFER_ENCODING,upgrade:Hc.UPGRADE}});var RI=Re((uee,r1)=>{"use strict";var Gc=Nt(),{kBodyUsed:Uu}=lr(),SI=require("assert"),{InvalidArgumentError:y6}=Ar(),Q6=require("events"),m6=[300,301,302,303,307,308],e1=Symbol("body"),fg=class{constructor(t){this[e1]=t,this[Uu]=!1}async*[Symbol.asyncIterator](){SI(!this[Uu],"disturbed"),this[Uu]=!0,yield*this[e1]}},vI=class{constructor(t,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new y6("maxRedirections must be a positive number");Gc.validateHandler(i,n.method,n.upgrade),this.dispatch=t,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],Gc.isStream(this.opts.body)?(Gc.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){SI(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Uu]=!1,Q6.prototype.on.call(this.opts.body,"data",function(){this[Uu]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new fg(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Gc.isIterable(this.opts.body)&&(this.opts.body=new fg(this.opts.body))}onConnect(t){this.abort=t,this.handler.onConnect(t,{history:this.history})}onUpgrade(t,r,n){this.handler.onUpgrade(t,r,n)}onError(t){this.handler.onError(t)}onHeaders(t,r,n,i){if(this.location=this.history.length>=this.maxRedirections||Gc.isDisturbed(this.opts.body)?null:b6(t,r),this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(t,r,n,i);let{origin:s,pathname:a,search:c}=Gc.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=w6(this.opts.headers,t===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,this.opts.maxRedirections=0,this.opts.query=null,t===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(t){if(!this.location)return this.handler.onData(t)}onComplete(t){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(t)}onBodySent(t){this.handler.onBodySent&&this.handler.onBodySent(t)}};function b6(e,t){if(m6.indexOf(e)===-1)return null;for(let r=0;r{"use strict";var v6=RI();function S6({maxRedirections:e}){return t=>function(n,i){let{maxRedirections:s=e}=n;if(!s)return t(n,i);let a=new v6(t,s,n,i);return n={...n,maxRedirections:0},t(n,a)}}n1.exports=S6});var _I=Re((fee,i1)=>{i1.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEB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3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWF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QBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXAdgB2QHaAdsB3AHdAd4B4AHhAeIB4wHkAeUB5gHnAegB6QHqAesB7AHtAe4B7wHwAfEB8gHzAZkCpAKwAv4C/gILIAEiBCACRw3zAUHd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gACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgA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EAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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QsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4CAgAA2AgggACABNgIEIAEhAUEHIRAMxAMLQRkhEAzcAwsgAUEBaiEBDAILAkAgASIUIAJHDQBBGiEQDNsDCyA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EEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNg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ogADYCACABIABBAXI2AgQLAkAgAEH/AUsNACAAQXhxQbDQgIAAaiECAkACQEEAKAKI0ICAACIEQQEgAEEDdnQiAHENAEEAIAQgAHI2AojQgIAAIAIhAAwBCyACKAIIIQALIAAgATYCDCACIAE2AgggASACNgIMIAEgADYCCA8LQR8hAgJAIABB////B0sNACAAQQh2IgIgAkGA/j9qQRB2QQhxIgJ0IgQgBEGA4B9qQRB2QQRxIgR0IgYgBkGAgA9qQRB2QQJxIgZ0QQ92IAIgBHIgBnJrIgJBAXQgACACQRVqdkEBcXJBHGohAgsgASACNgIcIAFCADcCECACQQJ0QbjSgIAAaiEEAkACQEEAKAKM0ICAACIGQQEgAnQiA3ENACAEIAE2AgBBACAGIANyNgKM0ICAACABIAQ2AhggASABNgIIIAEgATYCDAwBCyAAQQBBGSACQQF2ayACQR9GG3QhAiAEKAIAIQYCQANAIAYiBCgCBEF4cSAARg0BIAJBHXYhBiACQQF0IQIgBCAGQQRxakEQaiIDKAIAIgYNAAsgAyABNgIAIAEgBDYCGCABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAKo0ICAAEF/aiIBQX8gARs2AqjQgIAACwsEAAAAC04AAkAgAA0APwBBEHQPCwJAIABB//8DcQ0AIABBf0wNAAJAIABBEHZAACIAQX9HDQBBAEEwNgL404CAAEF/DwsgAEEQdA8LEMqAgIAAAAvyAgIDfwF+AkAgAkUNACAAIAE6AAAgAiAAaiIDQX9qIAE6AAAgAkEDSQ0AIAAgAToAAiAAIAE6AAEgA0F9aiABOgAAIANBfmogAToAACACQQdJDQAgACABOgADIANBfGogAToAACACQQlJDQAgAEEAIABrQQNxIgRqIgMgAUH/AXFBgYKECGwiATYCACADIAIgBGtBfHEiBGoiAkF8aiABNgIAIARBCUkNACADIAE2AgggAyABNgIEIAJBeGogATYCACACQXRqIAE2AgAgBEEZSQ0AIAMgATYCGCADIAE2AhQgAyABNgIQIAMgATYCDCACQ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AAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="});var Hu=Re((dee,w1)=>{"use strict";var He=require("assert"),c1=require("net"),R6=require("http"),{pipeline:_6}=require("stream"),$e=Nt(),kI=yw(),NI=Jv(),k6=Lu(),{RequestContentLengthMismatchError:Go,ResponseContentLengthMismatchError:D6,InvalidArgumentError:Wr,RequestAbortedError:PI,HeadersTimeoutError:N6,HeadersOverflowError:T6,SocketError:Jc,InformationalError:js,BodyTimeoutError:L6,HTTPParserError:F6,ResponseExceededMaxSizeError:U6,ClientDestroyedError:x6}=Ar(),M6=Fu(),{kUrl:yn,kReset:zn,kServerName:_A,kClient:zs,kBusy:TI,kParser:qr,kConnect:O6,kBlocking:Wc,kResuming:Ca,kRunning:Fr,kPending:Ba,kSize:Ia,kWriting:Yo,kQueue:Ir,kConnected:P6,kConnecting:Yc,kNeedDrain:DA,kNoRef:xu,kKeepAliveDefaultTimeout:LI,kHostHeader:l1,kPendingIdx:Li,kRunningIdx:Br,kError:Qn,kPipelining:NA,kSocket:Vr,kKeepAliveTimeoutValue:Pu,kMaxHeadersSize:pg,kKeepAliveMaxTimeout:u1,kKeepAliveTimeoutThreshold:h1,kHeadersTimeout:f1,kBodyTimeout:g1,kStrictContentLength:qu,kConnector:Mu,kMaxRedirections:q6,kMaxRequests:Vu,kCounter:d1,kClose:V6,kDestroy:H6,kDispatch:G6,kInterceptors:Y6,kLocalAddress:Ou,kMaxResponseSize:E1,kHTTPConnVersion:Ks,kHost:p1,kHTTP2Session:Fi,kHTTP2SessionState:Ig,kHTTP2BuildRequest:J6,kHTTP2CopyHeaders:W6,kHTTP1BuildRequest:j6}=lr(),Bg;try{Bg=require("http2")}catch{Bg={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:z6,HTTP2_HEADER_METHOD:K6,HTTP2_HEADER_PATH:X6,HTTP2_HEADER_SCHEME:$6,HTTP2_HEADER_CONTENT_LENGTH:Z6,HTTP2_HEADER_EXPECT:eP,HTTP2_HEADER_STATUS:tP}}=Bg,A1=!1,dg=Buffer[Symbol.species],kA=Symbol("kClosedResolve"),Fn={};try{let e=require("diagnostics_channel");Fn.sendHeaders=e.channel("undici:client:sendHeaders"),Fn.beforeConnect=e.channel("undici:client:beforeConnect"),Fn.connectError=e.channel("undici:client:connectError"),Fn.connected=e.channel("undici:client:connected")}catch{Fn.sendHeaders={hasSubscribers:!1},Fn.beforeConnect={hasSubscribers:!1},Fn.connectError={hasSubscribers:!1},Fn.connected={hasSubscribers:!1}}var FI=class extends k6{constructor(t,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:f,keepAliveTimeout:h,maxKeepAliveTimeout:g,keepAliveMaxTimeout:b,keepAliveTimeoutThreshold:C,socketPath:p,pipelining:Q,tls:R,strictContentLength:_,maxCachedSessions:d,maxRedirections:S,connect:m,maxRequestsPerClient:T,localAddress:L,maxResponseSize:v,autoSelectFamily:I,autoSelectFamilyAttemptTimeout:E,allowH2:O,maxConcurrentStreams:q}={}){if(super(),f!==void 0)throw new Wr("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Wr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Wr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new Wr("unsupported idleTimeout, use keepAliveTimeout instead");if(g!==void 0)throw new Wr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Wr("invalid maxHeaderSize");if(p!=null&&typeof p!="string")throw new Wr("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Wr("invalid connectTimeout");if(h!=null&&(!Number.isFinite(h)||h<=0))throw new Wr("invalid keepAliveTimeout");if(b!=null&&(!Number.isFinite(b)||b<=0))throw new Wr("invalid keepAliveMaxTimeout");if(C!=null&&!Number.isFinite(C))throw new Wr("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Wr("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Wr("bodyTimeout must be a positive integer or zero");if(m!=null&&typeof m!="function"&&typeof m!="object")throw new Wr("connect must be a function or an object");if(S!=null&&(!Number.isInteger(S)||S<0))throw new Wr("maxRedirections must be a positive number");if(T!=null&&(!Number.isInteger(T)||T<0))throw new Wr("maxRequestsPerClient must be a positive number");if(L!=null&&(typeof L!="string"||c1.isIP(L)===0))throw new Wr("localAddress must be valid string IP address");if(v!=null&&(!Number.isInteger(v)||v<-1))throw new Wr("maxResponseSize must be a positive number");if(E!=null&&(!Number.isInteger(E)||E<-1))throw new Wr("autoSelectFamilyAttemptTimeout must be a positive number");if(O!=null&&typeof O!="boolean")throw new Wr("allowH2 must be a valid boolean value");if(q!=null&&(typeof q!="number"||q<1))throw new Wr("maxConcurrentStreams must be a possitive integer, greater than 0");typeof m!="function"&&(m=M6({...R,maxCachedSessions:d,allowH2:O,socketPath:p,timeout:c,...$e.nodeHasAutoSelectFamily&&I?{autoSelectFamily:I,autoSelectFamilyAttemptTimeout:E}:void 0,...m})),this[Y6]=r&&r.Client&&Array.isArray(r.Client)?r.Client:[oP({maxRedirections:S})],this[yn]=$e.parseOrigin(t),this[Mu]=m,this[Vr]=null,this[NA]=Q??1,this[pg]=n||R6.maxHeaderSize,this[LI]=h??4e3,this[u1]=b??6e5,this[h1]=C??1e3,this[Pu]=this[LI],this[_A]=null,this[Ou]=L??null,this[Ca]=0,this[DA]=0,this[l1]=`host: ${this[yn].hostname}${this[yn].port?`:${this[yn].port}`:""}\r -`,this[g1]=l??3e5,this[f1]=i??3e5,this[qu]=_??!0,this[q6]=S,this[Vu]=T,this[kA]=null,this[E1]=v>-1?v:-1,this[Ks]="h1",this[Fi]=null,this[Ig]=O?{openStreams:0,maxConcurrentStreams:q??100}:null,this[p1]=`${this[yn].hostname}${this[yn].port?`:${this[yn].port}`:""}`,this[Ir]=[],this[Br]=0,this[Li]=0}get pipelining(){return this[NA]}set pipelining(t){this[NA]=t,Ui(this,!0)}get[Ba](){return this[Ir].length-this[Li]}get[Fr](){return this[Li]-this[Br]}get[Ia](){return this[Ir].length-this[Br]}get[P6](){return!!this[Vr]&&!this[Yc]&&!this[Vr].destroyed}get[TI](){let t=this[Vr];return t&&(t[zn]||t[Yo]||t[Wc])||this[Ia]>=(this[NA]||1)||this[Ba]>0}[O6](t){y1(this),this.once("connect",t)}[G6](t,r){let n=t.origin||this[yn].origin,i=this[Ks]==="h2"?NI[J6](n,t,r):NI[j6](n,t,r);return this[Ir].push(i),this[Ca]||($e.bodyLength(i.body)==null&&$e.isIterable(i.body)?(this[Ca]=1,process.nextTick(Ui,this)):Ui(this,!0)),this[Ca]&&this[DA]!==2&&this[TI]&&(this[DA]=2),this[DA]<2}async[V6](){return new Promise(t=>{this[Ia]?this[kA]=t:t(null)})}async[H6](t){return new Promise(r=>{let n=this[Ir].splice(this[Li]);for(let s=0;s{this[kA]&&(this[kA](),this[kA]=null),r()};this[Fi]!=null&&($e.destroy(this[Fi],t),this[Fi]=null,this[Ig]=null),this[Vr]?$e.destroy(this[Vr].on("close",i),t):queueMicrotask(i),Ui(this)})}};function rP(e){He(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Vr][Qn]=e,mg(this[zs],e)}function nP(e,t,r){let n=new js(`HTTP/2: "frameError" received - type ${e}, code ${t}`);r===0&&(this[Vr][Qn]=n,mg(this[zs],n))}function iP(){$e.destroy(this,new Jc("other side closed")),$e.destroy(this[Vr],new Jc("other side closed"))}function sP(e){let t=this[zs],r=new js(`HTTP/2: "GOAWAY" frame received with code ${e}`);if(t[Vr]=null,t[Fi]=null,t.destroyed){He(this[Ba]===0);let n=t[Ir].splice(t[Br]);for(let i=0;i0){let n=t[Ir][t[Br]];t[Ir][t[Br]++]=null,Kn(t,n,r)}t[Li]=t[Br],He(t[Fr]===0),t.emit("disconnect",t[yn],[t],r),Ui(t)}var Ys=Zv(),oP=gg(),AP=Buffer.alloc(0);async function aP(){let e=process.env.JEST_WORKER_ID?_I():void 0,t;try{t=await WebAssembly.compile(Buffer.from(o1(),"base64"))}catch{t=await WebAssembly.compile(Buffer.from(e||_I(),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onStatus(new dg(Js.buffer,s,i))||0},wasm_on_message_begin:r=>(He.strictEqual(rn.ptr,r),rn.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onHeaderField(new dg(Js.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onHeaderValue(new dg(Js.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(He.strictEqual(rn.ptr,r),rn.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onBody(new dg(Js.buffer,s,i))||0},wasm_on_message_complete:r=>(He.strictEqual(rn.ptr,r),rn.onMessageComplete()||0)}})}var DI=null,UI=aP();UI.catch();var rn=null,Js=null,Eg=0,Ws=null,jc=1,Cg=2,xI=3,MI=class{constructor(t,r,{exports:n}){He(Number.isFinite(t[pg])&&t[pg]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Ys.TYPE.RESPONSE),this.client=t,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=t[pg],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=t[E1]}setTimeout(t,r){this.timeoutType=r,t!==this.timeoutValue?(kI.clearTimeout(this.timeout),t?(this.timeout=kI.setTimeout(cP,t,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=t):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(He(this.ptr!=null),He(rn==null),this.llhttp.llhttp_resume(this.ptr),He(this.timeoutType===Cg),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||AP),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let t=this.socket.read();if(t===null)break;this.execute(t)}}execute(t){He(this.ptr!=null),He(rn==null),He(!this.paused);let{socket:r,llhttp:n}=this;t.length>Eg&&(Ws&&n.free(Ws),Eg=Math.ceil(t.length/4096)*4096,Ws=n.malloc(Eg)),new Uint8Array(n.memory.buffer,Ws,Eg).set(t);try{let i;try{Js=t,rn=this,i=n.llhttp_execute(this.ptr,Ws,t.length)}catch(a){throw a}finally{rn=null,Js=null}let s=n.llhttp_get_error_pos(this.ptr)-Ws;if(i===Ys.ERROR.PAUSED_UPGRADE)this.onUpgrade(t.slice(s));else if(i===Ys.ERROR.PAUSED)this.paused=!0,r.unshift(t.slice(s));else if(i!==Ys.ERROR.OK){let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}throw new F6(c,Ys.ERROR[i],t.slice(s))}}catch(i){$e.destroy(r,i)}}destroy(){He(this.ptr!=null),He(rn==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,kI.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(t){this.statusText=t.toString()}onMessageBegin(){let{socket:t,client:r}=this;if(t.destroyed||!r[Ir][r[Br]])return-1}onHeaderField(t){let r=this.headers.length;r&1?this.headers[r-1]=Buffer.concat([this.headers[r-1],t]):this.headers.push(t),this.trackHeader(t.length)}onHeaderValue(t){let r=this.headers.length;(r&1)===1?(this.headers.push(t),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],t]);let n=this.headers[r-2];n.length===10&&n.toString().toLowerCase()==="keep-alive"?this.keepAlive+=t.toString():n.length===10&&n.toString().toLowerCase()==="connection"?this.connection+=t.toString():n.length===14&&n.toString().toLowerCase()==="content-length"&&(this.contentLength+=t.toString()),this.trackHeader(t.length)}trackHeader(t){this.headersSize+=t,this.headersSize>=this.headersMaxSize&&$e.destroy(this.socket,new T6)}onUpgrade(t){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;He(r);let c=n[Ir][n[Br]];He(c),He(!i.destroyed),He(i===n[Vr]),He(!this.paused),He(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,He(this.headers.length%2===0),this.headers=[],this.headersSize=0,i.unshift(t),i[qr].destroy(),i[qr]=null,i[zs]=null,i[Qn]=null,i.removeListener("error",I1).removeListener("readable",C1).removeListener("end",B1).removeListener("close",OI),n[Vr]=null,n[Ir][n[Br]++]=null,n.emit("disconnect",n[yn],[n],new js("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){$e.destroy(i,l)}Ui(n)}onHeadersComplete(t,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Ir][i[Br]];if(!l)return-1;if(He(!this.upgrade),He(this.statusCode<200),t===100)return $e.destroy(s,new Jc("bad response",$e.getSocketInfo(s))),-1;if(r&&!l.upgrade)return $e.destroy(s,new Jc("bad upgrade",$e.getSocketInfo(s))),-1;if(He.strictEqual(this.timeoutType,jc),this.statusCode=t,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[zn]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let f=l.bodyTimeout!=null?l.bodyTimeout:i[g1];this.setTimeout(f,Cg)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return He(i[Fr]===1),this.upgrade=!0,2;if(r)return He(i[Fr]===1),this.upgrade=!0,2;if(He(this.headers.length%2===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[NA]){let f=this.keepAlive?$e.parseKeepAliveTimeout(this.keepAlive):null;if(f!=null){let h=Math.min(f-i[h1],i[u1]);h<=0?s[zn]=!0:i[Pu]=h}else i[Pu]=i[LI]}else s[zn]=!0;let A=l.onHeaders(t,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||t<200?1:(s[Wc]&&(s[Wc]=!1,Ui(i)),A?Ys.ERROR.PAUSED:0)}onBody(t){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Ir][r[Br]];if(He(a),He.strictEqual(this.timeoutType,Cg),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),He(i>=200),s>-1&&this.bytesRead+t.length>s)return $e.destroy(n,new U6),-1;if(this.bytesRead+=t.length,a.onData(t)===!1)return Ys.ERROR.PAUSED}onMessageComplete(){let{client:t,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;let A=t[Ir][t[Br]];if(He(A),He(n>=100),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",He(this.headers.length%2===0),this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return $e.destroy(r,new D6),-1;if(A.onComplete(s),t[Ir][t[Br]++]=null,r[Yo])return He.strictEqual(t[Fr],0),$e.destroy(r,new js("reset")),Ys.ERROR.PAUSED;if(l){if(r[zn]&&t[Fr]===0)return $e.destroy(r,new js("reset")),Ys.ERROR.PAUSED;t[NA]===1?setImmediate(Ui,t):Ui(t)}else return $e.destroy(r,new js("reset")),Ys.ERROR.PAUSED}}};function cP(e){let{socket:t,timeoutType:r,client:n}=e;r===jc?(!t[Yo]||t.writableNeedDrain||n[Fr]>1)&&(He(!e.paused,"cannot be paused while waiting for headers"),$e.destroy(t,new N6)):r===Cg?e.paused||$e.destroy(t,new L6):r===xI&&(He(n[Fr]===0&&n[Pu]),$e.destroy(t,new js("socket idle timeout")))}function C1(){let{[qr]:e}=this;e&&e.readMore()}function I1(e){let{[zs]:t,[qr]:r}=this;if(He(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),t[Ks]!=="h2"&&e.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}this[Qn]=e,mg(this[zs],e)}function mg(e,t){if(e[Fr]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){He(e[Li]===e[Br]);let r=e[Ir].splice(e[Br]);for(let n=0;n0&&r.code!=="UND_ERR_INFO"){let n=e[Ir][e[Br]];e[Ir][e[Br]++]=null,Kn(e,n,r)}e[Li]=e[Br],He(e[Fr]===0),e.emit("disconnect",e[yn],[e],r),Ui(e)}async function y1(e){He(!e[Yc]),He(!e[Vr]);let{host:t,hostname:r,protocol:n,port:i}=e[yn];if(r[0]==="["){let s=r.indexOf("]");He(s!==-1);let a=r.substring(1,s);He(c1.isIP(a)),r=a}e[Yc]=!0,Fn.beforeConnect.hasSubscribers&&Fn.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},connector:e[Mu]});try{let s=await new Promise((c,l)=>{e[Mu]({host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},(A,f)=>{A?l(A):c(f)})});if(e.destroyed){$e.destroy(s.on("error",()=>{}),new x6);return}if(e[Yc]=!1,He(s),s.alpnProtocol==="h2"){A1||(A1=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let c=Bg.connect(e[yn],{createConnection:()=>s,peerMaxConcurrentStreams:e[Ig].maxConcurrentStreams});e[Ks]="h2",c[zs]=e,c[Vr]=s,c.on("error",rP),c.on("frameError",nP),c.on("end",iP),c.on("goaway",sP),c.on("close",OI),c.unref(),e[Fi]=c,s[Fi]=c}else DI||(DI=await UI,UI=null),s[xu]=!1,s[Yo]=!1,s[zn]=!1,s[Wc]=!1,s[qr]=new MI(e,s,DI);s[d1]=0,s[Vu]=e[Vu],s[zs]=e,s[Qn]=null,s.on("error",I1).on("readable",C1).on("end",B1).on("close",OI),e[Vr]=s,Fn.connected.hasSubscribers&&Fn.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},connector:e[Mu],socket:s}),e.emit("connect",e[yn],[e])}catch(s){if(e.destroyed)return;if(e[Yc]=!1,Fn.connectError.hasSubscribers&&Fn.connectError.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},connector:e[Mu],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(He(e[Fr]===0);e[Ba]>0&&e[Ir][e[Li]].servername===e[_A];){let a=e[Ir][e[Li]++];Kn(e,a,s)}else mg(e,s);e.emit("connectionError",e[yn],[e],s)}Ui(e)}function a1(e){e[DA]=0,e.emit("drain",e[yn],[e])}function Ui(e,t){e[Ca]!==2&&(e[Ca]=2,lP(e,t),e[Ca]=0,e[Br]>256&&(e[Ir].splice(0,e[Br]),e[Li]-=e[Br],e[Br]=0))}function lP(e,t){for(;;){if(e.destroyed){He(e[Ba]===0);return}if(e[kA]&&!e[Ia]){e[kA](),e[kA]=null;return}let r=e[Vr];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(e[Ia]===0?!r[xu]&&r.unref&&(r.unref(),r[xu]=!0):r[xu]&&r.ref&&(r.ref(),r[xu]=!1),e[Ia]===0)r[qr].timeoutType!==xI&&r[qr].setTimeout(e[Pu],xI);else if(e[Fr]>0&&r[qr].statusCode<200&&r[qr].timeoutType!==jc){let i=e[Ir][e[Br]],s=i.headersTimeout!=null?i.headersTimeout:e[f1];r[qr].setTimeout(s,jc)}}if(e[TI])e[DA]=2;else if(e[DA]===2){t?(e[DA]=1,process.nextTick(a1,e)):a1(e);continue}if(e[Ba]===0||e[Fr]>=(e[NA]||1))return;let n=e[Ir][e[Li]];if(e[yn].protocol==="https:"&&e[_A]!==n.servername){if(e[Fr]>0)return;if(e[_A]=n.servername,r&&r.servername!==n.servername){$e.destroy(r,new js("servername changed"));return}}if(e[Yc])return;if(!r&&!e[Fi]){y1(e);return}if(r.destroyed||r[Yo]||r[zn]||r[Wc]||e[Fr]>0&&!n.idempotent||e[Fr]>0&&(n.upgrade||n.method==="CONNECT")||e[Fr]>0&&$e.bodyLength(n.body)!==0&&($e.isStream(n.body)||$e.isAsyncIterable(n.body)))return;!n.aborted&&uP(e,n)?e[Li]++:e[Ir].splice(e[Li],1)}}function Q1(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function uP(e,t){if(e[Ks]==="h2"){hP(e,e[Fi],t);return}let{body:r,method:n,path:i,host:s,upgrade:a,headers:c,blocking:l,reset:A}=t,f=n==="PUT"||n==="POST"||n==="PATCH";r&&typeof r.read=="function"&&r.read(0);let h=$e.bodyLength(r),g=h;if(g===null&&(g=t.contentLength),g===0&&!f&&(g=null),Q1(n)&&g>0&&t.contentLength!==null&&t.contentLength!==g){if(e[qu])return Kn(e,t,new Go),!1;process.emitWarning(new Go)}let b=e[Vr];try{t.onConnect(p=>{t.aborted||t.completed||(Kn(e,t,p||new PI),$e.destroy(b,new js("aborted")))})}catch(p){Kn(e,t,p)}if(t.aborted)return!1;n==="HEAD"&&(b[zn]=!0),(a||n==="CONNECT")&&(b[zn]=!0),A!=null&&(b[zn]=A),e[Vu]&&b[d1]++>=e[Vu]&&(b[zn]=!0),l&&(b[Wc]=!0);let C=`${n} ${i} HTTP/1.1\r +`}function Nu(e,t,r,n=!1){if(r&&typeof r=="object"&&!Array.isArray(r))throw new ur(`invalid ${t} header`);if(r===void 0)return;if(e.host===null&&t.length===4&&t.toLowerCase()==="host"){if(Gv.exec(r)!==null)throw new ur(`invalid ${t} header`);e.host=r}else if(e.contentLength===null&&t.length===14&&t.toLowerCase()==="content-length"){if(e.contentLength=parseInt(r,10),!Number.isFinite(e.contentLength))throw new ur("invalid content-length header")}else if(e.contentType===null&&t.length===12&&t.toLowerCase()==="content-type")e.contentType=r,n?e.headers[t]=Ea(t,r,n):e.headers+=Ea(t,r);else{if(t.length===17&&t.toLowerCase()==="transfer-encoding")throw new ur("invalid transfer-encoding header");if(t.length===10&&t.toLowerCase()==="connection"){let i=typeof r=="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new ur("invalid connection header");i==="close"&&(e.reset=!0)}else{if(t.length===10&&t.toLowerCase()==="keep-alive")throw new ur("invalid keep-alive header");if(t.length===7&&t.toLowerCase()==="upgrade")throw new ur("invalid upgrade header");if(t.length===6&&t.toLowerCase()==="expect")throw new Z8("expect header not supported");if(Hv.exec(t)===null)throw new ur("invalid header key");if(Array.isArray(r))for(let i=0;i{"use strict";var i6=require("events"),BI=class extends i6{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};Wv.exports=BI});var Lu=Re((see,jv)=>{"use strict";var s6=lg(),{ClientDestroyedError:yI,ClientClosedError:o6,InvalidArgumentError:Pc}=Ar(),{kDestroy:A6,kClose:a6,kDispatch:QI,kInterceptors:pa}=lr(),qc=Symbol("destroyed"),Tu=Symbol("closed"),Ho=Symbol("onDestroyed"),Vc=Symbol("onClosed"),ug=Symbol("Intercepted Dispatch"),mI=class extends s6{constructor(){super(),this[qc]=!1,this[Ho]=null,this[Tu]=!1,this[Vc]=[]}get destroyed(){return this[qc]}get closed(){return this[Tu]}get interceptors(){return this[pa]}set interceptors(t){if(t){for(let r=t.length-1;r>=0;r--)if(typeof this[pa][r]!="function")throw new Pc("interceptor must be an function")}this[pa]=t}close(t){if(t===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof t!="function")throw new Pc("invalid callback");if(this[qc]){queueMicrotask(()=>t(new yI,null));return}if(this[Tu]){this[Vc]?this[Vc].push(t):queueMicrotask(()=>t(null,null));return}this[Tu]=!0,this[Vc].push(t);let r=()=>{let n=this[Vc];this[Vc]=null;for(let i=0;ithis.destroy()).then(()=>{queueMicrotask(r)})}destroy(t,r){if(typeof t=="function"&&(r=t,t=null),r===void 0)return new Promise((i,s)=>{this.destroy(t,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new Pc("invalid callback");if(this[qc]){this[Ho]?this[Ho].push(r):queueMicrotask(()=>r(null,null));return}t||(t=new yI),this[qc]=!0,this[Ho]=this[Ho]||[],this[Ho].push(r);let n=()=>{let i=this[Ho];this[Ho]=null;for(let s=0;s{queueMicrotask(n)})}[ug](t,r){if(!this[pa]||this[pa].length===0)return this[ug]=this[QI],this[QI](t,r);let n=this[QI].bind(this);for(let i=this[pa].length-1;i>=0;i--)n=this[pa][i](n);return this[ug]=n,n(t,r)}dispatch(t,r){if(!r||typeof r!="object")throw new Pc("handler must be an object");try{if(!t||typeof t!="object")throw new Pc("opts must be an object.");if(this[qc]||this[Ho])throw new yI;if(this[Tu])throw new o6;return this[ug](t,r)}catch(n){if(typeof r.onError!="function")throw new Pc("invalid onError method");return r.onError(n),!1}}};jv.exports=mI});var Fu=Re((aee,Xv)=>{"use strict";var c6=require("net"),zv=require("assert"),Kv=Nt(),{InvalidArgumentError:l6,ConnectTimeoutError:u6}=Ar(),bI,wI;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?wI=class{constructor(t){this._maxCachedSessions=t,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(t,r)}}};function h6({allowH2:e,maxCachedSessions:t,socketPath:r,timeout:n,...i}){if(t!=null&&(!Number.isInteger(t)||t<0))throw new l6("maxCachedSessions must be a positive integer or zero");let s={path:r,...i},a=new wI(t??100);return n=n??1e4,e=e??!1,function({hostname:l,host:A,protocol:f,port:h,servername:g,localAddress:b,httpSocket:C},p){let Q;if(f==="https:"){bI||(bI=require("tls")),g=g||s.servername||Kv.getServerName(A)||null;let _=g||l,d=a.get(_)||null;zv(_),Q=bI.connect({highWaterMark:16384,...s,servername:g,session:d,localAddress:b,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:C,port:h||443,host:l}),Q.on("session",function(S){a.set(_,S)})}else zv(!C,"httpSocket can only be sent on TLS update"),Q=c6.connect({highWaterMark:64*1024,...s,localAddress:b,port:h||80,host:l});if(s.keepAlive==null||s.keepAlive){let _=s.keepAliveInitialDelay===void 0?6e4:s.keepAliveInitialDelay;Q.setKeepAlive(!0,_)}let R=f6(()=>g6(Q),n);return Q.setNoDelay(!0).once(f==="https:"?"secureConnect":"connect",function(){if(R(),p){let _=p;p=null,_(null,this)}}).on("error",function(_){if(R(),p){let d=p;p=null,d(_)}}),Q}}function f6(e,t){if(!t)return()=>{};let r=null,n=null,i=setTimeout(()=>{r=setImmediate(()=>{process.platform==="win32"?n=setImmediate(()=>e()):e()})},t);return()=>{clearTimeout(i),clearImmediate(r),clearImmediate(n)}}function g6(e){Kv.destroy(e,new u6)}Xv.exports=h6});var $v=Re(hg=>{"use strict";Object.defineProperty(hg,"__esModule",{value:!0});hg.enumToMap=void 0;function d6(e){let t={};return Object.keys(e).forEach(r=>{let n=e[r];typeof n=="number"&&(t[r]=n)}),t}hg.enumToMap=d6});var Zv=Re(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.SPECIAL_HEADERS=Le.HEADER_STATE=Le.MINOR=Le.MAJOR=Le.CONNECTION_TOKEN_CHARS=Le.HEADER_CHARS=Le.TOKEN=Le.STRICT_TOKEN=Le.HEX=Le.URL_CHAR=Le.STRICT_URL_CHAR=Le.USERINFO_CHARS=Le.MARK=Le.ALPHANUM=Le.NUM=Le.HEX_MAP=Le.NUM_MAP=Le.ALPHA=Le.FINISH=Le.H_METHOD_MAP=Le.METHOD_MAP=Le.METHODS_RTSP=Le.METHODS_ICE=Le.METHODS_HTTP=Le.METHODS=Le.LENIENT_FLAGS=Le.FLAGS=Le.TYPE=Le.ERROR=void 0;var E6=$v(),p6;(function(e){e[e.OK=0]="OK",e[e.INTERNAL=1]="INTERNAL",e[e.STRICT=2]="STRICT",e[e.LF_EXPECTED=3]="LF_EXPECTED",e[e.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",e[e.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",e[e.INVALID_METHOD=6]="INVALID_METHOD",e[e.INVALID_URL=7]="INVALID_URL",e[e.INVALID_CONSTANT=8]="INVALID_CONSTANT",e[e.INVALID_VERSION=9]="INVALID_VERSION",e[e.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",e[e.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",e[e.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",e[e.INVALID_STATUS=13]="INVALID_STATUS",e[e.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",e[e.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",e[e.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",e[e.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",e[e.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",e[e.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",e[e.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",e[e.PAUSED=21]="PAUSED",e[e.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",e[e.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",e[e.USER=24]="USER"})(p6=Le.ERROR||(Le.ERROR={}));var C6;(function(e){e[e.BOTH=0]="BOTH",e[e.REQUEST=1]="REQUEST",e[e.RESPONSE=2]="RESPONSE"})(C6=Le.TYPE||(Le.TYPE={}));var I6;(function(e){e[e.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",e[e.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",e[e.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",e[e.CHUNKED=8]="CHUNKED",e[e.UPGRADE=16]="UPGRADE",e[e.CONTENT_LENGTH=32]="CONTENT_LENGTH",e[e.SKIPBODY=64]="SKIPBODY",e[e.TRAILING=128]="TRAILING",e[e.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(I6=Le.FLAGS||(Le.FLAGS={}));var B6;(function(e){e[e.HEADERS=1]="HEADERS",e[e.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",e[e.KEEP_ALIVE=4]="KEEP_ALIVE"})(B6=Le.LENIENT_FLAGS||(Le.LENIENT_FLAGS={}));var Ze;(function(e){e[e.DELETE=0]="DELETE",e[e.GET=1]="GET",e[e.HEAD=2]="HEAD",e[e.POST=3]="POST",e[e.PUT=4]="PUT",e[e.CONNECT=5]="CONNECT",e[e.OPTIONS=6]="OPTIONS",e[e.TRACE=7]="TRACE",e[e.COPY=8]="COPY",e[e.LOCK=9]="LOCK",e[e.MKCOL=10]="MKCOL",e[e.MOVE=11]="MOVE",e[e.PROPFIND=12]="PROPFIND",e[e.PROPPATCH=13]="PROPPATCH",e[e.SEARCH=14]="SEARCH",e[e.UNLOCK=15]="UNLOCK",e[e.BIND=16]="BIND",e[e.REBIND=17]="REBIND",e[e.UNBIND=18]="UNBIND",e[e.ACL=19]="ACL",e[e.REPORT=20]="REPORT",e[e.MKACTIVITY=21]="MKACTIVITY",e[e.CHECKOUT=22]="CHECKOUT",e[e.MERGE=23]="MERGE",e[e["M-SEARCH"]=24]="M-SEARCH",e[e.NOTIFY=25]="NOTIFY",e[e.SUBSCRIBE=26]="SUBSCRIBE",e[e.UNSUBSCRIBE=27]="UNSUBSCRIBE",e[e.PATCH=28]="PATCH",e[e.PURGE=29]="PURGE",e[e.MKCALENDAR=30]="MKCALENDAR",e[e.LINK=31]="LINK",e[e.UNLINK=32]="UNLINK",e[e.SOURCE=33]="SOURCE",e[e.PRI=34]="PRI",e[e.DESCRIBE=35]="DESCRIBE",e[e.ANNOUNCE=36]="ANNOUNCE",e[e.SETUP=37]="SETUP",e[e.PLAY=38]="PLAY",e[e.PAUSE=39]="PAUSE",e[e.TEARDOWN=40]="TEARDOWN",e[e.GET_PARAMETER=41]="GET_PARAMETER",e[e.SET_PARAMETER=42]="SET_PARAMETER",e[e.REDIRECT=43]="REDIRECT",e[e.RECORD=44]="RECORD",e[e.FLUSH=45]="FLUSH"})(Ze=Le.METHODS||(Le.METHODS={}));Le.METHODS_HTTP=[Ze.DELETE,Ze.GET,Ze.HEAD,Ze.POST,Ze.PUT,Ze.CONNECT,Ze.OPTIONS,Ze.TRACE,Ze.COPY,Ze.LOCK,Ze.MKCOL,Ze.MOVE,Ze.PROPFIND,Ze.PROPPATCH,Ze.SEARCH,Ze.UNLOCK,Ze.BIND,Ze.REBIND,Ze.UNBIND,Ze.ACL,Ze.REPORT,Ze.MKACTIVITY,Ze.CHECKOUT,Ze.MERGE,Ze["M-SEARCH"],Ze.NOTIFY,Ze.SUBSCRIBE,Ze.UNSUBSCRIBE,Ze.PATCH,Ze.PURGE,Ze.MKCALENDAR,Ze.LINK,Ze.UNLINK,Ze.PRI,Ze.SOURCE];Le.METHODS_ICE=[Ze.SOURCE];Le.METHODS_RTSP=[Ze.OPTIONS,Ze.DESCRIBE,Ze.ANNOUNCE,Ze.SETUP,Ze.PLAY,Ze.PAUSE,Ze.TEARDOWN,Ze.GET_PARAMETER,Ze.SET_PARAMETER,Ze.REDIRECT,Ze.RECORD,Ze.FLUSH,Ze.GET,Ze.POST];Le.METHOD_MAP=E6.enumToMap(Ze);Le.H_METHOD_MAP={};Object.keys(Le.METHOD_MAP).forEach(e=>{/^H/.test(e)&&(Le.H_METHOD_MAP[e]=Le.METHOD_MAP[e])});var y6;(function(e){e[e.SAFE=0]="SAFE",e[e.SAFE_WITH_CB=1]="SAFE_WITH_CB",e[e.UNSAFE=2]="UNSAFE"})(y6=Le.FINISH||(Le.FINISH={}));Le.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++)Le.ALPHA.push(String.fromCharCode(e)),Le.ALPHA.push(String.fromCharCode(e+32));Le.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};Le.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};Le.NUM=["0","1","2","3","4","5","6","7","8","9"];Le.ALPHANUM=Le.ALPHA.concat(Le.NUM);Le.MARK=["-","_",".","!","~","*","'","(",")"];Le.USERINFO_CHARS=Le.ALPHANUM.concat(Le.MARK).concat(["%",";",":","&","=","+","$",","]);Le.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(Le.ALPHANUM);Le.URL_CHAR=Le.STRICT_URL_CHAR.concat([" ","\f"]);for(let e=128;e<=255;e++)Le.URL_CHAR.push(e);Le.HEX=Le.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);Le.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(Le.ALPHANUM);Le.TOKEN=Le.STRICT_TOKEN.concat([" "]);Le.HEADER_CHARS=[" "];for(let e=32;e<=255;e++)e!==127&&Le.HEADER_CHARS.push(e);Le.CONNECTION_TOKEN_CHARS=Le.HEADER_CHARS.filter(e=>e!==44);Le.MAJOR=Le.NUM_MAP;Le.MINOR=Le.MAJOR;var Hc;(function(e){e[e.GENERAL=0]="GENERAL",e[e.CONNECTION=1]="CONNECTION",e[e.CONTENT_LENGTH=2]="CONTENT_LENGTH",e[e.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",e[e.UPGRADE=4]="UPGRADE",e[e.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",e[e.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",e[e.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",e[e.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(Hc=Le.HEADER_STATE||(Le.HEADER_STATE={}));Le.SPECIAL_HEADERS={connection:Hc.CONNECTION,"content-length":Hc.CONTENT_LENGTH,"proxy-connection":Hc.CONNECTION,"transfer-encoding":Hc.TRANSFER_ENCODING,upgrade:Hc.UPGRADE}});var RI=Re((uee,r1)=>{"use strict";var Gc=Nt(),{kBodyUsed:Uu}=lr(),SI=require("assert"),{InvalidArgumentError:Q6}=Ar(),m6=require("events"),b6=[300,301,302,303,307,308],e1=Symbol("body"),fg=class{constructor(t){this[e1]=t,this[Uu]=!1}async*[Symbol.asyncIterator](){SI(!this[Uu],"disturbed"),this[Uu]=!0,yield*this[e1]}},vI=class{constructor(t,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new Q6("maxRedirections must be a positive number");Gc.validateHandler(i,n.method,n.upgrade),this.dispatch=t,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],Gc.isStream(this.opts.body)?(Gc.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){SI(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Uu]=!1,m6.prototype.on.call(this.opts.body,"data",function(){this[Uu]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new fg(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Gc.isIterable(this.opts.body)&&(this.opts.body=new fg(this.opts.body))}onConnect(t){this.abort=t,this.handler.onConnect(t,{history:this.history})}onUpgrade(t,r,n){this.handler.onUpgrade(t,r,n)}onError(t){this.handler.onError(t)}onHeaders(t,r,n,i){if(this.location=this.history.length>=this.maxRedirections||Gc.isDisturbed(this.opts.body)?null:w6(t,r),this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(t,r,n,i);let{origin:s,pathname:a,search:c}=Gc.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=v6(this.opts.headers,t===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,this.opts.maxRedirections=0,this.opts.query=null,t===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(t){if(!this.location)return this.handler.onData(t)}onComplete(t){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(t)}onBodySent(t){this.handler.onBodySent&&this.handler.onBodySent(t)}};function w6(e,t){if(b6.indexOf(e)===-1)return null;for(let r=0;r{"use strict";var S6=RI();function R6({maxRedirections:e}){return t=>function(n,i){let{maxRedirections:s=e}=n;if(!s)return t(n,i);let a=new S6(t,s,n,i);return n={...n,maxRedirections:0},t(n,a)}}n1.exports=R6});var _I=Re((fee,i1)=>{i1.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGh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RFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHOAUvNAUzMAU1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4ABgQGCAYMBhAGFAYYBhwGIAYkBigGLAYwBjQGOAY8BkAGRAZIBkwGUAZUBlg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LQbcBIRAMDAtBuAEhEAwLC0G5ASEQDAoLQboBIRAMCQtBuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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UhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEANgIcIAAgATYCFCAAQY6bgIAANgIQIABBBjYCDEEAIRAMnAELIBBBFUYNVyAAQQA2AhwgACABNgIUIABBzI6AgAA2AhAgAEEgNgIMQQAhEAybAQsgAEEANgIAIBBBAWohAUEkIRALIAAgEDoAKSAAKAIEIRAgAEEANgIEIAAgECABEKuAgIAAIhANVCABIQEMPgsgAEEANgIAC0EAIRAgAEEANgIcIAAgBDYCFCAAQfGbgIAANgIQ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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB4fICEjJSg/QEFERUZHSElKS0xNT1BRUlPeA1dZW1xdYGJlZmdoaWprbG1vcHFyc3R1dnd4eXp7fH1+gAGCAYUBhgGHAYkBiwGMAY0BjgGPAZABkQGUAZUBlgGXAZgBmQGaAZsB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gELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAymAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMRgsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAylAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHSADYCHCAAIBQ2AhQgACABNgIMQQAhEAykAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHTADYCHCAAIBQ2AhQgACABNgIMQQAhEAyjAQsgACgCBCEBIABB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AADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="});var Hu=Re((dee,w1)=>{"use strict";var He=require("assert"),c1=require("net"),_6=require("http"),{pipeline:k6}=require("stream"),$e=Nt(),kI=yw(),NI=Jv(),D6=Lu(),{RequestContentLengthMismatchError:Go,ResponseContentLengthMismatchError:N6,InvalidArgumentError:Wr,RequestAbortedError:PI,HeadersTimeoutError:T6,HeadersOverflowError:L6,SocketError:Jc,InformationalError:js,BodyTimeoutError:F6,HTTPParserError:U6,ResponseExceededMaxSizeError:x6,ClientDestroyedError:M6}=Ar(),O6=Fu(),{kUrl:yn,kReset:zn,kServerName:_A,kClient:zs,kBusy:TI,kParser:qr,kConnect:P6,kBlocking:Wc,kResuming:Ca,kRunning:Fr,kPending:Ba,kSize:Ia,kWriting:Yo,kQueue:Ir,kConnected:q6,kConnecting:Yc,kNeedDrain:DA,kNoRef:xu,kKeepAliveDefaultTimeout:LI,kHostHeader:l1,kPendingIdx:Li,kRunningIdx:Br,kError:Qn,kPipelining:NA,kSocket:Vr,kKeepAliveTimeoutValue:Pu,kMaxHeadersSize:pg,kKeepAliveMaxTimeout:u1,kKeepAliveTimeoutThreshold:h1,kHeadersTimeout:f1,kBodyTimeout:g1,kStrictContentLength:qu,kConnector:Mu,kMaxRedirections:V6,kMaxRequests:Vu,kCounter:d1,kClose:H6,kDestroy:G6,kDispatch:Y6,kInterceptors:J6,kLocalAddress:Ou,kMaxResponseSize:E1,kHTTPConnVersion:Ks,kHost:p1,kHTTP2Session:Fi,kHTTP2SessionState:Ig,kHTTP2BuildRequest:W6,kHTTP2CopyHeaders:j6,kHTTP1BuildRequest:z6}=lr(),Bg;try{Bg=require("http2")}catch{Bg={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:K6,HTTP2_HEADER_METHOD:X6,HTTP2_HEADER_PATH:$6,HTTP2_HEADER_SCHEME:Z6,HTTP2_HEADER_CONTENT_LENGTH:eP,HTTP2_HEADER_EXPECT:tP,HTTP2_HEADER_STATUS:rP}}=Bg,A1=!1,dg=Buffer[Symbol.species],kA=Symbol("kClosedResolve"),Fn={};try{let e=require("diagnostics_channel");Fn.sendHeaders=e.channel("undici:client:sendHeaders"),Fn.beforeConnect=e.channel("undici:client:beforeConnect"),Fn.connectError=e.channel("undici:client:connectError"),Fn.connected=e.channel("undici:client:connected")}catch{Fn.sendHeaders={hasSubscribers:!1},Fn.beforeConnect={hasSubscribers:!1},Fn.connectError={hasSubscribers:!1},Fn.connected={hasSubscribers:!1}}var FI=class extends D6{constructor(t,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:f,keepAliveTimeout:h,maxKeepAliveTimeout:g,keepAliveMaxTimeout:b,keepAliveTimeoutThreshold:C,socketPath:p,pipelining:Q,tls:R,strictContentLength:_,maxCachedSessions:d,maxRedirections:S,connect:m,maxRequestsPerClient:T,localAddress:L,maxResponseSize:v,autoSelectFamily:I,autoSelectFamilyAttemptTimeout:E,allowH2:O,maxConcurrentStreams:q}={}){if(super(),f!==void 0)throw new Wr("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Wr("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Wr("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new Wr("unsupported idleTimeout, use keepAliveTimeout instead");if(g!==void 0)throw new Wr("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Wr("invalid maxHeaderSize");if(p!=null&&typeof p!="string")throw new Wr("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Wr("invalid connectTimeout");if(h!=null&&(!Number.isFinite(h)||h<=0))throw new Wr("invalid keepAliveTimeout");if(b!=null&&(!Number.isFinite(b)||b<=0))throw new Wr("invalid keepAliveMaxTimeout");if(C!=null&&!Number.isFinite(C))throw new Wr("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Wr("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Wr("bodyTimeout must be a positive integer or zero");if(m!=null&&typeof m!="function"&&typeof m!="object")throw new Wr("connect must be a function or an object");if(S!=null&&(!Number.isInteger(S)||S<0))throw new Wr("maxRedirections must be a positive number");if(T!=null&&(!Number.isInteger(T)||T<0))throw new Wr("maxRequestsPerClient must be a positive number");if(L!=null&&(typeof L!="string"||c1.isIP(L)===0))throw new Wr("localAddress must be valid string IP address");if(v!=null&&(!Number.isInteger(v)||v<-1))throw new Wr("maxResponseSize must be a positive number");if(E!=null&&(!Number.isInteger(E)||E<-1))throw new Wr("autoSelectFamilyAttemptTimeout must be a positive number");if(O!=null&&typeof O!="boolean")throw new Wr("allowH2 must be a valid boolean value");if(q!=null&&(typeof q!="number"||q<1))throw new Wr("maxConcurrentStreams must be a possitive integer, greater than 0");typeof m!="function"&&(m=O6({...R,maxCachedSessions:d,allowH2:O,socketPath:p,timeout:c,...$e.nodeHasAutoSelectFamily&&I?{autoSelectFamily:I,autoSelectFamilyAttemptTimeout:E}:void 0,...m})),this[J6]=r&&r.Client&&Array.isArray(r.Client)?r.Client:[AP({maxRedirections:S})],this[yn]=$e.parseOrigin(t),this[Mu]=m,this[Vr]=null,this[NA]=Q??1,this[pg]=n||_6.maxHeaderSize,this[LI]=h??4e3,this[u1]=b??6e5,this[h1]=C??1e3,this[Pu]=this[LI],this[_A]=null,this[Ou]=L??null,this[Ca]=0,this[DA]=0,this[l1]=`host: ${this[yn].hostname}${this[yn].port?`:${this[yn].port}`:""}\r +`,this[g1]=l??3e5,this[f1]=i??3e5,this[qu]=_??!0,this[V6]=S,this[Vu]=T,this[kA]=null,this[E1]=v>-1?v:-1,this[Ks]="h1",this[Fi]=null,this[Ig]=O?{openStreams:0,maxConcurrentStreams:q??100}:null,this[p1]=`${this[yn].hostname}${this[yn].port?`:${this[yn].port}`:""}`,this[Ir]=[],this[Br]=0,this[Li]=0}get pipelining(){return this[NA]}set pipelining(t){this[NA]=t,Ui(this,!0)}get[Ba](){return this[Ir].length-this[Li]}get[Fr](){return this[Li]-this[Br]}get[Ia](){return this[Ir].length-this[Br]}get[q6](){return!!this[Vr]&&!this[Yc]&&!this[Vr].destroyed}get[TI](){let t=this[Vr];return t&&(t[zn]||t[Yo]||t[Wc])||this[Ia]>=(this[NA]||1)||this[Ba]>0}[P6](t){y1(this),this.once("connect",t)}[Y6](t,r){let n=t.origin||this[yn].origin,i=this[Ks]==="h2"?NI[W6](n,t,r):NI[z6](n,t,r);return this[Ir].push(i),this[Ca]||($e.bodyLength(i.body)==null&&$e.isIterable(i.body)?(this[Ca]=1,process.nextTick(Ui,this)):Ui(this,!0)),this[Ca]&&this[DA]!==2&&this[TI]&&(this[DA]=2),this[DA]<2}async[H6](){return new Promise(t=>{this[Ia]?this[kA]=t:t(null)})}async[G6](t){return new Promise(r=>{let n=this[Ir].splice(this[Li]);for(let s=0;s{this[kA]&&(this[kA](),this[kA]=null),r()};this[Fi]!=null&&($e.destroy(this[Fi],t),this[Fi]=null,this[Ig]=null),this[Vr]?$e.destroy(this[Vr].on("close",i),t):queueMicrotask(i),Ui(this)})}};function nP(e){He(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Vr][Qn]=e,mg(this[zs],e)}function iP(e,t,r){let n=new js(`HTTP/2: "frameError" received - type ${e}, code ${t}`);r===0&&(this[Vr][Qn]=n,mg(this[zs],n))}function sP(){$e.destroy(this,new Jc("other side closed")),$e.destroy(this[Vr],new Jc("other side closed"))}function oP(e){let t=this[zs],r=new js(`HTTP/2: "GOAWAY" frame received with code ${e}`);if(t[Vr]=null,t[Fi]=null,t.destroyed){He(this[Ba]===0);let n=t[Ir].splice(t[Br]);for(let i=0;i0){let n=t[Ir][t[Br]];t[Ir][t[Br]++]=null,Kn(t,n,r)}t[Li]=t[Br],He(t[Fr]===0),t.emit("disconnect",t[yn],[t],r),Ui(t)}var Ys=Zv(),AP=gg(),aP=Buffer.alloc(0);async function cP(){let e=process.env.JEST_WORKER_ID?_I():void 0,t;try{t=await WebAssembly.compile(Buffer.from(o1(),"base64"))}catch{t=await WebAssembly.compile(Buffer.from(e||_I(),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onStatus(new dg(Js.buffer,s,i))||0},wasm_on_message_begin:r=>(He.strictEqual(rn.ptr,r),rn.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onHeaderField(new dg(Js.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onHeaderValue(new dg(Js.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(He.strictEqual(rn.ptr,r),rn.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{He.strictEqual(rn.ptr,r);let s=n-Ws+Js.byteOffset;return rn.onBody(new dg(Js.buffer,s,i))||0},wasm_on_message_complete:r=>(He.strictEqual(rn.ptr,r),rn.onMessageComplete()||0)}})}var DI=null,UI=cP();UI.catch();var rn=null,Js=null,Eg=0,Ws=null,jc=1,Cg=2,xI=3,MI=class{constructor(t,r,{exports:n}){He(Number.isFinite(t[pg])&&t[pg]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Ys.TYPE.RESPONSE),this.client=t,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=t[pg],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=t[E1]}setTimeout(t,r){this.timeoutType=r,t!==this.timeoutValue?(kI.clearTimeout(this.timeout),t?(this.timeout=kI.setTimeout(lP,t,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=t):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(He(this.ptr!=null),He(rn==null),this.llhttp.llhttp_resume(this.ptr),He(this.timeoutType===Cg),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||aP),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let t=this.socket.read();if(t===null)break;this.execute(t)}}execute(t){He(this.ptr!=null),He(rn==null),He(!this.paused);let{socket:r,llhttp:n}=this;t.length>Eg&&(Ws&&n.free(Ws),Eg=Math.ceil(t.length/4096)*4096,Ws=n.malloc(Eg)),new Uint8Array(n.memory.buffer,Ws,Eg).set(t);try{let i;try{Js=t,rn=this,i=n.llhttp_execute(this.ptr,Ws,t.length)}catch(a){throw a}finally{rn=null,Js=null}let s=n.llhttp_get_error_pos(this.ptr)-Ws;if(i===Ys.ERROR.PAUSED_UPGRADE)this.onUpgrade(t.slice(s));else if(i===Ys.ERROR.PAUSED)this.paused=!0,r.unshift(t.slice(s));else if(i!==Ys.ERROR.OK){let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}throw new U6(c,Ys.ERROR[i],t.slice(s))}}catch(i){$e.destroy(r,i)}}destroy(){He(this.ptr!=null),He(rn==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,kI.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(t){this.statusText=t.toString()}onMessageBegin(){let{socket:t,client:r}=this;if(t.destroyed||!r[Ir][r[Br]])return-1}onHeaderField(t){let r=this.headers.length;r&1?this.headers[r-1]=Buffer.concat([this.headers[r-1],t]):this.headers.push(t),this.trackHeader(t.length)}onHeaderValue(t){let r=this.headers.length;(r&1)===1?(this.headers.push(t),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],t]);let n=this.headers[r-2];n.length===10&&n.toString().toLowerCase()==="keep-alive"?this.keepAlive+=t.toString():n.length===10&&n.toString().toLowerCase()==="connection"?this.connection+=t.toString():n.length===14&&n.toString().toLowerCase()==="content-length"&&(this.contentLength+=t.toString()),this.trackHeader(t.length)}trackHeader(t){this.headersSize+=t,this.headersSize>=this.headersMaxSize&&$e.destroy(this.socket,new L6)}onUpgrade(t){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;He(r);let c=n[Ir][n[Br]];He(c),He(!i.destroyed),He(i===n[Vr]),He(!this.paused),He(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,He(this.headers.length%2===0),this.headers=[],this.headersSize=0,i.unshift(t),i[qr].destroy(),i[qr]=null,i[zs]=null,i[Qn]=null,i.removeListener("error",I1).removeListener("readable",C1).removeListener("end",B1).removeListener("close",OI),n[Vr]=null,n[Ir][n[Br]++]=null,n.emit("disconnect",n[yn],[n],new js("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){$e.destroy(i,l)}Ui(n)}onHeadersComplete(t,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Ir][i[Br]];if(!l)return-1;if(He(!this.upgrade),He(this.statusCode<200),t===100)return $e.destroy(s,new Jc("bad response",$e.getSocketInfo(s))),-1;if(r&&!l.upgrade)return $e.destroy(s,new Jc("bad upgrade",$e.getSocketInfo(s))),-1;if(He.strictEqual(this.timeoutType,jc),this.statusCode=t,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[zn]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let f=l.bodyTimeout!=null?l.bodyTimeout:i[g1];this.setTimeout(f,Cg)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return He(i[Fr]===1),this.upgrade=!0,2;if(r)return He(i[Fr]===1),this.upgrade=!0,2;if(He(this.headers.length%2===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[NA]){let f=this.keepAlive?$e.parseKeepAliveTimeout(this.keepAlive):null;if(f!=null){let h=Math.min(f-i[h1],i[u1]);h<=0?s[zn]=!0:i[Pu]=h}else i[Pu]=i[LI]}else s[zn]=!0;let A=l.onHeaders(t,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||t<200?1:(s[Wc]&&(s[Wc]=!1,Ui(i)),A?Ys.ERROR.PAUSED:0)}onBody(t){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Ir][r[Br]];if(He(a),He.strictEqual(this.timeoutType,Cg),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),He(i>=200),s>-1&&this.bytesRead+t.length>s)return $e.destroy(n,new x6),-1;if(this.bytesRead+=t.length,a.onData(t)===!1)return Ys.ERROR.PAUSED}onMessageComplete(){let{client:t,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;let A=t[Ir][t[Br]];if(He(A),He(n>=100),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",He(this.headers.length%2===0),this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return $e.destroy(r,new N6),-1;if(A.onComplete(s),t[Ir][t[Br]++]=null,r[Yo])return He.strictEqual(t[Fr],0),$e.destroy(r,new js("reset")),Ys.ERROR.PAUSED;if(l){if(r[zn]&&t[Fr]===0)return $e.destroy(r,new js("reset")),Ys.ERROR.PAUSED;t[NA]===1?setImmediate(Ui,t):Ui(t)}else return $e.destroy(r,new js("reset")),Ys.ERROR.PAUSED}}};function lP(e){let{socket:t,timeoutType:r,client:n}=e;r===jc?(!t[Yo]||t.writableNeedDrain||n[Fr]>1)&&(He(!e.paused,"cannot be paused while waiting for headers"),$e.destroy(t,new T6)):r===Cg?e.paused||$e.destroy(t,new F6):r===xI&&(He(n[Fr]===0&&n[Pu]),$e.destroy(t,new js("socket idle timeout")))}function C1(){let{[qr]:e}=this;e&&e.readMore()}function I1(e){let{[zs]:t,[qr]:r}=this;if(He(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),t[Ks]!=="h2"&&e.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}this[Qn]=e,mg(this[zs],e)}function mg(e,t){if(e[Fr]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){He(e[Li]===e[Br]);let r=e[Ir].splice(e[Br]);for(let n=0;n0&&r.code!=="UND_ERR_INFO"){let n=e[Ir][e[Br]];e[Ir][e[Br]++]=null,Kn(e,n,r)}e[Li]=e[Br],He(e[Fr]===0),e.emit("disconnect",e[yn],[e],r),Ui(e)}async function y1(e){He(!e[Yc]),He(!e[Vr]);let{host:t,hostname:r,protocol:n,port:i}=e[yn];if(r[0]==="["){let s=r.indexOf("]");He(s!==-1);let a=r.substring(1,s);He(c1.isIP(a)),r=a}e[Yc]=!0,Fn.beforeConnect.hasSubscribers&&Fn.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},connector:e[Mu]});try{let s=await new Promise((c,l)=>{e[Mu]({host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},(A,f)=>{A?l(A):c(f)})});if(e.destroyed){$e.destroy(s.on("error",()=>{}),new M6);return}if(e[Yc]=!1,He(s),s.alpnProtocol==="h2"){A1||(A1=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let c=Bg.connect(e[yn],{createConnection:()=>s,peerMaxConcurrentStreams:e[Ig].maxConcurrentStreams});e[Ks]="h2",c[zs]=e,c[Vr]=s,c.on("error",nP),c.on("frameError",iP),c.on("end",sP),c.on("goaway",oP),c.on("close",OI),c.unref(),e[Fi]=c,s[Fi]=c}else DI||(DI=await UI,UI=null),s[xu]=!1,s[Yo]=!1,s[zn]=!1,s[Wc]=!1,s[qr]=new MI(e,s,DI);s[d1]=0,s[Vu]=e[Vu],s[zs]=e,s[Qn]=null,s.on("error",I1).on("readable",C1).on("end",B1).on("close",OI),e[Vr]=s,Fn.connected.hasSubscribers&&Fn.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},connector:e[Mu],socket:s}),e.emit("connect",e[yn],[e])}catch(s){if(e.destroyed)return;if(e[Yc]=!1,Fn.connectError.hasSubscribers&&Fn.connectError.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,servername:e[_A],localAddress:e[Ou]},connector:e[Mu],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(He(e[Fr]===0);e[Ba]>0&&e[Ir][e[Li]].servername===e[_A];){let a=e[Ir][e[Li]++];Kn(e,a,s)}else mg(e,s);e.emit("connectionError",e[yn],[e],s)}Ui(e)}function a1(e){e[DA]=0,e.emit("drain",e[yn],[e])}function Ui(e,t){e[Ca]!==2&&(e[Ca]=2,uP(e,t),e[Ca]=0,e[Br]>256&&(e[Ir].splice(0,e[Br]),e[Li]-=e[Br],e[Br]=0))}function uP(e,t){for(;;){if(e.destroyed){He(e[Ba]===0);return}if(e[kA]&&!e[Ia]){e[kA](),e[kA]=null;return}let r=e[Vr];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(e[Ia]===0?!r[xu]&&r.unref&&(r.unref(),r[xu]=!0):r[xu]&&r.ref&&(r.ref(),r[xu]=!1),e[Ia]===0)r[qr].timeoutType!==xI&&r[qr].setTimeout(e[Pu],xI);else if(e[Fr]>0&&r[qr].statusCode<200&&r[qr].timeoutType!==jc){let i=e[Ir][e[Br]],s=i.headersTimeout!=null?i.headersTimeout:e[f1];r[qr].setTimeout(s,jc)}}if(e[TI])e[DA]=2;else if(e[DA]===2){t?(e[DA]=1,process.nextTick(a1,e)):a1(e);continue}if(e[Ba]===0||e[Fr]>=(e[NA]||1))return;let n=e[Ir][e[Li]];if(e[yn].protocol==="https:"&&e[_A]!==n.servername){if(e[Fr]>0)return;if(e[_A]=n.servername,r&&r.servername!==n.servername){$e.destroy(r,new js("servername changed"));return}}if(e[Yc])return;if(!r&&!e[Fi]){y1(e);return}if(r.destroyed||r[Yo]||r[zn]||r[Wc]||e[Fr]>0&&!n.idempotent||e[Fr]>0&&(n.upgrade||n.method==="CONNECT")||e[Fr]>0&&$e.bodyLength(n.body)!==0&&($e.isStream(n.body)||$e.isAsyncIterable(n.body)))return;!n.aborted&&hP(e,n)?e[Li]++:e[Ir].splice(e[Li],1)}}function Q1(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function hP(e,t){if(e[Ks]==="h2"){fP(e,e[Fi],t);return}let{body:r,method:n,path:i,host:s,upgrade:a,headers:c,blocking:l,reset:A}=t,f=n==="PUT"||n==="POST"||n==="PATCH";r&&typeof r.read=="function"&&r.read(0);let h=$e.bodyLength(r),g=h;if(g===null&&(g=t.contentLength),g===0&&!f&&(g=null),Q1(n)&&g>0&&t.contentLength!==null&&t.contentLength!==g){if(e[qu])return Kn(e,t,new Go),!1;process.emitWarning(new Go)}let b=e[Vr];try{t.onConnect(p=>{t.aborted||t.completed||(Kn(e,t,p||new PI),$e.destroy(b,new js("aborted")))})}catch(p){Kn(e,t,p)}if(t.aborted)return!1;n==="HEAD"&&(b[zn]=!0),(a||n==="CONNECT")&&(b[zn]=!0),A!=null&&(b[zn]=A),e[Vu]&&b[d1]++>=e[Vu]&&(b[zn]=!0),l&&(b[Wc]=!0);let C=`${n} ${i} HTTP/1.1\r `;return typeof s=="string"?C+=`host: ${s}\r `:C+=e[l1],a?C+=`connection: upgrade\r upgrade: ${a}\r @@ -34,7 +34,7 @@ upgrade: ${a}\r `,"latin1"):(He(g===null,"no body must not have content length"),b.write(`${C}\r `,"latin1")),t.onRequestSent()):$e.isBuffer(r)?(He(g===r.byteLength,"buffer body must have content length"),b.cork(),b.write(`${C}content-length: ${g}\r \r -`,"latin1"),b.write(r),b.uncork(),t.onBodySent(r),t.onRequestSent(),f||(b[zn]=!0)):$e.isBlobLike(r)?typeof r.stream=="function"?yg({body:r.stream(),client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):b1({body:r,client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):$e.isStream(r)?m1({body:r,client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):$e.isIterable(r)?yg({body:r,client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):He(!1),!0}function hP(e,t,r){let{body:n,method:i,path:s,host:a,upgrade:c,expectContinue:l,signal:A,headers:f}=r,h;if(typeof f=="string"?h=NI[W6](f.trim()):h=f,c)return Kn(e,r,new Error("Upgrade not supported for H2")),!1;try{r.onConnect(_=>{r.aborted||r.completed||Kn(e,r,_||new PI)})}catch(_){Kn(e,r,_)}if(r.aborted)return!1;let g,b=e[Ig];if(h[z6]=a||e[p1],h[K6]=i,i==="CONNECT")return t.ref(),g=t.request(h,{endStream:!1,signal:A}),g.id&&!g.pending?(r.onUpgrade(null,null,g),++b.openStreams):g.once("ready",()=>{r.onUpgrade(null,null,g),++b.openStreams}),g.once("close",()=>{b.openStreams-=1,b.openStreams===0&&t.unref()}),!0;h[X6]=s,h[$6]="https";let C=i==="PUT"||i==="POST"||i==="PATCH";n&&typeof n.read=="function"&&n.read(0);let p=$e.bodyLength(n);if(p==null&&(p=r.contentLength),(p===0||!C)&&(p=null),Q1(i)&&p>0&&r.contentLength!=null&&r.contentLength!==p){if(e[qu])return Kn(e,r,new Go),!1;process.emitWarning(new Go)}p!=null&&(He(n,"no body must not have content length"),h[Z6]=`${p}`),t.ref();let Q=i==="GET"||i==="HEAD";return l?(h[eP]="100-continue",g=t.request(h,{endStream:Q,signal:A}),g.once("continue",R)):(g=t.request(h,{endStream:Q,signal:A}),R()),++b.openStreams,g.once("response",_=>{let{[tP]:d,...S}=_;r.onHeaders(Number(d),S,g.resume.bind(g),"")===!1&&g.pause()}),g.once("end",()=>{r.onComplete([])}),g.on("data",_=>{r.onData(_)===!1&&g.pause()}),g.once("close",()=>{b.openStreams-=1,b.openStreams===0&&t.unref()}),g.once("error",function(_){e[Fi]&&!e[Fi].destroyed&&!this.closed&&!this.destroyed&&(b.streams-=1,$e.destroy(g,_))}),g.once("frameError",(_,d)=>{let S=new js(`HTTP/2: "frameError" received - type ${_}, code ${d}`);Kn(e,r,S),e[Fi]&&!e[Fi].destroyed&&!this.closed&&!this.destroyed&&(b.streams-=1,$e.destroy(g,S))}),!0;function R(){n?$e.isBuffer(n)?(He(p===n.byteLength,"buffer body must have content length"),g.cork(),g.write(n),g.uncork(),g.end(),r.onBodySent(n),r.onRequestSent()):$e.isBlobLike(n)?typeof n.stream=="function"?yg({client:e,request:r,contentLength:p,h2stream:g,expectsPayload:C,body:n.stream(),socket:e[Vr],header:""}):b1({body:n,client:e,request:r,contentLength:p,expectsPayload:C,h2stream:g,header:"",socket:e[Vr]}):$e.isStream(n)?m1({body:n,client:e,request:r,contentLength:p,expectsPayload:C,socket:e[Vr],h2stream:g,header:""}):$e.isIterable(n)?yg({body:n,client:e,request:r,contentLength:p,expectsPayload:C,header:"",h2stream:g,socket:e[Vr]}):He(!1):r.onRequestSent()}}function m1({h2stream:e,body:t,client:r,request:n,socket:i,contentLength:s,header:a,expectsPayload:c}){if(He(s!==0||r[Fr]===0,"stream body cannot be pipelined"),r[Ks]==="h2"){let p=function(Q){n.onBodySent(Q)},C=_6(t,e,Q=>{Q?($e.destroy(t,Q),$e.destroy(e,Q)):n.onRequestSent()});C.on("data",p),C.once("end",()=>{C.removeListener("data",p),$e.destroy(C)});return}let l=!1,A=new Qg({socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a}),f=function(C){if(!l)try{!A.write(C)&&this.pause&&this.pause()}catch(p){$e.destroy(this,p)}},h=function(){l||t.resume&&t.resume()},g=function(){if(l)return;let C=new PI;queueMicrotask(()=>b(C))},b=function(C){if(!l){if(l=!0,He(i.destroyed||i[Yo]&&r[Fr]<=1),i.off("drain",h).off("error",b),t.removeListener("data",f).removeListener("end",b).removeListener("error",b).removeListener("close",g),!C)try{A.end()}catch(p){C=p}A.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?$e.destroy(t,C):$e.destroy(t)}};t.on("data",f).on("end",b).on("error",b).on("close",g),t.resume&&t.resume(),i.on("drain",h).on("error",b)}async function b1({h2stream:e,body:t,client:r,request:n,socket:i,contentLength:s,header:a,expectsPayload:c}){He(s===t.size,"blob body must have content length");let l=r[Ks]==="h2";try{if(s!=null&&s!==t.size)throw new Go;let A=Buffer.from(await t.arrayBuffer());l?(e.cork(),e.write(A),e.uncork()):(i.cork(),i.write(`${a}content-length: ${s}\r +`,"latin1"),b.write(r),b.uncork(),t.onBodySent(r),t.onRequestSent(),f||(b[zn]=!0)):$e.isBlobLike(r)?typeof r.stream=="function"?yg({body:r.stream(),client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):b1({body:r,client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):$e.isStream(r)?m1({body:r,client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):$e.isIterable(r)?yg({body:r,client:e,request:t,socket:b,contentLength:g,header:C,expectsPayload:f}):He(!1),!0}function fP(e,t,r){let{body:n,method:i,path:s,host:a,upgrade:c,expectContinue:l,signal:A,headers:f}=r,h;if(typeof f=="string"?h=NI[j6](f.trim()):h=f,c)return Kn(e,r,new Error("Upgrade not supported for H2")),!1;try{r.onConnect(_=>{r.aborted||r.completed||Kn(e,r,_||new PI)})}catch(_){Kn(e,r,_)}if(r.aborted)return!1;let g,b=e[Ig];if(h[K6]=a||e[p1],h[X6]=i,i==="CONNECT")return t.ref(),g=t.request(h,{endStream:!1,signal:A}),g.id&&!g.pending?(r.onUpgrade(null,null,g),++b.openStreams):g.once("ready",()=>{r.onUpgrade(null,null,g),++b.openStreams}),g.once("close",()=>{b.openStreams-=1,b.openStreams===0&&t.unref()}),!0;h[$6]=s,h[Z6]="https";let C=i==="PUT"||i==="POST"||i==="PATCH";n&&typeof n.read=="function"&&n.read(0);let p=$e.bodyLength(n);if(p==null&&(p=r.contentLength),(p===0||!C)&&(p=null),Q1(i)&&p>0&&r.contentLength!=null&&r.contentLength!==p){if(e[qu])return Kn(e,r,new Go),!1;process.emitWarning(new Go)}p!=null&&(He(n,"no body must not have content length"),h[eP]=`${p}`),t.ref();let Q=i==="GET"||i==="HEAD";return l?(h[tP]="100-continue",g=t.request(h,{endStream:Q,signal:A}),g.once("continue",R)):(g=t.request(h,{endStream:Q,signal:A}),R()),++b.openStreams,g.once("response",_=>{let{[rP]:d,...S}=_;r.onHeaders(Number(d),S,g.resume.bind(g),"")===!1&&g.pause()}),g.once("end",()=>{r.onComplete([])}),g.on("data",_=>{r.onData(_)===!1&&g.pause()}),g.once("close",()=>{b.openStreams-=1,b.openStreams===0&&t.unref()}),g.once("error",function(_){e[Fi]&&!e[Fi].destroyed&&!this.closed&&!this.destroyed&&(b.streams-=1,$e.destroy(g,_))}),g.once("frameError",(_,d)=>{let S=new js(`HTTP/2: "frameError" received - type ${_}, code ${d}`);Kn(e,r,S),e[Fi]&&!e[Fi].destroyed&&!this.closed&&!this.destroyed&&(b.streams-=1,$e.destroy(g,S))}),!0;function R(){n?$e.isBuffer(n)?(He(p===n.byteLength,"buffer body must have content length"),g.cork(),g.write(n),g.uncork(),g.end(),r.onBodySent(n),r.onRequestSent()):$e.isBlobLike(n)?typeof n.stream=="function"?yg({client:e,request:r,contentLength:p,h2stream:g,expectsPayload:C,body:n.stream(),socket:e[Vr],header:""}):b1({body:n,client:e,request:r,contentLength:p,expectsPayload:C,h2stream:g,header:"",socket:e[Vr]}):$e.isStream(n)?m1({body:n,client:e,request:r,contentLength:p,expectsPayload:C,socket:e[Vr],h2stream:g,header:""}):$e.isIterable(n)?yg({body:n,client:e,request:r,contentLength:p,expectsPayload:C,header:"",h2stream:g,socket:e[Vr]}):He(!1):r.onRequestSent()}}function m1({h2stream:e,body:t,client:r,request:n,socket:i,contentLength:s,header:a,expectsPayload:c}){if(He(s!==0||r[Fr]===0,"stream body cannot be pipelined"),r[Ks]==="h2"){let p=function(Q){n.onBodySent(Q)},C=k6(t,e,Q=>{Q?($e.destroy(t,Q),$e.destroy(e,Q)):n.onRequestSent()});C.on("data",p),C.once("end",()=>{C.removeListener("data",p),$e.destroy(C)});return}let l=!1,A=new Qg({socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a}),f=function(C){if(!l)try{!A.write(C)&&this.pause&&this.pause()}catch(p){$e.destroy(this,p)}},h=function(){l||t.resume&&t.resume()},g=function(){if(l)return;let C=new PI;queueMicrotask(()=>b(C))},b=function(C){if(!l){if(l=!0,He(i.destroyed||i[Yo]&&r[Fr]<=1),i.off("drain",h).off("error",b),t.removeListener("data",f).removeListener("end",b).removeListener("error",b).removeListener("close",g),!C)try{A.end()}catch(p){C=p}A.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?$e.destroy(t,C):$e.destroy(t)}};t.on("data",f).on("end",b).on("error",b).on("close",g),t.resume&&t.resume(),i.on("drain",h).on("error",b)}async function b1({h2stream:e,body:t,client:r,request:n,socket:i,contentLength:s,header:a,expectsPayload:c}){He(s===t.size,"blob body must have content length");let l=r[Ks]==="h2";try{if(s!=null&&s!==t.size)throw new Go;let A=Buffer.from(await t.arrayBuffer());l?(e.cork(),e.write(A),e.uncork()):(i.cork(),i.write(`${a}content-length: ${s}\r \r `,"latin1"),i.write(A),i.uncork()),n.onBodySent(A),n.onRequestSent(),c||(i[zn]=!0),Ui(r)}catch(A){$e.destroy(l?e:i,A)}}async function yg({h2stream:e,body:t,client:r,request:n,socket:i,contentLength:s,header:a,expectsPayload:c}){He(s!==0||r[Fr]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let g=l;l=null,g()}}let f=()=>new Promise((g,b)=>{He(l===null),i[Qn]?b(i[Qn]):l=g});if(r[Ks]==="h2"){e.on("close",A).on("drain",A);try{for await(let g of t){if(i[Qn])throw i[Qn];let b=e.write(g);n.onBodySent(g),b||await f()}}catch(g){e.destroy(g)}finally{n.onRequestSent(),e.end(),e.off("close",A).off("drain",A)}return}i.on("close",A).on("drain",A);let h=new Qg({socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let g of t){if(i[Qn])throw i[Qn];h.write(g)||await f()}h.end()}catch(g){h.destroy(g)}finally{i.off("close",A).off("drain",A)}}var Qg=class{constructor({socket:t,request:r,contentLength:n,client:i,expectsPayload:s,header:a}){this.socket=t,this.request=r,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=s,this.header=a,t[Yo]=!0}write(t){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Qn])throw r[Qn];if(r.destroyed)return!1;let A=Buffer.byteLength(t);if(!A)return!0;if(i!==null&&a+A>i){if(s[qu])throw new Go;process.emitWarning(new Go)}r.cork(),a===0&&(c||(r[zn]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${i}\r @@ -47,21 +47,21 @@ ${A.toString(16)}\r `,"latin1"):r===null&&t.write(`\r 0\r \r -`,"latin1"),r!==null&&i!==r){if(n[qu])throw new Go;process.emitWarning(new Go)}t[qr].timeout&&t[qr].timeoutType===jc&&t[qr].timeout.refresh&&t[qr].timeout.refresh(),Ui(n)}}destroy(t){let{socket:r,client:n}=this;r[Yo]=!1,t&&(He(n[Fr]<=1,"pipeline should only contain this request"),$e.destroy(r,t))}};function Kn(e,t,r){try{t.onError(r),He(t.aborted)}catch(n){e.emit("error",n)}}w1.exports=FI});var S1=Re((pee,v1)=>{"use strict";var bg=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(t){this.list[this.top]=t,this.top=this.top+1&2047}shift(){let t=this.list[this.bottom];return t===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,t)}};v1.exports=class{constructor(){this.head=this.tail=new bg}isEmpty(){return this.head.isEmpty()}push(t){this.head.isFull()&&(this.head=this.head.next=new bg),this.head.push(t)}shift(){let t=this.tail,r=t.shift();return t.isEmpty()&&t.next!==null&&(this.tail=t.next),r}}});var _1=Re((Cee,R1)=>{var{kFree:fP,kConnected:gP,kPending:dP,kQueued:EP,kRunning:pP,kSize:CP}=lr(),ya=Symbol("pool"),qI=class{constructor(t){this[ya]=t}get connected(){return this[ya][gP]}get free(){return this[ya][fP]}get pending(){return this[ya][dP]}get queued(){return this[ya][EP]}get running(){return this[ya][pP]}get size(){return this[ya][CP]}};R1.exports=qI});var WI=Re((Iee,O1)=>{"use strict";var IP=Lu(),BP=S1(),{kConnected:VI,kSize:k1,kRunning:D1,kPending:N1,kQueued:Gu,kBusy:yP,kFree:QP,kUrl:mP,kClose:bP,kDestroy:wP,kDispatch:vP}=lr(),SP=_1(),hi=Symbol("clients"),Xn=Symbol("needDrain"),Yu=Symbol("queue"),HI=Symbol("closed resolve"),GI=Symbol("onDrain"),T1=Symbol("onConnect"),L1=Symbol("onDisconnect"),F1=Symbol("onConnectionError"),YI=Symbol("get dispatcher"),x1=Symbol("add client"),M1=Symbol("remove client"),U1=Symbol("stats"),JI=class extends IP{constructor(){super(),this[Yu]=new BP,this[hi]=[],this[Gu]=0;let t=this;this[GI]=function(n,i){let s=t[Yu],a=!1;for(;!a;){let c=s.shift();if(!c)break;t[Gu]--,a=!this.dispatch(c.opts,c.handler)}this[Xn]=a,!this[Xn]&&t[Xn]&&(t[Xn]=!1,t.emit("drain",n,[t,...i])),t[HI]&&s.isEmpty()&&Promise.all(t[hi].map(c=>c.close())).then(t[HI])},this[T1]=(r,n)=>{t.emit("connect",r,[t,...n])},this[L1]=(r,n,i)=>{t.emit("disconnect",r,[t,...n],i)},this[F1]=(r,n,i)=>{t.emit("connectionError",r,[t,...n],i)},this[U1]=new SP(this)}get[yP](){return this[Xn]}get[VI](){return this[hi].filter(t=>t[VI]).length}get[QP](){return this[hi].filter(t=>t[VI]&&!t[Xn]).length}get[N1](){let t=this[Gu];for(let{[N1]:r}of this[hi])t+=r;return t}get[D1](){let t=0;for(let{[D1]:r}of this[hi])t+=r;return t}get[k1](){let t=this[Gu];for(let{[k1]:r}of this[hi])t+=r;return t}get stats(){return this[U1]}async[bP](){return this[Yu].isEmpty()?Promise.all(this[hi].map(t=>t.close())):new Promise(t=>{this[HI]=t})}async[wP](t){for(;;){let r=this[Yu].shift();if(!r)break;r.handler.onError(t)}return Promise.all(this[hi].map(r=>r.destroy(t)))}[vP](t,r){let n=this[YI]();return n?n.dispatch(t,r)||(n[Xn]=!0,this[Xn]=!this[YI]()):(this[Xn]=!0,this[Yu].push({opts:t,handler:r}),this[Gu]++),!this[Xn]}[x1](t){return t.on("drain",this[GI]).on("connect",this[T1]).on("disconnect",this[L1]).on("connectionError",this[F1]),this[hi].push(t),this[Xn]&&process.nextTick(()=>{this[Xn]&&this[GI](t[mP],[this,t])}),this}[M1](t){t.close(()=>{let r=this[hi].indexOf(t);r!==-1&&this[hi].splice(r,1)}),this[Xn]=this[hi].some(r=>!r[Xn]&&r.closed!==!0&&r.destroyed!==!0)}};O1.exports={PoolBase:JI,kClients:hi,kNeedDrain:Xn,kAddClient:x1,kRemoveClient:M1,kGetDispatcher:YI}});var zc=Re((Bee,H1)=>{"use strict";var{PoolBase:RP,kClients:P1,kNeedDrain:_P,kAddClient:kP,kGetDispatcher:DP}=WI(),NP=Hu(),{InvalidArgumentError:jI}=Ar(),zI=Nt(),{kUrl:q1,kInterceptors:TP}=lr(),LP=Fu(),KI=Symbol("options"),XI=Symbol("connections"),V1=Symbol("factory");function FP(e,t){return new NP(e,t)}var $I=class extends RP{constructor(t,{connections:r,factory:n=FP,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:f,allowH2:h,...g}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new jI("invalid connections");if(typeof n!="function")throw new jI("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new jI("connect must be a function or an object");typeof i!="function"&&(i=LP({...a,maxCachedSessions:c,allowH2:h,socketPath:l,timeout:s,...zI.nodeHasAutoSelectFamily&&A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:f}:void 0,...i})),this[TP]=g.interceptors&&g.interceptors.Pool&&Array.isArray(g.interceptors.Pool)?g.interceptors.Pool:[],this[XI]=r||null,this[q1]=zI.parseOrigin(t),this[KI]={...zI.deepClone(g),connect:i,allowH2:h},this[KI].interceptors=g.interceptors?{...g.interceptors}:void 0,this[V1]=n}[DP](){let t=this[P1].find(r=>!r[_P]);return t||((!this[XI]||this[P1].length{"use strict";var{BalancedPoolMissingUpstreamError:UP,InvalidArgumentError:xP}=Ar(),{PoolBase:MP,kClients:$n,kNeedDrain:Ju,kAddClient:OP,kRemoveClient:PP,kGetDispatcher:qP}=WI(),VP=zc(),{kUrl:ZI,kInterceptors:HP}=lr(),{parseOrigin:G1}=Nt(),Y1=Symbol("factory"),wg=Symbol("options"),J1=Symbol("kGreatestCommonDivisor"),Qa=Symbol("kCurrentWeight"),ma=Symbol("kIndex"),ns=Symbol("kWeight"),vg=Symbol("kMaxWeightPerServer"),Sg=Symbol("kErrorPenalty");function W1(e,t){return t===0?e:W1(t,e%t)}function GP(e,t){return new VP(e,t)}var eB=class extends MP{constructor(t=[],{factory:r=GP,...n}={}){if(super(),this[wg]=n,this[ma]=-1,this[Qa]=0,this[vg]=this[wg].maxWeightPerServer||100,this[Sg]=this[wg].errorPenalty||15,Array.isArray(t)||(t=[t]),typeof r!="function")throw new xP("factory must be a function.");this[HP]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[Y1]=r;for(let i of t)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(t){let r=G1(t).origin;if(this[$n].find(i=>i[ZI].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Y1](r,Object.assign({},this[wg]));this[OP](n),n.on("connect",()=>{n[ns]=Math.min(this[vg],n[ns]+this[Sg])}),n.on("connectionError",()=>{n[ns]=Math.max(1,n[ns]-this[Sg]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[ns]=Math.max(1,n[ns]-this[Sg]),this._updateBalancedPoolStats())});for(let i of this[$n])i[ns]=this[vg];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){this[J1]=this[$n].map(t=>t[ns]).reduce(W1,0)}removeUpstream(t){let r=G1(t).origin,n=this[$n].find(i=>i[ZI].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[PP](n),this}get upstreams(){return this[$n].filter(t=>t.closed!==!0&&t.destroyed!==!0).map(t=>t[ZI].origin)}[qP](){if(this[$n].length===0)throw new UP;if(!this[$n].find(s=>!s[Ju]&&s.closed!==!0&&s.destroyed!==!0)||this[$n].map(s=>s[Ju]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[$n].findIndex(s=>!s[Ju]);for(;n++this[$n][i][ns]&&!s[Ju]&&(i=this[ma]),this[ma]===0&&(this[Qa]=this[Qa]-this[J1],this[Qa]<=0&&(this[Qa]=this[vg])),s[ns]>=this[Qa]&&!s[Ju])return s}return this[Qa]=this[$n][i][ns],this[ma]=i,this[$n][i]}};j1.exports=eB});var tB=Re((Qee,$1)=>{"use strict";var{kConnected:K1,kSize:X1}=lr(),Rg=class{constructor(t){this.value=t}deref(){return this.value[K1]===0&&this.value[X1]===0?void 0:this.value}},_g=class{constructor(t){this.finalizer=t}register(t,r){t.on&&t.on("disconnect",()=>{t[K1]===0&&t[X1]===0&&this.finalizer(r)})}};$1.exports=function(){return process.env.NODE_V8_COVERAGE?{WeakRef:Rg,FinalizationRegistry:_g}:{WeakRef:global.WeakRef||Rg,FinalizationRegistry:global.FinalizationRegistry||_g}}});var Wu=Re((mee,oS)=>{"use strict";var{InvalidArgumentError:kg}=Ar(),{kClients:TA,kRunning:Z1,kClose:YP,kDestroy:JP,kDispatch:WP,kInterceptors:jP}=lr(),zP=Lu(),KP=zc(),XP=Hu(),$P=Nt(),ZP=gg(),{WeakRef:eq,FinalizationRegistry:tq}=tB()(),eS=Symbol("onConnect"),tS=Symbol("onDisconnect"),rS=Symbol("onConnectionError"),rq=Symbol("maxRedirections"),nS=Symbol("onDrain"),iS=Symbol("factory"),sS=Symbol("finalizer"),rB=Symbol("options");function nq(e,t){return t&&t.connections===1?new XP(e,t):new KP(e,t)}var nB=class extends zP{constructor({factory:t=nq,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof t!="function")throw new kg("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new kg("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new kg("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[jP]=i.interceptors&&i.interceptors.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[ZP({maxRedirections:r})],this[rB]={...$P.deepClone(i),connect:n},this[rB].interceptors=i.interceptors?{...i.interceptors}:void 0,this[rq]=r,this[iS]=t,this[TA]=new Map,this[sS]=new tq(a=>{let c=this[TA].get(a);c!==void 0&&c.deref()===void 0&&this[TA].delete(a)});let s=this;this[nS]=(a,c)=>{s.emit("drain",a,[s,...c])},this[eS]=(a,c)=>{s.emit("connect",a,[s,...c])},this[tS]=(a,c,l)=>{s.emit("disconnect",a,[s,...c],l)},this[rS]=(a,c,l)=>{s.emit("connectionError",a,[s,...c],l)}}get[Z1](){let t=0;for(let r of this[TA].values()){let n=r.deref();n&&(t+=n[Z1])}return t}[WP](t,r){let n;if(t.origin&&(typeof t.origin=="string"||t.origin instanceof URL))n=String(t.origin);else throw new kg("opts.origin must be a non-empty string or URL.");let i=this[TA].get(n),s=i?i.deref():null;return s||(s=this[iS](t.origin,this[rB]).on("drain",this[nS]).on("connect",this[eS]).on("disconnect",this[tS]).on("connectionError",this[rS]),this[TA].set(n,new eq(s)),this[sS].register(s,n)),s.dispatch(t,r)}async[YP](){let t=[];for(let r of this[TA].values()){let n=r.deref();n&&t.push(n.close())}await Promise.all(t)}async[JP](t){let r=[];for(let n of this[TA].values()){let i=n.deref();i&&r.push(i.destroy(t))}await Promise.all(r)}};oS.exports=nB});var dS=Re((wee,gS)=>{"use strict";var lS=require("assert"),{Readable:iq}=require("stream"),{RequestAbortedError:uS,NotSupportedError:sq,InvalidArgumentError:oq}=Ar(),Tg=Nt(),{ReadableStreamFrom:Aq,toUSVString:aq}=Nt(),iB,xi=Symbol("kConsume"),Dg=Symbol("kReading"),LA=Symbol("kBody"),AS=Symbol("abort"),hS=Symbol("kContentType"),aS=()=>{};gS.exports=class extends iq{constructor({resume:t,abort:r,contentType:n="",highWaterMark:i=64*1024}){super({autoDestroy:!0,read:t,highWaterMark:i}),this._readableState.dataEmitted=!1,this[AS]=r,this[xi]=null,this[LA]=null,this[hS]=n,this[Dg]=!1}destroy(t){return this.destroyed?this:(!t&&!this._readableState.endEmitted&&(t=new uS),t&&this[AS](),super.destroy(t))}emit(t,...r){return t==="data"?this._readableState.dataEmitted=!0:t==="error"&&(this._readableState.errorEmitted=!0),super.emit(t,...r)}on(t,...r){return(t==="data"||t==="readable")&&(this[Dg]=!0),super.on(t,...r)}addListener(t,...r){return this.on(t,...r)}off(t,...r){let n=super.off(t,...r);return(t==="data"||t==="readable")&&(this[Dg]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(t,...r){return this.off(t,...r)}push(t){return this[xi]&&t!==null&&this.readableLength===0?(fS(this[xi],t),this[Dg]?super.push(t):!0):super.push(t)}async text(){return Ng(this,"text")}async json(){return Ng(this,"json")}async blob(){return Ng(this,"blob")}async arrayBuffer(){return Ng(this,"arrayBuffer")}async formData(){throw new sq}get bodyUsed(){return Tg.isDisturbed(this)}get body(){return this[LA]||(this[LA]=Aq(this),this[xi]&&(this[LA].getReader(),lS(this[LA].locked))),this[LA]}dump(t){let r=t&&Number.isFinite(t.limit)?t.limit:262144,n=t&&t.signal;if(n)try{if(typeof n!="object"||!("aborted"in n))throw new oq("signal must be an AbortSignal");Tg.throwIfAborted(n)}catch(i){return Promise.reject(i)}return this.closed?Promise.resolve(null):new Promise((i,s)=>{let a=n?Tg.addAbortListener(n,()=>{this.destroy()}):aS;this.on("close",function(){a(),n&&n.aborted?s(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"})):i(null)}).on("error",aS).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function cq(e){return e[LA]&&e[LA].locked===!0||e[xi]}function lq(e){return Tg.isDisturbed(e)||cq(e)}async function Ng(e,t){if(lq(e))throw new TypeError("unusable");return lS(!e[xi]),new Promise((r,n)=>{e[xi]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]},e.on("error",function(i){sB(this[xi],i)}).on("close",function(){this[xi].body!==null&&sB(this[xi],new uS)}),process.nextTick(uq,e[xi])})}function uq(e){if(e.body===null)return;let{_readableState:t}=e.stream;for(let r of t.buffer)fS(e,r);for(t.endEmitted?cS(this[xi]):e.stream.on("end",function(){cS(this[xi])}),e.stream.resume();e.stream.read()!=null;);}function cS(e){let{type:t,body:r,resolve:n,stream:i,length:s}=e;try{if(t==="text")n(aq(Buffer.concat(r)));else if(t==="json")n(JSON.parse(Buffer.concat(r)));else if(t==="arrayBuffer"){let a=new Uint8Array(s),c=0;for(let l of r)a.set(l,c),c+=l.byteLength;n(a.buffer)}else t==="blob"&&(iB||(iB=require("buffer").Blob),n(new iB(r,{type:i[hS]})));sB(e)}catch(a){i.destroy(a)}}function fS(e,t){e.length+=t.length,e.body.push(t)}function sB(e,t){e.body!==null&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}});var oB=Re((vee,pS)=>{var hq=require("assert"),{ResponseStatusCodeError:Lg}=Ar(),{toUSVString:ES}=Nt();async function fq({callback:e,body:t,contentType:r,statusCode:n,statusMessage:i,headers:s}){hq(t);let a=[],c=0;for await(let l of t)if(a.push(l),c+=l.length,c>128*1024){a=null;break}if(n===204||!r||!a){process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s));return}try{if(r.startsWith("application/json")){let l=JSON.parse(ES(Buffer.concat(a)));process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s,l));return}if(r.startsWith("text/")){let l=ES(Buffer.concat(a));process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s,l));return}}catch{}process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s))}pS.exports={getResolveErrorBodyCallback:fq}});var Xc=Re((See,IS)=>{var{addAbortListener:gq}=Nt(),{RequestAbortedError:dq}=Ar(),Kc=Symbol("kListener"),FA=Symbol("kSignal");function CS(e){e.abort?e.abort():e.onError(new dq)}function Eq(e,t){if(e[FA]=null,e[Kc]=null,!!t){if(t.aborted){CS(e);return}e[FA]=t,e[Kc]=()=>{CS(e)},gq(e[FA],e[Kc])}}function pq(e){e[FA]&&("removeEventListener"in e[FA]?e[FA].removeEventListener("abort",e[Kc]):e[FA].removeListener("abort",e[Kc]),e[FA]=null,e[Kc]=null)}IS.exports={addSignal:Eq,removeSignal:pq}});var QS=Re((Ree,AB)=>{"use strict";var Cq=dS(),{InvalidArgumentError:$c,RequestAbortedError:Iq}=Ar(),Xs=Nt(),{getResolveErrorBodyCallback:Bq}=oB(),{AsyncResource:yq}=require("async_hooks"),{addSignal:Qq,removeSignal:BS}=Xc(),Fg=class extends yq{constructor(t,r){if(!t||typeof t!="object")throw new $c("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:f}=t;try{if(typeof r!="function")throw new $c("invalid callback");if(f&&(typeof f!="number"||f<0))throw new $c("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new $c("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new $c("invalid method");if(c&&typeof c!="function")throw new $c("invalid onInfo callback");super("UNDICI_REQUEST")}catch(h){throw Xs.isStream(a)&&Xs.destroy(a.on("error",Xs.nop),h),h}this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=f,Xs.isStream(a)&&a.on("error",h=>{this.onError(h)}),Qq(this,n)}onConnect(t,r){if(!this.callback)throw new Iq;this.abort=t,this.context=r}onHeaders(t,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:f}=this,h=A==="raw"?Xs.parseRawHeaders(r):Xs.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:h});return}let b=(A==="raw"?Xs.parseHeaders(r):h)["content-type"],C=new Cq({resume:n,abort:c,contentType:b,highWaterMark:f});this.callback=null,this.res=C,s!==null&&(this.throwOnError&&t>=400?this.runInAsyncScope(Bq,null,{callback:s,body:C,contentType:b,statusCode:t,statusMessage:i,headers:h}):this.runInAsyncScope(s,null,null,{statusCode:t,headers:h,trailers:this.trailers,opaque:a,body:C,context:l}))}onData(t){let{res:r}=this;return r.push(t)}onComplete(t){let{res:r}=this;BS(this),Xs.parseHeaders(t,this.trailers),r.push(null)}onError(t){let{res:r,callback:n,body:i,opaque:s}=this;BS(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{Xs.destroy(r,t)})),i&&(this.body=null,Xs.destroy(i,t))}};function yS(e,t){if(t===void 0)return new Promise((r,n)=>{yS.call(this,e,(i,s)=>i?n(i):r(s))});try{this.dispatch(e,new Fg(e,t))}catch(r){if(typeof t!="function")throw r;let n=e&&e.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}AB.exports=yS;AB.exports.RequestHandler=Fg});var vS=Re((_ee,wS)=>{"use strict";var{finished:mq,PassThrough:bq}=require("stream"),{InvalidArgumentError:Zc,InvalidReturnValueError:wq,RequestAbortedError:vq}=Ar(),Bs=Nt(),{getResolveErrorBodyCallback:Sq}=oB(),{AsyncResource:Rq}=require("async_hooks"),{addSignal:_q,removeSignal:mS}=Xc(),aB=class extends Rq{constructor(t,r,n){if(!t||typeof t!="object")throw new Zc("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:f}=t;try{if(typeof n!="function")throw new Zc("invalid callback");if(typeof r!="function")throw new Zc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Zc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Zc("invalid method");if(l&&typeof l!="function")throw new Zc("invalid onInfo callback");super("UNDICI_STREAM")}catch(h){throw Bs.isStream(c)&&Bs.destroy(c.on("error",Bs.nop),h),h}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=f||!1,Bs.isStream(c)&&c.on("error",h=>{this.onError(h)}),_q(this,i)}onConnect(t,r){if(!this.callback)throw new vq;this.abort=t,this.context=r}onHeaders(t,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:A}=this,f=A==="raw"?Bs.parseRawHeaders(r):Bs.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:f});return}this.factory=null;let h;if(this.throwOnError&&t>=400){let C=(A==="raw"?Bs.parseHeaders(r):f)["content-type"];h=new bq,this.callback=null,this.runInAsyncScope(Sq,null,{callback:l,body:h,contentType:C,statusCode:t,statusMessage:i,headers:f})}else{if(s===null)return;if(h=this.runInAsyncScope(s,null,{statusCode:t,headers:f,opaque:a,context:c}),!h||typeof h.write!="function"||typeof h.end!="function"||typeof h.on!="function")throw new wq("expected Writable");mq(h,{readable:!1},b=>{let{callback:C,res:p,opaque:Q,trailers:R,abort:_}=this;this.res=null,(b||!p.readable)&&Bs.destroy(p,b),this.callback=null,this.runInAsyncScope(C,null,b||null,{opaque:Q,trailers:R}),b&&_()})}return h.on("drain",n),this.res=h,(h.writableNeedDrain!==void 0?h.writableNeedDrain:h._writableState&&h._writableState.needDrain)!==!0}onData(t){let{res:r}=this;return r?r.write(t):!0}onComplete(t){let{res:r}=this;mS(this),r&&(this.trailers=Bs.parseHeaders(t),r.end())}onError(t){let{res:r,callback:n,opaque:i,body:s}=this;mS(this),this.factory=null,r?(this.res=null,Bs.destroy(r,t)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:i})})),s&&(this.body=null,Bs.destroy(s,t))}};function bS(e,t,r){if(r===void 0)return new Promise((n,i)=>{bS.call(this,e,t,(s,a)=>s?i(s):n(a))});try{this.dispatch(e,new aB(e,t,r))}catch(n){if(typeof r!="function")throw n;let i=e&&e.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}wS.exports=bS});var _S=Re((kee,RS)=>{"use strict";var{Readable:SS,Duplex:kq,PassThrough:Dq}=require("stream"),{InvalidArgumentError:ju,InvalidReturnValueError:Nq,RequestAbortedError:Ug}=Ar(),is=Nt(),{AsyncResource:Tq}=require("async_hooks"),{addSignal:Lq,removeSignal:Fq}=Xc(),Uq=require("assert"),el=Symbol("resume"),cB=class extends SS{constructor(){super({autoDestroy:!0}),this[el]=null}_read(){let{[el]:t}=this;t&&(this[el]=null,t())}_destroy(t,r){this._read(),r(t)}},lB=class extends SS{constructor(t){super({autoDestroy:!0}),this[el]=t}_read(){this[el]()}_destroy(t,r){!t&&!this._readableState.endEmitted&&(t=new Ug),r(t)}},uB=class extends Tq{constructor(t,r){if(!t||typeof t!="object")throw new ju("invalid opts");if(typeof r!="function")throw new ju("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new ju("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new ju("invalid method");if(a&&typeof a!="function")throw new ju("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new cB().on("error",is.nop),this.ret=new kq({readableObjectMode:t.objectMode,autoDestroy:!0,read:()=>{let{body:l}=this;l&&l.resume&&l.resume()},write:(l,A,f)=>{let{req:h}=this;h.push(l,A)||h._readableState.destroyed?f():h[el]=f},destroy:(l,A)=>{let{body:f,req:h,res:g,ret:b,abort:C}=this;!l&&!b._readableState.endEmitted&&(l=new Ug),C&&l&&C(),is.destroy(f,l),is.destroy(h,l),is.destroy(g,l),Fq(this),A(l)}}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Lq(this,n)}onConnect(t,r){let{ret:n,res:i}=this;if(Uq(!i,"pipeline cannot be retried"),n.destroyed)throw new Ug;this.abort=t,this.context=r}onHeaders(t,r,n){let{opaque:i,handler:s,context:a}=this;if(t<200){if(this.onInfo){let l=this.responseHeaders==="raw"?is.parseRawHeaders(r):is.parseHeaders(r);this.onInfo({statusCode:t,headers:l})}return}this.res=new lB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?is.parseRawHeaders(r):is.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:t,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",is.nop),l}if(!c||typeof c.on!="function")throw new Nq("expected Readable");c.on("data",l=>{let{ret:A,body:f}=this;!A.push(l)&&f.pause&&f.pause()}).on("error",l=>{let{ret:A}=this;is.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||is.destroy(l,new Ug)}),this.body=c}onData(t){let{res:r}=this;return r.push(t)}onComplete(t){let{res:r}=this;r.push(null)}onError(t){let{ret:r}=this;this.handler=null,is.destroy(r,t)}};function xq(e,t){try{let r=new uB(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(r){return new Dq().destroy(r)}}RS.exports=xq});var LS=Re((Dee,TS)=>{"use strict";var{InvalidArgumentError:hB,RequestAbortedError:Mq,SocketError:Oq}=Ar(),{AsyncResource:Pq}=require("async_hooks"),kS=Nt(),{addSignal:qq,removeSignal:DS}=Xc(),Vq=require("assert"),fB=class extends Pq{constructor(t,r){if(!t||typeof t!="object")throw new hB("invalid opts");if(typeof r!="function")throw new hB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new hB("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,qq(this,n)}onConnect(t,r){if(!this.callback)throw new Mq;this.abort=t,this.context=null}onHeaders(){throw new Oq("bad upgrade",null)}onUpgrade(t,r,n){let{callback:i,opaque:s,context:a}=this;Vq.strictEqual(t,101),DS(this),this.callback=null;let c=this.responseHeaders==="raw"?kS.parseRawHeaders(r):kS.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(t){let{callback:r,opaque:n}=this;DS(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function NS(e,t){if(t===void 0)return new Promise((r,n)=>{NS.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new fB(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!="function")throw r;let n=e&&e.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}TS.exports=NS});var OS=Re((Nee,MS)=>{"use strict";var{AsyncResource:Hq}=require("async_hooks"),{InvalidArgumentError:gB,RequestAbortedError:Gq,SocketError:Yq}=Ar(),FS=Nt(),{addSignal:Jq,removeSignal:US}=Xc(),dB=class extends Hq{constructor(t,r){if(!t||typeof t!="object")throw new gB("invalid opts");if(typeof r!="function")throw new gB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new gB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Jq(this,n)}onConnect(t,r){if(!this.callback)throw new Gq;this.abort=t,this.context=r}onHeaders(){throw new Yq("bad connect",null)}onUpgrade(t,r,n){let{callback:i,opaque:s,context:a}=this;US(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?FS.parseRawHeaders(r):FS.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:t,headers:c,socket:n,opaque:s,context:a})}onError(t){let{callback:r,opaque:n}=this;US(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function xS(e,t){if(t===void 0)return new Promise((r,n)=>{xS.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new dB(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!="function")throw r;let n=e&&e.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}MS.exports=xS});var PS=Re((Tee,tl)=>{"use strict";tl.exports.request=QS();tl.exports.stream=vS();tl.exports.pipeline=_S();tl.exports.upgrade=LS();tl.exports.connect=OS()});var pB=Re((Lee,qS)=>{"use strict";var{UndiciError:Wq}=Ar(),EB=class e extends Wq{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="MockNotMatchedError",this.message=t||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}};qS.exports={MockNotMatchedError:EB}});var rl=Re((Fee,VS)=>{"use strict";VS.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var zu=Re((Uee,eR)=>{"use strict";var{MockNotMatchedError:ba}=pB(),{kDispatches:xg,kMockAgent:jq,kOriginalDispatch:zq,kOrigin:Kq,kGetNetConnect:Xq}=rl(),{buildURL:$q,nop:Zq}=Nt(),{STATUS_CODES:eV}=require("http"),{types:{isPromise:tV}}=require("util");function Jo(e,t){return typeof e=="string"?e===t:e instanceof RegExp?e.test(t):typeof e=="function"?e(t)===!0:!1}function GS(e){return Object.fromEntries(Object.entries(e).map(([t,r])=>[t.toLocaleLowerCase(),r]))}function YS(e,t){if(Array.isArray(e)){for(let r=0;r"u")return!0;if(typeof t!="object"||typeof e.headers!="object")return!1;for(let[r,n]of Object.entries(e.headers)){let i=YS(t,r);if(!Jo(n,i))return!1}return!0}function HS(e){if(typeof e!="string")return e;let t=e.split("?");if(t.length!==2)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function rV(e,{path:t,method:r,body:n,headers:i}){let s=Jo(e.path,t),a=Jo(e.method,r),c=typeof e.body<"u"?Jo(e.body,n):!0,l=WS(e,i);return s&&a&&c&&l}function jS(e){return Buffer.isBuffer(e)?e:typeof e=="object"?JSON.stringify(e):e.toString()}function zS(e,t){let r=t.query?$q(t.path,t.query):t.path,n=typeof r=="string"?HS(r):r,i=e.filter(({consumed:s})=>!s).filter(({path:s})=>Jo(HS(s),n));if(i.length===0)throw new ba(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Jo(s,t.method)),i.length===0)throw new ba(`Mock dispatch not matched for method '${t.method}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Jo(s,t.body):!0),i.length===0)throw new ba(`Mock dispatch not matched for body '${t.body}'`);if(i=i.filter(s=>WS(s,t.headers)),i.length===0)throw new ba(`Mock dispatch not matched for headers '${typeof t.headers=="object"?JSON.stringify(t.headers):t.headers}'`);return i[0]}function nV(e,t,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...t,pending:!0,data:{error:null,...i}};return e.push(s),s}function CB(e,t){let r=e.findIndex(n=>n.consumed?rV(n,t):!1);r!==-1&&e.splice(r,1)}function KS(e){let{path:t,method:r,body:n,headers:i,query:s}=e;return{path:t,method:r,body:n,headers:i,query:s}}function IB(e){return Object.entries(e).reduce((t,[r,n])=>[...t,Buffer.from(`${r}`),Array.isArray(n)?n.map(i=>Buffer.from(`${i}`)):Buffer.from(`${n}`)],[])}function XS(e){return eV[e]||"unknown"}async function iV(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")}function $S(e,t){let r=KS(e),n=zS(this[xg],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(e)});let{data:{statusCode:i,data:s,headers:a,trailers:c,error:l},delay:A,persist:f}=n,{timesInvoked:h,times:g}=n;if(n.consumed=!f&&h>=g,n.pending=h0?setTimeout(()=>{b(this[xg])},A):b(this[xg]);function b(p,Q=s){let R=Array.isArray(e.headers)?JS(e.headers):e.headers,_=typeof Q=="function"?Q({...e,headers:R}):Q;if(tV(_)){_.then(T=>b(p,T));return}let d=jS(_),S=IB(a),m=IB(c);t.abort=Zq,t.onHeaders(i,S,C,XS(i)),t.onData(Buffer.from(d)),t.onComplete(m),CB(p,r)}function C(){}return!0}function sV(){let e=this[jq],t=this[Kq],r=this[zq];return function(i,s){if(e.isMockActive)try{$S.call(this,i,s)}catch(a){if(a instanceof ba){let c=e[Xq]();if(c===!1)throw new ba(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`);if(ZS(c,t))r.call(this,i,s);else throw new ba(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,s)}}function ZS(e,t){let r=new URL(t);return e===!0?!0:!!(Array.isArray(e)&&e.some(n=>Jo(n,r.host)))}function oV(e){if(e){let{agent:t,...r}=e;return r}}eR.exports={getResponseData:jS,getMockDispatch:zS,addMockDispatch:nV,deleteMockDispatch:CB,buildKey:KS,generateKeyValues:IB,matchValue:Jo,getResponse:iV,getStatusText:XS,mockDispatch:$S,buildMockDispatch:sV,checkNetConnect:ZS,buildMockOptions:oV,getHeaderByName:YS}});var vB=Re((xee,wB)=>{"use strict";var{getResponseData:AV,buildKey:aV,addMockDispatch:BB}=zu(),{kDispatches:Mg,kDispatchKey:Og,kDefaultHeaders:yB,kDefaultTrailers:QB,kContentLength:mB,kMockDispatch:Pg}=rl(),{InvalidArgumentError:ys}=Ar(),{buildURL:cV}=Nt(),nl=class{constructor(t){this[Pg]=t}delay(t){if(typeof t!="number"||!Number.isInteger(t)||t<=0)throw new ys("waitInMs must be a valid integer > 0");return this[Pg].delay=t,this}persist(){return this[Pg].persist=!0,this}times(t){if(typeof t!="number"||!Number.isInteger(t)||t<=0)throw new ys("repeatTimes must be a valid integer > 0");return this[Pg].times=t,this}},bB=class{constructor(t,r){if(typeof t!="object")throw new ys("opts must be an object");if(typeof t.path>"u")throw new ys("opts.path must be defined");if(typeof t.method>"u"&&(t.method="GET"),typeof t.path=="string")if(t.query)t.path=cV(t.path,t.query);else{let n=new URL(t.path,"data://");t.path=n.pathname+n.search}typeof t.method=="string"&&(t.method=t.method.toUpperCase()),this[Og]=aV(t),this[Mg]=r,this[yB]={},this[QB]={},this[mB]=!1}createMockScopeDispatchData(t,r,n={}){let i=AV(r),s=this[mB]?{"content-length":i.length}:{},a={...this[yB],...s,...n.headers},c={...this[QB],...n.trailers};return{statusCode:t,data:r,headers:a,trailers:c}}validateReplyParameters(t,r,n){if(typeof t>"u")throw new ys("statusCode must be defined");if(typeof r>"u")throw new ys("data must be defined");if(typeof n!="object")throw new ys("responseOptions must be an object")}reply(t){if(typeof t=="function"){let c=A=>{let f=t(A);if(typeof f!="object")throw new ys("reply options callback must return an object");let{statusCode:h,data:g="",responseOptions:b={}}=f;return this.validateReplyParameters(h,g,b),{...this.createMockScopeDispatchData(h,g,b)}},l=BB(this[Mg],this[Og],c);return new nl(l)}let[r,n="",i={}]=[...arguments];this.validateReplyParameters(r,n,i);let s=this.createMockScopeDispatchData(r,n,i),a=BB(this[Mg],this[Og],s);return new nl(a)}replyWithError(t){if(typeof t>"u")throw new ys("error must be defined");let r=BB(this[Mg],this[Og],{error:t});return new nl(r)}defaultReplyHeaders(t){if(typeof t>"u")throw new ys("headers must be defined");return this[yB]=t,this}defaultReplyTrailers(t){if(typeof t>"u")throw new ys("trailers must be defined");return this[QB]=t,this}replyContentLength(){return this[mB]=!0,this}};wB.exports.MockInterceptor=bB;wB.exports.MockScope=nl});var _B=Re((Mee,AR)=>{"use strict";var{promisify:lV}=require("util"),uV=Hu(),{buildMockDispatch:hV}=zu(),{kDispatches:tR,kMockAgent:rR,kClose:nR,kOriginalClose:iR,kOrigin:sR,kOriginalDispatch:fV,kConnected:SB}=rl(),{MockInterceptor:gV}=vB(),oR=lr(),{InvalidArgumentError:dV}=Ar(),RB=class extends uV{constructor(t,r){if(super(t,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new dV("Argument opts.agent must implement Agent");this[rR]=r.agent,this[sR]=t,this[tR]=[],this[SB]=1,this[fV]=this.dispatch,this[iR]=this.close.bind(this),this.dispatch=hV.call(this),this.close=this[nR]}get[oR.kConnected](){return this[SB]}intercept(t){return new gV(t,this[tR])}async[nR](){await lV(this[iR])(),this[SB]=0,this[rR][oR.kClients].delete(this[sR])}};AR.exports=RB});var NB=Re((Oee,gR)=>{"use strict";var{promisify:EV}=require("util"),pV=zc(),{buildMockDispatch:CV}=zu(),{kDispatches:aR,kMockAgent:cR,kClose:lR,kOriginalClose:uR,kOrigin:hR,kOriginalDispatch:IV,kConnected:kB}=rl(),{MockInterceptor:BV}=vB(),fR=lr(),{InvalidArgumentError:yV}=Ar(),DB=class extends pV{constructor(t,r){if(super(t,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new yV("Argument opts.agent must implement Agent");this[cR]=r.agent,this[hR]=t,this[aR]=[],this[kB]=1,this[IV]=this.dispatch,this[uR]=this.close.bind(this),this.dispatch=CV.call(this),this.close=this[lR]}get[fR.kConnected](){return this[kB]}intercept(t){return new BV(t,this[aR])}async[lR](){await EV(this[uR])(),this[kB]=0,this[cR][fR.kClients].delete(this[hR])}};gR.exports=DB});var ER=Re((qee,dR)=>{"use strict";var QV={pronoun:"it",is:"is",was:"was",this:"this"},mV={pronoun:"they",is:"are",was:"were",this:"these"};dR.exports=class{constructor(t,r){this.singular=t,this.plural=r}pluralize(t){let r=t===1,n=r?QV:mV,i=r?this.singular:this.plural;return{...n,count:t,noun:i}}}});var CR=Re((Hee,pR)=>{"use strict";var{Transform:bV}=require("stream"),{Console:wV}=require("console");pR.exports=class{constructor({disableColors:t}={}){this.transform=new bV({transform(r,n,i){i(null,r)}}),this.logger=new wV({stdout:this.transform,inspectOptions:{colors:!t&&!process.env.CI}})}format(t){let r=t.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:i,"Status code":s,Persistent:a?"\u2705":"\u274C",Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var QR=Re((Gee,yR)=>{"use strict";var{kClients:wa}=lr(),vV=Wu(),{kAgent:TB,kMockAgentSet:qg,kMockAgentGet:IR,kDispatches:LB,kIsMockActive:Vg,kNetConnect:va,kGetNetConnect:SV,kOptions:Hg,kFactory:Gg}=rl(),RV=_B(),_V=NB(),{matchValue:kV,buildMockOptions:DV}=zu(),{InvalidArgumentError:BR,UndiciError:NV}=Ar(),TV=lg(),LV=ER(),FV=CR(),FB=class{constructor(t){this.value=t}deref(){return this.value}},UB=class extends TV{constructor(t){if(super(t),this[va]=!0,this[Vg]=!0,t&&t.agent&&typeof t.agent.dispatch!="function")throw new BR("Argument opts.agent must implement Agent");let r=t&&t.agent?t.agent:new vV(t);this[TB]=r,this[wa]=r[wa],this[Hg]=DV(t)}get(t){let r=this[IR](t);return r||(r=this[Gg](t),this[qg](t,r)),r}dispatch(t,r){return this.get(t.origin),this[TB].dispatch(t,r)}async close(){await this[TB].close(),this[wa].clear()}deactivate(){this[Vg]=!1}activate(){this[Vg]=!0}enableNetConnect(t){if(typeof t=="string"||typeof t=="function"||t instanceof RegExp)Array.isArray(this[va])?this[va].push(t):this[va]=[t];else if(typeof t>"u")this[va]=!0;else throw new BR("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[va]=!1}get isMockActive(){return this[Vg]}[qg](t,r){this[wa].set(t,new FB(r))}[Gg](t){let r=Object.assign({agent:this},this[Hg]);return this[Hg]&&this[Hg].connections===1?new RV(t,r):new _V(t,r)}[IR](t){let r=this[wa].get(t);if(r)return r.deref();if(typeof t!="string"){let n=this[Gg]("http://localhost:9999");return this[qg](t,n),n}for(let[n,i]of Array.from(this[wa])){let s=i.deref();if(s&&typeof n!="string"&&kV(n,t)){let a=this[Gg](t);return this[qg](t,a),a[LB]=s[LB],a}}}[SV](){return this[va]}pendingInterceptors(){let t=this[wa];return Array.from(t.entries()).flatMap(([r,n])=>n.deref()[LB].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:t=new FV}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new LV("interceptor","interceptors").pluralize(r.length);throw new NV(` +`,"latin1"),r!==null&&i!==r){if(n[qu])throw new Go;process.emitWarning(new Go)}t[qr].timeout&&t[qr].timeoutType===jc&&t[qr].timeout.refresh&&t[qr].timeout.refresh(),Ui(n)}}destroy(t){let{socket:r,client:n}=this;r[Yo]=!1,t&&(He(n[Fr]<=1,"pipeline should only contain this request"),$e.destroy(r,t))}};function Kn(e,t,r){try{t.onError(r),He(t.aborted)}catch(n){e.emit("error",n)}}w1.exports=FI});var S1=Re((pee,v1)=>{"use strict";var bg=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(t){this.list[this.top]=t,this.top=this.top+1&2047}shift(){let t=this.list[this.bottom];return t===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,t)}};v1.exports=class{constructor(){this.head=this.tail=new bg}isEmpty(){return this.head.isEmpty()}push(t){this.head.isFull()&&(this.head=this.head.next=new bg),this.head.push(t)}shift(){let t=this.tail,r=t.shift();return t.isEmpty()&&t.next!==null&&(this.tail=t.next),r}}});var _1=Re((Cee,R1)=>{var{kFree:gP,kConnected:dP,kPending:EP,kQueued:pP,kRunning:CP,kSize:IP}=lr(),ya=Symbol("pool"),qI=class{constructor(t){this[ya]=t}get connected(){return this[ya][dP]}get free(){return this[ya][gP]}get pending(){return this[ya][EP]}get queued(){return this[ya][pP]}get running(){return this[ya][CP]}get size(){return this[ya][IP]}};R1.exports=qI});var WI=Re((Iee,O1)=>{"use strict";var BP=Lu(),yP=S1(),{kConnected:VI,kSize:k1,kRunning:D1,kPending:N1,kQueued:Gu,kBusy:QP,kFree:mP,kUrl:bP,kClose:wP,kDestroy:vP,kDispatch:SP}=lr(),RP=_1(),hi=Symbol("clients"),Xn=Symbol("needDrain"),Yu=Symbol("queue"),HI=Symbol("closed resolve"),GI=Symbol("onDrain"),T1=Symbol("onConnect"),L1=Symbol("onDisconnect"),F1=Symbol("onConnectionError"),YI=Symbol("get dispatcher"),x1=Symbol("add client"),M1=Symbol("remove client"),U1=Symbol("stats"),JI=class extends BP{constructor(){super(),this[Yu]=new yP,this[hi]=[],this[Gu]=0;let t=this;this[GI]=function(n,i){let s=t[Yu],a=!1;for(;!a;){let c=s.shift();if(!c)break;t[Gu]--,a=!this.dispatch(c.opts,c.handler)}this[Xn]=a,!this[Xn]&&t[Xn]&&(t[Xn]=!1,t.emit("drain",n,[t,...i])),t[HI]&&s.isEmpty()&&Promise.all(t[hi].map(c=>c.close())).then(t[HI])},this[T1]=(r,n)=>{t.emit("connect",r,[t,...n])},this[L1]=(r,n,i)=>{t.emit("disconnect",r,[t,...n],i)},this[F1]=(r,n,i)=>{t.emit("connectionError",r,[t,...n],i)},this[U1]=new RP(this)}get[QP](){return this[Xn]}get[VI](){return this[hi].filter(t=>t[VI]).length}get[mP](){return this[hi].filter(t=>t[VI]&&!t[Xn]).length}get[N1](){let t=this[Gu];for(let{[N1]:r}of this[hi])t+=r;return t}get[D1](){let t=0;for(let{[D1]:r}of this[hi])t+=r;return t}get[k1](){let t=this[Gu];for(let{[k1]:r}of this[hi])t+=r;return t}get stats(){return this[U1]}async[wP](){return this[Yu].isEmpty()?Promise.all(this[hi].map(t=>t.close())):new Promise(t=>{this[HI]=t})}async[vP](t){for(;;){let r=this[Yu].shift();if(!r)break;r.handler.onError(t)}return Promise.all(this[hi].map(r=>r.destroy(t)))}[SP](t,r){let n=this[YI]();return n?n.dispatch(t,r)||(n[Xn]=!0,this[Xn]=!this[YI]()):(this[Xn]=!0,this[Yu].push({opts:t,handler:r}),this[Gu]++),!this[Xn]}[x1](t){return t.on("drain",this[GI]).on("connect",this[T1]).on("disconnect",this[L1]).on("connectionError",this[F1]),this[hi].push(t),this[Xn]&&process.nextTick(()=>{this[Xn]&&this[GI](t[bP],[this,t])}),this}[M1](t){t.close(()=>{let r=this[hi].indexOf(t);r!==-1&&this[hi].splice(r,1)}),this[Xn]=this[hi].some(r=>!r[Xn]&&r.closed!==!0&&r.destroyed!==!0)}};O1.exports={PoolBase:JI,kClients:hi,kNeedDrain:Xn,kAddClient:x1,kRemoveClient:M1,kGetDispatcher:YI}});var zc=Re((Bee,H1)=>{"use strict";var{PoolBase:_P,kClients:P1,kNeedDrain:kP,kAddClient:DP,kGetDispatcher:NP}=WI(),TP=Hu(),{InvalidArgumentError:jI}=Ar(),zI=Nt(),{kUrl:q1,kInterceptors:LP}=lr(),FP=Fu(),KI=Symbol("options"),XI=Symbol("connections"),V1=Symbol("factory");function UP(e,t){return new TP(e,t)}var $I=class extends _P{constructor(t,{connections:r,factory:n=UP,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:f,allowH2:h,...g}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new jI("invalid connections");if(typeof n!="function")throw new jI("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new jI("connect must be a function or an object");typeof i!="function"&&(i=FP({...a,maxCachedSessions:c,allowH2:h,socketPath:l,timeout:s,...zI.nodeHasAutoSelectFamily&&A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:f}:void 0,...i})),this[LP]=g.interceptors&&g.interceptors.Pool&&Array.isArray(g.interceptors.Pool)?g.interceptors.Pool:[],this[XI]=r||null,this[q1]=zI.parseOrigin(t),this[KI]={...zI.deepClone(g),connect:i,allowH2:h},this[KI].interceptors=g.interceptors?{...g.interceptors}:void 0,this[V1]=n}[NP](){let t=this[P1].find(r=>!r[kP]);return t||((!this[XI]||this[P1].length{"use strict";var{BalancedPoolMissingUpstreamError:xP,InvalidArgumentError:MP}=Ar(),{PoolBase:OP,kClients:$n,kNeedDrain:Ju,kAddClient:PP,kRemoveClient:qP,kGetDispatcher:VP}=WI(),HP=zc(),{kUrl:ZI,kInterceptors:GP}=lr(),{parseOrigin:G1}=Nt(),Y1=Symbol("factory"),wg=Symbol("options"),J1=Symbol("kGreatestCommonDivisor"),Qa=Symbol("kCurrentWeight"),ma=Symbol("kIndex"),ns=Symbol("kWeight"),vg=Symbol("kMaxWeightPerServer"),Sg=Symbol("kErrorPenalty");function W1(e,t){return t===0?e:W1(t,e%t)}function YP(e,t){return new HP(e,t)}var eB=class extends OP{constructor(t=[],{factory:r=YP,...n}={}){if(super(),this[wg]=n,this[ma]=-1,this[Qa]=0,this[vg]=this[wg].maxWeightPerServer||100,this[Sg]=this[wg].errorPenalty||15,Array.isArray(t)||(t=[t]),typeof r!="function")throw new MP("factory must be a function.");this[GP]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[Y1]=r;for(let i of t)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(t){let r=G1(t).origin;if(this[$n].find(i=>i[ZI].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[Y1](r,Object.assign({},this[wg]));this[PP](n),n.on("connect",()=>{n[ns]=Math.min(this[vg],n[ns]+this[Sg])}),n.on("connectionError",()=>{n[ns]=Math.max(1,n[ns]-this[Sg]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[ns]=Math.max(1,n[ns]-this[Sg]),this._updateBalancedPoolStats())});for(let i of this[$n])i[ns]=this[vg];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){this[J1]=this[$n].map(t=>t[ns]).reduce(W1,0)}removeUpstream(t){let r=G1(t).origin,n=this[$n].find(i=>i[ZI].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[qP](n),this}get upstreams(){return this[$n].filter(t=>t.closed!==!0&&t.destroyed!==!0).map(t=>t[ZI].origin)}[VP](){if(this[$n].length===0)throw new xP;if(!this[$n].find(s=>!s[Ju]&&s.closed!==!0&&s.destroyed!==!0)||this[$n].map(s=>s[Ju]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[$n].findIndex(s=>!s[Ju]);for(;n++this[$n][i][ns]&&!s[Ju]&&(i=this[ma]),this[ma]===0&&(this[Qa]=this[Qa]-this[J1],this[Qa]<=0&&(this[Qa]=this[vg])),s[ns]>=this[Qa]&&!s[Ju])return s}return this[Qa]=this[$n][i][ns],this[ma]=i,this[$n][i]}};j1.exports=eB});var tB=Re((Qee,$1)=>{"use strict";var{kConnected:K1,kSize:X1}=lr(),Rg=class{constructor(t){this.value=t}deref(){return this.value[K1]===0&&this.value[X1]===0?void 0:this.value}},_g=class{constructor(t){this.finalizer=t}register(t,r){t.on&&t.on("disconnect",()=>{t[K1]===0&&t[X1]===0&&this.finalizer(r)})}};$1.exports=function(){return process.env.NODE_V8_COVERAGE?{WeakRef:Rg,FinalizationRegistry:_g}:{WeakRef:global.WeakRef||Rg,FinalizationRegistry:global.FinalizationRegistry||_g}}});var Wu=Re((mee,oS)=>{"use strict";var{InvalidArgumentError:kg}=Ar(),{kClients:TA,kRunning:Z1,kClose:JP,kDestroy:WP,kDispatch:jP,kInterceptors:zP}=lr(),KP=Lu(),XP=zc(),$P=Hu(),ZP=Nt(),eq=gg(),{WeakRef:tq,FinalizationRegistry:rq}=tB()(),eS=Symbol("onConnect"),tS=Symbol("onDisconnect"),rS=Symbol("onConnectionError"),nq=Symbol("maxRedirections"),nS=Symbol("onDrain"),iS=Symbol("factory"),sS=Symbol("finalizer"),rB=Symbol("options");function iq(e,t){return t&&t.connections===1?new $P(e,t):new XP(e,t)}var nB=class extends KP{constructor({factory:t=iq,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof t!="function")throw new kg("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new kg("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new kg("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[zP]=i.interceptors&&i.interceptors.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[eq({maxRedirections:r})],this[rB]={...ZP.deepClone(i),connect:n},this[rB].interceptors=i.interceptors?{...i.interceptors}:void 0,this[nq]=r,this[iS]=t,this[TA]=new Map,this[sS]=new rq(a=>{let c=this[TA].get(a);c!==void 0&&c.deref()===void 0&&this[TA].delete(a)});let s=this;this[nS]=(a,c)=>{s.emit("drain",a,[s,...c])},this[eS]=(a,c)=>{s.emit("connect",a,[s,...c])},this[tS]=(a,c,l)=>{s.emit("disconnect",a,[s,...c],l)},this[rS]=(a,c,l)=>{s.emit("connectionError",a,[s,...c],l)}}get[Z1](){let t=0;for(let r of this[TA].values()){let n=r.deref();n&&(t+=n[Z1])}return t}[jP](t,r){let n;if(t.origin&&(typeof t.origin=="string"||t.origin instanceof URL))n=String(t.origin);else throw new kg("opts.origin must be a non-empty string or URL.");let i=this[TA].get(n),s=i?i.deref():null;return s||(s=this[iS](t.origin,this[rB]).on("drain",this[nS]).on("connect",this[eS]).on("disconnect",this[tS]).on("connectionError",this[rS]),this[TA].set(n,new tq(s)),this[sS].register(s,n)),s.dispatch(t,r)}async[JP](){let t=[];for(let r of this[TA].values()){let n=r.deref();n&&t.push(n.close())}await Promise.all(t)}async[WP](t){let r=[];for(let n of this[TA].values()){let i=n.deref();i&&r.push(i.destroy(t))}await Promise.all(r)}};oS.exports=nB});var dS=Re((wee,gS)=>{"use strict";var lS=require("assert"),{Readable:sq}=require("stream"),{RequestAbortedError:uS,NotSupportedError:oq,InvalidArgumentError:Aq}=Ar(),Tg=Nt(),{ReadableStreamFrom:aq,toUSVString:cq}=Nt(),iB,xi=Symbol("kConsume"),Dg=Symbol("kReading"),LA=Symbol("kBody"),AS=Symbol("abort"),hS=Symbol("kContentType"),aS=()=>{};gS.exports=class extends sq{constructor({resume:t,abort:r,contentType:n="",highWaterMark:i=64*1024}){super({autoDestroy:!0,read:t,highWaterMark:i}),this._readableState.dataEmitted=!1,this[AS]=r,this[xi]=null,this[LA]=null,this[hS]=n,this[Dg]=!1}destroy(t){return this.destroyed?this:(!t&&!this._readableState.endEmitted&&(t=new uS),t&&this[AS](),super.destroy(t))}emit(t,...r){return t==="data"?this._readableState.dataEmitted=!0:t==="error"&&(this._readableState.errorEmitted=!0),super.emit(t,...r)}on(t,...r){return(t==="data"||t==="readable")&&(this[Dg]=!0),super.on(t,...r)}addListener(t,...r){return this.on(t,...r)}off(t,...r){let n=super.off(t,...r);return(t==="data"||t==="readable")&&(this[Dg]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(t,...r){return this.off(t,...r)}push(t){return this[xi]&&t!==null&&this.readableLength===0?(fS(this[xi],t),this[Dg]?super.push(t):!0):super.push(t)}async text(){return Ng(this,"text")}async json(){return Ng(this,"json")}async blob(){return Ng(this,"blob")}async arrayBuffer(){return Ng(this,"arrayBuffer")}async formData(){throw new oq}get bodyUsed(){return Tg.isDisturbed(this)}get body(){return this[LA]||(this[LA]=aq(this),this[xi]&&(this[LA].getReader(),lS(this[LA].locked))),this[LA]}dump(t){let r=t&&Number.isFinite(t.limit)?t.limit:262144,n=t&&t.signal;if(n)try{if(typeof n!="object"||!("aborted"in n))throw new Aq("signal must be an AbortSignal");Tg.throwIfAborted(n)}catch(i){return Promise.reject(i)}return this.closed?Promise.resolve(null):new Promise((i,s)=>{let a=n?Tg.addAbortListener(n,()=>{this.destroy()}):aS;this.on("close",function(){a(),n&&n.aborted?s(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"})):i(null)}).on("error",aS).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function lq(e){return e[LA]&&e[LA].locked===!0||e[xi]}function uq(e){return Tg.isDisturbed(e)||lq(e)}async function Ng(e,t){if(uq(e))throw new TypeError("unusable");return lS(!e[xi]),new Promise((r,n)=>{e[xi]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]},e.on("error",function(i){sB(this[xi],i)}).on("close",function(){this[xi].body!==null&&sB(this[xi],new uS)}),process.nextTick(hq,e[xi])})}function hq(e){if(e.body===null)return;let{_readableState:t}=e.stream;for(let r of t.buffer)fS(e,r);for(t.endEmitted?cS(this[xi]):e.stream.on("end",function(){cS(this[xi])}),e.stream.resume();e.stream.read()!=null;);}function cS(e){let{type:t,body:r,resolve:n,stream:i,length:s}=e;try{if(t==="text")n(cq(Buffer.concat(r)));else if(t==="json")n(JSON.parse(Buffer.concat(r)));else if(t==="arrayBuffer"){let a=new Uint8Array(s),c=0;for(let l of r)a.set(l,c),c+=l.byteLength;n(a.buffer)}else t==="blob"&&(iB||(iB=require("buffer").Blob),n(new iB(r,{type:i[hS]})));sB(e)}catch(a){i.destroy(a)}}function fS(e,t){e.length+=t.length,e.body.push(t)}function sB(e,t){e.body!==null&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}});var oB=Re((vee,pS)=>{var fq=require("assert"),{ResponseStatusCodeError:Lg}=Ar(),{toUSVString:ES}=Nt();async function gq({callback:e,body:t,contentType:r,statusCode:n,statusMessage:i,headers:s}){fq(t);let a=[],c=0;for await(let l of t)if(a.push(l),c+=l.length,c>128*1024){a=null;break}if(n===204||!r||!a){process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s));return}try{if(r.startsWith("application/json")){let l=JSON.parse(ES(Buffer.concat(a)));process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s,l));return}if(r.startsWith("text/")){let l=ES(Buffer.concat(a));process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s,l));return}}catch{}process.nextTick(e,new Lg(`Response status code ${n}${i?`: ${i}`:""}`,n,s))}pS.exports={getResolveErrorBodyCallback:gq}});var Xc=Re((See,IS)=>{var{addAbortListener:dq}=Nt(),{RequestAbortedError:Eq}=Ar(),Kc=Symbol("kListener"),FA=Symbol("kSignal");function CS(e){e.abort?e.abort():e.onError(new Eq)}function pq(e,t){if(e[FA]=null,e[Kc]=null,!!t){if(t.aborted){CS(e);return}e[FA]=t,e[Kc]=()=>{CS(e)},dq(e[FA],e[Kc])}}function Cq(e){e[FA]&&("removeEventListener"in e[FA]?e[FA].removeEventListener("abort",e[Kc]):e[FA].removeListener("abort",e[Kc]),e[FA]=null,e[Kc]=null)}IS.exports={addSignal:pq,removeSignal:Cq}});var QS=Re((Ree,AB)=>{"use strict";var Iq=dS(),{InvalidArgumentError:$c,RequestAbortedError:Bq}=Ar(),Xs=Nt(),{getResolveErrorBodyCallback:yq}=oB(),{AsyncResource:Qq}=require("async_hooks"),{addSignal:mq,removeSignal:BS}=Xc(),Fg=class extends Qq{constructor(t,r){if(!t||typeof t!="object")throw new $c("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:f}=t;try{if(typeof r!="function")throw new $c("invalid callback");if(f&&(typeof f!="number"||f<0))throw new $c("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new $c("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new $c("invalid method");if(c&&typeof c!="function")throw new $c("invalid onInfo callback");super("UNDICI_REQUEST")}catch(h){throw Xs.isStream(a)&&Xs.destroy(a.on("error",Xs.nop),h),h}this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=f,Xs.isStream(a)&&a.on("error",h=>{this.onError(h)}),mq(this,n)}onConnect(t,r){if(!this.callback)throw new Bq;this.abort=t,this.context=r}onHeaders(t,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:f}=this,h=A==="raw"?Xs.parseRawHeaders(r):Xs.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:h});return}let b=(A==="raw"?Xs.parseHeaders(r):h)["content-type"],C=new Iq({resume:n,abort:c,contentType:b,highWaterMark:f});this.callback=null,this.res=C,s!==null&&(this.throwOnError&&t>=400?this.runInAsyncScope(yq,null,{callback:s,body:C,contentType:b,statusCode:t,statusMessage:i,headers:h}):this.runInAsyncScope(s,null,null,{statusCode:t,headers:h,trailers:this.trailers,opaque:a,body:C,context:l}))}onData(t){let{res:r}=this;return r.push(t)}onComplete(t){let{res:r}=this;BS(this),Xs.parseHeaders(t,this.trailers),r.push(null)}onError(t){let{res:r,callback:n,body:i,opaque:s}=this;BS(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{Xs.destroy(r,t)})),i&&(this.body=null,Xs.destroy(i,t))}};function yS(e,t){if(t===void 0)return new Promise((r,n)=>{yS.call(this,e,(i,s)=>i?n(i):r(s))});try{this.dispatch(e,new Fg(e,t))}catch(r){if(typeof t!="function")throw r;let n=e&&e.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}AB.exports=yS;AB.exports.RequestHandler=Fg});var vS=Re((_ee,wS)=>{"use strict";var{finished:bq,PassThrough:wq}=require("stream"),{InvalidArgumentError:Zc,InvalidReturnValueError:vq,RequestAbortedError:Sq}=Ar(),Bs=Nt(),{getResolveErrorBodyCallback:Rq}=oB(),{AsyncResource:_q}=require("async_hooks"),{addSignal:kq,removeSignal:mS}=Xc(),aB=class extends _q{constructor(t,r,n){if(!t||typeof t!="object")throw new Zc("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:f}=t;try{if(typeof n!="function")throw new Zc("invalid callback");if(typeof r!="function")throw new Zc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Zc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Zc("invalid method");if(l&&typeof l!="function")throw new Zc("invalid onInfo callback");super("UNDICI_STREAM")}catch(h){throw Bs.isStream(c)&&Bs.destroy(c.on("error",Bs.nop),h),h}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=f||!1,Bs.isStream(c)&&c.on("error",h=>{this.onError(h)}),kq(this,i)}onConnect(t,r){if(!this.callback)throw new Sq;this.abort=t,this.context=r}onHeaders(t,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:A}=this,f=A==="raw"?Bs.parseRawHeaders(r):Bs.parseHeaders(r);if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:f});return}this.factory=null;let h;if(this.throwOnError&&t>=400){let C=(A==="raw"?Bs.parseHeaders(r):f)["content-type"];h=new wq,this.callback=null,this.runInAsyncScope(Rq,null,{callback:l,body:h,contentType:C,statusCode:t,statusMessage:i,headers:f})}else{if(s===null)return;if(h=this.runInAsyncScope(s,null,{statusCode:t,headers:f,opaque:a,context:c}),!h||typeof h.write!="function"||typeof h.end!="function"||typeof h.on!="function")throw new vq("expected Writable");bq(h,{readable:!1},b=>{let{callback:C,res:p,opaque:Q,trailers:R,abort:_}=this;this.res=null,(b||!p.readable)&&Bs.destroy(p,b),this.callback=null,this.runInAsyncScope(C,null,b||null,{opaque:Q,trailers:R}),b&&_()})}return h.on("drain",n),this.res=h,(h.writableNeedDrain!==void 0?h.writableNeedDrain:h._writableState&&h._writableState.needDrain)!==!0}onData(t){let{res:r}=this;return r?r.write(t):!0}onComplete(t){let{res:r}=this;mS(this),r&&(this.trailers=Bs.parseHeaders(t),r.end())}onError(t){let{res:r,callback:n,opaque:i,body:s}=this;mS(this),this.factory=null,r?(this.res=null,Bs.destroy(r,t)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:i})})),s&&(this.body=null,Bs.destroy(s,t))}};function bS(e,t,r){if(r===void 0)return new Promise((n,i)=>{bS.call(this,e,t,(s,a)=>s?i(s):n(a))});try{this.dispatch(e,new aB(e,t,r))}catch(n){if(typeof r!="function")throw n;let i=e&&e.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}wS.exports=bS});var _S=Re((kee,RS)=>{"use strict";var{Readable:SS,Duplex:Dq,PassThrough:Nq}=require("stream"),{InvalidArgumentError:ju,InvalidReturnValueError:Tq,RequestAbortedError:Ug}=Ar(),is=Nt(),{AsyncResource:Lq}=require("async_hooks"),{addSignal:Fq,removeSignal:Uq}=Xc(),xq=require("assert"),el=Symbol("resume"),cB=class extends SS{constructor(){super({autoDestroy:!0}),this[el]=null}_read(){let{[el]:t}=this;t&&(this[el]=null,t())}_destroy(t,r){this._read(),r(t)}},lB=class extends SS{constructor(t){super({autoDestroy:!0}),this[el]=t}_read(){this[el]()}_destroy(t,r){!t&&!this._readableState.endEmitted&&(t=new Ug),r(t)}},uB=class extends Lq{constructor(t,r){if(!t||typeof t!="object")throw new ju("invalid opts");if(typeof r!="function")throw new ju("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new ju("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new ju("invalid method");if(a&&typeof a!="function")throw new ju("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new cB().on("error",is.nop),this.ret=new Dq({readableObjectMode:t.objectMode,autoDestroy:!0,read:()=>{let{body:l}=this;l&&l.resume&&l.resume()},write:(l,A,f)=>{let{req:h}=this;h.push(l,A)||h._readableState.destroyed?f():h[el]=f},destroy:(l,A)=>{let{body:f,req:h,res:g,ret:b,abort:C}=this;!l&&!b._readableState.endEmitted&&(l=new Ug),C&&l&&C(),is.destroy(f,l),is.destroy(h,l),is.destroy(g,l),Uq(this),A(l)}}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Fq(this,n)}onConnect(t,r){let{ret:n,res:i}=this;if(xq(!i,"pipeline cannot be retried"),n.destroyed)throw new Ug;this.abort=t,this.context=r}onHeaders(t,r,n){let{opaque:i,handler:s,context:a}=this;if(t<200){if(this.onInfo){let l=this.responseHeaders==="raw"?is.parseRawHeaders(r):is.parseHeaders(r);this.onInfo({statusCode:t,headers:l})}return}this.res=new lB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?is.parseRawHeaders(r):is.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:t,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",is.nop),l}if(!c||typeof c.on!="function")throw new Tq("expected Readable");c.on("data",l=>{let{ret:A,body:f}=this;!A.push(l)&&f.pause&&f.pause()}).on("error",l=>{let{ret:A}=this;is.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||is.destroy(l,new Ug)}),this.body=c}onData(t){let{res:r}=this;return r.push(t)}onComplete(t){let{res:r}=this;r.push(null)}onError(t){let{ret:r}=this;this.handler=null,is.destroy(r,t)}};function Mq(e,t){try{let r=new uB(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(r){return new Nq().destroy(r)}}RS.exports=Mq});var LS=Re((Dee,TS)=>{"use strict";var{InvalidArgumentError:hB,RequestAbortedError:Oq,SocketError:Pq}=Ar(),{AsyncResource:qq}=require("async_hooks"),kS=Nt(),{addSignal:Vq,removeSignal:DS}=Xc(),Hq=require("assert"),fB=class extends qq{constructor(t,r){if(!t||typeof t!="object")throw new hB("invalid opts");if(typeof r!="function")throw new hB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new hB("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,Vq(this,n)}onConnect(t,r){if(!this.callback)throw new Oq;this.abort=t,this.context=null}onHeaders(){throw new Pq("bad upgrade",null)}onUpgrade(t,r,n){let{callback:i,opaque:s,context:a}=this;Hq.strictEqual(t,101),DS(this),this.callback=null;let c=this.responseHeaders==="raw"?kS.parseRawHeaders(r):kS.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(t){let{callback:r,opaque:n}=this;DS(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function NS(e,t){if(t===void 0)return new Promise((r,n)=>{NS.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new fB(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!="function")throw r;let n=e&&e.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}TS.exports=NS});var OS=Re((Nee,MS)=>{"use strict";var{AsyncResource:Gq}=require("async_hooks"),{InvalidArgumentError:gB,RequestAbortedError:Yq,SocketError:Jq}=Ar(),FS=Nt(),{addSignal:Wq,removeSignal:US}=Xc(),dB=class extends Gq{constructor(t,r){if(!t||typeof t!="object")throw new gB("invalid opts");if(typeof r!="function")throw new gB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=t;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new gB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Wq(this,n)}onConnect(t,r){if(!this.callback)throw new Yq;this.abort=t,this.context=r}onHeaders(){throw new Jq("bad connect",null)}onUpgrade(t,r,n){let{callback:i,opaque:s,context:a}=this;US(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?FS.parseRawHeaders(r):FS.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:t,headers:c,socket:n,opaque:s,context:a})}onError(t){let{callback:r,opaque:n}=this;US(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}};function xS(e,t){if(t===void 0)return new Promise((r,n)=>{xS.call(this,e,(i,s)=>i?n(i):r(s))});try{let r=new dB(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!="function")throw r;let n=e&&e.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}MS.exports=xS});var PS=Re((Tee,tl)=>{"use strict";tl.exports.request=QS();tl.exports.stream=vS();tl.exports.pipeline=_S();tl.exports.upgrade=LS();tl.exports.connect=OS()});var pB=Re((Lee,qS)=>{"use strict";var{UndiciError:jq}=Ar(),EB=class e extends jq{constructor(t){super(t),Error.captureStackTrace(this,e),this.name="MockNotMatchedError",this.message=t||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}};qS.exports={MockNotMatchedError:EB}});var rl=Re((Fee,VS)=>{"use strict";VS.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var zu=Re((Uee,eR)=>{"use strict";var{MockNotMatchedError:ba}=pB(),{kDispatches:xg,kMockAgent:zq,kOriginalDispatch:Kq,kOrigin:Xq,kGetNetConnect:$q}=rl(),{buildURL:Zq,nop:eV}=Nt(),{STATUS_CODES:tV}=require("http"),{types:{isPromise:rV}}=require("util");function Jo(e,t){return typeof e=="string"?e===t:e instanceof RegExp?e.test(t):typeof e=="function"?e(t)===!0:!1}function GS(e){return Object.fromEntries(Object.entries(e).map(([t,r])=>[t.toLocaleLowerCase(),r]))}function YS(e,t){if(Array.isArray(e)){for(let r=0;r"u")return!0;if(typeof t!="object"||typeof e.headers!="object")return!1;for(let[r,n]of Object.entries(e.headers)){let i=YS(t,r);if(!Jo(n,i))return!1}return!0}function HS(e){if(typeof e!="string")return e;let t=e.split("?");if(t.length!==2)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function nV(e,{path:t,method:r,body:n,headers:i}){let s=Jo(e.path,t),a=Jo(e.method,r),c=typeof e.body<"u"?Jo(e.body,n):!0,l=WS(e,i);return s&&a&&c&&l}function jS(e){return Buffer.isBuffer(e)?e:typeof e=="object"?JSON.stringify(e):e.toString()}function zS(e,t){let r=t.query?Zq(t.path,t.query):t.path,n=typeof r=="string"?HS(r):r,i=e.filter(({consumed:s})=>!s).filter(({path:s})=>Jo(HS(s),n));if(i.length===0)throw new ba(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Jo(s,t.method)),i.length===0)throw new ba(`Mock dispatch not matched for method '${t.method}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Jo(s,t.body):!0),i.length===0)throw new ba(`Mock dispatch not matched for body '${t.body}'`);if(i=i.filter(s=>WS(s,t.headers)),i.length===0)throw new ba(`Mock dispatch not matched for headers '${typeof t.headers=="object"?JSON.stringify(t.headers):t.headers}'`);return i[0]}function iV(e,t,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...t,pending:!0,data:{error:null,...i}};return e.push(s),s}function CB(e,t){let r=e.findIndex(n=>n.consumed?nV(n,t):!1);r!==-1&&e.splice(r,1)}function KS(e){let{path:t,method:r,body:n,headers:i,query:s}=e;return{path:t,method:r,body:n,headers:i,query:s}}function IB(e){return Object.entries(e).reduce((t,[r,n])=>[...t,Buffer.from(`${r}`),Array.isArray(n)?n.map(i=>Buffer.from(`${i}`)):Buffer.from(`${n}`)],[])}function XS(e){return tV[e]||"unknown"}async function sV(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")}function $S(e,t){let r=KS(e),n=zS(this[xg],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(e)});let{data:{statusCode:i,data:s,headers:a,trailers:c,error:l},delay:A,persist:f}=n,{timesInvoked:h,times:g}=n;if(n.consumed=!f&&h>=g,n.pending=h0?setTimeout(()=>{b(this[xg])},A):b(this[xg]);function b(p,Q=s){let R=Array.isArray(e.headers)?JS(e.headers):e.headers,_=typeof Q=="function"?Q({...e,headers:R}):Q;if(rV(_)){_.then(T=>b(p,T));return}let d=jS(_),S=IB(a),m=IB(c);t.abort=eV,t.onHeaders(i,S,C,XS(i)),t.onData(Buffer.from(d)),t.onComplete(m),CB(p,r)}function C(){}return!0}function oV(){let e=this[zq],t=this[Xq],r=this[Kq];return function(i,s){if(e.isMockActive)try{$S.call(this,i,s)}catch(a){if(a instanceof ba){let c=e[$q]();if(c===!1)throw new ba(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`);if(ZS(c,t))r.call(this,i,s);else throw new ba(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,s)}}function ZS(e,t){let r=new URL(t);return e===!0?!0:!!(Array.isArray(e)&&e.some(n=>Jo(n,r.host)))}function AV(e){if(e){let{agent:t,...r}=e;return r}}eR.exports={getResponseData:jS,getMockDispatch:zS,addMockDispatch:iV,deleteMockDispatch:CB,buildKey:KS,generateKeyValues:IB,matchValue:Jo,getResponse:sV,getStatusText:XS,mockDispatch:$S,buildMockDispatch:oV,checkNetConnect:ZS,buildMockOptions:AV,getHeaderByName:YS}});var vB=Re((xee,wB)=>{"use strict";var{getResponseData:aV,buildKey:cV,addMockDispatch:BB}=zu(),{kDispatches:Mg,kDispatchKey:Og,kDefaultHeaders:yB,kDefaultTrailers:QB,kContentLength:mB,kMockDispatch:Pg}=rl(),{InvalidArgumentError:ys}=Ar(),{buildURL:lV}=Nt(),nl=class{constructor(t){this[Pg]=t}delay(t){if(typeof t!="number"||!Number.isInteger(t)||t<=0)throw new ys("waitInMs must be a valid integer > 0");return this[Pg].delay=t,this}persist(){return this[Pg].persist=!0,this}times(t){if(typeof t!="number"||!Number.isInteger(t)||t<=0)throw new ys("repeatTimes must be a valid integer > 0");return this[Pg].times=t,this}},bB=class{constructor(t,r){if(typeof t!="object")throw new ys("opts must be an object");if(typeof t.path>"u")throw new ys("opts.path must be defined");if(typeof t.method>"u"&&(t.method="GET"),typeof t.path=="string")if(t.query)t.path=lV(t.path,t.query);else{let n=new URL(t.path,"data://");t.path=n.pathname+n.search}typeof t.method=="string"&&(t.method=t.method.toUpperCase()),this[Og]=cV(t),this[Mg]=r,this[yB]={},this[QB]={},this[mB]=!1}createMockScopeDispatchData(t,r,n={}){let i=aV(r),s=this[mB]?{"content-length":i.length}:{},a={...this[yB],...s,...n.headers},c={...this[QB],...n.trailers};return{statusCode:t,data:r,headers:a,trailers:c}}validateReplyParameters(t,r,n){if(typeof t>"u")throw new ys("statusCode must be defined");if(typeof r>"u")throw new ys("data must be defined");if(typeof n!="object")throw new ys("responseOptions must be an object")}reply(t){if(typeof t=="function"){let c=A=>{let f=t(A);if(typeof f!="object")throw new ys("reply options callback must return an object");let{statusCode:h,data:g="",responseOptions:b={}}=f;return this.validateReplyParameters(h,g,b),{...this.createMockScopeDispatchData(h,g,b)}},l=BB(this[Mg],this[Og],c);return new nl(l)}let[r,n="",i={}]=[...arguments];this.validateReplyParameters(r,n,i);let s=this.createMockScopeDispatchData(r,n,i),a=BB(this[Mg],this[Og],s);return new nl(a)}replyWithError(t){if(typeof t>"u")throw new ys("error must be defined");let r=BB(this[Mg],this[Og],{error:t});return new nl(r)}defaultReplyHeaders(t){if(typeof t>"u")throw new ys("headers must be defined");return this[yB]=t,this}defaultReplyTrailers(t){if(typeof t>"u")throw new ys("trailers must be defined");return this[QB]=t,this}replyContentLength(){return this[mB]=!0,this}};wB.exports.MockInterceptor=bB;wB.exports.MockScope=nl});var _B=Re((Mee,AR)=>{"use strict";var{promisify:uV}=require("util"),hV=Hu(),{buildMockDispatch:fV}=zu(),{kDispatches:tR,kMockAgent:rR,kClose:nR,kOriginalClose:iR,kOrigin:sR,kOriginalDispatch:gV,kConnected:SB}=rl(),{MockInterceptor:dV}=vB(),oR=lr(),{InvalidArgumentError:EV}=Ar(),RB=class extends hV{constructor(t,r){if(super(t,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new EV("Argument opts.agent must implement Agent");this[rR]=r.agent,this[sR]=t,this[tR]=[],this[SB]=1,this[gV]=this.dispatch,this[iR]=this.close.bind(this),this.dispatch=fV.call(this),this.close=this[nR]}get[oR.kConnected](){return this[SB]}intercept(t){return new dV(t,this[tR])}async[nR](){await uV(this[iR])(),this[SB]=0,this[rR][oR.kClients].delete(this[sR])}};AR.exports=RB});var NB=Re((Oee,gR)=>{"use strict";var{promisify:pV}=require("util"),CV=zc(),{buildMockDispatch:IV}=zu(),{kDispatches:aR,kMockAgent:cR,kClose:lR,kOriginalClose:uR,kOrigin:hR,kOriginalDispatch:BV,kConnected:kB}=rl(),{MockInterceptor:yV}=vB(),fR=lr(),{InvalidArgumentError:QV}=Ar(),DB=class extends CV{constructor(t,r){if(super(t,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new QV("Argument opts.agent must implement Agent");this[cR]=r.agent,this[hR]=t,this[aR]=[],this[kB]=1,this[BV]=this.dispatch,this[uR]=this.close.bind(this),this.dispatch=IV.call(this),this.close=this[lR]}get[fR.kConnected](){return this[kB]}intercept(t){return new yV(t,this[aR])}async[lR](){await pV(this[uR])(),this[kB]=0,this[cR][fR.kClients].delete(this[hR])}};gR.exports=DB});var ER=Re((qee,dR)=>{"use strict";var mV={pronoun:"it",is:"is",was:"was",this:"this"},bV={pronoun:"they",is:"are",was:"were",this:"these"};dR.exports=class{constructor(t,r){this.singular=t,this.plural=r}pluralize(t){let r=t===1,n=r?mV:bV,i=r?this.singular:this.plural;return{...n,count:t,noun:i}}}});var CR=Re((Hee,pR)=>{"use strict";var{Transform:wV}=require("stream"),{Console:vV}=require("console");pR.exports=class{constructor({disableColors:t}={}){this.transform=new wV({transform(r,n,i){i(null,r)}}),this.logger=new vV({stdout:this.transform,inspectOptions:{colors:!t&&!process.env.CI}})}format(t){let r=t.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:i,"Status code":s,Persistent:a?"\u2705":"\u274C",Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var QR=Re((Gee,yR)=>{"use strict";var{kClients:wa}=lr(),SV=Wu(),{kAgent:TB,kMockAgentSet:qg,kMockAgentGet:IR,kDispatches:LB,kIsMockActive:Vg,kNetConnect:va,kGetNetConnect:RV,kOptions:Hg,kFactory:Gg}=rl(),_V=_B(),kV=NB(),{matchValue:DV,buildMockOptions:NV}=zu(),{InvalidArgumentError:BR,UndiciError:TV}=Ar(),LV=lg(),FV=ER(),UV=CR(),FB=class{constructor(t){this.value=t}deref(){return this.value}},UB=class extends LV{constructor(t){if(super(t),this[va]=!0,this[Vg]=!0,t&&t.agent&&typeof t.agent.dispatch!="function")throw new BR("Argument opts.agent must implement Agent");let r=t&&t.agent?t.agent:new SV(t);this[TB]=r,this[wa]=r[wa],this[Hg]=NV(t)}get(t){let r=this[IR](t);return r||(r=this[Gg](t),this[qg](t,r)),r}dispatch(t,r){return this.get(t.origin),this[TB].dispatch(t,r)}async close(){await this[TB].close(),this[wa].clear()}deactivate(){this[Vg]=!1}activate(){this[Vg]=!0}enableNetConnect(t){if(typeof t=="string"||typeof t=="function"||t instanceof RegExp)Array.isArray(this[va])?this[va].push(t):this[va]=[t];else if(typeof t>"u")this[va]=!0;else throw new BR("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[va]=!1}get isMockActive(){return this[Vg]}[qg](t,r){this[wa].set(t,new FB(r))}[Gg](t){let r=Object.assign({agent:this},this[Hg]);return this[Hg]&&this[Hg].connections===1?new _V(t,r):new kV(t,r)}[IR](t){let r=this[wa].get(t);if(r)return r.deref();if(typeof t!="string"){let n=this[Gg]("http://localhost:9999");return this[qg](t,n),n}for(let[n,i]of Array.from(this[wa])){let s=i.deref();if(s&&typeof n!="string"&&DV(n,t)){let a=this[Gg](t);return this[qg](t,a),a[LB]=s[LB],a}}}[RV](){return this[va]}pendingInterceptors(){let t=this[wa];return Array.from(t.entries()).flatMap(([r,n])=>n.deref()[LB].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:t=new UV}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new FV("interceptor","interceptors").pluralize(r.length);throw new TV(` ${n.count} ${n.noun} ${n.is} pending: ${t.format(r)} -`.trim())}};yR.exports=UB});var RR=Re((Yee,SR)=>{"use strict";var{kProxy:UV,kClose:xV,kDestroy:MV,kInterceptors:OV}=lr(),{URL:mR}=require("url"),bR=Wu(),PV=zc(),qV=Lu(),{InvalidArgumentError:$u,RequestAbortedError:VV}=Ar(),wR=Fu(),Ku=Symbol("proxy agent"),Yg=Symbol("proxy client"),Xu=Symbol("proxy headers"),xB=Symbol("request tls settings"),HV=Symbol("proxy tls settings"),vR=Symbol("connect endpoint function");function GV(e){return e==="https:"?443:80}function YV(e){if(typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new $u("Proxy opts.uri is mandatory");return{uri:e.uri,protocol:e.protocol||"https"}}function JV(e,t){return new PV(e,t)}var MB=class extends qV{constructor(t){if(super(t),this[UV]=YV(t),this[Ku]=new bR(t),this[OV]=t.interceptors&&t.interceptors.ProxyAgent&&Array.isArray(t.interceptors.ProxyAgent)?t.interceptors.ProxyAgent:[],typeof t=="string"&&(t={uri:t}),!t||!t.uri)throw new $u("Proxy opts.uri is mandatory");let{clientFactory:r=JV}=t;if(typeof r!="function")throw new $u("Proxy opts.clientFactory must be a function.");this[xB]=t.requestTls,this[HV]=t.proxyTls,this[Xu]=t.headers||{};let n=new mR(t.uri),{origin:i,port:s,host:a,username:c,password:l}=n;if(t.auth&&t.token)throw new $u("opts.auth cannot be used in combination with opts.token");t.auth?this[Xu]["proxy-authorization"]=`Basic ${t.auth}`:t.token?this[Xu]["proxy-authorization"]=t.token:c&&l&&(this[Xu]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(c)}:${decodeURIComponent(l)}`).toString("base64")}`);let A=wR({...t.proxyTls});this[vR]=wR({...t.requestTls}),this[Yg]=r(n,{connect:A}),this[Ku]=new bR({...t,connect:async(f,h)=>{let g=f.host;f.port||(g+=`:${GV(f.protocol)}`);try{let{socket:b,statusCode:C}=await this[Yg].connect({origin:i,port:s,path:g,signal:f.signal,headers:{...this[Xu],host:a}});if(C!==200&&(b.on("error",()=>{}).destroy(),h(new VV(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){h(null,b);return}let p;this[xB]?p=this[xB].servername:p=f.servername,this[vR]({...f,servername:p,httpSocket:b},h)}catch(b){h(b)}}})}dispatch(t,r){let{host:n}=new mR(t.origin),i=WV(t.headers);return jV(i),this[Ku].dispatch({...t,headers:{...i,host:n}},r)}async[xV](){await this[Ku].close(),await this[Yg].close()}async[MV](){await this[Ku].destroy(),await this[Yg].destroy()}};function WV(e){if(Array.isArray(e)){let t={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new $u("Proxy-Authorization should be sent in ProxyAgent constructor")}SR.exports=MB});var TR=Re((Jee,NR)=>{var Sa=require("assert"),{kRetryHandlerDefaultRetry:_R}=lr(),{RequestRetryError:Jg}=Ar(),{isDisturbed:kR,parseHeaders:zV,parseRangeHeader:DR}=Nt();function KV(e){let t=Date.now();return new Date(e).getTime()-t}var OB=class e{constructor(t,r){let{retryOptions:n,...i}=t,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:f,errorCodes:h,retryAfter:g,statusCodes:b}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts=i,this.abort=null,this.aborted=!1,this.retryOpts={retry:s??e[_R],retryAfter:g??!0,maxTimeout:c??30*1e3,timeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:f??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:b??[500,502,503,504,429],errorCodes:h??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]},this.retryCount=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(C=>{this.aborted=!0,this.abort?this.abort(C):this.reason=C})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(t,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(t,r,n)}onConnect(t){this.aborted?t(this.reason):this.abort=t}onBodySent(t){if(this.handler.onBodySent)return this.handler.onBodySent(t)}static[_R](t,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=t,{method:l,retryOptions:A}=n,{maxRetries:f,timeout:h,maxTimeout:g,timeoutFactor:b,statusCodes:C,errorCodes:p,methods:Q}=A,{counter:R,currentTimeout:_}=r;if(_=_!=null&&_>0?_:h,a&&a!=="UND_ERR_REQ_RETRY"&&a!=="UND_ERR_SOCKET"&&!p.includes(a)){i(t);return}if(Array.isArray(Q)&&!Q.includes(l)){i(t);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){i(t);return}if(R>f){i(t);return}let d=c!=null&&c["retry-after"];d&&(d=Number(d),d=isNaN(d)?KV(d):d*1e3);let S=d>0?Math.min(d,g):Math.min(_*b**R,g);r.currentTimeout=S,setTimeout(()=>i(null),S)}onHeaders(t,r,n,i){let s=zV(r);if(this.retryCount+=1,t>=300)return this.abort(new Jg("Request failed",t,{headers:s,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,t!==206)return!0;let c=DR(s["content-range"]);if(!c)return this.abort(new Jg("Content-Range mismatch",t,{headers:s,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Jg("ETag mismatch",t,{headers:s,count:this.retryCount})),!1;let{start:l,size:A,end:f=A}=c;return Sa(this.start===l,"content-range mismatch"),Sa(this.end==null||this.end===f,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(t===206){let c=DR(s["content-range"]);if(c==null)return this.handler.onHeaders(t,r,n,i);let{start:l,size:A,end:f=A}=c;Sa(l!=null&&Number.isFinite(l)&&this.start!==l,"content-range mismatch"),Sa(Number.isFinite(l)),Sa(f!=null&&Number.isFinite(f)&&this.end!==f,"invalid content-length"),this.start=l,this.end=f}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c):null}return Sa(Number.isFinite(this.start)),Sa(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.handler.onHeaders(t,r,n,i)}let a=new Jg("Request failed",t,{headers:s,count:this.retryCount});return this.abort(a),!1}onData(t){return this.start+=t.length,this.handler.onData(t)}onComplete(t){return this.retryCount=0,this.handler.onComplete(t)}onError(t){if(this.aborted||kR(this.opts.body))return this.handler.onError(t);this.retryOpts.retry(t,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||kR(this.opts.body))return this.handler.onError(n);this.start!==0&&(this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}});try{this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}};NR.exports=OB});var il=Re((Wee,xR)=>{"use strict";var LR=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:XV}=Ar(),$V=Wu();UR()===void 0&&FR(new $V);function FR(e){if(!e||typeof e.dispatch!="function")throw new XV("Argument agent must implement Agent");Object.defineProperty(globalThis,LR,{value:e,writable:!0,enumerable:!1,configurable:!1})}function UR(){return globalThis[LR]}xR.exports={setGlobalDispatcher:FR,getGlobalDispatcher:UR}});var OR=Re((zee,MR)=>{"use strict";MR.exports=class{constructor(t){this.handler=t}onConnect(...t){return this.handler.onConnect(...t)}onError(...t){return this.handler.onError(...t)}onUpgrade(...t){return this.handler.onUpgrade(...t)}onHeaders(...t){return this.handler.onHeaders(...t)}onData(...t){return this.handler.onData(...t)}onComplete(...t){return this.handler.onComplete(...t)}onBodySent(...t){return this.handler.onBodySent(...t)}}});var Ra=Re((Kee,GR)=>{"use strict";var{kHeadersList:gi,kConstruct:ZV}=lr(),{kGuard:Zs}=Oo(),{kEnumerableProperty:$s}=Nt(),{makeIterator:sl,isValidHeaderName:Zu,isValidHeaderValue:qR}=rs(),{webidl:yt}=jn(),eH=require("assert"),fi=Symbol("headers map"),mn=Symbol("headers map sorted");function PR(e){return e===10||e===13||e===9||e===32}function VR(e){let t=0,r=e.length;for(;r>t&&PR(e.charCodeAt(r-1));)--r;for(;r>t&&PR(e.charCodeAt(t));)++t;return t===0&&r===e.length?e:e.substring(t,r)}function HR(e,t){if(Array.isArray(t))for(let r=0;r>","record"]})}function PB(e,t,r){if(r=VR(r),Zu(t)){if(!qR(r))throw yt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw yt.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if(e[Zs]==="immutable")throw new TypeError("immutable");return e[Zs],e[gi].append(t,r)}var Wg=class e{cookies=null;constructor(t){t instanceof e?(this[fi]=new Map(t[fi]),this[mn]=t[mn],this.cookies=t.cookies===null?null:[...t.cookies]):(this[fi]=new Map(t),this[mn]=null)}contains(t){return t=t.toLowerCase(),this[fi].has(t)}clear(){this[fi].clear(),this[mn]=null,this.cookies=null}append(t,r){this[mn]=null;let n=t.toLowerCase(),i=this[fi].get(n);if(i){let s=n==="cookie"?"; ":", ";this[fi].set(n,{name:i.name,value:`${i.value}${s}${r}`})}else this[fi].set(n,{name:t,value:r});n==="set-cookie"&&(this.cookies??=[],this.cookies.push(r))}set(t,r){this[mn]=null;let n=t.toLowerCase();n==="set-cookie"&&(this.cookies=[r]),this[fi].set(n,{name:t,value:r})}delete(t){this[mn]=null,t=t.toLowerCase(),t==="set-cookie"&&(this.cookies=null),this[fi].delete(t)}get(t){let r=this[fi].get(t.toLowerCase());return r===void 0?null:r.value}*[Symbol.iterator](){for(let[t,{value:r}]of this[fi])yield[t,r]}get entries(){let t={};if(this[fi].size)for(let{name:r,value:n}of this[fi].values())t[r]=n;return t}},ol=class e{constructor(t=void 0){t!==ZV&&(this[gi]=new Wg,this[Zs]="none",t!==void 0&&(t=yt.converters.HeadersInit(t),HR(this,t)))}append(t,r){return yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,2,{header:"Headers.append"}),t=yt.converters.ByteString(t),r=yt.converters.ByteString(r),PB(this,t,r)}delete(t){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.delete"}),t=yt.converters.ByteString(t),!Zu(t))throw yt.errors.invalidArgument({prefix:"Headers.delete",value:t,type:"header name"});if(this[Zs]==="immutable")throw new TypeError("immutable");this[Zs],this[gi].contains(t)&&this[gi].delete(t)}get(t){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.get"}),t=yt.converters.ByteString(t),!Zu(t))throw yt.errors.invalidArgument({prefix:"Headers.get",value:t,type:"header name"});return this[gi].get(t)}has(t){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.has"}),t=yt.converters.ByteString(t),!Zu(t))throw yt.errors.invalidArgument({prefix:"Headers.has",value:t,type:"header name"});return this[gi].contains(t)}set(t,r){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,2,{header:"Headers.set"}),t=yt.converters.ByteString(t),r=yt.converters.ByteString(r),r=VR(r),Zu(t)){if(!qR(r))throw yt.errors.invalidArgument({prefix:"Headers.set",value:r,type:"header value"})}else throw yt.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header name"});if(this[Zs]==="immutable")throw new TypeError("immutable");this[Zs],this[gi].set(t,r)}getSetCookie(){yt.brandCheck(this,e);let t=this[gi].cookies;return t?[...t]:[]}get[mn](){if(this[gi][mn])return this[gi][mn];let t=[],r=[...this[gi]].sort((i,s)=>i[0]t,"Headers","key")}return sl(()=>[...this[mn].values()],"Headers","key")}values(){if(yt.brandCheck(this,e),this[Zs]==="immutable"){let t=this[mn];return sl(()=>t,"Headers","value")}return sl(()=>[...this[mn].values()],"Headers","value")}entries(){if(yt.brandCheck(this,e),this[Zs]==="immutable"){let t=this[mn];return sl(()=>t,"Headers","key+value")}return sl(()=>[...this[mn].values()],"Headers","key+value")}forEach(t,r=globalThis){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.forEach"}),typeof t!="function")throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");for(let[n,i]of this)t.apply(r,[i,n,this])}[Symbol.for("nodejs.util.inspect.custom")](){return yt.brandCheck(this,e),this[gi]}};ol.prototype[Symbol.iterator]=ol.prototype.entries;Object.defineProperties(ol.prototype,{append:$s,delete:$s,get:$s,has:$s,set:$s,getSetCookie:$s,keys:$s,values:$s,entries:$s,forEach:$s,[Symbol.iterator]:{enumerable:!1},[Symbol.toStringTag]:{value:"Headers",configurable:!0}});yt.converters.HeadersInit=function(e){if(yt.util.Type(e)==="Object")return e[Symbol.iterator]?yt.converters["sequence>"](e):yt.converters["record"](e);throw yt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};GR.exports={fill:HR,Headers:ol,HeadersList:Wg}});var Xg=Re((Xee,$R)=>{"use strict";var{Headers:tH,HeadersList:YR,fill:rH}=Ra(),{extractBody:JR,cloneBody:nH,mixinBody:iH}=Du(),HB=Nt(),{kEnumerableProperty:Oi}=HB,{isValidReasonPhrase:sH,isCancelled:oH,isAborted:AH,isBlobLike:aH,serializeJavascriptValueToJSONString:cH,isErrorLike:lH,isomorphicEncode:uH}=rs(),{redirectStatusSet:hH,nullBodyStatus:fH,DOMException:WR}=RA(),{kState:Rr,kHeaders:hn,kGuard:Al,kRealm:Mi}=Oo(),{webidl:pt}=jn(),{FormData:gH}=Ag(),{getGlobalOrigin:dH}=Fc(),{URLSerializer:jR}=Cs(),{kHeadersList:qB,kConstruct:EH}=lr(),GB=require("assert"),{types:VB}=require("util"),KR=globalThis.ReadableStream||require("stream/web").ReadableStream,pH=new TextEncoder("utf-8"),al=class e{static error(){let t={settingsObject:{}},r=new e;return r[Rr]=zg(),r[Mi]=t,r[hn][qB]=r[Rr].headersList,r[hn][Al]="immutable",r[hn][Mi]=t,r}static json(t,r={}){pt.argumentLengthCheck(arguments,1,{header:"Response.json"}),r!==null&&(r=pt.converters.ResponseInit(r));let n=pH.encode(cH(t)),i=JR(n),s={settingsObject:{}},a=new e;return a[Mi]=s,a[hn][Al]="response",a[hn][Mi]=s,zR(a,r,{body:i[0],type:"application/json"}),a}static redirect(t,r=302){let n={settingsObject:{}};pt.argumentLengthCheck(arguments,1,{header:"Response.redirect"}),t=pt.converters.USVString(t),r=pt.converters["unsigned short"](r);let i;try{i=new URL(t,dH())}catch(c){throw Object.assign(new TypeError("Failed to parse URL from "+t),{cause:c})}if(!hH.has(r))throw new RangeError("Invalid status code "+r);let s=new e;s[Mi]=n,s[hn][Al]="immutable",s[hn][Mi]=n,s[Rr].status=r;let a=uH(jR(i));return s[Rr].headersList.append("location",a),s}constructor(t=null,r={}){t!==null&&(t=pt.converters.BodyInit(t)),r=pt.converters.ResponseInit(r),this[Mi]={settingsObject:{}},this[Rr]=Kg({}),this[hn]=new tH(EH),this[hn][Al]="response",this[hn][qB]=this[Rr].headersList,this[hn][Mi]=this[Mi];let n=null;if(t!=null){let[i,s]=JR(t);n={body:i,type:s}}zR(this,r,n)}get type(){return pt.brandCheck(this,e),this[Rr].type}get url(){pt.brandCheck(this,e);let t=this[Rr].urlList,r=t[t.length-1]??null;return r===null?"":jR(r,!0)}get redirected(){return pt.brandCheck(this,e),this[Rr].urlList.length>1}get status(){return pt.brandCheck(this,e),this[Rr].status}get ok(){return pt.brandCheck(this,e),this[Rr].status>=200&&this[Rr].status<=299}get statusText(){return pt.brandCheck(this,e),this[Rr].statusText}get headers(){return pt.brandCheck(this,e),this[hn]}get body(){return pt.brandCheck(this,e),this[Rr].body?this[Rr].body.stream:null}get bodyUsed(){return pt.brandCheck(this,e),!!this[Rr].body&&HB.isDisturbed(this[Rr].body.stream)}clone(){if(pt.brandCheck(this,e),this.bodyUsed||this.body&&this.body.locked)throw pt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let t=YB(this[Rr]),r=new e;return r[Rr]=t,r[Mi]=this[Mi],r[hn][qB]=t.headersList,r[hn][Al]=this[hn][Al],r[hn][Mi]=this[hn][Mi],r}};iH(al);Object.defineProperties(al.prototype,{type:Oi,url:Oi,status:Oi,ok:Oi,redirected:Oi,statusText:Oi,headers:Oi,clone:Oi,body:Oi,bodyUsed:Oi,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(al,{json:Oi,redirect:Oi,error:Oi});function YB(e){if(e.internalResponse)return XR(YB(e.internalResponse),e.type);let t=Kg({...e,body:null});return e.body!=null&&(t.body=nH(e.body)),t}function Kg(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new YR(e.headersList):new YR,urlList:e.urlList?[...e.urlList]:[]}}function zg(e){let t=lH(e);return Kg({type:"error",status:0,error:t?e:new Error(e&&String(e)),aborted:e&&e.name==="AbortError"})}function jg(e,t){return t={internalResponse:e,...t},new Proxy(e,{get(r,n){return n in t?t[n]:r[n]},set(r,n,i){return GB(!(n in t)),r[n]=i,!0}})}function XR(e,t){if(t==="basic")return jg(e,{type:"basic",headersList:e.headersList});if(t==="cors")return jg(e,{type:"cors",headersList:e.headersList});if(t==="opaque")return jg(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(t==="opaqueredirect")return jg(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});GB(!1)}function CH(e,t=null){return GB(oH(e)),AH(e)?zg(Object.assign(new WR("The operation was aborted.","AbortError"),{cause:t})):zg(Object.assign(new WR("Request was cancelled."),{cause:t}))}function zR(e,t,r){if(t.status!==null&&(t.status<200||t.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&t.statusText!=null&&!sH(String(t.statusText)))throw new TypeError("Invalid statusText");if("status"in t&&t.status!=null&&(e[Rr].status=t.status),"statusText"in t&&t.statusText!=null&&(e[Rr].statusText=t.statusText),"headers"in t&&t.headers!=null&&rH(e[hn],t.headers),r){if(fH.includes(e.status))throw pt.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status});e[Rr].body=r.body,r.type!=null&&!e[Rr].headersList.contains("Content-Type")&&e[Rr].headersList.append("content-type",r.type)}}pt.converters.ReadableStream=pt.interfaceConverter(KR);pt.converters.FormData=pt.interfaceConverter(gH);pt.converters.URLSearchParams=pt.interfaceConverter(URLSearchParams);pt.converters.XMLHttpRequestBodyInit=function(e){return typeof e=="string"?pt.converters.USVString(e):aH(e)?pt.converters.Blob(e,{strict:!1}):VB.isArrayBuffer(e)||VB.isTypedArray(e)||VB.isDataView(e)?pt.converters.BufferSource(e):HB.isFormDataLike(e)?pt.converters.FormData(e,{strict:!1}):e instanceof URLSearchParams?pt.converters.URLSearchParams(e):pt.converters.DOMString(e)};pt.converters.BodyInit=function(e){return e instanceof KR?pt.converters.ReadableStream(e):e?.[Symbol.asyncIterator]?e:pt.converters.XMLHttpRequestBodyInit(e)};pt.converters.ResponseInit=pt.dictionaryConverter([{key:"status",converter:pt.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:pt.converters.ByteString,defaultValue:""},{key:"headers",converter:pt.converters.HeadersInit}]);$R.exports={makeNetworkError:zg,makeResponse:Kg,makeAppropriateNetworkError:CH,filterResponse:XR,Response:al,cloneResponse:YB}});var rh=Re(($ee,i2)=>{"use strict";var{extractBody:IH,mixinBody:BH,cloneBody:yH}=Du(),{Headers:ZR,fill:QH,HeadersList:td}=Ra(),{FinalizationRegistry:mH}=tB()(),th=Nt(),{isValidHTTPToken:bH,sameOrigin:e2,normalizeMethod:wH,makePolicyContainer:vH,normalizeMethodRecord:SH}=rs(),{forbiddenMethodsSet:RH,corsSafeListedMethodsSet:_H,referrerPolicy:kH,requestRedirect:DH,requestMode:NH,requestCredentials:TH,requestCache:LH,requestDuplex:FH}=RA(),{kEnumerableProperty:Zr}=th,{kHeaders:Un,kSignal:eh,kState:yr,kGuard:$g,kRealm:Pi}=Oo(),{webidl:At}=jn(),{getGlobalOrigin:UH}=Fc(),{URLSerializer:xH}=Cs(),{kHeadersList:Zg,kConstruct:ed}=lr(),MH=require("assert"),{getMaxListeners:t2,setMaxListeners:r2,getEventListeners:OH,defaultMaxListeners:n2}=require("events"),JB=globalThis.TransformStream,PH=Symbol("abortController"),qH=new mH(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),_a=class e{constructor(t,r={}){if(t===ed)return;At.argumentLengthCheck(arguments,1,{header:"Request constructor"}),t=At.converters.RequestInfo(t),r=At.converters.RequestInit(r),this[Pi]={settingsObject:{baseUrl:UH(),get origin(){return this.baseUrl?.origin},policyContainer:vH()}};let n=null,i=null,s=this[Pi].settingsObject.baseUrl,a=null;if(typeof t=="string"){let Q;try{Q=new URL(t,s)}catch(R){throw new TypeError("Failed to parse URL from "+t,{cause:R})}if(Q.username||Q.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+t);n=rd({urlList:[Q]}),i="cors"}else MH(t instanceof e),n=t[yr],a=t[eh];let c=this[Pi].settingsObject.origin,l="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&e2(n.window,c)&&(l=n.window),r.window!=null)throw new TypeError(`'window' option '${l}' must be null`);"window"in r&&(l="no-window"),n=rd({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:this[Pi].settingsObject,window:l,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let A=Object.keys(r).length!==0;if(A&&(n.mode==="navigate"&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),r.referrer!==void 0){let Q=r.referrer;if(Q==="")n.referrer="no-referrer";else{let R;try{R=new URL(Q,s)}catch(_){throw new TypeError(`Referrer "${Q}" is not a valid URL.`,{cause:_})}R.protocol==="about:"&&R.hostname==="client"||c&&!e2(R,this[Pi].settingsObject.baseUrl)?n.referrer="client":n.referrer=R}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let f;if(r.mode!==void 0?f=r.mode:f=i,f==="navigate")throw At.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(f!=null&&(n.mode=f),r.credentials!==void 0&&(n.credentials=r.credentials),r.cache!==void 0&&(n.cache=r.cache),n.cache==="only-if-cached"&&n.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(n.redirect=r.redirect),r.integrity!=null&&(n.integrity=String(r.integrity)),r.keepalive!==void 0&&(n.keepalive=!!r.keepalive),r.method!==void 0){let Q=r.method;if(!bH(Q))throw new TypeError(`'${Q}' is not a valid HTTP method.`);if(RH.has(Q.toUpperCase()))throw new TypeError(`'${Q}' HTTP method is unsupported.`);Q=SH[Q]??wH(Q),n.method=Q}r.signal!==void 0&&(a=r.signal),this[yr]=n;let h=new AbortController;if(this[eh]=h.signal,this[eh][Pi]=this[Pi],a!=null){if(!a||typeof a.aborted!="boolean"||typeof a.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(a.aborted)h.abort(a.reason);else{this[PH]=h;let Q=new WeakRef(h),R=function(){let _=Q.deref();_!==void 0&&_.abort(this.reason)};try{(typeof t2=="function"&&t2(a)===n2||OH(a,"abort").length>=n2)&&r2(100,a)}catch{}th.addAbortListener(a,R),qH.register(h,{signal:a,abort:R})}}if(this[Un]=new ZR(ed),this[Un][Zg]=n.headersList,this[Un][$g]="request",this[Un][Pi]=this[Pi],f==="no-cors"){if(!_H.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);this[Un][$g]="request-no-cors"}if(A){let Q=this[Un][Zg],R=r.headers!==void 0?r.headers:new td(Q);if(Q.clear(),R instanceof td){for(let[_,d]of R)Q.append(_,d);Q.cookies=R.cookies}else QH(this[Un],R)}let g=t instanceof e?t[yr].body:null;if((r.body!=null||g!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let b=null;if(r.body!=null){let[Q,R]=IH(r.body,n.keepalive);b=Q,R&&!this[Un][Zg].contains("content-type")&&this[Un].append("content-type",R)}let C=b??g;if(C!=null&&C.source==null){if(b!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(n.mode!=="same-origin"&&n.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let p=C;if(b==null&&g!=null){if(th.isDisturbed(g.stream)||g.stream.locked)throw new TypeError("Cannot construct a Request with a Request object that has already been used.");JB||(JB=require("stream/web").TransformStream);let Q=new JB;g.stream.pipeThrough(Q),p={source:g.source,length:g.length,stream:Q.readable}}this[yr].body=p}get method(){return At.brandCheck(this,e),this[yr].method}get url(){return At.brandCheck(this,e),xH(this[yr].url)}get headers(){return At.brandCheck(this,e),this[Un]}get destination(){return At.brandCheck(this,e),this[yr].destination}get referrer(){return At.brandCheck(this,e),this[yr].referrer==="no-referrer"?"":this[yr].referrer==="client"?"about:client":this[yr].referrer.toString()}get referrerPolicy(){return At.brandCheck(this,e),this[yr].referrerPolicy}get mode(){return At.brandCheck(this,e),this[yr].mode}get credentials(){return this[yr].credentials}get cache(){return At.brandCheck(this,e),this[yr].cache}get redirect(){return At.brandCheck(this,e),this[yr].redirect}get integrity(){return At.brandCheck(this,e),this[yr].integrity}get keepalive(){return At.brandCheck(this,e),this[yr].keepalive}get isReloadNavigation(){return At.brandCheck(this,e),this[yr].reloadNavigation}get isHistoryNavigation(){return At.brandCheck(this,e),this[yr].historyNavigation}get signal(){return At.brandCheck(this,e),this[eh]}get body(){return At.brandCheck(this,e),this[yr].body?this[yr].body.stream:null}get bodyUsed(){return At.brandCheck(this,e),!!this[yr].body&&th.isDisturbed(this[yr].body.stream)}get duplex(){return At.brandCheck(this,e),"half"}clone(){if(At.brandCheck(this,e),this.bodyUsed||this.body?.locked)throw new TypeError("unusable");let t=VH(this[yr]),r=new e(ed);r[yr]=t,r[Pi]=this[Pi],r[Un]=new ZR(ed),r[Un][Zg]=t.headersList,r[Un][$g]=this[Un][$g],r[Un][Pi]=this[Un][Pi];let n=new AbortController;return this.signal.aborted?n.abort(this.signal.reason):th.addAbortListener(this.signal,()=>{n.abort(this.signal.reason)}),r[eh]=n.signal,r}};BH(_a);function rd(e){let t={method:"GET",localURLsOnly:!1,unsafeRequest:!1,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:!1,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:!1,credentials:"same-origin",useCredentials:!1,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:!1,historyNavigation:!1,userActivation:!1,taintedOrigin:!1,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:!1,done:!1,timingAllowFailed:!1,...e,headersList:e.headersList?new td(e.headersList):new td};return t.url=t.urlList[0],t}function VH(e){let t=rd({...e,body:null});return e.body!=null&&(t.body=yH(e.body)),t}Object.defineProperties(_a.prototype,{method:Zr,url:Zr,headers:Zr,redirect:Zr,clone:Zr,signal:Zr,duplex:Zr,destination:Zr,body:Zr,bodyUsed:Zr,isHistoryNavigation:Zr,isReloadNavigation:Zr,keepalive:Zr,integrity:Zr,cache:Zr,credentials:Zr,attribute:Zr,referrerPolicy:Zr,referrer:Zr,mode:Zr,[Symbol.toStringTag]:{value:"Request",configurable:!0}});At.converters.Request=At.interfaceConverter(_a);At.converters.RequestInfo=function(e){return typeof e=="string"?At.converters.USVString(e):e instanceof _a?At.converters.Request(e):At.converters.USVString(e)};At.converters.AbortSignal=At.interfaceConverter(AbortSignal);At.converters.RequestInit=At.dictionaryConverter([{key:"method",converter:At.converters.ByteString},{key:"headers",converter:At.converters.HeadersInit},{key:"body",converter:At.nullableConverter(At.converters.BodyInit)},{key:"referrer",converter:At.converters.USVString},{key:"referrerPolicy",converter:At.converters.DOMString,allowedValues:kH},{key:"mode",converter:At.converters.DOMString,allowedValues:NH},{key:"credentials",converter:At.converters.DOMString,allowedValues:TH},{key:"cache",converter:At.converters.DOMString,allowedValues:LH},{key:"redirect",converter:At.converters.DOMString,allowedValues:DH},{key:"integrity",converter:At.converters.DOMString},{key:"keepalive",converter:At.converters.boolean},{key:"signal",converter:At.nullableConverter(e=>At.converters.AbortSignal(e,{strict:!1}))},{key:"window",converter:At.converters.any},{key:"duplex",converter:At.converters.DOMString,allowedValues:FH}]);i2.exports={Request:_a,makeRequest:rd}});var cd=Re((Zee,C2)=>{"use strict";var{Response:HH,makeNetworkError:ar,makeAppropriateNetworkError:nd,filterResponse:WB,makeResponse:id}=Xg(),{Headers:s2}=Ra(),{Request:GH,makeRequest:YH}=rh(),nh=require("zlib"),{bytesMatch:JH,makePolicyContainer:WH,clonePolicyContainer:jH,requestBadPort:zH,TAOCheck:KH,appendRequestOriginHeader:XH,responseLocationURL:$H,requestCurrentURL:eo,setRequestReferrerPolicyOnRedirect:ZH,tryUpgradeRequestToAPotentiallyTrustworthyURL:eG,createOpaqueTimingInfo:ry,appendFetchMetadata:tG,corsCheck:rG,crossOriginResourcePolicyCheck:nG,determineRequestsReferrer:iG,coarsenedSharedCurrentTime:ny,createDeferredPromise:sG,isBlobLike:oG,sameOrigin:ZB,isCancelled:ll,isAborted:o2,isErrorLike:AG,fullyReadBody:l2,readableStreamClose:aG,isomorphicEncode:ey,urlIsLocal:cG,urlIsHttpHttpsScheme:iy,urlHasHttpsScheme:lG}=rs(),{kState:ty,kHeaders:jB,kGuard:uG,kRealm:A2}=Oo(),ul=require("assert"),{safelyExtractBody:sd}=Du(),{redirectStatusSet:u2,nullBodyStatus:h2,safeMethodsSet:hG,requestBodyHeader:fG,subresourceSet:gG,DOMException:od}=RA(),{kHeadersList:cl}=lr(),dG=require("events"),{Readable:EG,pipeline:pG}=require("stream"),{addAbortListener:CG,isErrored:IG,isReadable:Ad,nodeMajor:a2,nodeMinor:BG}=Nt(),{dataURLProcessor:yG,serializeAMimeType:QG}=Cs(),{TransformStream:mG}=require("stream/web"),{getGlobalDispatcher:bG}=il(),{webidl:wG}=jn(),{STATUS_CODES:vG}=require("http"),SG=["GET","HEAD"],zB,KB=globalThis.ReadableStream,ad=class extends dG{constructor(t){super(),this.dispatcher=t,this.connection=null,this.dump=!1,this.state="ongoing",this.setMaxListeners(21)}terminate(t){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(t),this.emit("terminated",t))}abort(t){this.state==="ongoing"&&(this.state="aborted",t||(t=new od("The operation was aborted.","AbortError")),this.serializedAbortReason=t,this.connection?.destroy(t),this.emit("terminated",t))}};function RG(e,t={}){wG.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});let r=sG(),n;try{n=new GH(e,t)}catch(g){return r.reject(g),r.promise}let i=n[ty];if(n.signal.aborted)return XB(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=null,l=!1,A=null;return CG(n.signal,()=>{l=!0,ul(A!=null),A.abort(n.signal.reason),XB(r,i,a,n.signal.reason)}),A=g2({request:i,processResponseEndOfBody:g=>f2(g,"fetch"),processResponse:g=>{if(l)return Promise.resolve();if(g.aborted)return XB(r,i,a,A.serializedAbortReason),Promise.resolve();if(g.type==="error")return r.reject(Object.assign(new TypeError("fetch failed"),{cause:g.error})),Promise.resolve();a=new HH,a[ty]=g,a[A2]=c,a[jB][cl]=g.headersList,a[jB][uG]="immutable",a[jB][A2]=c,r.resolve(a)},dispatcher:t.dispatcher??bG()}),r.promise}function f2(e,t="other"){if(e.type==="error"&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],n=e.timingInfo,i=e.cacheState;iy(r)&&n!==null&&(e.timingAllowPassed||(n=ry({startTime:n.startTime}),i=""),n.endTime=ny(),e.timingInfo=n,_G(n,r,t,globalThis,i))}function _G(e,t,r,n,i){(a2>18||a2===18&&BG>=2)&&performance.markResourceTiming(e,t.href,r,n,i)}function XB(e,t,r,n){if(n||(n=new od("The operation was aborted.","AbortError")),e.reject(n),t.body!=null&&Ad(t.body?.stream)&&t.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[ty];i.body!=null&&Ad(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}function g2({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c}){let l=null,A=!1;e.client!=null&&(l=e.client.globalObject,A=e.client.crossOriginIsolatedCapability);let f=ny(A),h=ry({startTime:f}),g={controller:new ad(c),request:e,timingInfo:h,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};if(ul(!e.body||e.body.stream),e.window==="client"&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),e.origin==="client"&&(e.origin=e.client?.origin),e.policyContainer==="client"&&(e.client!=null?e.policyContainer=jH(e.client.policyContainer):e.policyContainer=WH()),!e.headersList.contains("accept")){let b="*/*";e.headersList.append("accept",b)}return e.headersList.contains("accept-language")||e.headersList.append("accept-language","*"),e.priority,gG.has(e.destination),d2(g).catch(b=>{g.controller.terminate(b)}),g.controller}async function d2(e,t=!1){let r=e.request,n=null;if(r.localURLsOnly&&!cG(eo(r))&&(n=ar("local URLs only")),eG(r),zH(r)==="blocked"&&(n=ar("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=iG(r)),n===null&&(n=await(async()=>{let s=eo(r);return ZB(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await c2(e)):r.mode==="same-origin"?ar('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ar('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await c2(e)):iy(eo(r))?(r.responseTainting="cors",await E2(e)):ar("URL scheme must be a HTTP(S) scheme")})()),t)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=WB(n,"basic"):r.responseTainting==="cors"?n=WB(n,"cors"):r.responseTainting==="opaque"?n=WB(n,"opaque"):ul(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range")&&(n=i=ar()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||h2.includes(i.status))&&(i.body=null,e.controller.dump=!0),r.integrity){let s=c=>$B(e,ar(c));if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=c=>{if(!JH(c,r.integrity)){s("integrity mismatch");return}n.body=sd(c)[0],$B(e,n)};await l2(n.body,a,s)}else $B(e,n)}function c2(e){if(ll(e)&&e.request.redirectCount===0)return Promise.resolve(nd(e));let{request:t}=e,{protocol:r}=eo(t);switch(r){case"about:":return Promise.resolve(ar("about scheme is not supported"));case"blob:":{zB||(zB=require("buffer").resolveObjectURL);let n=eo(t);if(n.search.length!==0)return Promise.resolve(ar("NetworkError when attempting to fetch resource."));let i=zB(n.toString());if(t.method!=="GET"||!oG(i))return Promise.resolve(ar("invalid method"));let s=sd(i),a=s[0],c=ey(`${a.length}`),l=s[1]??"",A=id({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:c}],["content-type",{name:"Content-Type",value:l}]]});return A.body=a,Promise.resolve(A)}case"data:":{let n=eo(t),i=yG(n);if(i==="failure")return Promise.resolve(ar("failed to fetch the data URL"));let s=QG(i.mimeType);return Promise.resolve(id({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:sd(i.body)[0]}))}case"file:":return Promise.resolve(ar("not implemented... yet..."));case"http:":case"https:":return E2(e).catch(n=>ar(n));default:return Promise.resolve(ar("unknown scheme"))}}function kG(e,t){e.request.done=!0,e.processResponseDone!=null&&queueMicrotask(()=>e.processResponseDone(t))}function $B(e,t){t.type==="error"&&(t.urlList=[e.request.urlList[0]],t.timingInfo=ry({startTime:e.timingInfo.startTime}));let r=()=>{e.request.done=!0,e.processResponseEndOfBody!=null&&queueMicrotask(()=>e.processResponseEndOfBody(t))};if(e.processResponse!=null&&queueMicrotask(()=>e.processResponse(t)),t.body==null)r();else{let n=(s,a)=>{a.enqueue(s)},i=new mG({start(){},transform:n,flush:r},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(i)}}if(e.processResponseConsumeBody!=null){let n=s=>e.processResponseConsumeBody(t,s),i=s=>e.processResponseConsumeBody(t,s);if(t.body==null)queueMicrotask(()=>n(null));else return l2(t.body,n,i);return Promise.resolve()}}async function E2(e){let t=e.request,r=null,n=null,i=e.timingInfo;if(t.serviceWorkers,r===null){if(t.redirect==="follow"&&(t.serviceWorkers="none"),n=r=await p2(e),t.responseTainting==="cors"&&rG(t,r)==="failure")return ar("cors failure");KH(t,r)==="failure"&&(t.timingAllowFailed=!0)}return(t.responseTainting==="opaque"||r.type==="opaque")&&nG(t.origin,t.client,t.destination,n)==="blocked"?ar("blocked"):(u2.has(n.status)&&(t.redirect!=="manual"&&e.controller.connection.destroy(),t.redirect==="error"?r=ar("unexpected redirect"):t.redirect==="manual"?r=n:t.redirect==="follow"?r=await DG(e,r):ul(!1)),r.timingInfo=i,r)}function DG(e,t){let r=e.request,n=t.internalResponse?t.internalResponse:t,i;try{if(i=$H(n,eo(r).hash),i==null)return t}catch(a){return Promise.resolve(ar(a))}if(!iy(i))return Promise.resolve(ar("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ar("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!ZB(r,i))return Promise.resolve(ar('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(ar('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ar());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!SG.includes(r.method)){r.method="GET",r.body=null;for(let a of fG)r.headersList.delete(a)}ZB(eo(r),i)||(r.headersList.delete("authorization"),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie"),r.headersList.delete("host")),r.body!=null&&(ul(r.body.source!=null),r.body=sd(r.body.source)[0]);let s=e.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=ny(e.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),ZH(r,n),d2(e,!0)}async function p2(e,t=!1,r=!1){let n=e.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=e,s=n):(s=YH(n),i={...e},i.request=s);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",f=s.body?s.body.length:null,h=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(h="0"),f!=null&&(h=ey(`${f}`)),h!=null&&s.headersList.append("content-length",h),f!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",ey(s.referrer.href)),XH(s),tG(s),s.headersList.contains("user-agent")||s.headersList.append("user-agent",typeof esbuildDetection>"u"?"undici":"node"),s.cache==="default"&&(s.headersList.contains("if-modified-since")||s.headersList.contains("if-none-match")||s.headersList.contains("if-unmodified-since")||s.headersList.contains("if-match")||s.headersList.contains("if-range"))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control")&&s.headersList.append("cache-control","max-age=0"),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma")||s.headersList.append("pragma","no-cache"),s.headersList.contains("cache-control")||s.headersList.append("cache-control","no-cache")),s.headersList.contains("range")&&s.headersList.append("accept-encoding","identity"),s.headersList.contains("accept-encoding")||(lG(eo(s))?s.headersList.append("accept-encoding","br, gzip, deflate"):s.headersList.append("accept-encoding","gzip, deflate")),s.headersList.delete("host"),c==null&&(s.cache="no-store"),s.mode!=="no-store"&&s.mode,a==null){if(s.mode==="only-if-cached")return ar("only if cached");let g=await NG(i,A,r);!hG.has(s.method)&&g.status>=200&&g.status<=399,l&&g.status,a==null&&(a=g)}if(a.urlList=[...s.urlList],s.headersList.contains("range")&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?ar():ll(e)?nd(e):ar("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(ll(e))return nd(e);e.controller.connection.destroy(),a=await p2(e,t,!0)}return a}async function NG(e,t=!1,r=!1){ul(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(C){this.destroyed||(this.destroyed=!0,this.abort?.(C??new od("The operation was aborted.","AbortError")))}};let n=e.request,i=null,s=e.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(n.body!=null){let C=async function*(R){ll(e)||(yield R,e.processRequestBodyChunkLength?.(R.byteLength))},p=()=>{ll(e)||e.processRequestEndOfBody&&e.processRequestEndOfBody()},Q=R=>{ll(e)||(R.name==="AbortError"?e.controller.abort():e.controller.terminate(R))};l=async function*(){try{for await(let R of n.body.stream)yield*C(R);p()}catch(R){Q(R)}}()}try{let{body:C,status:p,statusText:Q,headersList:R,socket:_}=await b({body:l});if(_)i=id({status:p,statusText:Q,headersList:R,socket:_});else{let d=C[Symbol.asyncIterator]();e.controller.next=()=>d.next(),i=id({status:p,statusText:Q,headersList:R})}}catch(C){return C.name==="AbortError"?(e.controller.connection.destroy(),nd(e,C)):ar(C)}let A=()=>{e.controller.resume()},f=C=>{e.controller.abort(C)};KB||(KB=require("stream/web").ReadableStream);let h=new KB({async start(C){e.controller.controller=C},async pull(C){await A(C)},async cancel(C){await f(C)}},{highWaterMark:0,size(){return 1}});i.body={stream:h},e.controller.on("terminated",g),e.controller.resume=async()=>{for(;;){let C,p;try{let{done:Q,value:R}=await e.controller.next();if(o2(e))break;C=Q?void 0:R}catch(Q){e.controller.ended&&!s.encodedBodySize?C=void 0:(C=Q,p=!0)}if(C===void 0){aG(e.controller.controller),kG(e,i);return}if(s.decodedBodySize+=C?.byteLength??0,p){e.controller.terminate(C);return}if(e.controller.controller.enqueue(new Uint8Array(C)),IG(h)){e.controller.terminate();return}if(!e.controller.controller.desiredSize)return}};function g(C){o2(e)?(i.aborted=!0,Ad(h)&&e.controller.controller.error(e.controller.serializedAbortReason)):Ad(h)&&e.controller.controller.error(new TypeError("terminated",{cause:AG(C)?C:void 0})),e.controller.connection.destroy()}return i;async function b({body:C}){let p=eo(n),Q=e.controller.dispatcher;return new Promise((R,_)=>Q.dispatch({path:p.pathname+p.search,origin:p.origin,method:n.method,body:e.controller.dispatcher.isMockActive?n.body&&(n.body.source||n.body.stream):C,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(d){let{connection:S}=e.controller;S.destroyed?d(new od("The operation was aborted.","AbortError")):(e.controller.on("terminated",d),this.abort=S.abort=d)},onHeaders(d,S,m,T){if(d<200)return;let L=[],v="",I=new s2;if(Array.isArray(S))for(let q=0;qN.trim()):V.toLowerCase()==="location"&&(v=w),I[cl].append(V,w)}else{let q=Object.keys(S);for(let V of q){let w=S[V];V.toLowerCase()==="content-encoding"?L=w.toLowerCase().split(",").map(N=>N.trim()).reverse():V.toLowerCase()==="location"&&(v=w),I[cl].append(V,w)}}this.body=new EG({read:m});let E=[],O=n.redirect==="follow"&&v&&u2.has(d);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!h2.includes(d)&&!O)for(let q of L)if(q==="x-gzip"||q==="gzip")E.push(nh.createGunzip({flush:nh.constants.Z_SYNC_FLUSH,finishFlush:nh.constants.Z_SYNC_FLUSH}));else if(q==="deflate")E.push(nh.createInflate());else if(q==="br")E.push(nh.createBrotliDecompress());else{E.length=0;break}return R({status:d,statusText:T,headersList:I[cl],body:E.length?pG(this.body,...E,()=>{}):this.body.on("error",()=>{})}),!0},onData(d){if(e.controller.dump)return;let S=d;return s.encodedBodySize+=S.byteLength,this.body.push(S)},onComplete(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body.push(null)},onError(d){this.abort&&e.controller.off("terminated",this.abort),this.body?.destroy(d),e.controller.terminate(d),_(d)},onUpgrade(d,S,m){if(d!==101)return;let T=new s2;for(let L=0;L{"use strict";I2.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}});var y2=Re((tte,B2)=>{"use strict";var{webidl:qi}=jn(),ld=Symbol("ProgressEvent state"),oy=class e extends Event{constructor(t,r={}){t=qi.converters.DOMString(t),r=qi.converters.ProgressEventInit(r??{}),super(t,r),this[ld]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return qi.brandCheck(this,e),this[ld].lengthComputable}get loaded(){return qi.brandCheck(this,e),this[ld].loaded}get total(){return qi.brandCheck(this,e),this[ld].total}};qi.converters.ProgressEventInit=qi.dictionaryConverter([{key:"lengthComputable",converter:qi.converters.boolean,defaultValue:!1},{key:"loaded",converter:qi.converters["unsigned long long"],defaultValue:0},{key:"total",converter:qi.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:qi.converters.boolean,defaultValue:!1},{key:"cancelable",converter:qi.converters.boolean,defaultValue:!1},{key:"composed",converter:qi.converters.boolean,defaultValue:!1}]);B2.exports={ProgressEvent:oy}});var m2=Re((rte,Q2)=>{"use strict";function TG(e){if(!e)return"failure";switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}Q2.exports={getEncoding:TG}});var D2=Re((nte,k2)=>{"use strict";var{kState:hl,kError:Ay,kResult:b2,kAborted:ih,kLastProgressEventFired:ay}=sy(),{ProgressEvent:LG}=y2(),{getEncoding:w2}=m2(),{DOMException:FG}=RA(),{serializeAMimeType:UG,parseMIMEType:v2}=Cs(),{types:xG}=require("util"),{StringDecoder:S2}=require("string_decoder"),{btoa:R2}=require("buffer"),MG={enumerable:!0,writable:!1,configurable:!1};function OG(e,t,r,n){if(e[hl]==="loading")throw new FG("Invalid state","InvalidStateError");e[hl]="loading",e[b2]=null,e[Ay]=null;let s=t.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!e[ih];)try{let{done:A,value:f}=await c;if(l&&!e[ih]&&queueMicrotask(()=>{UA("loadstart",e)}),l=!1,!A&&xG.isUint8Array(f))a.push(f),(e[ay]===void 0||Date.now()-e[ay]>=50)&&!e[ih]&&(e[ay]=Date.now(),queueMicrotask(()=>{UA("progress",e)})),c=s.read();else if(A){queueMicrotask(()=>{e[hl]="done";try{let h=PG(a,r,t.type,n);if(e[ih])return;e[b2]=h,UA("load",e)}catch(h){e[Ay]=h,UA("error",e)}e[hl]!=="loading"&&UA("loadend",e)});break}}catch(A){if(e[ih])return;queueMicrotask(()=>{e[hl]="done",e[Ay]=A,UA("error",e),e[hl]!=="loading"&&UA("loadend",e)});break}})()}function UA(e,t){let r=new LG(e,{bubbles:!1,cancelable:!1});t.dispatchEvent(r)}function PG(e,t,r,n){switch(t){case"DataURL":{let i="data:",s=v2(r||"application/octet-stream");s!=="failure"&&(i+=UG(s)),i+=";base64,";let a=new S2("latin1");for(let c of e)i+=R2(a.write(c));return i+=R2(a.end()),i}case"Text":{let i="failure";if(n&&(i=w2(n)),i==="failure"&&r){let s=v2(r);s!=="failure"&&(i=w2(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),qG(e,i)}case"ArrayBuffer":return _2(e).buffer;case"BinaryString":{let i="",s=new S2("latin1");for(let a of e)i+=s.write(a);return i+=s.end(),i}}}function qG(e,t){let r=_2(e),n=VG(r),i=0;n!==null&&(t=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(t).decode(s)}function VG(e){let[t,r,n]=e;return t===239&&r===187&&n===191?"UTF-8":t===254&&r===255?"UTF-16BE":t===255&&r===254?"UTF-16LE":null}function _2(e){let t=e.reduce((n,i)=>n+i.byteLength,0),r=0;return e.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(t))}k2.exports={staticPropertyDescriptors:MG,readOperation:OG,fireAProgressEvent:UA}});var F2=Re((ite,L2)=>{"use strict";var{staticPropertyDescriptors:fl,readOperation:ud,fireAProgressEvent:N2}=D2(),{kState:ka,kError:T2,kResult:hd,kEvents:qt,kAborted:HG}=sy(),{webidl:nr}=jn(),{kEnumerableProperty:di}=Nt(),Qs=class e extends EventTarget{constructor(){super(),this[ka]="empty",this[hd]=null,this[T2]=null,this[qt]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(t){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"}),t=nr.converters.Blob(t,{strict:!1}),ud(this,t,"ArrayBuffer")}readAsBinaryString(t){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"}),t=nr.converters.Blob(t,{strict:!1}),ud(this,t,"BinaryString")}readAsText(t,r=void 0){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"}),t=nr.converters.Blob(t,{strict:!1}),r!==void 0&&(r=nr.converters.DOMString(r)),ud(this,t,"Text",r)}readAsDataURL(t){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"}),t=nr.converters.Blob(t,{strict:!1}),ud(this,t,"DataURL")}abort(){if(this[ka]==="empty"||this[ka]==="done"){this[hd]=null;return}this[ka]==="loading"&&(this[ka]="done",this[hd]=null),this[HG]=!0,N2("abort",this),this[ka]!=="loading"&&N2("loadend",this)}get readyState(){switch(nr.brandCheck(this,e),this[ka]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return nr.brandCheck(this,e),this[hd]}get error(){return nr.brandCheck(this,e),this[T2]}get onloadend(){return nr.brandCheck(this,e),this[qt].loadend}set onloadend(t){nr.brandCheck(this,e),this[qt].loadend&&this.removeEventListener("loadend",this[qt].loadend),typeof t=="function"?(this[qt].loadend=t,this.addEventListener("loadend",t)):this[qt].loadend=null}get onerror(){return nr.brandCheck(this,e),this[qt].error}set onerror(t){nr.brandCheck(this,e),this[qt].error&&this.removeEventListener("error",this[qt].error),typeof t=="function"?(this[qt].error=t,this.addEventListener("error",t)):this[qt].error=null}get onloadstart(){return nr.brandCheck(this,e),this[qt].loadstart}set onloadstart(t){nr.brandCheck(this,e),this[qt].loadstart&&this.removeEventListener("loadstart",this[qt].loadstart),typeof t=="function"?(this[qt].loadstart=t,this.addEventListener("loadstart",t)):this[qt].loadstart=null}get onprogress(){return nr.brandCheck(this,e),this[qt].progress}set onprogress(t){nr.brandCheck(this,e),this[qt].progress&&this.removeEventListener("progress",this[qt].progress),typeof t=="function"?(this[qt].progress=t,this.addEventListener("progress",t)):this[qt].progress=null}get onload(){return nr.brandCheck(this,e),this[qt].load}set onload(t){nr.brandCheck(this,e),this[qt].load&&this.removeEventListener("load",this[qt].load),typeof t=="function"?(this[qt].load=t,this.addEventListener("load",t)):this[qt].load=null}get onabort(){return nr.brandCheck(this,e),this[qt].abort}set onabort(t){nr.brandCheck(this,e),this[qt].abort&&this.removeEventListener("abort",this[qt].abort),typeof t=="function"?(this[qt].abort=t,this.addEventListener("abort",t)):this[qt].abort=null}};Qs.EMPTY=Qs.prototype.EMPTY=0;Qs.LOADING=Qs.prototype.LOADING=1;Qs.DONE=Qs.prototype.DONE=2;Object.defineProperties(Qs.prototype,{EMPTY:fl,LOADING:fl,DONE:fl,readAsArrayBuffer:di,readAsBinaryString:di,readAsText:di,readAsDataURL:di,abort:di,readyState:di,result:di,error:di,onloadstart:di,onprogress:di,onload:di,onabort:di,onerror:di,onloadend:di,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Qs,{EMPTY:fl,LOADING:fl,DONE:fl});L2.exports={FileReader:Qs}});var fd=Re((ste,U2)=>{"use strict";U2.exports={kConstruct:lr().kConstruct}});var O2=Re((ote,M2)=>{"use strict";var GG=require("assert"),{URLSerializer:x2}=Cs(),{isValidHeaderName:YG}=rs();function JG(e,t,r=!1){let n=x2(e,r),i=x2(t,r);return n===i}function WG(e){GG(e!==null);let t=[];for(let r of e.split(",")){if(r=r.trim(),r.length){if(!YG(r))continue}else continue;t.push(r)}return t}M2.exports={urlEquals:JG,fieldValues:WG}});var Y2=Re((Ate,G2)=>{"use strict";var{kConstruct:jG}=fd(),{urlEquals:zG,fieldValues:cy}=O2(),{kEnumerableProperty:Da,isDisturbed:KG}=Nt(),{kHeadersList:P2}=lr(),{webidl:et}=jn(),{Response:V2,cloneResponse:XG}=Xg(),{Request:to}=rh(),{kState:Zn,kHeaders:gd,kGuard:q2,kRealm:$G}=Oo(),{fetching:ZG}=cd(),{urlIsHttpHttpsScheme:dd,createDeferredPromise:gl,readAllBytes:e9}=rs(),ly=require("assert"),{getGlobalDispatcher:t9}=il(),Ed=class e{#e;constructor(){arguments[0]!==jG&&et.illegalConstructor(),this.#e=arguments[1]}async match(t,r={}){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.match"}),t=et.converters.RequestInfo(t),r=et.converters.CacheQueryOptions(r);let n=await this.matchAll(t,r);if(n.length!==0)return n[0]}async matchAll(t=void 0,r={}){et.brandCheck(this,e),t!==void 0&&(t=et.converters.RequestInfo(t)),r=et.converters.CacheQueryOptions(r);let n=null;if(t!==void 0)if(t instanceof to){if(n=t[Zn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof t=="string"&&(n=new to(t)[Zn]);let i=[];if(t===void 0)for(let a of this.#e)i.push(a[1]);else{let a=this.#n(n,r);for(let c of a)i.push(c[1])}let s=[];for(let a of i){let c=new V2(a.body?.source??null),l=c[Zn].body;c[Zn]=a,c[Zn].body=l,c[gd][P2]=a.headersList,c[gd][q2]="immutable",s.push(c)}return Object.freeze(s)}async add(t){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.add"}),t=et.converters.RequestInfo(t);let r=[t];return await this.addAll(r)}async addAll(t){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.addAll"}),t=et.converters["sequence"](t);let r=[],n=[];for(let h of t){if(typeof h=="string")continue;let g=h[Zn];if(!dd(g.url)||g.method!=="GET")throw et.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}let i=[];for(let h of t){let g=new to(h)[Zn];if(!dd(g.url))throw et.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."});g.initiator="fetch",g.destination="subresource",n.push(g);let b=gl();i.push(ZG({request:g,dispatcher:t9(),processResponse(C){if(C.type==="error"||C.status===206||C.status<200||C.status>299)b.reject(et.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(C.headersList.contains("vary")){let p=cy(C.headersList.get("vary"));for(let Q of p)if(Q==="*"){b.reject(et.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let R of i)R.abort();return}}},processResponseEndOfBody(C){if(C.aborted){b.reject(new DOMException("aborted","AbortError"));return}b.resolve(C)}})),r.push(b.promise)}let a=await Promise.all(r),c=[],l=0;for(let h of a){let g={type:"put",request:n[l],response:h};c.push(g),l++}let A=gl(),f=null;try{this.#r(c)}catch(h){f=h}return queueMicrotask(()=>{f===null?A.resolve(void 0):A.reject(f)}),A.promise}async put(t,r){et.brandCheck(this,e),et.argumentLengthCheck(arguments,2,{header:"Cache.put"}),t=et.converters.RequestInfo(t),r=et.converters.Response(r);let n=null;if(t instanceof to?n=t[Zn]:n=new to(t)[Zn],!dd(n.url)||n.method!=="GET")throw et.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"});let i=r[Zn];if(i.status===206)throw et.errors.exception({header:"Cache.put",message:"Got 206 status"});if(i.headersList.contains("vary")){let g=cy(i.headersList.get("vary"));for(let b of g)if(b==="*")throw et.errors.exception({header:"Cache.put",message:"Got * vary field value"})}if(i.body&&(KG(i.body.stream)||i.body.stream.locked))throw et.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"});let s=XG(i),a=gl();if(i.body!=null){let b=i.body.stream.getReader();e9(b).then(a.resolve,a.reject)}else a.resolve(void 0);let c=[],l={type:"put",request:n,response:s};c.push(l);let A=await a.promise;s.body!=null&&(s.body.source=A);let f=gl(),h=null;try{this.#r(c)}catch(g){h=g}return queueMicrotask(()=>{h===null?f.resolve():f.reject(h)}),f.promise}async delete(t,r={}){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.delete"}),t=et.converters.RequestInfo(t),r=et.converters.CacheQueryOptions(r);let n=null;if(t instanceof to){if(n=t[Zn],n.method!=="GET"&&!r.ignoreMethod)return!1}else ly(typeof t=="string"),n=new to(t)[Zn];let i=[],s={type:"delete",request:n,options:r};i.push(s);let a=gl(),c=null,l;try{l=this.#r(i)}catch(A){c=A}return queueMicrotask(()=>{c===null?a.resolve(!!l?.length):a.reject(c)}),a.promise}async keys(t=void 0,r={}){et.brandCheck(this,e),t!==void 0&&(t=et.converters.RequestInfo(t)),r=et.converters.CacheQueryOptions(r);let n=null;if(t!==void 0)if(t instanceof to){if(n=t[Zn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof t=="string"&&(n=new to(t)[Zn]);let i=gl(),s=[];if(t===void 0)for(let a of this.#e)s.push(a[0]);else{let a=this.#n(n,r);for(let c of a)s.push(c[0])}return queueMicrotask(()=>{let a=[];for(let c of s){let l=new to("https://a");l[Zn]=c,l[gd][P2]=c.headersList,l[gd][q2]="immutable",l[$G]=c.client,a.push(l)}i.resolve(Object.freeze(a))}),i.promise}#r(t){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of t){if(a.type!=="delete"&&a.type!=="put")throw et.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#n(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);ly(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!dd(l.url))throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#n(a.request);for(let A of c){let f=r.indexOf(A);ly(f!==-1),r.splice(f,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#n(t,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#t(t,c,l,r)&&i.push(a)}return i}#t(t,r,n=null,i){let s=new URL(t.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!zG(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=cy(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),f=t.headersList.get(l);if(A!==f)return!1}return!0}};Object.defineProperties(Ed.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Da,matchAll:Da,add:Da,addAll:Da,put:Da,delete:Da,keys:Da});var H2=[{key:"ignoreSearch",converter:et.converters.boolean,defaultValue:!1},{key:"ignoreMethod",converter:et.converters.boolean,defaultValue:!1},{key:"ignoreVary",converter:et.converters.boolean,defaultValue:!1}];et.converters.CacheQueryOptions=et.dictionaryConverter(H2);et.converters.MultiCacheQueryOptions=et.dictionaryConverter([...H2,{key:"cacheName",converter:et.converters.DOMString}]);et.converters.Response=et.interfaceConverter(V2);et.converters["sequence"]=et.sequenceConverter(et.converters.RequestInfo);G2.exports={Cache:Ed}});var W2=Re((ate,J2)=>{"use strict";var{kConstruct:sh}=fd(),{Cache:pd}=Y2(),{webidl:ei}=jn(),{kEnumerableProperty:oh}=Nt(),Cd=class e{#e=new Map;constructor(){arguments[0]!==sh&&ei.illegalConstructor()}async match(t,r={}){if(ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"}),t=ei.converters.RequestInfo(t),r=ei.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new pd(sh,n).match(t,r)}}else for(let n of this.#e.values()){let s=await new pd(sh,n).match(t,r);if(s!==void 0)return s}}async has(t){return ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"}),t=ei.converters.DOMString(t),this.#e.has(t)}async open(t){if(ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"}),t=ei.converters.DOMString(t),this.#e.has(t)){let n=this.#e.get(t);return new pd(sh,n)}let r=[];return this.#e.set(t,r),new pd(sh,r)}async delete(t){return ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"}),t=ei.converters.DOMString(t),this.#e.delete(t)}async keys(){return ei.brandCheck(this,e),[...this.#e.keys()]}};Object.defineProperties(Cd.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:oh,has:oh,open:oh,delete:oh,keys:oh});J2.exports={CacheStorage:Cd}});var z2=Re((cte,j2)=>{"use strict";j2.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var uy=Re((lte,$2)=>{"use strict";var K2=require("assert"),{kHeadersList:X2}=lr();function r9(e){if(e.length===0)return!1;for(let t of e){let r=t.charCodeAt(0);if(r>=0||r<=8||r>=10||r<=31||r===127)return!1}}function n9(e){for(let t of e){let r=t.charCodeAt(0);if(r<=32||r>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}")throw new Error("Invalid cookie name")}}function i9(e){for(let t of e){let r=t.charCodeAt(0);if(r<33||r===34||r===44||r===59||r===92||r>126)throw new Error("Invalid header value")}}function s9(e){for(let t of e)if(t.charCodeAt(0)<33||t===";")throw new Error("Invalid cookie path")}function o9(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-"))throw new Error("Invalid cookie domain")}function A9(e){typeof e=="number"&&(e=new Date(e));let t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=t[e.getUTCDay()],i=e.getUTCDate().toString().padStart(2,"0"),s=r[e.getUTCMonth()],a=e.getUTCFullYear(),c=e.getUTCHours().toString().padStart(2,"0"),l=e.getUTCMinutes().toString().padStart(2,"0"),A=e.getUTCSeconds().toString().padStart(2,"0");return`${n}, ${i} ${s} ${a} ${c}:${l}:${A} GMT`}function a9(e){if(e<0)throw new Error("Invalid cookie max-age")}function c9(e){if(e.name.length===0)return null;n9(e.name),i9(e.value);let t=[`${e.name}=${e.value}`];e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&t.push("Secure"),e.httpOnly&&t.push("HttpOnly"),typeof e.maxAge=="number"&&(a9(e.maxAge),t.push(`Max-Age=${e.maxAge}`)),e.domain&&(o9(e.domain),t.push(`Domain=${e.domain}`)),e.path&&(s9(e.path),t.push(`Path=${e.path}`)),e.expires&&e.expires.toString()!=="Invalid Date"&&t.push(`Expires=${A9(e.expires)}`),e.sameSite&&t.push(`SameSite=${e.sameSite}`);for(let r of e.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("=");t.push(`${n.trim()}=${i.join("=")}`)}return t.join("; ")}var Id;function l9(e){if(e[X2])return e[X2];Id||(Id=Object.getOwnPropertySymbols(e).find(r=>r.description==="headers list"),K2(Id,"Headers cannot be parsed"));let t=e[Id];return K2(t),t}$2.exports={isCTLExcludingHtab:r9,stringify:c9,getHeadersList:l9}});var e_=Re((ute,Z2)=>{"use strict";var{maxNameValuePairSize:u9,maxAttributeValueSize:h9}=z2(),{isCTLExcludingHtab:f9}=uy(),{collectASequenceOfCodePointsFast:Bd}=Cs(),g9=require("assert");function d9(e){if(f9(e))return null;let t="",r="",n="",i="";if(e.includes(";")){let s={position:0};t=Bd(";",e,s),r=e.slice(s.position)}else t=e;if(!t.includes("="))i=t;else{let s={position:0};n=Bd("=",t,s),i=t.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>u9?null:{name:n,value:i,...dl(r)}}function dl(e,t={}){if(e.length===0)return t;g9(e[0]===";"),e=e.slice(1);let r="";e.includes(";")?(r=Bd(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let n="",i="";if(r.includes("=")){let a={position:0};n=Bd("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>h9)return dl(e,t);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);t.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return dl(e,t);let c=Number(i);t.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),t.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,t.path=a}else if(s==="secure")t.secure=!0;else if(s==="httponly")t.httpOnly=!0;else if(s==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),t.sameSite=a}else t.unparsed??=[],t.unparsed.push(`${n}=${i}`);return dl(e,t)}Z2.exports={parseSetCookie:d9,parseUnparsedAttributes:dl}});var i_=Re((hte,n_)=>{"use strict";var{parseSetCookie:E9}=e_(),{stringify:t_,getHeadersList:p9}=uy(),{webidl:Rt}=jn(),{Headers:yd}=Ra();function C9(e){Rt.argumentLengthCheck(arguments,1,{header:"getCookies"}),Rt.brandCheck(e,yd,{strict:!1});let t=e.get("cookie"),r={};if(!t)return r;for(let n of t.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}function I9(e,t,r){Rt.argumentLengthCheck(arguments,2,{header:"deleteCookie"}),Rt.brandCheck(e,yd,{strict:!1}),t=Rt.converters.DOMString(t),r=Rt.converters.DeleteCookieAttributes(r),r_(e,{name:t,value:"",expires:new Date(0),...r})}function B9(e){Rt.argumentLengthCheck(arguments,1,{header:"getSetCookies"}),Rt.brandCheck(e,yd,{strict:!1});let t=p9(e).cookies;return t?t.map(r=>E9(Array.isArray(r)?r[1]:r)):[]}function r_(e,t){Rt.argumentLengthCheck(arguments,2,{header:"setCookie"}),Rt.brandCheck(e,yd,{strict:!1}),t=Rt.converters.Cookie(t),t_(t)&&e.append("Set-Cookie",t_(t))}Rt.converters.DeleteCookieAttributes=Rt.dictionaryConverter([{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"path",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"domain",defaultValue:null}]);Rt.converters.Cookie=Rt.dictionaryConverter([{converter:Rt.converters.DOMString,key:"name"},{converter:Rt.converters.DOMString,key:"value"},{converter:Rt.nullableConverter(e=>typeof e=="number"?Rt.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters["long long"]),key:"maxAge",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"domain",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"path",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.boolean),key:"secure",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.boolean),key:"httpOnly",defaultValue:null},{converter:Rt.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Rt.sequenceConverter(Rt.converters.DOMString),key:"unparsed",defaultValue:[]}]);n_.exports={getCookies:C9,deleteCookie:I9,getSetCookies:B9,setCookie:r_}});var El=Re((fte,s_)=>{"use strict";var y9="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Q9={enumerable:!0,writable:!1,configurable:!1},m9={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},b9={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},w9=2**16-1,v9={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},S9=Buffer.allocUnsafe(0);s_.exports={uid:y9,staticPropertyDescriptors:Q9,states:m9,opcodes:b9,maxUnsigned16Bit:w9,parserStates:v9,emptyBuffer:S9}});var Ah=Re((gte,o_)=>{"use strict";o_.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var fy=Re((dte,A_)=>{"use strict";var{webidl:tt}=jn(),{kEnumerableProperty:Ei}=Nt(),{MessagePort:R9}=require("worker_threads"),Qd=class e extends Event{#e;constructor(t,r={}){tt.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"}),t=tt.converters.DOMString(t),r=tt.converters.MessageEventInit(r),super(t,r),this.#e=r}get data(){return tt.brandCheck(this,e),this.#e.data}get origin(){return tt.brandCheck(this,e),this.#e.origin}get lastEventId(){return tt.brandCheck(this,e),this.#e.lastEventId}get source(){return tt.brandCheck(this,e),this.#e.source}get ports(){return tt.brandCheck(this,e),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(t,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return tt.brandCheck(this,e),tt.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"}),new e(t,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}},md=class e extends Event{#e;constructor(t,r={}){tt.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"}),t=tt.converters.DOMString(t),r=tt.converters.CloseEventInit(r),super(t,r),this.#e=r}get wasClean(){return tt.brandCheck(this,e),this.#e.wasClean}get code(){return tt.brandCheck(this,e),this.#e.code}get reason(){return tt.brandCheck(this,e),this.#e.reason}},bd=class e extends Event{#e;constructor(t,r){tt.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"}),super(t,r),t=tt.converters.DOMString(t),r=tt.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return tt.brandCheck(this,e),this.#e.message}get filename(){return tt.brandCheck(this,e),this.#e.filename}get lineno(){return tt.brandCheck(this,e),this.#e.lineno}get colno(){return tt.brandCheck(this,e),this.#e.colno}get error(){return tt.brandCheck(this,e),this.#e.error}};Object.defineProperties(Qd.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Ei,origin:Ei,lastEventId:Ei,source:Ei,ports:Ei,initMessageEvent:Ei});Object.defineProperties(md.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Ei,code:Ei,wasClean:Ei});Object.defineProperties(bd.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Ei,filename:Ei,lineno:Ei,colno:Ei,error:Ei});tt.converters.MessagePort=tt.interfaceConverter(R9);tt.converters["sequence"]=tt.sequenceConverter(tt.converters.MessagePort);var hy=[{key:"bubbles",converter:tt.converters.boolean,defaultValue:!1},{key:"cancelable",converter:tt.converters.boolean,defaultValue:!1},{key:"composed",converter:tt.converters.boolean,defaultValue:!1}];tt.converters.MessageEventInit=tt.dictionaryConverter([...hy,{key:"data",converter:tt.converters.any,defaultValue:null},{key:"origin",converter:tt.converters.USVString,defaultValue:""},{key:"lastEventId",converter:tt.converters.DOMString,defaultValue:""},{key:"source",converter:tt.nullableConverter(tt.converters.MessagePort),defaultValue:null},{key:"ports",converter:tt.converters["sequence"],get defaultValue(){return[]}}]);tt.converters.CloseEventInit=tt.dictionaryConverter([...hy,{key:"wasClean",converter:tt.converters.boolean,defaultValue:!1},{key:"code",converter:tt.converters["unsigned short"],defaultValue:0},{key:"reason",converter:tt.converters.USVString,defaultValue:""}]);tt.converters.ErrorEventInit=tt.dictionaryConverter([...hy,{key:"message",converter:tt.converters.DOMString,defaultValue:""},{key:"filename",converter:tt.converters.USVString,defaultValue:""},{key:"lineno",converter:tt.converters["unsigned long"],defaultValue:0},{key:"colno",converter:tt.converters["unsigned long"],defaultValue:0},{key:"error",converter:tt.converters.any}]);A_.exports={MessageEvent:Qd,CloseEvent:md,ErrorEvent:bd}});var Sd=Re((Ete,l_)=>{"use strict";var{kReadyState:wd,kController:_9,kResponse:k9,kBinaryType:D9,kWebSocketURL:N9}=Ah(),{states:vd,opcodes:a_}=El(),{MessageEvent:T9,ErrorEvent:L9}=fy();function F9(e){return e[wd]===vd.OPEN}function U9(e){return e[wd]===vd.CLOSING}function x9(e){return e[wd]===vd.CLOSED}function gy(e,t,r=Event,n){let i=new r(e,n);t.dispatchEvent(i)}function M9(e,t,r){if(e[wd]!==vd.OPEN)return;let n;if(t===a_.TEXT)try{n=new TextDecoder("utf-8",{fatal:!0}).decode(r)}catch{c_(e,"Received invalid UTF-8 in text frame.");return}else t===a_.BINARY&&(e[D9]==="blob"?n=new Blob([r]):n=new Uint8Array(r).buffer);gy("message",e,T9,{origin:e[N9].origin,data:n})}function O9(e){if(e.length===0)return!1;for(let t of e){let r=t.charCodeAt(0);if(r<33||r>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||r===32||r===9)return!1}return!0}function P9(e){return e>=1e3&&e<1015?e!==1004&&e!==1005&&e!==1006:e>=3e3&&e<=4999}function c_(e,t){let{[_9]:r,[k9]:n}=e;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),t&&gy("error",e,L9,{error:new Error(t)})}l_.exports={isEstablished:F9,isClosing:U9,isClosed:x9,fireEvent:gy,isValidSubprotocol:O9,isValidStatusCode:P9,failWebsocketConnection:c_,websocketMessageReceived:M9}});var E_=Re((pte,d_)=>{"use strict";var Ey=require("diagnostics_channel"),{uid:q9,states:h_}=El(),{kReadyState:f_,kSentClose:u_,kByteParser:g_,kReceivedClose:V9}=Ah(),{fireEvent:H9,failWebsocketConnection:Na}=Sd(),{CloseEvent:G9}=fy(),{makeRequest:Y9}=rh(),{fetching:J9}=cd(),{Headers:W9}=Ra(),{getGlobalDispatcher:j9}=il(),{kHeadersList:z9}=lr(),Wo={};Wo.open=Ey.channel("undici:websocket:open");Wo.close=Ey.channel("undici:websocket:close");Wo.socketError=Ey.channel("undici:websocket:socket_error");var dy;try{dy=require("crypto")}catch{}function K9(e,t,r,n,i){let s=e;s.protocol=e.protocol==="ws:"?"http:":"https:";let a=Y9({urlList:[s],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let f=new W9(i.headers)[z9];a.headersList=f}let c=dy.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c),a.headersList.append("sec-websocket-version","13");for(let f of t)a.headersList.append("sec-websocket-protocol",f);let l="";return J9({request:a,useParallelQueue:!0,dispatcher:i.dispatcher??j9(),processResponse(f){if(f.type==="error"||f.status!==101){Na(r,"Received network error or non-101 status code.");return}if(t.length!==0&&!f.headersList.get("Sec-WebSocket-Protocol")){Na(r,"Server did not respond with sent protocols.");return}if(f.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Na(r,'Server did not set Upgrade header to "websocket".');return}if(f.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Na(r,'Server did not set Connection header to "upgrade".');return}let h=f.headersList.get("Sec-WebSocket-Accept"),g=dy.createHash("sha1").update(c+q9).digest("base64");if(h!==g){Na(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let b=f.headersList.get("Sec-WebSocket-Extensions");if(b!==null&&b!==l){Na(r,"Received different permessage-deflate than the one set.");return}let C=f.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&C!==a.headersList.get("Sec-WebSocket-Protocol")){Na(r,"Protocol was not set in the opening handshake.");return}f.socket.on("data",X9),f.socket.on("close",$9),f.socket.on("error",Z9),Wo.open.hasSubscribers&&Wo.open.publish({address:f.socket.address(),protocol:C,extensions:b}),n(f)}})}function X9(e){this.ws[g_].write(e)||this.pause()}function $9(){let{ws:e}=this,t=e[u_]&&e[V9],r=1005,n="",i=e[g_].closingInfo;i?(r=i.code??1005,n=i.reason):e[u_]||(r=1006),e[f_]=h_.CLOSED,H9("close",e,G9,{wasClean:t,code:r,reason:n}),Wo.close.hasSubscribers&&Wo.close.publish({websocket:e,code:r,reason:n})}function Z9(e){let{ws:t}=this;t[f_]=h_.CLOSING,Wo.socketError.hasSubscribers&&Wo.socketError.publish(e),this.destroy()}d_.exports={establishWebSocketConnection:K9}});var Cy=Re((Cte,C_)=>{"use strict";var{maxUnsigned16Bit:eY}=El(),p_;try{p_=require("crypto")}catch{}var py=class{constructor(t){this.frameData=t,this.maskKey=p_.randomBytes(4)}createFrame(t){let r=this.frameData?.byteLength??0,n=r,i=6;r>eY?(i+=8,n=127):r>125&&(i+=2,n=126);let s=Buffer.allocUnsafe(r+i);s[0]=s[1]=0,s[0]|=128,s[0]=(s[0]&240)+t;s[i-4]=this.maskKey[0],s[i-3]=this.maskKey[1],s[i-2]=this.maskKey[2],s[i-1]=this.maskKey[3],s[1]=n,n===126?s.writeUInt16BE(r,2):n===127&&(s[2]=s[3]=0,s.writeUIntBE(r,4,6)),s[1]|=128;for(let a=0;a{"use strict";var{Writable:tY}=require("stream"),b_=require("diagnostics_channel"),{parserStates:ss,opcodes:os,states:rY,emptyBuffer:nY}=El(),{kReadyState:iY,kSentClose:I_,kResponse:B_,kReceivedClose:y_}=Ah(),{isValidStatusCode:Q_,failWebsocketConnection:ah,websocketMessageReceived:sY}=Sd(),{WebsocketFrameSend:m_}=Cy(),pl={};pl.ping=b_.channel("undici:websocket:ping");pl.pong=b_.channel("undici:websocket:pong");var Iy=class extends tY{#e=[];#r=0;#n=ss.INFO;#t={};#i=[];constructor(t){super(),this.ws=t}_write(t,r,n){this.#e.push(t),this.#r+=t.length,this.run(n)}run(t){for(;;){if(this.#n===ss.INFO){if(this.#r<2)return t();let r=this.consume(2);if(this.#t.fin=(r[0]&128)!==0,this.#t.opcode=r[0]&15,this.#t.originalOpcode??=this.#t.opcode,this.#t.fragmented=!this.#t.fin&&this.#t.opcode!==os.CONTINUATION,this.#t.fragmented&&this.#t.opcode!==os.BINARY&&this.#t.opcode!==os.TEXT){ah(this.ws,"Invalid frame type was fragmented.");return}let n=r[1]&127;if(n<=125?(this.#t.payloadLength=n,this.#n=ss.READ_DATA):n===126?this.#n=ss.PAYLOADLENGTH_16:n===127&&(this.#n=ss.PAYLOADLENGTH_64),this.#t.fragmented&&n>125){ah(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#t.opcode===os.PING||this.#t.opcode===os.PONG||this.#t.opcode===os.CLOSE)&&n>125){ah(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#t.opcode===os.CLOSE){if(n===1){ah(this.ws,"Received close frame with a 1-byte body.");return}let i=this.consume(n);if(this.#t.closeInfo=this.parseCloseBody(!1,i),!this.ws[I_]){let s=Buffer.allocUnsafe(2);s.writeUInt16BE(this.#t.closeInfo.code,0);let a=new m_(s);this.ws[B_].socket.write(a.createFrame(os.CLOSE),c=>{c||(this.ws[I_]=!0)})}this.ws[iY]=rY.CLOSING,this.ws[y_]=!0,this.end();return}else if(this.#t.opcode===os.PING){let i=this.consume(n);if(!this.ws[y_]){let s=new m_(i);this.ws[B_].socket.write(s.createFrame(os.PONG)),pl.ping.hasSubscribers&&pl.ping.publish({payload:i})}if(this.#n=ss.INFO,this.#r>0)continue;t();return}else if(this.#t.opcode===os.PONG){let i=this.consume(n);if(pl.pong.hasSubscribers&&pl.pong.publish({payload:i}),this.#r>0)continue;t();return}}else if(this.#n===ss.PAYLOADLENGTH_16){if(this.#r<2)return t();let r=this.consume(2);this.#t.payloadLength=r.readUInt16BE(0),this.#n=ss.READ_DATA}else if(this.#n===ss.PAYLOADLENGTH_64){if(this.#r<8)return t();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){ah(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#t.payloadLength=(n<<8)+i,this.#n=ss.READ_DATA}else if(this.#n===ss.READ_DATA){if(this.#r=this.#t.payloadLength){let r=this.consume(this.#t.payloadLength);if(this.#i.push(r),!this.#t.fragmented||this.#t.fin&&this.#t.opcode===os.CONTINUATION){let n=Buffer.concat(this.#i);sY(this.ws,this.#t.originalOpcode,n),this.#t={},this.#i.length=0}this.#n=ss.INFO}}if(!(this.#r>0)){t();break}}}consume(t){if(t>this.#r)return null;if(t===0)return nY;if(this.#e[0].length===t)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(t),n=0;for(;n!==t;){let i=this.#e[0],{length:s}=i;if(s+n===t){r.set(this.#e.shift(),n);break}else if(s+n>t){r.set(i.subarray(0,t-n),n),this.#e[0]=i.subarray(t-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#r-=t,r}parseCloseBody(t,r){let n;if(r.length>=2&&(n=r.readUInt16BE(0)),t)return Q_(n)?{code:n}:null;let i=r.subarray(2);if(i[0]===239&&i[1]===187&&i[2]===191&&(i=i.subarray(3)),n!==void 0&&!Q_(n))return null;try{i=new TextDecoder("utf-8",{fatal:!0}).decode(i)}catch{return null}return{code:n,reason:i}}get closingInfo(){return this.#t.closeInfo}};w_.exports={ByteParser:Iy}});var L_=Re((Bte,T_)=>{"use strict";var{webidl:ct}=jn(),{DOMException:xA}=RA(),{URLSerializer:oY}=Cs(),{getGlobalOrigin:AY}=Fc(),{staticPropertyDescriptors:MA,states:Cl,opcodes:ch,emptyBuffer:aY}=El(),{kWebSocketURL:S_,kReadyState:jo,kController:cY,kBinaryType:Rd,kResponse:_d,kSentClose:lY,kByteParser:uY}=Ah(),{isEstablished:R_,isClosing:__,isValidSubprotocol:hY,failWebsocketConnection:fY,fireEvent:gY}=Sd(),{establishWebSocketConnection:dY}=E_(),{WebsocketFrameSend:lh}=Cy(),{ByteParser:EY}=v_(),{kEnumerableProperty:As,isBlobLike:D_}=Nt(),{getGlobalDispatcher:pY}=il(),{types:N_}=require("util"),k_=!1,Vi=class e extends EventTarget{#e={open:null,error:null,close:null,message:null};#r=0;#n="";#t="";constructor(t,r=[]){super(),ct.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"}),k_||(k_=!0,process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"}));let n=ct.converters["DOMString or sequence or WebSocketInit"](r);t=ct.converters.USVString(t),r=n.protocols;let i=AY(),s;try{s=new URL(t,i)}catch(a){throw new xA(a,"SyntaxError")}if(s.protocol==="http:"?s.protocol="ws:":s.protocol==="https:"&&(s.protocol="wss:"),s.protocol!=="ws:"&&s.protocol!=="wss:")throw new xA(`Expected a ws: or wss: protocol, got ${s.protocol}`,"SyntaxError");if(s.hash||s.href.endsWith("#"))throw new xA("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(a=>a.toLowerCase())).size)throw new xA("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(a=>hY(a)))throw new xA("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[S_]=new URL(s.href),this[cY]=dY(s,r,this,a=>this.#i(a),n),this[jo]=e.CONNECTING,this[Rd]="blob"}close(t=void 0,r=void 0){if(ct.brandCheck(this,e),t!==void 0&&(t=ct.converters["unsigned short"](t,{clamp:!0})),r!==void 0&&(r=ct.converters.USVString(r)),t!==void 0&&t!==1e3&&(t<3e3||t>4999))throw new xA("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new xA(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");if(!(this[jo]===e.CLOSING||this[jo]===e.CLOSED))if(!R_(this))fY(this,"Connection was closed before it was established."),this[jo]=e.CLOSING;else if(__(this))this[jo]=e.CLOSING;else{let i=new lh;t!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):t!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=aY,this[_d].socket.write(i.createFrame(ch.CLOSE),a=>{a||(this[lY]=!0)}),this[jo]=Cl.CLOSING}}send(t){if(ct.brandCheck(this,e),ct.argumentLengthCheck(arguments,1,{header:"WebSocket.send"}),t=ct.converters.WebSocketSendData(t),this[jo]===e.CONNECTING)throw new xA("Sent before connected.","InvalidStateError");if(!R_(this)||__(this))return;let r=this[_d].socket;if(typeof t=="string"){let n=Buffer.from(t),s=new lh(n).createFrame(ch.TEXT);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(N_.isArrayBuffer(t)){let n=Buffer.from(t),s=new lh(n).createFrame(ch.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(ArrayBuffer.isView(t)){let n=Buffer.from(t,t.byteOffset,t.byteLength),s=new lh(n).createFrame(ch.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(D_(t)){let n=new lh;t.arrayBuffer().then(i=>{let s=Buffer.from(i);n.frameData=s;let a=n.createFrame(ch.BINARY);this.#r+=s.byteLength,r.write(a,()=>{this.#r-=s.byteLength})})}}get readyState(){return ct.brandCheck(this,e),this[jo]}get bufferedAmount(){return ct.brandCheck(this,e),this.#r}get url(){return ct.brandCheck(this,e),oY(this[S_])}get extensions(){return ct.brandCheck(this,e),this.#t}get protocol(){return ct.brandCheck(this,e),this.#n}get onopen(){return ct.brandCheck(this,e),this.#e.open}set onopen(t){ct.brandCheck(this,e),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof t=="function"?(this.#e.open=t,this.addEventListener("open",t)):this.#e.open=null}get onerror(){return ct.brandCheck(this,e),this.#e.error}set onerror(t){ct.brandCheck(this,e),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof t=="function"?(this.#e.error=t,this.addEventListener("error",t)):this.#e.error=null}get onclose(){return ct.brandCheck(this,e),this.#e.close}set onclose(t){ct.brandCheck(this,e),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof t=="function"?(this.#e.close=t,this.addEventListener("close",t)):this.#e.close=null}get onmessage(){return ct.brandCheck(this,e),this.#e.message}set onmessage(t){ct.brandCheck(this,e),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof t=="function"?(this.#e.message=t,this.addEventListener("message",t)):this.#e.message=null}get binaryType(){return ct.brandCheck(this,e),this[Rd]}set binaryType(t){ct.brandCheck(this,e),t!=="blob"&&t!=="arraybuffer"?this[Rd]="blob":this[Rd]=t}#i(t){this[_d]=t;let r=new EY(this);r.on("drain",function(){this.ws[_d].socket.resume()}),t.socket.ws=this,this[uY]=r,this[jo]=Cl.OPEN;let n=t.headersList.get("sec-websocket-extensions");n!==null&&(this.#t=n);let i=t.headersList.get("sec-websocket-protocol");i!==null&&(this.#n=i),gY("open",this)}};Vi.CONNECTING=Vi.prototype.CONNECTING=Cl.CONNECTING;Vi.OPEN=Vi.prototype.OPEN=Cl.OPEN;Vi.CLOSING=Vi.prototype.CLOSING=Cl.CLOSING;Vi.CLOSED=Vi.prototype.CLOSED=Cl.CLOSED;Object.defineProperties(Vi.prototype,{CONNECTING:MA,OPEN:MA,CLOSING:MA,CLOSED:MA,url:As,readyState:As,bufferedAmount:As,onopen:As,onerror:As,onclose:As,close:As,onmessage:As,binaryType:As,send:As,extensions:As,protocol:As,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Vi,{CONNECTING:MA,OPEN:MA,CLOSING:MA,CLOSED:MA});ct.converters["sequence"]=ct.sequenceConverter(ct.converters.DOMString);ct.converters["DOMString or sequence"]=function(e){return ct.util.Type(e)==="Object"&&Symbol.iterator in e?ct.converters["sequence"](e):ct.converters.DOMString(e)};ct.converters.WebSocketInit=ct.dictionaryConverter([{key:"protocols",converter:ct.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return pY()}},{key:"headers",converter:ct.nullableConverter(ct.converters.HeadersInit)}]);ct.converters["DOMString or sequence or WebSocketInit"]=function(e){return ct.util.Type(e)==="Object"&&!(Symbol.iterator in e)?ct.converters.WebSocketInit(e):{protocols:ct.converters["DOMString or sequence"](e)}};ct.converters.WebSocketSendData=function(e){if(ct.util.Type(e)==="Object"){if(D_(e))return ct.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||N_.isAnyArrayBuffer(e))return ct.converters.BufferSource(e)}return ct.converters.USVString(e)};T_.exports={WebSocket:Vi}});var M_=Re((yte,dt)=>{"use strict";var CY=Hu(),F_=lg(),U_=Ar(),IY=zc(),BY=z1(),yY=Wu(),Ta=Nt(),{InvalidArgumentError:kd}=U_,Il=PS(),QY=Fu(),mY=_B(),bY=QR(),wY=NB(),vY=pB(),SY=RR(),RY=TR(),{getGlobalDispatcher:x_,setGlobalDispatcher:_Y}=il(),kY=OR(),DY=RI(),NY=gg(),By;try{require("crypto"),By=!0}catch{By=!1}Object.assign(F_.prototype,Il);dt.exports.Dispatcher=F_;dt.exports.Client=CY;dt.exports.Pool=IY;dt.exports.BalancedPool=BY;dt.exports.Agent=yY;dt.exports.ProxyAgent=SY;dt.exports.RetryHandler=RY;dt.exports.DecoratorHandler=kY;dt.exports.RedirectHandler=DY;dt.exports.createRedirectInterceptor=NY;dt.exports.buildConnector=QY;dt.exports.errors=U_;function uh(e){return(t,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!t||typeof t!="string"&&typeof t!="object"&&!(t instanceof URL))throw new kd("invalid url");if(r!=null&&typeof r!="object")throw new kd("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new kd("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),t=new URL(Ta.parseOrigin(t).origin+a)}else r||(r=typeof t=="object"?t:{}),t=Ta.parseURL(t);let{agent:i,dispatcher:s=x_()}=r;if(i)throw new kd("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}dt.exports.setGlobalDispatcher=_Y;dt.exports.getGlobalDispatcher=x_;if(Ta.nodeMajor>16||Ta.nodeMajor===16&&Ta.nodeMinor>=8){let e=null;dt.exports.fetch=async function(a){e||(e=cd().fetch);try{return await e(...arguments)}catch(c){throw typeof c=="object"&&Error.captureStackTrace(c,this),c}},dt.exports.Headers=Ra().Headers,dt.exports.Response=Xg().Response,dt.exports.Request=rh().Request,dt.exports.FormData=Ag().FormData,dt.exports.File=sg().File,dt.exports.FileReader=F2().FileReader;let{setGlobalOrigin:t,getGlobalOrigin:r}=Fc();dt.exports.setGlobalOrigin=t,dt.exports.getGlobalOrigin=r;let{CacheStorage:n}=W2(),{kConstruct:i}=fd();dt.exports.caches=new n(i)}if(Ta.nodeMajor>=16){let{deleteCookie:e,getCookies:t,getSetCookies:r,setCookie:n}=i_();dt.exports.deleteCookie=e,dt.exports.getCookies=t,dt.exports.getSetCookies=r,dt.exports.setCookie=n;let{parseMIMEType:i,serializeAMimeType:s}=Cs();dt.exports.parseMIMEType=i,dt.exports.serializeAMimeType=s}if(Ta.nodeMajor>=18&&By){let{WebSocket:e}=L_();dt.exports.WebSocket=e}dt.exports.request=uh(Il.request);dt.exports.stream=uh(Il.stream);dt.exports.pipeline=uh(Il.pipeline);dt.exports.connect=uh(Il.connect);dt.exports.upgrade=uh(Il.upgrade);dt.exports.MockClient=mY;dt.exports.MockPool=wY;dt.exports.MockAgent=bY;dt.exports.mockErrors=vY});var P_=Re(hr=>{"use strict";var TY=hr&&hr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),LY=hr&&hr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Fd=hr&&hr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&TY(t,e,r);return LY(t,e),t},jr=hr&&hr.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(hr,"__esModule",{value:!0});hr.HttpClient=hr.isHttps=hr.HttpClientResponse=hr.HttpClientError=hr.getProxyUrl=hr.MediaTypes=hr.Headers=hr.HttpCodes=void 0;var yy=Fd(require("http")),O_=Fd(require("https")),Qy=Fd(Zb()),Dd=Fd(sw()),FY=M_(),as;(function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"})(as||(hr.HttpCodes=as={}));var xn;(function(e){e.Accept="accept",e.ContentType="content-type"})(xn||(hr.Headers=xn={}));var zo;(function(e){e.ApplicationJson="application/json"})(zo||(hr.MediaTypes=zo={}));function UY(e){let t=Qy.getProxyUrl(new URL(e));return t?t.href:""}hr.getProxyUrl=UY;var xY=[as.MovedPermanently,as.ResourceMoved,as.SeeOther,as.TemporaryRedirect,as.PermanentRedirect],MY=[as.BadGateway,as.ServiceUnavailable,as.GatewayTimeout],OY=["OPTIONS","GET","DELETE","HEAD"],PY=10,qY=5,Td=class e extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,e.prototype)}};hr.HttpClientError=Td;var Ld=class{constructor(t){this.message=t}readBody(){return jr(this,void 0,void 0,function*(){return new Promise(t=>jr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}readBodyBuffer(){return jr(this,void 0,void 0,function*(){return new Promise(t=>jr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{t(Buffer.concat(r))})}))})}};hr.HttpClientResponse=Ld;function VY(e){return new URL(e).protocol==="https:"}hr.isHttps=VY;var my=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return jr(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return jr(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return jr(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return jr(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return jr(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return jr(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return jr(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return jr(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return jr(this,void 0,void 0,function*(){r[xn.Accept]=this._getExistingOrDefaultHeader(r,xn.Accept,zo.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return jr(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[xn.Accept]=this._getExistingOrDefaultHeader(n,xn.Accept,zo.ApplicationJson),n[xn.ContentType]=this._getExistingOrDefaultHeader(n,xn.ContentType,zo.ApplicationJson);let s=yield this.post(t,i,n);return this._processResponse(s,this.requestOptions)})}putJson(t,r,n={}){return jr(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[xn.Accept]=this._getExistingOrDefaultHeader(n,xn.Accept,zo.ApplicationJson),n[xn.ContentType]=this._getExistingOrDefaultHeader(n,xn.ContentType,zo.ApplicationJson);let s=yield this.put(t,i,n);return this._processResponse(s,this.requestOptions)})}patchJson(t,r,n={}){return jr(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[xn.Accept]=this._getExistingOrDefaultHeader(n,xn.Accept,zo.ApplicationJson),n[xn.ContentType]=this._getExistingOrDefaultHeader(n,xn.ContentType,zo.ApplicationJson);let s=yield this.patch(t,i,n);return this._processResponse(s,this.requestOptions)})}request(t,r,n,i){return jr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(t,s,i),c=this._allowRetries&&OY.includes(t)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===as.Unauthorized){let h;for(let g of this.handlers)if(g.canHandleAuthentication(A)){h=g;break}return h?h.handleAuthentication(this,a,n):A}let f=this._maxRedirects;for(;A.message.statusCode&&xY.includes(A.message.statusCode)&&this._allowRedirects&&f>0;){let h=A.message.headers.location;if(!h)break;let g=new URL(h);if(s.protocol==="https:"&&s.protocol!==g.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield A.readBody(),g.hostname!==s.hostname)for(let b in i)b.toLowerCase()==="authorization"&&delete i[b];a=this._prepareRequest(t,g,i),A=yield this.requestRaw(a,n),f--}if(!A.message.statusCode||!MY.includes(A.message.statusCode))return A;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,s)})})}requestRawWithCallback(t,r,n){typeof r=="string"&&(t.options.headers||(t.options.headers={}),t.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,A){i||(i=!0,n(l,A))}let a=t.httpModule.request(t.options,l=>{let A=new Ld(l);s(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${t.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}getAgentDispatcher(t){let r=new URL(t),n=Qy.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?O_:yy;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Nd(this.requestOptions.headers),Nd(t||{})):Nd(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=Nd(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=Qy.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=t.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||yy.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";s?l=A?Dd.httpsOverHttps:Dd.httpsOverHttp:l=A?Dd.httpOverHttps:Dd.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new O_.Agent(c):new yy.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(t,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=t.protocol==="https:";return n=new FY.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`${r.username}:${r.password}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_performExponentialBackoff(t){return jr(this,void 0,void 0,function*(){t=Math.min(PY,t);let r=qY*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return jr(this,void 0,void 0,function*(){return new Promise((n,i)=>jr(this,void 0,void 0,function*(){let s=t.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===as.NotFound&&n(a);function c(f,h){if(typeof h=="string"){let g=new Date(h);if(!isNaN(g.valueOf()))return g}return h}let l,A;try{A=yield t.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=t.message.headers}catch{}if(s>299){let f;l&&l.message?f=l.message:A&&A.length>0?f=A:f=`Failed request: (${s})`;let h=new Td(f,s);h.result=a.result,i(h)}else n(a)}))})}};hr.HttpClient=my;var Nd=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var q_=Re(ro=>{"use strict";var Sy=ro&&ro.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(ro,"__esModule",{value:!0});ro.PersonalAccessTokenCredentialHandler=ro.BearerCredentialHandler=ro.BasicCredentialHandler=void 0;var by=class{constructor(t,r){this.username=t,this.password=r}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return Sy(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ro.BasicCredentialHandler=by;var wy=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return Sy(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ro.BearerCredentialHandler=wy;var vy=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return Sy(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ro.PersonalAccessTokenCredentialHandler=vy});var G_=Re(Bl=>{"use strict";var V_=Bl&&Bl.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.OidcClient=void 0;var HY=P_(),GY=q_(),H_=_y(),Ry=class e{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new HY.HttpClient("actions/oidc-client",[new GY.BearerCredentialHandler(e.getRequestToken())],n)}static getRequestToken(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return t}static getIDTokenUrl(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return t}static getCall(t){var r;return V_(this,void 0,void 0,function*(){let s=(r=(yield e.createHttpClient().getJson(t).catch(a=>{throw new Error(`Failed to get ID Token. +`.trim())}};yR.exports=UB});var RR=Re((Yee,SR)=>{"use strict";var{kProxy:xV,kClose:MV,kDestroy:OV,kInterceptors:PV}=lr(),{URL:mR}=require("url"),bR=Wu(),qV=zc(),VV=Lu(),{InvalidArgumentError:$u,RequestAbortedError:HV}=Ar(),wR=Fu(),Ku=Symbol("proxy agent"),Yg=Symbol("proxy client"),Xu=Symbol("proxy headers"),xB=Symbol("request tls settings"),GV=Symbol("proxy tls settings"),vR=Symbol("connect endpoint function");function YV(e){return e==="https:"?443:80}function JV(e){if(typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new $u("Proxy opts.uri is mandatory");return{uri:e.uri,protocol:e.protocol||"https"}}function WV(e,t){return new qV(e,t)}var MB=class extends VV{constructor(t){if(super(t),this[xV]=JV(t),this[Ku]=new bR(t),this[PV]=t.interceptors&&t.interceptors.ProxyAgent&&Array.isArray(t.interceptors.ProxyAgent)?t.interceptors.ProxyAgent:[],typeof t=="string"&&(t={uri:t}),!t||!t.uri)throw new $u("Proxy opts.uri is mandatory");let{clientFactory:r=WV}=t;if(typeof r!="function")throw new $u("Proxy opts.clientFactory must be a function.");this[xB]=t.requestTls,this[GV]=t.proxyTls,this[Xu]=t.headers||{};let n=new mR(t.uri),{origin:i,port:s,host:a,username:c,password:l}=n;if(t.auth&&t.token)throw new $u("opts.auth cannot be used in combination with opts.token");t.auth?this[Xu]["proxy-authorization"]=`Basic ${t.auth}`:t.token?this[Xu]["proxy-authorization"]=t.token:c&&l&&(this[Xu]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(c)}:${decodeURIComponent(l)}`).toString("base64")}`);let A=wR({...t.proxyTls});this[vR]=wR({...t.requestTls}),this[Yg]=r(n,{connect:A}),this[Ku]=new bR({...t,connect:async(f,h)=>{let g=f.host;f.port||(g+=`:${YV(f.protocol)}`);try{let{socket:b,statusCode:C}=await this[Yg].connect({origin:i,port:s,path:g,signal:f.signal,headers:{...this[Xu],host:a}});if(C!==200&&(b.on("error",()=>{}).destroy(),h(new HV(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){h(null,b);return}let p;this[xB]?p=this[xB].servername:p=f.servername,this[vR]({...f,servername:p,httpSocket:b},h)}catch(b){h(b)}}})}dispatch(t,r){let{host:n}=new mR(t.origin),i=jV(t.headers);return zV(i),this[Ku].dispatch({...t,headers:{...i,host:n}},r)}async[MV](){await this[Ku].close(),await this[Yg].close()}async[OV](){await this[Ku].destroy(),await this[Yg].destroy()}};function jV(e){if(Array.isArray(e)){let t={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new $u("Proxy-Authorization should be sent in ProxyAgent constructor")}SR.exports=MB});var TR=Re((Jee,NR)=>{var Sa=require("assert"),{kRetryHandlerDefaultRetry:_R}=lr(),{RequestRetryError:Jg}=Ar(),{isDisturbed:kR,parseHeaders:KV,parseRangeHeader:DR}=Nt();function XV(e){let t=Date.now();return new Date(e).getTime()-t}var OB=class e{constructor(t,r){let{retryOptions:n,...i}=t,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:f,errorCodes:h,retryAfter:g,statusCodes:b}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts=i,this.abort=null,this.aborted=!1,this.retryOpts={retry:s??e[_R],retryAfter:g??!0,maxTimeout:c??30*1e3,timeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:f??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:b??[500,502,503,504,429],errorCodes:h??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]},this.retryCount=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(C=>{this.aborted=!0,this.abort?this.abort(C):this.reason=C})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(t,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(t,r,n)}onConnect(t){this.aborted?t(this.reason):this.abort=t}onBodySent(t){if(this.handler.onBodySent)return this.handler.onBodySent(t)}static[_R](t,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=t,{method:l,retryOptions:A}=n,{maxRetries:f,timeout:h,maxTimeout:g,timeoutFactor:b,statusCodes:C,errorCodes:p,methods:Q}=A,{counter:R,currentTimeout:_}=r;if(_=_!=null&&_>0?_:h,a&&a!=="UND_ERR_REQ_RETRY"&&a!=="UND_ERR_SOCKET"&&!p.includes(a)){i(t);return}if(Array.isArray(Q)&&!Q.includes(l)){i(t);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){i(t);return}if(R>f){i(t);return}let d=c!=null&&c["retry-after"];d&&(d=Number(d),d=isNaN(d)?XV(d):d*1e3);let S=d>0?Math.min(d,g):Math.min(_*b**R,g);r.currentTimeout=S,setTimeout(()=>i(null),S)}onHeaders(t,r,n,i){let s=KV(r);if(this.retryCount+=1,t>=300)return this.abort(new Jg("Request failed",t,{headers:s,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,t!==206)return!0;let c=DR(s["content-range"]);if(!c)return this.abort(new Jg("Content-Range mismatch",t,{headers:s,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Jg("ETag mismatch",t,{headers:s,count:this.retryCount})),!1;let{start:l,size:A,end:f=A}=c;return Sa(this.start===l,"content-range mismatch"),Sa(this.end==null||this.end===f,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(t===206){let c=DR(s["content-range"]);if(c==null)return this.handler.onHeaders(t,r,n,i);let{start:l,size:A,end:f=A}=c;Sa(l!=null&&Number.isFinite(l)&&this.start!==l,"content-range mismatch"),Sa(Number.isFinite(l)),Sa(f!=null&&Number.isFinite(f)&&this.end!==f,"invalid content-length"),this.start=l,this.end=f}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c):null}return Sa(Number.isFinite(this.start)),Sa(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.handler.onHeaders(t,r,n,i)}let a=new Jg("Request failed",t,{headers:s,count:this.retryCount});return this.abort(a),!1}onData(t){return this.start+=t.length,this.handler.onData(t)}onComplete(t){return this.retryCount=0,this.handler.onComplete(t)}onError(t){if(this.aborted||kR(this.opts.body))return this.handler.onError(t);this.retryOpts.retry(t,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||kR(this.opts.body))return this.handler.onError(n);this.start!==0&&(this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}});try{this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}};NR.exports=OB});var il=Re((Wee,xR)=>{"use strict";var LR=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:$V}=Ar(),ZV=Wu();UR()===void 0&&FR(new ZV);function FR(e){if(!e||typeof e.dispatch!="function")throw new $V("Argument agent must implement Agent");Object.defineProperty(globalThis,LR,{value:e,writable:!0,enumerable:!1,configurable:!1})}function UR(){return globalThis[LR]}xR.exports={setGlobalDispatcher:FR,getGlobalDispatcher:UR}});var OR=Re((zee,MR)=>{"use strict";MR.exports=class{constructor(t){this.handler=t}onConnect(...t){return this.handler.onConnect(...t)}onError(...t){return this.handler.onError(...t)}onUpgrade(...t){return this.handler.onUpgrade(...t)}onHeaders(...t){return this.handler.onHeaders(...t)}onData(...t){return this.handler.onData(...t)}onComplete(...t){return this.handler.onComplete(...t)}onBodySent(...t){return this.handler.onBodySent(...t)}}});var Ra=Re((Kee,GR)=>{"use strict";var{kHeadersList:gi,kConstruct:eH}=lr(),{kGuard:Zs}=Oo(),{kEnumerableProperty:$s}=Nt(),{makeIterator:sl,isValidHeaderName:Zu,isValidHeaderValue:qR}=rs(),{webidl:yt}=jn(),tH=require("assert"),fi=Symbol("headers map"),mn=Symbol("headers map sorted");function PR(e){return e===10||e===13||e===9||e===32}function VR(e){let t=0,r=e.length;for(;r>t&&PR(e.charCodeAt(r-1));)--r;for(;r>t&&PR(e.charCodeAt(t));)++t;return t===0&&r===e.length?e:e.substring(t,r)}function HR(e,t){if(Array.isArray(t))for(let r=0;r>","record"]})}function PB(e,t,r){if(r=VR(r),Zu(t)){if(!qR(r))throw yt.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw yt.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if(e[Zs]==="immutable")throw new TypeError("immutable");return e[Zs],e[gi].append(t,r)}var Wg=class e{cookies=null;constructor(t){t instanceof e?(this[fi]=new Map(t[fi]),this[mn]=t[mn],this.cookies=t.cookies===null?null:[...t.cookies]):(this[fi]=new Map(t),this[mn]=null)}contains(t){return t=t.toLowerCase(),this[fi].has(t)}clear(){this[fi].clear(),this[mn]=null,this.cookies=null}append(t,r){this[mn]=null;let n=t.toLowerCase(),i=this[fi].get(n);if(i){let s=n==="cookie"?"; ":", ";this[fi].set(n,{name:i.name,value:`${i.value}${s}${r}`})}else this[fi].set(n,{name:t,value:r});n==="set-cookie"&&(this.cookies??=[],this.cookies.push(r))}set(t,r){this[mn]=null;let n=t.toLowerCase();n==="set-cookie"&&(this.cookies=[r]),this[fi].set(n,{name:t,value:r})}delete(t){this[mn]=null,t=t.toLowerCase(),t==="set-cookie"&&(this.cookies=null),this[fi].delete(t)}get(t){let r=this[fi].get(t.toLowerCase());return r===void 0?null:r.value}*[Symbol.iterator](){for(let[t,{value:r}]of this[fi])yield[t,r]}get entries(){let t={};if(this[fi].size)for(let{name:r,value:n}of this[fi].values())t[r]=n;return t}},ol=class e{constructor(t=void 0){t!==eH&&(this[gi]=new Wg,this[Zs]="none",t!==void 0&&(t=yt.converters.HeadersInit(t),HR(this,t)))}append(t,r){return yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,2,{header:"Headers.append"}),t=yt.converters.ByteString(t),r=yt.converters.ByteString(r),PB(this,t,r)}delete(t){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.delete"}),t=yt.converters.ByteString(t),!Zu(t))throw yt.errors.invalidArgument({prefix:"Headers.delete",value:t,type:"header name"});if(this[Zs]==="immutable")throw new TypeError("immutable");this[Zs],this[gi].contains(t)&&this[gi].delete(t)}get(t){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.get"}),t=yt.converters.ByteString(t),!Zu(t))throw yt.errors.invalidArgument({prefix:"Headers.get",value:t,type:"header name"});return this[gi].get(t)}has(t){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.has"}),t=yt.converters.ByteString(t),!Zu(t))throw yt.errors.invalidArgument({prefix:"Headers.has",value:t,type:"header name"});return this[gi].contains(t)}set(t,r){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,2,{header:"Headers.set"}),t=yt.converters.ByteString(t),r=yt.converters.ByteString(r),r=VR(r),Zu(t)){if(!qR(r))throw yt.errors.invalidArgument({prefix:"Headers.set",value:r,type:"header value"})}else throw yt.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header name"});if(this[Zs]==="immutable")throw new TypeError("immutable");this[Zs],this[gi].set(t,r)}getSetCookie(){yt.brandCheck(this,e);let t=this[gi].cookies;return t?[...t]:[]}get[mn](){if(this[gi][mn])return this[gi][mn];let t=[],r=[...this[gi]].sort((i,s)=>i[0]t,"Headers","key")}return sl(()=>[...this[mn].values()],"Headers","key")}values(){if(yt.brandCheck(this,e),this[Zs]==="immutable"){let t=this[mn];return sl(()=>t,"Headers","value")}return sl(()=>[...this[mn].values()],"Headers","value")}entries(){if(yt.brandCheck(this,e),this[Zs]==="immutable"){let t=this[mn];return sl(()=>t,"Headers","key+value")}return sl(()=>[...this[mn].values()],"Headers","key+value")}forEach(t,r=globalThis){if(yt.brandCheck(this,e),yt.argumentLengthCheck(arguments,1,{header:"Headers.forEach"}),typeof t!="function")throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");for(let[n,i]of this)t.apply(r,[i,n,this])}[Symbol.for("nodejs.util.inspect.custom")](){return yt.brandCheck(this,e),this[gi]}};ol.prototype[Symbol.iterator]=ol.prototype.entries;Object.defineProperties(ol.prototype,{append:$s,delete:$s,get:$s,has:$s,set:$s,getSetCookie:$s,keys:$s,values:$s,entries:$s,forEach:$s,[Symbol.iterator]:{enumerable:!1},[Symbol.toStringTag]:{value:"Headers",configurable:!0}});yt.converters.HeadersInit=function(e){if(yt.util.Type(e)==="Object")return e[Symbol.iterator]?yt.converters["sequence>"](e):yt.converters["record"](e);throw yt.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};GR.exports={fill:HR,Headers:ol,HeadersList:Wg}});var Xg=Re((Xee,$R)=>{"use strict";var{Headers:rH,HeadersList:YR,fill:nH}=Ra(),{extractBody:JR,cloneBody:iH,mixinBody:sH}=Du(),HB=Nt(),{kEnumerableProperty:Oi}=HB,{isValidReasonPhrase:oH,isCancelled:AH,isAborted:aH,isBlobLike:cH,serializeJavascriptValueToJSONString:lH,isErrorLike:uH,isomorphicEncode:hH}=rs(),{redirectStatusSet:fH,nullBodyStatus:gH,DOMException:WR}=RA(),{kState:Rr,kHeaders:hn,kGuard:Al,kRealm:Mi}=Oo(),{webidl:pt}=jn(),{FormData:dH}=Ag(),{getGlobalOrigin:EH}=Fc(),{URLSerializer:jR}=Cs(),{kHeadersList:qB,kConstruct:pH}=lr(),GB=require("assert"),{types:VB}=require("util"),KR=globalThis.ReadableStream||require("stream/web").ReadableStream,CH=new TextEncoder("utf-8"),al=class e{static error(){let t={settingsObject:{}},r=new e;return r[Rr]=zg(),r[Mi]=t,r[hn][qB]=r[Rr].headersList,r[hn][Al]="immutable",r[hn][Mi]=t,r}static json(t,r={}){pt.argumentLengthCheck(arguments,1,{header:"Response.json"}),r!==null&&(r=pt.converters.ResponseInit(r));let n=CH.encode(lH(t)),i=JR(n),s={settingsObject:{}},a=new e;return a[Mi]=s,a[hn][Al]="response",a[hn][Mi]=s,zR(a,r,{body:i[0],type:"application/json"}),a}static redirect(t,r=302){let n={settingsObject:{}};pt.argumentLengthCheck(arguments,1,{header:"Response.redirect"}),t=pt.converters.USVString(t),r=pt.converters["unsigned short"](r);let i;try{i=new URL(t,EH())}catch(c){throw Object.assign(new TypeError("Failed to parse URL from "+t),{cause:c})}if(!fH.has(r))throw new RangeError("Invalid status code "+r);let s=new e;s[Mi]=n,s[hn][Al]="immutable",s[hn][Mi]=n,s[Rr].status=r;let a=hH(jR(i));return s[Rr].headersList.append("location",a),s}constructor(t=null,r={}){t!==null&&(t=pt.converters.BodyInit(t)),r=pt.converters.ResponseInit(r),this[Mi]={settingsObject:{}},this[Rr]=Kg({}),this[hn]=new rH(pH),this[hn][Al]="response",this[hn][qB]=this[Rr].headersList,this[hn][Mi]=this[Mi];let n=null;if(t!=null){let[i,s]=JR(t);n={body:i,type:s}}zR(this,r,n)}get type(){return pt.brandCheck(this,e),this[Rr].type}get url(){pt.brandCheck(this,e);let t=this[Rr].urlList,r=t[t.length-1]??null;return r===null?"":jR(r,!0)}get redirected(){return pt.brandCheck(this,e),this[Rr].urlList.length>1}get status(){return pt.brandCheck(this,e),this[Rr].status}get ok(){return pt.brandCheck(this,e),this[Rr].status>=200&&this[Rr].status<=299}get statusText(){return pt.brandCheck(this,e),this[Rr].statusText}get headers(){return pt.brandCheck(this,e),this[hn]}get body(){return pt.brandCheck(this,e),this[Rr].body?this[Rr].body.stream:null}get bodyUsed(){return pt.brandCheck(this,e),!!this[Rr].body&&HB.isDisturbed(this[Rr].body.stream)}clone(){if(pt.brandCheck(this,e),this.bodyUsed||this.body&&this.body.locked)throw pt.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let t=YB(this[Rr]),r=new e;return r[Rr]=t,r[Mi]=this[Mi],r[hn][qB]=t.headersList,r[hn][Al]=this[hn][Al],r[hn][Mi]=this[hn][Mi],r}};sH(al);Object.defineProperties(al.prototype,{type:Oi,url:Oi,status:Oi,ok:Oi,redirected:Oi,statusText:Oi,headers:Oi,clone:Oi,body:Oi,bodyUsed:Oi,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(al,{json:Oi,redirect:Oi,error:Oi});function YB(e){if(e.internalResponse)return XR(YB(e.internalResponse),e.type);let t=Kg({...e,body:null});return e.body!=null&&(t.body=iH(e.body)),t}function Kg(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new YR(e.headersList):new YR,urlList:e.urlList?[...e.urlList]:[]}}function zg(e){let t=uH(e);return Kg({type:"error",status:0,error:t?e:new Error(e&&String(e)),aborted:e&&e.name==="AbortError"})}function jg(e,t){return t={internalResponse:e,...t},new Proxy(e,{get(r,n){return n in t?t[n]:r[n]},set(r,n,i){return GB(!(n in t)),r[n]=i,!0}})}function XR(e,t){if(t==="basic")return jg(e,{type:"basic",headersList:e.headersList});if(t==="cors")return jg(e,{type:"cors",headersList:e.headersList});if(t==="opaque")return jg(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(t==="opaqueredirect")return jg(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});GB(!1)}function IH(e,t=null){return GB(AH(e)),aH(e)?zg(Object.assign(new WR("The operation was aborted.","AbortError"),{cause:t})):zg(Object.assign(new WR("Request was cancelled."),{cause:t}))}function zR(e,t,r){if(t.status!==null&&(t.status<200||t.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&t.statusText!=null&&!oH(String(t.statusText)))throw new TypeError("Invalid statusText");if("status"in t&&t.status!=null&&(e[Rr].status=t.status),"statusText"in t&&t.statusText!=null&&(e[Rr].statusText=t.statusText),"headers"in t&&t.headers!=null&&nH(e[hn],t.headers),r){if(gH.includes(e.status))throw pt.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status});e[Rr].body=r.body,r.type!=null&&!e[Rr].headersList.contains("Content-Type")&&e[Rr].headersList.append("content-type",r.type)}}pt.converters.ReadableStream=pt.interfaceConverter(KR);pt.converters.FormData=pt.interfaceConverter(dH);pt.converters.URLSearchParams=pt.interfaceConverter(URLSearchParams);pt.converters.XMLHttpRequestBodyInit=function(e){return typeof e=="string"?pt.converters.USVString(e):cH(e)?pt.converters.Blob(e,{strict:!1}):VB.isArrayBuffer(e)||VB.isTypedArray(e)||VB.isDataView(e)?pt.converters.BufferSource(e):HB.isFormDataLike(e)?pt.converters.FormData(e,{strict:!1}):e instanceof URLSearchParams?pt.converters.URLSearchParams(e):pt.converters.DOMString(e)};pt.converters.BodyInit=function(e){return e instanceof KR?pt.converters.ReadableStream(e):e?.[Symbol.asyncIterator]?e:pt.converters.XMLHttpRequestBodyInit(e)};pt.converters.ResponseInit=pt.dictionaryConverter([{key:"status",converter:pt.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:pt.converters.ByteString,defaultValue:""},{key:"headers",converter:pt.converters.HeadersInit}]);$R.exports={makeNetworkError:zg,makeResponse:Kg,makeAppropriateNetworkError:IH,filterResponse:XR,Response:al,cloneResponse:YB}});var rh=Re(($ee,i2)=>{"use strict";var{extractBody:BH,mixinBody:yH,cloneBody:QH}=Du(),{Headers:ZR,fill:mH,HeadersList:td}=Ra(),{FinalizationRegistry:bH}=tB()(),th=Nt(),{isValidHTTPToken:wH,sameOrigin:e2,normalizeMethod:vH,makePolicyContainer:SH,normalizeMethodRecord:RH}=rs(),{forbiddenMethodsSet:_H,corsSafeListedMethodsSet:kH,referrerPolicy:DH,requestRedirect:NH,requestMode:TH,requestCredentials:LH,requestCache:FH,requestDuplex:UH}=RA(),{kEnumerableProperty:Zr}=th,{kHeaders:Un,kSignal:eh,kState:yr,kGuard:$g,kRealm:Pi}=Oo(),{webidl:At}=jn(),{getGlobalOrigin:xH}=Fc(),{URLSerializer:MH}=Cs(),{kHeadersList:Zg,kConstruct:ed}=lr(),OH=require("assert"),{getMaxListeners:t2,setMaxListeners:r2,getEventListeners:PH,defaultMaxListeners:n2}=require("events"),JB=globalThis.TransformStream,qH=Symbol("abortController"),VH=new bH(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),_a=class e{constructor(t,r={}){if(t===ed)return;At.argumentLengthCheck(arguments,1,{header:"Request constructor"}),t=At.converters.RequestInfo(t),r=At.converters.RequestInit(r),this[Pi]={settingsObject:{baseUrl:xH(),get origin(){return this.baseUrl?.origin},policyContainer:SH()}};let n=null,i=null,s=this[Pi].settingsObject.baseUrl,a=null;if(typeof t=="string"){let Q;try{Q=new URL(t,s)}catch(R){throw new TypeError("Failed to parse URL from "+t,{cause:R})}if(Q.username||Q.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+t);n=rd({urlList:[Q]}),i="cors"}else OH(t instanceof e),n=t[yr],a=t[eh];let c=this[Pi].settingsObject.origin,l="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&e2(n.window,c)&&(l=n.window),r.window!=null)throw new TypeError(`'window' option '${l}' must be null`);"window"in r&&(l="no-window"),n=rd({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:this[Pi].settingsObject,window:l,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let A=Object.keys(r).length!==0;if(A&&(n.mode==="navigate"&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),r.referrer!==void 0){let Q=r.referrer;if(Q==="")n.referrer="no-referrer";else{let R;try{R=new URL(Q,s)}catch(_){throw new TypeError(`Referrer "${Q}" is not a valid URL.`,{cause:_})}R.protocol==="about:"&&R.hostname==="client"||c&&!e2(R,this[Pi].settingsObject.baseUrl)?n.referrer="client":n.referrer=R}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let f;if(r.mode!==void 0?f=r.mode:f=i,f==="navigate")throw At.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(f!=null&&(n.mode=f),r.credentials!==void 0&&(n.credentials=r.credentials),r.cache!==void 0&&(n.cache=r.cache),n.cache==="only-if-cached"&&n.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(n.redirect=r.redirect),r.integrity!=null&&(n.integrity=String(r.integrity)),r.keepalive!==void 0&&(n.keepalive=!!r.keepalive),r.method!==void 0){let Q=r.method;if(!wH(Q))throw new TypeError(`'${Q}' is not a valid HTTP method.`);if(_H.has(Q.toUpperCase()))throw new TypeError(`'${Q}' HTTP method is unsupported.`);Q=RH[Q]??vH(Q),n.method=Q}r.signal!==void 0&&(a=r.signal),this[yr]=n;let h=new AbortController;if(this[eh]=h.signal,this[eh][Pi]=this[Pi],a!=null){if(!a||typeof a.aborted!="boolean"||typeof a.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(a.aborted)h.abort(a.reason);else{this[qH]=h;let Q=new WeakRef(h),R=function(){let _=Q.deref();_!==void 0&&_.abort(this.reason)};try{(typeof t2=="function"&&t2(a)===n2||PH(a,"abort").length>=n2)&&r2(100,a)}catch{}th.addAbortListener(a,R),VH.register(h,{signal:a,abort:R})}}if(this[Un]=new ZR(ed),this[Un][Zg]=n.headersList,this[Un][$g]="request",this[Un][Pi]=this[Pi],f==="no-cors"){if(!kH.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);this[Un][$g]="request-no-cors"}if(A){let Q=this[Un][Zg],R=r.headers!==void 0?r.headers:new td(Q);if(Q.clear(),R instanceof td){for(let[_,d]of R)Q.append(_,d);Q.cookies=R.cookies}else mH(this[Un],R)}let g=t instanceof e?t[yr].body:null;if((r.body!=null||g!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let b=null;if(r.body!=null){let[Q,R]=BH(r.body,n.keepalive);b=Q,R&&!this[Un][Zg].contains("content-type")&&this[Un].append("content-type",R)}let C=b??g;if(C!=null&&C.source==null){if(b!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(n.mode!=="same-origin"&&n.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let p=C;if(b==null&&g!=null){if(th.isDisturbed(g.stream)||g.stream.locked)throw new TypeError("Cannot construct a Request with a Request object that has already been used.");JB||(JB=require("stream/web").TransformStream);let Q=new JB;g.stream.pipeThrough(Q),p={source:g.source,length:g.length,stream:Q.readable}}this[yr].body=p}get method(){return At.brandCheck(this,e),this[yr].method}get url(){return At.brandCheck(this,e),MH(this[yr].url)}get headers(){return At.brandCheck(this,e),this[Un]}get destination(){return At.brandCheck(this,e),this[yr].destination}get referrer(){return At.brandCheck(this,e),this[yr].referrer==="no-referrer"?"":this[yr].referrer==="client"?"about:client":this[yr].referrer.toString()}get referrerPolicy(){return At.brandCheck(this,e),this[yr].referrerPolicy}get mode(){return At.brandCheck(this,e),this[yr].mode}get credentials(){return this[yr].credentials}get cache(){return At.brandCheck(this,e),this[yr].cache}get redirect(){return At.brandCheck(this,e),this[yr].redirect}get integrity(){return At.brandCheck(this,e),this[yr].integrity}get keepalive(){return At.brandCheck(this,e),this[yr].keepalive}get isReloadNavigation(){return At.brandCheck(this,e),this[yr].reloadNavigation}get isHistoryNavigation(){return At.brandCheck(this,e),this[yr].historyNavigation}get signal(){return At.brandCheck(this,e),this[eh]}get body(){return At.brandCheck(this,e),this[yr].body?this[yr].body.stream:null}get bodyUsed(){return At.brandCheck(this,e),!!this[yr].body&&th.isDisturbed(this[yr].body.stream)}get duplex(){return At.brandCheck(this,e),"half"}clone(){if(At.brandCheck(this,e),this.bodyUsed||this.body?.locked)throw new TypeError("unusable");let t=HH(this[yr]),r=new e(ed);r[yr]=t,r[Pi]=this[Pi],r[Un]=new ZR(ed),r[Un][Zg]=t.headersList,r[Un][$g]=this[Un][$g],r[Un][Pi]=this[Un][Pi];let n=new AbortController;return this.signal.aborted?n.abort(this.signal.reason):th.addAbortListener(this.signal,()=>{n.abort(this.signal.reason)}),r[eh]=n.signal,r}};yH(_a);function rd(e){let t={method:"GET",localURLsOnly:!1,unsafeRequest:!1,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:!1,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:!1,credentials:"same-origin",useCredentials:!1,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:!1,historyNavigation:!1,userActivation:!1,taintedOrigin:!1,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:!1,done:!1,timingAllowFailed:!1,...e,headersList:e.headersList?new td(e.headersList):new td};return t.url=t.urlList[0],t}function HH(e){let t=rd({...e,body:null});return e.body!=null&&(t.body=QH(e.body)),t}Object.defineProperties(_a.prototype,{method:Zr,url:Zr,headers:Zr,redirect:Zr,clone:Zr,signal:Zr,duplex:Zr,destination:Zr,body:Zr,bodyUsed:Zr,isHistoryNavigation:Zr,isReloadNavigation:Zr,keepalive:Zr,integrity:Zr,cache:Zr,credentials:Zr,attribute:Zr,referrerPolicy:Zr,referrer:Zr,mode:Zr,[Symbol.toStringTag]:{value:"Request",configurable:!0}});At.converters.Request=At.interfaceConverter(_a);At.converters.RequestInfo=function(e){return typeof e=="string"?At.converters.USVString(e):e instanceof _a?At.converters.Request(e):At.converters.USVString(e)};At.converters.AbortSignal=At.interfaceConverter(AbortSignal);At.converters.RequestInit=At.dictionaryConverter([{key:"method",converter:At.converters.ByteString},{key:"headers",converter:At.converters.HeadersInit},{key:"body",converter:At.nullableConverter(At.converters.BodyInit)},{key:"referrer",converter:At.converters.USVString},{key:"referrerPolicy",converter:At.converters.DOMString,allowedValues:DH},{key:"mode",converter:At.converters.DOMString,allowedValues:TH},{key:"credentials",converter:At.converters.DOMString,allowedValues:LH},{key:"cache",converter:At.converters.DOMString,allowedValues:FH},{key:"redirect",converter:At.converters.DOMString,allowedValues:NH},{key:"integrity",converter:At.converters.DOMString},{key:"keepalive",converter:At.converters.boolean},{key:"signal",converter:At.nullableConverter(e=>At.converters.AbortSignal(e,{strict:!1}))},{key:"window",converter:At.converters.any},{key:"duplex",converter:At.converters.DOMString,allowedValues:UH}]);i2.exports={Request:_a,makeRequest:rd}});var cd=Re((Zee,C2)=>{"use strict";var{Response:GH,makeNetworkError:ar,makeAppropriateNetworkError:nd,filterResponse:WB,makeResponse:id}=Xg(),{Headers:s2}=Ra(),{Request:YH,makeRequest:JH}=rh(),nh=require("zlib"),{bytesMatch:WH,makePolicyContainer:jH,clonePolicyContainer:zH,requestBadPort:KH,TAOCheck:XH,appendRequestOriginHeader:$H,responseLocationURL:ZH,requestCurrentURL:eo,setRequestReferrerPolicyOnRedirect:eG,tryUpgradeRequestToAPotentiallyTrustworthyURL:tG,createOpaqueTimingInfo:ry,appendFetchMetadata:rG,corsCheck:nG,crossOriginResourcePolicyCheck:iG,determineRequestsReferrer:sG,coarsenedSharedCurrentTime:ny,createDeferredPromise:oG,isBlobLike:AG,sameOrigin:ZB,isCancelled:ll,isAborted:o2,isErrorLike:aG,fullyReadBody:l2,readableStreamClose:cG,isomorphicEncode:ey,urlIsLocal:lG,urlIsHttpHttpsScheme:iy,urlHasHttpsScheme:uG}=rs(),{kState:ty,kHeaders:jB,kGuard:hG,kRealm:A2}=Oo(),ul=require("assert"),{safelyExtractBody:sd}=Du(),{redirectStatusSet:u2,nullBodyStatus:h2,safeMethodsSet:fG,requestBodyHeader:gG,subresourceSet:dG,DOMException:od}=RA(),{kHeadersList:cl}=lr(),EG=require("events"),{Readable:pG,pipeline:CG}=require("stream"),{addAbortListener:IG,isErrored:BG,isReadable:Ad,nodeMajor:a2,nodeMinor:yG}=Nt(),{dataURLProcessor:QG,serializeAMimeType:mG}=Cs(),{TransformStream:bG}=require("stream/web"),{getGlobalDispatcher:wG}=il(),{webidl:vG}=jn(),{STATUS_CODES:SG}=require("http"),RG=["GET","HEAD"],zB,KB=globalThis.ReadableStream,ad=class extends EG{constructor(t){super(),this.dispatcher=t,this.connection=null,this.dump=!1,this.state="ongoing",this.setMaxListeners(21)}terminate(t){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(t),this.emit("terminated",t))}abort(t){this.state==="ongoing"&&(this.state="aborted",t||(t=new od("The operation was aborted.","AbortError")),this.serializedAbortReason=t,this.connection?.destroy(t),this.emit("terminated",t))}};function _G(e,t={}){vG.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});let r=oG(),n;try{n=new YH(e,t)}catch(g){return r.reject(g),r.promise}let i=n[ty];if(n.signal.aborted)return XB(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=null,l=!1,A=null;return IG(n.signal,()=>{l=!0,ul(A!=null),A.abort(n.signal.reason),XB(r,i,a,n.signal.reason)}),A=g2({request:i,processResponseEndOfBody:g=>f2(g,"fetch"),processResponse:g=>{if(l)return Promise.resolve();if(g.aborted)return XB(r,i,a,A.serializedAbortReason),Promise.resolve();if(g.type==="error")return r.reject(Object.assign(new TypeError("fetch failed"),{cause:g.error})),Promise.resolve();a=new GH,a[ty]=g,a[A2]=c,a[jB][cl]=g.headersList,a[jB][hG]="immutable",a[jB][A2]=c,r.resolve(a)},dispatcher:t.dispatcher??wG()}),r.promise}function f2(e,t="other"){if(e.type==="error"&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],n=e.timingInfo,i=e.cacheState;iy(r)&&n!==null&&(e.timingAllowPassed||(n=ry({startTime:n.startTime}),i=""),n.endTime=ny(),e.timingInfo=n,kG(n,r,t,globalThis,i))}function kG(e,t,r,n,i){(a2>18||a2===18&&yG>=2)&&performance.markResourceTiming(e,t.href,r,n,i)}function XB(e,t,r,n){if(n||(n=new od("The operation was aborted.","AbortError")),e.reject(n),t.body!=null&&Ad(t.body?.stream)&&t.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[ty];i.body!=null&&Ad(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}function g2({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c}){let l=null,A=!1;e.client!=null&&(l=e.client.globalObject,A=e.client.crossOriginIsolatedCapability);let f=ny(A),h=ry({startTime:f}),g={controller:new ad(c),request:e,timingInfo:h,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};if(ul(!e.body||e.body.stream),e.window==="client"&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),e.origin==="client"&&(e.origin=e.client?.origin),e.policyContainer==="client"&&(e.client!=null?e.policyContainer=zH(e.client.policyContainer):e.policyContainer=jH()),!e.headersList.contains("accept")){let b="*/*";e.headersList.append("accept",b)}return e.headersList.contains("accept-language")||e.headersList.append("accept-language","*"),e.priority,dG.has(e.destination),d2(g).catch(b=>{g.controller.terminate(b)}),g.controller}async function d2(e,t=!1){let r=e.request,n=null;if(r.localURLsOnly&&!lG(eo(r))&&(n=ar("local URLs only")),tG(r),KH(r)==="blocked"&&(n=ar("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=sG(r)),n===null&&(n=await(async()=>{let s=eo(r);return ZB(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await c2(e)):r.mode==="same-origin"?ar('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ar('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await c2(e)):iy(eo(r))?(r.responseTainting="cors",await E2(e)):ar("URL scheme must be a HTTP(S) scheme")})()),t)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=WB(n,"basic"):r.responseTainting==="cors"?n=WB(n,"cors"):r.responseTainting==="opaque"?n=WB(n,"opaque"):ul(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range")&&(n=i=ar()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||h2.includes(i.status))&&(i.body=null,e.controller.dump=!0),r.integrity){let s=c=>$B(e,ar(c));if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=c=>{if(!WH(c,r.integrity)){s("integrity mismatch");return}n.body=sd(c)[0],$B(e,n)};await l2(n.body,a,s)}else $B(e,n)}function c2(e){if(ll(e)&&e.request.redirectCount===0)return Promise.resolve(nd(e));let{request:t}=e,{protocol:r}=eo(t);switch(r){case"about:":return Promise.resolve(ar("about scheme is not supported"));case"blob:":{zB||(zB=require("buffer").resolveObjectURL);let n=eo(t);if(n.search.length!==0)return Promise.resolve(ar("NetworkError when attempting to fetch resource."));let i=zB(n.toString());if(t.method!=="GET"||!AG(i))return Promise.resolve(ar("invalid method"));let s=sd(i),a=s[0],c=ey(`${a.length}`),l=s[1]??"",A=id({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:c}],["content-type",{name:"Content-Type",value:l}]]});return A.body=a,Promise.resolve(A)}case"data:":{let n=eo(t),i=QG(n);if(i==="failure")return Promise.resolve(ar("failed to fetch the data URL"));let s=mG(i.mimeType);return Promise.resolve(id({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:sd(i.body)[0]}))}case"file:":return Promise.resolve(ar("not implemented... yet..."));case"http:":case"https:":return E2(e).catch(n=>ar(n));default:return Promise.resolve(ar("unknown scheme"))}}function DG(e,t){e.request.done=!0,e.processResponseDone!=null&&queueMicrotask(()=>e.processResponseDone(t))}function $B(e,t){t.type==="error"&&(t.urlList=[e.request.urlList[0]],t.timingInfo=ry({startTime:e.timingInfo.startTime}));let r=()=>{e.request.done=!0,e.processResponseEndOfBody!=null&&queueMicrotask(()=>e.processResponseEndOfBody(t))};if(e.processResponse!=null&&queueMicrotask(()=>e.processResponse(t)),t.body==null)r();else{let n=(s,a)=>{a.enqueue(s)},i=new bG({start(){},transform:n,flush:r},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(i)}}if(e.processResponseConsumeBody!=null){let n=s=>e.processResponseConsumeBody(t,s),i=s=>e.processResponseConsumeBody(t,s);if(t.body==null)queueMicrotask(()=>n(null));else return l2(t.body,n,i);return Promise.resolve()}}async function E2(e){let t=e.request,r=null,n=null,i=e.timingInfo;if(t.serviceWorkers,r===null){if(t.redirect==="follow"&&(t.serviceWorkers="none"),n=r=await p2(e),t.responseTainting==="cors"&&nG(t,r)==="failure")return ar("cors failure");XH(t,r)==="failure"&&(t.timingAllowFailed=!0)}return(t.responseTainting==="opaque"||r.type==="opaque")&&iG(t.origin,t.client,t.destination,n)==="blocked"?ar("blocked"):(u2.has(n.status)&&(t.redirect!=="manual"&&e.controller.connection.destroy(),t.redirect==="error"?r=ar("unexpected redirect"):t.redirect==="manual"?r=n:t.redirect==="follow"?r=await NG(e,r):ul(!1)),r.timingInfo=i,r)}function NG(e,t){let r=e.request,n=t.internalResponse?t.internalResponse:t,i;try{if(i=ZH(n,eo(r).hash),i==null)return t}catch(a){return Promise.resolve(ar(a))}if(!iy(i))return Promise.resolve(ar("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ar("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!ZB(r,i))return Promise.resolve(ar('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(ar('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ar());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!RG.includes(r.method)){r.method="GET",r.body=null;for(let a of gG)r.headersList.delete(a)}ZB(eo(r),i)||(r.headersList.delete("authorization"),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie"),r.headersList.delete("host")),r.body!=null&&(ul(r.body.source!=null),r.body=sd(r.body.source)[0]);let s=e.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=ny(e.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),eG(r,n),d2(e,!0)}async function p2(e,t=!1,r=!1){let n=e.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=e,s=n):(s=JH(n),i={...e},i.request=s);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",f=s.body?s.body.length:null,h=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(h="0"),f!=null&&(h=ey(`${f}`)),h!=null&&s.headersList.append("content-length",h),f!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",ey(s.referrer.href)),$H(s),rG(s),s.headersList.contains("user-agent")||s.headersList.append("user-agent",typeof esbuildDetection>"u"?"undici":"node"),s.cache==="default"&&(s.headersList.contains("if-modified-since")||s.headersList.contains("if-none-match")||s.headersList.contains("if-unmodified-since")||s.headersList.contains("if-match")||s.headersList.contains("if-range"))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control")&&s.headersList.append("cache-control","max-age=0"),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma")||s.headersList.append("pragma","no-cache"),s.headersList.contains("cache-control")||s.headersList.append("cache-control","no-cache")),s.headersList.contains("range")&&s.headersList.append("accept-encoding","identity"),s.headersList.contains("accept-encoding")||(uG(eo(s))?s.headersList.append("accept-encoding","br, gzip, deflate"):s.headersList.append("accept-encoding","gzip, deflate")),s.headersList.delete("host"),c==null&&(s.cache="no-store"),s.mode!=="no-store"&&s.mode,a==null){if(s.mode==="only-if-cached")return ar("only if cached");let g=await TG(i,A,r);!fG.has(s.method)&&g.status>=200&&g.status<=399,l&&g.status,a==null&&(a=g)}if(a.urlList=[...s.urlList],s.headersList.contains("range")&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?ar():ll(e)?nd(e):ar("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(ll(e))return nd(e);e.controller.connection.destroy(),a=await p2(e,t,!0)}return a}async function TG(e,t=!1,r=!1){ul(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(C){this.destroyed||(this.destroyed=!0,this.abort?.(C??new od("The operation was aborted.","AbortError")))}};let n=e.request,i=null,s=e.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(n.body!=null){let C=async function*(R){ll(e)||(yield R,e.processRequestBodyChunkLength?.(R.byteLength))},p=()=>{ll(e)||e.processRequestEndOfBody&&e.processRequestEndOfBody()},Q=R=>{ll(e)||(R.name==="AbortError"?e.controller.abort():e.controller.terminate(R))};l=async function*(){try{for await(let R of n.body.stream)yield*C(R);p()}catch(R){Q(R)}}()}try{let{body:C,status:p,statusText:Q,headersList:R,socket:_}=await b({body:l});if(_)i=id({status:p,statusText:Q,headersList:R,socket:_});else{let d=C[Symbol.asyncIterator]();e.controller.next=()=>d.next(),i=id({status:p,statusText:Q,headersList:R})}}catch(C){return C.name==="AbortError"?(e.controller.connection.destroy(),nd(e,C)):ar(C)}let A=()=>{e.controller.resume()},f=C=>{e.controller.abort(C)};KB||(KB=require("stream/web").ReadableStream);let h=new KB({async start(C){e.controller.controller=C},async pull(C){await A(C)},async cancel(C){await f(C)}},{highWaterMark:0,size(){return 1}});i.body={stream:h},e.controller.on("terminated",g),e.controller.resume=async()=>{for(;;){let C,p;try{let{done:Q,value:R}=await e.controller.next();if(o2(e))break;C=Q?void 0:R}catch(Q){e.controller.ended&&!s.encodedBodySize?C=void 0:(C=Q,p=!0)}if(C===void 0){cG(e.controller.controller),DG(e,i);return}if(s.decodedBodySize+=C?.byteLength??0,p){e.controller.terminate(C);return}if(e.controller.controller.enqueue(new Uint8Array(C)),BG(h)){e.controller.terminate();return}if(!e.controller.controller.desiredSize)return}};function g(C){o2(e)?(i.aborted=!0,Ad(h)&&e.controller.controller.error(e.controller.serializedAbortReason)):Ad(h)&&e.controller.controller.error(new TypeError("terminated",{cause:aG(C)?C:void 0})),e.controller.connection.destroy()}return i;async function b({body:C}){let p=eo(n),Q=e.controller.dispatcher;return new Promise((R,_)=>Q.dispatch({path:p.pathname+p.search,origin:p.origin,method:n.method,body:e.controller.dispatcher.isMockActive?n.body&&(n.body.source||n.body.stream):C,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(d){let{connection:S}=e.controller;S.destroyed?d(new od("The operation was aborted.","AbortError")):(e.controller.on("terminated",d),this.abort=S.abort=d)},onHeaders(d,S,m,T){if(d<200)return;let L=[],v="",I=new s2;if(Array.isArray(S))for(let q=0;qN.trim()):V.toLowerCase()==="location"&&(v=w),I[cl].append(V,w)}else{let q=Object.keys(S);for(let V of q){let w=S[V];V.toLowerCase()==="content-encoding"?L=w.toLowerCase().split(",").map(N=>N.trim()).reverse():V.toLowerCase()==="location"&&(v=w),I[cl].append(V,w)}}this.body=new pG({read:m});let E=[],O=n.redirect==="follow"&&v&&u2.has(d);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!h2.includes(d)&&!O)for(let q of L)if(q==="x-gzip"||q==="gzip")E.push(nh.createGunzip({flush:nh.constants.Z_SYNC_FLUSH,finishFlush:nh.constants.Z_SYNC_FLUSH}));else if(q==="deflate")E.push(nh.createInflate());else if(q==="br")E.push(nh.createBrotliDecompress());else{E.length=0;break}return R({status:d,statusText:T,headersList:I[cl],body:E.length?CG(this.body,...E,()=>{}):this.body.on("error",()=>{})}),!0},onData(d){if(e.controller.dump)return;let S=d;return s.encodedBodySize+=S.byteLength,this.body.push(S)},onComplete(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body.push(null)},onError(d){this.abort&&e.controller.off("terminated",this.abort),this.body?.destroy(d),e.controller.terminate(d),_(d)},onUpgrade(d,S,m){if(d!==101)return;let T=new s2;for(let L=0;L{"use strict";I2.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}});var y2=Re((tte,B2)=>{"use strict";var{webidl:qi}=jn(),ld=Symbol("ProgressEvent state"),oy=class e extends Event{constructor(t,r={}){t=qi.converters.DOMString(t),r=qi.converters.ProgressEventInit(r??{}),super(t,r),this[ld]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return qi.brandCheck(this,e),this[ld].lengthComputable}get loaded(){return qi.brandCheck(this,e),this[ld].loaded}get total(){return qi.brandCheck(this,e),this[ld].total}};qi.converters.ProgressEventInit=qi.dictionaryConverter([{key:"lengthComputable",converter:qi.converters.boolean,defaultValue:!1},{key:"loaded",converter:qi.converters["unsigned long long"],defaultValue:0},{key:"total",converter:qi.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:qi.converters.boolean,defaultValue:!1},{key:"cancelable",converter:qi.converters.boolean,defaultValue:!1},{key:"composed",converter:qi.converters.boolean,defaultValue:!1}]);B2.exports={ProgressEvent:oy}});var m2=Re((rte,Q2)=>{"use strict";function LG(e){if(!e)return"failure";switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}Q2.exports={getEncoding:LG}});var D2=Re((nte,k2)=>{"use strict";var{kState:hl,kError:Ay,kResult:b2,kAborted:ih,kLastProgressEventFired:ay}=sy(),{ProgressEvent:FG}=y2(),{getEncoding:w2}=m2(),{DOMException:UG}=RA(),{serializeAMimeType:xG,parseMIMEType:v2}=Cs(),{types:MG}=require("util"),{StringDecoder:S2}=require("string_decoder"),{btoa:R2}=require("buffer"),OG={enumerable:!0,writable:!1,configurable:!1};function PG(e,t,r,n){if(e[hl]==="loading")throw new UG("Invalid state","InvalidStateError");e[hl]="loading",e[b2]=null,e[Ay]=null;let s=t.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!e[ih];)try{let{done:A,value:f}=await c;if(l&&!e[ih]&&queueMicrotask(()=>{UA("loadstart",e)}),l=!1,!A&&MG.isUint8Array(f))a.push(f),(e[ay]===void 0||Date.now()-e[ay]>=50)&&!e[ih]&&(e[ay]=Date.now(),queueMicrotask(()=>{UA("progress",e)})),c=s.read();else if(A){queueMicrotask(()=>{e[hl]="done";try{let h=qG(a,r,t.type,n);if(e[ih])return;e[b2]=h,UA("load",e)}catch(h){e[Ay]=h,UA("error",e)}e[hl]!=="loading"&&UA("loadend",e)});break}}catch(A){if(e[ih])return;queueMicrotask(()=>{e[hl]="done",e[Ay]=A,UA("error",e),e[hl]!=="loading"&&UA("loadend",e)});break}})()}function UA(e,t){let r=new FG(e,{bubbles:!1,cancelable:!1});t.dispatchEvent(r)}function qG(e,t,r,n){switch(t){case"DataURL":{let i="data:",s=v2(r||"application/octet-stream");s!=="failure"&&(i+=xG(s)),i+=";base64,";let a=new S2("latin1");for(let c of e)i+=R2(a.write(c));return i+=R2(a.end()),i}case"Text":{let i="failure";if(n&&(i=w2(n)),i==="failure"&&r){let s=v2(r);s!=="failure"&&(i=w2(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),VG(e,i)}case"ArrayBuffer":return _2(e).buffer;case"BinaryString":{let i="",s=new S2("latin1");for(let a of e)i+=s.write(a);return i+=s.end(),i}}}function VG(e,t){let r=_2(e),n=HG(r),i=0;n!==null&&(t=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(t).decode(s)}function HG(e){let[t,r,n]=e;return t===239&&r===187&&n===191?"UTF-8":t===254&&r===255?"UTF-16BE":t===255&&r===254?"UTF-16LE":null}function _2(e){let t=e.reduce((n,i)=>n+i.byteLength,0),r=0;return e.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(t))}k2.exports={staticPropertyDescriptors:OG,readOperation:PG,fireAProgressEvent:UA}});var F2=Re((ite,L2)=>{"use strict";var{staticPropertyDescriptors:fl,readOperation:ud,fireAProgressEvent:N2}=D2(),{kState:ka,kError:T2,kResult:hd,kEvents:qt,kAborted:GG}=sy(),{webidl:nr}=jn(),{kEnumerableProperty:di}=Nt(),Qs=class e extends EventTarget{constructor(){super(),this[ka]="empty",this[hd]=null,this[T2]=null,this[qt]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(t){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"}),t=nr.converters.Blob(t,{strict:!1}),ud(this,t,"ArrayBuffer")}readAsBinaryString(t){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"}),t=nr.converters.Blob(t,{strict:!1}),ud(this,t,"BinaryString")}readAsText(t,r=void 0){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"}),t=nr.converters.Blob(t,{strict:!1}),r!==void 0&&(r=nr.converters.DOMString(r)),ud(this,t,"Text",r)}readAsDataURL(t){nr.brandCheck(this,e),nr.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"}),t=nr.converters.Blob(t,{strict:!1}),ud(this,t,"DataURL")}abort(){if(this[ka]==="empty"||this[ka]==="done"){this[hd]=null;return}this[ka]==="loading"&&(this[ka]="done",this[hd]=null),this[GG]=!0,N2("abort",this),this[ka]!=="loading"&&N2("loadend",this)}get readyState(){switch(nr.brandCheck(this,e),this[ka]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return nr.brandCheck(this,e),this[hd]}get error(){return nr.brandCheck(this,e),this[T2]}get onloadend(){return nr.brandCheck(this,e),this[qt].loadend}set onloadend(t){nr.brandCheck(this,e),this[qt].loadend&&this.removeEventListener("loadend",this[qt].loadend),typeof t=="function"?(this[qt].loadend=t,this.addEventListener("loadend",t)):this[qt].loadend=null}get onerror(){return nr.brandCheck(this,e),this[qt].error}set onerror(t){nr.brandCheck(this,e),this[qt].error&&this.removeEventListener("error",this[qt].error),typeof t=="function"?(this[qt].error=t,this.addEventListener("error",t)):this[qt].error=null}get onloadstart(){return nr.brandCheck(this,e),this[qt].loadstart}set onloadstart(t){nr.brandCheck(this,e),this[qt].loadstart&&this.removeEventListener("loadstart",this[qt].loadstart),typeof t=="function"?(this[qt].loadstart=t,this.addEventListener("loadstart",t)):this[qt].loadstart=null}get onprogress(){return nr.brandCheck(this,e),this[qt].progress}set onprogress(t){nr.brandCheck(this,e),this[qt].progress&&this.removeEventListener("progress",this[qt].progress),typeof t=="function"?(this[qt].progress=t,this.addEventListener("progress",t)):this[qt].progress=null}get onload(){return nr.brandCheck(this,e),this[qt].load}set onload(t){nr.brandCheck(this,e),this[qt].load&&this.removeEventListener("load",this[qt].load),typeof t=="function"?(this[qt].load=t,this.addEventListener("load",t)):this[qt].load=null}get onabort(){return nr.brandCheck(this,e),this[qt].abort}set onabort(t){nr.brandCheck(this,e),this[qt].abort&&this.removeEventListener("abort",this[qt].abort),typeof t=="function"?(this[qt].abort=t,this.addEventListener("abort",t)):this[qt].abort=null}};Qs.EMPTY=Qs.prototype.EMPTY=0;Qs.LOADING=Qs.prototype.LOADING=1;Qs.DONE=Qs.prototype.DONE=2;Object.defineProperties(Qs.prototype,{EMPTY:fl,LOADING:fl,DONE:fl,readAsArrayBuffer:di,readAsBinaryString:di,readAsText:di,readAsDataURL:di,abort:di,readyState:di,result:di,error:di,onloadstart:di,onprogress:di,onload:di,onabort:di,onerror:di,onloadend:di,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Qs,{EMPTY:fl,LOADING:fl,DONE:fl});L2.exports={FileReader:Qs}});var fd=Re((ste,U2)=>{"use strict";U2.exports={kConstruct:lr().kConstruct}});var O2=Re((ote,M2)=>{"use strict";var YG=require("assert"),{URLSerializer:x2}=Cs(),{isValidHeaderName:JG}=rs();function WG(e,t,r=!1){let n=x2(e,r),i=x2(t,r);return n===i}function jG(e){YG(e!==null);let t=[];for(let r of e.split(",")){if(r=r.trim(),r.length){if(!JG(r))continue}else continue;t.push(r)}return t}M2.exports={urlEquals:WG,fieldValues:jG}});var Y2=Re((Ate,G2)=>{"use strict";var{kConstruct:zG}=fd(),{urlEquals:KG,fieldValues:cy}=O2(),{kEnumerableProperty:Da,isDisturbed:XG}=Nt(),{kHeadersList:P2}=lr(),{webidl:et}=jn(),{Response:V2,cloneResponse:$G}=Xg(),{Request:to}=rh(),{kState:Zn,kHeaders:gd,kGuard:q2,kRealm:ZG}=Oo(),{fetching:e9}=cd(),{urlIsHttpHttpsScheme:dd,createDeferredPromise:gl,readAllBytes:t9}=rs(),ly=require("assert"),{getGlobalDispatcher:r9}=il(),Ed=class e{#e;constructor(){arguments[0]!==zG&&et.illegalConstructor(),this.#e=arguments[1]}async match(t,r={}){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.match"}),t=et.converters.RequestInfo(t),r=et.converters.CacheQueryOptions(r);let n=await this.matchAll(t,r);if(n.length!==0)return n[0]}async matchAll(t=void 0,r={}){et.brandCheck(this,e),t!==void 0&&(t=et.converters.RequestInfo(t)),r=et.converters.CacheQueryOptions(r);let n=null;if(t!==void 0)if(t instanceof to){if(n=t[Zn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof t=="string"&&(n=new to(t)[Zn]);let i=[];if(t===void 0)for(let a of this.#e)i.push(a[1]);else{let a=this.#n(n,r);for(let c of a)i.push(c[1])}let s=[];for(let a of i){let c=new V2(a.body?.source??null),l=c[Zn].body;c[Zn]=a,c[Zn].body=l,c[gd][P2]=a.headersList,c[gd][q2]="immutable",s.push(c)}return Object.freeze(s)}async add(t){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.add"}),t=et.converters.RequestInfo(t);let r=[t];return await this.addAll(r)}async addAll(t){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.addAll"}),t=et.converters["sequence"](t);let r=[],n=[];for(let h of t){if(typeof h=="string")continue;let g=h[Zn];if(!dd(g.url)||g.method!=="GET")throw et.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}let i=[];for(let h of t){let g=new to(h)[Zn];if(!dd(g.url))throw et.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."});g.initiator="fetch",g.destination="subresource",n.push(g);let b=gl();i.push(e9({request:g,dispatcher:r9(),processResponse(C){if(C.type==="error"||C.status===206||C.status<200||C.status>299)b.reject(et.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(C.headersList.contains("vary")){let p=cy(C.headersList.get("vary"));for(let Q of p)if(Q==="*"){b.reject(et.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let R of i)R.abort();return}}},processResponseEndOfBody(C){if(C.aborted){b.reject(new DOMException("aborted","AbortError"));return}b.resolve(C)}})),r.push(b.promise)}let a=await Promise.all(r),c=[],l=0;for(let h of a){let g={type:"put",request:n[l],response:h};c.push(g),l++}let A=gl(),f=null;try{this.#r(c)}catch(h){f=h}return queueMicrotask(()=>{f===null?A.resolve(void 0):A.reject(f)}),A.promise}async put(t,r){et.brandCheck(this,e),et.argumentLengthCheck(arguments,2,{header:"Cache.put"}),t=et.converters.RequestInfo(t),r=et.converters.Response(r);let n=null;if(t instanceof to?n=t[Zn]:n=new to(t)[Zn],!dd(n.url)||n.method!=="GET")throw et.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"});let i=r[Zn];if(i.status===206)throw et.errors.exception({header:"Cache.put",message:"Got 206 status"});if(i.headersList.contains("vary")){let g=cy(i.headersList.get("vary"));for(let b of g)if(b==="*")throw et.errors.exception({header:"Cache.put",message:"Got * vary field value"})}if(i.body&&(XG(i.body.stream)||i.body.stream.locked))throw et.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"});let s=$G(i),a=gl();if(i.body!=null){let b=i.body.stream.getReader();t9(b).then(a.resolve,a.reject)}else a.resolve(void 0);let c=[],l={type:"put",request:n,response:s};c.push(l);let A=await a.promise;s.body!=null&&(s.body.source=A);let f=gl(),h=null;try{this.#r(c)}catch(g){h=g}return queueMicrotask(()=>{h===null?f.resolve():f.reject(h)}),f.promise}async delete(t,r={}){et.brandCheck(this,e),et.argumentLengthCheck(arguments,1,{header:"Cache.delete"}),t=et.converters.RequestInfo(t),r=et.converters.CacheQueryOptions(r);let n=null;if(t instanceof to){if(n=t[Zn],n.method!=="GET"&&!r.ignoreMethod)return!1}else ly(typeof t=="string"),n=new to(t)[Zn];let i=[],s={type:"delete",request:n,options:r};i.push(s);let a=gl(),c=null,l;try{l=this.#r(i)}catch(A){c=A}return queueMicrotask(()=>{c===null?a.resolve(!!l?.length):a.reject(c)}),a.promise}async keys(t=void 0,r={}){et.brandCheck(this,e),t!==void 0&&(t=et.converters.RequestInfo(t)),r=et.converters.CacheQueryOptions(r);let n=null;if(t!==void 0)if(t instanceof to){if(n=t[Zn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof t=="string"&&(n=new to(t)[Zn]);let i=gl(),s=[];if(t===void 0)for(let a of this.#e)s.push(a[0]);else{let a=this.#n(n,r);for(let c of a)s.push(c[0])}return queueMicrotask(()=>{let a=[];for(let c of s){let l=new to("https://a");l[Zn]=c,l[gd][P2]=c.headersList,l[gd][q2]="immutable",l[ZG]=c.client,a.push(l)}i.resolve(Object.freeze(a))}),i.promise}#r(t){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of t){if(a.type!=="delete"&&a.type!=="put")throw et.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#n(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);ly(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!dd(l.url))throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw et.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#n(a.request);for(let A of c){let f=r.indexOf(A);ly(f!==-1),r.splice(f,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#n(t,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#t(t,c,l,r)&&i.push(a)}return i}#t(t,r,n=null,i){let s=new URL(t.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!KG(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=cy(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),f=t.headersList.get(l);if(A!==f)return!1}return!0}};Object.defineProperties(Ed.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Da,matchAll:Da,add:Da,addAll:Da,put:Da,delete:Da,keys:Da});var H2=[{key:"ignoreSearch",converter:et.converters.boolean,defaultValue:!1},{key:"ignoreMethod",converter:et.converters.boolean,defaultValue:!1},{key:"ignoreVary",converter:et.converters.boolean,defaultValue:!1}];et.converters.CacheQueryOptions=et.dictionaryConverter(H2);et.converters.MultiCacheQueryOptions=et.dictionaryConverter([...H2,{key:"cacheName",converter:et.converters.DOMString}]);et.converters.Response=et.interfaceConverter(V2);et.converters["sequence"]=et.sequenceConverter(et.converters.RequestInfo);G2.exports={Cache:Ed}});var W2=Re((ate,J2)=>{"use strict";var{kConstruct:sh}=fd(),{Cache:pd}=Y2(),{webidl:ei}=jn(),{kEnumerableProperty:oh}=Nt(),Cd=class e{#e=new Map;constructor(){arguments[0]!==sh&&ei.illegalConstructor()}async match(t,r={}){if(ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"}),t=ei.converters.RequestInfo(t),r=ei.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new pd(sh,n).match(t,r)}}else for(let n of this.#e.values()){let s=await new pd(sh,n).match(t,r);if(s!==void 0)return s}}async has(t){return ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"}),t=ei.converters.DOMString(t),this.#e.has(t)}async open(t){if(ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"}),t=ei.converters.DOMString(t),this.#e.has(t)){let n=this.#e.get(t);return new pd(sh,n)}let r=[];return this.#e.set(t,r),new pd(sh,r)}async delete(t){return ei.brandCheck(this,e),ei.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"}),t=ei.converters.DOMString(t),this.#e.delete(t)}async keys(){return ei.brandCheck(this,e),[...this.#e.keys()]}};Object.defineProperties(Cd.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:oh,has:oh,open:oh,delete:oh,keys:oh});J2.exports={CacheStorage:Cd}});var z2=Re((cte,j2)=>{"use strict";j2.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var uy=Re((lte,$2)=>{"use strict";var K2=require("assert"),{kHeadersList:X2}=lr();function n9(e){if(e.length===0)return!1;for(let t of e){let r=t.charCodeAt(0);if(r>=0||r<=8||r>=10||r<=31||r===127)return!1}}function i9(e){for(let t of e){let r=t.charCodeAt(0);if(r<=32||r>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}")throw new Error("Invalid cookie name")}}function s9(e){for(let t of e){let r=t.charCodeAt(0);if(r<33||r===34||r===44||r===59||r===92||r>126)throw new Error("Invalid header value")}}function o9(e){for(let t of e)if(t.charCodeAt(0)<33||t===";")throw new Error("Invalid cookie path")}function A9(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-"))throw new Error("Invalid cookie domain")}function a9(e){typeof e=="number"&&(e=new Date(e));let t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=t[e.getUTCDay()],i=e.getUTCDate().toString().padStart(2,"0"),s=r[e.getUTCMonth()],a=e.getUTCFullYear(),c=e.getUTCHours().toString().padStart(2,"0"),l=e.getUTCMinutes().toString().padStart(2,"0"),A=e.getUTCSeconds().toString().padStart(2,"0");return`${n}, ${i} ${s} ${a} ${c}:${l}:${A} GMT`}function c9(e){if(e<0)throw new Error("Invalid cookie max-age")}function l9(e){if(e.name.length===0)return null;i9(e.name),s9(e.value);let t=[`${e.name}=${e.value}`];e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&t.push("Secure"),e.httpOnly&&t.push("HttpOnly"),typeof e.maxAge=="number"&&(c9(e.maxAge),t.push(`Max-Age=${e.maxAge}`)),e.domain&&(A9(e.domain),t.push(`Domain=${e.domain}`)),e.path&&(o9(e.path),t.push(`Path=${e.path}`)),e.expires&&e.expires.toString()!=="Invalid Date"&&t.push(`Expires=${a9(e.expires)}`),e.sameSite&&t.push(`SameSite=${e.sameSite}`);for(let r of e.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("=");t.push(`${n.trim()}=${i.join("=")}`)}return t.join("; ")}var Id;function u9(e){if(e[X2])return e[X2];Id||(Id=Object.getOwnPropertySymbols(e).find(r=>r.description==="headers list"),K2(Id,"Headers cannot be parsed"));let t=e[Id];return K2(t),t}$2.exports={isCTLExcludingHtab:n9,stringify:l9,getHeadersList:u9}});var e_=Re((ute,Z2)=>{"use strict";var{maxNameValuePairSize:h9,maxAttributeValueSize:f9}=z2(),{isCTLExcludingHtab:g9}=uy(),{collectASequenceOfCodePointsFast:Bd}=Cs(),d9=require("assert");function E9(e){if(g9(e))return null;let t="",r="",n="",i="";if(e.includes(";")){let s={position:0};t=Bd(";",e,s),r=e.slice(s.position)}else t=e;if(!t.includes("="))i=t;else{let s={position:0};n=Bd("=",t,s),i=t.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>h9?null:{name:n,value:i,...dl(r)}}function dl(e,t={}){if(e.length===0)return t;d9(e[0]===";"),e=e.slice(1);let r="";e.includes(";")?(r=Bd(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let n="",i="";if(r.includes("=")){let a={position:0};n=Bd("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>f9)return dl(e,t);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);t.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return dl(e,t);let c=Number(i);t.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),t.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,t.path=a}else if(s==="secure")t.secure=!0;else if(s==="httponly")t.httpOnly=!0;else if(s==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),t.sameSite=a}else t.unparsed??=[],t.unparsed.push(`${n}=${i}`);return dl(e,t)}Z2.exports={parseSetCookie:E9,parseUnparsedAttributes:dl}});var i_=Re((hte,n_)=>{"use strict";var{parseSetCookie:p9}=e_(),{stringify:t_,getHeadersList:C9}=uy(),{webidl:Rt}=jn(),{Headers:yd}=Ra();function I9(e){Rt.argumentLengthCheck(arguments,1,{header:"getCookies"}),Rt.brandCheck(e,yd,{strict:!1});let t=e.get("cookie"),r={};if(!t)return r;for(let n of t.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}function B9(e,t,r){Rt.argumentLengthCheck(arguments,2,{header:"deleteCookie"}),Rt.brandCheck(e,yd,{strict:!1}),t=Rt.converters.DOMString(t),r=Rt.converters.DeleteCookieAttributes(r),r_(e,{name:t,value:"",expires:new Date(0),...r})}function y9(e){Rt.argumentLengthCheck(arguments,1,{header:"getSetCookies"}),Rt.brandCheck(e,yd,{strict:!1});let t=C9(e).cookies;return t?t.map(r=>p9(Array.isArray(r)?r[1]:r)):[]}function r_(e,t){Rt.argumentLengthCheck(arguments,2,{header:"setCookie"}),Rt.brandCheck(e,yd,{strict:!1}),t=Rt.converters.Cookie(t),t_(t)&&e.append("Set-Cookie",t_(t))}Rt.converters.DeleteCookieAttributes=Rt.dictionaryConverter([{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"path",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"domain",defaultValue:null}]);Rt.converters.Cookie=Rt.dictionaryConverter([{converter:Rt.converters.DOMString,key:"name"},{converter:Rt.converters.DOMString,key:"value"},{converter:Rt.nullableConverter(e=>typeof e=="number"?Rt.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters["long long"]),key:"maxAge",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"domain",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.DOMString),key:"path",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.boolean),key:"secure",defaultValue:null},{converter:Rt.nullableConverter(Rt.converters.boolean),key:"httpOnly",defaultValue:null},{converter:Rt.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Rt.sequenceConverter(Rt.converters.DOMString),key:"unparsed",defaultValue:[]}]);n_.exports={getCookies:I9,deleteCookie:B9,getSetCookies:y9,setCookie:r_}});var El=Re((fte,s_)=>{"use strict";var Q9="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",m9={enumerable:!0,writable:!1,configurable:!1},b9={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},w9={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},v9=2**16-1,S9={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},R9=Buffer.allocUnsafe(0);s_.exports={uid:Q9,staticPropertyDescriptors:m9,states:b9,opcodes:w9,maxUnsigned16Bit:v9,parserStates:S9,emptyBuffer:R9}});var Ah=Re((gte,o_)=>{"use strict";o_.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var fy=Re((dte,A_)=>{"use strict";var{webidl:tt}=jn(),{kEnumerableProperty:Ei}=Nt(),{MessagePort:_9}=require("worker_threads"),Qd=class e extends Event{#e;constructor(t,r={}){tt.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"}),t=tt.converters.DOMString(t),r=tt.converters.MessageEventInit(r),super(t,r),this.#e=r}get data(){return tt.brandCheck(this,e),this.#e.data}get origin(){return tt.brandCheck(this,e),this.#e.origin}get lastEventId(){return tt.brandCheck(this,e),this.#e.lastEventId}get source(){return tt.brandCheck(this,e),this.#e.source}get ports(){return tt.brandCheck(this,e),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(t,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return tt.brandCheck(this,e),tt.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"}),new e(t,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}},md=class e extends Event{#e;constructor(t,r={}){tt.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"}),t=tt.converters.DOMString(t),r=tt.converters.CloseEventInit(r),super(t,r),this.#e=r}get wasClean(){return tt.brandCheck(this,e),this.#e.wasClean}get code(){return tt.brandCheck(this,e),this.#e.code}get reason(){return tt.brandCheck(this,e),this.#e.reason}},bd=class e extends Event{#e;constructor(t,r){tt.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"}),super(t,r),t=tt.converters.DOMString(t),r=tt.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return tt.brandCheck(this,e),this.#e.message}get filename(){return tt.brandCheck(this,e),this.#e.filename}get lineno(){return tt.brandCheck(this,e),this.#e.lineno}get colno(){return tt.brandCheck(this,e),this.#e.colno}get error(){return tt.brandCheck(this,e),this.#e.error}};Object.defineProperties(Qd.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Ei,origin:Ei,lastEventId:Ei,source:Ei,ports:Ei,initMessageEvent:Ei});Object.defineProperties(md.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Ei,code:Ei,wasClean:Ei});Object.defineProperties(bd.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Ei,filename:Ei,lineno:Ei,colno:Ei,error:Ei});tt.converters.MessagePort=tt.interfaceConverter(_9);tt.converters["sequence"]=tt.sequenceConverter(tt.converters.MessagePort);var hy=[{key:"bubbles",converter:tt.converters.boolean,defaultValue:!1},{key:"cancelable",converter:tt.converters.boolean,defaultValue:!1},{key:"composed",converter:tt.converters.boolean,defaultValue:!1}];tt.converters.MessageEventInit=tt.dictionaryConverter([...hy,{key:"data",converter:tt.converters.any,defaultValue:null},{key:"origin",converter:tt.converters.USVString,defaultValue:""},{key:"lastEventId",converter:tt.converters.DOMString,defaultValue:""},{key:"source",converter:tt.nullableConverter(tt.converters.MessagePort),defaultValue:null},{key:"ports",converter:tt.converters["sequence"],get defaultValue(){return[]}}]);tt.converters.CloseEventInit=tt.dictionaryConverter([...hy,{key:"wasClean",converter:tt.converters.boolean,defaultValue:!1},{key:"code",converter:tt.converters["unsigned short"],defaultValue:0},{key:"reason",converter:tt.converters.USVString,defaultValue:""}]);tt.converters.ErrorEventInit=tt.dictionaryConverter([...hy,{key:"message",converter:tt.converters.DOMString,defaultValue:""},{key:"filename",converter:tt.converters.USVString,defaultValue:""},{key:"lineno",converter:tt.converters["unsigned long"],defaultValue:0},{key:"colno",converter:tt.converters["unsigned long"],defaultValue:0},{key:"error",converter:tt.converters.any}]);A_.exports={MessageEvent:Qd,CloseEvent:md,ErrorEvent:bd}});var Sd=Re((Ete,l_)=>{"use strict";var{kReadyState:wd,kController:k9,kResponse:D9,kBinaryType:N9,kWebSocketURL:T9}=Ah(),{states:vd,opcodes:a_}=El(),{MessageEvent:L9,ErrorEvent:F9}=fy();function U9(e){return e[wd]===vd.OPEN}function x9(e){return e[wd]===vd.CLOSING}function M9(e){return e[wd]===vd.CLOSED}function gy(e,t,r=Event,n){let i=new r(e,n);t.dispatchEvent(i)}function O9(e,t,r){if(e[wd]!==vd.OPEN)return;let n;if(t===a_.TEXT)try{n=new TextDecoder("utf-8",{fatal:!0}).decode(r)}catch{c_(e,"Received invalid UTF-8 in text frame.");return}else t===a_.BINARY&&(e[N9]==="blob"?n=new Blob([r]):n=new Uint8Array(r).buffer);gy("message",e,L9,{origin:e[T9].origin,data:n})}function P9(e){if(e.length===0)return!1;for(let t of e){let r=t.charCodeAt(0);if(r<33||r>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||r===32||r===9)return!1}return!0}function q9(e){return e>=1e3&&e<1015?e!==1004&&e!==1005&&e!==1006:e>=3e3&&e<=4999}function c_(e,t){let{[k9]:r,[D9]:n}=e;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),t&&gy("error",e,F9,{error:new Error(t)})}l_.exports={isEstablished:U9,isClosing:x9,isClosed:M9,fireEvent:gy,isValidSubprotocol:P9,isValidStatusCode:q9,failWebsocketConnection:c_,websocketMessageReceived:O9}});var E_=Re((pte,d_)=>{"use strict";var Ey=require("diagnostics_channel"),{uid:V9,states:h_}=El(),{kReadyState:f_,kSentClose:u_,kByteParser:g_,kReceivedClose:H9}=Ah(),{fireEvent:G9,failWebsocketConnection:Na}=Sd(),{CloseEvent:Y9}=fy(),{makeRequest:J9}=rh(),{fetching:W9}=cd(),{Headers:j9}=Ra(),{getGlobalDispatcher:z9}=il(),{kHeadersList:K9}=lr(),Wo={};Wo.open=Ey.channel("undici:websocket:open");Wo.close=Ey.channel("undici:websocket:close");Wo.socketError=Ey.channel("undici:websocket:socket_error");var dy;try{dy=require("crypto")}catch{}function X9(e,t,r,n,i){let s=e;s.protocol=e.protocol==="ws:"?"http:":"https:";let a=J9({urlList:[s],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let f=new j9(i.headers)[K9];a.headersList=f}let c=dy.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c),a.headersList.append("sec-websocket-version","13");for(let f of t)a.headersList.append("sec-websocket-protocol",f);let l="";return W9({request:a,useParallelQueue:!0,dispatcher:i.dispatcher??z9(),processResponse(f){if(f.type==="error"||f.status!==101){Na(r,"Received network error or non-101 status code.");return}if(t.length!==0&&!f.headersList.get("Sec-WebSocket-Protocol")){Na(r,"Server did not respond with sent protocols.");return}if(f.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Na(r,'Server did not set Upgrade header to "websocket".');return}if(f.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Na(r,'Server did not set Connection header to "upgrade".');return}let h=f.headersList.get("Sec-WebSocket-Accept"),g=dy.createHash("sha1").update(c+V9).digest("base64");if(h!==g){Na(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let b=f.headersList.get("Sec-WebSocket-Extensions");if(b!==null&&b!==l){Na(r,"Received different permessage-deflate than the one set.");return}let C=f.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&C!==a.headersList.get("Sec-WebSocket-Protocol")){Na(r,"Protocol was not set in the opening handshake.");return}f.socket.on("data",$9),f.socket.on("close",Z9),f.socket.on("error",eY),Wo.open.hasSubscribers&&Wo.open.publish({address:f.socket.address(),protocol:C,extensions:b}),n(f)}})}function $9(e){this.ws[g_].write(e)||this.pause()}function Z9(){let{ws:e}=this,t=e[u_]&&e[H9],r=1005,n="",i=e[g_].closingInfo;i?(r=i.code??1005,n=i.reason):e[u_]||(r=1006),e[f_]=h_.CLOSED,G9("close",e,Y9,{wasClean:t,code:r,reason:n}),Wo.close.hasSubscribers&&Wo.close.publish({websocket:e,code:r,reason:n})}function eY(e){let{ws:t}=this;t[f_]=h_.CLOSING,Wo.socketError.hasSubscribers&&Wo.socketError.publish(e),this.destroy()}d_.exports={establishWebSocketConnection:X9}});var Cy=Re((Cte,C_)=>{"use strict";var{maxUnsigned16Bit:tY}=El(),p_;try{p_=require("crypto")}catch{}var py=class{constructor(t){this.frameData=t,this.maskKey=p_.randomBytes(4)}createFrame(t){let r=this.frameData?.byteLength??0,n=r,i=6;r>tY?(i+=8,n=127):r>125&&(i+=2,n=126);let s=Buffer.allocUnsafe(r+i);s[0]=s[1]=0,s[0]|=128,s[0]=(s[0]&240)+t;s[i-4]=this.maskKey[0],s[i-3]=this.maskKey[1],s[i-2]=this.maskKey[2],s[i-1]=this.maskKey[3],s[1]=n,n===126?s.writeUInt16BE(r,2):n===127&&(s[2]=s[3]=0,s.writeUIntBE(r,4,6)),s[1]|=128;for(let a=0;a{"use strict";var{Writable:rY}=require("stream"),b_=require("diagnostics_channel"),{parserStates:ss,opcodes:os,states:nY,emptyBuffer:iY}=El(),{kReadyState:sY,kSentClose:I_,kResponse:B_,kReceivedClose:y_}=Ah(),{isValidStatusCode:Q_,failWebsocketConnection:ah,websocketMessageReceived:oY}=Sd(),{WebsocketFrameSend:m_}=Cy(),pl={};pl.ping=b_.channel("undici:websocket:ping");pl.pong=b_.channel("undici:websocket:pong");var Iy=class extends rY{#e=[];#r=0;#n=ss.INFO;#t={};#i=[];constructor(t){super(),this.ws=t}_write(t,r,n){this.#e.push(t),this.#r+=t.length,this.run(n)}run(t){for(;;){if(this.#n===ss.INFO){if(this.#r<2)return t();let r=this.consume(2);if(this.#t.fin=(r[0]&128)!==0,this.#t.opcode=r[0]&15,this.#t.originalOpcode??=this.#t.opcode,this.#t.fragmented=!this.#t.fin&&this.#t.opcode!==os.CONTINUATION,this.#t.fragmented&&this.#t.opcode!==os.BINARY&&this.#t.opcode!==os.TEXT){ah(this.ws,"Invalid frame type was fragmented.");return}let n=r[1]&127;if(n<=125?(this.#t.payloadLength=n,this.#n=ss.READ_DATA):n===126?this.#n=ss.PAYLOADLENGTH_16:n===127&&(this.#n=ss.PAYLOADLENGTH_64),this.#t.fragmented&&n>125){ah(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#t.opcode===os.PING||this.#t.opcode===os.PONG||this.#t.opcode===os.CLOSE)&&n>125){ah(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#t.opcode===os.CLOSE){if(n===1){ah(this.ws,"Received close frame with a 1-byte body.");return}let i=this.consume(n);if(this.#t.closeInfo=this.parseCloseBody(!1,i),!this.ws[I_]){let s=Buffer.allocUnsafe(2);s.writeUInt16BE(this.#t.closeInfo.code,0);let a=new m_(s);this.ws[B_].socket.write(a.createFrame(os.CLOSE),c=>{c||(this.ws[I_]=!0)})}this.ws[sY]=nY.CLOSING,this.ws[y_]=!0,this.end();return}else if(this.#t.opcode===os.PING){let i=this.consume(n);if(!this.ws[y_]){let s=new m_(i);this.ws[B_].socket.write(s.createFrame(os.PONG)),pl.ping.hasSubscribers&&pl.ping.publish({payload:i})}if(this.#n=ss.INFO,this.#r>0)continue;t();return}else if(this.#t.opcode===os.PONG){let i=this.consume(n);if(pl.pong.hasSubscribers&&pl.pong.publish({payload:i}),this.#r>0)continue;t();return}}else if(this.#n===ss.PAYLOADLENGTH_16){if(this.#r<2)return t();let r=this.consume(2);this.#t.payloadLength=r.readUInt16BE(0),this.#n=ss.READ_DATA}else if(this.#n===ss.PAYLOADLENGTH_64){if(this.#r<8)return t();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){ah(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#t.payloadLength=(n<<8)+i,this.#n=ss.READ_DATA}else if(this.#n===ss.READ_DATA){if(this.#r=this.#t.payloadLength){let r=this.consume(this.#t.payloadLength);if(this.#i.push(r),!this.#t.fragmented||this.#t.fin&&this.#t.opcode===os.CONTINUATION){let n=Buffer.concat(this.#i);oY(this.ws,this.#t.originalOpcode,n),this.#t={},this.#i.length=0}this.#n=ss.INFO}}if(!(this.#r>0)){t();break}}}consume(t){if(t>this.#r)return null;if(t===0)return iY;if(this.#e[0].length===t)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(t),n=0;for(;n!==t;){let i=this.#e[0],{length:s}=i;if(s+n===t){r.set(this.#e.shift(),n);break}else if(s+n>t){r.set(i.subarray(0,t-n),n),this.#e[0]=i.subarray(t-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#r-=t,r}parseCloseBody(t,r){let n;if(r.length>=2&&(n=r.readUInt16BE(0)),t)return Q_(n)?{code:n}:null;let i=r.subarray(2);if(i[0]===239&&i[1]===187&&i[2]===191&&(i=i.subarray(3)),n!==void 0&&!Q_(n))return null;try{i=new TextDecoder("utf-8",{fatal:!0}).decode(i)}catch{return null}return{code:n,reason:i}}get closingInfo(){return this.#t.closeInfo}};w_.exports={ByteParser:Iy}});var L_=Re((Bte,T_)=>{"use strict";var{webidl:ct}=jn(),{DOMException:xA}=RA(),{URLSerializer:AY}=Cs(),{getGlobalOrigin:aY}=Fc(),{staticPropertyDescriptors:MA,states:Cl,opcodes:ch,emptyBuffer:cY}=El(),{kWebSocketURL:S_,kReadyState:jo,kController:lY,kBinaryType:Rd,kResponse:_d,kSentClose:uY,kByteParser:hY}=Ah(),{isEstablished:R_,isClosing:__,isValidSubprotocol:fY,failWebsocketConnection:gY,fireEvent:dY}=Sd(),{establishWebSocketConnection:EY}=E_(),{WebsocketFrameSend:lh}=Cy(),{ByteParser:pY}=v_(),{kEnumerableProperty:As,isBlobLike:D_}=Nt(),{getGlobalDispatcher:CY}=il(),{types:N_}=require("util"),k_=!1,Vi=class e extends EventTarget{#e={open:null,error:null,close:null,message:null};#r=0;#n="";#t="";constructor(t,r=[]){super(),ct.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"}),k_||(k_=!0,process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"}));let n=ct.converters["DOMString or sequence or WebSocketInit"](r);t=ct.converters.USVString(t),r=n.protocols;let i=aY(),s;try{s=new URL(t,i)}catch(a){throw new xA(a,"SyntaxError")}if(s.protocol==="http:"?s.protocol="ws:":s.protocol==="https:"&&(s.protocol="wss:"),s.protocol!=="ws:"&&s.protocol!=="wss:")throw new xA(`Expected a ws: or wss: protocol, got ${s.protocol}`,"SyntaxError");if(s.hash||s.href.endsWith("#"))throw new xA("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(a=>a.toLowerCase())).size)throw new xA("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(a=>fY(a)))throw new xA("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[S_]=new URL(s.href),this[lY]=EY(s,r,this,a=>this.#i(a),n),this[jo]=e.CONNECTING,this[Rd]="blob"}close(t=void 0,r=void 0){if(ct.brandCheck(this,e),t!==void 0&&(t=ct.converters["unsigned short"](t,{clamp:!0})),r!==void 0&&(r=ct.converters.USVString(r)),t!==void 0&&t!==1e3&&(t<3e3||t>4999))throw new xA("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new xA(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");if(!(this[jo]===e.CLOSING||this[jo]===e.CLOSED))if(!R_(this))gY(this,"Connection was closed before it was established."),this[jo]=e.CLOSING;else if(__(this))this[jo]=e.CLOSING;else{let i=new lh;t!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):t!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=cY,this[_d].socket.write(i.createFrame(ch.CLOSE),a=>{a||(this[uY]=!0)}),this[jo]=Cl.CLOSING}}send(t){if(ct.brandCheck(this,e),ct.argumentLengthCheck(arguments,1,{header:"WebSocket.send"}),t=ct.converters.WebSocketSendData(t),this[jo]===e.CONNECTING)throw new xA("Sent before connected.","InvalidStateError");if(!R_(this)||__(this))return;let r=this[_d].socket;if(typeof t=="string"){let n=Buffer.from(t),s=new lh(n).createFrame(ch.TEXT);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(N_.isArrayBuffer(t)){let n=Buffer.from(t),s=new lh(n).createFrame(ch.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(ArrayBuffer.isView(t)){let n=Buffer.from(t,t.byteOffset,t.byteLength),s=new lh(n).createFrame(ch.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(D_(t)){let n=new lh;t.arrayBuffer().then(i=>{let s=Buffer.from(i);n.frameData=s;let a=n.createFrame(ch.BINARY);this.#r+=s.byteLength,r.write(a,()=>{this.#r-=s.byteLength})})}}get readyState(){return ct.brandCheck(this,e),this[jo]}get bufferedAmount(){return ct.brandCheck(this,e),this.#r}get url(){return ct.brandCheck(this,e),AY(this[S_])}get extensions(){return ct.brandCheck(this,e),this.#t}get protocol(){return ct.brandCheck(this,e),this.#n}get onopen(){return ct.brandCheck(this,e),this.#e.open}set onopen(t){ct.brandCheck(this,e),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof t=="function"?(this.#e.open=t,this.addEventListener("open",t)):this.#e.open=null}get onerror(){return ct.brandCheck(this,e),this.#e.error}set onerror(t){ct.brandCheck(this,e),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof t=="function"?(this.#e.error=t,this.addEventListener("error",t)):this.#e.error=null}get onclose(){return ct.brandCheck(this,e),this.#e.close}set onclose(t){ct.brandCheck(this,e),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof t=="function"?(this.#e.close=t,this.addEventListener("close",t)):this.#e.close=null}get onmessage(){return ct.brandCheck(this,e),this.#e.message}set onmessage(t){ct.brandCheck(this,e),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof t=="function"?(this.#e.message=t,this.addEventListener("message",t)):this.#e.message=null}get binaryType(){return ct.brandCheck(this,e),this[Rd]}set binaryType(t){ct.brandCheck(this,e),t!=="blob"&&t!=="arraybuffer"?this[Rd]="blob":this[Rd]=t}#i(t){this[_d]=t;let r=new pY(this);r.on("drain",function(){this.ws[_d].socket.resume()}),t.socket.ws=this,this[hY]=r,this[jo]=Cl.OPEN;let n=t.headersList.get("sec-websocket-extensions");n!==null&&(this.#t=n);let i=t.headersList.get("sec-websocket-protocol");i!==null&&(this.#n=i),dY("open",this)}};Vi.CONNECTING=Vi.prototype.CONNECTING=Cl.CONNECTING;Vi.OPEN=Vi.prototype.OPEN=Cl.OPEN;Vi.CLOSING=Vi.prototype.CLOSING=Cl.CLOSING;Vi.CLOSED=Vi.prototype.CLOSED=Cl.CLOSED;Object.defineProperties(Vi.prototype,{CONNECTING:MA,OPEN:MA,CLOSING:MA,CLOSED:MA,url:As,readyState:As,bufferedAmount:As,onopen:As,onerror:As,onclose:As,close:As,onmessage:As,binaryType:As,send:As,extensions:As,protocol:As,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Vi,{CONNECTING:MA,OPEN:MA,CLOSING:MA,CLOSED:MA});ct.converters["sequence"]=ct.sequenceConverter(ct.converters.DOMString);ct.converters["DOMString or sequence"]=function(e){return ct.util.Type(e)==="Object"&&Symbol.iterator in e?ct.converters["sequence"](e):ct.converters.DOMString(e)};ct.converters.WebSocketInit=ct.dictionaryConverter([{key:"protocols",converter:ct.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return CY()}},{key:"headers",converter:ct.nullableConverter(ct.converters.HeadersInit)}]);ct.converters["DOMString or sequence or WebSocketInit"]=function(e){return ct.util.Type(e)==="Object"&&!(Symbol.iterator in e)?ct.converters.WebSocketInit(e):{protocols:ct.converters["DOMString or sequence"](e)}};ct.converters.WebSocketSendData=function(e){if(ct.util.Type(e)==="Object"){if(D_(e))return ct.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||N_.isAnyArrayBuffer(e))return ct.converters.BufferSource(e)}return ct.converters.USVString(e)};T_.exports={WebSocket:Vi}});var M_=Re((yte,dt)=>{"use strict";var IY=Hu(),F_=lg(),U_=Ar(),BY=zc(),yY=z1(),QY=Wu(),Ta=Nt(),{InvalidArgumentError:kd}=U_,Il=PS(),mY=Fu(),bY=_B(),wY=QR(),vY=NB(),SY=pB(),RY=RR(),_Y=TR(),{getGlobalDispatcher:x_,setGlobalDispatcher:kY}=il(),DY=OR(),NY=RI(),TY=gg(),By;try{require("crypto"),By=!0}catch{By=!1}Object.assign(F_.prototype,Il);dt.exports.Dispatcher=F_;dt.exports.Client=IY;dt.exports.Pool=BY;dt.exports.BalancedPool=yY;dt.exports.Agent=QY;dt.exports.ProxyAgent=RY;dt.exports.RetryHandler=_Y;dt.exports.DecoratorHandler=DY;dt.exports.RedirectHandler=NY;dt.exports.createRedirectInterceptor=TY;dt.exports.buildConnector=mY;dt.exports.errors=U_;function uh(e){return(t,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!t||typeof t!="string"&&typeof t!="object"&&!(t instanceof URL))throw new kd("invalid url");if(r!=null&&typeof r!="object")throw new kd("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new kd("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),t=new URL(Ta.parseOrigin(t).origin+a)}else r||(r=typeof t=="object"?t:{}),t=Ta.parseURL(t);let{agent:i,dispatcher:s=x_()}=r;if(i)throw new kd("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}dt.exports.setGlobalDispatcher=kY;dt.exports.getGlobalDispatcher=x_;if(Ta.nodeMajor>16||Ta.nodeMajor===16&&Ta.nodeMinor>=8){let e=null;dt.exports.fetch=async function(a){e||(e=cd().fetch);try{return await e(...arguments)}catch(c){throw typeof c=="object"&&Error.captureStackTrace(c,this),c}},dt.exports.Headers=Ra().Headers,dt.exports.Response=Xg().Response,dt.exports.Request=rh().Request,dt.exports.FormData=Ag().FormData,dt.exports.File=sg().File,dt.exports.FileReader=F2().FileReader;let{setGlobalOrigin:t,getGlobalOrigin:r}=Fc();dt.exports.setGlobalOrigin=t,dt.exports.getGlobalOrigin=r;let{CacheStorage:n}=W2(),{kConstruct:i}=fd();dt.exports.caches=new n(i)}if(Ta.nodeMajor>=16){let{deleteCookie:e,getCookies:t,getSetCookies:r,setCookie:n}=i_();dt.exports.deleteCookie=e,dt.exports.getCookies=t,dt.exports.getSetCookies=r,dt.exports.setCookie=n;let{parseMIMEType:i,serializeAMimeType:s}=Cs();dt.exports.parseMIMEType=i,dt.exports.serializeAMimeType=s}if(Ta.nodeMajor>=18&&By){let{WebSocket:e}=L_();dt.exports.WebSocket=e}dt.exports.request=uh(Il.request);dt.exports.stream=uh(Il.stream);dt.exports.pipeline=uh(Il.pipeline);dt.exports.connect=uh(Il.connect);dt.exports.upgrade=uh(Il.upgrade);dt.exports.MockClient=bY;dt.exports.MockPool=vY;dt.exports.MockAgent=wY;dt.exports.mockErrors=SY});var P_=Re(hr=>{"use strict";var LY=hr&&hr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),FY=hr&&hr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Fd=hr&&hr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&LY(t,e,r);return FY(t,e),t},jr=hr&&hr.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(hr,"__esModule",{value:!0});hr.HttpClient=hr.isHttps=hr.HttpClientResponse=hr.HttpClientError=hr.getProxyUrl=hr.MediaTypes=hr.Headers=hr.HttpCodes=void 0;var yy=Fd(require("http")),O_=Fd(require("https")),Qy=Fd(Zb()),Dd=Fd(sw()),UY=M_(),as;(function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"})(as||(hr.HttpCodes=as={}));var xn;(function(e){e.Accept="accept",e.ContentType="content-type"})(xn||(hr.Headers=xn={}));var zo;(function(e){e.ApplicationJson="application/json"})(zo||(hr.MediaTypes=zo={}));function xY(e){let t=Qy.getProxyUrl(new URL(e));return t?t.href:""}hr.getProxyUrl=xY;var MY=[as.MovedPermanently,as.ResourceMoved,as.SeeOther,as.TemporaryRedirect,as.PermanentRedirect],OY=[as.BadGateway,as.ServiceUnavailable,as.GatewayTimeout],PY=["OPTIONS","GET","DELETE","HEAD"],qY=10,VY=5,Td=class e extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,e.prototype)}};hr.HttpClientError=Td;var Ld=class{constructor(t){this.message=t}readBody(){return jr(this,void 0,void 0,function*(){return new Promise(t=>jr(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}readBodyBuffer(){return jr(this,void 0,void 0,function*(){return new Promise(t=>jr(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{t(Buffer.concat(r))})}))})}};hr.HttpClientResponse=Ld;function HY(e){return new URL(e).protocol==="https:"}hr.isHttps=HY;var my=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return jr(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return jr(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return jr(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return jr(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return jr(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return jr(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return jr(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return jr(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return jr(this,void 0,void 0,function*(){r[xn.Accept]=this._getExistingOrDefaultHeader(r,xn.Accept,zo.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return jr(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[xn.Accept]=this._getExistingOrDefaultHeader(n,xn.Accept,zo.ApplicationJson),n[xn.ContentType]=this._getExistingOrDefaultHeader(n,xn.ContentType,zo.ApplicationJson);let s=yield this.post(t,i,n);return this._processResponse(s,this.requestOptions)})}putJson(t,r,n={}){return jr(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[xn.Accept]=this._getExistingOrDefaultHeader(n,xn.Accept,zo.ApplicationJson),n[xn.ContentType]=this._getExistingOrDefaultHeader(n,xn.ContentType,zo.ApplicationJson);let s=yield this.put(t,i,n);return this._processResponse(s,this.requestOptions)})}patchJson(t,r,n={}){return jr(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[xn.Accept]=this._getExistingOrDefaultHeader(n,xn.Accept,zo.ApplicationJson),n[xn.ContentType]=this._getExistingOrDefaultHeader(n,xn.ContentType,zo.ApplicationJson);let s=yield this.patch(t,i,n);return this._processResponse(s,this.requestOptions)})}request(t,r,n,i){return jr(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(t,s,i),c=this._allowRetries&&PY.includes(t)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===as.Unauthorized){let h;for(let g of this.handlers)if(g.canHandleAuthentication(A)){h=g;break}return h?h.handleAuthentication(this,a,n):A}let f=this._maxRedirects;for(;A.message.statusCode&&MY.includes(A.message.statusCode)&&this._allowRedirects&&f>0;){let h=A.message.headers.location;if(!h)break;let g=new URL(h);if(s.protocol==="https:"&&s.protocol!==g.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield A.readBody(),g.hostname!==s.hostname)for(let b in i)b.toLowerCase()==="authorization"&&delete i[b];a=this._prepareRequest(t,g,i),A=yield this.requestRaw(a,n),f--}if(!A.message.statusCode||!OY.includes(A.message.statusCode))return A;l+=1,l{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,s)})})}requestRawWithCallback(t,r,n){typeof r=="string"&&(t.options.headers||(t.options.headers={}),t.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,A){i||(i=!0,n(l,A))}let a=t.httpModule.request(t.options,l=>{let A=new Ld(l);s(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${t.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}getAgentDispatcher(t){let r=new URL(t),n=Qy.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?O_:yy;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Nd(this.requestOptions.headers),Nd(t||{})):Nd(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=Nd(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=Qy.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=t.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||yy.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";s?l=A?Dd.httpsOverHttps:Dd.httpsOverHttp:l=A?Dd.httpOverHttps:Dd.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new O_.Agent(c):new yy.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(t,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=t.protocol==="https:";return n=new UY.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`${r.username}:${r.password}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_performExponentialBackoff(t){return jr(this,void 0,void 0,function*(){t=Math.min(qY,t);let r=VY*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return jr(this,void 0,void 0,function*(){return new Promise((n,i)=>jr(this,void 0,void 0,function*(){let s=t.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===as.NotFound&&n(a);function c(f,h){if(typeof h=="string"){let g=new Date(h);if(!isNaN(g.valueOf()))return g}return h}let l,A;try{A=yield t.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=t.message.headers}catch{}if(s>299){let f;l&&l.message?f=l.message:A&&A.length>0?f=A:f=`Failed request: (${s})`;let h=new Td(f,s);h.result=a.result,i(h)}else n(a)}))})}};hr.HttpClient=my;var Nd=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var q_=Re(ro=>{"use strict";var Sy=ro&&ro.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(ro,"__esModule",{value:!0});ro.PersonalAccessTokenCredentialHandler=ro.BearerCredentialHandler=ro.BasicCredentialHandler=void 0;var by=class{constructor(t,r){this.username=t,this.password=r}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return Sy(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ro.BasicCredentialHandler=by;var wy=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return Sy(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ro.BearerCredentialHandler=wy;var vy=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return Sy(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ro.PersonalAccessTokenCredentialHandler=vy});var G_=Re(Bl=>{"use strict";var V_=Bl&&Bl.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.OidcClient=void 0;var GY=P_(),YY=q_(),H_=_y(),Ry=class e{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new GY.HttpClient("actions/oidc-client",[new YY.BearerCredentialHandler(e.getRequestToken())],n)}static getRequestToken(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return t}static getIDTokenUrl(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return t}static getCall(t){var r;return V_(this,void 0,void 0,function*(){let s=(r=(yield e.createHttpClient().getJson(t).catch(a=>{throw new Error(`Failed to get ID Token. Error Code : ${a.statusCode} - Error Message: ${a.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(t){return V_(this,void 0,void 0,function*(){try{let r=e.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}H_.debug(`ID token url is ${r}`);let n=yield e.getCall(r);return H_.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};Bl.OidcClient=Ry});var Ty=Re(pi=>{"use strict";var ky=pi&&pi.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(pi,"__esModule",{value:!0});pi.summary=pi.markdownSummary=pi.SUMMARY_DOCS_URL=pi.SUMMARY_ENV_VAR=void 0;var YY=require("os"),Dy=require("fs"),{access:JY,appendFile:WY,writeFile:jY}=Dy.promises;pi.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";pi.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Ny=class{constructor(){this._buffer=""}filePath(){return ky(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[pi.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${pi.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield JY(t,Dy.constants.R_OK|Dy.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath})}wrap(t,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return ky(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?jY:WY)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ky(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(t,r=!1){return this._buffer+=t,r?this.addEOL():this}addEOL(){return this.addRaw(YY.EOL)}addCodeBlock(t,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",t),n);return this.addRaw(i).addEOL()}addList(t,r=!1){let n=r?"ol":"ul",i=t.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(t){let r=t.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:f}=a,h=c?"th":"td",g=Object.assign(Object.assign({},A&&{colspan:A}),f&&{rowspan:f});return this.wrap(h,l,g)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(t,r){let n=this.wrap("details",this.wrap("summary",t)+r);return this.addRaw(n).addEOL()}addImage(t,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:t,alt:r},a));return this.addRaw(c).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,t);return this.addRaw(s).addEOL()}addSeparator(){let t=this.wrap("hr",null);return this.addRaw(t).addEOL()}addBreak(){let t=this.wrap("br",null);return this.addRaw(t).addEOL()}addQuote(t,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",t,n);return this.addRaw(i).addEOL()}addLink(t,r){let n=this.wrap("a",t,{href:r});return this.addRaw(n).addEOL()}},Y_=new Ny;pi.markdownSummary=Y_;pi.summary=Y_});var J_=Re(Ci=>{"use strict";var zY=Ci&&Ci.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),KY=Ci&&Ci.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),XY=Ci&&Ci.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&zY(t,e,r);return KY(t,e),t};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.toPlatformPath=Ci.toWin32Path=Ci.toPosixPath=void 0;var $Y=XY(require("path"));function ZY(e){return e.replace(/[\\]/g,"/")}Ci.toPosixPath=ZY;function eJ(e){return e.replace(/[/]/g,"\\")}Ci.toWin32Path=eJ;function tJ(e){return e.replace(/[/\\]/g,$Y.sep)}Ci.toPlatformPath=tJ});var _y=Re(Je=>{"use strict";var rJ=Je&&Je.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),nJ=Je&&Je.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),W_=Je&&Je.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&rJ(t,e,r);return nJ(t,e),t},j_=Je&&Je.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(Je,"__esModule",{value:!0});Je.getIDToken=Je.getState=Je.saveState=Je.group=Je.endGroup=Je.startGroup=Je.info=Je.notice=Je.warning=Je.error=Je.debug=Je.isDebug=Je.setFailed=Je.setCommandEcho=Je.setOutput=Je.getBooleanInput=Je.getMultilineInput=Je.getInput=Je.addPath=Je.setSecret=Je.exportVariable=Je.ExitCode=void 0;var cs=mb(),La=Xb(),yl=qf(),z_=W_(require("os")),iJ=W_(require("path")),sJ=G_(),K_;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(K_=Je.ExitCode||(Je.ExitCode={}));function oJ(e,t){let r=yl.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return La.issueFileCommand("ENV",La.prepareKeyValueMessage(e,t));cs.issueCommand("set-env",{name:e},r)}Je.exportVariable=oJ;function AJ(e){cs.issueCommand("add-mask",{},e)}Je.setSecret=AJ;function aJ(e){process.env.GITHUB_PATH||""?La.issueFileCommand("PATH",e):cs.issueCommand("add-path",{},e),process.env.PATH=`${e}${iJ.delimiter}${process.env.PATH}`}Je.addPath=aJ;function Ly(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}Je.getInput=Ly;function cJ(e,t){let r=Ly(e,t).split(` -`).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}Je.getMultilineInput=cJ;function lJ(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Ly(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}Je.getBooleanInput=lJ;function uJ(e,t){if(process.env.GITHUB_OUTPUT||"")return La.issueFileCommand("OUTPUT",La.prepareKeyValueMessage(e,t));process.stdout.write(z_.EOL),cs.issueCommand("set-output",{name:e},yl.toCommandValue(t))}Je.setOutput=uJ;function hJ(e){cs.issue("echo",e?"on":"off")}Je.setCommandEcho=hJ;function fJ(e){process.exitCode=K_.Failure,X_(e)}Je.setFailed=fJ;function gJ(){return process.env.RUNNER_DEBUG==="1"}Je.isDebug=gJ;function dJ(e){cs.issueCommand("debug",{},e)}Je.debug=dJ;function X_(e,t={}){cs.issueCommand("error",yl.toCommandProperties(t),e instanceof Error?e.toString():e)}Je.error=X_;function EJ(e,t={}){cs.issueCommand("warning",yl.toCommandProperties(t),e instanceof Error?e.toString():e)}Je.warning=EJ;function pJ(e,t={}){cs.issueCommand("notice",yl.toCommandProperties(t),e instanceof Error?e.toString():e)}Je.notice=pJ;function CJ(e){process.stdout.write(e+z_.EOL)}Je.info=CJ;function $_(e){cs.issue("group",e)}Je.startGroup=$_;function Z_(){cs.issue("endgroup")}Je.endGroup=Z_;function IJ(e,t){return j_(this,void 0,void 0,function*(){$_(e);let r;try{r=yield t()}finally{Z_()}return r})}Je.group=IJ;function BJ(e,t){if(process.env.GITHUB_STATE||"")return La.issueFileCommand("STATE",La.prepareKeyValueMessage(e,t));cs.issueCommand("save-state",{name:e},yl.toCommandValue(t))}Je.saveState=BJ;function yJ(e){return process.env[`STATE_${e}`]||""}Je.getState=yJ;function QJ(e){return j_(this,void 0,void 0,function*(){return yield sJ.OidcClient.getIDToken(e)})}Je.getIDToken=QJ;var mJ=Ty();Object.defineProperty(Je,"summary",{enumerable:!0,get:function(){return mJ.summary}});var bJ=Ty();Object.defineProperty(Je,"markdownSummary",{enumerable:!0,get:function(){return bJ.markdownSummary}});var Fy=J_();Object.defineProperty(Je,"toPosixPath",{enumerable:!0,get:function(){return Fy.toPosixPath}});Object.defineProperty(Je,"toWin32Path",{enumerable:!0,get:function(){return Fy.toWin32Path}});Object.defineProperty(Je,"toPlatformPath",{enumerable:!0,get:function(){return Fy.toPlatformPath}})});var oL=Re((Gte,sL)=>{var wJ=Object.create,DE=Object.defineProperty,vJ=Object.getOwnPropertyDescriptor,SJ=Object.getOwnPropertyNames,RJ=Object.getPrototypeOf,_J=Object.prototype.hasOwnProperty,_e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kJ=(e,t)=>{for(var r in t)DE(e,r,{get:t[r],enumerable:!0})},CD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of SJ(t))!_J.call(e,i)&&i!==r&&DE(e,i,{get:()=>t[i],enumerable:!(n=vJ(t,i))||n.enumerable});return e},$t=(e,t,r)=>(r=e!=null?wJ(RJ(e)):{},CD(t||!e||!e.__esModule?DE(r,"default",{value:e,enumerable:!0}):r,e)),DJ=e=>CD(DE({},"__esModule",{value:!0}),e),NJ=_e((e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(i){return i.encrypted}var n=(i,s)=>{let a;typeof s=="function"?a={connect:s}:a=s;let c=typeof a.connect=="function",l=typeof a.secureConnect=="function",A=typeof a.close=="function",f=()=>{c&&a.connect(),r(i)&&l&&(i.authorized?a.secureConnect():i.authorizationError||i.once("secureConnect",a.secureConnect)),A&&i.once("close",a.close)};i.writable&&!i.connecting?f():i.connecting?i.once("connect",f):i.destroyed&&A&&a.close(i._hadError)};e.default=n,t.exports=n,t.exports.default=n}),TJ=_e((e,t)=>{"use strict";var{PassThrough:r}=require("stream");t.exports=n=>{n={...n};let{array:i}=n,{encoding:s}=n,a=s==="buffer",c=!1;i?c=!(s||a):s=s||"utf8",a&&(s=null);let l=new r({objectMode:c});s&&l.setEncoding(s);let A=0,f=[];return l.on("data",h=>{f.push(h),c?A=f.length:A+=h.length}),l.getBufferedValue=()=>i?f:a?Buffer.concat(f,A):f.join(""),l.getBufferedLength=()=>A,l}}),j0=_e((e,t)=>{"use strict";var{constants:r}=require("buffer"),n=require("stream"),{promisify:i}=require("util"),s=TJ(),a=i(n.pipeline),c=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function l(A,f){if(!A)throw new Error("Expected a stream");f={maxBuffer:1/0,...f};let{maxBuffer:h}=f,g=s(f);return await new Promise((b,C)=>{let p=Q=>{Q&&g.getBufferedLength()<=r.MAX_LENGTH&&(Q.bufferedData=g.getBufferedValue()),C(Q)};(async()=>{try{await a(A,g),b()}catch(Q){p(Q)}})(),g.on("data",()=>{g.getBufferedLength()>h&&p(new c)})}),g.getBufferedValue()}t.exports=l,t.exports.buffer=(A,f)=>l(A,{...f,encoding:"buffer"}),t.exports.array=(A,f)=>l(A,{...f,array:!0}),t.exports.MaxBufferError=c}),LJ=_e((e,t)=>{"use strict";var r=new Set([200,203,204,206,300,301,308,404,405,410,414,501]),n=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]),i=new Set([500,502,503,504]),s={date:!0,connection:!0,"keep-alive":!0,"proxy-authenticate":!0,"proxy-authorization":!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0},a={"content-length":!0,"content-encoding":!0,"transfer-encoding":!0,"content-range":!0};function c(h){let g=parseInt(h,10);return isFinite(g)?g:0}function l(h){return h?i.has(h.status):!0}function A(h){let g={};if(!h)return g;let b=h.trim().split(/,/);for(let C of b){let[p,Q]=C.split(/=/,2);g[p.trim()]=Q===void 0?!0:Q.trim().replace(/^"|"$/g,"")}return g}function f(h){let g=[];for(let b in h){let C=h[b];g.push(C===!0?b:b+"="+C)}if(g.length)return g.join(", ")}t.exports=class{constructor(h,g,{shared:b,cacheHeuristic:C,immutableMinTimeToLive:p,ignoreCargoCult:Q,_fromObject:R}={}){if(R){this._fromObject(R);return}if(!g||!g.headers)throw Error("Response headers missing");this._assertRequestHasHeaders(h),this._responseTime=this.now(),this._isShared=b!==!1,this._cacheHeuristic=C!==void 0?C:.1,this._immutableMinTtl=p!==void 0?p:24*3600*1e3,this._status="status"in g?g.status:200,this._resHeaders=g.headers,this._rescc=A(g.headers["cache-control"]),this._method="method"in h?h.method:"GET",this._url=h.url,this._host=h.headers.host,this._noAuthorization=!h.headers.authorization,this._reqHeaders=g.headers.vary?h.headers:null,this._reqcc=A(h.headers["cache-control"]),Q&&"pre-check"in this._rescc&&"post-check"in this._rescc&&(delete this._rescc["pre-check"],delete this._rescc["post-check"],delete this._rescc["no-cache"],delete this._rescc["no-store"],delete this._rescc["must-revalidate"],this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":f(this._rescc)}),delete this._resHeaders.expires,delete this._resHeaders.pragma),g.headers["cache-control"]==null&&/no-cache/.test(g.headers.pragma)&&(this._rescc["no-cache"]=!0)}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&(this._method==="GET"||this._method==="HEAD"||this._method==="POST"&&this._hasExplicitExpiration())&&n.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||r.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(h){if(!h||!h.headers)throw Error("Request headers missing")}satisfiesWithoutRevalidation(h){this._assertRequestHasHeaders(h);let g=A(h.headers["cache-control"]);return g["no-cache"]||/no-cache/.test(h.headers.pragma)||g["max-age"]&&this.age()>g["max-age"]||g["min-fresh"]&&this.timeToLive()<1e3*g["min-fresh"]||this.stale()&&!(g["max-stale"]&&!this._rescc["must-revalidate"]&&(g["max-stale"]===!0||g["max-stale"]>this.age()-this.maxAge()))?!1:this._requestMatches(h,!1)}_requestMatches(h,g){return(!this._url||this._url===h.url)&&this._host===h.headers.host&&(!h.method||this._method===h.method||g&&h.method==="HEAD")&&this._varyMatches(h)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(h){if(!this._resHeaders.vary)return!0;if(this._resHeaders.vary==="*")return!1;let g=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(let b of g)if(h.headers[b]!==this._reqHeaders[b])return!1;return!0}_copyWithoutHopByHopHeaders(h){let g={};for(let b in h)s[b]||(g[b]=h[b]);if(h.connection){let b=h.connection.trim().split(/\s*,\s*/);for(let C of b)delete g[C]}if(g.warning){let b=g.warning.split(/,/).filter(C=>!/^\s*1[0-9][0-9]/.test(C));b.length?g.warning=b.join(",").trim():delete g.warning}return g}responseHeaders(){let h=this._copyWithoutHopByHopHeaders(this._resHeaders),g=this.age();return g>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24&&(h.warning=(h.warning?`${h.warning}, `:"")+'113 - "rfc7234 5.5.4"'),h.age=`${Math.round(g)}`,h.date=new Date(this.now()).toUTCString(),h}date(){let h=Date.parse(this._resHeaders.date);return isFinite(h)?h:this._responseTime}age(){let h=this._ageValue(),g=(this.now()-this._responseTime)/1e3;return h+g}_ageValue(){return c(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable||this._resHeaders.vary==="*")return 0;if(this._isShared){if(this._rescc["proxy-revalidate"])return 0;if(this._rescc["s-maxage"])return c(this._rescc["s-maxage"])}if(this._rescc["max-age"])return c(this._rescc["max-age"]);let h=this._rescc.immutable?this._immutableMinTtl:0,g=this.date();if(this._resHeaders.expires){let b=Date.parse(this._resHeaders.expires);return Number.isNaN(b)||bb)return Math.max(h,(g-b)/1e3*this._cacheHeuristic)}return h}timeToLive(){let h=this.maxAge()-this.age(),g=h+c(this._rescc["stale-if-error"]),b=h+c(this._rescc["stale-while-revalidate"]);return Math.max(0,h,g,b)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+c(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+c(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(h){return new this(void 0,void 0,{_fromObject:h})}_fromObject(h){if(this._responseTime)throw Error("Reinitialized");if(!h||h.v!==1)throw Error("Invalid serialization");this._responseTime=h.t,this._isShared=h.sh,this._cacheHeuristic=h.ch,this._immutableMinTtl=h.imm!==void 0?h.imm:24*3600*1e3,this._status=h.st,this._resHeaders=h.resh,this._rescc=h.rescc,this._method=h.m,this._url=h.u,this._host=h.h,this._noAuthorization=h.a,this._reqHeaders=h.reqh,this._reqcc=h.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(h){this._assertRequestHasHeaders(h);let g=this._copyWithoutHopByHopHeaders(h.headers);if(delete g["if-range"],!this._requestMatches(h,!0)||!this.storable())return delete g["if-none-match"],delete g["if-modified-since"],g;if(this._resHeaders.etag&&(g["if-none-match"]=g["if-none-match"]?`${g["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag),g["accept-ranges"]||g["if-match"]||g["if-unmodified-since"]||this._method&&this._method!="GET"){if(delete g["if-modified-since"],g["if-none-match"]){let b=g["if-none-match"].split(/,/).filter(C=>!/^\s*W\//.test(C));b.length?g["if-none-match"]=b.join(",").trim():delete g["if-none-match"]}}else this._resHeaders["last-modified"]&&!g["if-modified-since"]&&(g["if-modified-since"]=this._resHeaders["last-modified"]);return g}revalidatedPolicy(h,g){if(this._assertRequestHasHeaders(h),this._useStaleIfError()&&l(g))return{modified:!1,matches:!1,policy:this};if(!g||!g.headers)throw Error("Response headers missing");let b=!1;if(g.status!==void 0&&g.status!=304?b=!1:g.headers.etag&&!/^\s*W\//.test(g.headers.etag)?b=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===g.headers.etag:this._resHeaders.etag&&g.headers.etag?b=this._resHeaders.etag.replace(/^\s*W\//,"")===g.headers.etag.replace(/^\s*W\//,""):this._resHeaders["last-modified"]?b=this._resHeaders["last-modified"]===g.headers["last-modified"]:!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!g.headers.etag&&!g.headers["last-modified"]&&(b=!0),!b)return{policy:new this.constructor(h,g),modified:g.status!=304,matches:!1};let C={};for(let Q in this._resHeaders)C[Q]=Q in g.headers&&!a[Q]?g.headers[Q]:this._resHeaders[Q];let p=Object.assign({},g,{status:this._status,method:this._method,headers:C});return{policy:new this.constructor(h,p,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:!1,matches:!0}}}}),FJ=_e(e=>{e.stringify=function t(r){if(typeof r>"u")return r;if(r&&Buffer.isBuffer(r))return JSON.stringify(":base64:"+r.toString("base64"));if(r&&r.toJSON&&(r=r.toJSON()),r&&typeof r=="object"){var n="",i=Array.isArray(r);n=i?"[":"{";var s=!0;for(var a in r){var c=typeof r[a]=="function"||!i&&typeof r[a]>"u";Object.hasOwnProperty.call(r,a)&&!c&&(s||(n+=","),s=!1,i?r[a]==null?n+="null":n+=t(r[a]):r[a]!==void 0&&(n+=t(a)+":"+t(r[a])))}return n+=i?"]":"}",n}else return typeof r=="string"?JSON.stringify(/^:/.test(r)?":"+r:r):typeof r>"u"?"null":JSON.stringify(r)},e.parse=function(t){return JSON.parse(t,function(r,n){return typeof n=="string"?/^:base64:/.test(n)?Buffer.from(n.substring(8),"base64"):/^:/.test(n)?n.substring(1):n:n})}}),UJ=_e((e,t)=>{"use strict";var r=require("events"),n=FJ(),i=c=>{let l={redis:"@keyv/redis",rediss:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql",etcd:"@keyv/etcd",offline:"@keyv/offline",tiered:"@keyv/tiered"};if(c.adapter||c.uri){let A=c.adapter||/^[^:+]*/.exec(c.uri)[0];return new(require(l[A]))(c)}return new Map},s=["sqlite","postgres","mysql","mongo","redis","tiered"],a=class extends r{constructor(c,{emitErrors:l=!0,...A}={}){if(super(),this.opts={namespace:"keyv",serialize:n.stringify,deserialize:n.parse,...typeof c=="string"?{uri:c}:c,...A},!this.opts.store){let h={...this.opts};this.opts.store=i(h)}if(this.opts.compression){let h=this.opts.compression;this.opts.serialize=h.serialize.bind(h),this.opts.deserialize=h.deserialize.bind(h)}typeof this.opts.store.on=="function"&&l&&this.opts.store.on("error",h=>this.emit("error",h)),this.opts.store.namespace=this.opts.namespace;let f=h=>async function*(){for await(let[g,b]of typeof h=="function"?h(this.opts.store.namespace):h){let C=await this.opts.deserialize(b);if(!(this.opts.store.namespace&&!g.includes(this.opts.store.namespace))){if(typeof C.expires=="number"&&Date.now()>C.expires){this.delete(g);continue}yield[this._getKeyUnprefix(g),C.value]}}};typeof this.opts.store[Symbol.iterator]=="function"&&this.opts.store instanceof Map?this.iterator=f(this.opts.store):typeof this.opts.store.iterator=="function"&&this.opts.store.opts&&this._checkIterableAdaptar()&&(this.iterator=f(this.opts.store.iterator.bind(this.opts.store)))}_checkIterableAdaptar(){return s.includes(this.opts.store.opts.dialect)||s.findIndex(c=>this.opts.store.opts.url.includes(c))>=0}_getKeyPrefix(c){return`${this.opts.namespace}:${c}`}_getKeyPrefixArray(c){return c.map(l=>`${this.opts.namespace}:${l}`)}_getKeyUnprefix(c){return c.split(":").splice(1).join(":")}get(c,l){let{store:A}=this.opts,f=Array.isArray(c),h=f?this._getKeyPrefixArray(c):this._getKeyPrefix(c);if(f&&A.getMany===void 0){let g=[];for(let b of h)g.push(Promise.resolve().then(()=>A.get(b)).then(C=>typeof C=="string"?this.opts.deserialize(C):this.opts.compression?this.opts.deserialize(C):C).then(C=>{if(C!=null)return typeof C.expires=="number"&&Date.now()>C.expires?this.delete(b).then(()=>{}):l&&l.raw?C:C.value}));return Promise.allSettled(g).then(b=>{let C=[];for(let p of b)C.push(p.value);return C})}return Promise.resolve().then(()=>f?A.getMany(h):A.get(h)).then(g=>typeof g=="string"?this.opts.deserialize(g):this.opts.compression?this.opts.deserialize(g):g).then(g=>{if(g!=null)return f?g.map((b,C)=>{if(typeof b=="string"&&(b=this.opts.deserialize(b)),b!=null){if(typeof b.expires=="number"&&Date.now()>b.expires){this.delete(c[C]).then(()=>{});return}return l&&l.raw?b:b.value}}):typeof g.expires=="number"&&Date.now()>g.expires?this.delete(c).then(()=>{}):l&&l.raw?g:g.value})}set(c,l,A){let f=this._getKeyPrefix(c);typeof A>"u"&&(A=this.opts.ttl),A===0&&(A=void 0);let{store:h}=this.opts;return Promise.resolve().then(()=>{let g=typeof A=="number"?Date.now()+A:null;return typeof l=="symbol"&&this.emit("error","symbol cannot be serialized"),l={value:l,expires:g},this.opts.serialize(l)}).then(g=>h.set(f,g,A)).then(()=>!0)}delete(c){let{store:l}=this.opts;if(Array.isArray(c)){let f=this._getKeyPrefixArray(c);if(l.deleteMany===void 0){let h=[];for(let g of f)h.push(l.delete(g));return Promise.allSettled(h).then(g=>g.every(b=>b.value===!0))}return Promise.resolve().then(()=>l.deleteMany(f))}let A=this._getKeyPrefix(c);return Promise.resolve().then(()=>l.delete(A))}clear(){let{store:c}=this.opts;return Promise.resolve().then(()=>c.clear())}has(c){let l=this._getKeyPrefix(c),{store:A}=this.opts;return Promise.resolve().then(async()=>typeof A.has=="function"?A.has(l):await A.get(l)!==void 0)}disconnect(){let{store:c}=this.opts;if(typeof c.disconnect=="function")return c.disconnect()}};t.exports=a}),xJ=_e((e,t)=>{"use strict";var r=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];t.exports=(n,i)=>{if(i._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");let s=new Set(Object.keys(n).concat(r)),a={};for(let c of s)c in i||(a[c]={get(){let l=n[c];return typeof l=="function"?l.bind(n):l},set(l){n[c]=l},enumerable:!0,configurable:!1});return Object.defineProperties(i,a),n.once("aborted",()=>{i.destroy(),i.emit("aborted")}),n.once("close",()=>{n.complete&&i.readable?i.once("end",()=>{i.emit("close")}):i.emit("close")}),i}}),ID=_e((e,t)=>{"use strict";var{Transform:r,PassThrough:n}=require("stream"),i=require("zlib"),s=xJ();t.exports=a=>{let c=(a.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(c))return a;let l=c==="br";if(l&&typeof i.createBrotliDecompress!="function")return a.destroy(new Error("Brotli is not supported on Node.js < 12")),a;let A=!0,f=new r({transform(b,C,p){A=!1,p(null,b)},flush(b){b()}}),h=new n({autoDestroy:!1,destroy(b,C){a.destroy(),C(b)}}),g=l?i.createBrotliDecompress():i.createUnzip();return g.once("error",b=>{if(A&&!a.readable){h.end();return}h.destroy(b)}),s(a,h),a.pipe(f).pipe(g).pipe(h),h}}),BD=_e((e,t)=>{"use strict";var r=class{constructor(n={}){if(!(n.maxSize&&n.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=n.maxSize,this.onEviction=n.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(n,i){if(this.cache.set(n,i),this._size++,this._size>=this.maxSize){if(this._size=0,typeof this.onEviction=="function")for(let[s,a]of this.oldCache.entries())this.onEviction(s,a);this.oldCache=this.cache,this.cache=new Map}}get(n){if(this.cache.has(n))return this.cache.get(n);if(this.oldCache.has(n)){let i=this.oldCache.get(n);return this.oldCache.delete(n),this._set(n,i),i}}set(n,i){return this.cache.has(n)?this.cache.set(n,i):this._set(n,i),this}has(n){return this.cache.has(n)||this.oldCache.has(n)}peek(n){if(this.cache.has(n))return this.cache.get(n);if(this.oldCache.has(n))return this.oldCache.get(n)}delete(n){let i=this.cache.delete(n);return i&&this._size--,this.oldCache.delete(n)||i}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(let[n]of this)yield n}*values(){for(let[,n]of this)yield n}*[Symbol.iterator](){for(let n of this.cache)yield n;for(let n of this.oldCache){let[i]=n;this.cache.has(i)||(yield n)}}get size(){let n=0;for(let i of this.oldCache.keys())this.cache.has(i)||n++;return Math.min(this._size+n,this.maxSize)}};t.exports=r}),yD=_e((e,t)=>{"use strict";t.exports=r=>{if(r.listenerCount("error")!==0)return r;r.__destroy=r._destroy,r._destroy=(...i)=>{let s=i.pop();r.__destroy(...i,async a=>{await Promise.resolve(),s(a)})};let n=i=>{Promise.resolve().then(()=>{r.emit("error",i)})};return r.once("error",n),Promise.resolve().then(()=>{r.off("error",n)}),r}}),Ml=_e((e,t)=>{"use strict";var{URL:r}=require("url"),n=require("events"),i=require("tls"),s=require("http2"),a=BD(),c=yD(),l=Symbol("currentStreamCount"),A=Symbol("request"),f=Symbol("cachedOriginSet"),h=Symbol("gracefullyClosing"),g=Symbol("length"),b=["createConnection","maxDeflateDynamicTableSize","maxSettings","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","peerMaxConcurrentStreams","settings","family","localAddress","rejectUnauthorized","pskCallback","minDHSize","path","socket","ca","cert","sigalgs","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","honorCipherOrder","key","privateKeyEngine","privateKeyIdentifier","maxVersion","minVersion","pfx","secureOptions","secureProtocol","sessionIdContext","ticketKeys"],C=(S,m,T)=>{let L=0,v=S.length;for(;L>>1;T(S[I],m)?L=I+1:v=I}return L},p=(S,m)=>S.remoteSettings.maxConcurrentStreams>m.remoteSettings.maxConcurrentStreams,Q=(S,m)=>{for(let T=0;T0&&L[f].lengthm[f].includes(v))&&L[l]+m[l]<=m.remoteSettings.maxConcurrentStreams&&_(L)}},R=(S,m)=>{for(let T=0;T0&&m[f].lengthL[f].includes(v))&&m[l]+L[l]<=L.remoteSettings.maxConcurrentStreams)return _(m),!0}return!1},_=S=>{S[h]=!0,S[l]===0&&S.close()},d=class QD extends n{constructor({timeout:m=0,maxSessions:T=Number.POSITIVE_INFINITY,maxEmptySessions:L=10,maxCachedTlsSessions:v=100}={}){super(),this.sessions={},this.queue={},this.timeout=m,this.maxSessions=T,this.maxEmptySessions=L,this._emptySessionCount=0,this._sessionCount=0,this.settings={enablePush:!1,initialWindowSize:1024*1024*32},this.tlsSessionCache=new a({maxSize:v})}get protocol(){return"https:"}normalizeOptions(m){let T="";for(let L=0;L=this.maxSessions){this.closeEmptySessions(this.maxSessions-this._sessionCount+1);return}for(let m in this.queue)for(let T in this.queue[m]){let L=this.queue[m][T];L.completed||(L.completed=!0,L())}}_isBetterSession(m,T){return m>T}_accept(m,T,L,v){let I=0;for(;I0&&(this.getSession(L,v,T),T.length=0)}getSession(m,T,L){return new Promise((v,I)=>{Array.isArray(L)&&L.length>0?(L=[...L],v()):L=[{resolve:v,reject:I}];try{if(typeof m=="string")m=new r(m);else if(!(m instanceof r))throw new TypeError("The `origin` argument needs to be a string or an URL object");if(T){let{servername:w}=T,{hostname:N}=m;if(w&&N!==w)throw new Error(`Origin ${N} differs from servername ${w}`)}}catch(w){for(let N=0;N=se||ee[h]||ee.destroyed||(M||(N=se),this._isBetterSession(ce,F)&&(M=ee,F=ce))}if(M){this._accept(M,L,O,T);return}}if(E in this.queue){if(O in this.queue[E]){this.queue[E][O].listeners.push(...L);return}}else this.queue[E]={[g]:0};let q=()=>{E in this.queue&&this.queue[E][O]===V&&(delete this.queue[E][O],--this.queue[E][g]===0&&delete this.queue[E])},V=async()=>{this._sessionCount++;let w=`${O}:${E}`,N=!1,F;try{let M={...T};M.settings===void 0&&(M.settings=this.settings),M.session===void 0&&(M.session=this.tlsSessionCache.get(w)),F=await(M.createConnection||this.createConnection).call(this,m,M),M.createConnection=()=>F;let P=s.connect(m,M);P[l]=0,P[h]=!1;let ee=()=>{let{socket:ge}=P,Ee;return ge.servername===!1?(ge.servername=ge.remoteAddress,Ee=P.originSet,ge.servername=!1):Ee=P.originSet,Ee},se=()=>P[l]{this.tlsSessionCache.set(w,ge)}),P.once("error",ge=>{for(let Ee=0;Ee{P.destroy()}),P.once("close",()=>{if(this._sessionCount--,N){this._emptySessionCount--;let ge=this.sessions[E];ge.length===1?delete this.sessions[E]:ge.splice(ge.indexOf(P),1)}else{q();let ge=new Error("Session closed without receiving a SETTINGS frame");ge.code="HTTP2WRAPPER_NOSETTINGS";for(let Ee=0;Ee{let ge=this.queue[E];if(!ge)return;let Ee=P[f];for(let we=0;we{P[f]=ee()||[],P[h]=!1,R(this.sessions[E],P),!(P[h]||!se())&&(ce(),se()&&Q(this.sessions[E],P))}),P.once("remoteSettings",()=>{if(V.destroyed){let ge=new Error("Agent has been destroyed");for(let Ee=0;Eethis.maxEmptySessions&&this.closeEmptySessions(this._emptySessionCount-this.maxEmptySessions),P.on("remoteSettings",()=>{se()&&(ce(),se()&&Q(this.sessions[E],P))})}),P[A]=P.request,P.request=(ge,Ee)=>{if(P[h])throw new Error("The session is gracefully closing. No new streams are allowed.");let we=P[A](ge,Ee);return P.ref(),P[l]++===0&&this._emptySessionCount--,we.once("close",()=>{if(--P[l]===0&&(this._emptySessionCount++,P.unref(),this._emptySessionCount>this.maxEmptySessions||P[h])){P.close();return}P.destroyed||P.closed||se()&&!R(this.sessions[E],P)&&(Q(this.sessions[E],P),ce(),P[l]===0&&this._processQueue())}),we}}catch(M){q(),this._sessionCount--;for(let P=0;P{this.getSession(m,T,[{reject:E,resolve:O=>{try{let q=O.request(L,v);c(q),I(q)}catch(q){E(q)}}}])})}async createConnection(m,T){return QD.connect(m,T)}static connect(m,T){T.ALPNProtocols=["h2"];let L=m.port||443,v=m.hostname;typeof T.servername>"u"&&(T.servername=v);let I=i.connect(L,v,T);return T.socket&&(I._peername={family:void 0,address:void 0,port:L}),I}closeEmptySessions(m=Number.POSITIVE_INFINITY){let T=0,{sessions:L}=this;for(let v in L){let I=L[v];for(let E=0;E=m))return T}}return T}destroy(m){let{sessions:T,queue:L}=this;for(let v in T){let I=T[v];for(let E=0;E{"use strict";var{Readable:r}=require("stream"),n=class extends r{constructor(i,s){super({emitClose:!1,autoDestroy:!0,highWaterMark:s}),this.statusCode=null,this.statusMessage="",this.httpVersion="2.0",this.httpVersionMajor=2,this.httpVersionMinor=0,this.headers={},this.trailers={},this.req=null,this.aborted=!1,this.complete=!1,this.upgrade=null,this.rawHeaders=[],this.rawTrailers=[],this.socket=i,this._dumped=!1}get connection(){return this.socket}set connection(i){this.socket=i}_destroy(i,s){this.readableEnded||(this.aborted=!0),s(),this.req._request.destroy(i)}setTimeout(i,s){return this.req.setTimeout(i,s),this}_dump(){this._dumped||(this._dumped=!0,this.removeAllListeners("data"),this.resume())}_read(){this.req&&this.req._request.resume()}};t.exports=n}),MJ=_e((e,t)=>{"use strict";t.exports=(r,n,i)=>{for(let s of i)r.on(s,(...a)=>n.emit(s,...a))}}),NE=_e((e,t)=>{"use strict";var r=(n,i,s)=>{t.exports[i]=class extends n{constructor(...a){super(typeof s=="string"?s:s(a)),this.name=`${super.name} [${i}]`,this.code=i}}};r(TypeError,"ERR_INVALID_ARG_TYPE",n=>{let i=n[0].includes(".")?"property":"argument",s=n[1],a=Array.isArray(s);return a&&(s=`${s.slice(0,-1).join(", ")} or ${s.slice(-1)}`),`The "${n[0]}" ${i} must be ${a?"one of":"of"} type ${s}. Received ${typeof n[2]}`}),r(TypeError,"ERR_INVALID_PROTOCOL",n=>`Protocol "${n[0]}" not supported. Expected "${n[1]}"`),r(Error,"ERR_HTTP_HEADERS_SENT",n=>`Cannot ${n[0]} headers after they are sent to the client`),r(TypeError,"ERR_INVALID_HTTP_TOKEN",n=>`${n[0]} must be a valid HTTP token [${n[1]}]`),r(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",n=>`Invalid value "${n[0]} for header "${n[1]}"`),r(TypeError,"ERR_INVALID_CHAR",n=>`Invalid character in ${n[0]} [${n[1]}]`),r(Error,"ERR_HTTP2_NO_SOCKET_MANIPULATION","HTTP/2 sockets should not be directly manipulated (e.g. read and written)")}),OJ=_e((e,t)=>{"use strict";t.exports=r=>{switch(r){case":method":case":scheme":case":authority":case":path":return!0;default:return!1}}}),bD=_e((e,t)=>{"use strict";var{ERR_INVALID_HTTP_TOKEN:r}=NE(),n=OJ(),i=/^[\^`\-\w!#$%&*+.|~]+$/;t.exports=s=>{if(typeof s!="string"||!i.test(s)&&!n(s))throw new r("Header name",s)}}),wD=_e((e,t)=>{"use strict";var{ERR_HTTP_INVALID_HEADER_VALUE:r,ERR_INVALID_CHAR:n}=NE(),i=/[^\t\u0020-\u007E\u0080-\u00FF]/;t.exports=(s,a)=>{if(typeof a>"u")throw new r(a,s);if(i.test(a))throw new n("header content",s)}}),PJ=_e((e,t)=>{"use strict";var{ERR_HTTP2_NO_SOCKET_MANIPULATION:r}=NE(),n={has(i,s){let a=i.session===void 0?i:i.session.socket;return s in i||s in a},get(i,s){switch(s){case"on":case"once":case"end":case"emit":case"destroy":return i[s].bind(i);case"writable":case"destroyed":return i[s];case"readable":return i.destroyed?!1:i.readable;case"setTimeout":{let{session:a}=i;return a!==void 0?a.setTimeout.bind(a):i.setTimeout.bind(i)}case"write":case"read":case"pause":case"resume":throw new r;default:{let a=i.session===void 0?i:i.session.socket,c=a[s];return typeof c=="function"?c.bind(a):c}}},getPrototypeOf(i){return i.session!==void 0?Reflect.getPrototypeOf(i.session.socket):Reflect.getPrototypeOf(i)},set(i,s,a){switch(s){case"writable":case"readable":case"destroyed":case"on":case"once":case"end":case"emit":case"destroy":return i[s]=a,!0;case"setTimeout":{let{session:c}=i;return c===void 0?i.setTimeout=a:c.setTimeout=a,!0}case"write":case"read":case"pause":case"resume":throw new r;default:{let c=i.session===void 0?i:i.session.socket;return c[s]=a,!0}}}};t.exports=n}),vD=_e((e,t)=>{"use strict";var{URL:r,urlToHttpOptions:n}=require("url"),i=require("http2"),{Writable:s}=require("stream"),{Agent:a,globalAgent:c}=Ml(),l=mD(),A=MJ(),{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_PROTOCOL:h,ERR_HTTP_HEADERS_SENT:g}=NE(),b=bD(),C=wD(),p=PJ(),{HTTP2_HEADER_STATUS:Q,HTTP2_HEADER_METHOD:R,HTTP2_HEADER_PATH:_,HTTP2_HEADER_AUTHORITY:d,HTTP2_METHOD_CONNECT:S}=i.constants,m=Symbol("headers"),T=Symbol("origin"),L=Symbol("session"),v=Symbol("options"),I=Symbol("flushedHeaders"),E=Symbol("jobs"),O=Symbol("pendingAgentPromise"),q=class extends s{constructor(V,w,N){if(super({autoDestroy:!1,emitClose:!1}),typeof V=="string"?V=n(new r(V)):V instanceof r?V=n(V):V={...V},typeof w=="function"||w===void 0?(N=w,w=V):w=Object.assign(V,w),w.h2session){if(this[L]=w.h2session,this[L].destroyed)throw new Error("The session has been closed already");this.protocol=this[L].socket.encrypted?"https:":"http:"}else if(w.agent===!1)this.agent=new a({maxEmptySessions:0});else if(typeof w.agent>"u"||w.agent===null)this.agent=c;else if(typeof w.agent.request=="function")this.agent=w.agent;else throw new f("options.agent",["http2wrapper.Agent-like Object","undefined","false"],w.agent);if(this.agent&&(this.protocol=this.agent.protocol),w.protocol&&w.protocol!==this.protocol)throw new h(w.protocol,this.protocol);w.port||(w.port=w.defaultPort||this.agent&&this.agent.defaultPort||443),w.host=w.hostname||w.host||"localhost",delete w.hostname;let{timeout:F}=w;w.timeout=void 0,this[m]=Object.create(null),this[E]=[],this[O]=void 0,this.socket=null,this.connection=null,this.method=w.method||"GET",this.method==="CONNECT"&&(w.path==="/"||w.path===void 0)||(this.path=w.path),this.res=null,this.aborted=!1,this.reusedSocket=!1;let{headers:M}=w;if(M)for(let ee in M)this.setHeader(ee,M[ee]);w.auth&&!("authorization"in this[m])&&(this[m].authorization="Basic "+Buffer.from(w.auth).toString("base64")),w.session=w.tlsSession,w.path=w.socketPath,this[v]=w,this[T]=new r(`${this.protocol}//${w.servername||w.host}:${w.port}`);let P=w._reuseSocket;P&&(w.createConnection=(...ee)=>P.destroyed?this.agent.createConnection(...ee):P,this.agent.getSession(this[T],this[v]).catch(()=>{})),F&&this.setTimeout(F),N&&this.once("response",N),this[I]=!1}get method(){return this[m][R]}set method(V){V&&(this[m][R]=V.toUpperCase())}get path(){let V=this.method==="CONNECT"?d:_;return this[m][V]}set path(V){if(V){let w=this.method==="CONNECT"?d:_;this[m][w]=V}}get host(){return this[T].hostname}set host(V){}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(V,w,N){if(this._mustNotHaveABody){N(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();let F=()=>this._request.write(V,w,N);this._request?F():this[E].push(F)}_final(V){this.flushHeaders();let w=()=>{if(this._mustNotHaveABody||this.method==="CONNECT"){V();return}this._request.end(V)};this._request?w():this[E].push(w)}abort(){this.res&&this.res.complete||(this.aborted||process.nextTick(()=>this.emit("abort")),this.aborted=!0,this.destroy())}async _destroy(V,w){this.res&&this.res._dump(),this._request?this._request.destroy():process.nextTick(()=>{this.emit("close")});try{await this[O]}catch(N){this.aborted&&(V=N)}w(V)}async flushHeaders(){if(this[I]||this.destroyed)return;this[I]=!0;let V=this.method===S,w=N=>{if(this._request=N,this.destroyed){N.destroy();return}V||A(N,this,["timeout","continue"]),N.once("error",M=>{this.destroy(M)}),N.once("aborted",()=>{let{res:M}=this;M?(M.aborted=!0,M.emit("aborted"),M.destroy()):this.destroy(new Error("The server aborted the HTTP/2 stream"))});let F=(M,P,ee)=>{let se=new l(this.socket,N.readableHighWaterMark);this.res=se,se.url=`${this[T].origin}${this.path}`,se.req=this,se.statusCode=M[Q],se.headers=M,se.rawHeaders=ee,se.once("end",()=>{se.complete=!0,se.socket=null,se.connection=null}),V?(se.upgrade=!0,this.emit("connect",se,N,Buffer.alloc(0))?this.emit("close"):N.destroy()):(N.on("data",ce=>{!se._dumped&&!se.push(ce)&&N.pause()}),N.once("end",()=>{this.aborted||se.push(null)}),this.emit("response",se)||se._dump())};N.once("response",F),N.once("headers",M=>this.emit("information",{statusCode:M[Q]})),N.once("trailers",(M,P,ee)=>{let{res:se}=this;if(se===null){F(M,P,ee);return}se.trailers=M,se.rawTrailers=ee}),N.once("close",()=>{let{aborted:M,res:P}=this;if(P){M&&(P.aborted=!0,P.emit("aborted"),P.destroy());let ee=()=>{P.emit("close"),this.destroy(),this.emit("close")};P.readable?P.once("end",ee):ee();return}if(!this.destroyed){this.destroy(new Error("The HTTP/2 stream has been early terminated")),this.emit("close");return}this.destroy(),this.emit("close")}),this.socket=new Proxy(N,p);for(let M of this[E])M();this[E].length=0,this.emit("socket",this.socket)};if(!(d in this[m])&&!V&&(this[m][d]=this[T].host),this[L])try{w(this[L].request(this[m]))}catch(N){this.destroy(N)}else{this.reusedSocket=!0;try{let N=this.agent.request(this[T],this[v],this[m]);this[O]=N,w(await N),this[O]=!1}catch(N){this[O]=!1,this.destroy(N)}}}get connection(){return this.socket}set connection(V){this.socket=V}getHeaderNames(){return Object.keys(this[m])}hasHeader(V){if(typeof V!="string")throw new f("name","string",V);return!!this[m][V.toLowerCase()]}getHeader(V){if(typeof V!="string")throw new f("name","string",V);return this[m][V.toLowerCase()]}get headersSent(){return this[I]}removeHeader(V){if(typeof V!="string")throw new f("name","string",V);if(this.headersSent)throw new g("remove");delete this[m][V.toLowerCase()]}setHeader(V,w){if(this.headersSent)throw new g("set");b(V),C(V,w);let N=V.toLowerCase();if(N==="connection"){if(w.toLowerCase()==="keep-alive")return;throw new Error(`Invalid 'connection' header: ${w}`)}N==="host"&&this.method==="CONNECT"?this[m][d]=w:this[m][N]=w}setNoDelay(){}setSocketKeepAlive(){}setTimeout(V,w){let N=()=>this._request.setTimeout(V,w);return this._request?N():this[E].push(N),this}get maxHeadersCount(){if(!this.destroyed&&this._request)return this._request.session.localSettings.maxHeaderListSize}set maxHeadersCount(V){}};t.exports=q}),qJ=_e((e,t)=>{"use strict";var r=require("tls");t.exports=(n={},i=r.connect)=>new Promise((s,a)=>{let c=!1,l,A=async()=>{await h,l.off("timeout",f),l.off("error",a),n.resolveSocket?(s({alpnProtocol:l.alpnProtocol,socket:l,timeout:c}),c&&(await Promise.resolve(),l.emit("timeout"))):(l.destroy(),s({alpnProtocol:l.alpnProtocol,timeout:c}))},f=async()=>{c=!0,A()},h=(async()=>{try{l=await i(n,A),l.on("error",a),l.once("timeout",f)}catch(g){a(g)}})()})}),VJ=_e((e,t)=>{"use strict";var{isIP:r}=require("net"),n=require("assert"),i=s=>{if(s[0]==="["){let c=s.indexOf("]");return n(c!==-1),s.slice(1,c)}let a=s.indexOf(":");return a===-1?s:s.slice(0,a)};t.exports=s=>{let a=i(s);return r(a)?"":a}}),HJ=_e((e,t)=>{"use strict";var{URL:r,urlToHttpOptions:n}=require("url"),i=require("http"),s=require("https"),a=qJ(),c=BD(),{Agent:l,globalAgent:A}=Ml(),f=vD(),h=VJ(),g=yD(),b=new c({maxSize:100}),C=new Map,p=(_,d,S)=>{d._httpMessage={shouldKeepAlive:!0};let m=()=>{_.emit("free",d,S)};d.on("free",m);let T=()=>{_.removeSocket(d,S)};d.on("close",T);let L=()=>{let{freeSockets:I}=_;for(let E of Object.values(I))if(E.includes(d)){d.destroy();return}};d.on("timeout",L);let v=()=>{_.removeSocket(d,S),d.off("close",T),d.off("free",m),d.off("timeout",L),d.off("agentRemove",v)};d.on("agentRemove",v),_.emit("free",d,S)},Q=(_,d=new Map,S=void 0)=>async m=>{let T=`${m.host}:${m.port}:${m.ALPNProtocols.sort()}`;if(!_.has(T)){if(d.has(T))return{alpnProtocol:(await d.get(T)).alpnProtocol};let{path:L}=m;m.path=m.socketPath;let v=a(m,S);d.set(T,v);try{let I=await v;return _.set(T,I.alpnProtocol),d.delete(T),m.path=L,I}catch(I){throw d.delete(T),m.path=L,I}}return{alpnProtocol:_.get(T)}},R=Q(b,C);t.exports=async(_,d,S)=>{if(typeof _=="string"?_=n(new r(_)):_ instanceof r?_=n(_):_={..._},typeof d=="function"||d===void 0?(S=d,d=_):d=Object.assign(_,d),d.ALPNProtocols=d.ALPNProtocols||["h2","http/1.1"],!Array.isArray(d.ALPNProtocols)||d.ALPNProtocols.length===0)throw new Error("The `ALPNProtocols` option must be an Array with at least one entry");d.protocol=d.protocol||"https:";let m=d.protocol==="https:";d.host=d.hostname||d.host||"localhost",d.session=d.tlsSession,d.servername=d.servername||h(d.headers&&d.headers.host||d.host),d.port=d.port||(m?443:80),d._defaultAgent=m?s.globalAgent:i.globalAgent;let T=d.resolveProtocol||R,{agent:L}=d;if(L!==void 0&&L!==!1&&L.constructor.name!=="Object")throw new Error("The `options.agent` can be only an object `http`, `https` or `http2` properties");if(m){d.resolveSocket=!0;let{socket:v,alpnProtocol:I,timeout:E}=await T(d);if(E){v&&v.destroy();let q=new Error(`Timed out resolving ALPN: ${d.timeout} ms`);throw q.code="ETIMEDOUT",q.ms=d.timeout,q}v&&d.createConnection&&(v.destroy(),v=void 0),delete d.resolveSocket;let O=I==="h2";if(L&&(L=O?L.http2:L.https,d.agent=L),L===void 0&&(L=O?A:s.globalAgent),v)if(L===!1)v.destroy();else{let q=(O?l:s.Agent).prototype.createConnection;L.createConnection===q?O?d._reuseSocket=v:p(L,v,d):v.destroy()}if(O)return g(new f(d,S))}else L&&(d.agent=L.http);return d.headers&&(d.headers={...d.headers},d.headers[":authority"]&&(d.headers.host||(d.headers.host=d.headers[":authority"]),delete d.headers[":authority"]),delete d.headers[":method"],delete d.headers[":scheme"],delete d.headers[":path"]),g(i.request(d,S))},t.exports.protocolCache=b,t.exports.resolveProtocol=R,t.exports.createResolveProtocol=Q}),SD=_e((e,t)=>{"use strict";var r=require("stream"),n=require("tls"),i=new n.TLSSocket(new r.PassThrough)._handle._parentWrap.constructor;t.exports=i}),RD=_e((e,t)=>{"use strict";var r=class extends Error{constructor(n,i=""){super(`The proxy server rejected the request with status code ${n} (${i||"empty status message"})`),this.statusCode=n,this.statusMessage=i}};t.exports=r}),GJ=_e((e,t)=>{"use strict";var r=(n,i,s)=>{if(!s.some(a=>typeof a=="string"?typeof i===a:i instanceof a)){let a=s.map(c=>typeof c=="string"?c:c.name);throw new TypeError(`Expected '${n}' to be a type of ${a.join(" or ")}, got ${typeof i}`)}};t.exports=r}),_D=_e((e,t)=>{"use strict";var{URL:r}=require("url"),n=GJ();t.exports=(i,s)=>{n("proxyOptions",s,["object"]),n("proxyOptions.headers",s.headers,["object","undefined"]),n("proxyOptions.raw",s.raw,["boolean","undefined"]),n("proxyOptions.url",s.url,[r,"string"]);let a=new r(s.url);i.proxyOptions={raw:!0,...s,headers:{...s.headers},url:a}}}),z0=_e((e,t)=>{"use strict";t.exports=r=>{let{username:n,password:i}=r.proxyOptions.url;if(n||i){let s=`${n}:${i}`,a=`Basic ${Buffer.from(s).toString("base64")}`;return{"proxy-authorization":a,authorization:a}}return{}}}),YJ=_e((e,t)=>{"use strict";var r=require("tls"),n=require("http"),i=require("https"),s=SD(),{globalAgent:a}=Ml(),c=RD(),l=_D(),A=z0(),f=(b,C,p)=>{(async()=>{try{let{proxyOptions:Q}=b,{url:R,headers:_,raw:d}=Q,S=await a.request(R,Q,{...A(b),..._,":method":"CONNECT",":authority":`${C.host}:${C.port}`});S.once("error",p),S.once("response",m=>{let T=m[":status"];if(T!==200){p(new c(T,""));return}let L=b instanceof i.Agent;if(d&&L){C.socket=S;let I=r.connect(C);I.once("close",()=>{S.destroy()}),p(null,I);return}let v=new s(S);v.encrypted=!1,v._handle.getpeername=I=>{I.family=void 0,I.address=void 0,I.port=void 0},p(null,v)})}catch(Q){p(Q)}})()},h=class extends n.Agent{constructor(b){super(b),l(this,b.proxyOptions)}createConnection(b,C){f(this,b,C)}},g=class extends i.Agent{constructor(b){super(b),l(this,b.proxyOptions)}createConnection(b,C){f(this,b,C)}};t.exports={HttpOverHttp2:h,HttpsOverHttp2:g}}),kD=_e((e,t)=>{"use strict";var{Agent:r}=Ml(),n=SD(),i=RD(),s=_D(),a=class extends r{constructor(c){super(c),s(this,c.proxyOptions)}async createConnection(c,l){let A=`${c.hostname}:${c.port||443}`,[f,h,g]=await this._getProxyStream(A);if(h!==200)throw new i(h,g);if(this.proxyOptions.raw)l.socket=f;else{let b=new n(f);return b.encrypted=!1,b._handle.getpeername=C=>{C.family=void 0,C.address=void 0,C.port=void 0},b}return super.createConnection(c,l)}};t.exports=a}),JJ=_e((e,t)=>{"use strict";var{globalAgent:r}=Ml(),n=kD(),i=z0(),s=c=>new Promise((l,A)=>{c.once("error",A),c.once("response",f=>{c.off("error",A),l(f[":status"])})}),a=class extends n{async _getProxyStream(c){let{proxyOptions:l}=this,A={...i(this),...l.headers,":method":"CONNECT",":authority":c},f=await r.request(l.url,l,A),h=await s(f);return[f,h,""]}};t.exports=a}),WJ=_e((e,t)=>{"use strict";var r=require("http"),n=require("https"),i=kD(),s=z0(),a=l=>new Promise((A,f)=>{let h=(g,b,C)=>{b.unshift(C),l.off("error",f),A([b,g.statusCode,g.statusMessage])};l.once("error",f),l.once("connect",h)}),c=class extends i{async _getProxyStream(l){let{proxyOptions:A}=this,{url:f,headers:h}=this.proxyOptions,g=(f.protocol==="https:"?n:r).request({...A,hostname:f.hostname,port:f.port,path:l,headers:{...s(this),...h,host:l},method:"CONNECT"}).end();return a(g)}};t.exports={Http2OverHttp:c,Http2OverHttps:c}}),DD=_e((e,t)=>{"use strict";var r=require("http2"),{Agent:n,globalAgent:i}=Ml(),s=vD(),a=mD(),c=HJ(),{HttpOverHttp2:l,HttpsOverHttp2:A}=YJ(),f=JJ(),{Http2OverHttp:h,Http2OverHttps:g}=WJ(),b=bD(),C=wD(),p=(R,_,d)=>new s(R,_,d),Q=(R,_,d)=>{let S=new s(R,_,d);return S.end(),S};t.exports={...r,ClientRequest:s,IncomingMessage:a,Agent:n,globalAgent:i,request:p,get:Q,auto:c,proxies:{HttpOverHttp2:l,HttpsOverHttp2:A,Http2OverHttp2:f,Http2OverHttp:h,Http2OverHttps:g},validateHeaderName:b,validateHeaderValue:C}}),jJ=_e((e,t)=>{if(!globalThis.DOMException)try{let{MessageChannel:r}=require("worker_threads"),n=new r().port1,i=new ArrayBuffer;n.postMessage(i,[i,i])}catch(r){r.constructor.name==="DOMException"&&(globalThis.DOMException=r.constructor)}t.exports=globalThis.DOMException}),TE=_e((e,t)=>{var r=function(n,i){Error.call(this,n),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=n,i&&(this.inner=i)};r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,t.exports=r}),ND=_e((e,t)=>{var r=TE(),n=function(i,s){r.call(this,i),this.name="NotBeforeError",this.date=s};n.prototype=Object.create(r.prototype),n.prototype.constructor=n,t.exports=n}),TD=_e((e,t)=>{var r=TE(),n=function(i,s){r.call(this,i),this.name="TokenExpiredError",this.expiredAt=s};n.prototype=Object.create(r.prototype),n.prototype.constructor=n,t.exports=n}),Mh=_e((e,t)=>{var r=require("buffer"),n=r.Buffer;function i(a,c){for(var l in a)c[l]=a[l]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=s);function s(a,c,l){return n(a,c,l)}s.prototype=Object.create(n.prototype),i(n,s),s.from=function(a,c,l){if(typeof a=="number")throw new TypeError("Argument must not be a number");return n(a,c,l)},s.alloc=function(a,c,l){if(typeof a!="number")throw new TypeError("Argument must be a number");var A=n(a);return c!==void 0?typeof l=="string"?A.fill(c,l):A.fill(c):A.fill(0),A},s.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n(a)},s.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(a)}}),LD=_e((e,t)=>{var r=Mh().Buffer,n=require("stream"),i=require("util");function s(a){if(this.buffer=null,this.writable=!0,this.readable=!0,!a)return this.buffer=r.alloc(0),this;if(typeof a.pipe=="function")return this.buffer=r.alloc(0),a.pipe(this),this;if(a.length||typeof a=="object")return this.buffer=a,this.writable=!1,process.nextTick(function(){this.emit("end",a),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof a+")")}i.inherits(s,n),s.prototype.write=function(a){this.buffer=r.concat([this.buffer,r.from(a)]),this.emit("data",a)},s.prototype.end=function(a){a&&this.write(a),this.emit("end",a),this.emit("close"),this.writable=!1,this.readable=!1},t.exports=s}),zJ=_e((e,t)=>{"use strict";var r=require("buffer").Buffer,n=require("buffer").SlowBuffer;t.exports=i;function i(c,l){if(!r.isBuffer(c)||!r.isBuffer(l)||c.length!==l.length)return!1;for(var A=0,f=0;f{"use strict";function r(s){var a=(s/8|0)+(s%8===0?0:1);return a}var n={ES256:r(256),ES384:r(384),ES512:r(521)};function i(s){var a=n[s];if(a)return a;throw new Error('Unknown algorithm "'+s+'"')}t.exports=i}),XJ=_e((e,t)=>{"use strict";var r=Mh().Buffer,n=KJ(),i=128,s=0,a=32,c=16,l=2,A=c|a|s<<6,f=l|s<<6;function h(Q){return Q.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function g(Q){if(r.isBuffer(Q))return Q;if(typeof Q=="string")return r.from(Q,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function b(Q,R){Q=g(Q);var _=n(R),d=_+1,S=Q.length,m=0;if(Q[m++]!==A)throw new Error('Could not find expected "seq"');var T=Q[m++];if(T===(i|1)&&(T=Q[m++]),S-m=i;return S&&--d,d}function p(Q,R){Q=g(Q);var _=n(R),d=Q.length;if(d!==_*2)throw new TypeError('"'+R+'" signatures must be "'+_*2+'" bytes, saw "'+d+'"');var S=C(Q,0,_),m=C(Q,_,Q.length),T=_-S,L=_-m,v=1+1+T+1+1+L,I=v{var r=zJ(),n=Mh().Buffer,i=require("crypto"),s=XJ(),a=require("util"),c=`"%s" is not a valid algorithm. + Error Message: ${a.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(t){return V_(this,void 0,void 0,function*(){try{let r=e.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}H_.debug(`ID token url is ${r}`);let n=yield e.getCall(r);return H_.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};Bl.OidcClient=Ry});var Ty=Re(pi=>{"use strict";var ky=pi&&pi.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(pi,"__esModule",{value:!0});pi.summary=pi.markdownSummary=pi.SUMMARY_DOCS_URL=pi.SUMMARY_ENV_VAR=void 0;var JY=require("os"),Dy=require("fs"),{access:WY,appendFile:jY,writeFile:zY}=Dy.promises;pi.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";pi.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Ny=class{constructor(){this._buffer=""}filePath(){return ky(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[pi.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${pi.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield WY(t,Dy.constants.R_OK|Dy.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath})}wrap(t,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return ky(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?zY:jY)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ky(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(t,r=!1){return this._buffer+=t,r?this.addEOL():this}addEOL(){return this.addRaw(JY.EOL)}addCodeBlock(t,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",t),n);return this.addRaw(i).addEOL()}addList(t,r=!1){let n=r?"ol":"ul",i=t.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(t){let r=t.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:f}=a,h=c?"th":"td",g=Object.assign(Object.assign({},A&&{colspan:A}),f&&{rowspan:f});return this.wrap(h,l,g)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(t,r){let n=this.wrap("details",this.wrap("summary",t)+r);return this.addRaw(n).addEOL()}addImage(t,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:t,alt:r},a));return this.addRaw(c).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,t);return this.addRaw(s).addEOL()}addSeparator(){let t=this.wrap("hr",null);return this.addRaw(t).addEOL()}addBreak(){let t=this.wrap("br",null);return this.addRaw(t).addEOL()}addQuote(t,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",t,n);return this.addRaw(i).addEOL()}addLink(t,r){let n=this.wrap("a",t,{href:r});return this.addRaw(n).addEOL()}},Y_=new Ny;pi.markdownSummary=Y_;pi.summary=Y_});var J_=Re(Ci=>{"use strict";var KY=Ci&&Ci.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),XY=Ci&&Ci.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),$Y=Ci&&Ci.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&KY(t,e,r);return XY(t,e),t};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.toPlatformPath=Ci.toWin32Path=Ci.toPosixPath=void 0;var ZY=$Y(require("path"));function eJ(e){return e.replace(/[\\]/g,"/")}Ci.toPosixPath=eJ;function tJ(e){return e.replace(/[/]/g,"\\")}Ci.toWin32Path=tJ;function rJ(e){return e.replace(/[/\\]/g,ZY.sep)}Ci.toPlatformPath=rJ});var _y=Re(Je=>{"use strict";var nJ=Je&&Je.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),iJ=Je&&Je.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),W_=Je&&Je.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&nJ(t,e,r);return iJ(t,e),t},j_=Je&&Je.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function c(f){try{A(n.next(f))}catch(h){a(h)}}function l(f){try{A(n.throw(f))}catch(h){a(h)}}function A(f){f.done?s(f.value):i(f.value).then(c,l)}A((n=n.apply(e,t||[])).next())})};Object.defineProperty(Je,"__esModule",{value:!0});Je.getIDToken=Je.getState=Je.saveState=Je.group=Je.endGroup=Je.startGroup=Je.info=Je.notice=Je.warning=Je.error=Je.debug=Je.isDebug=Je.setFailed=Je.setCommandEcho=Je.setOutput=Je.getBooleanInput=Je.getMultilineInput=Je.getInput=Je.addPath=Je.setSecret=Je.exportVariable=Je.ExitCode=void 0;var cs=mb(),La=Xb(),yl=qf(),z_=W_(require("os")),sJ=W_(require("path")),oJ=G_(),K_;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(K_=Je.ExitCode||(Je.ExitCode={}));function AJ(e,t){let r=yl.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return La.issueFileCommand("ENV",La.prepareKeyValueMessage(e,t));cs.issueCommand("set-env",{name:e},r)}Je.exportVariable=AJ;function aJ(e){cs.issueCommand("add-mask",{},e)}Je.setSecret=aJ;function cJ(e){process.env.GITHUB_PATH||""?La.issueFileCommand("PATH",e):cs.issueCommand("add-path",{},e),process.env.PATH=`${e}${sJ.delimiter}${process.env.PATH}`}Je.addPath=cJ;function Ly(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}Je.getInput=Ly;function lJ(e,t){let r=Ly(e,t).split(` +`).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}Je.getMultilineInput=lJ;function uJ(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Ly(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}Je.getBooleanInput=uJ;function hJ(e,t){if(process.env.GITHUB_OUTPUT||"")return La.issueFileCommand("OUTPUT",La.prepareKeyValueMessage(e,t));process.stdout.write(z_.EOL),cs.issueCommand("set-output",{name:e},yl.toCommandValue(t))}Je.setOutput=hJ;function fJ(e){cs.issue("echo",e?"on":"off")}Je.setCommandEcho=fJ;function gJ(e){process.exitCode=K_.Failure,X_(e)}Je.setFailed=gJ;function dJ(){return process.env.RUNNER_DEBUG==="1"}Je.isDebug=dJ;function EJ(e){cs.issueCommand("debug",{},e)}Je.debug=EJ;function X_(e,t={}){cs.issueCommand("error",yl.toCommandProperties(t),e instanceof Error?e.toString():e)}Je.error=X_;function pJ(e,t={}){cs.issueCommand("warning",yl.toCommandProperties(t),e instanceof Error?e.toString():e)}Je.warning=pJ;function CJ(e,t={}){cs.issueCommand("notice",yl.toCommandProperties(t),e instanceof Error?e.toString():e)}Je.notice=CJ;function IJ(e){process.stdout.write(e+z_.EOL)}Je.info=IJ;function $_(e){cs.issue("group",e)}Je.startGroup=$_;function Z_(){cs.issue("endgroup")}Je.endGroup=Z_;function BJ(e,t){return j_(this,void 0,void 0,function*(){$_(e);let r;try{r=yield t()}finally{Z_()}return r})}Je.group=BJ;function yJ(e,t){if(process.env.GITHUB_STATE||"")return La.issueFileCommand("STATE",La.prepareKeyValueMessage(e,t));cs.issueCommand("save-state",{name:e},yl.toCommandValue(t))}Je.saveState=yJ;function QJ(e){return process.env[`STATE_${e}`]||""}Je.getState=QJ;function mJ(e){return j_(this,void 0,void 0,function*(){return yield oJ.OidcClient.getIDToken(e)})}Je.getIDToken=mJ;var bJ=Ty();Object.defineProperty(Je,"summary",{enumerable:!0,get:function(){return bJ.summary}});var wJ=Ty();Object.defineProperty(Je,"markdownSummary",{enumerable:!0,get:function(){return wJ.markdownSummary}});var Fy=J_();Object.defineProperty(Je,"toPosixPath",{enumerable:!0,get:function(){return Fy.toPosixPath}});Object.defineProperty(Je,"toWin32Path",{enumerable:!0,get:function(){return Fy.toWin32Path}});Object.defineProperty(Je,"toPlatformPath",{enumerable:!0,get:function(){return Fy.toPlatformPath}})});var AL=Re((Gte,oL)=>{var vJ=Object.create,DE=Object.defineProperty,SJ=Object.getOwnPropertyDescriptor,RJ=Object.getOwnPropertyNames,_J=Object.getPrototypeOf,kJ=Object.prototype.hasOwnProperty,_e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),DJ=(e,t)=>{for(var r in t)DE(e,r,{get:t[r],enumerable:!0})},ID=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of RJ(t))!kJ.call(e,i)&&i!==r&&DE(e,i,{get:()=>t[i],enumerable:!(n=SJ(t,i))||n.enumerable});return e},$t=(e,t,r)=>(r=e!=null?vJ(_J(e)):{},ID(t||!e||!e.__esModule?DE(r,"default",{value:e,enumerable:!0}):r,e)),NJ=e=>ID(DE({},"__esModule",{value:!0}),e),TJ=_e((e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(i){return i.encrypted}var n=(i,s)=>{let a;typeof s=="function"?a={connect:s}:a=s;let c=typeof a.connect=="function",l=typeof a.secureConnect=="function",A=typeof a.close=="function",f=()=>{c&&a.connect(),r(i)&&l&&(i.authorized?a.secureConnect():i.authorizationError||i.once("secureConnect",a.secureConnect)),A&&i.once("close",a.close)};i.writable&&!i.connecting?f():i.connecting?i.once("connect",f):i.destroyed&&A&&a.close(i._hadError)};e.default=n,t.exports=n,t.exports.default=n}),LJ=_e((e,t)=>{"use strict";var{PassThrough:r}=require("stream");t.exports=n=>{n={...n};let{array:i}=n,{encoding:s}=n,a=s==="buffer",c=!1;i?c=!(s||a):s=s||"utf8",a&&(s=null);let l=new r({objectMode:c});s&&l.setEncoding(s);let A=0,f=[];return l.on("data",h=>{f.push(h),c?A=f.length:A+=h.length}),l.getBufferedValue=()=>i?f:a?Buffer.concat(f,A):f.join(""),l.getBufferedLength=()=>A,l}}),j0=_e((e,t)=>{"use strict";var{constants:r}=require("buffer"),n=require("stream"),{promisify:i}=require("util"),s=LJ(),a=i(n.pipeline),c=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function l(A,f){if(!A)throw new Error("Expected a stream");f={maxBuffer:1/0,...f};let{maxBuffer:h}=f,g=s(f);return await new Promise((b,C)=>{let p=Q=>{Q&&g.getBufferedLength()<=r.MAX_LENGTH&&(Q.bufferedData=g.getBufferedValue()),C(Q)};(async()=>{try{await a(A,g),b()}catch(Q){p(Q)}})(),g.on("data",()=>{g.getBufferedLength()>h&&p(new c)})}),g.getBufferedValue()}t.exports=l,t.exports.buffer=(A,f)=>l(A,{...f,encoding:"buffer"}),t.exports.array=(A,f)=>l(A,{...f,array:!0}),t.exports.MaxBufferError=c}),FJ=_e((e,t)=>{"use strict";var r=new Set([200,203,204,206,300,301,308,404,405,410,414,501]),n=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]),i=new Set([500,502,503,504]),s={date:!0,connection:!0,"keep-alive":!0,"proxy-authenticate":!0,"proxy-authorization":!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0},a={"content-length":!0,"content-encoding":!0,"transfer-encoding":!0,"content-range":!0};function c(h){let g=parseInt(h,10);return isFinite(g)?g:0}function l(h){return h?i.has(h.status):!0}function A(h){let g={};if(!h)return g;let b=h.trim().split(/,/);for(let C of b){let[p,Q]=C.split(/=/,2);g[p.trim()]=Q===void 0?!0:Q.trim().replace(/^"|"$/g,"")}return g}function f(h){let g=[];for(let b in h){let C=h[b];g.push(C===!0?b:b+"="+C)}if(g.length)return g.join(", ")}t.exports=class{constructor(h,g,{shared:b,cacheHeuristic:C,immutableMinTimeToLive:p,ignoreCargoCult:Q,_fromObject:R}={}){if(R){this._fromObject(R);return}if(!g||!g.headers)throw Error("Response headers missing");this._assertRequestHasHeaders(h),this._responseTime=this.now(),this._isShared=b!==!1,this._cacheHeuristic=C!==void 0?C:.1,this._immutableMinTtl=p!==void 0?p:24*3600*1e3,this._status="status"in g?g.status:200,this._resHeaders=g.headers,this._rescc=A(g.headers["cache-control"]),this._method="method"in h?h.method:"GET",this._url=h.url,this._host=h.headers.host,this._noAuthorization=!h.headers.authorization,this._reqHeaders=g.headers.vary?h.headers:null,this._reqcc=A(h.headers["cache-control"]),Q&&"pre-check"in this._rescc&&"post-check"in this._rescc&&(delete this._rescc["pre-check"],delete this._rescc["post-check"],delete this._rescc["no-cache"],delete this._rescc["no-store"],delete this._rescc["must-revalidate"],this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":f(this._rescc)}),delete this._resHeaders.expires,delete this._resHeaders.pragma),g.headers["cache-control"]==null&&/no-cache/.test(g.headers.pragma)&&(this._rescc["no-cache"]=!0)}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&(this._method==="GET"||this._method==="HEAD"||this._method==="POST"&&this._hasExplicitExpiration())&&n.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||r.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(h){if(!h||!h.headers)throw Error("Request headers missing")}satisfiesWithoutRevalidation(h){this._assertRequestHasHeaders(h);let g=A(h.headers["cache-control"]);return g["no-cache"]||/no-cache/.test(h.headers.pragma)||g["max-age"]&&this.age()>g["max-age"]||g["min-fresh"]&&this.timeToLive()<1e3*g["min-fresh"]||this.stale()&&!(g["max-stale"]&&!this._rescc["must-revalidate"]&&(g["max-stale"]===!0||g["max-stale"]>this.age()-this.maxAge()))?!1:this._requestMatches(h,!1)}_requestMatches(h,g){return(!this._url||this._url===h.url)&&this._host===h.headers.host&&(!h.method||this._method===h.method||g&&h.method==="HEAD")&&this._varyMatches(h)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(h){if(!this._resHeaders.vary)return!0;if(this._resHeaders.vary==="*")return!1;let g=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(let b of g)if(h.headers[b]!==this._reqHeaders[b])return!1;return!0}_copyWithoutHopByHopHeaders(h){let g={};for(let b in h)s[b]||(g[b]=h[b]);if(h.connection){let b=h.connection.trim().split(/\s*,\s*/);for(let C of b)delete g[C]}if(g.warning){let b=g.warning.split(/,/).filter(C=>!/^\s*1[0-9][0-9]/.test(C));b.length?g.warning=b.join(",").trim():delete g.warning}return g}responseHeaders(){let h=this._copyWithoutHopByHopHeaders(this._resHeaders),g=this.age();return g>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24&&(h.warning=(h.warning?`${h.warning}, `:"")+'113 - "rfc7234 5.5.4"'),h.age=`${Math.round(g)}`,h.date=new Date(this.now()).toUTCString(),h}date(){let h=Date.parse(this._resHeaders.date);return isFinite(h)?h:this._responseTime}age(){let h=this._ageValue(),g=(this.now()-this._responseTime)/1e3;return h+g}_ageValue(){return c(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]||this._isShared&&this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable||this._resHeaders.vary==="*")return 0;if(this._isShared){if(this._rescc["proxy-revalidate"])return 0;if(this._rescc["s-maxage"])return c(this._rescc["s-maxage"])}if(this._rescc["max-age"])return c(this._rescc["max-age"]);let h=this._rescc.immutable?this._immutableMinTtl:0,g=this.date();if(this._resHeaders.expires){let b=Date.parse(this._resHeaders.expires);return Number.isNaN(b)||bb)return Math.max(h,(g-b)/1e3*this._cacheHeuristic)}return h}timeToLive(){let h=this.maxAge()-this.age(),g=h+c(this._rescc["stale-if-error"]),b=h+c(this._rescc["stale-while-revalidate"]);return Math.max(0,h,g,b)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+c(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+c(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(h){return new this(void 0,void 0,{_fromObject:h})}_fromObject(h){if(this._responseTime)throw Error("Reinitialized");if(!h||h.v!==1)throw Error("Invalid serialization");this._responseTime=h.t,this._isShared=h.sh,this._cacheHeuristic=h.ch,this._immutableMinTtl=h.imm!==void 0?h.imm:24*3600*1e3,this._status=h.st,this._resHeaders=h.resh,this._rescc=h.rescc,this._method=h.m,this._url=h.u,this._host=h.h,this._noAuthorization=h.a,this._reqHeaders=h.reqh,this._reqcc=h.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(h){this._assertRequestHasHeaders(h);let g=this._copyWithoutHopByHopHeaders(h.headers);if(delete g["if-range"],!this._requestMatches(h,!0)||!this.storable())return delete g["if-none-match"],delete g["if-modified-since"],g;if(this._resHeaders.etag&&(g["if-none-match"]=g["if-none-match"]?`${g["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag),g["accept-ranges"]||g["if-match"]||g["if-unmodified-since"]||this._method&&this._method!="GET"){if(delete g["if-modified-since"],g["if-none-match"]){let b=g["if-none-match"].split(/,/).filter(C=>!/^\s*W\//.test(C));b.length?g["if-none-match"]=b.join(",").trim():delete g["if-none-match"]}}else this._resHeaders["last-modified"]&&!g["if-modified-since"]&&(g["if-modified-since"]=this._resHeaders["last-modified"]);return g}revalidatedPolicy(h,g){if(this._assertRequestHasHeaders(h),this._useStaleIfError()&&l(g))return{modified:!1,matches:!1,policy:this};if(!g||!g.headers)throw Error("Response headers missing");let b=!1;if(g.status!==void 0&&g.status!=304?b=!1:g.headers.etag&&!/^\s*W\//.test(g.headers.etag)?b=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===g.headers.etag:this._resHeaders.etag&&g.headers.etag?b=this._resHeaders.etag.replace(/^\s*W\//,"")===g.headers.etag.replace(/^\s*W\//,""):this._resHeaders["last-modified"]?b=this._resHeaders["last-modified"]===g.headers["last-modified"]:!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!g.headers.etag&&!g.headers["last-modified"]&&(b=!0),!b)return{policy:new this.constructor(h,g),modified:g.status!=304,matches:!1};let C={};for(let Q in this._resHeaders)C[Q]=Q in g.headers&&!a[Q]?g.headers[Q]:this._resHeaders[Q];let p=Object.assign({},g,{status:this._status,method:this._method,headers:C});return{policy:new this.constructor(h,p,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:!1,matches:!0}}}}),UJ=_e(e=>{e.stringify=function t(r){if(typeof r>"u")return r;if(r&&Buffer.isBuffer(r))return JSON.stringify(":base64:"+r.toString("base64"));if(r&&r.toJSON&&(r=r.toJSON()),r&&typeof r=="object"){var n="",i=Array.isArray(r);n=i?"[":"{";var s=!0;for(var a in r){var c=typeof r[a]=="function"||!i&&typeof r[a]>"u";Object.hasOwnProperty.call(r,a)&&!c&&(s||(n+=","),s=!1,i?r[a]==null?n+="null":n+=t(r[a]):r[a]!==void 0&&(n+=t(a)+":"+t(r[a])))}return n+=i?"]":"}",n}else return typeof r=="string"?JSON.stringify(/^:/.test(r)?":"+r:r):typeof r>"u"?"null":JSON.stringify(r)},e.parse=function(t){return JSON.parse(t,function(r,n){return typeof n=="string"?/^:base64:/.test(n)?Buffer.from(n.substring(8),"base64"):/^:/.test(n)?n.substring(1):n:n})}}),xJ=_e((e,t)=>{"use strict";var r=require("events"),n=UJ(),i=c=>{let l={redis:"@keyv/redis",rediss:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql",etcd:"@keyv/etcd",offline:"@keyv/offline",tiered:"@keyv/tiered"};if(c.adapter||c.uri){let A=c.adapter||/^[^:+]*/.exec(c.uri)[0];return new(require(l[A]))(c)}return new Map},s=["sqlite","postgres","mysql","mongo","redis","tiered"],a=class extends r{constructor(c,{emitErrors:l=!0,...A}={}){if(super(),this.opts={namespace:"keyv",serialize:n.stringify,deserialize:n.parse,...typeof c=="string"?{uri:c}:c,...A},!this.opts.store){let h={...this.opts};this.opts.store=i(h)}if(this.opts.compression){let h=this.opts.compression;this.opts.serialize=h.serialize.bind(h),this.opts.deserialize=h.deserialize.bind(h)}typeof this.opts.store.on=="function"&&l&&this.opts.store.on("error",h=>this.emit("error",h)),this.opts.store.namespace=this.opts.namespace;let f=h=>async function*(){for await(let[g,b]of typeof h=="function"?h(this.opts.store.namespace):h){let C=await this.opts.deserialize(b);if(!(this.opts.store.namespace&&!g.includes(this.opts.store.namespace))){if(typeof C.expires=="number"&&Date.now()>C.expires){this.delete(g);continue}yield[this._getKeyUnprefix(g),C.value]}}};typeof this.opts.store[Symbol.iterator]=="function"&&this.opts.store instanceof Map?this.iterator=f(this.opts.store):typeof this.opts.store.iterator=="function"&&this.opts.store.opts&&this._checkIterableAdaptar()&&(this.iterator=f(this.opts.store.iterator.bind(this.opts.store)))}_checkIterableAdaptar(){return s.includes(this.opts.store.opts.dialect)||s.findIndex(c=>this.opts.store.opts.url.includes(c))>=0}_getKeyPrefix(c){return`${this.opts.namespace}:${c}`}_getKeyPrefixArray(c){return c.map(l=>`${this.opts.namespace}:${l}`)}_getKeyUnprefix(c){return c.split(":").splice(1).join(":")}get(c,l){let{store:A}=this.opts,f=Array.isArray(c),h=f?this._getKeyPrefixArray(c):this._getKeyPrefix(c);if(f&&A.getMany===void 0){let g=[];for(let b of h)g.push(Promise.resolve().then(()=>A.get(b)).then(C=>typeof C=="string"?this.opts.deserialize(C):this.opts.compression?this.opts.deserialize(C):C).then(C=>{if(C!=null)return typeof C.expires=="number"&&Date.now()>C.expires?this.delete(b).then(()=>{}):l&&l.raw?C:C.value}));return Promise.allSettled(g).then(b=>{let C=[];for(let p of b)C.push(p.value);return C})}return Promise.resolve().then(()=>f?A.getMany(h):A.get(h)).then(g=>typeof g=="string"?this.opts.deserialize(g):this.opts.compression?this.opts.deserialize(g):g).then(g=>{if(g!=null)return f?g.map((b,C)=>{if(typeof b=="string"&&(b=this.opts.deserialize(b)),b!=null){if(typeof b.expires=="number"&&Date.now()>b.expires){this.delete(c[C]).then(()=>{});return}return l&&l.raw?b:b.value}}):typeof g.expires=="number"&&Date.now()>g.expires?this.delete(c).then(()=>{}):l&&l.raw?g:g.value})}set(c,l,A){let f=this._getKeyPrefix(c);typeof A>"u"&&(A=this.opts.ttl),A===0&&(A=void 0);let{store:h}=this.opts;return Promise.resolve().then(()=>{let g=typeof A=="number"?Date.now()+A:null;return typeof l=="symbol"&&this.emit("error","symbol cannot be serialized"),l={value:l,expires:g},this.opts.serialize(l)}).then(g=>h.set(f,g,A)).then(()=>!0)}delete(c){let{store:l}=this.opts;if(Array.isArray(c)){let f=this._getKeyPrefixArray(c);if(l.deleteMany===void 0){let h=[];for(let g of f)h.push(l.delete(g));return Promise.allSettled(h).then(g=>g.every(b=>b.value===!0))}return Promise.resolve().then(()=>l.deleteMany(f))}let A=this._getKeyPrefix(c);return Promise.resolve().then(()=>l.delete(A))}clear(){let{store:c}=this.opts;return Promise.resolve().then(()=>c.clear())}has(c){let l=this._getKeyPrefix(c),{store:A}=this.opts;return Promise.resolve().then(async()=>typeof A.has=="function"?A.has(l):await A.get(l)!==void 0)}disconnect(){let{store:c}=this.opts;if(typeof c.disconnect=="function")return c.disconnect()}};t.exports=a}),MJ=_e((e,t)=>{"use strict";var r=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];t.exports=(n,i)=>{if(i._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");let s=new Set(Object.keys(n).concat(r)),a={};for(let c of s)c in i||(a[c]={get(){let l=n[c];return typeof l=="function"?l.bind(n):l},set(l){n[c]=l},enumerable:!0,configurable:!1});return Object.defineProperties(i,a),n.once("aborted",()=>{i.destroy(),i.emit("aborted")}),n.once("close",()=>{n.complete&&i.readable?i.once("end",()=>{i.emit("close")}):i.emit("close")}),i}}),BD=_e((e,t)=>{"use strict";var{Transform:r,PassThrough:n}=require("stream"),i=require("zlib"),s=MJ();t.exports=a=>{let c=(a.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(c))return a;let l=c==="br";if(l&&typeof i.createBrotliDecompress!="function")return a.destroy(new Error("Brotli is not supported on Node.js < 12")),a;let A=!0,f=new r({transform(b,C,p){A=!1,p(null,b)},flush(b){b()}}),h=new n({autoDestroy:!1,destroy(b,C){a.destroy(),C(b)}}),g=l?i.createBrotliDecompress():i.createUnzip();return g.once("error",b=>{if(A&&!a.readable){h.end();return}h.destroy(b)}),s(a,h),a.pipe(f).pipe(g).pipe(h),h}}),yD=_e((e,t)=>{"use strict";var r=class{constructor(n={}){if(!(n.maxSize&&n.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=n.maxSize,this.onEviction=n.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(n,i){if(this.cache.set(n,i),this._size++,this._size>=this.maxSize){if(this._size=0,typeof this.onEviction=="function")for(let[s,a]of this.oldCache.entries())this.onEviction(s,a);this.oldCache=this.cache,this.cache=new Map}}get(n){if(this.cache.has(n))return this.cache.get(n);if(this.oldCache.has(n)){let i=this.oldCache.get(n);return this.oldCache.delete(n),this._set(n,i),i}}set(n,i){return this.cache.has(n)?this.cache.set(n,i):this._set(n,i),this}has(n){return this.cache.has(n)||this.oldCache.has(n)}peek(n){if(this.cache.has(n))return this.cache.get(n);if(this.oldCache.has(n))return this.oldCache.get(n)}delete(n){let i=this.cache.delete(n);return i&&this._size--,this.oldCache.delete(n)||i}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(let[n]of this)yield n}*values(){for(let[,n]of this)yield n}*[Symbol.iterator](){for(let n of this.cache)yield n;for(let n of this.oldCache){let[i]=n;this.cache.has(i)||(yield n)}}get size(){let n=0;for(let i of this.oldCache.keys())this.cache.has(i)||n++;return Math.min(this._size+n,this.maxSize)}};t.exports=r}),QD=_e((e,t)=>{"use strict";t.exports=r=>{if(r.listenerCount("error")!==0)return r;r.__destroy=r._destroy,r._destroy=(...i)=>{let s=i.pop();r.__destroy(...i,async a=>{await Promise.resolve(),s(a)})};let n=i=>{Promise.resolve().then(()=>{r.emit("error",i)})};return r.once("error",n),Promise.resolve().then(()=>{r.off("error",n)}),r}}),Ml=_e((e,t)=>{"use strict";var{URL:r}=require("url"),n=require("events"),i=require("tls"),s=require("http2"),a=yD(),c=QD(),l=Symbol("currentStreamCount"),A=Symbol("request"),f=Symbol("cachedOriginSet"),h=Symbol("gracefullyClosing"),g=Symbol("length"),b=["createConnection","maxDeflateDynamicTableSize","maxSettings","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","peerMaxConcurrentStreams","settings","family","localAddress","rejectUnauthorized","pskCallback","minDHSize","path","socket","ca","cert","sigalgs","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","honorCipherOrder","key","privateKeyEngine","privateKeyIdentifier","maxVersion","minVersion","pfx","secureOptions","secureProtocol","sessionIdContext","ticketKeys"],C=(S,m,T)=>{let L=0,v=S.length;for(;L>>1;T(S[I],m)?L=I+1:v=I}return L},p=(S,m)=>S.remoteSettings.maxConcurrentStreams>m.remoteSettings.maxConcurrentStreams,Q=(S,m)=>{for(let T=0;T0&&L[f].lengthm[f].includes(v))&&L[l]+m[l]<=m.remoteSettings.maxConcurrentStreams&&_(L)}},R=(S,m)=>{for(let T=0;T0&&m[f].lengthL[f].includes(v))&&m[l]+L[l]<=L.remoteSettings.maxConcurrentStreams)return _(m),!0}return!1},_=S=>{S[h]=!0,S[l]===0&&S.close()},d=class mD extends n{constructor({timeout:m=0,maxSessions:T=Number.POSITIVE_INFINITY,maxEmptySessions:L=10,maxCachedTlsSessions:v=100}={}){super(),this.sessions={},this.queue={},this.timeout=m,this.maxSessions=T,this.maxEmptySessions=L,this._emptySessionCount=0,this._sessionCount=0,this.settings={enablePush:!1,initialWindowSize:1024*1024*32},this.tlsSessionCache=new a({maxSize:v})}get protocol(){return"https:"}normalizeOptions(m){let T="";for(let L=0;L=this.maxSessions){this.closeEmptySessions(this.maxSessions-this._sessionCount+1);return}for(let m in this.queue)for(let T in this.queue[m]){let L=this.queue[m][T];L.completed||(L.completed=!0,L())}}_isBetterSession(m,T){return m>T}_accept(m,T,L,v){let I=0;for(;I0&&(this.getSession(L,v,T),T.length=0)}getSession(m,T,L){return new Promise((v,I)=>{Array.isArray(L)&&L.length>0?(L=[...L],v()):L=[{resolve:v,reject:I}];try{if(typeof m=="string")m=new r(m);else if(!(m instanceof r))throw new TypeError("The `origin` argument needs to be a string or an URL object");if(T){let{servername:w}=T,{hostname:N}=m;if(w&&N!==w)throw new Error(`Origin ${N} differs from servername ${w}`)}}catch(w){for(let N=0;N=se||ee[h]||ee.destroyed||(M||(N=se),this._isBetterSession(ce,F)&&(M=ee,F=ce))}if(M){this._accept(M,L,O,T);return}}if(E in this.queue){if(O in this.queue[E]){this.queue[E][O].listeners.push(...L);return}}else this.queue[E]={[g]:0};let q=()=>{E in this.queue&&this.queue[E][O]===V&&(delete this.queue[E][O],--this.queue[E][g]===0&&delete this.queue[E])},V=async()=>{this._sessionCount++;let w=`${O}:${E}`,N=!1,F;try{let M={...T};M.settings===void 0&&(M.settings=this.settings),M.session===void 0&&(M.session=this.tlsSessionCache.get(w)),F=await(M.createConnection||this.createConnection).call(this,m,M),M.createConnection=()=>F;let P=s.connect(m,M);P[l]=0,P[h]=!1;let ee=()=>{let{socket:ge}=P,Ee;return ge.servername===!1?(ge.servername=ge.remoteAddress,Ee=P.originSet,ge.servername=!1):Ee=P.originSet,Ee},se=()=>P[l]{this.tlsSessionCache.set(w,ge)}),P.once("error",ge=>{for(let Ee=0;Ee{P.destroy()}),P.once("close",()=>{if(this._sessionCount--,N){this._emptySessionCount--;let ge=this.sessions[E];ge.length===1?delete this.sessions[E]:ge.splice(ge.indexOf(P),1)}else{q();let ge=new Error("Session closed without receiving a SETTINGS frame");ge.code="HTTP2WRAPPER_NOSETTINGS";for(let Ee=0;Ee{let ge=this.queue[E];if(!ge)return;let Ee=P[f];for(let we=0;we{P[f]=ee()||[],P[h]=!1,R(this.sessions[E],P),!(P[h]||!se())&&(ce(),se()&&Q(this.sessions[E],P))}),P.once("remoteSettings",()=>{if(V.destroyed){let ge=new Error("Agent has been destroyed");for(let Ee=0;Eethis.maxEmptySessions&&this.closeEmptySessions(this._emptySessionCount-this.maxEmptySessions),P.on("remoteSettings",()=>{se()&&(ce(),se()&&Q(this.sessions[E],P))})}),P[A]=P.request,P.request=(ge,Ee)=>{if(P[h])throw new Error("The session is gracefully closing. No new streams are allowed.");let we=P[A](ge,Ee);return P.ref(),P[l]++===0&&this._emptySessionCount--,we.once("close",()=>{if(--P[l]===0&&(this._emptySessionCount++,P.unref(),this._emptySessionCount>this.maxEmptySessions||P[h])){P.close();return}P.destroyed||P.closed||se()&&!R(this.sessions[E],P)&&(Q(this.sessions[E],P),ce(),P[l]===0&&this._processQueue())}),we}}catch(M){q(),this._sessionCount--;for(let P=0;P{this.getSession(m,T,[{reject:E,resolve:O=>{try{let q=O.request(L,v);c(q),I(q)}catch(q){E(q)}}}])})}async createConnection(m,T){return mD.connect(m,T)}static connect(m,T){T.ALPNProtocols=["h2"];let L=m.port||443,v=m.hostname;typeof T.servername>"u"&&(T.servername=v);let I=i.connect(L,v,T);return T.socket&&(I._peername={family:void 0,address:void 0,port:L}),I}closeEmptySessions(m=Number.POSITIVE_INFINITY){let T=0,{sessions:L}=this;for(let v in L){let I=L[v];for(let E=0;E=m))return T}}return T}destroy(m){let{sessions:T,queue:L}=this;for(let v in T){let I=T[v];for(let E=0;E{"use strict";var{Readable:r}=require("stream"),n=class extends r{constructor(i,s){super({emitClose:!1,autoDestroy:!0,highWaterMark:s}),this.statusCode=null,this.statusMessage="",this.httpVersion="2.0",this.httpVersionMajor=2,this.httpVersionMinor=0,this.headers={},this.trailers={},this.req=null,this.aborted=!1,this.complete=!1,this.upgrade=null,this.rawHeaders=[],this.rawTrailers=[],this.socket=i,this._dumped=!1}get connection(){return this.socket}set connection(i){this.socket=i}_destroy(i,s){this.readableEnded||(this.aborted=!0),s(),this.req._request.destroy(i)}setTimeout(i,s){return this.req.setTimeout(i,s),this}_dump(){this._dumped||(this._dumped=!0,this.removeAllListeners("data"),this.resume())}_read(){this.req&&this.req._request.resume()}};t.exports=n}),OJ=_e((e,t)=>{"use strict";t.exports=(r,n,i)=>{for(let s of i)r.on(s,(...a)=>n.emit(s,...a))}}),NE=_e((e,t)=>{"use strict";var r=(n,i,s)=>{t.exports[i]=class extends n{constructor(...a){super(typeof s=="string"?s:s(a)),this.name=`${super.name} [${i}]`,this.code=i}}};r(TypeError,"ERR_INVALID_ARG_TYPE",n=>{let i=n[0].includes(".")?"property":"argument",s=n[1],a=Array.isArray(s);return a&&(s=`${s.slice(0,-1).join(", ")} or ${s.slice(-1)}`),`The "${n[0]}" ${i} must be ${a?"one of":"of"} type ${s}. Received ${typeof n[2]}`}),r(TypeError,"ERR_INVALID_PROTOCOL",n=>`Protocol "${n[0]}" not supported. Expected "${n[1]}"`),r(Error,"ERR_HTTP_HEADERS_SENT",n=>`Cannot ${n[0]} headers after they are sent to the client`),r(TypeError,"ERR_INVALID_HTTP_TOKEN",n=>`${n[0]} must be a valid HTTP token [${n[1]}]`),r(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",n=>`Invalid value "${n[0]} for header "${n[1]}"`),r(TypeError,"ERR_INVALID_CHAR",n=>`Invalid character in ${n[0]} [${n[1]}]`),r(Error,"ERR_HTTP2_NO_SOCKET_MANIPULATION","HTTP/2 sockets should not be directly manipulated (e.g. read and written)")}),PJ=_e((e,t)=>{"use strict";t.exports=r=>{switch(r){case":method":case":scheme":case":authority":case":path":return!0;default:return!1}}}),wD=_e((e,t)=>{"use strict";var{ERR_INVALID_HTTP_TOKEN:r}=NE(),n=PJ(),i=/^[\^`\-\w!#$%&*+.|~]+$/;t.exports=s=>{if(typeof s!="string"||!i.test(s)&&!n(s))throw new r("Header name",s)}}),vD=_e((e,t)=>{"use strict";var{ERR_HTTP_INVALID_HEADER_VALUE:r,ERR_INVALID_CHAR:n}=NE(),i=/[^\t\u0020-\u007E\u0080-\u00FF]/;t.exports=(s,a)=>{if(typeof a>"u")throw new r(a,s);if(i.test(a))throw new n("header content",s)}}),qJ=_e((e,t)=>{"use strict";var{ERR_HTTP2_NO_SOCKET_MANIPULATION:r}=NE(),n={has(i,s){let a=i.session===void 0?i:i.session.socket;return s in i||s in a},get(i,s){switch(s){case"on":case"once":case"end":case"emit":case"destroy":return i[s].bind(i);case"writable":case"destroyed":return i[s];case"readable":return i.destroyed?!1:i.readable;case"setTimeout":{let{session:a}=i;return a!==void 0?a.setTimeout.bind(a):i.setTimeout.bind(i)}case"write":case"read":case"pause":case"resume":throw new r;default:{let a=i.session===void 0?i:i.session.socket,c=a[s];return typeof c=="function"?c.bind(a):c}}},getPrototypeOf(i){return i.session!==void 0?Reflect.getPrototypeOf(i.session.socket):Reflect.getPrototypeOf(i)},set(i,s,a){switch(s){case"writable":case"readable":case"destroyed":case"on":case"once":case"end":case"emit":case"destroy":return i[s]=a,!0;case"setTimeout":{let{session:c}=i;return c===void 0?i.setTimeout=a:c.setTimeout=a,!0}case"write":case"read":case"pause":case"resume":throw new r;default:{let c=i.session===void 0?i:i.session.socket;return c[s]=a,!0}}}};t.exports=n}),SD=_e((e,t)=>{"use strict";var{URL:r,urlToHttpOptions:n}=require("url"),i=require("http2"),{Writable:s}=require("stream"),{Agent:a,globalAgent:c}=Ml(),l=bD(),A=OJ(),{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_PROTOCOL:h,ERR_HTTP_HEADERS_SENT:g}=NE(),b=wD(),C=vD(),p=qJ(),{HTTP2_HEADER_STATUS:Q,HTTP2_HEADER_METHOD:R,HTTP2_HEADER_PATH:_,HTTP2_HEADER_AUTHORITY:d,HTTP2_METHOD_CONNECT:S}=i.constants,m=Symbol("headers"),T=Symbol("origin"),L=Symbol("session"),v=Symbol("options"),I=Symbol("flushedHeaders"),E=Symbol("jobs"),O=Symbol("pendingAgentPromise"),q=class extends s{constructor(V,w,N){if(super({autoDestroy:!1,emitClose:!1}),typeof V=="string"?V=n(new r(V)):V instanceof r?V=n(V):V={...V},typeof w=="function"||w===void 0?(N=w,w=V):w=Object.assign(V,w),w.h2session){if(this[L]=w.h2session,this[L].destroyed)throw new Error("The session has been closed already");this.protocol=this[L].socket.encrypted?"https:":"http:"}else if(w.agent===!1)this.agent=new a({maxEmptySessions:0});else if(typeof w.agent>"u"||w.agent===null)this.agent=c;else if(typeof w.agent.request=="function")this.agent=w.agent;else throw new f("options.agent",["http2wrapper.Agent-like Object","undefined","false"],w.agent);if(this.agent&&(this.protocol=this.agent.protocol),w.protocol&&w.protocol!==this.protocol)throw new h(w.protocol,this.protocol);w.port||(w.port=w.defaultPort||this.agent&&this.agent.defaultPort||443),w.host=w.hostname||w.host||"localhost",delete w.hostname;let{timeout:F}=w;w.timeout=void 0,this[m]=Object.create(null),this[E]=[],this[O]=void 0,this.socket=null,this.connection=null,this.method=w.method||"GET",this.method==="CONNECT"&&(w.path==="/"||w.path===void 0)||(this.path=w.path),this.res=null,this.aborted=!1,this.reusedSocket=!1;let{headers:M}=w;if(M)for(let ee in M)this.setHeader(ee,M[ee]);w.auth&&!("authorization"in this[m])&&(this[m].authorization="Basic "+Buffer.from(w.auth).toString("base64")),w.session=w.tlsSession,w.path=w.socketPath,this[v]=w,this[T]=new r(`${this.protocol}//${w.servername||w.host}:${w.port}`);let P=w._reuseSocket;P&&(w.createConnection=(...ee)=>P.destroyed?this.agent.createConnection(...ee):P,this.agent.getSession(this[T],this[v]).catch(()=>{})),F&&this.setTimeout(F),N&&this.once("response",N),this[I]=!1}get method(){return this[m][R]}set method(V){V&&(this[m][R]=V.toUpperCase())}get path(){let V=this.method==="CONNECT"?d:_;return this[m][V]}set path(V){if(V){let w=this.method==="CONNECT"?d:_;this[m][w]=V}}get host(){return this[T].hostname}set host(V){}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(V,w,N){if(this._mustNotHaveABody){N(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();let F=()=>this._request.write(V,w,N);this._request?F():this[E].push(F)}_final(V){this.flushHeaders();let w=()=>{if(this._mustNotHaveABody||this.method==="CONNECT"){V();return}this._request.end(V)};this._request?w():this[E].push(w)}abort(){this.res&&this.res.complete||(this.aborted||process.nextTick(()=>this.emit("abort")),this.aborted=!0,this.destroy())}async _destroy(V,w){this.res&&this.res._dump(),this._request?this._request.destroy():process.nextTick(()=>{this.emit("close")});try{await this[O]}catch(N){this.aborted&&(V=N)}w(V)}async flushHeaders(){if(this[I]||this.destroyed)return;this[I]=!0;let V=this.method===S,w=N=>{if(this._request=N,this.destroyed){N.destroy();return}V||A(N,this,["timeout","continue"]),N.once("error",M=>{this.destroy(M)}),N.once("aborted",()=>{let{res:M}=this;M?(M.aborted=!0,M.emit("aborted"),M.destroy()):this.destroy(new Error("The server aborted the HTTP/2 stream"))});let F=(M,P,ee)=>{let se=new l(this.socket,N.readableHighWaterMark);this.res=se,se.url=`${this[T].origin}${this.path}`,se.req=this,se.statusCode=M[Q],se.headers=M,se.rawHeaders=ee,se.once("end",()=>{se.complete=!0,se.socket=null,se.connection=null}),V?(se.upgrade=!0,this.emit("connect",se,N,Buffer.alloc(0))?this.emit("close"):N.destroy()):(N.on("data",ce=>{!se._dumped&&!se.push(ce)&&N.pause()}),N.once("end",()=>{this.aborted||se.push(null)}),this.emit("response",se)||se._dump())};N.once("response",F),N.once("headers",M=>this.emit("information",{statusCode:M[Q]})),N.once("trailers",(M,P,ee)=>{let{res:se}=this;if(se===null){F(M,P,ee);return}se.trailers=M,se.rawTrailers=ee}),N.once("close",()=>{let{aborted:M,res:P}=this;if(P){M&&(P.aborted=!0,P.emit("aborted"),P.destroy());let ee=()=>{P.emit("close"),this.destroy(),this.emit("close")};P.readable?P.once("end",ee):ee();return}if(!this.destroyed){this.destroy(new Error("The HTTP/2 stream has been early terminated")),this.emit("close");return}this.destroy(),this.emit("close")}),this.socket=new Proxy(N,p);for(let M of this[E])M();this[E].length=0,this.emit("socket",this.socket)};if(!(d in this[m])&&!V&&(this[m][d]=this[T].host),this[L])try{w(this[L].request(this[m]))}catch(N){this.destroy(N)}else{this.reusedSocket=!0;try{let N=this.agent.request(this[T],this[v],this[m]);this[O]=N,w(await N),this[O]=!1}catch(N){this[O]=!1,this.destroy(N)}}}get connection(){return this.socket}set connection(V){this.socket=V}getHeaderNames(){return Object.keys(this[m])}hasHeader(V){if(typeof V!="string")throw new f("name","string",V);return!!this[m][V.toLowerCase()]}getHeader(V){if(typeof V!="string")throw new f("name","string",V);return this[m][V.toLowerCase()]}get headersSent(){return this[I]}removeHeader(V){if(typeof V!="string")throw new f("name","string",V);if(this.headersSent)throw new g("remove");delete this[m][V.toLowerCase()]}setHeader(V,w){if(this.headersSent)throw new g("set");b(V),C(V,w);let N=V.toLowerCase();if(N==="connection"){if(w.toLowerCase()==="keep-alive")return;throw new Error(`Invalid 'connection' header: ${w}`)}N==="host"&&this.method==="CONNECT"?this[m][d]=w:this[m][N]=w}setNoDelay(){}setSocketKeepAlive(){}setTimeout(V,w){let N=()=>this._request.setTimeout(V,w);return this._request?N():this[E].push(N),this}get maxHeadersCount(){if(!this.destroyed&&this._request)return this._request.session.localSettings.maxHeaderListSize}set maxHeadersCount(V){}};t.exports=q}),VJ=_e((e,t)=>{"use strict";var r=require("tls");t.exports=(n={},i=r.connect)=>new Promise((s,a)=>{let c=!1,l,A=async()=>{await h,l.off("timeout",f),l.off("error",a),n.resolveSocket?(s({alpnProtocol:l.alpnProtocol,socket:l,timeout:c}),c&&(await Promise.resolve(),l.emit("timeout"))):(l.destroy(),s({alpnProtocol:l.alpnProtocol,timeout:c}))},f=async()=>{c=!0,A()},h=(async()=>{try{l=await i(n,A),l.on("error",a),l.once("timeout",f)}catch(g){a(g)}})()})}),HJ=_e((e,t)=>{"use strict";var{isIP:r}=require("net"),n=require("assert"),i=s=>{if(s[0]==="["){let c=s.indexOf("]");return n(c!==-1),s.slice(1,c)}let a=s.indexOf(":");return a===-1?s:s.slice(0,a)};t.exports=s=>{let a=i(s);return r(a)?"":a}}),GJ=_e((e,t)=>{"use strict";var{URL:r,urlToHttpOptions:n}=require("url"),i=require("http"),s=require("https"),a=VJ(),c=yD(),{Agent:l,globalAgent:A}=Ml(),f=SD(),h=HJ(),g=QD(),b=new c({maxSize:100}),C=new Map,p=(_,d,S)=>{d._httpMessage={shouldKeepAlive:!0};let m=()=>{_.emit("free",d,S)};d.on("free",m);let T=()=>{_.removeSocket(d,S)};d.on("close",T);let L=()=>{let{freeSockets:I}=_;for(let E of Object.values(I))if(E.includes(d)){d.destroy();return}};d.on("timeout",L);let v=()=>{_.removeSocket(d,S),d.off("close",T),d.off("free",m),d.off("timeout",L),d.off("agentRemove",v)};d.on("agentRemove",v),_.emit("free",d,S)},Q=(_,d=new Map,S=void 0)=>async m=>{let T=`${m.host}:${m.port}:${m.ALPNProtocols.sort()}`;if(!_.has(T)){if(d.has(T))return{alpnProtocol:(await d.get(T)).alpnProtocol};let{path:L}=m;m.path=m.socketPath;let v=a(m,S);d.set(T,v);try{let I=await v;return _.set(T,I.alpnProtocol),d.delete(T),m.path=L,I}catch(I){throw d.delete(T),m.path=L,I}}return{alpnProtocol:_.get(T)}},R=Q(b,C);t.exports=async(_,d,S)=>{if(typeof _=="string"?_=n(new r(_)):_ instanceof r?_=n(_):_={..._},typeof d=="function"||d===void 0?(S=d,d=_):d=Object.assign(_,d),d.ALPNProtocols=d.ALPNProtocols||["h2","http/1.1"],!Array.isArray(d.ALPNProtocols)||d.ALPNProtocols.length===0)throw new Error("The `ALPNProtocols` option must be an Array with at least one entry");d.protocol=d.protocol||"https:";let m=d.protocol==="https:";d.host=d.hostname||d.host||"localhost",d.session=d.tlsSession,d.servername=d.servername||h(d.headers&&d.headers.host||d.host),d.port=d.port||(m?443:80),d._defaultAgent=m?s.globalAgent:i.globalAgent;let T=d.resolveProtocol||R,{agent:L}=d;if(L!==void 0&&L!==!1&&L.constructor.name!=="Object")throw new Error("The `options.agent` can be only an object `http`, `https` or `http2` properties");if(m){d.resolveSocket=!0;let{socket:v,alpnProtocol:I,timeout:E}=await T(d);if(E){v&&v.destroy();let q=new Error(`Timed out resolving ALPN: ${d.timeout} ms`);throw q.code="ETIMEDOUT",q.ms=d.timeout,q}v&&d.createConnection&&(v.destroy(),v=void 0),delete d.resolveSocket;let O=I==="h2";if(L&&(L=O?L.http2:L.https,d.agent=L),L===void 0&&(L=O?A:s.globalAgent),v)if(L===!1)v.destroy();else{let q=(O?l:s.Agent).prototype.createConnection;L.createConnection===q?O?d._reuseSocket=v:p(L,v,d):v.destroy()}if(O)return g(new f(d,S))}else L&&(d.agent=L.http);return d.headers&&(d.headers={...d.headers},d.headers[":authority"]&&(d.headers.host||(d.headers.host=d.headers[":authority"]),delete d.headers[":authority"]),delete d.headers[":method"],delete d.headers[":scheme"],delete d.headers[":path"]),g(i.request(d,S))},t.exports.protocolCache=b,t.exports.resolveProtocol=R,t.exports.createResolveProtocol=Q}),RD=_e((e,t)=>{"use strict";var r=require("stream"),n=require("tls"),i=new n.TLSSocket(new r.PassThrough)._handle._parentWrap.constructor;t.exports=i}),_D=_e((e,t)=>{"use strict";var r=class extends Error{constructor(n,i=""){super(`The proxy server rejected the request with status code ${n} (${i||"empty status message"})`),this.statusCode=n,this.statusMessage=i}};t.exports=r}),YJ=_e((e,t)=>{"use strict";var r=(n,i,s)=>{if(!s.some(a=>typeof a=="string"?typeof i===a:i instanceof a)){let a=s.map(c=>typeof c=="string"?c:c.name);throw new TypeError(`Expected '${n}' to be a type of ${a.join(" or ")}, got ${typeof i}`)}};t.exports=r}),kD=_e((e,t)=>{"use strict";var{URL:r}=require("url"),n=YJ();t.exports=(i,s)=>{n("proxyOptions",s,["object"]),n("proxyOptions.headers",s.headers,["object","undefined"]),n("proxyOptions.raw",s.raw,["boolean","undefined"]),n("proxyOptions.url",s.url,[r,"string"]);let a=new r(s.url);i.proxyOptions={raw:!0,...s,headers:{...s.headers},url:a}}}),z0=_e((e,t)=>{"use strict";t.exports=r=>{let{username:n,password:i}=r.proxyOptions.url;if(n||i){let s=`${n}:${i}`,a=`Basic ${Buffer.from(s).toString("base64")}`;return{"proxy-authorization":a,authorization:a}}return{}}}),JJ=_e((e,t)=>{"use strict";var r=require("tls"),n=require("http"),i=require("https"),s=RD(),{globalAgent:a}=Ml(),c=_D(),l=kD(),A=z0(),f=(b,C,p)=>{(async()=>{try{let{proxyOptions:Q}=b,{url:R,headers:_,raw:d}=Q,S=await a.request(R,Q,{...A(b),..._,":method":"CONNECT",":authority":`${C.host}:${C.port}`});S.once("error",p),S.once("response",m=>{let T=m[":status"];if(T!==200){p(new c(T,""));return}let L=b instanceof i.Agent;if(d&&L){C.socket=S;let I=r.connect(C);I.once("close",()=>{S.destroy()}),p(null,I);return}let v=new s(S);v.encrypted=!1,v._handle.getpeername=I=>{I.family=void 0,I.address=void 0,I.port=void 0},p(null,v)})}catch(Q){p(Q)}})()},h=class extends n.Agent{constructor(b){super(b),l(this,b.proxyOptions)}createConnection(b,C){f(this,b,C)}},g=class extends i.Agent{constructor(b){super(b),l(this,b.proxyOptions)}createConnection(b,C){f(this,b,C)}};t.exports={HttpOverHttp2:h,HttpsOverHttp2:g}}),DD=_e((e,t)=>{"use strict";var{Agent:r}=Ml(),n=RD(),i=_D(),s=kD(),a=class extends r{constructor(c){super(c),s(this,c.proxyOptions)}async createConnection(c,l){let A=`${c.hostname}:${c.port||443}`,[f,h,g]=await this._getProxyStream(A);if(h!==200)throw new i(h,g);if(this.proxyOptions.raw)l.socket=f;else{let b=new n(f);return b.encrypted=!1,b._handle.getpeername=C=>{C.family=void 0,C.address=void 0,C.port=void 0},b}return super.createConnection(c,l)}};t.exports=a}),WJ=_e((e,t)=>{"use strict";var{globalAgent:r}=Ml(),n=DD(),i=z0(),s=c=>new Promise((l,A)=>{c.once("error",A),c.once("response",f=>{c.off("error",A),l(f[":status"])})}),a=class extends n{async _getProxyStream(c){let{proxyOptions:l}=this,A={...i(this),...l.headers,":method":"CONNECT",":authority":c},f=await r.request(l.url,l,A),h=await s(f);return[f,h,""]}};t.exports=a}),jJ=_e((e,t)=>{"use strict";var r=require("http"),n=require("https"),i=DD(),s=z0(),a=l=>new Promise((A,f)=>{let h=(g,b,C)=>{b.unshift(C),l.off("error",f),A([b,g.statusCode,g.statusMessage])};l.once("error",f),l.once("connect",h)}),c=class extends i{async _getProxyStream(l){let{proxyOptions:A}=this,{url:f,headers:h}=this.proxyOptions,g=(f.protocol==="https:"?n:r).request({...A,hostname:f.hostname,port:f.port,path:l,headers:{...s(this),...h,host:l},method:"CONNECT"}).end();return a(g)}};t.exports={Http2OverHttp:c,Http2OverHttps:c}}),ND=_e((e,t)=>{"use strict";var r=require("http2"),{Agent:n,globalAgent:i}=Ml(),s=SD(),a=bD(),c=GJ(),{HttpOverHttp2:l,HttpsOverHttp2:A}=JJ(),f=WJ(),{Http2OverHttp:h,Http2OverHttps:g}=jJ(),b=wD(),C=vD(),p=(R,_,d)=>new s(R,_,d),Q=(R,_,d)=>{let S=new s(R,_,d);return S.end(),S};t.exports={...r,ClientRequest:s,IncomingMessage:a,Agent:n,globalAgent:i,request:p,get:Q,auto:c,proxies:{HttpOverHttp2:l,HttpsOverHttp2:A,Http2OverHttp2:f,Http2OverHttp:h,Http2OverHttps:g},validateHeaderName:b,validateHeaderValue:C}}),zJ=_e((e,t)=>{if(!globalThis.DOMException)try{let{MessageChannel:r}=require("worker_threads"),n=new r().port1,i=new ArrayBuffer;n.postMessage(i,[i,i])}catch(r){r.constructor.name==="DOMException"&&(globalThis.DOMException=r.constructor)}t.exports=globalThis.DOMException}),TE=_e((e,t)=>{var r=function(n,i){Error.call(this,n),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=n,i&&(this.inner=i)};r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,t.exports=r}),TD=_e((e,t)=>{var r=TE(),n=function(i,s){r.call(this,i),this.name="NotBeforeError",this.date=s};n.prototype=Object.create(r.prototype),n.prototype.constructor=n,t.exports=n}),LD=_e((e,t)=>{var r=TE(),n=function(i,s){r.call(this,i),this.name="TokenExpiredError",this.expiredAt=s};n.prototype=Object.create(r.prototype),n.prototype.constructor=n,t.exports=n}),Mh=_e((e,t)=>{var r=require("buffer"),n=r.Buffer;function i(a,c){for(var l in a)c[l]=a[l]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=s);function s(a,c,l){return n(a,c,l)}s.prototype=Object.create(n.prototype),i(n,s),s.from=function(a,c,l){if(typeof a=="number")throw new TypeError("Argument must not be a number");return n(a,c,l)},s.alloc=function(a,c,l){if(typeof a!="number")throw new TypeError("Argument must be a number");var A=n(a);return c!==void 0?typeof l=="string"?A.fill(c,l):A.fill(c):A.fill(0),A},s.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n(a)},s.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(a)}}),FD=_e((e,t)=>{var r=Mh().Buffer,n=require("stream"),i=require("util");function s(a){if(this.buffer=null,this.writable=!0,this.readable=!0,!a)return this.buffer=r.alloc(0),this;if(typeof a.pipe=="function")return this.buffer=r.alloc(0),a.pipe(this),this;if(a.length||typeof a=="object")return this.buffer=a,this.writable=!1,process.nextTick(function(){this.emit("end",a),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof a+")")}i.inherits(s,n),s.prototype.write=function(a){this.buffer=r.concat([this.buffer,r.from(a)]),this.emit("data",a)},s.prototype.end=function(a){a&&this.write(a),this.emit("end",a),this.emit("close"),this.writable=!1,this.readable=!1},t.exports=s}),KJ=_e((e,t)=>{"use strict";var r=require("buffer").Buffer,n=require("buffer").SlowBuffer;t.exports=i;function i(c,l){if(!r.isBuffer(c)||!r.isBuffer(l)||c.length!==l.length)return!1;for(var A=0,f=0;f{"use strict";function r(s){var a=(s/8|0)+(s%8===0?0:1);return a}var n={ES256:r(256),ES384:r(384),ES512:r(521)};function i(s){var a=n[s];if(a)return a;throw new Error('Unknown algorithm "'+s+'"')}t.exports=i}),$J=_e((e,t)=>{"use strict";var r=Mh().Buffer,n=XJ(),i=128,s=0,a=32,c=16,l=2,A=c|a|s<<6,f=l|s<<6;function h(Q){return Q.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function g(Q){if(r.isBuffer(Q))return Q;if(typeof Q=="string")return r.from(Q,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function b(Q,R){Q=g(Q);var _=n(R),d=_+1,S=Q.length,m=0;if(Q[m++]!==A)throw new Error('Could not find expected "seq"');var T=Q[m++];if(T===(i|1)&&(T=Q[m++]),S-m=i;return S&&--d,d}function p(Q,R){Q=g(Q);var _=n(R),d=Q.length;if(d!==_*2)throw new TypeError('"'+R+'" signatures must be "'+_*2+'" bytes, saw "'+d+'"');var S=C(Q,0,_),m=C(Q,_,Q.length),T=_-S,L=_-m,v=1+1+T+1+1+L,I=v{var r=KJ(),n=Mh().Buffer,i=require("crypto"),s=$J(),a=require("util"),c=`"%s" is not a valid algorithm. Supported algorithms are: - "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,l="secret must be a string or buffer",A="key must be a string or a buffer",f="key must be a string, a buffer or an object",h=typeof i.createPublicKey=="function";h&&(A+=" or a KeyObject",l+="or a KeyObject");function g(w){if(!n.isBuffer(w)&&typeof w!="string"&&(!h||typeof w!="object"||typeof w.type!="string"||typeof w.asymmetricKeyType!="string"||typeof w.export!="function"))throw R(A)}function b(w){if(!n.isBuffer(w)&&typeof w!="string"&&typeof w!="object")throw R(f)}function C(w){if(!n.isBuffer(w)){if(typeof w=="string")return w;if(!h||typeof w!="object"||w.type!=="secret"||typeof w.export!="function")throw R(l)}}function p(w){return w.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Q(w){w=w.toString();var N=4-w.length%4;if(N!==4)for(var F=0;F{var r=require("buffer").Buffer;t.exports=function(n){return typeof n=="string"?n:typeof n=="number"||r.isBuffer(n)?n.toString():JSON.stringify(n)}}),$J=_e((e,t)=>{var r=Mh().Buffer,n=LD(),i=FD(),s=require("stream"),a=UD(),c=require("util");function l(g,b){return r.from(g,b).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function A(g,b,C){C=C||"utf8";var p=l(a(g),"binary"),Q=l(a(b),C);return c.format("%s.%s",p,Q)}function f(g){var b=g.header,C=g.payload,p=g.secret||g.privateKey,Q=g.encoding,R=i(b.alg),_=A(b,C,Q),d=R.sign(_,p);return c.format("%s.%s",_,d)}function h(g){var b=g.secret||g.privateKey||g.key,C=new n(b);this.readable=!0,this.header=g.header,this.encoding=g.encoding,this.secret=this.privateKey=this.key=C,this.payload=new n(g.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}c.inherits(h,s),h.prototype.sign=function(){try{var g=f({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",g),this.emit("data",g),this.emit("end"),this.readable=!1,g}catch(b){this.readable=!1,this.emit("error",b),this.emit("close")}},h.sign=f,t.exports=h}),ZJ=_e((e,t)=>{var r=Mh().Buffer,n=LD(),i=FD(),s=require("stream"),a=UD(),c=require("util"),l=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function A(d){return Object.prototype.toString.call(d)==="[object Object]"}function f(d){if(A(d))return d;try{return JSON.parse(d)}catch{return}}function h(d){var S=d.split(".",1)[0];return f(r.from(S,"base64").toString("binary"))}function g(d){return d.split(".",2).join(".")}function b(d){return d.split(".")[2]}function C(d,S){S=S||"utf8";var m=d.split(".")[1];return r.from(m,"base64").toString(S)}function p(d){return l.test(d)&&!!h(d)}function Q(d,S,m){if(!S){var T=new Error("Missing algorithm parameter for jws.verify");throw T.code="MISSING_ALGORITHM",T}d=a(d);var L=b(d),v=g(d),I=i(S);return I.verify(v,L,m)}function R(d,S){if(S=S||{},d=a(d),!p(d))return null;var m=h(d);if(!m)return null;var T=C(d);return(m.typ==="JWT"||S.json)&&(T=JSON.parse(T,S.encoding)),{header:m,payload:T,signature:b(d)}}function _(d){d=d||{};var S=d.secret||d.publicKey||d.key,m=new n(S);this.readable=!0,this.algorithm=d.algorithm,this.encoding=d.encoding,this.secret=this.publicKey=this.key=m,this.signature=new n(d.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}c.inherits(_,s),_.prototype.verify=function(){try{var d=Q(this.signature.buffer,this.algorithm,this.key.buffer),S=R(this.signature.buffer,this.encoding);return this.emit("done",d,S),this.emit("data",d),this.emit("end"),this.readable=!1,d}catch(m){this.readable=!1,this.emit("error",m),this.emit("close")}},_.decode=R,_.isValid=p,_.verify=Q,t.exports=_}),K0=_e(e=>{var t=$J(),r=ZJ(),n=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];e.ALGORITHMS=n,e.sign=t.sign,e.verify=r.verify,e.decode=r.decode,e.isValid=r.isValid,e.createSign=function(i){return new t(i)},e.createVerify=function(i){return new r(i)}}),xD=_e((e,t)=>{var r=K0();t.exports=function(n,i){i=i||{};var s=r.decode(n,i);if(!s)return null;var a=s.payload;if(typeof a=="string")try{var c=JSON.parse(a);c!==null&&typeof c=="object"&&(a=c)}catch{}return i.complete===!0?{header:s.header,payload:a,signature:s.signature}:a}}),eW=_e((e,t)=>{var r=1e3,n=r*60,i=n*60,s=i*24,a=s*7,c=s*365.25;t.exports=function(g,b){b=b||{};var C=typeof g;if(C==="string"&&g.length>0)return l(g);if(C==="number"&&isFinite(g))return b.long?f(g):A(g);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(g))};function l(g){if(g=String(g),!(g.length>100)){var b=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(g);if(b){var C=parseFloat(b[1]),p=(b[2]||"ms").toLowerCase();switch(p){case"years":case"year":case"yrs":case"yr":case"y":return C*c;case"weeks":case"week":case"w":return C*a;case"days":case"day":case"d":return C*s;case"hours":case"hour":case"hrs":case"hr":case"h":return C*i;case"minutes":case"minute":case"mins":case"min":case"m":return C*n;case"seconds":case"second":case"secs":case"sec":case"s":return C*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return C;default:return}}}}function A(g){var b=Math.abs(g);return b>=s?Math.round(g/s)+"d":b>=i?Math.round(g/i)+"h":b>=n?Math.round(g/n)+"m":b>=r?Math.round(g/r)+"s":g+"ms"}function f(g){var b=Math.abs(g);return b>=s?h(g,b,s,"day"):b>=i?h(g,b,i,"hour"):b>=n?h(g,b,n,"minute"):b>=r?h(g,b,r,"second"):g+" ms"}function h(g,b,C,p){var Q=b>=C*1.5;return Math.round(g/C)+" "+p+(Q?"s":"")}}),MD=_e((e,t)=>{var r=eW();t.exports=function(n,i){var s=i||Math.floor(Date.now()/1e3);if(typeof n=="string"){var a=r(n);return typeof a>"u"?void 0:Math.floor(s+a/1e3)}else return typeof n=="number"?s+n:void 0}}),LE=_e((e,t)=>{var r="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,s=256-6,a=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:s,MAX_SAFE_INTEGER:n,RELEASE_TYPES:a,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),FE=_e((e,t)=>{var r=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};t.exports=r}),Oh=_e((e,t)=>{var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=LE(),s=FE();e=t.exports={};var a=e.re=[],c=e.safeRe=[],l=e.src=[],A=e.t={},f=0,h="[a-zA-Z0-9-]",g=[["\\s",1],["\\d",i],[h,n]],b=p=>{for(let[Q,R]of g)p=p.split(`${Q}*`).join(`${Q}{0,${R}}`).split(`${Q}+`).join(`${Q}{1,${R}}`);return p},C=(p,Q,R)=>{let _=b(Q),d=f++;s(p,d,Q),A[p]=d,l[d]=Q,a[d]=new RegExp(Q,R?"g":void 0),c[d]=new RegExp(_,R?"g":void 0)};C("NUMERICIDENTIFIER","0|[1-9]\\d*"),C("NUMERICIDENTIFIERLOOSE","\\d+"),C("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),C("MAINVERSION",`(${l[A.NUMERICIDENTIFIER]})\\.(${l[A.NUMERICIDENTIFIER]})\\.(${l[A.NUMERICIDENTIFIER]})`),C("MAINVERSIONLOOSE",`(${l[A.NUMERICIDENTIFIERLOOSE]})\\.(${l[A.NUMERICIDENTIFIERLOOSE]})\\.(${l[A.NUMERICIDENTIFIERLOOSE]})`),C("PRERELEASEIDENTIFIER",`(?:${l[A.NUMERICIDENTIFIER]}|${l[A.NONNUMERICIDENTIFIER]})`),C("PRERELEASEIDENTIFIERLOOSE",`(?:${l[A.NUMERICIDENTIFIERLOOSE]}|${l[A.NONNUMERICIDENTIFIER]})`),C("PRERELEASE",`(?:-(${l[A.PRERELEASEIDENTIFIER]}(?:\\.${l[A.PRERELEASEIDENTIFIER]})*))`),C("PRERELEASELOOSE",`(?:-?(${l[A.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[A.PRERELEASEIDENTIFIERLOOSE]})*))`),C("BUILDIDENTIFIER",`${h}+`),C("BUILD",`(?:\\+(${l[A.BUILDIDENTIFIER]}(?:\\.${l[A.BUILDIDENTIFIER]})*))`),C("FULLPLAIN",`v?${l[A.MAINVERSION]}${l[A.PRERELEASE]}?${l[A.BUILD]}?`),C("FULL",`^${l[A.FULLPLAIN]}$`),C("LOOSEPLAIN",`[v=\\s]*${l[A.MAINVERSIONLOOSE]}${l[A.PRERELEASELOOSE]}?${l[A.BUILD]}?`),C("LOOSE",`^${l[A.LOOSEPLAIN]}$`),C("GTLT","((?:<|>)?=?)"),C("XRANGEIDENTIFIERLOOSE",`${l[A.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),C("XRANGEIDENTIFIER",`${l[A.NUMERICIDENTIFIER]}|x|X|\\*`),C("XRANGEPLAIN",`[v=\\s]*(${l[A.XRANGEIDENTIFIER]})(?:\\.(${l[A.XRANGEIDENTIFIER]})(?:\\.(${l[A.XRANGEIDENTIFIER]})(?:${l[A.PRERELEASE]})?${l[A.BUILD]}?)?)?`),C("XRANGEPLAINLOOSE",`[v=\\s]*(${l[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})(?:${l[A.PRERELEASELOOSE]})?${l[A.BUILD]}?)?)?`),C("XRANGE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAIN]}$`),C("XRANGELOOSE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAINLOOSE]}$`),C("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),C("COERCE",`${l[A.COERCEPLAIN]}(?:$|[^\\d])`),C("COERCEFULL",l[A.COERCEPLAIN]+`(?:${l[A.PRERELEASE]})?(?:${l[A.BUILD]})?(?:$|[^\\d])`),C("COERCERTL",l[A.COERCE],!0),C("COERCERTLFULL",l[A.COERCEFULL],!0),C("LONETILDE","(?:~>?)"),C("TILDETRIM",`(\\s*)${l[A.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",C("TILDE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAIN]}$`),C("TILDELOOSE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAINLOOSE]}$`),C("LONECARET","(?:\\^)"),C("CARETTRIM",`(\\s*)${l[A.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",C("CARET",`^${l[A.LONECARET]}${l[A.XRANGEPLAIN]}$`),C("CARETLOOSE",`^${l[A.LONECARET]}${l[A.XRANGEPLAINLOOSE]}$`),C("COMPARATORLOOSE",`^${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]})$|^$`),C("COMPARATOR",`^${l[A.GTLT]}\\s*(${l[A.FULLPLAIN]})$|^$`),C("COMPARATORTRIM",`(\\s*)${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]}|${l[A.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",C("HYPHENRANGE",`^\\s*(${l[A.XRANGEPLAIN]})\\s+-\\s+(${l[A.XRANGEPLAIN]})\\s*$`),C("HYPHENRANGELOOSE",`^\\s*(${l[A.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[A.XRANGEPLAINLOOSE]})\\s*$`),C("STAR","(<|>)?=?\\s*\\*"),C("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),C("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}),X0=_e((e,t)=>{var r=Object.freeze({loose:!0}),n=Object.freeze({}),i=s=>s?typeof s!="object"?r:s:n;t.exports=i}),OD=_e((e,t)=>{var r=/^[0-9]+$/,n=(s,a)=>{let c=r.test(s),l=r.test(a);return c&&l&&(s=+s,a=+a),s===a?0:c&&!l?-1:l&&!c?1:sn(a,s);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}),ri=_e((e,t)=>{var r=FE(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=LE(),{safeRe:s,t:a}=Oh(),c=X0(),{compareIdentifiers:l}=OD(),A=class so{constructor(h,g){if(g=c(g),h instanceof so){if(h.loose===!!g.loose&&h.includePrerelease===!!g.includePrerelease)return h;h=h.version}else if(typeof h!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof h}".`);if(h.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",h,g),this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease;let b=h.trim().match(g.loose?s[a.LOOSE]:s[a.FULL]);if(!b)throw new TypeError(`Invalid Version: ${h}`);if(this.raw=h,this.major=+b[1],this.minor=+b[2],this.patch=+b[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");b[4]?this.prerelease=b[4].split(".").map(C=>{if(/^[0-9]+$/.test(C)){let p=+C;if(p>=0&&p=0;)typeof this.prerelease[p]=="number"&&(this.prerelease[p]++,p=-2);if(p===-1){if(g===this.prerelease.join(".")&&b===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(C)}}if(g){let p=[g,C];b===!1&&(p=[g]),l(this.prerelease[0],g)===0?isNaN(this.prerelease[1])&&(this.prerelease=p):this.prerelease=p}break}default:throw new Error(`invalid increment argument: ${h}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=A}),Ol=_e((e,t)=>{var r=ri(),n=(i,s,a=!1)=>{if(i instanceof r)return i;try{return new r(i,s)}catch(c){if(!a)return null;throw c}};t.exports=n}),tW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i,s);return a?a.version:null};t.exports=n}),rW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i.trim().replace(/^[=v]+/,""),s);return a?a.version:null};t.exports=n}),nW=_e((e,t)=>{var r=ri(),n=(i,s,a,c,l)=>{typeof a=="string"&&(l=c,c=a,a=void 0);try{return new r(i instanceof r?i.version:i,a).inc(s,c,l).version}catch{return null}};t.exports=n}),iW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i,null,!0),c=r(s,null,!0),l=a.compare(c);if(l===0)return null;let A=l>0,f=A?a:c,h=A?c:a,g=!!f.prerelease.length;if(h.prerelease.length&&!g)return!h.patch&&!h.minor?"major":f.patch?"patch":f.minor?"minor":"major";let b=g?"pre":"";return a.major!==c.major?b+"major":a.minor!==c.minor?b+"minor":a.patch!==c.patch?b+"patch":"prerelease"};t.exports=n}),sW=_e((e,t)=>{var r=ri(),n=(i,s)=>new r(i,s).major;t.exports=n}),oW=_e((e,t)=>{var r=ri(),n=(i,s)=>new r(i,s).minor;t.exports=n}),AW=_e((e,t)=>{var r=ri(),n=(i,s)=>new r(i,s).patch;t.exports=n}),aW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i,s);return a&&a.prerelease.length?a.prerelease:null};t.exports=n}),Rs=_e((e,t)=>{var r=ri(),n=(i,s,a)=>new r(i,a).compare(new r(s,a));t.exports=n}),cW=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(s,i,a);t.exports=n}),lW=_e((e,t)=>{var r=Rs(),n=(i,s)=>r(i,s,!0);t.exports=n}),$0=_e((e,t)=>{var r=ri(),n=(i,s,a)=>{let c=new r(i,a),l=new r(s,a);return c.compare(l)||c.compareBuild(l)};t.exports=n}),uW=_e((e,t)=>{var r=$0(),n=(i,s)=>i.sort((a,c)=>r(a,c,s));t.exports=n}),hW=_e((e,t)=>{var r=$0(),n=(i,s)=>i.sort((a,c)=>r(c,a,s));t.exports=n}),UE=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)>0;t.exports=n}),Z0=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)<0;t.exports=n}),PD=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)===0;t.exports=n}),qD=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)!==0;t.exports=n}),eQ=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)>=0;t.exports=n}),tQ=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)<=0;t.exports=n}),VD=_e((e,t)=>{var r=PD(),n=qD(),i=UE(),s=eQ(),a=Z0(),c=tQ(),l=(A,f,h,g)=>{switch(f){case"===":return typeof A=="object"&&(A=A.version),typeof h=="object"&&(h=h.version),A===h;case"!==":return typeof A=="object"&&(A=A.version),typeof h=="object"&&(h=h.version),A!==h;case"":case"=":case"==":return r(A,h,g);case"!=":return n(A,h,g);case">":return i(A,h,g);case">=":return s(A,h,g);case"<":return a(A,h,g);case"<=":return c(A,h,g);default:throw new TypeError(`Invalid operator: ${f}`)}};t.exports=l}),fW=_e((e,t)=>{var r=ri(),n=Ol(),{safeRe:i,t:s}=Oh(),a=(c,l)=>{if(c instanceof r)return c;if(typeof c=="number"&&(c=String(c)),typeof c!="string")return null;l=l||{};let A=null;if(!l.rtl)A=c.match(l.includePrerelease?i[s.COERCEFULL]:i[s.COERCE]);else{let p=l.includePrerelease?i[s.COERCERTLFULL]:i[s.COERCERTL],Q;for(;(Q=p.exec(c))&&(!A||A.index+A[0].length!==c.length);)(!A||Q.index+Q[0].length!==A.index+A[0].length)&&(A=Q),p.lastIndex=Q.index+Q[1].length+Q[2].length;p.lastIndex=-1}if(A===null)return null;let f=A[2],h=A[3]||"0",g=A[4]||"0",b=l.includePrerelease&&A[5]?`-${A[5]}`:"",C=l.includePrerelease&&A[6]?`+${A[6]}`:"";return n(`${f}.${h}.${g}${b}${C}`,l)};t.exports=a}),gW=_e((e,t)=>{"use strict";t.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let n=this.head;n;n=n.next)yield n.value}}}),dW=_e((e,t)=>{"use strict";t.exports=r,r.Node=a,r.create=r;function r(c){var l=this;if(l instanceof r||(l=new r),l.tail=null,l.head=null,l.length=0,c&&typeof c.forEach=="function")c.forEach(function(h){l.push(h)});else if(arguments.length>0)for(var A=0,f=arguments.length;A1)A=l;else if(this.head)f=this.head.next,A=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var h=0;f!==null;h++)A=c(A,f.value,h),f=f.next;return A},r.prototype.reduceReverse=function(c,l){var A,f=this.tail;if(arguments.length>1)A=l;else if(this.tail)f=this.tail.prev,A=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var h=this.length-1;f!==null;h--)A=c(A,f.value,h),f=f.prev;return A},r.prototype.toArray=function(){for(var c=new Array(this.length),l=0,A=this.head;A!==null;l++)c[l]=A.value,A=A.next;return c},r.prototype.toArrayReverse=function(){for(var c=new Array(this.length),l=0,A=this.tail;A!==null;l++)c[l]=A.value,A=A.prev;return c},r.prototype.slice=function(c,l){l=l||this.length,l<0&&(l+=this.length),c=c||0,c<0&&(c+=this.length);var A=new r;if(lthis.length&&(l=this.length);for(var f=0,h=this.head;h!==null&&fthis.length&&(l=this.length);for(var f=this.length,h=this.tail;h!==null&&f>l;f--)h=h.prev;for(;h!==null&&f>c;f--,h=h.prev)A.push(h.value);return A},r.prototype.splice=function(c,l,...A){c>this.length&&(c=this.length-1),c<0&&(c=this.length+c);for(var f=0,h=this.head;h!==null&&f{"use strict";var r=dW(),n=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),c=Symbol("maxAge"),l=Symbol("dispose"),A=Symbol("noDisposeOnSet"),f=Symbol("lruList"),h=Symbol("cache"),g=Symbol("updateAgeOnGet"),b=()=>1,C=class{constructor(m){if(typeof m=="number"&&(m={max:m}),m||(m={}),m.max&&(typeof m.max!="number"||m.max<0))throw new TypeError("max must be a non-negative number");let T=this[n]=m.max||1/0,L=m.length||b;if(this[s]=typeof L!="function"?b:L,this[a]=m.stale||!1,m.maxAge&&typeof m.maxAge!="number")throw new TypeError("maxAge must be a number");this[c]=m.maxAge||0,this[l]=m.dispose,this[A]=m.noDisposeOnSet||!1,this[g]=m.updateAgeOnGet||!1,this.reset()}set max(m){if(typeof m!="number"||m<0)throw new TypeError("max must be a non-negative number");this[n]=m||1/0,R(this)}get max(){return this[n]}set allowStale(m){this[a]=!!m}get allowStale(){return this[a]}set maxAge(m){if(typeof m!="number")throw new TypeError("maxAge must be a non-negative number");this[c]=m,R(this)}get maxAge(){return this[c]}set lengthCalculator(m){typeof m!="function"&&(m=b),m!==this[s]&&(this[s]=m,this[i]=0,this[f].forEach(T=>{T.length=this[s](T.value,T.key),this[i]+=T.length})),R(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(m,T){T=T||this;for(let L=this[f].tail;L!==null;){let v=L.prev;S(this,m,L,T),L=v}}forEach(m,T){T=T||this;for(let L=this[f].head;L!==null;){let v=L.next;S(this,m,L,T),L=v}}keys(){return this[f].toArray().map(m=>m.key)}values(){return this[f].toArray().map(m=>m.value)}reset(){this[l]&&this[f]&&this[f].length&&this[f].forEach(m=>this[l](m.key,m.value)),this[h]=new Map,this[f]=new r,this[i]=0}dump(){return this[f].map(m=>Q(this,m)?!1:{k:m.key,v:m.value,e:m.now+(m.maxAge||0)}).toArray().filter(m=>m)}dumpLru(){return this[f]}set(m,T,L){if(L=L||this[c],L&&typeof L!="number")throw new TypeError("maxAge must be a number");let v=L?Date.now():0,I=this[s](T,m);if(this[h].has(m)){if(I>this[n])return _(this,this[h].get(m)),!1;let O=this[h].get(m).value;return this[l]&&(this[A]||this[l](m,O.value)),O.now=v,O.maxAge=L,O.value=T,this[i]+=I-O.length,O.length=I,this.get(m),R(this),!0}let E=new d(m,T,I,v,L);return E.length>this[n]?(this[l]&&this[l](m,T),!1):(this[i]+=E.length,this[f].unshift(E),this[h].set(m,this[f].head),R(this),!0)}has(m){if(!this[h].has(m))return!1;let T=this[h].get(m).value;return!Q(this,T)}get(m){return p(this,m,!0)}peek(m){return p(this,m,!1)}pop(){let m=this[f].tail;return m?(_(this,m),m.value):null}del(m){_(this,this[h].get(m))}load(m){this.reset();let T=Date.now();for(let L=m.length-1;L>=0;L--){let v=m[L],I=v.e||0;if(I===0)this.set(v.k,v.v);else{let E=I-T;E>0&&this.set(v.k,v.v,E)}}}prune(){this[h].forEach((m,T)=>p(this,T,!1))}},p=(m,T,L)=>{let v=m[h].get(T);if(v){let I=v.value;if(Q(m,I)){if(_(m,v),!m[a])return}else L&&(m[g]&&(v.value.now=Date.now()),m[f].unshiftNode(v));return I.value}},Q=(m,T)=>{if(!T||!T.maxAge&&!m[c])return!1;let L=Date.now()-T.now;return T.maxAge?L>T.maxAge:m[c]&&L>m[c]},R=m=>{if(m[i]>m[n])for(let T=m[f].tail;m[i]>m[n]&&T!==null;){let L=T.prev;_(m,T),T=L}},_=(m,T)=>{if(T){let L=T.value;m[l]&&m[l](L.key,L.value),m[i]-=L.length,m[h].delete(L.key),m[f].removeNode(T)}},d=class{constructor(m,T,L,v,I){this.key=m,this.value=T,this.length=L,this.now=v,this.maxAge=I||0}},S=(m,T,L,v)=>{let I=L.value;Q(m,I)&&(_(m,L),m[a]||(I=void 0)),I&&T.call(v,I.value,I.key,m)};t.exports=C}),_s=_e((e,t)=>{var r=class nE{constructor(F,M){if(M=s(M),F instanceof nE)return F.loose===!!M.loose&&F.includePrerelease===!!M.includePrerelease?F:new nE(F.raw,M);if(F instanceof a)return this.raw=F.value,this.set=[[F]],this.format(),this;if(this.options=M,this.loose=!!M.loose,this.includePrerelease=!!M.includePrerelease,this.raw=F.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(P=>this.parseRange(P.trim())).filter(P=>P.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let P=this.set[0];if(this.set=this.set.filter(ee=>!Q(ee[0])),this.set.length===0)this.set=[P];else if(this.set.length>1){for(let ee of this.set)if(ee.length===1&&R(ee[0])){this.set=[ee];break}}}this.format()}format(){return this.range=this.set.map(F=>F.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(F){let M=((this.options.includePrerelease&&C)|(this.options.loose&&p))+":"+F,P=i.get(M);if(P)return P;let ee=this.options.loose,se=ee?A[f.HYPHENRANGELOOSE]:A[f.HYPHENRANGE];F=F.replace(se,V(this.options.includePrerelease)),c("hyphen replace",F),F=F.replace(A[f.COMPARATORTRIM],h),c("comparator trim",F),F=F.replace(A[f.TILDETRIM],g),c("tilde trim",F),F=F.replace(A[f.CARETTRIM],b),c("caret trim",F);let ce=F.split(" ").map(De=>d(De,this.options)).join(" ").split(/\s+/).map(De=>q(De,this.options));ee&&(ce=ce.filter(De=>(c("loose invalid filter",De,this.options),!!De.match(A[f.COMPARATORLOOSE])))),c("range list",ce);let ge=new Map,Ee=ce.map(De=>new a(De,this.options));for(let De of Ee){if(Q(De))return[De];ge.set(De.value,De)}ge.size>1&&ge.has("")&&ge.delete("");let we=[...ge.values()];return i.set(M,we),we}intersects(F,M){if(!(F instanceof nE))throw new TypeError("a Range is required");return this.set.some(P=>_(P,M)&&F.set.some(ee=>_(ee,M)&&P.every(se=>ee.every(ce=>se.intersects(ce,M)))))}test(F){if(!F)return!1;if(typeof F=="string")try{F=new l(F,this.options)}catch{return!1}for(let M=0;MN.value==="<0.0.0-0",R=N=>N.value==="",_=(N,F)=>{let M=!0,P=N.slice(),ee=P.pop();for(;M&&P.length;)M=P.every(se=>ee.intersects(se,F)),ee=P.pop();return M},d=(N,F)=>(c("comp",N,F),N=L(N,F),c("caret",N),N=m(N,F),c("tildes",N),N=I(N,F),c("xrange",N),N=O(N,F),c("stars",N),N),S=N=>!N||N.toLowerCase()==="x"||N==="*",m=(N,F)=>N.trim().split(/\s+/).map(M=>T(M,F)).join(" "),T=(N,F)=>{let M=F.loose?A[f.TILDELOOSE]:A[f.TILDE];return N.replace(M,(P,ee,se,ce,ge)=>{c("tilde",N,P,ee,se,ce,ge);let Ee;return S(ee)?Ee="":S(se)?Ee=`>=${ee}.0.0 <${+ee+1}.0.0-0`:S(ce)?Ee=`>=${ee}.${se}.0 <${ee}.${+se+1}.0-0`:ge?(c("replaceTilde pr",ge),Ee=`>=${ee}.${se}.${ce}-${ge} <${ee}.${+se+1}.0-0`):Ee=`>=${ee}.${se}.${ce} <${ee}.${+se+1}.0-0`,c("tilde return",Ee),Ee})},L=(N,F)=>N.trim().split(/\s+/).map(M=>v(M,F)).join(" "),v=(N,F)=>{c("caret",N,F);let M=F.loose?A[f.CARETLOOSE]:A[f.CARET],P=F.includePrerelease?"-0":"";return N.replace(M,(ee,se,ce,ge,Ee)=>{c("caret",N,ee,se,ce,ge,Ee);let we;return S(se)?we="":S(ce)?we=`>=${se}.0.0${P} <${+se+1}.0.0-0`:S(ge)?se==="0"?we=`>=${se}.${ce}.0${P} <${se}.${+ce+1}.0-0`:we=`>=${se}.${ce}.0${P} <${+se+1}.0.0-0`:Ee?(c("replaceCaret pr",Ee),se==="0"?ce==="0"?we=`>=${se}.${ce}.${ge}-${Ee} <${se}.${ce}.${+ge+1}-0`:we=`>=${se}.${ce}.${ge}-${Ee} <${se}.${+ce+1}.0-0`:we=`>=${se}.${ce}.${ge}-${Ee} <${+se+1}.0.0-0`):(c("no pr"),se==="0"?ce==="0"?we=`>=${se}.${ce}.${ge}${P} <${se}.${ce}.${+ge+1}-0`:we=`>=${se}.${ce}.${ge}${P} <${se}.${+ce+1}.0-0`:we=`>=${se}.${ce}.${ge} <${+se+1}.0.0-0`),c("caret return",we),we})},I=(N,F)=>(c("replaceXRanges",N,F),N.split(/\s+/).map(M=>E(M,F)).join(" ")),E=(N,F)=>{N=N.trim();let M=F.loose?A[f.XRANGELOOSE]:A[f.XRANGE];return N.replace(M,(P,ee,se,ce,ge,Ee)=>{c("xRange",N,P,ee,se,ce,ge,Ee);let we=S(se),De=we||S(ce),ye=De||S(ge),Ke=ye;return ee==="="&&Ke&&(ee=""),Ee=F.includePrerelease?"-0":"",we?ee===">"||ee==="<"?P="<0.0.0-0":P="*":ee&&Ke?(De&&(ce=0),ge=0,ee===">"?(ee=">=",De?(se=+se+1,ce=0,ge=0):(ce=+ce+1,ge=0)):ee==="<="&&(ee="<",De?se=+se+1:ce=+ce+1),ee==="<"&&(Ee="-0"),P=`${ee+se}.${ce}.${ge}${Ee}`):De?P=`>=${se}.0.0${Ee} <${+se+1}.0.0-0`:ye&&(P=`>=${se}.${ce}.0${Ee} <${se}.${+ce+1}.0-0`),c("xRange return",P),P})},O=(N,F)=>(c("replaceStars",N,F),N.trim().replace(A[f.STAR],"")),q=(N,F)=>(c("replaceGTE0",N,F),N.trim().replace(A[F.includePrerelease?f.GTE0PRE:f.GTE0],"")),V=N=>(F,M,P,ee,se,ce,ge,Ee,we,De,ye,Ke,Se)=>(S(P)?M="":S(ee)?M=`>=${P}.0.0${N?"-0":""}`:S(se)?M=`>=${P}.${ee}.0${N?"-0":""}`:ce?M=`>=${M}`:M=`>=${M}${N?"-0":""}`,S(we)?Ee="":S(De)?Ee=`<${+we+1}.0.0-0`:S(ye)?Ee=`<${we}.${+De+1}.0-0`:Ke?Ee=`<=${we}.${De}.${ye}-${Ke}`:N?Ee=`<${we}.${De}.${+ye+1}-0`:Ee=`<=${Ee}`,`${M} ${Ee}`.trim()),w=(N,F,M)=>{for(let P=0;P0){let ee=N[P].semver;if(ee.major===F.major&&ee.minor===F.minor&&ee.patch===F.patch)return!0}return!1}return!0}}),xE=_e((e,t)=>{var r=Symbol("SemVer ANY"),n=class I0{static get ANY(){return r}constructor(g,b){if(b=i(b),g instanceof I0){if(g.loose===!!b.loose)return g;g=g.value}g=g.trim().split(/\s+/).join(" "),l("comparator",g,b),this.options=b,this.loose=!!b.loose,this.parse(g),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(g){let b=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],C=g.match(b);if(!C)throw new TypeError(`Invalid comparator: ${g}`);this.operator=C[1]!==void 0?C[1]:"",this.operator==="="&&(this.operator=""),C[2]?this.semver=new A(C[2],this.options.loose):this.semver=r}toString(){return this.value}test(g){if(l("Comparator.test",g,this.options.loose),this.semver===r||g===r)return!0;if(typeof g=="string")try{g=new A(g,this.options)}catch{return!1}return c(g,this.operator,this.semver,this.options)}intersects(g,b){if(!(g instanceof I0))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new f(g.value,b).test(this.value):g.operator===""?g.value===""?!0:new f(this.value,b).test(g.semver):(b=i(b),b.includePrerelease&&(this.value==="<0.0.0-0"||g.value==="<0.0.0-0")||!b.includePrerelease&&(this.value.startsWith("<0.0.0")||g.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&g.operator.startsWith(">")||this.operator.startsWith("<")&&g.operator.startsWith("<")||this.semver.version===g.semver.version&&this.operator.includes("=")&&g.operator.includes("=")||c(this.semver,"<",g.semver,b)&&this.operator.startsWith(">")&&g.operator.startsWith("<")||c(this.semver,">",g.semver,b)&&this.operator.startsWith("<")&&g.operator.startsWith(">")))}};t.exports=n;var i=X0(),{safeRe:s,t:a}=Oh(),c=VD(),l=FE(),A=ri(),f=_s()}),ME=_e((e,t)=>{var r=_s(),n=(i,s,a)=>{try{s=new r(s,a)}catch{return!1}return s.test(i)};t.exports=n}),pW=_e((e,t)=>{var r=_s(),n=(i,s)=>new r(i,s).set.map(a=>a.map(c=>c.value).join(" ").trim().split(" "));t.exports=n}),CW=_e((e,t)=>{var r=ri(),n=_s(),i=(s,a,c)=>{let l=null,A=null,f=null;try{f=new n(a,c)}catch{return null}return s.forEach(h=>{f.test(h)&&(!l||A.compare(h)===-1)&&(l=h,A=new r(l,c))}),l};t.exports=i}),IW=_e((e,t)=>{var r=ri(),n=_s(),i=(s,a,c)=>{let l=null,A=null,f=null;try{f=new n(a,c)}catch{return null}return s.forEach(h=>{f.test(h)&&(!l||A.compare(h)===1)&&(l=h,A=new r(l,c))}),l};t.exports=i}),BW=_e((e,t)=>{var r=ri(),n=_s(),i=UE(),s=(a,c)=>{a=new n(a,c);let l=new r("0.0.0");if(a.test(l)||(l=new r("0.0.0-0"),a.test(l)))return l;l=null;for(let A=0;A{let b=new r(g.semver.version);switch(g.operator){case">":b.prerelease.length===0?b.patch++:b.prerelease.push(0),b.raw=b.format();case"":case">=":(!h||i(b,h))&&(h=b);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${g.operator}`)}}),h&&(!l||i(l,h))&&(l=h)}return l&&a.test(l)?l:null};t.exports=s}),yW=_e((e,t)=>{var r=_s(),n=(i,s)=>{try{return new r(i,s).range||"*"}catch{return null}};t.exports=n}),rQ=_e((e,t)=>{var r=ri(),n=xE(),{ANY:i}=n,s=_s(),a=ME(),c=UE(),l=Z0(),A=tQ(),f=eQ(),h=(g,b,C,p)=>{g=new r(g,p),b=new s(b,p);let Q,R,_,d,S;switch(C){case">":Q=c,R=A,_=l,d=">",S=">=";break;case"<":Q=l,R=f,_=c,d="<",S="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(g,b,p))return!1;for(let m=0;m{I.semver===i&&(I=new n(">=0.0.0")),L=L||I,v=v||I,Q(I.semver,L.semver,p)?L=I:_(I.semver,v.semver,p)&&(v=I)}),L.operator===d||L.operator===S||(!v.operator||v.operator===d)&&R(g,v.semver)||v.operator===S&&_(g,v.semver))return!1}return!0};t.exports=h}),QW=_e((e,t)=>{var r=rQ(),n=(i,s,a)=>r(i,s,">",a);t.exports=n}),mW=_e((e,t)=>{var r=rQ(),n=(i,s,a)=>r(i,s,"<",a);t.exports=n}),bW=_e((e,t)=>{var r=_s(),n=(i,s,a)=>(i=new r(i,a),s=new r(s,a),i.intersects(s,a));t.exports=n}),wW=_e((e,t)=>{var r=ME(),n=Rs();t.exports=(i,s,a)=>{let c=[],l=null,A=null,f=i.sort((C,p)=>n(C,p,a));for(let C of f)r(C,s,a)?(A=C,l||(l=C)):(A&&c.push([l,A]),A=null,l=null);l&&c.push([l,null]);let h=[];for(let[C,p]of c)C===p?h.push(C):!p&&C===f[0]?h.push("*"):p?C===f[0]?h.push(`<=${p}`):h.push(`${C} - ${p}`):h.push(`>=${C}`);let g=h.join(" || "),b=typeof s.raw=="string"?s.raw:String(s);return g.length{var r=_s(),n=xE(),{ANY:i}=n,s=ME(),a=Rs(),c=(b,C,p={})=>{if(b===C)return!0;b=new r(b,p),C=new r(C,p);let Q=!1;e:for(let R of b.set){for(let _ of C.set){let d=f(R,_,p);if(Q=Q||d!==null,d)continue e}if(Q)return!1}return!0},l=[new n(">=0.0.0-0")],A=[new n(">=0.0.0")],f=(b,C,p)=>{if(b===C)return!0;if(b.length===1&&b[0].semver===i){if(C.length===1&&C[0].semver===i)return!0;p.includePrerelease?b=l:b=A}if(C.length===1&&C[0].semver===i){if(p.includePrerelease)return!0;C=A}let Q=new Set,R,_;for(let E of b)E.operator===">"||E.operator===">="?R=h(R,E,p):E.operator==="<"||E.operator==="<="?_=g(_,E,p):Q.add(E.semver);if(Q.size>1)return null;let d;if(R&&_&&(d=a(R.semver,_.semver,p),d>0||d===0&&(R.operator!==">="||_.operator!=="<=")))return null;for(let E of Q){if(R&&!s(E,String(R),p)||_&&!s(E,String(_),p))return null;for(let O of C)if(!s(E,String(O),p))return!1;return!0}let S,m,T,L,v=_&&!p.includePrerelease&&_.semver.prerelease.length?_.semver:!1,I=R&&!p.includePrerelease&&R.semver.prerelease.length?R.semver:!1;v&&v.prerelease.length===1&&_.operator==="<"&&v.prerelease[0]===0&&(v=!1);for(let E of C){if(L=L||E.operator===">"||E.operator===">=",T=T||E.operator==="<"||E.operator==="<=",R){if(I&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===I.major&&E.semver.minor===I.minor&&E.semver.patch===I.patch&&(I=!1),E.operator===">"||E.operator===">="){if(S=h(R,E,p),S===E&&S!==R)return!1}else if(R.operator===">="&&!s(R.semver,String(E),p))return!1}if(_){if(v&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===v.major&&E.semver.minor===v.minor&&E.semver.patch===v.patch&&(v=!1),E.operator==="<"||E.operator==="<="){if(m=g(_,E,p),m===E&&m!==_)return!1}else if(_.operator==="<="&&!s(_.semver,String(E),p))return!1}if(!E.operator&&(_||R)&&d!==0)return!1}return!(R&&T&&!_&&d!==0||_&&L&&!R&&d!==0||I||v)},h=(b,C,p)=>{if(!b)return C;let Q=a(b.semver,C.semver,p);return Q>0?b:Q<0||C.operator===">"&&b.operator===">="?C:b},g=(b,C,p)=>{if(!b)return C;let Q=a(b.semver,C.semver,p);return Q<0?b:Q>0||C.operator==="<"&&b.operator==="<="?C:b};t.exports=c}),nQ=_e((e,t)=>{var r=Oh(),n=LE(),i=ri(),s=OD(),a=Ol(),c=tW(),l=rW(),A=nW(),f=iW(),h=sW(),g=oW(),b=AW(),C=aW(),p=Rs(),Q=cW(),R=lW(),_=$0(),d=uW(),S=hW(),m=UE(),T=Z0(),L=PD(),v=qD(),I=eQ(),E=tQ(),O=VD(),q=fW(),V=xE(),w=_s(),N=ME(),F=pW(),M=CW(),P=IW(),ee=BW(),se=yW(),ce=rQ(),ge=QW(),Ee=mW(),we=bW(),De=wW(),ye=vW();t.exports={parse:a,valid:c,clean:l,inc:A,diff:f,major:h,minor:g,patch:b,prerelease:C,compare:p,rcompare:Q,compareLoose:R,compareBuild:_,sort:d,rsort:S,gt:m,lt:T,eq:L,neq:v,gte:I,lte:E,cmp:O,coerce:q,Comparator:V,Range:w,satisfies:N,toComparators:F,maxSatisfying:M,minSatisfying:P,minVersion:ee,validRange:se,outside:ce,gtr:ge,ltr:Ee,intersects:we,simplifyRange:De,subset:ye,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}}),SW=_e((e,t)=>{var r=nQ();t.exports=r.satisfies(process.version,">=15.7.0")}),RW=_e((e,t)=>{var r=nQ();t.exports=r.satisfies(process.version,">=16.9.0")}),HD=_e((e,t)=>{var r=SW(),n=RW(),i={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},s={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};t.exports=function(a,c){if(!a||!c)return;let l=c.asymmetricKeyType;if(!l)return;let A=i[l];if(!A)throw new Error(`Unknown key type "${l}".`);if(!A.includes(a))throw new Error(`"alg" parameter for "${l}" key type must be one of: ${A.join(", ")}.`);if(r)switch(l){case"ec":let f=c.asymmetricKeyDetails.namedCurve,h=s[a];if(f!==h)throw new Error(`"alg" parameter "${a}" requires curve "${h}".`);break;case"rsa-pss":if(n){let g=parseInt(a.slice(-3),10),{hashAlgorithm:b,mgf1HashAlgorithm:C,saltLength:p}=c.asymmetricKeyDetails;if(b!==`sha${g}`||C!==b)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${a}.`);if(p!==void 0&&p>g>>3)throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${a}.`)}break}}}),GD=_e((e,t)=>{var r=nQ();t.exports=r.satisfies(process.version,"^6.12.0 || >=8.0.0")}),_W=_e((e,t)=>{var r=TE(),n=ND(),i=TD(),s=xD(),a=MD(),c=HD(),l=GD(),A=K0(),{KeyObject:f,createSecretKey:h,createPublicKey:g}=require("crypto"),b=["RS256","RS384","RS512"],C=["ES256","ES384","ES512"],p=["RS256","RS384","RS512"],Q=["HS256","HS384","HS512"];l&&(b.splice(b.length,0,"PS256","PS384","PS512"),p.splice(p.length,0,"PS256","PS384","PS512")),t.exports=function(R,_,d,S){typeof d=="function"&&!S&&(S=d,d={}),d||(d={}),d=Object.assign({},d);let m;if(S?m=S:m=function(O,q){if(O)throw O;return q},d.clockTimestamp&&typeof d.clockTimestamp!="number")return m(new r("clockTimestamp must be a number"));if(d.nonce!==void 0&&(typeof d.nonce!="string"||d.nonce.trim()===""))return m(new r("nonce must be a non-empty string"));if(d.allowInvalidAsymmetricKeyTypes!==void 0&&typeof d.allowInvalidAsymmetricKeyTypes!="boolean")return m(new r("allowInvalidAsymmetricKeyTypes must be a boolean"));let T=d.clockTimestamp||Math.floor(Date.now()/1e3);if(!R)return m(new r("jwt must be provided"));if(typeof R!="string")return m(new r("jwt must be a string"));let L=R.split(".");if(L.length!==3)return m(new r("jwt malformed"));let v;try{v=s(R,{complete:!0})}catch(O){return m(O)}if(!v)return m(new r("invalid token"));let I=v.header,E;if(typeof _=="function"){if(!S)return m(new r("verify must be called asynchronous if secret or public key is provided as a callback"));E=_}else E=function(O,q){return q(null,_)};return E(I,function(O,q){if(O)return m(new r("error in secret or public key callback: "+O.message));let V=L[2].trim()!=="";if(!V&&q)return m(new r("jwt signature is required"));if(V&&!q)return m(new r("secret or public key must be provided"));if(!V&&!d.algorithms)return m(new r('please specify "none" in "algorithms" to verify unsigned tokens'));if(q!=null&&!(q instanceof f))try{q=g(q)}catch{try{q=h(typeof q=="string"?Buffer.from(q):q)}catch{return m(new r("secretOrPublicKey is not valid key material"))}}if(d.algorithms||(q.type==="secret"?d.algorithms=Q:["rsa","rsa-pss"].includes(q.asymmetricKeyType)?d.algorithms=p:q.asymmetricKeyType==="ec"?d.algorithms=C:d.algorithms=b),d.algorithms.indexOf(v.header.alg)===-1)return m(new r("invalid algorithm"));if(I.alg.startsWith("HS")&&q.type!=="secret")return m(new r(`secretOrPublicKey must be a symmetric key when using ${I.alg}`));if(/^(?:RS|PS|ES)/.test(I.alg)&&q.type!=="public")return m(new r(`secretOrPublicKey must be an asymmetric key when using ${I.alg}`));if(!d.allowInvalidAsymmetricKeyTypes)try{c(I.alg,q)}catch(F){return m(F)}let w;try{w=A.verify(R,v.header.alg,q)}catch(F){return m(F)}if(!w)return m(new r("invalid signature"));let N=v.payload;if(typeof N.nbf<"u"&&!d.ignoreNotBefore){if(typeof N.nbf!="number")return m(new r("invalid nbf value"));if(N.nbf>T+(d.clockTolerance||0))return m(new n("jwt not active",new Date(N.nbf*1e3)))}if(typeof N.exp<"u"&&!d.ignoreExpiration){if(typeof N.exp!="number")return m(new r("invalid exp value"));if(T>=N.exp+(d.clockTolerance||0))return m(new i("jwt expired",new Date(N.exp*1e3)))}if(d.audience){let F=Array.isArray(d.audience)?d.audience:[d.audience];if(!(Array.isArray(N.aud)?N.aud:[N.aud]).some(function(M){return F.some(function(P){return P instanceof RegExp?P.test(M):P===M})}))return m(new r("jwt audience invalid. expected: "+F.join(" or ")))}if(d.issuer&&(typeof d.issuer=="string"&&N.iss!==d.issuer||Array.isArray(d.issuer)&&d.issuer.indexOf(N.iss)===-1))return m(new r("jwt issuer invalid. expected: "+d.issuer));if(d.subject&&N.sub!==d.subject)return m(new r("jwt subject invalid. expected: "+d.subject));if(d.jwtid&&N.jti!==d.jwtid)return m(new r("jwt jwtid invalid. expected: "+d.jwtid));if(d.nonce&&N.nonce!==d.nonce)return m(new r("jwt nonce invalid. expected: "+d.nonce));if(d.maxAge){if(typeof N.iat!="number")return m(new r("iat required when maxAge is specified"));let F=a(d.maxAge,N.iat);if(typeof F>"u")return m(new r('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(T>=F+(d.clockTolerance||0))return m(new i("maxAge exceeded",new Date(F*1e3)))}if(d.complete===!0){let F=v.signature;return m(null,{header:I,payload:N,signature:F})}return m(null,N)})}}),kW=_e((e,t)=>{(function(){var r,n="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",A=500,f="__lodash_placeholder__",h=1,g=2,b=4,C=1,p=2,Q=1,R=2,_=4,d=8,S=16,m=32,T=64,L=128,v=256,I=512,E=30,O="...",q=800,V=16,w=1,N=2,F=3,M=1/0,P=9007199254740991,ee=17976931348623157e292,se=0/0,ce=4294967295,ge=ce-1,Ee=ce>>>1,we=[["ary",L],["bind",Q],["bindKey",R],["curry",d],["curryRight",S],["flip",I],["partial",m],["partialRight",T],["rearg",v]],De="[object Arguments]",ye="[object Array]",Ke="[object AsyncFunction]",Se="[object Boolean]",lt="[object Date]",ot="[object DOMException]",U="[object Error]",X="[object Function]",z="[object GeneratorFunction]",k="[object Map]",J="[object Number]",oe="[object Null]",te="[object Object]",me="[object Promise]",Oe="[object Proxy]",Ve="[object RegExp]",pe="[object Set]",Ue="[object String]",Xe="[object Symbol]",ht="[object Undefined]",je="[object WeakMap]",Yt="[object WeakSet]",Mt="[object ArrayBuffer]",Ot="[object DataView]",zt="[object Float32Array]",Jt="[object Float64Array]",Kt="[object Int8Array]",fr="[object Int16Array]",mr="[object Int32Array]",gr="[object Uint8Array]",dr="[object Uint8ClampedArray]",xr="[object Uint16Array]",on="[object Uint32Array]",zr=/\b__p \+= '';/g,vn=/\b(__p \+=) '' \+/g,ii=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Pn=/&(?:amp|lt|gt|quot|#39);/g,qn=/[&<>"']/g,Qi=RegExp(Pn.source),Ns=RegExp(qn.source),Sn=/<%-([\s\S]+?)%>/g,Yi=/<%([\s\S]+?)%>/g,Zt=/<%=([\s\S]+?)%>/g,er=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,tr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Er=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(Er.source),pr=/^\s+/,Cr=/\s/,_r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,kr=/\{\n\/\* \[wrapped with (.+)\] \*/,Dr=/,? & /,vr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nr=/[()=,{}\[\]\/\s]/,Mr=/\\(\\)?/g,cr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Sr=/\w*$/,rc=/^[-+]0x[0-9a-f]+$/i,sA=/^0b[01]+$/i,Hl=/^\[object .+?Constructor\]$/,oA=/^0o[0-7]+$/i,ho=/^(?:0|[1-9]\d*)$/,mi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,An=/($^)/,jA=/['\n\r\u2028\u2029\\]/g,fo="\\ud800-\\udfff",AA="\\u0300-\\u036f",aA="\\ufe20-\\ufe2f",nc="\\u20d0-\\u20ff",ic=AA+aA+nc,sc="\\u2700-\\u27bf",cA="a-z\\xdf-\\xf6\\xf8-\\xff",en="\\xac\\xb1\\xd7\\xf7",oc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ac="\\u2000-\\u206f",Gl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zA="A-Z\\xc0-\\xd6\\xd8-\\xde",G="\\ufe0e\\ufe0f",j=en+oc+Ac+Gl,Z="['\u2019]",le="["+fo+"]",Be="["+j+"]",ve="["+ic+"]",Me="\\d+",Fe="["+sc+"]",Lt="["+cA+"]",Tr="[^"+fo+j+Me+sc+cA+zA+"]",an="\\ud83c[\\udffb-\\udfff]",gn="(?:"+ve+"|"+an+")",si="[^"+fo+"]",Ts="(?:\\ud83c[\\udde6-\\uddff]){2}",cn="[\\ud800-\\udbff][\\udc00-\\udfff]",Kr="["+zA+"]",go="\\u200d",bi="(?:"+Lt+"|"+Tr+")",hs="(?:"+Kr+"|"+Tr+")",Yl="(?:"+Z+"(?:d|ll|m|re|s|t|ve))?",Kh="(?:"+Z+"(?:D|LL|M|RE|S|T|VE))?",Jl=gn+"?",Eo="["+G+"]?",lA="(?:"+go+"(?:"+[si,Ts,cn].join("|")+")"+Eo+Jl+")*",ac="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",$h=Eo+Jl+lA,Wl="(?:"+[Fe,Ts,cn].join("|")+")"+$h,jl="(?:"+[si+ve+"?",ve,Ts,cn,le].join("|")+")",zl=RegExp(Z,"g"),ep=RegExp(ve,"g"),Kl=RegExp(an+"(?="+an+")|"+jl+$h,"g"),tp=RegExp([Kr+"?"+Lt+"+"+Yl+"(?="+[Be,Kr,"$"].join("|")+")",hs+"+"+Kh+"(?="+[Be,Kr+bi,"$"].join("|")+")",Kr+"?"+bi+"+"+Yl,Kr+"+"+Kh,Xh,ac,Me,Wl].join("|"),"g"),rp=RegExp("["+go+fo+ic+G+"]"),Ji=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,np=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ip=-1,sr={};sr[zt]=sr[Jt]=sr[Kt]=sr[fr]=sr[mr]=sr[gr]=sr[dr]=sr[xr]=sr[on]=!0,sr[De]=sr[ye]=sr[Mt]=sr[Se]=sr[Ot]=sr[lt]=sr[U]=sr[X]=sr[k]=sr[J]=sr[te]=sr[Ve]=sr[pe]=sr[Ue]=sr[je]=!1;var Pt={};Pt[De]=Pt[ye]=Pt[Mt]=Pt[Ot]=Pt[Se]=Pt[lt]=Pt[zt]=Pt[Jt]=Pt[Kt]=Pt[fr]=Pt[mr]=Pt[k]=Pt[J]=Pt[te]=Pt[Ve]=Pt[pe]=Pt[Ue]=Pt[Xe]=Pt[gr]=Pt[dr]=Pt[xr]=Pt[on]=!0,Pt[U]=Pt[X]=Pt[je]=!1;var Xl={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},KA={"&":"&","<":"<",">":">",'"':""","'":"'"},po={"&":"&","<":"<",">":">",""":'"',"'":"'"},sp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zh=parseFloat,op=parseInt,ef=typeof global=="object"&&global&&global.Object===Object&&global,tf=typeof self=="object"&&self&&self.Object===Object&&self,Xr=ef||tf||Function("return this")(),cc=typeof e=="object"&&e&&!e.nodeType&&e,Ls=cc&&typeof t=="object"&&t&&!t.nodeType&&t,$l=Ls&&Ls.exports===cc,Fs=$l&&ef.process,Rn=function(){try{var ue=Ls&&Ls.require&&Ls.require("util").types;return ue||Fs&&Fs.binding&&Fs.binding("util")}catch{}}(),Zl=Rn&&Rn.isArrayBuffer,rf=Rn&&Rn.isDate,XA=Rn&&Rn.isMap,nf=Rn&&Rn.isRegExp,sf=Rn&&Rn.isSet,eu=Rn&&Rn.isTypedArray;function Vn(ue,Ce,de){switch(de.length){case 0:return ue.call(Ce);case 1:return ue.call(Ce,de[0]);case 2:return ue.call(Ce,de[0],de[1]);case 3:return ue.call(Ce,de[0],de[1],de[2])}return ue.apply(Ce,de)}function lc(ue,Ce,de,Pe){for(var ze=-1,bt=ue==null?0:ue.length;++ze-1}function uA(ue,Ce,de){for(var Pe=-1,ze=ue==null?0:ue.length;++Pe-1;);return de}function fA(ue,Ce){for(var de=ue.length;de--&&Us(Ce,ue[de],0)>-1;);return de}function fc(ue,Ce){for(var de=ue.length,Pe=0;de--;)ue[de]===Ce&&++Pe;return Pe}var xs=ZA(Xl),au=ZA(KA);function up(ue){return"\\"+sp[ue]}function gA(ue,Ce){return ue==null?r:ue[Ce]}function Qo(ue){return rp.test(ue)}function hp(ue){return Ji.test(ue)}function gc(ue){for(var Ce,de=[];!(Ce=ue.next()).done;)de.push(Ce.value);return de}function cu(ue){var Ce=-1,de=Array(ue.size);return ue.forEach(function(Pe,ze){de[++Ce]=[ze,Pe]}),de}function lf(ue,Ce){return function(de){return ue(Ce(de))}}function Ms(ue,Ce){for(var de=-1,Pe=ue.length,ze=0,bt=[];++de-1}function yL(o,u){var B=this.__data__,x=Cf(B,o);return x<0?(++this.size,B.push([o,u])):B[x][1]=u,this}Ro.prototype.clear=pL,Ro.prototype.delete=CL,Ro.prototype.get=IL,Ro.prototype.has=BL,Ro.prototype.set=yL;function _o(o){var u=-1,B=o==null?0:o.length;for(this.clear();++u=u?o:u)),o}function Ki(o,u,B,x,H,$){var ie,Ae=u&h,he=u&g,Qe=u&b;if(B&&(ie=H?B(o,x,H,$):B(o)),ie!==r)return ie;if(!Lr(o))return o;var be=ut(o);if(be){if(ie=wF(o),!Ae)return Ai(o,ie)}else{var ke=Tn(o),qe=ke==X||ke==z;if(QA(o))return lm(o,Ae);if(ke==te||ke==De||qe&&!H){if(ie=he||qe?{}:_m(o),!Ae)return he?gF(o,xL(ie,o)):fF(o,PQ(ie,o))}else{if(!Pt[ke])return H?o:{};ie=vF(o,ke,Ae)}}$||($=new gs);var Ye=$.get(o);if(Ye)return Ye;$.set(o,ie),ib(o)?o.forEach(function(st){ie.add(Ki(st,u,B,st,o,$))}):rb(o)&&o.forEach(function(st,wt){ie.set(wt,Ki(st,u,B,wt,o,$))});var it=Qe?he?Jp:Yp:he?ci:un,Et=be?r:it(o);return _n(Et||o,function(st,wt){Et&&(wt=st,st=o[wt]),uu(ie,wt,Ki(st,u,B,wt,o,$))}),ie}function ML(o){var u=un(o);return function(B){return qQ(B,o,u)}}function qQ(o,u,B){var x=B.length;if(o==null)return!x;for(o=_t(o);x--;){var H=B[x],$=u[H],ie=o[H];if(ie===r&&!(H in o)||!$(ie))return!1}return!0}function VQ(o,u,B){if(typeof o!="function")throw new dn(a);return Cu(function(){o.apply(r,B)},u)}function hu(o,u,B,x){var H=-1,$=$A,ie=!0,Ae=o.length,he=[],Qe=u.length;if(!Ae)return he;B&&(u=rr(u,ln(B))),x?($=uA,ie=!1):u.length>=i&&($=hA,ie=!1,u=new aa(u));e:for(;++HH?0:H+B),x=x===r||x>H?H:gt(x),x<0&&(x+=H),x=B>x?0:ob(x);B0&&B(Ae)?u>1?Cn(Ae,u-1,B,x,H):kn(H,Ae):x||(H[H.length]=Ae)}return H}var Sp=Em(),YQ=Em(!0);function qs(o,u){return o&&Sp(o,u,un)}function Rp(o,u){return o&&YQ(o,u,un)}function Bf(o,u){return Wi(u,function(B){return Lo(o[B])})}function la(o,u){u=BA(u,o);for(var B=0,x=u.length;o!=null&&Bu}function qL(o,u){return o!=null&&Ft.call(o,u)}function VL(o,u){return o!=null&&u in _t(o)}function HL(o,u,B){return o>=fe(u,B)&&o=120&&be.length>=120)?new aa(ie&&be):r}be=o[0];var ke=-1,qe=Ae[0];e:for(;++ke-1;)Ae!==o&&Ic.call(Ae,he,1),Ic.call(o,he,1);return o}function rm(o,u){for(var B=o?u.length:0,x=B-1;B--;){var H=u[B];if(B==x||H!==$){var $=H;To(H)?Ic.call(o,H,1):Mp(o,H)}}return o}function Fp(o,u){return o+yc(Ge()*(u-o+1))}function rF(o,u,B,x){for(var H=-1,$=re(Bc((u-o)/(B||1)),0),ie=de($);$--;)ie[x?$:++H]=o,o+=B;return ie}function Up(o,u){var B="";if(!o||u<1||u>P)return B;do u%2&&(B+=o),u=yc(u/2),u&&(o+=o);while(u);return B}function Bt(o,u){return Zp(Nm(o,u,li),o+"")}function nF(o){return OQ(vc(o))}function iF(o,u){var B=vc(o);return Df(B,ca(u,0,B.length))}function du(o,u,B,x){if(!Lr(o))return o;u=BA(u,o);for(var H=-1,$=u.length,ie=$-1,Ae=o;Ae!=null&&++H<$;){var he=Hs(u[H]),Qe=B;if(he==="__proto__"||he==="constructor"||he==="prototype")return o;if(H!=ie){var be=Ae[he];Qe=x?x(be,he,Ae):r,Qe===r&&(Qe=Lr(be)?be:To(u[H+1])?[]:{})}uu(Ae,he,Qe),Ae=Ae[he]}return o}var nm=Si?function(o,u){return Si.set(o,u),o}:li,sF=oa?function(o,u){return oa(o,"toString",{configurable:!0,enumerable:!1,value:cC(u),writable:!0})}:li;function oF(o){return Df(vc(o))}function Xi(o,u,B){var x=-1,H=o.length;u<0&&(u=-u>H?0:H+u),B=B>H?H:B,B<0&&(B+=H),H=u>B?0:B-u>>>0,u>>>=0;for(var $=de(H);++x>>1,ie=o[$];ie!==null&&!ki(ie)&&(B?ie<=u:ie=i){var Qe=u?null:CF(o);if(Qe)return dc(Qe);ie=!1,H=hA,he=new aa}else he=u?[]:Ae;e:for(;++x<$;){var be=o[x],ke=u?u(be):be;if(be=B||be!==0?be:0,ie&&ke===ke){for(var qe=he.length;qe--;)if(he[qe]===ke)continue e;u&&he.push(ke),Ae.push(be)}else H(he,ke,B)||(he!==Ae&&he.push(ke),Ae.push(be))}return Ae}function Mp(o,u){return u=BA(u,o),o=Tm(o,u),o==null||delete o[Hs($i(u))]}function om(o,u,B,x){return du(o,u,B(la(o,u)),x)}function mf(o,u,B,x){for(var H=o.length,$=x?H:-1;(x?$--:++$=x?o:Xi(o,u,B)}var cm=Qp||function(o){return Xr.clearTimeout(o)};function lm(o,u){if(u)return o.slice();var B=o.length,x=ia?ia(B):new o.constructor(B);return o.copy(x),x}function Vp(o){var u=new o.constructor(o.byteLength);return new wo(u).set(new wo(o)),u}function cF(o,u){var B=u?Vp(o.buffer):o.buffer;return new o.constructor(B,o.byteOffset,o.byteLength)}function lF(o){var u=new o.constructor(o.source,Sr.exec(o));return u.lastIndex=o.lastIndex,u}function uF(o){return Tt?_t(Tt.call(o)):{}}function um(o,u){var B=u?Vp(o.buffer):o.buffer;return new o.constructor(B,o.byteOffset,o.length)}function hm(o,u){if(o!==u){var B=o!==r,x=o===null,H=o===o,$=ki(o),ie=u!==r,Ae=u===null,he=u===u,Qe=ki(u);if(!Ae&&!Qe&&!$&&o>u||$&&ie&&he&&!Ae&&!Qe||x&&ie&&he||!B&&he||!H)return 1;if(!x&&!$&&!Qe&&o=Ae)return he;var Qe=B[x];return he*(Qe=="desc"?-1:1)}}return o.index-u.index}function fm(o,u,B,x){for(var H=-1,$=o.length,ie=B.length,Ae=-1,he=u.length,Qe=re($-ie,0),be=de(he+Qe),ke=!x;++Ae1?B[H-1]:r,ie=H>2?B[2]:r;for($=o.length>3&&typeof $=="function"?(H--,$):r,ie&&Yn(B[0],B[1],ie)&&($=H<3?r:$,H=1),u=_t(u);++x-1?H[$?u[ie]:ie]:r}}function Im(o){return No(function(u){var B=u.length,x=B,H=Nn.prototype.thru;for(o&&u.reverse();x--;){var $=u[x];if(typeof $!="function")throw new dn(a);if(H&&!ie&&_f($)=="wrapper")var ie=new Nn([],!0)}for(x=ie?x:B;++x1&&kt.reverse(),be&&heAe))return!1;var Qe=$.get(o),be=$.get(u);if(Qe&&be)return Qe==u&&be==o;var ke=-1,qe=!0,Ye=B&p?new aa:r;for($.set(o,u),$.set(u,o);++ke1?"& ":"")+u[x],u=u.join(B>2?", ":" "),o.replace(_r,`{ + "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,l="secret must be a string or buffer",A="key must be a string or a buffer",f="key must be a string, a buffer or an object",h=typeof i.createPublicKey=="function";h&&(A+=" or a KeyObject",l+="or a KeyObject");function g(w){if(!n.isBuffer(w)&&typeof w!="string"&&(!h||typeof w!="object"||typeof w.type!="string"||typeof w.asymmetricKeyType!="string"||typeof w.export!="function"))throw R(A)}function b(w){if(!n.isBuffer(w)&&typeof w!="string"&&typeof w!="object")throw R(f)}function C(w){if(!n.isBuffer(w)){if(typeof w=="string")return w;if(!h||typeof w!="object"||w.type!=="secret"||typeof w.export!="function")throw R(l)}}function p(w){return w.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Q(w){w=w.toString();var N=4-w.length%4;if(N!==4)for(var F=0;F{var r=require("buffer").Buffer;t.exports=function(n){return typeof n=="string"?n:typeof n=="number"||r.isBuffer(n)?n.toString():JSON.stringify(n)}}),ZJ=_e((e,t)=>{var r=Mh().Buffer,n=FD(),i=UD(),s=require("stream"),a=xD(),c=require("util");function l(g,b){return r.from(g,b).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function A(g,b,C){C=C||"utf8";var p=l(a(g),"binary"),Q=l(a(b),C);return c.format("%s.%s",p,Q)}function f(g){var b=g.header,C=g.payload,p=g.secret||g.privateKey,Q=g.encoding,R=i(b.alg),_=A(b,C,Q),d=R.sign(_,p);return c.format("%s.%s",_,d)}function h(g){var b=g.secret||g.privateKey||g.key,C=new n(b);this.readable=!0,this.header=g.header,this.encoding=g.encoding,this.secret=this.privateKey=this.key=C,this.payload=new n(g.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}c.inherits(h,s),h.prototype.sign=function(){try{var g=f({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",g),this.emit("data",g),this.emit("end"),this.readable=!1,g}catch(b){this.readable=!1,this.emit("error",b),this.emit("close")}},h.sign=f,t.exports=h}),eW=_e((e,t)=>{var r=Mh().Buffer,n=FD(),i=UD(),s=require("stream"),a=xD(),c=require("util"),l=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function A(d){return Object.prototype.toString.call(d)==="[object Object]"}function f(d){if(A(d))return d;try{return JSON.parse(d)}catch{return}}function h(d){var S=d.split(".",1)[0];return f(r.from(S,"base64").toString("binary"))}function g(d){return d.split(".",2).join(".")}function b(d){return d.split(".")[2]}function C(d,S){S=S||"utf8";var m=d.split(".")[1];return r.from(m,"base64").toString(S)}function p(d){return l.test(d)&&!!h(d)}function Q(d,S,m){if(!S){var T=new Error("Missing algorithm parameter for jws.verify");throw T.code="MISSING_ALGORITHM",T}d=a(d);var L=b(d),v=g(d),I=i(S);return I.verify(v,L,m)}function R(d,S){if(S=S||{},d=a(d),!p(d))return null;var m=h(d);if(!m)return null;var T=C(d);return(m.typ==="JWT"||S.json)&&(T=JSON.parse(T,S.encoding)),{header:m,payload:T,signature:b(d)}}function _(d){d=d||{};var S=d.secret||d.publicKey||d.key,m=new n(S);this.readable=!0,this.algorithm=d.algorithm,this.encoding=d.encoding,this.secret=this.publicKey=this.key=m,this.signature=new n(d.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}c.inherits(_,s),_.prototype.verify=function(){try{var d=Q(this.signature.buffer,this.algorithm,this.key.buffer),S=R(this.signature.buffer,this.encoding);return this.emit("done",d,S),this.emit("data",d),this.emit("end"),this.readable=!1,d}catch(m){this.readable=!1,this.emit("error",m),this.emit("close")}},_.decode=R,_.isValid=p,_.verify=Q,t.exports=_}),K0=_e(e=>{var t=ZJ(),r=eW(),n=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];e.ALGORITHMS=n,e.sign=t.sign,e.verify=r.verify,e.decode=r.decode,e.isValid=r.isValid,e.createSign=function(i){return new t(i)},e.createVerify=function(i){return new r(i)}}),MD=_e((e,t)=>{var r=K0();t.exports=function(n,i){i=i||{};var s=r.decode(n,i);if(!s)return null;var a=s.payload;if(typeof a=="string")try{var c=JSON.parse(a);c!==null&&typeof c=="object"&&(a=c)}catch{}return i.complete===!0?{header:s.header,payload:a,signature:s.signature}:a}}),tW=_e((e,t)=>{var r=1e3,n=r*60,i=n*60,s=i*24,a=s*7,c=s*365.25;t.exports=function(g,b){b=b||{};var C=typeof g;if(C==="string"&&g.length>0)return l(g);if(C==="number"&&isFinite(g))return b.long?f(g):A(g);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(g))};function l(g){if(g=String(g),!(g.length>100)){var b=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(g);if(b){var C=parseFloat(b[1]),p=(b[2]||"ms").toLowerCase();switch(p){case"years":case"year":case"yrs":case"yr":case"y":return C*c;case"weeks":case"week":case"w":return C*a;case"days":case"day":case"d":return C*s;case"hours":case"hour":case"hrs":case"hr":case"h":return C*i;case"minutes":case"minute":case"mins":case"min":case"m":return C*n;case"seconds":case"second":case"secs":case"sec":case"s":return C*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return C;default:return}}}}function A(g){var b=Math.abs(g);return b>=s?Math.round(g/s)+"d":b>=i?Math.round(g/i)+"h":b>=n?Math.round(g/n)+"m":b>=r?Math.round(g/r)+"s":g+"ms"}function f(g){var b=Math.abs(g);return b>=s?h(g,b,s,"day"):b>=i?h(g,b,i,"hour"):b>=n?h(g,b,n,"minute"):b>=r?h(g,b,r,"second"):g+" ms"}function h(g,b,C,p){var Q=b>=C*1.5;return Math.round(g/C)+" "+p+(Q?"s":"")}}),OD=_e((e,t)=>{var r=tW();t.exports=function(n,i){var s=i||Math.floor(Date.now()/1e3);if(typeof n=="string"){var a=r(n);return typeof a>"u"?void 0:Math.floor(s+a/1e3)}else return typeof n=="number"?s+n:void 0}}),LE=_e((e,t)=>{var r="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,s=256-6,a=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:s,MAX_SAFE_INTEGER:n,RELEASE_TYPES:a,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),FE=_e((e,t)=>{var r=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};t.exports=r}),Oh=_e((e,t)=>{var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=LE(),s=FE();e=t.exports={};var a=e.re=[],c=e.safeRe=[],l=e.src=[],A=e.t={},f=0,h="[a-zA-Z0-9-]",g=[["\\s",1],["\\d",i],[h,n]],b=p=>{for(let[Q,R]of g)p=p.split(`${Q}*`).join(`${Q}{0,${R}}`).split(`${Q}+`).join(`${Q}{1,${R}}`);return p},C=(p,Q,R)=>{let _=b(Q),d=f++;s(p,d,Q),A[p]=d,l[d]=Q,a[d]=new RegExp(Q,R?"g":void 0),c[d]=new RegExp(_,R?"g":void 0)};C("NUMERICIDENTIFIER","0|[1-9]\\d*"),C("NUMERICIDENTIFIERLOOSE","\\d+"),C("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),C("MAINVERSION",`(${l[A.NUMERICIDENTIFIER]})\\.(${l[A.NUMERICIDENTIFIER]})\\.(${l[A.NUMERICIDENTIFIER]})`),C("MAINVERSIONLOOSE",`(${l[A.NUMERICIDENTIFIERLOOSE]})\\.(${l[A.NUMERICIDENTIFIERLOOSE]})\\.(${l[A.NUMERICIDENTIFIERLOOSE]})`),C("PRERELEASEIDENTIFIER",`(?:${l[A.NUMERICIDENTIFIER]}|${l[A.NONNUMERICIDENTIFIER]})`),C("PRERELEASEIDENTIFIERLOOSE",`(?:${l[A.NUMERICIDENTIFIERLOOSE]}|${l[A.NONNUMERICIDENTIFIER]})`),C("PRERELEASE",`(?:-(${l[A.PRERELEASEIDENTIFIER]}(?:\\.${l[A.PRERELEASEIDENTIFIER]})*))`),C("PRERELEASELOOSE",`(?:-?(${l[A.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[A.PRERELEASEIDENTIFIERLOOSE]})*))`),C("BUILDIDENTIFIER",`${h}+`),C("BUILD",`(?:\\+(${l[A.BUILDIDENTIFIER]}(?:\\.${l[A.BUILDIDENTIFIER]})*))`),C("FULLPLAIN",`v?${l[A.MAINVERSION]}${l[A.PRERELEASE]}?${l[A.BUILD]}?`),C("FULL",`^${l[A.FULLPLAIN]}$`),C("LOOSEPLAIN",`[v=\\s]*${l[A.MAINVERSIONLOOSE]}${l[A.PRERELEASELOOSE]}?${l[A.BUILD]}?`),C("LOOSE",`^${l[A.LOOSEPLAIN]}$`),C("GTLT","((?:<|>)?=?)"),C("XRANGEIDENTIFIERLOOSE",`${l[A.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),C("XRANGEIDENTIFIER",`${l[A.NUMERICIDENTIFIER]}|x|X|\\*`),C("XRANGEPLAIN",`[v=\\s]*(${l[A.XRANGEIDENTIFIER]})(?:\\.(${l[A.XRANGEIDENTIFIER]})(?:\\.(${l[A.XRANGEIDENTIFIER]})(?:${l[A.PRERELEASE]})?${l[A.BUILD]}?)?)?`),C("XRANGEPLAINLOOSE",`[v=\\s]*(${l[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})(?:${l[A.PRERELEASELOOSE]})?${l[A.BUILD]}?)?)?`),C("XRANGE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAIN]}$`),C("XRANGELOOSE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAINLOOSE]}$`),C("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),C("COERCE",`${l[A.COERCEPLAIN]}(?:$|[^\\d])`),C("COERCEFULL",l[A.COERCEPLAIN]+`(?:${l[A.PRERELEASE]})?(?:${l[A.BUILD]})?(?:$|[^\\d])`),C("COERCERTL",l[A.COERCE],!0),C("COERCERTLFULL",l[A.COERCEFULL],!0),C("LONETILDE","(?:~>?)"),C("TILDETRIM",`(\\s*)${l[A.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",C("TILDE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAIN]}$`),C("TILDELOOSE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAINLOOSE]}$`),C("LONECARET","(?:\\^)"),C("CARETTRIM",`(\\s*)${l[A.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",C("CARET",`^${l[A.LONECARET]}${l[A.XRANGEPLAIN]}$`),C("CARETLOOSE",`^${l[A.LONECARET]}${l[A.XRANGEPLAINLOOSE]}$`),C("COMPARATORLOOSE",`^${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]})$|^$`),C("COMPARATOR",`^${l[A.GTLT]}\\s*(${l[A.FULLPLAIN]})$|^$`),C("COMPARATORTRIM",`(\\s*)${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]}|${l[A.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",C("HYPHENRANGE",`^\\s*(${l[A.XRANGEPLAIN]})\\s+-\\s+(${l[A.XRANGEPLAIN]})\\s*$`),C("HYPHENRANGELOOSE",`^\\s*(${l[A.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[A.XRANGEPLAINLOOSE]})\\s*$`),C("STAR","(<|>)?=?\\s*\\*"),C("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),C("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}),X0=_e((e,t)=>{var r=Object.freeze({loose:!0}),n=Object.freeze({}),i=s=>s?typeof s!="object"?r:s:n;t.exports=i}),PD=_e((e,t)=>{var r=/^[0-9]+$/,n=(s,a)=>{let c=r.test(s),l=r.test(a);return c&&l&&(s=+s,a=+a),s===a?0:c&&!l?-1:l&&!c?1:sn(a,s);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}),ri=_e((e,t)=>{var r=FE(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=LE(),{safeRe:s,t:a}=Oh(),c=X0(),{compareIdentifiers:l}=PD(),A=class so{constructor(h,g){if(g=c(g),h instanceof so){if(h.loose===!!g.loose&&h.includePrerelease===!!g.includePrerelease)return h;h=h.version}else if(typeof h!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof h}".`);if(h.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",h,g),this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease;let b=h.trim().match(g.loose?s[a.LOOSE]:s[a.FULL]);if(!b)throw new TypeError(`Invalid Version: ${h}`);if(this.raw=h,this.major=+b[1],this.minor=+b[2],this.patch=+b[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");b[4]?this.prerelease=b[4].split(".").map(C=>{if(/^[0-9]+$/.test(C)){let p=+C;if(p>=0&&p=0;)typeof this.prerelease[p]=="number"&&(this.prerelease[p]++,p=-2);if(p===-1){if(g===this.prerelease.join(".")&&b===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(C)}}if(g){let p=[g,C];b===!1&&(p=[g]),l(this.prerelease[0],g)===0?isNaN(this.prerelease[1])&&(this.prerelease=p):this.prerelease=p}break}default:throw new Error(`invalid increment argument: ${h}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=A}),Ol=_e((e,t)=>{var r=ri(),n=(i,s,a=!1)=>{if(i instanceof r)return i;try{return new r(i,s)}catch(c){if(!a)return null;throw c}};t.exports=n}),rW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i,s);return a?a.version:null};t.exports=n}),nW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i.trim().replace(/^[=v]+/,""),s);return a?a.version:null};t.exports=n}),iW=_e((e,t)=>{var r=ri(),n=(i,s,a,c,l)=>{typeof a=="string"&&(l=c,c=a,a=void 0);try{return new r(i instanceof r?i.version:i,a).inc(s,c,l).version}catch{return null}};t.exports=n}),sW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i,null,!0),c=r(s,null,!0),l=a.compare(c);if(l===0)return null;let A=l>0,f=A?a:c,h=A?c:a,g=!!f.prerelease.length;if(h.prerelease.length&&!g)return!h.patch&&!h.minor?"major":f.patch?"patch":f.minor?"minor":"major";let b=g?"pre":"";return a.major!==c.major?b+"major":a.minor!==c.minor?b+"minor":a.patch!==c.patch?b+"patch":"prerelease"};t.exports=n}),oW=_e((e,t)=>{var r=ri(),n=(i,s)=>new r(i,s).major;t.exports=n}),AW=_e((e,t)=>{var r=ri(),n=(i,s)=>new r(i,s).minor;t.exports=n}),aW=_e((e,t)=>{var r=ri(),n=(i,s)=>new r(i,s).patch;t.exports=n}),cW=_e((e,t)=>{var r=Ol(),n=(i,s)=>{let a=r(i,s);return a&&a.prerelease.length?a.prerelease:null};t.exports=n}),Rs=_e((e,t)=>{var r=ri(),n=(i,s,a)=>new r(i,a).compare(new r(s,a));t.exports=n}),lW=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(s,i,a);t.exports=n}),uW=_e((e,t)=>{var r=Rs(),n=(i,s)=>r(i,s,!0);t.exports=n}),$0=_e((e,t)=>{var r=ri(),n=(i,s,a)=>{let c=new r(i,a),l=new r(s,a);return c.compare(l)||c.compareBuild(l)};t.exports=n}),hW=_e((e,t)=>{var r=$0(),n=(i,s)=>i.sort((a,c)=>r(a,c,s));t.exports=n}),fW=_e((e,t)=>{var r=$0(),n=(i,s)=>i.sort((a,c)=>r(c,a,s));t.exports=n}),UE=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)>0;t.exports=n}),Z0=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)<0;t.exports=n}),qD=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)===0;t.exports=n}),VD=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)!==0;t.exports=n}),eQ=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)>=0;t.exports=n}),tQ=_e((e,t)=>{var r=Rs(),n=(i,s,a)=>r(i,s,a)<=0;t.exports=n}),HD=_e((e,t)=>{var r=qD(),n=VD(),i=UE(),s=eQ(),a=Z0(),c=tQ(),l=(A,f,h,g)=>{switch(f){case"===":return typeof A=="object"&&(A=A.version),typeof h=="object"&&(h=h.version),A===h;case"!==":return typeof A=="object"&&(A=A.version),typeof h=="object"&&(h=h.version),A!==h;case"":case"=":case"==":return r(A,h,g);case"!=":return n(A,h,g);case">":return i(A,h,g);case">=":return s(A,h,g);case"<":return a(A,h,g);case"<=":return c(A,h,g);default:throw new TypeError(`Invalid operator: ${f}`)}};t.exports=l}),gW=_e((e,t)=>{var r=ri(),n=Ol(),{safeRe:i,t:s}=Oh(),a=(c,l)=>{if(c instanceof r)return c;if(typeof c=="number"&&(c=String(c)),typeof c!="string")return null;l=l||{};let A=null;if(!l.rtl)A=c.match(l.includePrerelease?i[s.COERCEFULL]:i[s.COERCE]);else{let p=l.includePrerelease?i[s.COERCERTLFULL]:i[s.COERCERTL],Q;for(;(Q=p.exec(c))&&(!A||A.index+A[0].length!==c.length);)(!A||Q.index+Q[0].length!==A.index+A[0].length)&&(A=Q),p.lastIndex=Q.index+Q[1].length+Q[2].length;p.lastIndex=-1}if(A===null)return null;let f=A[2],h=A[3]||"0",g=A[4]||"0",b=l.includePrerelease&&A[5]?`-${A[5]}`:"",C=l.includePrerelease&&A[6]?`+${A[6]}`:"";return n(`${f}.${h}.${g}${b}${C}`,l)};t.exports=a}),dW=_e((e,t)=>{"use strict";t.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let n=this.head;n;n=n.next)yield n.value}}}),EW=_e((e,t)=>{"use strict";t.exports=r,r.Node=a,r.create=r;function r(c){var l=this;if(l instanceof r||(l=new r),l.tail=null,l.head=null,l.length=0,c&&typeof c.forEach=="function")c.forEach(function(h){l.push(h)});else if(arguments.length>0)for(var A=0,f=arguments.length;A1)A=l;else if(this.head)f=this.head.next,A=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var h=0;f!==null;h++)A=c(A,f.value,h),f=f.next;return A},r.prototype.reduceReverse=function(c,l){var A,f=this.tail;if(arguments.length>1)A=l;else if(this.tail)f=this.tail.prev,A=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var h=this.length-1;f!==null;h--)A=c(A,f.value,h),f=f.prev;return A},r.prototype.toArray=function(){for(var c=new Array(this.length),l=0,A=this.head;A!==null;l++)c[l]=A.value,A=A.next;return c},r.prototype.toArrayReverse=function(){for(var c=new Array(this.length),l=0,A=this.tail;A!==null;l++)c[l]=A.value,A=A.prev;return c},r.prototype.slice=function(c,l){l=l||this.length,l<0&&(l+=this.length),c=c||0,c<0&&(c+=this.length);var A=new r;if(lthis.length&&(l=this.length);for(var f=0,h=this.head;h!==null&&fthis.length&&(l=this.length);for(var f=this.length,h=this.tail;h!==null&&f>l;f--)h=h.prev;for(;h!==null&&f>c;f--,h=h.prev)A.push(h.value);return A},r.prototype.splice=function(c,l,...A){c>this.length&&(c=this.length-1),c<0&&(c=this.length+c);for(var f=0,h=this.head;h!==null&&f{"use strict";var r=EW(),n=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),c=Symbol("maxAge"),l=Symbol("dispose"),A=Symbol("noDisposeOnSet"),f=Symbol("lruList"),h=Symbol("cache"),g=Symbol("updateAgeOnGet"),b=()=>1,C=class{constructor(m){if(typeof m=="number"&&(m={max:m}),m||(m={}),m.max&&(typeof m.max!="number"||m.max<0))throw new TypeError("max must be a non-negative number");let T=this[n]=m.max||1/0,L=m.length||b;if(this[s]=typeof L!="function"?b:L,this[a]=m.stale||!1,m.maxAge&&typeof m.maxAge!="number")throw new TypeError("maxAge must be a number");this[c]=m.maxAge||0,this[l]=m.dispose,this[A]=m.noDisposeOnSet||!1,this[g]=m.updateAgeOnGet||!1,this.reset()}set max(m){if(typeof m!="number"||m<0)throw new TypeError("max must be a non-negative number");this[n]=m||1/0,R(this)}get max(){return this[n]}set allowStale(m){this[a]=!!m}get allowStale(){return this[a]}set maxAge(m){if(typeof m!="number")throw new TypeError("maxAge must be a non-negative number");this[c]=m,R(this)}get maxAge(){return this[c]}set lengthCalculator(m){typeof m!="function"&&(m=b),m!==this[s]&&(this[s]=m,this[i]=0,this[f].forEach(T=>{T.length=this[s](T.value,T.key),this[i]+=T.length})),R(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(m,T){T=T||this;for(let L=this[f].tail;L!==null;){let v=L.prev;S(this,m,L,T),L=v}}forEach(m,T){T=T||this;for(let L=this[f].head;L!==null;){let v=L.next;S(this,m,L,T),L=v}}keys(){return this[f].toArray().map(m=>m.key)}values(){return this[f].toArray().map(m=>m.value)}reset(){this[l]&&this[f]&&this[f].length&&this[f].forEach(m=>this[l](m.key,m.value)),this[h]=new Map,this[f]=new r,this[i]=0}dump(){return this[f].map(m=>Q(this,m)?!1:{k:m.key,v:m.value,e:m.now+(m.maxAge||0)}).toArray().filter(m=>m)}dumpLru(){return this[f]}set(m,T,L){if(L=L||this[c],L&&typeof L!="number")throw new TypeError("maxAge must be a number");let v=L?Date.now():0,I=this[s](T,m);if(this[h].has(m)){if(I>this[n])return _(this,this[h].get(m)),!1;let O=this[h].get(m).value;return this[l]&&(this[A]||this[l](m,O.value)),O.now=v,O.maxAge=L,O.value=T,this[i]+=I-O.length,O.length=I,this.get(m),R(this),!0}let E=new d(m,T,I,v,L);return E.length>this[n]?(this[l]&&this[l](m,T),!1):(this[i]+=E.length,this[f].unshift(E),this[h].set(m,this[f].head),R(this),!0)}has(m){if(!this[h].has(m))return!1;let T=this[h].get(m).value;return!Q(this,T)}get(m){return p(this,m,!0)}peek(m){return p(this,m,!1)}pop(){let m=this[f].tail;return m?(_(this,m),m.value):null}del(m){_(this,this[h].get(m))}load(m){this.reset();let T=Date.now();for(let L=m.length-1;L>=0;L--){let v=m[L],I=v.e||0;if(I===0)this.set(v.k,v.v);else{let E=I-T;E>0&&this.set(v.k,v.v,E)}}}prune(){this[h].forEach((m,T)=>p(this,T,!1))}},p=(m,T,L)=>{let v=m[h].get(T);if(v){let I=v.value;if(Q(m,I)){if(_(m,v),!m[a])return}else L&&(m[g]&&(v.value.now=Date.now()),m[f].unshiftNode(v));return I.value}},Q=(m,T)=>{if(!T||!T.maxAge&&!m[c])return!1;let L=Date.now()-T.now;return T.maxAge?L>T.maxAge:m[c]&&L>m[c]},R=m=>{if(m[i]>m[n])for(let T=m[f].tail;m[i]>m[n]&&T!==null;){let L=T.prev;_(m,T),T=L}},_=(m,T)=>{if(T){let L=T.value;m[l]&&m[l](L.key,L.value),m[i]-=L.length,m[h].delete(L.key),m[f].removeNode(T)}},d=class{constructor(m,T,L,v,I){this.key=m,this.value=T,this.length=L,this.now=v,this.maxAge=I||0}},S=(m,T,L,v)=>{let I=L.value;Q(m,I)&&(_(m,L),m[a]||(I=void 0)),I&&T.call(v,I.value,I.key,m)};t.exports=C}),_s=_e((e,t)=>{var r=class nE{constructor(F,M){if(M=s(M),F instanceof nE)return F.loose===!!M.loose&&F.includePrerelease===!!M.includePrerelease?F:new nE(F.raw,M);if(F instanceof a)return this.raw=F.value,this.set=[[F]],this.format(),this;if(this.options=M,this.loose=!!M.loose,this.includePrerelease=!!M.includePrerelease,this.raw=F.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(P=>this.parseRange(P.trim())).filter(P=>P.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let P=this.set[0];if(this.set=this.set.filter(ee=>!Q(ee[0])),this.set.length===0)this.set=[P];else if(this.set.length>1){for(let ee of this.set)if(ee.length===1&&R(ee[0])){this.set=[ee];break}}}this.format()}format(){return this.range=this.set.map(F=>F.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(F){let M=((this.options.includePrerelease&&C)|(this.options.loose&&p))+":"+F,P=i.get(M);if(P)return P;let ee=this.options.loose,se=ee?A[f.HYPHENRANGELOOSE]:A[f.HYPHENRANGE];F=F.replace(se,V(this.options.includePrerelease)),c("hyphen replace",F),F=F.replace(A[f.COMPARATORTRIM],h),c("comparator trim",F),F=F.replace(A[f.TILDETRIM],g),c("tilde trim",F),F=F.replace(A[f.CARETTRIM],b),c("caret trim",F);let ce=F.split(" ").map(De=>d(De,this.options)).join(" ").split(/\s+/).map(De=>q(De,this.options));ee&&(ce=ce.filter(De=>(c("loose invalid filter",De,this.options),!!De.match(A[f.COMPARATORLOOSE])))),c("range list",ce);let ge=new Map,Ee=ce.map(De=>new a(De,this.options));for(let De of Ee){if(Q(De))return[De];ge.set(De.value,De)}ge.size>1&&ge.has("")&&ge.delete("");let we=[...ge.values()];return i.set(M,we),we}intersects(F,M){if(!(F instanceof nE))throw new TypeError("a Range is required");return this.set.some(P=>_(P,M)&&F.set.some(ee=>_(ee,M)&&P.every(se=>ee.every(ce=>se.intersects(ce,M)))))}test(F){if(!F)return!1;if(typeof F=="string")try{F=new l(F,this.options)}catch{return!1}for(let M=0;MN.value==="<0.0.0-0",R=N=>N.value==="",_=(N,F)=>{let M=!0,P=N.slice(),ee=P.pop();for(;M&&P.length;)M=P.every(se=>ee.intersects(se,F)),ee=P.pop();return M},d=(N,F)=>(c("comp",N,F),N=L(N,F),c("caret",N),N=m(N,F),c("tildes",N),N=I(N,F),c("xrange",N),N=O(N,F),c("stars",N),N),S=N=>!N||N.toLowerCase()==="x"||N==="*",m=(N,F)=>N.trim().split(/\s+/).map(M=>T(M,F)).join(" "),T=(N,F)=>{let M=F.loose?A[f.TILDELOOSE]:A[f.TILDE];return N.replace(M,(P,ee,se,ce,ge)=>{c("tilde",N,P,ee,se,ce,ge);let Ee;return S(ee)?Ee="":S(se)?Ee=`>=${ee}.0.0 <${+ee+1}.0.0-0`:S(ce)?Ee=`>=${ee}.${se}.0 <${ee}.${+se+1}.0-0`:ge?(c("replaceTilde pr",ge),Ee=`>=${ee}.${se}.${ce}-${ge} <${ee}.${+se+1}.0-0`):Ee=`>=${ee}.${se}.${ce} <${ee}.${+se+1}.0-0`,c("tilde return",Ee),Ee})},L=(N,F)=>N.trim().split(/\s+/).map(M=>v(M,F)).join(" "),v=(N,F)=>{c("caret",N,F);let M=F.loose?A[f.CARETLOOSE]:A[f.CARET],P=F.includePrerelease?"-0":"";return N.replace(M,(ee,se,ce,ge,Ee)=>{c("caret",N,ee,se,ce,ge,Ee);let we;return S(se)?we="":S(ce)?we=`>=${se}.0.0${P} <${+se+1}.0.0-0`:S(ge)?se==="0"?we=`>=${se}.${ce}.0${P} <${se}.${+ce+1}.0-0`:we=`>=${se}.${ce}.0${P} <${+se+1}.0.0-0`:Ee?(c("replaceCaret pr",Ee),se==="0"?ce==="0"?we=`>=${se}.${ce}.${ge}-${Ee} <${se}.${ce}.${+ge+1}-0`:we=`>=${se}.${ce}.${ge}-${Ee} <${se}.${+ce+1}.0-0`:we=`>=${se}.${ce}.${ge}-${Ee} <${+se+1}.0.0-0`):(c("no pr"),se==="0"?ce==="0"?we=`>=${se}.${ce}.${ge}${P} <${se}.${ce}.${+ge+1}-0`:we=`>=${se}.${ce}.${ge}${P} <${se}.${+ce+1}.0-0`:we=`>=${se}.${ce}.${ge} <${+se+1}.0.0-0`),c("caret return",we),we})},I=(N,F)=>(c("replaceXRanges",N,F),N.split(/\s+/).map(M=>E(M,F)).join(" ")),E=(N,F)=>{N=N.trim();let M=F.loose?A[f.XRANGELOOSE]:A[f.XRANGE];return N.replace(M,(P,ee,se,ce,ge,Ee)=>{c("xRange",N,P,ee,se,ce,ge,Ee);let we=S(se),De=we||S(ce),ye=De||S(ge),Ke=ye;return ee==="="&&Ke&&(ee=""),Ee=F.includePrerelease?"-0":"",we?ee===">"||ee==="<"?P="<0.0.0-0":P="*":ee&&Ke?(De&&(ce=0),ge=0,ee===">"?(ee=">=",De?(se=+se+1,ce=0,ge=0):(ce=+ce+1,ge=0)):ee==="<="&&(ee="<",De?se=+se+1:ce=+ce+1),ee==="<"&&(Ee="-0"),P=`${ee+se}.${ce}.${ge}${Ee}`):De?P=`>=${se}.0.0${Ee} <${+se+1}.0.0-0`:ye&&(P=`>=${se}.${ce}.0${Ee} <${se}.${+ce+1}.0-0`),c("xRange return",P),P})},O=(N,F)=>(c("replaceStars",N,F),N.trim().replace(A[f.STAR],"")),q=(N,F)=>(c("replaceGTE0",N,F),N.trim().replace(A[F.includePrerelease?f.GTE0PRE:f.GTE0],"")),V=N=>(F,M,P,ee,se,ce,ge,Ee,we,De,ye,Ke,Se)=>(S(P)?M="":S(ee)?M=`>=${P}.0.0${N?"-0":""}`:S(se)?M=`>=${P}.${ee}.0${N?"-0":""}`:ce?M=`>=${M}`:M=`>=${M}${N?"-0":""}`,S(we)?Ee="":S(De)?Ee=`<${+we+1}.0.0-0`:S(ye)?Ee=`<${we}.${+De+1}.0-0`:Ke?Ee=`<=${we}.${De}.${ye}-${Ke}`:N?Ee=`<${we}.${De}.${+ye+1}-0`:Ee=`<=${Ee}`,`${M} ${Ee}`.trim()),w=(N,F,M)=>{for(let P=0;P0){let ee=N[P].semver;if(ee.major===F.major&&ee.minor===F.minor&&ee.patch===F.patch)return!0}return!1}return!0}}),xE=_e((e,t)=>{var r=Symbol("SemVer ANY"),n=class I0{static get ANY(){return r}constructor(g,b){if(b=i(b),g instanceof I0){if(g.loose===!!b.loose)return g;g=g.value}g=g.trim().split(/\s+/).join(" "),l("comparator",g,b),this.options=b,this.loose=!!b.loose,this.parse(g),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(g){let b=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],C=g.match(b);if(!C)throw new TypeError(`Invalid comparator: ${g}`);this.operator=C[1]!==void 0?C[1]:"",this.operator==="="&&(this.operator=""),C[2]?this.semver=new A(C[2],this.options.loose):this.semver=r}toString(){return this.value}test(g){if(l("Comparator.test",g,this.options.loose),this.semver===r||g===r)return!0;if(typeof g=="string")try{g=new A(g,this.options)}catch{return!1}return c(g,this.operator,this.semver,this.options)}intersects(g,b){if(!(g instanceof I0))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new f(g.value,b).test(this.value):g.operator===""?g.value===""?!0:new f(this.value,b).test(g.semver):(b=i(b),b.includePrerelease&&(this.value==="<0.0.0-0"||g.value==="<0.0.0-0")||!b.includePrerelease&&(this.value.startsWith("<0.0.0")||g.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&g.operator.startsWith(">")||this.operator.startsWith("<")&&g.operator.startsWith("<")||this.semver.version===g.semver.version&&this.operator.includes("=")&&g.operator.includes("=")||c(this.semver,"<",g.semver,b)&&this.operator.startsWith(">")&&g.operator.startsWith("<")||c(this.semver,">",g.semver,b)&&this.operator.startsWith("<")&&g.operator.startsWith(">")))}};t.exports=n;var i=X0(),{safeRe:s,t:a}=Oh(),c=HD(),l=FE(),A=ri(),f=_s()}),ME=_e((e,t)=>{var r=_s(),n=(i,s,a)=>{try{s=new r(s,a)}catch{return!1}return s.test(i)};t.exports=n}),CW=_e((e,t)=>{var r=_s(),n=(i,s)=>new r(i,s).set.map(a=>a.map(c=>c.value).join(" ").trim().split(" "));t.exports=n}),IW=_e((e,t)=>{var r=ri(),n=_s(),i=(s,a,c)=>{let l=null,A=null,f=null;try{f=new n(a,c)}catch{return null}return s.forEach(h=>{f.test(h)&&(!l||A.compare(h)===-1)&&(l=h,A=new r(l,c))}),l};t.exports=i}),BW=_e((e,t)=>{var r=ri(),n=_s(),i=(s,a,c)=>{let l=null,A=null,f=null;try{f=new n(a,c)}catch{return null}return s.forEach(h=>{f.test(h)&&(!l||A.compare(h)===1)&&(l=h,A=new r(l,c))}),l};t.exports=i}),yW=_e((e,t)=>{var r=ri(),n=_s(),i=UE(),s=(a,c)=>{a=new n(a,c);let l=new r("0.0.0");if(a.test(l)||(l=new r("0.0.0-0"),a.test(l)))return l;l=null;for(let A=0;A{let b=new r(g.semver.version);switch(g.operator){case">":b.prerelease.length===0?b.patch++:b.prerelease.push(0),b.raw=b.format();case"":case">=":(!h||i(b,h))&&(h=b);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${g.operator}`)}}),h&&(!l||i(l,h))&&(l=h)}return l&&a.test(l)?l:null};t.exports=s}),QW=_e((e,t)=>{var r=_s(),n=(i,s)=>{try{return new r(i,s).range||"*"}catch{return null}};t.exports=n}),rQ=_e((e,t)=>{var r=ri(),n=xE(),{ANY:i}=n,s=_s(),a=ME(),c=UE(),l=Z0(),A=tQ(),f=eQ(),h=(g,b,C,p)=>{g=new r(g,p),b=new s(b,p);let Q,R,_,d,S;switch(C){case">":Q=c,R=A,_=l,d=">",S=">=";break;case"<":Q=l,R=f,_=c,d="<",S="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(g,b,p))return!1;for(let m=0;m{I.semver===i&&(I=new n(">=0.0.0")),L=L||I,v=v||I,Q(I.semver,L.semver,p)?L=I:_(I.semver,v.semver,p)&&(v=I)}),L.operator===d||L.operator===S||(!v.operator||v.operator===d)&&R(g,v.semver)||v.operator===S&&_(g,v.semver))return!1}return!0};t.exports=h}),mW=_e((e,t)=>{var r=rQ(),n=(i,s,a)=>r(i,s,">",a);t.exports=n}),bW=_e((e,t)=>{var r=rQ(),n=(i,s,a)=>r(i,s,"<",a);t.exports=n}),wW=_e((e,t)=>{var r=_s(),n=(i,s,a)=>(i=new r(i,a),s=new r(s,a),i.intersects(s,a));t.exports=n}),vW=_e((e,t)=>{var r=ME(),n=Rs();t.exports=(i,s,a)=>{let c=[],l=null,A=null,f=i.sort((C,p)=>n(C,p,a));for(let C of f)r(C,s,a)?(A=C,l||(l=C)):(A&&c.push([l,A]),A=null,l=null);l&&c.push([l,null]);let h=[];for(let[C,p]of c)C===p?h.push(C):!p&&C===f[0]?h.push("*"):p?C===f[0]?h.push(`<=${p}`):h.push(`${C} - ${p}`):h.push(`>=${C}`);let g=h.join(" || "),b=typeof s.raw=="string"?s.raw:String(s);return g.length{var r=_s(),n=xE(),{ANY:i}=n,s=ME(),a=Rs(),c=(b,C,p={})=>{if(b===C)return!0;b=new r(b,p),C=new r(C,p);let Q=!1;e:for(let R of b.set){for(let _ of C.set){let d=f(R,_,p);if(Q=Q||d!==null,d)continue e}if(Q)return!1}return!0},l=[new n(">=0.0.0-0")],A=[new n(">=0.0.0")],f=(b,C,p)=>{if(b===C)return!0;if(b.length===1&&b[0].semver===i){if(C.length===1&&C[0].semver===i)return!0;p.includePrerelease?b=l:b=A}if(C.length===1&&C[0].semver===i){if(p.includePrerelease)return!0;C=A}let Q=new Set,R,_;for(let E of b)E.operator===">"||E.operator===">="?R=h(R,E,p):E.operator==="<"||E.operator==="<="?_=g(_,E,p):Q.add(E.semver);if(Q.size>1)return null;let d;if(R&&_&&(d=a(R.semver,_.semver,p),d>0||d===0&&(R.operator!==">="||_.operator!=="<=")))return null;for(let E of Q){if(R&&!s(E,String(R),p)||_&&!s(E,String(_),p))return null;for(let O of C)if(!s(E,String(O),p))return!1;return!0}let S,m,T,L,v=_&&!p.includePrerelease&&_.semver.prerelease.length?_.semver:!1,I=R&&!p.includePrerelease&&R.semver.prerelease.length?R.semver:!1;v&&v.prerelease.length===1&&_.operator==="<"&&v.prerelease[0]===0&&(v=!1);for(let E of C){if(L=L||E.operator===">"||E.operator===">=",T=T||E.operator==="<"||E.operator==="<=",R){if(I&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===I.major&&E.semver.minor===I.minor&&E.semver.patch===I.patch&&(I=!1),E.operator===">"||E.operator===">="){if(S=h(R,E,p),S===E&&S!==R)return!1}else if(R.operator===">="&&!s(R.semver,String(E),p))return!1}if(_){if(v&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===v.major&&E.semver.minor===v.minor&&E.semver.patch===v.patch&&(v=!1),E.operator==="<"||E.operator==="<="){if(m=g(_,E,p),m===E&&m!==_)return!1}else if(_.operator==="<="&&!s(_.semver,String(E),p))return!1}if(!E.operator&&(_||R)&&d!==0)return!1}return!(R&&T&&!_&&d!==0||_&&L&&!R&&d!==0||I||v)},h=(b,C,p)=>{if(!b)return C;let Q=a(b.semver,C.semver,p);return Q>0?b:Q<0||C.operator===">"&&b.operator===">="?C:b},g=(b,C,p)=>{if(!b)return C;let Q=a(b.semver,C.semver,p);return Q<0?b:Q>0||C.operator==="<"&&b.operator==="<="?C:b};t.exports=c}),nQ=_e((e,t)=>{var r=Oh(),n=LE(),i=ri(),s=PD(),a=Ol(),c=rW(),l=nW(),A=iW(),f=sW(),h=oW(),g=AW(),b=aW(),C=cW(),p=Rs(),Q=lW(),R=uW(),_=$0(),d=hW(),S=fW(),m=UE(),T=Z0(),L=qD(),v=VD(),I=eQ(),E=tQ(),O=HD(),q=gW(),V=xE(),w=_s(),N=ME(),F=CW(),M=IW(),P=BW(),ee=yW(),se=QW(),ce=rQ(),ge=mW(),Ee=bW(),we=wW(),De=vW(),ye=SW();t.exports={parse:a,valid:c,clean:l,inc:A,diff:f,major:h,minor:g,patch:b,prerelease:C,compare:p,rcompare:Q,compareLoose:R,compareBuild:_,sort:d,rsort:S,gt:m,lt:T,eq:L,neq:v,gte:I,lte:E,cmp:O,coerce:q,Comparator:V,Range:w,satisfies:N,toComparators:F,maxSatisfying:M,minSatisfying:P,minVersion:ee,validRange:se,outside:ce,gtr:ge,ltr:Ee,intersects:we,simplifyRange:De,subset:ye,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}}),RW=_e((e,t)=>{var r=nQ();t.exports=r.satisfies(process.version,">=15.7.0")}),_W=_e((e,t)=>{var r=nQ();t.exports=r.satisfies(process.version,">=16.9.0")}),GD=_e((e,t)=>{var r=RW(),n=_W(),i={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},s={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};t.exports=function(a,c){if(!a||!c)return;let l=c.asymmetricKeyType;if(!l)return;let A=i[l];if(!A)throw new Error(`Unknown key type "${l}".`);if(!A.includes(a))throw new Error(`"alg" parameter for "${l}" key type must be one of: ${A.join(", ")}.`);if(r)switch(l){case"ec":let f=c.asymmetricKeyDetails.namedCurve,h=s[a];if(f!==h)throw new Error(`"alg" parameter "${a}" requires curve "${h}".`);break;case"rsa-pss":if(n){let g=parseInt(a.slice(-3),10),{hashAlgorithm:b,mgf1HashAlgorithm:C,saltLength:p}=c.asymmetricKeyDetails;if(b!==`sha${g}`||C!==b)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${a}.`);if(p!==void 0&&p>g>>3)throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${a}.`)}break}}}),YD=_e((e,t)=>{var r=nQ();t.exports=r.satisfies(process.version,"^6.12.0 || >=8.0.0")}),kW=_e((e,t)=>{var r=TE(),n=TD(),i=LD(),s=MD(),a=OD(),c=GD(),l=YD(),A=K0(),{KeyObject:f,createSecretKey:h,createPublicKey:g}=require("crypto"),b=["RS256","RS384","RS512"],C=["ES256","ES384","ES512"],p=["RS256","RS384","RS512"],Q=["HS256","HS384","HS512"];l&&(b.splice(b.length,0,"PS256","PS384","PS512"),p.splice(p.length,0,"PS256","PS384","PS512")),t.exports=function(R,_,d,S){typeof d=="function"&&!S&&(S=d,d={}),d||(d={}),d=Object.assign({},d);let m;if(S?m=S:m=function(O,q){if(O)throw O;return q},d.clockTimestamp&&typeof d.clockTimestamp!="number")return m(new r("clockTimestamp must be a number"));if(d.nonce!==void 0&&(typeof d.nonce!="string"||d.nonce.trim()===""))return m(new r("nonce must be a non-empty string"));if(d.allowInvalidAsymmetricKeyTypes!==void 0&&typeof d.allowInvalidAsymmetricKeyTypes!="boolean")return m(new r("allowInvalidAsymmetricKeyTypes must be a boolean"));let T=d.clockTimestamp||Math.floor(Date.now()/1e3);if(!R)return m(new r("jwt must be provided"));if(typeof R!="string")return m(new r("jwt must be a string"));let L=R.split(".");if(L.length!==3)return m(new r("jwt malformed"));let v;try{v=s(R,{complete:!0})}catch(O){return m(O)}if(!v)return m(new r("invalid token"));let I=v.header,E;if(typeof _=="function"){if(!S)return m(new r("verify must be called asynchronous if secret or public key is provided as a callback"));E=_}else E=function(O,q){return q(null,_)};return E(I,function(O,q){if(O)return m(new r("error in secret or public key callback: "+O.message));let V=L[2].trim()!=="";if(!V&&q)return m(new r("jwt signature is required"));if(V&&!q)return m(new r("secret or public key must be provided"));if(!V&&!d.algorithms)return m(new r('please specify "none" in "algorithms" to verify unsigned tokens'));if(q!=null&&!(q instanceof f))try{q=g(q)}catch{try{q=h(typeof q=="string"?Buffer.from(q):q)}catch{return m(new r("secretOrPublicKey is not valid key material"))}}if(d.algorithms||(q.type==="secret"?d.algorithms=Q:["rsa","rsa-pss"].includes(q.asymmetricKeyType)?d.algorithms=p:q.asymmetricKeyType==="ec"?d.algorithms=C:d.algorithms=b),d.algorithms.indexOf(v.header.alg)===-1)return m(new r("invalid algorithm"));if(I.alg.startsWith("HS")&&q.type!=="secret")return m(new r(`secretOrPublicKey must be a symmetric key when using ${I.alg}`));if(/^(?:RS|PS|ES)/.test(I.alg)&&q.type!=="public")return m(new r(`secretOrPublicKey must be an asymmetric key when using ${I.alg}`));if(!d.allowInvalidAsymmetricKeyTypes)try{c(I.alg,q)}catch(F){return m(F)}let w;try{w=A.verify(R,v.header.alg,q)}catch(F){return m(F)}if(!w)return m(new r("invalid signature"));let N=v.payload;if(typeof N.nbf<"u"&&!d.ignoreNotBefore){if(typeof N.nbf!="number")return m(new r("invalid nbf value"));if(N.nbf>T+(d.clockTolerance||0))return m(new n("jwt not active",new Date(N.nbf*1e3)))}if(typeof N.exp<"u"&&!d.ignoreExpiration){if(typeof N.exp!="number")return m(new r("invalid exp value"));if(T>=N.exp+(d.clockTolerance||0))return m(new i("jwt expired",new Date(N.exp*1e3)))}if(d.audience){let F=Array.isArray(d.audience)?d.audience:[d.audience];if(!(Array.isArray(N.aud)?N.aud:[N.aud]).some(function(M){return F.some(function(P){return P instanceof RegExp?P.test(M):P===M})}))return m(new r("jwt audience invalid. expected: "+F.join(" or ")))}if(d.issuer&&(typeof d.issuer=="string"&&N.iss!==d.issuer||Array.isArray(d.issuer)&&d.issuer.indexOf(N.iss)===-1))return m(new r("jwt issuer invalid. expected: "+d.issuer));if(d.subject&&N.sub!==d.subject)return m(new r("jwt subject invalid. expected: "+d.subject));if(d.jwtid&&N.jti!==d.jwtid)return m(new r("jwt jwtid invalid. expected: "+d.jwtid));if(d.nonce&&N.nonce!==d.nonce)return m(new r("jwt nonce invalid. expected: "+d.nonce));if(d.maxAge){if(typeof N.iat!="number")return m(new r("iat required when maxAge is specified"));let F=a(d.maxAge,N.iat);if(typeof F>"u")return m(new r('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(T>=F+(d.clockTolerance||0))return m(new i("maxAge exceeded",new Date(F*1e3)))}if(d.complete===!0){let F=v.signature;return m(null,{header:I,payload:N,signature:F})}return m(null,N)})}}),DW=_e((e,t)=>{(function(){var r,n="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",A=500,f="__lodash_placeholder__",h=1,g=2,b=4,C=1,p=2,Q=1,R=2,_=4,d=8,S=16,m=32,T=64,L=128,v=256,I=512,E=30,O="...",q=800,V=16,w=1,N=2,F=3,M=1/0,P=9007199254740991,ee=17976931348623157e292,se=0/0,ce=4294967295,ge=ce-1,Ee=ce>>>1,we=[["ary",L],["bind",Q],["bindKey",R],["curry",d],["curryRight",S],["flip",I],["partial",m],["partialRight",T],["rearg",v]],De="[object Arguments]",ye="[object Array]",Ke="[object AsyncFunction]",Se="[object Boolean]",lt="[object Date]",ot="[object DOMException]",U="[object Error]",X="[object Function]",z="[object GeneratorFunction]",k="[object Map]",J="[object Number]",oe="[object Null]",te="[object Object]",me="[object Promise]",Oe="[object Proxy]",Ve="[object RegExp]",pe="[object Set]",Ue="[object String]",Xe="[object Symbol]",ht="[object Undefined]",je="[object WeakMap]",Yt="[object WeakSet]",Mt="[object ArrayBuffer]",Ot="[object DataView]",zt="[object Float32Array]",Jt="[object Float64Array]",Kt="[object Int8Array]",fr="[object Int16Array]",mr="[object Int32Array]",gr="[object Uint8Array]",dr="[object Uint8ClampedArray]",xr="[object Uint16Array]",on="[object Uint32Array]",zr=/\b__p \+= '';/g,vn=/\b(__p \+=) '' \+/g,ii=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Pn=/&(?:amp|lt|gt|quot|#39);/g,qn=/[&<>"']/g,Qi=RegExp(Pn.source),Ns=RegExp(qn.source),Sn=/<%-([\s\S]+?)%>/g,Yi=/<%([\s\S]+?)%>/g,Zt=/<%=([\s\S]+?)%>/g,er=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,tr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Er=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(Er.source),pr=/^\s+/,Cr=/\s/,_r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,kr=/\{\n\/\* \[wrapped with (.+)\] \*/,Dr=/,? & /,vr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nr=/[()=,{}\[\]\/\s]/,Mr=/\\(\\)?/g,cr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Sr=/\w*$/,rc=/^[-+]0x[0-9a-f]+$/i,sA=/^0b[01]+$/i,Hl=/^\[object .+?Constructor\]$/,oA=/^0o[0-7]+$/i,ho=/^(?:0|[1-9]\d*)$/,mi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,An=/($^)/,jA=/['\n\r\u2028\u2029\\]/g,fo="\\ud800-\\udfff",AA="\\u0300-\\u036f",aA="\\ufe20-\\ufe2f",nc="\\u20d0-\\u20ff",ic=AA+aA+nc,sc="\\u2700-\\u27bf",cA="a-z\\xdf-\\xf6\\xf8-\\xff",en="\\xac\\xb1\\xd7\\xf7",oc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ac="\\u2000-\\u206f",Gl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zA="A-Z\\xc0-\\xd6\\xd8-\\xde",G="\\ufe0e\\ufe0f",j=en+oc+Ac+Gl,Z="['\u2019]",le="["+fo+"]",Be="["+j+"]",ve="["+ic+"]",Me="\\d+",Fe="["+sc+"]",Lt="["+cA+"]",Tr="[^"+fo+j+Me+sc+cA+zA+"]",an="\\ud83c[\\udffb-\\udfff]",gn="(?:"+ve+"|"+an+")",si="[^"+fo+"]",Ts="(?:\\ud83c[\\udde6-\\uddff]){2}",cn="[\\ud800-\\udbff][\\udc00-\\udfff]",Kr="["+zA+"]",go="\\u200d",bi="(?:"+Lt+"|"+Tr+")",hs="(?:"+Kr+"|"+Tr+")",Yl="(?:"+Z+"(?:d|ll|m|re|s|t|ve))?",Kh="(?:"+Z+"(?:D|LL|M|RE|S|T|VE))?",Jl=gn+"?",Eo="["+G+"]?",lA="(?:"+go+"(?:"+[si,Ts,cn].join("|")+")"+Eo+Jl+")*",ac="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",$h=Eo+Jl+lA,Wl="(?:"+[Fe,Ts,cn].join("|")+")"+$h,jl="(?:"+[si+ve+"?",ve,Ts,cn,le].join("|")+")",zl=RegExp(Z,"g"),ep=RegExp(ve,"g"),Kl=RegExp(an+"(?="+an+")|"+jl+$h,"g"),tp=RegExp([Kr+"?"+Lt+"+"+Yl+"(?="+[Be,Kr,"$"].join("|")+")",hs+"+"+Kh+"(?="+[Be,Kr+bi,"$"].join("|")+")",Kr+"?"+bi+"+"+Yl,Kr+"+"+Kh,Xh,ac,Me,Wl].join("|"),"g"),rp=RegExp("["+go+fo+ic+G+"]"),Ji=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,np=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ip=-1,sr={};sr[zt]=sr[Jt]=sr[Kt]=sr[fr]=sr[mr]=sr[gr]=sr[dr]=sr[xr]=sr[on]=!0,sr[De]=sr[ye]=sr[Mt]=sr[Se]=sr[Ot]=sr[lt]=sr[U]=sr[X]=sr[k]=sr[J]=sr[te]=sr[Ve]=sr[pe]=sr[Ue]=sr[je]=!1;var Pt={};Pt[De]=Pt[ye]=Pt[Mt]=Pt[Ot]=Pt[Se]=Pt[lt]=Pt[zt]=Pt[Jt]=Pt[Kt]=Pt[fr]=Pt[mr]=Pt[k]=Pt[J]=Pt[te]=Pt[Ve]=Pt[pe]=Pt[Ue]=Pt[Xe]=Pt[gr]=Pt[dr]=Pt[xr]=Pt[on]=!0,Pt[U]=Pt[X]=Pt[je]=!1;var Xl={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},KA={"&":"&","<":"<",">":">",'"':""","'":"'"},po={"&":"&","<":"<",">":">",""":'"',"'":"'"},sp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zh=parseFloat,op=parseInt,ef=typeof global=="object"&&global&&global.Object===Object&&global,tf=typeof self=="object"&&self&&self.Object===Object&&self,Xr=ef||tf||Function("return this")(),cc=typeof e=="object"&&e&&!e.nodeType&&e,Ls=cc&&typeof t=="object"&&t&&!t.nodeType&&t,$l=Ls&&Ls.exports===cc,Fs=$l&&ef.process,Rn=function(){try{var ue=Ls&&Ls.require&&Ls.require("util").types;return ue||Fs&&Fs.binding&&Fs.binding("util")}catch{}}(),Zl=Rn&&Rn.isArrayBuffer,rf=Rn&&Rn.isDate,XA=Rn&&Rn.isMap,nf=Rn&&Rn.isRegExp,sf=Rn&&Rn.isSet,eu=Rn&&Rn.isTypedArray;function Vn(ue,Ce,de){switch(de.length){case 0:return ue.call(Ce);case 1:return ue.call(Ce,de[0]);case 2:return ue.call(Ce,de[0],de[1]);case 3:return ue.call(Ce,de[0],de[1],de[2])}return ue.apply(Ce,de)}function lc(ue,Ce,de,Pe){for(var ze=-1,bt=ue==null?0:ue.length;++ze-1}function uA(ue,Ce,de){for(var Pe=-1,ze=ue==null?0:ue.length;++Pe-1;);return de}function fA(ue,Ce){for(var de=ue.length;de--&&Us(Ce,ue[de],0)>-1;);return de}function fc(ue,Ce){for(var de=ue.length,Pe=0;de--;)ue[de]===Ce&&++Pe;return Pe}var xs=ZA(Xl),au=ZA(KA);function up(ue){return"\\"+sp[ue]}function gA(ue,Ce){return ue==null?r:ue[Ce]}function Qo(ue){return rp.test(ue)}function hp(ue){return Ji.test(ue)}function gc(ue){for(var Ce,de=[];!(Ce=ue.next()).done;)de.push(Ce.value);return de}function cu(ue){var Ce=-1,de=Array(ue.size);return ue.forEach(function(Pe,ze){de[++Ce]=[ze,Pe]}),de}function lf(ue,Ce){return function(de){return ue(Ce(de))}}function Ms(ue,Ce){for(var de=-1,Pe=ue.length,ze=0,bt=[];++de-1}function QL(o,u){var B=this.__data__,x=Cf(B,o);return x<0?(++this.size,B.push([o,u])):B[x][1]=u,this}Ro.prototype.clear=CL,Ro.prototype.delete=IL,Ro.prototype.get=BL,Ro.prototype.has=yL,Ro.prototype.set=QL;function _o(o){var u=-1,B=o==null?0:o.length;for(this.clear();++u=u?o:u)),o}function Ki(o,u,B,x,H,$){var ie,Ae=u&h,he=u&g,Qe=u&b;if(B&&(ie=H?B(o,x,H,$):B(o)),ie!==r)return ie;if(!Lr(o))return o;var be=ut(o);if(be){if(ie=vF(o),!Ae)return Ai(o,ie)}else{var ke=Tn(o),qe=ke==X||ke==z;if(QA(o))return lm(o,Ae);if(ke==te||ke==De||qe&&!H){if(ie=he||qe?{}:_m(o),!Ae)return he?dF(o,ML(ie,o)):gF(o,PQ(ie,o))}else{if(!Pt[ke])return H?o:{};ie=SF(o,ke,Ae)}}$||($=new gs);var Ye=$.get(o);if(Ye)return Ye;$.set(o,ie),ib(o)?o.forEach(function(st){ie.add(Ki(st,u,B,st,o,$))}):rb(o)&&o.forEach(function(st,wt){ie.set(wt,Ki(st,u,B,wt,o,$))});var it=Qe?he?Jp:Yp:he?ci:un,Et=be?r:it(o);return _n(Et||o,function(st,wt){Et&&(wt=st,st=o[wt]),uu(ie,wt,Ki(st,u,B,wt,o,$))}),ie}function OL(o){var u=un(o);return function(B){return qQ(B,o,u)}}function qQ(o,u,B){var x=B.length;if(o==null)return!x;for(o=_t(o);x--;){var H=B[x],$=u[H],ie=o[H];if(ie===r&&!(H in o)||!$(ie))return!1}return!0}function VQ(o,u,B){if(typeof o!="function")throw new dn(a);return Cu(function(){o.apply(r,B)},u)}function hu(o,u,B,x){var H=-1,$=$A,ie=!0,Ae=o.length,he=[],Qe=u.length;if(!Ae)return he;B&&(u=rr(u,ln(B))),x?($=uA,ie=!1):u.length>=i&&($=hA,ie=!1,u=new aa(u));e:for(;++HH?0:H+B),x=x===r||x>H?H:gt(x),x<0&&(x+=H),x=B>x?0:ob(x);B0&&B(Ae)?u>1?Cn(Ae,u-1,B,x,H):kn(H,Ae):x||(H[H.length]=Ae)}return H}var Sp=Em(),YQ=Em(!0);function qs(o,u){return o&&Sp(o,u,un)}function Rp(o,u){return o&&YQ(o,u,un)}function Bf(o,u){return Wi(u,function(B){return Lo(o[B])})}function la(o,u){u=BA(u,o);for(var B=0,x=u.length;o!=null&&Bu}function VL(o,u){return o!=null&&Ft.call(o,u)}function HL(o,u){return o!=null&&u in _t(o)}function GL(o,u,B){return o>=fe(u,B)&&o=120&&be.length>=120)?new aa(ie&&be):r}be=o[0];var ke=-1,qe=Ae[0];e:for(;++ke-1;)Ae!==o&&Ic.call(Ae,he,1),Ic.call(o,he,1);return o}function rm(o,u){for(var B=o?u.length:0,x=B-1;B--;){var H=u[B];if(B==x||H!==$){var $=H;To(H)?Ic.call(o,H,1):Mp(o,H)}}return o}function Fp(o,u){return o+yc(Ge()*(u-o+1))}function nF(o,u,B,x){for(var H=-1,$=re(Bc((u-o)/(B||1)),0),ie=de($);$--;)ie[x?$:++H]=o,o+=B;return ie}function Up(o,u){var B="";if(!o||u<1||u>P)return B;do u%2&&(B+=o),u=yc(u/2),u&&(o+=o);while(u);return B}function Bt(o,u){return Zp(Nm(o,u,li),o+"")}function iF(o){return OQ(vc(o))}function sF(o,u){var B=vc(o);return Df(B,ca(u,0,B.length))}function du(o,u,B,x){if(!Lr(o))return o;u=BA(u,o);for(var H=-1,$=u.length,ie=$-1,Ae=o;Ae!=null&&++H<$;){var he=Hs(u[H]),Qe=B;if(he==="__proto__"||he==="constructor"||he==="prototype")return o;if(H!=ie){var be=Ae[he];Qe=x?x(be,he,Ae):r,Qe===r&&(Qe=Lr(be)?be:To(u[H+1])?[]:{})}uu(Ae,he,Qe),Ae=Ae[he]}return o}var nm=Si?function(o,u){return Si.set(o,u),o}:li,oF=oa?function(o,u){return oa(o,"toString",{configurable:!0,enumerable:!1,value:cC(u),writable:!0})}:li;function AF(o){return Df(vc(o))}function Xi(o,u,B){var x=-1,H=o.length;u<0&&(u=-u>H?0:H+u),B=B>H?H:B,B<0&&(B+=H),H=u>B?0:B-u>>>0,u>>>=0;for(var $=de(H);++x>>1,ie=o[$];ie!==null&&!ki(ie)&&(B?ie<=u:ie=i){var Qe=u?null:IF(o);if(Qe)return dc(Qe);ie=!1,H=hA,he=new aa}else he=u?[]:Ae;e:for(;++x<$;){var be=o[x],ke=u?u(be):be;if(be=B||be!==0?be:0,ie&&ke===ke){for(var qe=he.length;qe--;)if(he[qe]===ke)continue e;u&&he.push(ke),Ae.push(be)}else H(he,ke,B)||(he!==Ae&&he.push(ke),Ae.push(be))}return Ae}function Mp(o,u){return u=BA(u,o),o=Tm(o,u),o==null||delete o[Hs($i(u))]}function om(o,u,B,x){return du(o,u,B(la(o,u)),x)}function mf(o,u,B,x){for(var H=o.length,$=x?H:-1;(x?$--:++$=x?o:Xi(o,u,B)}var cm=Qp||function(o){return Xr.clearTimeout(o)};function lm(o,u){if(u)return o.slice();var B=o.length,x=ia?ia(B):new o.constructor(B);return o.copy(x),x}function Vp(o){var u=new o.constructor(o.byteLength);return new wo(u).set(new wo(o)),u}function lF(o,u){var B=u?Vp(o.buffer):o.buffer;return new o.constructor(B,o.byteOffset,o.byteLength)}function uF(o){var u=new o.constructor(o.source,Sr.exec(o));return u.lastIndex=o.lastIndex,u}function hF(o){return Tt?_t(Tt.call(o)):{}}function um(o,u){var B=u?Vp(o.buffer):o.buffer;return new o.constructor(B,o.byteOffset,o.length)}function hm(o,u){if(o!==u){var B=o!==r,x=o===null,H=o===o,$=ki(o),ie=u!==r,Ae=u===null,he=u===u,Qe=ki(u);if(!Ae&&!Qe&&!$&&o>u||$&&ie&&he&&!Ae&&!Qe||x&&ie&&he||!B&&he||!H)return 1;if(!x&&!$&&!Qe&&o=Ae)return he;var Qe=B[x];return he*(Qe=="desc"?-1:1)}}return o.index-u.index}function fm(o,u,B,x){for(var H=-1,$=o.length,ie=B.length,Ae=-1,he=u.length,Qe=re($-ie,0),be=de(he+Qe),ke=!x;++Ae1?B[H-1]:r,ie=H>2?B[2]:r;for($=o.length>3&&typeof $=="function"?(H--,$):r,ie&&Yn(B[0],B[1],ie)&&($=H<3?r:$,H=1),u=_t(u);++x-1?H[$?u[ie]:ie]:r}}function Im(o){return No(function(u){var B=u.length,x=B,H=Nn.prototype.thru;for(o&&u.reverse();x--;){var $=u[x];if(typeof $!="function")throw new dn(a);if(H&&!ie&&_f($)=="wrapper")var ie=new Nn([],!0)}for(x=ie?x:B;++x1&&kt.reverse(),be&&heAe))return!1;var Qe=$.get(o),be=$.get(u);if(Qe&&be)return Qe==u&&be==o;var ke=-1,qe=!0,Ye=B&p?new aa:r;for($.set(o,u),$.set(u,o);++ke1?"& ":"")+u[x],u=u.join(B>2?", ":" "),o.replace(_r,`{ /* [wrapped with `+u+`] */ -`)}function RF(o){return ut(o)||fa(o)||!!(lu&&o&&o[lu])}function To(o,u){var B=typeof o;return u=u??P,!!u&&(B=="number"||B!="symbol"&&ho.test(o))&&o>-1&&o%1==0&&o0){if(++u>=q)return arguments[0]}else u=0;return o.apply(r,arguments)}}function Df(o,u){var B=-1,x=o.length,H=x-1;for(u=u===r?x:u;++B1?o[u-1]:r;return B=typeof B=="function"?(o.pop(),B):r,Gm(o,B)});function Ym(o){var u=K(o);return u.__chain__=!0,u}function OU(o,u){return u(o),o}function Nf(o,u){return u(o)}var PU=No(function(o){var u=o.length,B=u?o[0]:0,x=this.__wrapped__,H=function($){return vp($,o)};return u>1||this.__actions__.length||!(x instanceof St)||!To(B)?this.thru(H):(x=x.slice(B,+B+(u?1:0)),x.__actions__.push({func:Nf,args:[H],thisArg:r}),new Nn(x,this.__chain__).thru(function($){return u&&!$.length&&$.push(r),$}))});function qU(){return Ym(this)}function VU(){return new Nn(this.value(),this.__chain__)}function HU(){this.__values__===r&&(this.__values__=sb(this.value()));var o=this.__index__>=this.__values__.length,u=o?r:this.__values__[this.__index__++];return{done:o,value:u}}function GU(){return this}function YU(o){for(var u,B=this;B instanceof fs;){var x=Mm(B);x.__index__=0,x.__values__=r,u?H.__wrapped__=x:u=x;var H=x;B=B.__wrapped__}return H.__wrapped__=o,u}function JU(){var o=this.__wrapped__;if(o instanceof St){var u=o;return this.__actions__.length&&(u=new St(this)),u=u.reverse(),u.__actions__.push({func:Nf,args:[eC],thisArg:r}),new Nn(u,this.__chain__)}return this.thru(eC)}function WU(){return Am(this.__wrapped__,this.__actions__)}var jU=bf(function(o,u,B){Ft.call(o,B)?++o[B]:ko(o,B,1)});function zU(o,u,B){var x=ut(o)?of:OL;return B&&Yn(o,u,B)&&(u=r),x(o,rt(u,3))}function KU(o,u){var B=ut(o)?Wi:GQ;return B(o,rt(u,3))}var XU=Cm(Om),$U=Cm(Pm);function ZU(o,u){return Cn(Tf(o,u),1)}function ex(o,u){return Cn(Tf(o,u),M)}function tx(o,u,B){return B=B===r?1:gt(B),Cn(Tf(o,u),B)}function Jm(o,u){var B=ut(o)?_n:CA;return B(o,rt(u,3))}function Wm(o,u){var B=ut(o)?Ap:HQ;return B(o,rt(u,3))}var rx=bf(function(o,u,B){Ft.call(o,B)?o[B].push(u):ko(o,B,[u])});function nx(o,u,B,x){o=ai(o)?o:vc(o),B=B&&!x?gt(B):0;var H=o.length;return B<0&&(B=re(H+B,0)),Mf(o)?B<=H&&o.indexOf(u,B)>-1:!!H&&Us(o,u,B)>-1}var ix=Bt(function(o,u,B){var x=-1,H=typeof u=="function",$=ai(o)?de(o.length):[];return CA(o,function(ie){$[++x]=H?Vn(u,ie,B):fu(ie,u,B)}),$}),sx=bf(function(o,u,B){ko(o,B,u)});function Tf(o,u){var B=ut(o)?rr:KQ;return B(o,rt(u,3))}function ox(o,u,B,x){return o==null?[]:(ut(u)||(u=u==null?[]:[u]),B=x?r:B,ut(B)||(B=B==null?[]:[B]),em(o,u,B))}var Ax=bf(function(o,u,B){o[B?0:1].push(u)},function(){return[[],[]]});function ax(o,u,B){var x=ut(o)?Co:su,H=arguments.length<3;return x(o,rt(u,4),B,H,CA)}function cx(o,u,B){var x=ut(o)?uc:su,H=arguments.length<3;return x(o,rt(u,4),B,H,HQ)}function lx(o,u){var B=ut(o)?Wi:GQ;return B(o,Uf(rt(u,3)))}function ux(o){var u=ut(o)?OQ:nF;return u(o)}function hx(o,u,B){(B?Yn(o,u,B):u===r)?u=1:u=gt(u);var x=ut(o)?LL:iF;return x(o,u)}function fx(o){var u=ut(o)?FL:oF;return u(o)}function gx(o){if(o==null)return 0;if(ai(o))return Mf(o)?dA(o):o.length;var u=Tn(o);return u==k||u==pe?o.size:Np(o).length}function dx(o,u,B){var x=ut(o)?hc:AF;return B&&Yn(o,u,B)&&(u=r),x(o,rt(u,3))}var Ex=Bt(function(o,u){if(o==null)return[];var B=u.length;return B>1&&Yn(o,u[0],u[1])?u=[]:B>2&&Yn(u[0],u[1],u[2])&&(u=[u[0]]),em(o,Cn(u,1),[])}),Lf=mp||function(){return Xr.Date.now()};function px(o,u){if(typeof u!="function")throw new dn(a);return o=gt(o),function(){if(--o<1)return u.apply(this,arguments)}}function jm(o,u,B){return u=B?r:u,u=o&&u==null?o.length:u,Do(o,L,r,r,r,r,u)}function zm(o,u){var B;if(typeof u!="function")throw new dn(a);return o=gt(o),function(){return--o>0&&(B=u.apply(this,arguments)),o<=1&&(u=r),B}}var rC=Bt(function(o,u,B){var x=Q;if(B.length){var H=Ms(B,bc(rC));x|=m}return Do(o,x,u,B,H)}),Km=Bt(function(o,u,B){var x=Q|R;if(B.length){var H=Ms(B,bc(Km));x|=m}return Do(u,x,o,B,H)});function Xm(o,u,B){u=B?r:u;var x=Do(o,d,r,r,r,r,r,u);return x.placeholder=Xm.placeholder,x}function $m(o,u,B){u=B?r:u;var x=Do(o,S,r,r,r,r,r,u);return x.placeholder=$m.placeholder,x}function Zm(o,u,B){var x,H,$,ie,Ae,he,Qe=0,be=!1,ke=!1,qe=!0;if(typeof o!="function")throw new dn(a);u=Zi(u)||0,Lr(B)&&(be=!!B.leading,ke="maxWait"in B,$=ke?re(Zi(B.maxWait)||0,u):$,qe="trailing"in B?!!B.trailing:qe);function Ye(Yr){var Es=x,Uo=H;return x=H=r,Qe=Yr,ie=o.apply(Uo,Es),ie}function it(Yr){return Qe=Yr,Ae=Cu(wt,u),be?Ye(Yr):ie}function Et(Yr){var Es=Yr-he,Uo=Yr-Qe,Cb=u-Es;return ke?fe(Cb,$-Uo):Cb}function st(Yr){var Es=Yr-he,Uo=Yr-Qe;return he===r||Es>=u||Es<0||ke&&Uo>=$}function wt(){var Yr=Lf();if(st(Yr))return kt(Yr);Ae=Cu(wt,Et(Yr))}function kt(Yr){return Ae=r,qe&&x?Ye(Yr):(x=H=r,ie)}function Di(){Ae!==r&&cm(Ae),Qe=0,x=he=H=Ae=r}function Jn(){return Ae===r?ie:kt(Lf())}function Ni(){var Yr=Lf(),Es=st(Yr);if(x=arguments,H=this,he=Yr,Es){if(Ae===r)return it(he);if(ke)return cm(Ae),Ae=Cu(wt,u),Ye(he)}return Ae===r&&(Ae=Cu(wt,u)),ie}return Ni.cancel=Di,Ni.flush=Jn,Ni}var Cx=Bt(function(o,u){return VQ(o,1,u)}),Ix=Bt(function(o,u,B){return VQ(o,Zi(u)||0,B)});function Bx(o){return Do(o,I)}function Ff(o,u){if(typeof o!="function"||u!=null&&typeof u!="function")throw new dn(a);var B=function(){var x=arguments,H=u?u.apply(this,x):x[0],$=B.cache;if($.has(H))return $.get(H);var ie=o.apply(this,x);return B.cache=$.set(H,ie)||$,ie};return B.cache=new(Ff.Cache||_o),B}Ff.Cache=_o;function Uf(o){if(typeof o!="function")throw new dn(a);return function(){var u=arguments;switch(u.length){case 0:return!o.call(this);case 1:return!o.call(this,u[0]);case 2:return!o.call(this,u[0],u[1]);case 3:return!o.call(this,u[0],u[1],u[2])}return!o.apply(this,u)}}function yx(o){return zm(2,o)}var Qx=aF(function(o,u){u=u.length==1&&ut(u[0])?rr(u[0],ln(rt())):rr(Cn(u,1),ln(rt()));var B=u.length;return Bt(function(x){for(var H=-1,$=fe(x.length,B);++H<$;)x[H]=u[H].call(this,x[H]);return Vn(o,this,x)})}),nC=Bt(function(o,u){var B=Ms(u,bc(nC));return Do(o,m,r,u,B)}),eb=Bt(function(o,u){var B=Ms(u,bc(eb));return Do(o,T,r,u,B)}),mx=No(function(o,u){return Do(o,v,r,r,r,u)});function bx(o,u){if(typeof o!="function")throw new dn(a);return u=u===r?u:gt(u),Bt(o,u)}function wx(o,u){if(typeof o!="function")throw new dn(a);return u=u==null?0:re(gt(u),0),Bt(function(B){var x=B[u],H=yA(B,0,u);return x&&kn(H,x),Vn(o,this,H)})}function vx(o,u,B){var x=!0,H=!0;if(typeof o!="function")throw new dn(a);return Lr(B)&&(x="leading"in B?!!B.leading:x,H="trailing"in B?!!B.trailing:H),Zm(o,u,{leading:x,maxWait:u,trailing:H})}function Sx(o){return jm(o,1)}function Rx(o,u){return nC(qp(u),o)}function _x(){if(!arguments.length)return[];var o=arguments[0];return ut(o)?o:[o]}function kx(o){return Ki(o,b)}function Dx(o,u){return u=typeof u=="function"?u:r,Ki(o,b,u)}function Nx(o){return Ki(o,h|b)}function Tx(o,u){return u=typeof u=="function"?u:r,Ki(o,h|b,u)}function Lx(o,u){return u==null||qQ(o,u,un(u))}function ds(o,u){return o===u||o!==o&&u!==u}var Fx=Rf(_p),Ux=Rf(function(o,u){return o>=u}),fa=WQ(function(){return arguments}())?WQ:function(o){return Pr(o)&&Ft.call(o,"callee")&&!Ef.call(o,"callee")},ut=de.isArray,xx=Zl?ln(Zl):YL;function ai(o){return o!=null&&xf(o.length)&&!Lo(o)}function Gr(o){return Pr(o)&&ai(o)}function Mx(o){return o===!0||o===!1||Pr(o)&&Gn(o)==Se}var QA=pf||gC,Ox=rf?ln(rf):JL;function Px(o){return Pr(o)&&o.nodeType===1&&!Iu(o)}function qx(o){if(o==null)return!0;if(ai(o)&&(ut(o)||typeof o=="string"||typeof o.splice=="function"||QA(o)||wc(o)||fa(o)))return!o.length;var u=Tn(o);if(u==k||u==pe)return!o.size;if(pu(o))return!Np(o).length;for(var B in o)if(Ft.call(o,B))return!1;return!0}function Vx(o,u){return gu(o,u)}function Hx(o,u,B){B=typeof B=="function"?B:r;var x=B?B(o,u):r;return x===r?gu(o,u,r,B):!!x}function iC(o){if(!Pr(o))return!1;var u=Gn(o);return u==U||u==ot||typeof o.message=="string"&&typeof o.name=="string"&&!Iu(o)}function Gx(o){return typeof o=="number"&&y(o)}function Lo(o){if(!Lr(o))return!1;var u=Gn(o);return u==X||u==z||u==Ke||u==Oe}function tb(o){return typeof o=="number"&&o==gt(o)}function xf(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=P}function Lr(o){var u=typeof o;return o!=null&&(u=="object"||u=="function")}function Pr(o){return o!=null&&typeof o=="object"}var rb=XA?ln(XA):jL;function Yx(o,u){return o===u||Dp(o,u,jp(u))}function Jx(o,u,B){return B=typeof B=="function"?B:r,Dp(o,u,jp(u),B)}function Wx(o){return nb(o)&&o!=+o}function jx(o){if(DF(o))throw new ze(s);return jQ(o)}function zx(o){return o===null}function Kx(o){return o==null}function nb(o){return typeof o=="number"||Pr(o)&&Gn(o)==J}function Iu(o){if(!Pr(o)||Gn(o)!=te)return!1;var u=Ps(o);if(u===null)return!0;var B=Ft.call(u,"constructor")&&u.constructor;return typeof B=="function"&&B instanceof B&&ra.call(B)==Bp}var sC=nf?ln(nf):zL;function Xx(o){return tb(o)&&o>=-P&&o<=P}var ib=sf?ln(sf):KL;function Mf(o){return typeof o=="string"||!ut(o)&&Pr(o)&&Gn(o)==Ue}function ki(o){return typeof o=="symbol"||Pr(o)&&Gn(o)==Xe}var wc=eu?ln(eu):XL;function $x(o){return o===r}function Zx(o){return Pr(o)&&Tn(o)==je}function e4(o){return Pr(o)&&Gn(o)==Yt}var t4=Rf(Tp),r4=Rf(function(o,u){return o<=u});function sb(o){if(!o)return[];if(ai(o))return Mf(o)?wi(o):Ai(o);if(EA&&o[EA])return gc(o[EA]());var u=Tn(o),B=u==k?cu:u==pe?dc:vc;return B(o)}function Fo(o){if(!o)return o===0?o:0;if(o=Zi(o),o===M||o===-M){var u=o<0?-1:1;return u*ee}return o===o?o:0}function gt(o){var u=Fo(o),B=u%1;return u===u?B?u-B:u:0}function ob(o){return o?ca(gt(o),0,ce):0}function Zi(o){if(typeof o=="number")return o;if(ki(o))return se;if(Lr(o)){var u=typeof o.valueOf=="function"?o.valueOf():o;o=Lr(u)?u+"":u}if(typeof o!="string")return o===0?o:+o;o=Bo(o);var B=sA.test(o);return B||oA.test(o)?op(o.slice(2),B?2:8):rc.test(o)?se:+o}function Ab(o){return Vs(o,ci(o))}function n4(o){return o?ca(gt(o),-P,P):o===0?o:0}function Wt(o){return o==null?"":_i(o)}var i4=Qc(function(o,u){if(pu(u)||ai(u)){Vs(u,un(u),o);return}for(var B in u)Ft.call(u,B)&&uu(o,B,u[B])}),ab=Qc(function(o,u){Vs(u,ci(u),o)}),Of=Qc(function(o,u,B,x){Vs(u,ci(u),o,x)}),s4=Qc(function(o,u,B,x){Vs(u,un(u),o,x)}),o4=No(vp);function A4(o,u){var B=Ri(o);return u==null?B:PQ(B,u)}var a4=Bt(function(o,u){o=_t(o);var B=-1,x=u.length,H=x>2?u[2]:r;for(H&&Yn(u[0],u[1],H)&&(x=1);++B1),$}),Vs(o,Jp(o),B),x&&(B=Ki(B,h|g|b,IF));for(var H=u.length;H--;)Mp(B,u[H]);return B});function v4(o,u){return lb(o,Uf(rt(u)))}var S4=No(function(o,u){return o==null?{}:eF(o,u)});function lb(o,u){if(o==null)return{};var B=rr(Jp(o),function(x){return[x]});return u=rt(u),tm(o,B,function(x,H){return u(x,H[0])})}function R4(o,u,B){u=BA(u,o);var x=-1,H=u.length;for(H||(H=1,o=r);++xu){var x=o;o=u,u=x}if(B||o%1||u%1){var H=Ge();return fe(o+H*(u-o+Zh("1e-"+((H+"").length-1))),u)}return Fp(o,u)}var O4=mc(function(o,u,B){return u=u.toLowerCase(),o+(B?fb(u):u)});function fb(o){return aC(Wt(o).toLowerCase())}function gb(o){return o=Wt(o),o&&o.replace(mi,xs).replace(ep,"")}function P4(o,u,B){o=Wt(o),u=_i(u);var x=o.length;B=B===r?x:ca(gt(B),0,x);var H=B;return B-=u.length,B>=0&&o.slice(B,H)==u}function q4(o){return o=Wt(o),o&&Ns.test(o)?o.replace(qn,au):o}function V4(o){return o=Wt(o),o&&wr.test(o)?o.replace(Er,"\\$&"):o}var H4=mc(function(o,u,B){return o+(B?"-":"")+u.toLowerCase()}),G4=mc(function(o,u,B){return o+(B?" ":"")+u.toLowerCase()}),Y4=pm("toLowerCase");function J4(o,u,B){o=Wt(o),u=gt(u);var x=u?dA(o):0;if(!u||x>=u)return o;var H=(u-x)/2;return Sf(yc(H),B)+o+Sf(Bc(H),B)}function W4(o,u,B){o=Wt(o),u=gt(u);var x=u?dA(o):0;return u&&x>>0,B?(o=Wt(o),o&&(typeof u=="string"||u!=null&&!sC(u))&&(u=_i(u),!u&&Qo(o))?yA(wi(o),0,B):o.split(u,B)):[]}var e3=mc(function(o,u,B){return o+(B?" ":"")+aC(u)});function t3(o,u,B){return o=Wt(o),B=B==null?0:ca(gt(B),0,o.length),u=_i(u),o.slice(B,B+u.length)==u}function r3(o,u,B){var x=K.templateSettings;B&&Yn(o,u,B)&&(u=r),o=Wt(o),u=Of({},u,x,bm);var H=Of({},u.imports,x.imports,bm),$=un(H),ie=yo(H,$),Ae,he,Qe=0,be=u.interpolate||An,ke="__p += '",qe=Ec((u.escape||An).source+"|"+be.source+"|"+(be===Zt?cr:An).source+"|"+(u.evaluate||An).source+"|$","g"),Ye="//# sourceURL="+(Ft.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ip+"]")+` +`)}function _F(o){return ut(o)||fa(o)||!!(lu&&o&&o[lu])}function To(o,u){var B=typeof o;return u=u??P,!!u&&(B=="number"||B!="symbol"&&ho.test(o))&&o>-1&&o%1==0&&o0){if(++u>=q)return arguments[0]}else u=0;return o.apply(r,arguments)}}function Df(o,u){var B=-1,x=o.length,H=x-1;for(u=u===r?x:u;++B1?o[u-1]:r;return B=typeof B=="function"?(o.pop(),B):r,Gm(o,B)});function Ym(o){var u=K(o);return u.__chain__=!0,u}function PU(o,u){return u(o),o}function Nf(o,u){return u(o)}var qU=No(function(o){var u=o.length,B=u?o[0]:0,x=this.__wrapped__,H=function($){return vp($,o)};return u>1||this.__actions__.length||!(x instanceof St)||!To(B)?this.thru(H):(x=x.slice(B,+B+(u?1:0)),x.__actions__.push({func:Nf,args:[H],thisArg:r}),new Nn(x,this.__chain__).thru(function($){return u&&!$.length&&$.push(r),$}))});function VU(){return Ym(this)}function HU(){return new Nn(this.value(),this.__chain__)}function GU(){this.__values__===r&&(this.__values__=sb(this.value()));var o=this.__index__>=this.__values__.length,u=o?r:this.__values__[this.__index__++];return{done:o,value:u}}function YU(){return this}function JU(o){for(var u,B=this;B instanceof fs;){var x=Mm(B);x.__index__=0,x.__values__=r,u?H.__wrapped__=x:u=x;var H=x;B=B.__wrapped__}return H.__wrapped__=o,u}function WU(){var o=this.__wrapped__;if(o instanceof St){var u=o;return this.__actions__.length&&(u=new St(this)),u=u.reverse(),u.__actions__.push({func:Nf,args:[eC],thisArg:r}),new Nn(u,this.__chain__)}return this.thru(eC)}function jU(){return Am(this.__wrapped__,this.__actions__)}var zU=bf(function(o,u,B){Ft.call(o,B)?++o[B]:ko(o,B,1)});function KU(o,u,B){var x=ut(o)?of:PL;return B&&Yn(o,u,B)&&(u=r),x(o,rt(u,3))}function XU(o,u){var B=ut(o)?Wi:GQ;return B(o,rt(u,3))}var $U=Cm(Om),ZU=Cm(Pm);function ex(o,u){return Cn(Tf(o,u),1)}function tx(o,u){return Cn(Tf(o,u),M)}function rx(o,u,B){return B=B===r?1:gt(B),Cn(Tf(o,u),B)}function Jm(o,u){var B=ut(o)?_n:CA;return B(o,rt(u,3))}function Wm(o,u){var B=ut(o)?Ap:HQ;return B(o,rt(u,3))}var nx=bf(function(o,u,B){Ft.call(o,B)?o[B].push(u):ko(o,B,[u])});function ix(o,u,B,x){o=ai(o)?o:vc(o),B=B&&!x?gt(B):0;var H=o.length;return B<0&&(B=re(H+B,0)),Mf(o)?B<=H&&o.indexOf(u,B)>-1:!!H&&Us(o,u,B)>-1}var sx=Bt(function(o,u,B){var x=-1,H=typeof u=="function",$=ai(o)?de(o.length):[];return CA(o,function(ie){$[++x]=H?Vn(u,ie,B):fu(ie,u,B)}),$}),ox=bf(function(o,u,B){ko(o,B,u)});function Tf(o,u){var B=ut(o)?rr:KQ;return B(o,rt(u,3))}function Ax(o,u,B,x){return o==null?[]:(ut(u)||(u=u==null?[]:[u]),B=x?r:B,ut(B)||(B=B==null?[]:[B]),em(o,u,B))}var ax=bf(function(o,u,B){o[B?0:1].push(u)},function(){return[[],[]]});function cx(o,u,B){var x=ut(o)?Co:su,H=arguments.length<3;return x(o,rt(u,4),B,H,CA)}function lx(o,u,B){var x=ut(o)?uc:su,H=arguments.length<3;return x(o,rt(u,4),B,H,HQ)}function ux(o,u){var B=ut(o)?Wi:GQ;return B(o,Uf(rt(u,3)))}function hx(o){var u=ut(o)?OQ:iF;return u(o)}function fx(o,u,B){(B?Yn(o,u,B):u===r)?u=1:u=gt(u);var x=ut(o)?FL:sF;return x(o,u)}function gx(o){var u=ut(o)?UL:AF;return u(o)}function dx(o){if(o==null)return 0;if(ai(o))return Mf(o)?dA(o):o.length;var u=Tn(o);return u==k||u==pe?o.size:Np(o).length}function Ex(o,u,B){var x=ut(o)?hc:aF;return B&&Yn(o,u,B)&&(u=r),x(o,rt(u,3))}var px=Bt(function(o,u){if(o==null)return[];var B=u.length;return B>1&&Yn(o,u[0],u[1])?u=[]:B>2&&Yn(u[0],u[1],u[2])&&(u=[u[0]]),em(o,Cn(u,1),[])}),Lf=mp||function(){return Xr.Date.now()};function Cx(o,u){if(typeof u!="function")throw new dn(a);return o=gt(o),function(){if(--o<1)return u.apply(this,arguments)}}function jm(o,u,B){return u=B?r:u,u=o&&u==null?o.length:u,Do(o,L,r,r,r,r,u)}function zm(o,u){var B;if(typeof u!="function")throw new dn(a);return o=gt(o),function(){return--o>0&&(B=u.apply(this,arguments)),o<=1&&(u=r),B}}var rC=Bt(function(o,u,B){var x=Q;if(B.length){var H=Ms(B,bc(rC));x|=m}return Do(o,x,u,B,H)}),Km=Bt(function(o,u,B){var x=Q|R;if(B.length){var H=Ms(B,bc(Km));x|=m}return Do(u,x,o,B,H)});function Xm(o,u,B){u=B?r:u;var x=Do(o,d,r,r,r,r,r,u);return x.placeholder=Xm.placeholder,x}function $m(o,u,B){u=B?r:u;var x=Do(o,S,r,r,r,r,r,u);return x.placeholder=$m.placeholder,x}function Zm(o,u,B){var x,H,$,ie,Ae,he,Qe=0,be=!1,ke=!1,qe=!0;if(typeof o!="function")throw new dn(a);u=Zi(u)||0,Lr(B)&&(be=!!B.leading,ke="maxWait"in B,$=ke?re(Zi(B.maxWait)||0,u):$,qe="trailing"in B?!!B.trailing:qe);function Ye(Yr){var Es=x,Uo=H;return x=H=r,Qe=Yr,ie=o.apply(Uo,Es),ie}function it(Yr){return Qe=Yr,Ae=Cu(wt,u),be?Ye(Yr):ie}function Et(Yr){var Es=Yr-he,Uo=Yr-Qe,Cb=u-Es;return ke?fe(Cb,$-Uo):Cb}function st(Yr){var Es=Yr-he,Uo=Yr-Qe;return he===r||Es>=u||Es<0||ke&&Uo>=$}function wt(){var Yr=Lf();if(st(Yr))return kt(Yr);Ae=Cu(wt,Et(Yr))}function kt(Yr){return Ae=r,qe&&x?Ye(Yr):(x=H=r,ie)}function Di(){Ae!==r&&cm(Ae),Qe=0,x=he=H=Ae=r}function Jn(){return Ae===r?ie:kt(Lf())}function Ni(){var Yr=Lf(),Es=st(Yr);if(x=arguments,H=this,he=Yr,Es){if(Ae===r)return it(he);if(ke)return cm(Ae),Ae=Cu(wt,u),Ye(he)}return Ae===r&&(Ae=Cu(wt,u)),ie}return Ni.cancel=Di,Ni.flush=Jn,Ni}var Ix=Bt(function(o,u){return VQ(o,1,u)}),Bx=Bt(function(o,u,B){return VQ(o,Zi(u)||0,B)});function yx(o){return Do(o,I)}function Ff(o,u){if(typeof o!="function"||u!=null&&typeof u!="function")throw new dn(a);var B=function(){var x=arguments,H=u?u.apply(this,x):x[0],$=B.cache;if($.has(H))return $.get(H);var ie=o.apply(this,x);return B.cache=$.set(H,ie)||$,ie};return B.cache=new(Ff.Cache||_o),B}Ff.Cache=_o;function Uf(o){if(typeof o!="function")throw new dn(a);return function(){var u=arguments;switch(u.length){case 0:return!o.call(this);case 1:return!o.call(this,u[0]);case 2:return!o.call(this,u[0],u[1]);case 3:return!o.call(this,u[0],u[1],u[2])}return!o.apply(this,u)}}function Qx(o){return zm(2,o)}var mx=cF(function(o,u){u=u.length==1&&ut(u[0])?rr(u[0],ln(rt())):rr(Cn(u,1),ln(rt()));var B=u.length;return Bt(function(x){for(var H=-1,$=fe(x.length,B);++H<$;)x[H]=u[H].call(this,x[H]);return Vn(o,this,x)})}),nC=Bt(function(o,u){var B=Ms(u,bc(nC));return Do(o,m,r,u,B)}),eb=Bt(function(o,u){var B=Ms(u,bc(eb));return Do(o,T,r,u,B)}),bx=No(function(o,u){return Do(o,v,r,r,r,u)});function wx(o,u){if(typeof o!="function")throw new dn(a);return u=u===r?u:gt(u),Bt(o,u)}function vx(o,u){if(typeof o!="function")throw new dn(a);return u=u==null?0:re(gt(u),0),Bt(function(B){var x=B[u],H=yA(B,0,u);return x&&kn(H,x),Vn(o,this,H)})}function Sx(o,u,B){var x=!0,H=!0;if(typeof o!="function")throw new dn(a);return Lr(B)&&(x="leading"in B?!!B.leading:x,H="trailing"in B?!!B.trailing:H),Zm(o,u,{leading:x,maxWait:u,trailing:H})}function Rx(o){return jm(o,1)}function _x(o,u){return nC(qp(u),o)}function kx(){if(!arguments.length)return[];var o=arguments[0];return ut(o)?o:[o]}function Dx(o){return Ki(o,b)}function Nx(o,u){return u=typeof u=="function"?u:r,Ki(o,b,u)}function Tx(o){return Ki(o,h|b)}function Lx(o,u){return u=typeof u=="function"?u:r,Ki(o,h|b,u)}function Fx(o,u){return u==null||qQ(o,u,un(u))}function ds(o,u){return o===u||o!==o&&u!==u}var Ux=Rf(_p),xx=Rf(function(o,u){return o>=u}),fa=WQ(function(){return arguments}())?WQ:function(o){return Pr(o)&&Ft.call(o,"callee")&&!Ef.call(o,"callee")},ut=de.isArray,Mx=Zl?ln(Zl):JL;function ai(o){return o!=null&&xf(o.length)&&!Lo(o)}function Gr(o){return Pr(o)&&ai(o)}function Ox(o){return o===!0||o===!1||Pr(o)&&Gn(o)==Se}var QA=pf||gC,Px=rf?ln(rf):WL;function qx(o){return Pr(o)&&o.nodeType===1&&!Iu(o)}function Vx(o){if(o==null)return!0;if(ai(o)&&(ut(o)||typeof o=="string"||typeof o.splice=="function"||QA(o)||wc(o)||fa(o)))return!o.length;var u=Tn(o);if(u==k||u==pe)return!o.size;if(pu(o))return!Np(o).length;for(var B in o)if(Ft.call(o,B))return!1;return!0}function Hx(o,u){return gu(o,u)}function Gx(o,u,B){B=typeof B=="function"?B:r;var x=B?B(o,u):r;return x===r?gu(o,u,r,B):!!x}function iC(o){if(!Pr(o))return!1;var u=Gn(o);return u==U||u==ot||typeof o.message=="string"&&typeof o.name=="string"&&!Iu(o)}function Yx(o){return typeof o=="number"&&y(o)}function Lo(o){if(!Lr(o))return!1;var u=Gn(o);return u==X||u==z||u==Ke||u==Oe}function tb(o){return typeof o=="number"&&o==gt(o)}function xf(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=P}function Lr(o){var u=typeof o;return o!=null&&(u=="object"||u=="function")}function Pr(o){return o!=null&&typeof o=="object"}var rb=XA?ln(XA):zL;function Jx(o,u){return o===u||Dp(o,u,jp(u))}function Wx(o,u,B){return B=typeof B=="function"?B:r,Dp(o,u,jp(u),B)}function jx(o){return nb(o)&&o!=+o}function zx(o){if(NF(o))throw new ze(s);return jQ(o)}function Kx(o){return o===null}function Xx(o){return o==null}function nb(o){return typeof o=="number"||Pr(o)&&Gn(o)==J}function Iu(o){if(!Pr(o)||Gn(o)!=te)return!1;var u=Ps(o);if(u===null)return!0;var B=Ft.call(u,"constructor")&&u.constructor;return typeof B=="function"&&B instanceof B&&ra.call(B)==Bp}var sC=nf?ln(nf):KL;function $x(o){return tb(o)&&o>=-P&&o<=P}var ib=sf?ln(sf):XL;function Mf(o){return typeof o=="string"||!ut(o)&&Pr(o)&&Gn(o)==Ue}function ki(o){return typeof o=="symbol"||Pr(o)&&Gn(o)==Xe}var wc=eu?ln(eu):$L;function Zx(o){return o===r}function e4(o){return Pr(o)&&Tn(o)==je}function t4(o){return Pr(o)&&Gn(o)==Yt}var r4=Rf(Tp),n4=Rf(function(o,u){return o<=u});function sb(o){if(!o)return[];if(ai(o))return Mf(o)?wi(o):Ai(o);if(EA&&o[EA])return gc(o[EA]());var u=Tn(o),B=u==k?cu:u==pe?dc:vc;return B(o)}function Fo(o){if(!o)return o===0?o:0;if(o=Zi(o),o===M||o===-M){var u=o<0?-1:1;return u*ee}return o===o?o:0}function gt(o){var u=Fo(o),B=u%1;return u===u?B?u-B:u:0}function ob(o){return o?ca(gt(o),0,ce):0}function Zi(o){if(typeof o=="number")return o;if(ki(o))return se;if(Lr(o)){var u=typeof o.valueOf=="function"?o.valueOf():o;o=Lr(u)?u+"":u}if(typeof o!="string")return o===0?o:+o;o=Bo(o);var B=sA.test(o);return B||oA.test(o)?op(o.slice(2),B?2:8):rc.test(o)?se:+o}function Ab(o){return Vs(o,ci(o))}function i4(o){return o?ca(gt(o),-P,P):o===0?o:0}function Wt(o){return o==null?"":_i(o)}var s4=Qc(function(o,u){if(pu(u)||ai(u)){Vs(u,un(u),o);return}for(var B in u)Ft.call(u,B)&&uu(o,B,u[B])}),ab=Qc(function(o,u){Vs(u,ci(u),o)}),Of=Qc(function(o,u,B,x){Vs(u,ci(u),o,x)}),o4=Qc(function(o,u,B,x){Vs(u,un(u),o,x)}),A4=No(vp);function a4(o,u){var B=Ri(o);return u==null?B:PQ(B,u)}var c4=Bt(function(o,u){o=_t(o);var B=-1,x=u.length,H=x>2?u[2]:r;for(H&&Yn(u[0],u[1],H)&&(x=1);++B1),$}),Vs(o,Jp(o),B),x&&(B=Ki(B,h|g|b,BF));for(var H=u.length;H--;)Mp(B,u[H]);return B});function S4(o,u){return lb(o,Uf(rt(u)))}var R4=No(function(o,u){return o==null?{}:tF(o,u)});function lb(o,u){if(o==null)return{};var B=rr(Jp(o),function(x){return[x]});return u=rt(u),tm(o,B,function(x,H){return u(x,H[0])})}function _4(o,u,B){u=BA(u,o);var x=-1,H=u.length;for(H||(H=1,o=r);++xu){var x=o;o=u,u=x}if(B||o%1||u%1){var H=Ge();return fe(o+H*(u-o+Zh("1e-"+((H+"").length-1))),u)}return Fp(o,u)}var P4=mc(function(o,u,B){return u=u.toLowerCase(),o+(B?fb(u):u)});function fb(o){return aC(Wt(o).toLowerCase())}function gb(o){return o=Wt(o),o&&o.replace(mi,xs).replace(ep,"")}function q4(o,u,B){o=Wt(o),u=_i(u);var x=o.length;B=B===r?x:ca(gt(B),0,x);var H=B;return B-=u.length,B>=0&&o.slice(B,H)==u}function V4(o){return o=Wt(o),o&&Ns.test(o)?o.replace(qn,au):o}function H4(o){return o=Wt(o),o&&wr.test(o)?o.replace(Er,"\\$&"):o}var G4=mc(function(o,u,B){return o+(B?"-":"")+u.toLowerCase()}),Y4=mc(function(o,u,B){return o+(B?" ":"")+u.toLowerCase()}),J4=pm("toLowerCase");function W4(o,u,B){o=Wt(o),u=gt(u);var x=u?dA(o):0;if(!u||x>=u)return o;var H=(u-x)/2;return Sf(yc(H),B)+o+Sf(Bc(H),B)}function j4(o,u,B){o=Wt(o),u=gt(u);var x=u?dA(o):0;return u&&x>>0,B?(o=Wt(o),o&&(typeof u=="string"||u!=null&&!sC(u))&&(u=_i(u),!u&&Qo(o))?yA(wi(o),0,B):o.split(u,B)):[]}var t3=mc(function(o,u,B){return o+(B?" ":"")+aC(u)});function r3(o,u,B){return o=Wt(o),B=B==null?0:ca(gt(B),0,o.length),u=_i(u),o.slice(B,B+u.length)==u}function n3(o,u,B){var x=K.templateSettings;B&&Yn(o,u,B)&&(u=r),o=Wt(o),u=Of({},u,x,bm);var H=Of({},u.imports,x.imports,bm),$=un(H),ie=yo(H,$),Ae,he,Qe=0,be=u.interpolate||An,ke="__p += '",qe=Ec((u.escape||An).source+"|"+be.source+"|"+(be===Zt?cr:An).source+"|"+(u.evaluate||An).source+"|$","g"),Ye="//# sourceURL="+(Ft.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ip+"]")+` `;o.replace(qe,function(st,wt,kt,Di,Jn,Ni){return kt||(kt=Di),ke+=o.slice(Qe,Ni).replace(jA,up),wt&&(Ae=!0,ke+=`' + __e(`+wt+`) + '`),Jn&&(he=!0,ke+=`'; @@ -78,26 +78,26 @@ __p += '`),kt&&(ke+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+ke+`return __p -}`;var Et=Eb(function(){return bt($,Ye+"return "+ke).apply(r,ie)});if(Et.source=ke,iC(Et))throw Et;return Et}function n3(o){return Wt(o).toLowerCase()}function i3(o){return Wt(o).toUpperCase()}function s3(o,u,B){if(o=Wt(o),o&&(B||u===r))return Bo(o);if(!o||!(u=_i(u)))return o;var x=wi(o),H=wi(u),$=ea(x,H),ie=fA(x,H)+1;return yA(x,$,ie).join("")}function o3(o,u,B){if(o=Wt(o),o&&(B||u===r))return o.slice(0,uf(o)+1);if(!o||!(u=_i(u)))return o;var x=wi(o),H=fA(x,wi(u))+1;return yA(x,0,H).join("")}function A3(o,u,B){if(o=Wt(o),o&&(B||u===r))return o.replace(pr,"");if(!o||!(u=_i(u)))return o;var x=wi(o),H=ea(x,wi(u));return yA(x,H).join("")}function a3(o,u){var B=E,x=O;if(Lr(u)){var H="separator"in u?u.separator:H;B="length"in u?gt(u.length):B,x="omission"in u?_i(u.omission):x}o=Wt(o);var $=o.length;if(Qo(o)){var ie=wi(o);$=ie.length}if(B>=$)return o;var Ae=B-dA(x);if(Ae<1)return x;var he=ie?yA(ie,0,Ae).join(""):o.slice(0,Ae);if(H===r)return he+x;if(ie&&(Ae+=he.length-Ae),sC(H)){if(o.slice(Ae).search(H)){var Qe,be=he;for(H.global||(H=Ec(H.source,Wt(Sr.exec(H))+"g")),H.lastIndex=0;Qe=H.exec(be);)var ke=Qe.index;he=he.slice(0,ke===r?Ae:ke)}}else if(o.indexOf(_i(H),Ae)!=Ae){var qe=he.lastIndexOf(H);qe>-1&&(he=he.slice(0,qe))}return he+x}function c3(o){return o=Wt(o),o&&Qi.test(o)?o.replace(Pn,Ep):o}var l3=mc(function(o,u,B){return o+(B?" ":"")+u.toUpperCase()}),aC=pm("toUpperCase");function db(o,u,B){return o=Wt(o),u=B?r:u,u===r?hp(o)?Cp(o):cp(o):o.match(u)||[]}var Eb=Bt(function(o,u){try{return Vn(o,r,u)}catch(B){return iC(B)?B:new ze(B)}}),u3=No(function(o,u){return _n(u,function(B){B=Hs(B),ko(o,B,rC(o[B],o))}),o});function h3(o){var u=o==null?0:o.length,B=rt();return o=u?rr(o,function(x){if(typeof x[1]!="function")throw new dn(a);return[B(x[0]),x[1]]}):[],Bt(function(x){for(var H=-1;++HP)return[];var B=ce,x=fe(o,ce);u=rt(u),o-=ce;for(var H=Au(x,u);++B0||u<0)?new St(B):(o<0?B=B.takeRight(-o):o&&(B=B.drop(o)),u!==r&&(u=gt(u),B=u<0?B.dropRight(-u):B.take(u-o)),B)},St.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},St.prototype.toArray=function(){return this.take(ce)},qs(St.prototype,function(o,u){var B=/^(?:filter|find|map|reject)|While$/.test(u),x=/^(?:head|last)$/.test(u),H=K[x?"take"+(u=="last"?"Right":""):u],$=x||/^find/.test(u);H&&(K.prototype[u]=function(){var ie=this.__wrapped__,Ae=x?[1]:arguments,he=ie instanceof St,Qe=Ae[0],be=he||ut(ie),ke=function(wt){var kt=H.apply(K,kn([wt],Ae));return x&&qe?kt[0]:kt};be&&B&&typeof Qe=="function"&&Qe.length!=1&&(he=be=!1);var qe=this.__chain__,Ye=!!this.__actions__.length,it=$&&!qe,Et=he&&!Ye;if(!$&&be){ie=Et?ie:new St(this);var st=o.apply(ie,Ae);return st.__actions__.push({func:Nf,args:[ke],thisArg:r}),new Nn(st,qe)}return it&&Et?o.apply(this,Ae):(st=this.thru(ke),it?x?st.value()[0]:st.value():st)})}),_n(["pop","push","shift","sort","splice","unshift"],function(o){var u=ta[o],B=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",x=/^(?:pop|shift)$/.test(o);K.prototype[o]=function(){var H=arguments;if(x&&!this.__chain__){var $=this.value();return u.apply(ut($)?$:[],H)}return this[B](function(ie){return u.apply(ut(ie)?ie:[],H)})}}),qs(St.prototype,function(o,u){var B=K[u];if(B){var x=B.name+"";Ft.call(Dn,x)||(Dn[x]=[]),Dn[x].push({name:u,func:B})}}),Dn[wf(r,R).name]=[{name:"wrapper",func:r}],St.prototype.clone=cL,St.prototype.reverse=lL,St.prototype.value=uL,K.prototype.at=PU,K.prototype.chain=qU,K.prototype.commit=VU,K.prototype.next=HU,K.prototype.plant=YU,K.prototype.reverse=JU,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=WU,K.prototype.first=K.prototype.head,EA&&(K.prototype[EA]=GU),K},ji=Os();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Xr._=ji,define(function(){return ji})):Ls?((Ls.exports=ji)._=ji,cc._=ji):Xr._=ji}).call(e)}),DW=_e((e,t)=>{var r=MD(),n=GD(),i=HD(),s=K0(),{includes:a,isBoolean:c,isInteger:l,isNumber:A,isPlainObject:f,isString:h,once:g}=kW(),{KeyObject:b,createSecretKey:C,createPrivateKey:p}=require("crypto"),Q=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];n&&Q.splice(3,0,"PS256","PS384","PS512");var R={expiresIn:{isValid:function(v){return l(v)||h(v)&&v},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(v){return l(v)||h(v)&&v},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(v){return h(v)||Array.isArray(v)},message:'"audience" must be a string or array'},algorithm:{isValid:a.bind(null,Q),message:'"algorithm" must be a valid string enum value'},header:{isValid:f,message:'"header" must be an object'},encoding:{isValid:h,message:'"encoding" must be a string'},issuer:{isValid:h,message:'"issuer" must be a string'},subject:{isValid:h,message:'"subject" must be a string'},jwtid:{isValid:h,message:'"jwtid" must be a string'},noTimestamp:{isValid:c,message:'"noTimestamp" must be a boolean'},keyid:{isValid:h,message:'"keyid" must be a string'},mutatePayload:{isValid:c,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:c,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:c,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},_={iat:{isValid:A,message:'"iat" should be a number of seconds'},exp:{isValid:A,message:'"exp" should be a number of seconds'},nbf:{isValid:A,message:'"nbf" should be a number of seconds'}};function d(v,I,E,O){if(!f(E))throw new Error('Expected "'+O+'" to be a plain object.');Object.keys(E).forEach(function(q){let V=v[q];if(!V){if(!I)throw new Error('"'+q+'" is not allowed in "'+O+'"');return}if(!V.isValid(E[q]))throw new Error(V.message)})}function S(v){return d(R,!1,v,"options")}function m(v){return d(_,!0,v,"payload")}var T={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},L=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];t.exports=function(v,I,E,O){typeof E=="function"?(O=E,E={}):E=E||{};let q=typeof v=="object"&&!Buffer.isBuffer(v),V=Object.assign({alg:E.algorithm||"HS256",typ:q?"JWT":void 0,kid:E.keyid},E.header);function w(M){if(O)return O(M);throw M}if(!I&&E.algorithm!=="none")return w(new Error("secretOrPrivateKey must have a value"));if(I!=null&&!(I instanceof b))try{I=p(I)}catch{try{I=C(typeof I=="string"?Buffer.from(I):I)}catch{return w(new Error("secretOrPrivateKey is not valid key material"))}}if(V.alg.startsWith("HS")&&I.type!=="secret")return w(new Error(`secretOrPrivateKey must be a symmetric key when using ${V.alg}`));if(/^(?:RS|PS|ES)/.test(V.alg)){if(I.type!=="private")return w(new Error(`secretOrPrivateKey must be an asymmetric key when using ${V.alg}`));if(!E.allowInsecureKeySizes&&!V.alg.startsWith("ES")&&I.asymmetricKeyDetails!==void 0&&I.asymmetricKeyDetails.modulusLength<2048)return w(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${V.alg}`))}if(typeof v>"u")return w(new Error("payload is required"));if(q){try{m(v)}catch(M){return w(M)}E.mutatePayload||(v=Object.assign({},v))}else{let M=L.filter(function(P){return typeof E[P]<"u"});if(M.length>0)return w(new Error("invalid "+M.join(",")+" option for "+typeof v+" payload"))}if(typeof v.exp<"u"&&typeof E.expiresIn<"u")return w(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof v.nbf<"u"&&typeof E.notBefore<"u")return w(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{S(E)}catch(M){return w(M)}if(!E.allowInvalidAsymmetricKeyTypes)try{i(V.alg,I)}catch(M){return w(M)}let N=v.iat||Math.floor(Date.now()/1e3);if(E.noTimestamp?delete v.iat:q&&(v.iat=N),typeof E.notBefore<"u"){try{v.nbf=r(E.notBefore,N)}catch(M){return w(M)}if(typeof v.nbf>"u")return w(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof E.expiresIn<"u"&&typeof v=="object"){try{v.exp=r(E.expiresIn,N)}catch(M){return w(M)}if(typeof v.exp>"u")return w(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(T).forEach(function(M){let P=T[M];if(typeof E[M]<"u"){if(typeof v[P]<"u")return w(new Error('Bad "options.'+M+'" option. The payload already has an "'+P+'" property.'));v[P]=E[M]}});let F=E.encoding||"utf8";if(typeof O=="function")O=O&&g(O),s.createSign({header:V,privateKey:I,payload:v,encoding:F}).once("error",O).once("done",function(M){if(!E.allowInsecureKeySizes&&/^(?:RS|PS)/.test(V.alg)&&M.length<256)return O(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${V.alg}`));O(null,M)});else{let M=s.sign({header:V,payload:v,secret:I,encoding:F});if(!E.allowInsecureKeySizes&&/^(?:RS|PS)/.test(V.alg)&&M.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${V.alg}`);return M}}}),NW=_e((e,t)=>{t.exports={verify:_W(),sign:DW(),JsonWebTokenError:TE(),NotBeforeError:ND(),TokenExpiredError:TD()},Object.defineProperty(t.exports,"decode",{enumerable:!1,value:xD()})}),YD={};kJ(YD,{BrowserName:()=>JD,marketNameMap:()=>WD,submitChrome:()=>$7,submitEdge:()=>sz,submitFirefox:()=>Kz,submitItero:()=>O$,submitOpera:()=>$z,supportedBrowserSet:()=>TW});sL.exports=DJ(YD);var JD=(e=>(e.Chrome="chrome",e.Firefox="firefox",e.Opera="opera",e.Edge="edge",e.Itero="itero",e))(JD||{}),TW=new Set(["chrome","edge","firefox","itero"]),WD={chrome:"Chrome Web Store",edge:"Edge Add-ons",firefox:"Firefox Add-ons",itero:"Itero TestBed"},LW=require("fs"),jD=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function FW(e){return jD.includes(e)}var UW=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...jD];function xW(e){return UW.includes(e)}var MW=["null","undefined","string","number","bigint","boolean","symbol"];function OW(e){return MW.includes(e)}function Pl(e){return t=>typeof t===e}var{toString:PW}=Object.prototype,Ph=e=>{let t=PW.call(e).slice(8,-1);if(/HTML\w+Element/.test(t)&&ne.domElement(e))return"HTMLElement";if(xW(t))return t},ir=e=>t=>Ph(t)===e;function ne(e){if(e===null)return"null";switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"NaN":"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(ne.observable(e))return"Observable";if(ne.array(e))return"Array";if(ne.buffer(e))return"Buffer";let t=Ph(e);if(t)return t;if(e instanceof String||e instanceof Boolean||e instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}ne.undefined=Pl("undefined");ne.string=Pl("string");var qW=Pl("number");ne.number=e=>qW(e)&&!ne.nan(e);ne.positiveNumber=e=>ne.number(e)&&e>0;ne.negativeNumber=e=>ne.number(e)&&e<0;ne.bigint=Pl("bigint");ne.function_=Pl("function");ne.null_=e=>e===null;ne.class_=e=>ne.function_(e)&&e.toString().startsWith("class ");ne.boolean=e=>e===!0||e===!1;ne.symbol=Pl("symbol");ne.numericString=e=>ne.string(e)&&!ne.emptyStringOrWhitespace(e)&&!Number.isNaN(Number(e));ne.array=(e,t)=>Array.isArray(e)?ne.function_(t)?e.every(r=>t(r)):!0:!1;ne.buffer=e=>e?.constructor?.isBuffer?.(e)??!1;ne.blob=e=>ir("Blob")(e);ne.nullOrUndefined=e=>ne.null_(e)||ne.undefined(e);ne.object=e=>!ne.null_(e)&&(typeof e=="object"||ne.function_(e));ne.iterable=e=>ne.function_(e?.[Symbol.iterator]);ne.asyncIterable=e=>ne.function_(e?.[Symbol.asyncIterator]);ne.generator=e=>ne.iterable(e)&&ne.function_(e?.next)&&ne.function_(e?.throw);ne.asyncGenerator=e=>ne.asyncIterable(e)&&ne.function_(e.next)&&ne.function_(e.throw);ne.nativePromise=e=>ir("Promise")(e);var VW=e=>ne.function_(e?.then)&&ne.function_(e?.catch);ne.promise=e=>ne.nativePromise(e)||VW(e);ne.generatorFunction=ir("GeneratorFunction");ne.asyncGeneratorFunction=e=>Ph(e)==="AsyncGeneratorFunction";ne.asyncFunction=e=>Ph(e)==="AsyncFunction";ne.boundFunction=e=>ne.function_(e)&&!e.hasOwnProperty("prototype");ne.regExp=ir("RegExp");ne.date=ir("Date");ne.error=ir("Error");ne.map=e=>ir("Map")(e);ne.set=e=>ir("Set")(e);ne.weakMap=e=>ir("WeakMap")(e);ne.weakSet=e=>ir("WeakSet")(e);ne.weakRef=e=>ir("WeakRef")(e);ne.int8Array=ir("Int8Array");ne.uint8Array=ir("Uint8Array");ne.uint8ClampedArray=ir("Uint8ClampedArray");ne.int16Array=ir("Int16Array");ne.uint16Array=ir("Uint16Array");ne.int32Array=ir("Int32Array");ne.uint32Array=ir("Uint32Array");ne.float32Array=ir("Float32Array");ne.float64Array=ir("Float64Array");ne.bigInt64Array=ir("BigInt64Array");ne.bigUint64Array=ir("BigUint64Array");ne.arrayBuffer=ir("ArrayBuffer");ne.sharedArrayBuffer=ir("SharedArrayBuffer");ne.dataView=ir("DataView");ne.enumCase=(e,t)=>Object.values(t).includes(e);ne.directInstanceOf=(e,t)=>Object.getPrototypeOf(e)===t.prototype;ne.urlInstance=e=>ir("URL")(e);ne.urlString=e=>{if(!ne.string(e))return!1;try{return new URL(e),!0}catch{return!1}};ne.truthy=e=>!!e;ne.falsy=e=>!e;ne.nan=e=>Number.isNaN(e);ne.primitive=e=>ne.null_(e)||OW(typeof e);ne.integer=e=>Number.isInteger(e);ne.safeInteger=e=>Number.isSafeInteger(e);ne.plainObject=e=>{if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};ne.typedArray=e=>FW(Ph(e));var HW=e=>ne.safeInteger(e)&&e>=0;ne.arrayLike=e=>!ne.nullOrUndefined(e)&&!ne.function_(e)&&HW(e.length);ne.tupleLike=(e,t)=>ne.array(t)&&ne.array(e)&&t.length===e.length?t.every((r,n)=>r(e[n])):!1;ne.inRange=(e,t)=>{if(ne.number(t))return e>=Math.min(0,t)&&e<=Math.max(t,0);if(ne.array(t)&&t.length===2)return e>=Math.min(...t)&&e<=Math.max(...t);throw new TypeError(`Invalid range: ${JSON.stringify(t)}`)};var GW=1,YW=["innerHTML","ownerDocument","style","attributes","nodeValue"];ne.domElement=e=>ne.object(e)&&e.nodeType===GW&&ne.string(e.nodeName)&&!ne.plainObject(e)&&YW.every(t=>t in e);ne.observable=e=>e?e===e[Symbol.observable]?.()||e===e["@@observable"]?.():!1;ne.nodeStream=e=>ne.object(e)&&ne.function_(e.pipe)&&!ne.observable(e);ne.infinite=e=>e===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY;var zD=e=>t=>ne.integer(t)&&Math.abs(t%2)===e;ne.evenInteger=zD(0);ne.oddInteger=zD(1);ne.emptyArray=e=>ne.array(e)&&e.length===0;ne.nonEmptyArray=e=>ne.array(e)&&e.length>0;ne.emptyString=e=>ne.string(e)&&e.length===0;var JW=e=>ne.string(e)&&!/\S/.test(e);ne.emptyStringOrWhitespace=e=>ne.emptyString(e)||JW(e);ne.nonEmptyString=e=>ne.string(e)&&e.length>0;ne.nonEmptyStringAndNotWhitespace=e=>ne.string(e)&&!ne.emptyStringOrWhitespace(e);ne.emptyObject=e=>ne.object(e)&&!ne.map(e)&&!ne.set(e)&&Object.keys(e).length===0;ne.nonEmptyObject=e=>ne.object(e)&&!ne.map(e)&&!ne.set(e)&&Object.keys(e).length>0;ne.emptySet=e=>ne.set(e)&&e.size===0;ne.nonEmptySet=e=>ne.set(e)&&e.size>0;ne.emptyMap=e=>ne.map(e)&&e.size===0;ne.nonEmptyMap=e=>ne.map(e)&&e.size>0;ne.propertyKey=e=>ne.any([ne.string,ne.number,ne.symbol],e);ne.formData=e=>ir("FormData")(e);ne.urlSearchParams=e=>ir("URLSearchParams")(e);var KD=(e,t,r)=>{if(!ne.function_(t))throw new TypeError(`Invalid predicate: ${JSON.stringify(t)}`);if(r.length===0)throw new TypeError("Invalid number of values");return e.call(r,t)};ne.any=(e,...t)=>(ne.array(e)?e:[e]).some(r=>KD(Array.prototype.some,r,t));ne.all=(e,...t)=>KD(Array.prototype.every,e,t);var Te=(e,t,r,n={})=>{if(!e){let{multipleValues:i}=n,s=i?`received values of types ${[...new Set(r.map(a=>`\`${ne(a)}\``))].join(", ")}`:`received value of type \`${ne(r)}\``;throw new TypeError(`Expected value which is \`${t}\`, ${s}.`)}},ae={undefined:e=>Te(ne.undefined(e),"undefined",e),string:e=>Te(ne.string(e),"string",e),number:e=>Te(ne.number(e),"number",e),positiveNumber:e=>Te(ne.positiveNumber(e),"positive number",e),negativeNumber:e=>Te(ne.negativeNumber(e),"negative number",e),bigint:e=>Te(ne.bigint(e),"bigint",e),function_:e=>Te(ne.function_(e),"Function",e),null_:e=>Te(ne.null_(e),"null",e),class_:e=>Te(ne.class_(e),"Class",e),boolean:e=>Te(ne.boolean(e),"boolean",e),symbol:e=>Te(ne.symbol(e),"symbol",e),numericString:e=>Te(ne.numericString(e),"string with a number",e),array:(e,t)=>{Te(ne.array(e),"Array",e),t&&e.forEach(t)},buffer:e=>Te(ne.buffer(e),"Buffer",e),blob:e=>Te(ne.blob(e),"Blob",e),nullOrUndefined:e=>Te(ne.nullOrUndefined(e),"null or undefined",e),object:e=>Te(ne.object(e),"Object",e),iterable:e=>Te(ne.iterable(e),"Iterable",e),asyncIterable:e=>Te(ne.asyncIterable(e),"AsyncIterable",e),generator:e=>Te(ne.generator(e),"Generator",e),asyncGenerator:e=>Te(ne.asyncGenerator(e),"AsyncGenerator",e),nativePromise:e=>Te(ne.nativePromise(e),"native Promise",e),promise:e=>Te(ne.promise(e),"Promise",e),generatorFunction:e=>Te(ne.generatorFunction(e),"GeneratorFunction",e),asyncGeneratorFunction:e=>Te(ne.asyncGeneratorFunction(e),"AsyncGeneratorFunction",e),asyncFunction:e=>Te(ne.asyncFunction(e),"AsyncFunction",e),boundFunction:e=>Te(ne.boundFunction(e),"Function",e),regExp:e=>Te(ne.regExp(e),"RegExp",e),date:e=>Te(ne.date(e),"Date",e),error:e=>Te(ne.error(e),"Error",e),map:e=>Te(ne.map(e),"Map",e),set:e=>Te(ne.set(e),"Set",e),weakMap:e=>Te(ne.weakMap(e),"WeakMap",e),weakSet:e=>Te(ne.weakSet(e),"WeakSet",e),weakRef:e=>Te(ne.weakRef(e),"WeakRef",e),int8Array:e=>Te(ne.int8Array(e),"Int8Array",e),uint8Array:e=>Te(ne.uint8Array(e),"Uint8Array",e),uint8ClampedArray:e=>Te(ne.uint8ClampedArray(e),"Uint8ClampedArray",e),int16Array:e=>Te(ne.int16Array(e),"Int16Array",e),uint16Array:e=>Te(ne.uint16Array(e),"Uint16Array",e),int32Array:e=>Te(ne.int32Array(e),"Int32Array",e),uint32Array:e=>Te(ne.uint32Array(e),"Uint32Array",e),float32Array:e=>Te(ne.float32Array(e),"Float32Array",e),float64Array:e=>Te(ne.float64Array(e),"Float64Array",e),bigInt64Array:e=>Te(ne.bigInt64Array(e),"BigInt64Array",e),bigUint64Array:e=>Te(ne.bigUint64Array(e),"BigUint64Array",e),arrayBuffer:e=>Te(ne.arrayBuffer(e),"ArrayBuffer",e),sharedArrayBuffer:e=>Te(ne.sharedArrayBuffer(e),"SharedArrayBuffer",e),dataView:e=>Te(ne.dataView(e),"DataView",e),enumCase:(e,t)=>Te(ne.enumCase(e,t),"EnumCase",e),urlInstance:e=>Te(ne.urlInstance(e),"URL",e),urlString:e=>Te(ne.urlString(e),"string with a URL",e),truthy:e=>Te(ne.truthy(e),"truthy",e),falsy:e=>Te(ne.falsy(e),"falsy",e),nan:e=>Te(ne.nan(e),"NaN",e),primitive:e=>Te(ne.primitive(e),"primitive",e),integer:e=>Te(ne.integer(e),"integer",e),safeInteger:e=>Te(ne.safeInteger(e),"integer",e),plainObject:e=>Te(ne.plainObject(e),"plain object",e),typedArray:e=>Te(ne.typedArray(e),"TypedArray",e),arrayLike:e=>Te(ne.arrayLike(e),"array-like",e),tupleLike:(e,t)=>Te(ne.tupleLike(e,t),"tuple-like",e),domElement:e=>Te(ne.domElement(e),"HTMLElement",e),observable:e=>Te(ne.observable(e),"Observable",e),nodeStream:e=>Te(ne.nodeStream(e),"Node.js Stream",e),infinite:e=>Te(ne.infinite(e),"infinite number",e),emptyArray:e=>Te(ne.emptyArray(e),"empty array",e),nonEmptyArray:e=>Te(ne.nonEmptyArray(e),"non-empty array",e),emptyString:e=>Te(ne.emptyString(e),"empty string",e),emptyStringOrWhitespace:e=>Te(ne.emptyStringOrWhitespace(e),"empty string or whitespace",e),nonEmptyString:e=>Te(ne.nonEmptyString(e),"non-empty string",e),nonEmptyStringAndNotWhitespace:e=>Te(ne.nonEmptyStringAndNotWhitespace(e),"non-empty string and not whitespace",e),emptyObject:e=>Te(ne.emptyObject(e),"empty object",e),nonEmptyObject:e=>Te(ne.nonEmptyObject(e),"non-empty object",e),emptySet:e=>Te(ne.emptySet(e),"empty set",e),nonEmptySet:e=>Te(ne.nonEmptySet(e),"non-empty set",e),emptyMap:e=>Te(ne.emptyMap(e),"empty map",e),nonEmptyMap:e=>Te(ne.nonEmptyMap(e),"non-empty map",e),propertyKey:e=>Te(ne.propertyKey(e),"PropertyKey",e),formData:e=>Te(ne.formData(e),"FormData",e),urlSearchParams:e=>Te(ne.urlSearchParams(e),"URLSearchParams",e),evenInteger:e=>Te(ne.evenInteger(e),"even integer",e),oddInteger:e=>Te(ne.oddInteger(e),"odd integer",e),directInstanceOf:(e,t)=>Te(ne.directInstanceOf(e,t),"T",e),inRange:(e,t)=>Te(ne.inRange(e,t),"in range",e),any:(e,...t)=>Te(ne.any(e,...t),"predicate returns truthy for any value",t,{multipleValues:!0}),all:(e,...t)=>Te(ne.all(e,...t),"predicate returns truthy for all values",t,{multipleValues:!0})};Object.defineProperties(ne,{class:{value:ne.class_},function:{value:ne.function_},null:{value:ne.null_}});Object.defineProperties(ae,{class:{value:ae.class_},function:{value:ae.function_},null:{value:ae.null_}});var W=ne,WW=require("node:events"),jW=class extends Error{constructor(e){super(e||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}},iQ=class XD{static fn(t){return(...r)=>new XD((n,i,s)=>{r.push(s),t(...r).then(n,i)})}constructor(t){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((r,n)=>{this._reject=n;let i=c=>{(!this._isCanceled||!a.shouldReject)&&(this._isPending=!1,r(c))},s=c=>{this._isPending=!1,n(c)},a=c=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(c)};Object.defineProperties(a,{shouldReject:{get:()=>this._rejectOnCancel,set:c=>{this._rejectOnCancel=c}}}),t(i,s,a)})}then(t,r){return this._promise.then(t,r)}catch(t){return this._promise.catch(t)}finally(t){return this._promise.finally(t)}cancel(t){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let r of this._cancelHandlers)r()}catch(r){this._reject(r);return}this._rejectOnCancel&&this._reject(new jW(t))}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(iQ.prototype,Promise.prototype);function zW(e){return W.object(e)&&"_onResponse"in e}var nn=class extends Error{constructor(e,t,r){if(super(e),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=t.code??"ERR_GOT_REQUEST_ERROR",this.input=t.input,zW(r)?(Object.defineProperty(this,"request",{enumerable:!1,value:r}),Object.defineProperty(this,"response",{enumerable:!1,value:r.response}),this.options=r.options):this.options=r,this.timings=this.request?.timings,W.string(t.stack)&&W.string(this.stack)){let n=this.stack.indexOf(this.message)+this.message.length,i=this.stack.slice(n).split(` +}`;var Et=Eb(function(){return bt($,Ye+"return "+ke).apply(r,ie)});if(Et.source=ke,iC(Et))throw Et;return Et}function i3(o){return Wt(o).toLowerCase()}function s3(o){return Wt(o).toUpperCase()}function o3(o,u,B){if(o=Wt(o),o&&(B||u===r))return Bo(o);if(!o||!(u=_i(u)))return o;var x=wi(o),H=wi(u),$=ea(x,H),ie=fA(x,H)+1;return yA(x,$,ie).join("")}function A3(o,u,B){if(o=Wt(o),o&&(B||u===r))return o.slice(0,uf(o)+1);if(!o||!(u=_i(u)))return o;var x=wi(o),H=fA(x,wi(u))+1;return yA(x,0,H).join("")}function a3(o,u,B){if(o=Wt(o),o&&(B||u===r))return o.replace(pr,"");if(!o||!(u=_i(u)))return o;var x=wi(o),H=ea(x,wi(u));return yA(x,H).join("")}function c3(o,u){var B=E,x=O;if(Lr(u)){var H="separator"in u?u.separator:H;B="length"in u?gt(u.length):B,x="omission"in u?_i(u.omission):x}o=Wt(o);var $=o.length;if(Qo(o)){var ie=wi(o);$=ie.length}if(B>=$)return o;var Ae=B-dA(x);if(Ae<1)return x;var he=ie?yA(ie,0,Ae).join(""):o.slice(0,Ae);if(H===r)return he+x;if(ie&&(Ae+=he.length-Ae),sC(H)){if(o.slice(Ae).search(H)){var Qe,be=he;for(H.global||(H=Ec(H.source,Wt(Sr.exec(H))+"g")),H.lastIndex=0;Qe=H.exec(be);)var ke=Qe.index;he=he.slice(0,ke===r?Ae:ke)}}else if(o.indexOf(_i(H),Ae)!=Ae){var qe=he.lastIndexOf(H);qe>-1&&(he=he.slice(0,qe))}return he+x}function l3(o){return o=Wt(o),o&&Qi.test(o)?o.replace(Pn,Ep):o}var u3=mc(function(o,u,B){return o+(B?" ":"")+u.toUpperCase()}),aC=pm("toUpperCase");function db(o,u,B){return o=Wt(o),u=B?r:u,u===r?hp(o)?Cp(o):cp(o):o.match(u)||[]}var Eb=Bt(function(o,u){try{return Vn(o,r,u)}catch(B){return iC(B)?B:new ze(B)}}),h3=No(function(o,u){return _n(u,function(B){B=Hs(B),ko(o,B,rC(o[B],o))}),o});function f3(o){var u=o==null?0:o.length,B=rt();return o=u?rr(o,function(x){if(typeof x[1]!="function")throw new dn(a);return[B(x[0]),x[1]]}):[],Bt(function(x){for(var H=-1;++HP)return[];var B=ce,x=fe(o,ce);u=rt(u),o-=ce;for(var H=Au(x,u);++B0||u<0)?new St(B):(o<0?B=B.takeRight(-o):o&&(B=B.drop(o)),u!==r&&(u=gt(u),B=u<0?B.dropRight(-u):B.take(u-o)),B)},St.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},St.prototype.toArray=function(){return this.take(ce)},qs(St.prototype,function(o,u){var B=/^(?:filter|find|map|reject)|While$/.test(u),x=/^(?:head|last)$/.test(u),H=K[x?"take"+(u=="last"?"Right":""):u],$=x||/^find/.test(u);H&&(K.prototype[u]=function(){var ie=this.__wrapped__,Ae=x?[1]:arguments,he=ie instanceof St,Qe=Ae[0],be=he||ut(ie),ke=function(wt){var kt=H.apply(K,kn([wt],Ae));return x&&qe?kt[0]:kt};be&&B&&typeof Qe=="function"&&Qe.length!=1&&(he=be=!1);var qe=this.__chain__,Ye=!!this.__actions__.length,it=$&&!qe,Et=he&&!Ye;if(!$&&be){ie=Et?ie:new St(this);var st=o.apply(ie,Ae);return st.__actions__.push({func:Nf,args:[ke],thisArg:r}),new Nn(st,qe)}return it&&Et?o.apply(this,Ae):(st=this.thru(ke),it?x?st.value()[0]:st.value():st)})}),_n(["pop","push","shift","sort","splice","unshift"],function(o){var u=ta[o],B=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",x=/^(?:pop|shift)$/.test(o);K.prototype[o]=function(){var H=arguments;if(x&&!this.__chain__){var $=this.value();return u.apply(ut($)?$:[],H)}return this[B](function(ie){return u.apply(ut(ie)?ie:[],H)})}}),qs(St.prototype,function(o,u){var B=K[u];if(B){var x=B.name+"";Ft.call(Dn,x)||(Dn[x]=[]),Dn[x].push({name:u,func:B})}}),Dn[wf(r,R).name]=[{name:"wrapper",func:r}],St.prototype.clone=lL,St.prototype.reverse=uL,St.prototype.value=hL,K.prototype.at=qU,K.prototype.chain=VU,K.prototype.commit=HU,K.prototype.next=GU,K.prototype.plant=JU,K.prototype.reverse=WU,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=jU,K.prototype.first=K.prototype.head,EA&&(K.prototype[EA]=YU),K},ji=Os();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Xr._=ji,define(function(){return ji})):Ls?((Ls.exports=ji)._=ji,cc._=ji):Xr._=ji}).call(e)}),NW=_e((e,t)=>{var r=OD(),n=YD(),i=GD(),s=K0(),{includes:a,isBoolean:c,isInteger:l,isNumber:A,isPlainObject:f,isString:h,once:g}=DW(),{KeyObject:b,createSecretKey:C,createPrivateKey:p}=require("crypto"),Q=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];n&&Q.splice(3,0,"PS256","PS384","PS512");var R={expiresIn:{isValid:function(v){return l(v)||h(v)&&v},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(v){return l(v)||h(v)&&v},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(v){return h(v)||Array.isArray(v)},message:'"audience" must be a string or array'},algorithm:{isValid:a.bind(null,Q),message:'"algorithm" must be a valid string enum value'},header:{isValid:f,message:'"header" must be an object'},encoding:{isValid:h,message:'"encoding" must be a string'},issuer:{isValid:h,message:'"issuer" must be a string'},subject:{isValid:h,message:'"subject" must be a string'},jwtid:{isValid:h,message:'"jwtid" must be a string'},noTimestamp:{isValid:c,message:'"noTimestamp" must be a boolean'},keyid:{isValid:h,message:'"keyid" must be a string'},mutatePayload:{isValid:c,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:c,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:c,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},_={iat:{isValid:A,message:'"iat" should be a number of seconds'},exp:{isValid:A,message:'"exp" should be a number of seconds'},nbf:{isValid:A,message:'"nbf" should be a number of seconds'}};function d(v,I,E,O){if(!f(E))throw new Error('Expected "'+O+'" to be a plain object.');Object.keys(E).forEach(function(q){let V=v[q];if(!V){if(!I)throw new Error('"'+q+'" is not allowed in "'+O+'"');return}if(!V.isValid(E[q]))throw new Error(V.message)})}function S(v){return d(R,!1,v,"options")}function m(v){return d(_,!0,v,"payload")}var T={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},L=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];t.exports=function(v,I,E,O){typeof E=="function"?(O=E,E={}):E=E||{};let q=typeof v=="object"&&!Buffer.isBuffer(v),V=Object.assign({alg:E.algorithm||"HS256",typ:q?"JWT":void 0,kid:E.keyid},E.header);function w(M){if(O)return O(M);throw M}if(!I&&E.algorithm!=="none")return w(new Error("secretOrPrivateKey must have a value"));if(I!=null&&!(I instanceof b))try{I=p(I)}catch{try{I=C(typeof I=="string"?Buffer.from(I):I)}catch{return w(new Error("secretOrPrivateKey is not valid key material"))}}if(V.alg.startsWith("HS")&&I.type!=="secret")return w(new Error(`secretOrPrivateKey must be a symmetric key when using ${V.alg}`));if(/^(?:RS|PS|ES)/.test(V.alg)){if(I.type!=="private")return w(new Error(`secretOrPrivateKey must be an asymmetric key when using ${V.alg}`));if(!E.allowInsecureKeySizes&&!V.alg.startsWith("ES")&&I.asymmetricKeyDetails!==void 0&&I.asymmetricKeyDetails.modulusLength<2048)return w(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${V.alg}`))}if(typeof v>"u")return w(new Error("payload is required"));if(q){try{m(v)}catch(M){return w(M)}E.mutatePayload||(v=Object.assign({},v))}else{let M=L.filter(function(P){return typeof E[P]<"u"});if(M.length>0)return w(new Error("invalid "+M.join(",")+" option for "+typeof v+" payload"))}if(typeof v.exp<"u"&&typeof E.expiresIn<"u")return w(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof v.nbf<"u"&&typeof E.notBefore<"u")return w(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{S(E)}catch(M){return w(M)}if(!E.allowInvalidAsymmetricKeyTypes)try{i(V.alg,I)}catch(M){return w(M)}let N=v.iat||Math.floor(Date.now()/1e3);if(E.noTimestamp?delete v.iat:q&&(v.iat=N),typeof E.notBefore<"u"){try{v.nbf=r(E.notBefore,N)}catch(M){return w(M)}if(typeof v.nbf>"u")return w(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof E.expiresIn<"u"&&typeof v=="object"){try{v.exp=r(E.expiresIn,N)}catch(M){return w(M)}if(typeof v.exp>"u")return w(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(T).forEach(function(M){let P=T[M];if(typeof E[M]<"u"){if(typeof v[P]<"u")return w(new Error('Bad "options.'+M+'" option. The payload already has an "'+P+'" property.'));v[P]=E[M]}});let F=E.encoding||"utf8";if(typeof O=="function")O=O&&g(O),s.createSign({header:V,privateKey:I,payload:v,encoding:F}).once("error",O).once("done",function(M){if(!E.allowInsecureKeySizes&&/^(?:RS|PS)/.test(V.alg)&&M.length<256)return O(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${V.alg}`));O(null,M)});else{let M=s.sign({header:V,payload:v,secret:I,encoding:F});if(!E.allowInsecureKeySizes&&/^(?:RS|PS)/.test(V.alg)&&M.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${V.alg}`);return M}}}),TW=_e((e,t)=>{t.exports={verify:kW(),sign:NW(),JsonWebTokenError:TE(),NotBeforeError:TD(),TokenExpiredError:LD()},Object.defineProperty(t.exports,"decode",{enumerable:!1,value:MD()})}),JD={};DJ(JD,{BrowserName:()=>WD,marketNameMap:()=>jD,submitChrome:()=>Z7,submitEdge:()=>oz,submitFirefox:()=>Kz,submitItero:()=>O$,submitOpera:()=>$z,supportedBrowserSet:()=>LW});oL.exports=NJ(JD);var WD=(e=>(e.Chrome="chrome",e.Firefox="firefox",e.Opera="opera",e.Edge="edge",e.Itero="itero",e))(WD||{}),LW=new Set(["chrome","edge","firefox","itero"]),jD={chrome:"Chrome Web Store",edge:"Edge Add-ons",firefox:"Firefox Add-ons",itero:"Itero TestBed"},FW=require("fs"),zD=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function UW(e){return zD.includes(e)}var xW=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","WeakRef","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement","NaN",...zD];function MW(e){return xW.includes(e)}var OW=["null","undefined","string","number","bigint","boolean","symbol"];function PW(e){return OW.includes(e)}function Pl(e){return t=>typeof t===e}var{toString:qW}=Object.prototype,Ph=e=>{let t=qW.call(e).slice(8,-1);if(/HTML\w+Element/.test(t)&&ne.domElement(e))return"HTMLElement";if(MW(t))return t},ir=e=>t=>Ph(t)===e;function ne(e){if(e===null)return"null";switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"NaN":"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(ne.observable(e))return"Observable";if(ne.array(e))return"Array";if(ne.buffer(e))return"Buffer";let t=Ph(e);if(t)return t;if(e instanceof String||e instanceof Boolean||e instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}ne.undefined=Pl("undefined");ne.string=Pl("string");var VW=Pl("number");ne.number=e=>VW(e)&&!ne.nan(e);ne.positiveNumber=e=>ne.number(e)&&e>0;ne.negativeNumber=e=>ne.number(e)&&e<0;ne.bigint=Pl("bigint");ne.function_=Pl("function");ne.null_=e=>e===null;ne.class_=e=>ne.function_(e)&&e.toString().startsWith("class ");ne.boolean=e=>e===!0||e===!1;ne.symbol=Pl("symbol");ne.numericString=e=>ne.string(e)&&!ne.emptyStringOrWhitespace(e)&&!Number.isNaN(Number(e));ne.array=(e,t)=>Array.isArray(e)?ne.function_(t)?e.every(r=>t(r)):!0:!1;ne.buffer=e=>e?.constructor?.isBuffer?.(e)??!1;ne.blob=e=>ir("Blob")(e);ne.nullOrUndefined=e=>ne.null_(e)||ne.undefined(e);ne.object=e=>!ne.null_(e)&&(typeof e=="object"||ne.function_(e));ne.iterable=e=>ne.function_(e?.[Symbol.iterator]);ne.asyncIterable=e=>ne.function_(e?.[Symbol.asyncIterator]);ne.generator=e=>ne.iterable(e)&&ne.function_(e?.next)&&ne.function_(e?.throw);ne.asyncGenerator=e=>ne.asyncIterable(e)&&ne.function_(e.next)&&ne.function_(e.throw);ne.nativePromise=e=>ir("Promise")(e);var HW=e=>ne.function_(e?.then)&&ne.function_(e?.catch);ne.promise=e=>ne.nativePromise(e)||HW(e);ne.generatorFunction=ir("GeneratorFunction");ne.asyncGeneratorFunction=e=>Ph(e)==="AsyncGeneratorFunction";ne.asyncFunction=e=>Ph(e)==="AsyncFunction";ne.boundFunction=e=>ne.function_(e)&&!e.hasOwnProperty("prototype");ne.regExp=ir("RegExp");ne.date=ir("Date");ne.error=ir("Error");ne.map=e=>ir("Map")(e);ne.set=e=>ir("Set")(e);ne.weakMap=e=>ir("WeakMap")(e);ne.weakSet=e=>ir("WeakSet")(e);ne.weakRef=e=>ir("WeakRef")(e);ne.int8Array=ir("Int8Array");ne.uint8Array=ir("Uint8Array");ne.uint8ClampedArray=ir("Uint8ClampedArray");ne.int16Array=ir("Int16Array");ne.uint16Array=ir("Uint16Array");ne.int32Array=ir("Int32Array");ne.uint32Array=ir("Uint32Array");ne.float32Array=ir("Float32Array");ne.float64Array=ir("Float64Array");ne.bigInt64Array=ir("BigInt64Array");ne.bigUint64Array=ir("BigUint64Array");ne.arrayBuffer=ir("ArrayBuffer");ne.sharedArrayBuffer=ir("SharedArrayBuffer");ne.dataView=ir("DataView");ne.enumCase=(e,t)=>Object.values(t).includes(e);ne.directInstanceOf=(e,t)=>Object.getPrototypeOf(e)===t.prototype;ne.urlInstance=e=>ir("URL")(e);ne.urlString=e=>{if(!ne.string(e))return!1;try{return new URL(e),!0}catch{return!1}};ne.truthy=e=>!!e;ne.falsy=e=>!e;ne.nan=e=>Number.isNaN(e);ne.primitive=e=>ne.null_(e)||PW(typeof e);ne.integer=e=>Number.isInteger(e);ne.safeInteger=e=>Number.isSafeInteger(e);ne.plainObject=e=>{if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};ne.typedArray=e=>UW(Ph(e));var GW=e=>ne.safeInteger(e)&&e>=0;ne.arrayLike=e=>!ne.nullOrUndefined(e)&&!ne.function_(e)&&GW(e.length);ne.tupleLike=(e,t)=>ne.array(t)&&ne.array(e)&&t.length===e.length?t.every((r,n)=>r(e[n])):!1;ne.inRange=(e,t)=>{if(ne.number(t))return e>=Math.min(0,t)&&e<=Math.max(t,0);if(ne.array(t)&&t.length===2)return e>=Math.min(...t)&&e<=Math.max(...t);throw new TypeError(`Invalid range: ${JSON.stringify(t)}`)};var YW=1,JW=["innerHTML","ownerDocument","style","attributes","nodeValue"];ne.domElement=e=>ne.object(e)&&e.nodeType===YW&&ne.string(e.nodeName)&&!ne.plainObject(e)&&JW.every(t=>t in e);ne.observable=e=>e?e===e[Symbol.observable]?.()||e===e["@@observable"]?.():!1;ne.nodeStream=e=>ne.object(e)&&ne.function_(e.pipe)&&!ne.observable(e);ne.infinite=e=>e===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY;var KD=e=>t=>ne.integer(t)&&Math.abs(t%2)===e;ne.evenInteger=KD(0);ne.oddInteger=KD(1);ne.emptyArray=e=>ne.array(e)&&e.length===0;ne.nonEmptyArray=e=>ne.array(e)&&e.length>0;ne.emptyString=e=>ne.string(e)&&e.length===0;var WW=e=>ne.string(e)&&!/\S/.test(e);ne.emptyStringOrWhitespace=e=>ne.emptyString(e)||WW(e);ne.nonEmptyString=e=>ne.string(e)&&e.length>0;ne.nonEmptyStringAndNotWhitespace=e=>ne.string(e)&&!ne.emptyStringOrWhitespace(e);ne.emptyObject=e=>ne.object(e)&&!ne.map(e)&&!ne.set(e)&&Object.keys(e).length===0;ne.nonEmptyObject=e=>ne.object(e)&&!ne.map(e)&&!ne.set(e)&&Object.keys(e).length>0;ne.emptySet=e=>ne.set(e)&&e.size===0;ne.nonEmptySet=e=>ne.set(e)&&e.size>0;ne.emptyMap=e=>ne.map(e)&&e.size===0;ne.nonEmptyMap=e=>ne.map(e)&&e.size>0;ne.propertyKey=e=>ne.any([ne.string,ne.number,ne.symbol],e);ne.formData=e=>ir("FormData")(e);ne.urlSearchParams=e=>ir("URLSearchParams")(e);var XD=(e,t,r)=>{if(!ne.function_(t))throw new TypeError(`Invalid predicate: ${JSON.stringify(t)}`);if(r.length===0)throw new TypeError("Invalid number of values");return e.call(r,t)};ne.any=(e,...t)=>(ne.array(e)?e:[e]).some(r=>XD(Array.prototype.some,r,t));ne.all=(e,...t)=>XD(Array.prototype.every,e,t);var Te=(e,t,r,n={})=>{if(!e){let{multipleValues:i}=n,s=i?`received values of types ${[...new Set(r.map(a=>`\`${ne(a)}\``))].join(", ")}`:`received value of type \`${ne(r)}\``;throw new TypeError(`Expected value which is \`${t}\`, ${s}.`)}},ae={undefined:e=>Te(ne.undefined(e),"undefined",e),string:e=>Te(ne.string(e),"string",e),number:e=>Te(ne.number(e),"number",e),positiveNumber:e=>Te(ne.positiveNumber(e),"positive number",e),negativeNumber:e=>Te(ne.negativeNumber(e),"negative number",e),bigint:e=>Te(ne.bigint(e),"bigint",e),function_:e=>Te(ne.function_(e),"Function",e),null_:e=>Te(ne.null_(e),"null",e),class_:e=>Te(ne.class_(e),"Class",e),boolean:e=>Te(ne.boolean(e),"boolean",e),symbol:e=>Te(ne.symbol(e),"symbol",e),numericString:e=>Te(ne.numericString(e),"string with a number",e),array:(e,t)=>{Te(ne.array(e),"Array",e),t&&e.forEach(t)},buffer:e=>Te(ne.buffer(e),"Buffer",e),blob:e=>Te(ne.blob(e),"Blob",e),nullOrUndefined:e=>Te(ne.nullOrUndefined(e),"null or undefined",e),object:e=>Te(ne.object(e),"Object",e),iterable:e=>Te(ne.iterable(e),"Iterable",e),asyncIterable:e=>Te(ne.asyncIterable(e),"AsyncIterable",e),generator:e=>Te(ne.generator(e),"Generator",e),asyncGenerator:e=>Te(ne.asyncGenerator(e),"AsyncGenerator",e),nativePromise:e=>Te(ne.nativePromise(e),"native Promise",e),promise:e=>Te(ne.promise(e),"Promise",e),generatorFunction:e=>Te(ne.generatorFunction(e),"GeneratorFunction",e),asyncGeneratorFunction:e=>Te(ne.asyncGeneratorFunction(e),"AsyncGeneratorFunction",e),asyncFunction:e=>Te(ne.asyncFunction(e),"AsyncFunction",e),boundFunction:e=>Te(ne.boundFunction(e),"Function",e),regExp:e=>Te(ne.regExp(e),"RegExp",e),date:e=>Te(ne.date(e),"Date",e),error:e=>Te(ne.error(e),"Error",e),map:e=>Te(ne.map(e),"Map",e),set:e=>Te(ne.set(e),"Set",e),weakMap:e=>Te(ne.weakMap(e),"WeakMap",e),weakSet:e=>Te(ne.weakSet(e),"WeakSet",e),weakRef:e=>Te(ne.weakRef(e),"WeakRef",e),int8Array:e=>Te(ne.int8Array(e),"Int8Array",e),uint8Array:e=>Te(ne.uint8Array(e),"Uint8Array",e),uint8ClampedArray:e=>Te(ne.uint8ClampedArray(e),"Uint8ClampedArray",e),int16Array:e=>Te(ne.int16Array(e),"Int16Array",e),uint16Array:e=>Te(ne.uint16Array(e),"Uint16Array",e),int32Array:e=>Te(ne.int32Array(e),"Int32Array",e),uint32Array:e=>Te(ne.uint32Array(e),"Uint32Array",e),float32Array:e=>Te(ne.float32Array(e),"Float32Array",e),float64Array:e=>Te(ne.float64Array(e),"Float64Array",e),bigInt64Array:e=>Te(ne.bigInt64Array(e),"BigInt64Array",e),bigUint64Array:e=>Te(ne.bigUint64Array(e),"BigUint64Array",e),arrayBuffer:e=>Te(ne.arrayBuffer(e),"ArrayBuffer",e),sharedArrayBuffer:e=>Te(ne.sharedArrayBuffer(e),"SharedArrayBuffer",e),dataView:e=>Te(ne.dataView(e),"DataView",e),enumCase:(e,t)=>Te(ne.enumCase(e,t),"EnumCase",e),urlInstance:e=>Te(ne.urlInstance(e),"URL",e),urlString:e=>Te(ne.urlString(e),"string with a URL",e),truthy:e=>Te(ne.truthy(e),"truthy",e),falsy:e=>Te(ne.falsy(e),"falsy",e),nan:e=>Te(ne.nan(e),"NaN",e),primitive:e=>Te(ne.primitive(e),"primitive",e),integer:e=>Te(ne.integer(e),"integer",e),safeInteger:e=>Te(ne.safeInteger(e),"integer",e),plainObject:e=>Te(ne.plainObject(e),"plain object",e),typedArray:e=>Te(ne.typedArray(e),"TypedArray",e),arrayLike:e=>Te(ne.arrayLike(e),"array-like",e),tupleLike:(e,t)=>Te(ne.tupleLike(e,t),"tuple-like",e),domElement:e=>Te(ne.domElement(e),"HTMLElement",e),observable:e=>Te(ne.observable(e),"Observable",e),nodeStream:e=>Te(ne.nodeStream(e),"Node.js Stream",e),infinite:e=>Te(ne.infinite(e),"infinite number",e),emptyArray:e=>Te(ne.emptyArray(e),"empty array",e),nonEmptyArray:e=>Te(ne.nonEmptyArray(e),"non-empty array",e),emptyString:e=>Te(ne.emptyString(e),"empty string",e),emptyStringOrWhitespace:e=>Te(ne.emptyStringOrWhitespace(e),"empty string or whitespace",e),nonEmptyString:e=>Te(ne.nonEmptyString(e),"non-empty string",e),nonEmptyStringAndNotWhitespace:e=>Te(ne.nonEmptyStringAndNotWhitespace(e),"non-empty string and not whitespace",e),emptyObject:e=>Te(ne.emptyObject(e),"empty object",e),nonEmptyObject:e=>Te(ne.nonEmptyObject(e),"non-empty object",e),emptySet:e=>Te(ne.emptySet(e),"empty set",e),nonEmptySet:e=>Te(ne.nonEmptySet(e),"non-empty set",e),emptyMap:e=>Te(ne.emptyMap(e),"empty map",e),nonEmptyMap:e=>Te(ne.nonEmptyMap(e),"non-empty map",e),propertyKey:e=>Te(ne.propertyKey(e),"PropertyKey",e),formData:e=>Te(ne.formData(e),"FormData",e),urlSearchParams:e=>Te(ne.urlSearchParams(e),"URLSearchParams",e),evenInteger:e=>Te(ne.evenInteger(e),"even integer",e),oddInteger:e=>Te(ne.oddInteger(e),"odd integer",e),directInstanceOf:(e,t)=>Te(ne.directInstanceOf(e,t),"T",e),inRange:(e,t)=>Te(ne.inRange(e,t),"in range",e),any:(e,...t)=>Te(ne.any(e,...t),"predicate returns truthy for any value",t,{multipleValues:!0}),all:(e,...t)=>Te(ne.all(e,...t),"predicate returns truthy for all values",t,{multipleValues:!0})};Object.defineProperties(ne,{class:{value:ne.class_},function:{value:ne.function_},null:{value:ne.null_}});Object.defineProperties(ae,{class:{value:ae.class_},function:{value:ae.function_},null:{value:ae.null_}});var W=ne,jW=require("node:events"),zW=class extends Error{constructor(e){super(e||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}},iQ=class $D{static fn(t){return(...r)=>new $D((n,i,s)=>{r.push(s),t(...r).then(n,i)})}constructor(t){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((r,n)=>{this._reject=n;let i=c=>{(!this._isCanceled||!a.shouldReject)&&(this._isPending=!1,r(c))},s=c=>{this._isPending=!1,n(c)},a=c=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(c)};Object.defineProperties(a,{shouldReject:{get:()=>this._rejectOnCancel,set:c=>{this._rejectOnCancel=c}}}),t(i,s,a)})}then(t,r){return this._promise.then(t,r)}catch(t){return this._promise.catch(t)}finally(t){return this._promise.finally(t)}cancel(t){if(!(!this._isPending||this._isCanceled)){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(let r of this._cancelHandlers)r()}catch(r){this._reject(r);return}this._rejectOnCancel&&this._reject(new zW(t))}}get isCanceled(){return this._isCanceled}};Object.setPrototypeOf(iQ.prototype,Promise.prototype);function KW(e){return W.object(e)&&"_onResponse"in e}var nn=class extends Error{constructor(e,t,r){if(super(e),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=t.code??"ERR_GOT_REQUEST_ERROR",this.input=t.input,KW(r)?(Object.defineProperty(this,"request",{enumerable:!1,value:r}),Object.defineProperty(this,"response",{enumerable:!1,value:r.response}),this.options=r.options):this.options=r,this.timings=this.request?.timings,W.string(t.stack)&&W.string(this.stack)){let n=this.stack.indexOf(this.message)+this.message.length,i=this.stack.slice(n).split(` `).reverse(),s=t.stack.slice(t.stack.indexOf(t.message)+t.message.length).split(` `).reverse();for(;s.length>0&&s[0]===i[0];)i.shift();this.stack=`${this.stack.slice(0,n)}${i.reverse().join(` `)}${s.reverse().join(` -`)}`}}},KW=class extends nn{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}},dE=class extends nn{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}},XW=class extends nn{constructor(e,t){super(e.message,e,t),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}},ek=class extends nn{constructor(e,t){super(e.message,e,t),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}},$W=class extends nn{constructor(e,t,r){super(e.message,e,r),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.event=e.event,this.timings=t}},tk=class extends nn{constructor(e,t){super(e.message,e,t),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}},ZW=class extends nn{constructor(e){super("Retrying",{},e),this.name="RetryError",this.code="ERR_RETRYING"}},ej=class extends nn{constructor(e){super("This operation was aborted.",{},e),this.code="ERR_ABORTED",this.name="AbortError"}},$D=$t(require("node:process"),1),Uy=require("node:buffer"),tj=require("node:stream"),xy=$t(require("node:http"),1),rj=require("events"),nj=require("util"),ij=$t(NJ(),1),sj=e=>{if(e.timings)return e.timings;let t={start:Date.now(),socket:void 0,lookup:void 0,connect:void 0,secureConnect:void 0,upload:void 0,response:void 0,end:void 0,error:void 0,abort:void 0,phases:{wait:void 0,dns:void 0,tcp:void 0,tls:void 0,request:void 0,firstByte:void 0,download:void 0,total:void 0}};e.timings=t;let r=a=>{a.once(rj.errorMonitor,()=>{t.error=Date.now(),t.phases.total=t.error-t.start})};r(e);let n=()=>{t.abort=Date.now(),t.phases.total=t.abort-t.start};e.prependOnceListener("abort",n);let i=a=>{if(t.socket=Date.now(),t.phases.wait=t.socket-t.start,nj.types.isProxy(a))return;let c=()=>{t.lookup=Date.now(),t.phases.dns=t.lookup-t.socket};a.prependOnceListener("lookup",c),(0,ij.default)(a,{connect:()=>{t.connect=Date.now(),t.lookup===void 0&&(a.removeListener("lookup",c),t.lookup=t.connect,t.phases.dns=t.lookup-t.socket),t.phases.tcp=t.connect-t.lookup},secureConnect:()=>{t.secureConnect=Date.now(),t.phases.tls=t.secureConnect-t.connect}})};e.socket?i(e.socket):e.prependOnceListener("socket",i);let s=()=>{t.upload=Date.now(),t.phases.request=t.upload-(t.secureConnect??t.connect)};return e.writableFinished?s():e.prependOnceListener("finish",s),e.prependOnceListener("response",a=>{t.response=Date.now(),t.phases.firstByte=t.response-t.upload,a.timings=t,r(a),a.prependOnceListener("end",()=>{e.off("abort",n),a.off("aborted",n),!t.phases.total&&(t.end=Date.now(),t.phases.download=t.end-t.response,t.phases.total=t.end-t.start)}),a.prependOnceListener("aborted",n)}),t},ZD=sj,oj=$t(require("node:events"),1),Ud=$t(require("node:url"),1),Aj=$t(require("node:crypto"),1),eN=$t(require("node:stream"),1),aj="text/plain",cj="us-ascii",My=(e,t)=>t.some(r=>r instanceof RegExp?r.test(e):r===e),lj=new Set(["https:","http:","file:"]),uj=e=>{try{let{protocol:t}=new URL(e);return t.endsWith(":")&&!lj.has(t)}catch{return!1}},hj=(e,{stripHash:t})=>{let r=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!r)throw new Error(`Invalid URL: ${e}`);let{type:n,data:i,hash:s}=r.groups,a=n.split(";");s=t?"":s;let c=!1;a[a.length-1]==="base64"&&(a.pop(),c=!0);let l=a.shift()?.toLowerCase()??"",A=[...a.map(f=>{let[h,g=""]=f.split("=").map(b=>b.trim());return h==="charset"&&(g=g.toLowerCase(),g===cj)?"":`${h}${g?`=${g}`:""}`}).filter(Boolean)];return c&&A.push("base64"),(A.length>0||l&&l!==aj)&&A.unshift(l),`data:${A.join(";")},${c?i.trim():i}${s?`#${s}`:""}`};function fj(e,t){if(t={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t},typeof t.defaultProtocol=="string"&&!t.defaultProtocol.endsWith(":")&&(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return hj(e,t);if(uj(e))return e;let r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let n=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&n.protocol==="https:"&&(n.protocol="http:"),t.forceHttps&&n.protocol==="http:"&&(n.protocol="https:"),t.stripAuthentication&&(n.username="",n.password=""),t.stripHash?n.hash="":t.stripTextFragment&&(n.hash=n.hash.replace(/#?:~:text.*?$/i,"")),n.pathname){let s=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,a=0,c="";for(;;){let A=s.exec(n.pathname);if(!A)break;let f=A[0],h=A.index,g=n.pathname.slice(a,h);c+=g.replace(/\/{2,}/g,"/"),c+=f,a=h+f.length}let l=n.pathname.slice(a,n.pathname.length);c+=l.replace(/\/{2,}/g,"/"),n.pathname=c}if(n.pathname)try{n.pathname=decodeURI(n.pathname)}catch{}if(t.removeDirectoryIndex===!0&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let s=n.pathname.split("/"),a=s[s.length-1];My(a,t.removeDirectoryIndex)&&(s=s.slice(0,-1),n.pathname=s.slice(1).join("/")+"/")}if(n.hostname&&(n.hostname=n.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(n.hostname)&&(n.hostname=n.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let s of[...n.searchParams.keys()])My(s,t.removeQueryParameters)&&n.searchParams.delete(s);if(!Array.isArray(t.keepQueryParameters)&&t.removeQueryParameters===!0&&(n.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(let s of[...n.searchParams.keys()])My(s,t.keepQueryParameters)||n.searchParams.delete(s);if(t.sortQueryParameters){n.searchParams.sort();try{n.search=decodeURIComponent(n.search)}catch{}}t.removeTrailingSlash&&(n.pathname=n.pathname.replace(/\/$/,"")),t.removeExplicitPort&&n.port&&(n.port="");let i=e;return e=n.toString(),!t.removeSingleSlash&&n.pathname==="/"&&!i.endsWith("/")&&n.hash===""&&(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||n.pathname==="/")&&n.hash===""&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}var gj=$t(j0(),1),Oy=$t(LJ(),1),dj=require("node:stream");function _h(e){return Object.fromEntries(Object.entries(e).map(([t,r])=>[t.toLowerCase(),r]))}var rk=class extends dj.Readable{statusCode;headers;body;url;constructor({statusCode:e,headers:t,body:r,url:n}){if(typeof e!="number")throw new TypeError("Argument `statusCode` should be a number");if(typeof t!="object")throw new TypeError("Argument `headers` should be an object");if(!(r instanceof Uint8Array))throw new TypeError("Argument `body` should be a buffer");if(typeof n!="string")throw new TypeError("Argument `url` should be a string");super({read(){this.push(r),this.push(null)}}),this.statusCode=e,this.headers=_h(t),this.body=r,this.url=n}},xd=$t(UJ(),1),Ej=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];function pj(e,t){if(t._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");let r=new Set([...Object.keys(e),...Ej]),n={};for(let i of r)i in t||(n[i]={get(){let s=e[i];return typeof s=="function"?s.bind(e):s},set(s){e[i]=s},enumerable:!0,configurable:!1});return Object.defineProperties(t,n),e.once("aborted",()=>{t.destroy(),t.emit("aborted")}),e.once("close",()=>{e.complete&&t.readable?t.once("end",()=>{t.emit("close")}):t.emit("close")}),t}var Cj=class extends Error{constructor(e){super(e.message),Object.assign(this,e)}},wl=class extends Error{constructor(e){super(e.message),Object.assign(this,e)}},Ij=class{constructor(e,t){this.hooks=new Map,this.request=()=>(r,n)=>{let i;if(typeof r=="string")i=Py(Ud.default.parse(r)),r={};else if(r instanceof Ud.default.URL)i=Py(Ud.default.parse(r.toString())),r={};else{let[h,...g]=(r.path??"").split("?"),b=g.length>0?`?${g.join("?")}`:"";i=Py({...r,pathname:h,search:b})}r={headers:{},method:"GET",cache:!0,strictTtl:!1,automaticFailover:!1,...r,...Qj(i)},r.headers=Object.fromEntries(Bj(r.headers).map(([h,g])=>[h.toLowerCase(),g]));let s=new oj.default,a=fj(Ud.default.format(i),{stripWWW:!1,removeTrailingSlash:!1,stripAuthentication:!1}),c=`${r.method}:${a}`;r.body&&r.method!==void 0&&["POST","PATCH","PUT"].includes(r.method)&&(r.body instanceof eN.default.Readable?r.cache=!1:c+=`:${Aj.default.createHash("md5").update(r.body).digest("hex")}`);let l=!1,A=!1,f=h=>{A=!0;let g=!1,b=()=>{},C=new Promise(Q=>{b=()=>{g||(g=!0,Q())}}),p=async Q=>{if(l){Q.status=Q.statusCode;let _=Oy.default.fromObject(l.cachePolicy).revalidatedPolicy(h,Q);if(!_.modified){Q.resume(),await new Promise(S=>{Q.once("end",S)});let d=nk(_.policy.responseHeaders());Q=new rk({statusCode:l.statusCode,headers:d,body:l.body,url:l.url}),Q.cachePolicy=_.policy,Q.fromCache=!0}}Q.fromCache||(Q.cachePolicy=new Oy.default(h,Q,h),Q.fromCache=!1);let R;h.cache&&Q.cachePolicy.storable()?(R=yj(Q),(async()=>{try{let _=gj.default.buffer(Q);await Promise.race([C,new Promise(T=>Q.once("end",T)),new Promise(T=>Q.once("close",T))]);let d=await _,S={url:Q.url,statusCode:Q.fromCache?l.statusCode:Q.statusCode,body:d,cachePolicy:Q.cachePolicy.toObject()},m=h.strictTtl?Q.cachePolicy.timeToLive():void 0;if(h.maxTtl&&(m=m?Math.min(m,h.maxTtl):h.maxTtl),this.hooks.size>0)for(let T of this.hooks.keys())S=await this.runHook(T,S,Q);await this.cache.set(c,S,m)}catch(_){s.emit("error",new wl(_))}})()):h.cache&&l&&(async()=>{try{await this.cache.delete(c)}catch(_){s.emit("error",new wl(_))}})(),s.emit("response",R??Q),typeof n=="function"&&n(R??Q)};try{let Q=this.cacheRequest(h,p);Q.once("error",b),Q.once("abort",b),Q.once("destroy",b),s.emit("request",Q)}catch(Q){s.emit("error",new Cj(Q))}};return(async()=>{let h=async b=>{await Promise.resolve();let C=b.cache?await this.cache.get(c):void 0;if(C===void 0&&!b.forceRefresh){f(b);return}let p=Oy.default.fromObject(C.cachePolicy);if(p.satisfiesWithoutRevalidation(b)&&!b.forceRefresh){let Q=nk(p.responseHeaders()),R=new rk({statusCode:C.statusCode,headers:Q,body:C.body,url:C.url});R.cachePolicy=p,R.fromCache=!0,s.emit("response",R),typeof n=="function"&&n(R)}else p.satisfiesWithoutRevalidation(b)&&Date.now()>=p.timeToLive()&&b.forceRefresh?(await this.cache.delete(c),b.headers=p.revalidationHeaders(b),f(b)):(l=C,b.headers=p.revalidationHeaders(b),f(b))},g=b=>s.emit("error",new wl(b));if(this.cache instanceof xd.default){let b=this.cache;b.once("error",g),s.on("error",()=>b.removeListener("error",g)),s.on("response",()=>b.removeListener("error",g))}try{await h(r)}catch(b){r.automaticFailover&&!A&&f(r),s.emit("error",new wl(b))}})(),s},this.addHook=(r,n)=>{this.hooks.has(r)||this.hooks.set(r,n)},this.removeHook=r=>this.hooks.delete(r),this.getHook=r=>this.hooks.get(r),this.runHook=async(r,...n)=>this.hooks.get(r)?.(...n),t instanceof xd.default?this.cache=t:typeof t=="string"?this.cache=new xd.default({uri:t,namespace:"cacheable-request"}):this.cache=new xd.default({store:t,namespace:"cacheable-request"}),this.request=this.request.bind(this),this.cacheRequest=e}},Bj=Object.entries,yj=e=>{let t=new eN.PassThrough({autoDestroy:!1});return pj(e,t),e.pipe(t)},Qj=e=>{let t={...e};return t.path=`${e.pathname||"/"}${e.search||""}`,delete t.pathname,delete t.search,t},Py=e=>({protocol:e.protocol,auth:e.auth,hostname:e.hostname||e.host||"localhost",port:e.port,pathname:e.pathname,search:e.search}),nk=e=>{let t=[];for(let r of Object.keys(e))t[r.toLowerCase()]=e[r];return t},tN=Ij,mj=$t(ID(),1),bj=$t(j0(),1),Zo=e=>typeof e=="function",wj=e=>Zo(e[Symbol.asyncIterator]);async function*vj(e){let t=e.getReader();for(;;){let{done:r,value:n}=await t.read();if(r)break;yield n}}var Sj=e=>{if(wj(e))return e;if(Zo(e.getReader))return vj(e);throw new TypeError("Unsupported data source: Expected either ReadableStream or async iterable.")},ik="abcdefghijklmnopqrstuvwxyz0123456789";function Rj(){let e=16,t="";for(;e--;)t+=ik[Math.random()*ik.length<<0];return t}var sk=e=>String(e).replace(/\r|\n/g,(t,r,n)=>t==="\r"&&n[r+1]!==` +`)}`}}},XW=class extends nn{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}},dE=class extends nn{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}},$W=class extends nn{constructor(e,t){super(e.message,e,t),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}},ek=class extends nn{constructor(e,t){super(e.message,e,t),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}},ZW=class extends nn{constructor(e,t,r){super(e.message,e,r),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.event=e.event,this.timings=t}},tk=class extends nn{constructor(e,t){super(e.message,e,t),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}},ej=class extends nn{constructor(e){super("Retrying",{},e),this.name="RetryError",this.code="ERR_RETRYING"}},tj=class extends nn{constructor(e){super("This operation was aborted.",{},e),this.code="ERR_ABORTED",this.name="AbortError"}},ZD=$t(require("node:process"),1),Uy=require("node:buffer"),rj=require("node:stream"),xy=$t(require("node:http"),1),nj=require("events"),ij=require("util"),sj=$t(TJ(),1),oj=e=>{if(e.timings)return e.timings;let t={start:Date.now(),socket:void 0,lookup:void 0,connect:void 0,secureConnect:void 0,upload:void 0,response:void 0,end:void 0,error:void 0,abort:void 0,phases:{wait:void 0,dns:void 0,tcp:void 0,tls:void 0,request:void 0,firstByte:void 0,download:void 0,total:void 0}};e.timings=t;let r=a=>{a.once(nj.errorMonitor,()=>{t.error=Date.now(),t.phases.total=t.error-t.start})};r(e);let n=()=>{t.abort=Date.now(),t.phases.total=t.abort-t.start};e.prependOnceListener("abort",n);let i=a=>{if(t.socket=Date.now(),t.phases.wait=t.socket-t.start,ij.types.isProxy(a))return;let c=()=>{t.lookup=Date.now(),t.phases.dns=t.lookup-t.socket};a.prependOnceListener("lookup",c),(0,sj.default)(a,{connect:()=>{t.connect=Date.now(),t.lookup===void 0&&(a.removeListener("lookup",c),t.lookup=t.connect,t.phases.dns=t.lookup-t.socket),t.phases.tcp=t.connect-t.lookup},secureConnect:()=>{t.secureConnect=Date.now(),t.phases.tls=t.secureConnect-t.connect}})};e.socket?i(e.socket):e.prependOnceListener("socket",i);let s=()=>{t.upload=Date.now(),t.phases.request=t.upload-(t.secureConnect??t.connect)};return e.writableFinished?s():e.prependOnceListener("finish",s),e.prependOnceListener("response",a=>{t.response=Date.now(),t.phases.firstByte=t.response-t.upload,a.timings=t,r(a),a.prependOnceListener("end",()=>{e.off("abort",n),a.off("aborted",n),!t.phases.total&&(t.end=Date.now(),t.phases.download=t.end-t.response,t.phases.total=t.end-t.start)}),a.prependOnceListener("aborted",n)}),t},eN=oj,Aj=$t(require("node:events"),1),Ud=$t(require("node:url"),1),aj=$t(require("node:crypto"),1),tN=$t(require("node:stream"),1),cj="text/plain",lj="us-ascii",My=(e,t)=>t.some(r=>r instanceof RegExp?r.test(e):r===e),uj=new Set(["https:","http:","file:"]),hj=e=>{try{let{protocol:t}=new URL(e);return t.endsWith(":")&&!uj.has(t)}catch{return!1}},fj=(e,{stripHash:t})=>{let r=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!r)throw new Error(`Invalid URL: ${e}`);let{type:n,data:i,hash:s}=r.groups,a=n.split(";");s=t?"":s;let c=!1;a[a.length-1]==="base64"&&(a.pop(),c=!0);let l=a.shift()?.toLowerCase()??"",A=[...a.map(f=>{let[h,g=""]=f.split("=").map(b=>b.trim());return h==="charset"&&(g=g.toLowerCase(),g===lj)?"":`${h}${g?`=${g}`:""}`}).filter(Boolean)];return c&&A.push("base64"),(A.length>0||l&&l!==cj)&&A.unshift(l),`data:${A.join(";")},${c?i.trim():i}${s?`#${s}`:""}`};function gj(e,t){if(t={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t},typeof t.defaultProtocol=="string"&&!t.defaultProtocol.endsWith(":")&&(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return fj(e,t);if(hj(e))return e;let r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let n=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&n.protocol==="https:"&&(n.protocol="http:"),t.forceHttps&&n.protocol==="http:"&&(n.protocol="https:"),t.stripAuthentication&&(n.username="",n.password=""),t.stripHash?n.hash="":t.stripTextFragment&&(n.hash=n.hash.replace(/#?:~:text.*?$/i,"")),n.pathname){let s=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,a=0,c="";for(;;){let A=s.exec(n.pathname);if(!A)break;let f=A[0],h=A.index,g=n.pathname.slice(a,h);c+=g.replace(/\/{2,}/g,"/"),c+=f,a=h+f.length}let l=n.pathname.slice(a,n.pathname.length);c+=l.replace(/\/{2,}/g,"/"),n.pathname=c}if(n.pathname)try{n.pathname=decodeURI(n.pathname)}catch{}if(t.removeDirectoryIndex===!0&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let s=n.pathname.split("/"),a=s[s.length-1];My(a,t.removeDirectoryIndex)&&(s=s.slice(0,-1),n.pathname=s.slice(1).join("/")+"/")}if(n.hostname&&(n.hostname=n.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(n.hostname)&&(n.hostname=n.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let s of[...n.searchParams.keys()])My(s,t.removeQueryParameters)&&n.searchParams.delete(s);if(!Array.isArray(t.keepQueryParameters)&&t.removeQueryParameters===!0&&(n.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(let s of[...n.searchParams.keys()])My(s,t.keepQueryParameters)||n.searchParams.delete(s);if(t.sortQueryParameters){n.searchParams.sort();try{n.search=decodeURIComponent(n.search)}catch{}}t.removeTrailingSlash&&(n.pathname=n.pathname.replace(/\/$/,"")),t.removeExplicitPort&&n.port&&(n.port="");let i=e;return e=n.toString(),!t.removeSingleSlash&&n.pathname==="/"&&!i.endsWith("/")&&n.hash===""&&(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||n.pathname==="/")&&n.hash===""&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}var dj=$t(j0(),1),Oy=$t(FJ(),1),Ej=require("node:stream");function _h(e){return Object.fromEntries(Object.entries(e).map(([t,r])=>[t.toLowerCase(),r]))}var rk=class extends Ej.Readable{statusCode;headers;body;url;constructor({statusCode:e,headers:t,body:r,url:n}){if(typeof e!="number")throw new TypeError("Argument `statusCode` should be a number");if(typeof t!="object")throw new TypeError("Argument `headers` should be an object");if(!(r instanceof Uint8Array))throw new TypeError("Argument `body` should be a buffer");if(typeof n!="string")throw new TypeError("Argument `url` should be a string");super({read(){this.push(r),this.push(null)}}),this.statusCode=e,this.headers=_h(t),this.body=r,this.url=n}},xd=$t(xJ(),1),pj=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];function Cj(e,t){if(t._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");let r=new Set([...Object.keys(e),...pj]),n={};for(let i of r)i in t||(n[i]={get(){let s=e[i];return typeof s=="function"?s.bind(e):s},set(s){e[i]=s},enumerable:!0,configurable:!1});return Object.defineProperties(t,n),e.once("aborted",()=>{t.destroy(),t.emit("aborted")}),e.once("close",()=>{e.complete&&t.readable?t.once("end",()=>{t.emit("close")}):t.emit("close")}),t}var Ij=class extends Error{constructor(e){super(e.message),Object.assign(this,e)}},wl=class extends Error{constructor(e){super(e.message),Object.assign(this,e)}},Bj=class{constructor(e,t){this.hooks=new Map,this.request=()=>(r,n)=>{let i;if(typeof r=="string")i=Py(Ud.default.parse(r)),r={};else if(r instanceof Ud.default.URL)i=Py(Ud.default.parse(r.toString())),r={};else{let[h,...g]=(r.path??"").split("?"),b=g.length>0?`?${g.join("?")}`:"";i=Py({...r,pathname:h,search:b})}r={headers:{},method:"GET",cache:!0,strictTtl:!1,automaticFailover:!1,...r,...mj(i)},r.headers=Object.fromEntries(yj(r.headers).map(([h,g])=>[h.toLowerCase(),g]));let s=new Aj.default,a=gj(Ud.default.format(i),{stripWWW:!1,removeTrailingSlash:!1,stripAuthentication:!1}),c=`${r.method}:${a}`;r.body&&r.method!==void 0&&["POST","PATCH","PUT"].includes(r.method)&&(r.body instanceof tN.default.Readable?r.cache=!1:c+=`:${aj.default.createHash("md5").update(r.body).digest("hex")}`);let l=!1,A=!1,f=h=>{A=!0;let g=!1,b=()=>{},C=new Promise(Q=>{b=()=>{g||(g=!0,Q())}}),p=async Q=>{if(l){Q.status=Q.statusCode;let _=Oy.default.fromObject(l.cachePolicy).revalidatedPolicy(h,Q);if(!_.modified){Q.resume(),await new Promise(S=>{Q.once("end",S)});let d=nk(_.policy.responseHeaders());Q=new rk({statusCode:l.statusCode,headers:d,body:l.body,url:l.url}),Q.cachePolicy=_.policy,Q.fromCache=!0}}Q.fromCache||(Q.cachePolicy=new Oy.default(h,Q,h),Q.fromCache=!1);let R;h.cache&&Q.cachePolicy.storable()?(R=Qj(Q),(async()=>{try{let _=dj.default.buffer(Q);await Promise.race([C,new Promise(T=>Q.once("end",T)),new Promise(T=>Q.once("close",T))]);let d=await _,S={url:Q.url,statusCode:Q.fromCache?l.statusCode:Q.statusCode,body:d,cachePolicy:Q.cachePolicy.toObject()},m=h.strictTtl?Q.cachePolicy.timeToLive():void 0;if(h.maxTtl&&(m=m?Math.min(m,h.maxTtl):h.maxTtl),this.hooks.size>0)for(let T of this.hooks.keys())S=await this.runHook(T,S,Q);await this.cache.set(c,S,m)}catch(_){s.emit("error",new wl(_))}})()):h.cache&&l&&(async()=>{try{await this.cache.delete(c)}catch(_){s.emit("error",new wl(_))}})(),s.emit("response",R??Q),typeof n=="function"&&n(R??Q)};try{let Q=this.cacheRequest(h,p);Q.once("error",b),Q.once("abort",b),Q.once("destroy",b),s.emit("request",Q)}catch(Q){s.emit("error",new Ij(Q))}};return(async()=>{let h=async b=>{await Promise.resolve();let C=b.cache?await this.cache.get(c):void 0;if(C===void 0&&!b.forceRefresh){f(b);return}let p=Oy.default.fromObject(C.cachePolicy);if(p.satisfiesWithoutRevalidation(b)&&!b.forceRefresh){let Q=nk(p.responseHeaders()),R=new rk({statusCode:C.statusCode,headers:Q,body:C.body,url:C.url});R.cachePolicy=p,R.fromCache=!0,s.emit("response",R),typeof n=="function"&&n(R)}else p.satisfiesWithoutRevalidation(b)&&Date.now()>=p.timeToLive()&&b.forceRefresh?(await this.cache.delete(c),b.headers=p.revalidationHeaders(b),f(b)):(l=C,b.headers=p.revalidationHeaders(b),f(b))},g=b=>s.emit("error",new wl(b));if(this.cache instanceof xd.default){let b=this.cache;b.once("error",g),s.on("error",()=>b.removeListener("error",g)),s.on("response",()=>b.removeListener("error",g))}try{await h(r)}catch(b){r.automaticFailover&&!A&&f(r),s.emit("error",new wl(b))}})(),s},this.addHook=(r,n)=>{this.hooks.has(r)||this.hooks.set(r,n)},this.removeHook=r=>this.hooks.delete(r),this.getHook=r=>this.hooks.get(r),this.runHook=async(r,...n)=>this.hooks.get(r)?.(...n),t instanceof xd.default?this.cache=t:typeof t=="string"?this.cache=new xd.default({uri:t,namespace:"cacheable-request"}):this.cache=new xd.default({store:t,namespace:"cacheable-request"}),this.request=this.request.bind(this),this.cacheRequest=e}},yj=Object.entries,Qj=e=>{let t=new tN.PassThrough({autoDestroy:!1});return Cj(e,t),e.pipe(t)},mj=e=>{let t={...e};return t.path=`${e.pathname||"/"}${e.search||""}`,delete t.pathname,delete t.search,t},Py=e=>({protocol:e.protocol,auth:e.auth,hostname:e.hostname||e.host||"localhost",port:e.port,pathname:e.pathname,search:e.search}),nk=e=>{let t=[];for(let r of Object.keys(e))t[r.toLowerCase()]=e[r];return t},rN=Bj,bj=$t(BD(),1),wj=$t(j0(),1),Zo=e=>typeof e=="function",vj=e=>Zo(e[Symbol.asyncIterator]);async function*Sj(e){let t=e.getReader();for(;;){let{done:r,value:n}=await t.read();if(r)break;yield n}}var Rj=e=>{if(vj(e))return e;if(Zo(e.getReader))return Sj(e);throw new TypeError("Unsupported data source: Expected either ReadableStream or async iterable.")},ik="abcdefghijklmnopqrstuvwxyz0123456789";function _j(){let e=16,t="";for(;e--;)t+=ik[Math.random()*ik.length<<0];return t}var sk=e=>String(e).replace(/\r|\n/g,(t,r,n)=>t==="\r"&&n[r+1]!==` `||t===` `&&n[r-1]!=="\r"?`\r -`:t),_j=e=>Object.prototype.toString.call(e).slice(8,-1).toLowerCase();function ok(e){if(_j(e)!=="object")return!1;let t=Object.getPrototypeOf(e);return t==null?!0:(t.constructor&&t.constructor.toString())===Object.toString()}function Ak(e,t){if(typeof t=="string"){for(let[r,n]of Object.entries(e))if(t.toLowerCase()===r.toLowerCase())return n}}var kj=e=>new Proxy(e,{get:(t,r)=>Ak(t,r),has:(t,r)=>Ak(t,r)!==void 0}),qh=e=>!!(e&&Zo(e.constructor)&&e[Symbol.toStringTag]==="FormData"&&Zo(e.append)&&Zo(e.getAll)&&Zo(e.entries)&&Zo(e[Symbol.iterator])),ak=e=>String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22"),Fa=e=>!!(e&&typeof e=="object"&&Zo(e.constructor)&&e[Symbol.toStringTag]==="File"&&Zo(e.stream)&&e.name!=null),hh=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},Qr=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},fh,OA,gh,Md,dh,Ua,Eh,ph,Od,qy,ck,Dj={enableAdditionalHeaders:!1},Pd={writable:!1,configurable:!1},rN=class{constructor(e,t,r){if(fh.add(this),OA.set(this,`\r -`),gh.set(this,void 0),Md.set(this,void 0),dh.set(this,"-".repeat(2)),Ua.set(this,new TextEncoder),Eh.set(this,void 0),ph.set(this,void 0),Od.set(this,void 0),!qh(e))throw new TypeError("Expected first argument to be a FormData instance.");let n;if(ok(t)?r=t:n=t,n||(n=Rj()),typeof n!="string")throw new TypeError("Expected boundary argument to be a string.");if(r&&!ok(r))throw new TypeError("Expected options argument to be an object.");hh(this,ph,Array.from(e.entries()),"f"),hh(this,Od,{...Dj,...r},"f"),hh(this,gh,Qr(this,Ua,"f").encode(Qr(this,OA,"f")),"f"),hh(this,Md,Qr(this,gh,"f").byteLength,"f"),this.boundary=`form-data-boundary-${n}`,this.contentType=`multipart/form-data; boundary=${this.boundary}`,hh(this,Eh,Qr(this,Ua,"f").encode(`${Qr(this,dh,"f")}${this.boundary}${Qr(this,dh,"f")}${Qr(this,OA,"f").repeat(2)}`),"f");let i={"Content-Type":this.contentType},s=Qr(this,fh,"m",ck).call(this);s&&(this.contentLength=s,i["Content-Length"]=s),this.headers=kj(Object.freeze(i)),Object.defineProperties(this,{boundary:Pd,contentType:Pd,contentLength:Pd,headers:Pd})}getContentLength(){return this.contentLength==null?void 0:Number(this.contentLength)}*values(){for(let[e,t]of Qr(this,ph,"f")){let r=Fa(t)?t:Qr(this,Ua,"f").encode(sk(t));yield Qr(this,fh,"m",qy).call(this,e,r),yield r,yield Qr(this,gh,"f")}yield Qr(this,Eh,"f")}async*encode(){for(let e of this.values())Fa(e)?yield*Sj(e.stream()):yield e}[(OA=new WeakMap,gh=new WeakMap,Md=new WeakMap,dh=new WeakMap,Ua=new WeakMap,Eh=new WeakMap,ph=new WeakMap,Od=new WeakMap,fh=new WeakSet,qy=function(e,t){let r="";r+=`${Qr(this,dh,"f")}${this.boundary}${Qr(this,OA,"f")}`,r+=`Content-Disposition: form-data; name="${ak(e)}"`,Fa(t)&&(r+=`; filename="${ak(t.name)}"${Qr(this,OA,"f")}`,r+=`Content-Type: ${t.type||"application/octet-stream"}`);let n=Fa(t)?t.size:t.byteLength;return Qr(this,Od,"f").enableAdditionalHeaders===!0&&n!=null&&!isNaN(n)&&(r+=`${Qr(this,OA,"f")}Content-Length: ${Fa(t)?t.size:t.byteLength}`),Qr(this,Ua,"f").encode(`${r}${Qr(this,OA,"f").repeat(2)}`)},ck=function(){let e=0;for(let[t,r]of Qr(this,ph,"f")){let n=Fa(r)?r:Qr(this,Ua,"f").encode(sk(r)),i=Fa(n)?n.size:n.byteLength;if(i==null||isNaN(i))return;e+=Qr(this,fh,"m",qy).call(this,t,n).byteLength,e+=i,e+=Qr(this,Md,"f")}return String(e+Qr(this,Eh,"f").byteLength)},Symbol.iterator)](){return this.values()}[Symbol.asyncIterator](){return this.encode()}},Nj=require("node:buffer"),Tj=require("node:util");function nN(e){return W.nodeStream(e)&&W.function_(e.getBoundary)}async function Lj(e,t){if(t&&"content-length"in t)return Number(t["content-length"]);if(!e)return 0;if(W.string(e))return Nj.Buffer.byteLength(e);if(W.buffer(e))return e.length;if(nN(e))return(0,Tj.promisify)(e.getLength.bind(e))()}function iN(e,t,r){let n={};for(let i of r){let s=(...a)=>{t.emit(i,...a)};n[i]=s,e.on(i,s)}return()=>{for(let[i,s]of Object.entries(n))e.off(i,s)}}var Fj=$t(require("node:net"),1);function Uj(){let e=[];return{once(t,r,n){t.once(r,n),e.push({origin:t,event:r,fn:n})},unhandleAll(){for(let t of e){let{origin:r,event:n,fn:i}=t;r.removeListener(n,i)}e.length=0}}}var lk=Symbol("reentry"),xj=()=>{},sN=class extends Error{constructor(e,t){super(`Timeout awaiting '${t}' for ${e}ms`),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.code="ETIMEDOUT"}};function Mj(e,t,r){if(lk in e)return xj;e[lk]=!0;let n=[],{once:i,unhandleAll:s}=Uj(),a=(p,Q,R)=>{let _=setTimeout(Q,p,p,R);_.unref?.();let d=()=>{clearTimeout(_)};return n.push(d),d},{host:c,hostname:l}=r,A=(p,Q)=>{e.destroy(new sN(p,Q))},f=()=>{for(let p of n)p();s()};if(e.once("error",p=>{if(f(),e.listenerCount("error")===0)throw p}),t.request!==void 0){let p=a(t.request,A,"request");i(e,"response",Q=>{i(Q,"end",p)})}if(t.socket!==void 0){let{socket:p}=t,Q=()=>{A(p,"socket")};e.setTimeout(p,Q),n.push(()=>{e.removeListener("timeout",Q)})}let h=t.lookup!==void 0,g=t.connect!==void 0,b=t.secureConnect!==void 0,C=t.send!==void 0;return(h||g||b||C)&&i(e,"socket",p=>{let{socketPath:Q}=e;if(p.connecting){let R=!!(Q??Fj.default.isIP(l??c??"")!==0);if(h&&!R&&p.address().address===void 0){let _=a(t.lookup,A,"lookup");i(p,"lookup",_)}if(g){let _=()=>a(t.connect,A,"connect");R?i(p,"connect",_()):i(p,"lookup",d=>{d===null&&i(p,"connect",_())})}b&&r.protocol==="https:"&&i(p,"connect",()=>{let _=a(t.secureConnect,A,"secureConnect");i(p,"secureConnect",_)})}if(C){let R=()=>a(t.send,A,"send");p.connecting?i(p,"connect",()=>{i(e,"upload-complete",R())}):i(e,"upload-complete",R())}}),t.response!==void 0&&i(e,"upload-complete",()=>{let p=a(t.response,A,"response");i(e,"response",p)}),t.read!==void 0&&i(e,"response",p=>{let Q=a(t.read,A,"read");i(p,"end",Q)}),f}function Oj(e){e=e;let t={protocol:e.protocol,hostname:W.string(e.hostname)&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};return W.string(e.port)&&e.port.length>0&&(t.port=Number(e.port)),(e.username||e.password)&&(t.auth=`${e.username||""}:${e.password||""}`),t}var Pj=class{constructor(){Object.defineProperty(this,"weakMap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"map",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.weakMap=new WeakMap,this.map=new Map}set(e,t){typeof e=="object"?this.weakMap.set(e,t):this.map.set(e,t)}get(e){return typeof e=="object"?this.weakMap.get(e):this.map.get(e)}has(e){return typeof e=="object"?this.weakMap.has(e):this.map.has(e)}},qj=({attemptCount:e,retryOptions:t,error:r,retryAfter:n,computedValue:i})=>{if(r.name==="RetryError")return 1;if(e>t.limit)return 0;let s=t.methods.includes(r.options.method),a=t.errorCodes.includes(r.code),c=r.response&&t.statusCodes.includes(r.response.statusCode);if(!s||!a&&!c)return 0;if(r.response){if(n)return n>i?0:n;if(r.response.statusCode===413)return 0}let l=Math.random()*t.noise;return Math.min(2**(e-1)*1e3,t.backoffLimit)+l},Vj=qj,Hj=$t(require("node:process"),1),Vy=require("node:util"),Gj=require("node:tls"),Yj=$t(require("node:http"),1),Jj=$t(require("node:https"),1),vl=require("node:dns"),Hy=require("node:util"),Wj=$t(require("node:os"),1),{Resolver:uk}=vl.promises,Ql=Symbol("cacheableLookupCreateConnection"),Gy=Symbol("cacheableLookupInstance"),hk=Symbol("expires"),jj=typeof vl.ALL=="number",fk=e=>{if(!(e&&typeof e.createConnection=="function"))throw new Error("Expected an Agent instance as the first argument")},zj=e=>{for(let t of e)t.family!==6&&(t.address=`::ffff:${t.address}`,t.family=6)},gk=()=>{let e=!1,t=!1;for(let r of Object.values(Wj.default.networkInterfaces()))for(let n of r)if(!n.internal&&(n.family==="IPv6"?t=!0:e=!0,e&&t))return{has4:e,has6:t};return{has4:e,has6:t}},Kj=e=>Symbol.iterator in e,qd=e=>e.catch(t=>{if(t.code==="ENODATA"||t.code==="ENOTFOUND"||t.code==="ENOENT")return[];throw t}),dk={ttl:!0},Xj={all:!0},$j={all:!0,family:4},Zj={all:!0,family:6},oN=class{constructor({cache:e=new Map,maxTtl:t=1/0,fallbackDuration:r=3600,errorTtl:n=.15,resolver:i=new uk,lookup:s=vl.lookup}={}){if(this.maxTtl=t,this.errorTtl=n,this._cache=e,this._resolver=i,this._dnsLookup=s&&(0,Hy.promisify)(s),this.stats={cache:0,query:0},this._resolver instanceof uk?(this._resolve4=this._resolver.resolve4.bind(this._resolver),this._resolve6=this._resolver.resolve6.bind(this._resolver)):(this._resolve4=(0,Hy.promisify)(this._resolver.resolve4.bind(this._resolver)),this._resolve6=(0,Hy.promisify)(this._resolver.resolve6.bind(this._resolver))),this._iface=gk(),this._pending={},this._nextRemovalTime=!1,this._hostnamesToFallback=new Set,this.fallbackDuration=r,r>0){let a=setInterval(()=>{this._hostnamesToFallback.clear()},r*1e3);a.unref&&a.unref(),this._fallbackInterval=a}this.lookup=this.lookup.bind(this),this.lookupAsync=this.lookupAsync.bind(this)}set servers(e){this.clear(),this._resolver.setServers(e)}get servers(){return this._resolver.getServers()}lookup(e,t,r){if(typeof t=="function"?(r=t,t={}):typeof t=="number"&&(t={family:t}),!r)throw new Error("Callback must be a function.");this.lookupAsync(e,t).then(n=>{t.all?r(null,n):r(null,n.address,n.family,n.expires,n.ttl,n.source)},r)}async lookupAsync(e,t={}){typeof t=="number"&&(t={family:t});let r=await this.query(e);if(t.family===6){let n=r.filter(i=>i.family===6);t.hints&vl.V4MAPPED&&(jj&&t.hints&vl.ALL||n.length===0)?zj(r):r=n}else t.family===4&&(r=r.filter(n=>n.family===4));if(t.hints&vl.ADDRCONFIG){let{_iface:n}=this;r=r.filter(i=>i.family===6?n.has6:n.has4)}if(r.length===0){let n=new Error(`cacheableLookup ENOTFOUND ${e}`);throw n.code="ENOTFOUND",n.hostname=e,n}return t.all?r:r[0]}async query(e){let t="cache",r=await this._cache.get(e);if(r&&this.stats.cache++,!r){let n=this._pending[e];if(n)this.stats.cache++,r=await n;else{t="query";let i=this.queryAndCache(e);this._pending[e]=i,this.stats.query++;try{r=await i}finally{delete this._pending[e]}}}return r=r.map(n=>({...n,source:t})),r}async _resolve(e){let[t,r]=await Promise.all([qd(this._resolve4(e,dk)),qd(this._resolve6(e,dk))]),n=0,i=0,s=0,a=Date.now();for(let c of t)c.family=4,c.expires=a+c.ttl*1e3,n=Math.max(n,c.ttl);for(let c of r)c.family=6,c.expires=a+c.ttl*1e3,i=Math.max(i,c.ttl);return t.length>0?r.length>0?s=Math.min(n,i):s=n:s=i,{entries:[...t,...r],cacheTtl:s}}async _lookup(e){try{let[t,r]=await Promise.all([qd(this._dnsLookup(e,$j)),qd(this._dnsLookup(e,Zj))]);return{entries:[...t,...r],cacheTtl:0}}catch{return{entries:[],cacheTtl:0}}}async _set(e,t,r){if(this.maxTtl>0&&r>0){r=Math.min(r,this.maxTtl)*1e3,t[hk]=Date.now()+r;try{await this._cache.set(e,t,r)}catch(n){this.lookupAsync=async()=>{let i=new Error("Cache Error. Please recreate the CacheableLookup instance.");throw i.cause=n,i}}Kj(this._cache)&&this._tick(r)}}async queryAndCache(e){if(this._hostnamesToFallback.has(e))return this._dnsLookup(e,Xj);let t=await this._resolve(e);t.entries.length===0&&this._dnsLookup&&(t=await this._lookup(e),t.entries.length!==0&&this.fallbackDuration>0&&this._hostnamesToFallback.add(e));let r=t.entries.length===0?this.errorTtl:t.cacheTtl;return await this._set(e,t.entries,r),t.entries}_tick(e){let t=this._nextRemovalTime;(!t||e{this._nextRemovalTime=!1;let r=1/0,n=Date.now();for(let[i,s]of this._cache){let a=s[hk];n>=a?this._cache.delete(i):a("lookup"in t||(t.lookup=this.lookup),e[Ql](t,r))}uninstall(e){if(fk(e),e[Ql]){if(e[Gy]!==this)throw new Error("The agent is not owned by this CacheableLookup instance");e.createConnection=e[Ql],delete e[Ql],delete e[Gy]}}updateInterfaceInfo(){let{_iface:e}=this;this._iface=gk(),(e.has4&&!this._iface.has4||e.has6&&!this._iface.has6)&&this._cache.clear()}clear(e){if(e){this._cache.delete(e);return}this._cache.clear()}},e7=$t(DD(),1);function t7(e){let t=[],r=e.split(",");for(let n of r){let[i,...s]=n.split(";"),a=i.trim();if(a[0]!=="<"||a[a.length-1]!==">")throw new Error(`Invalid format of the Link header reference: ${a}`);let c=a.slice(1,-1),l={};if(s.length===0)throw new Error(`Unexpected end of Link header parameters: ${s.join(";")}`);for(let A of s){let f=A.trim(),h=f.indexOf("=");if(h===-1)throw new Error(`Failed to parse Link header: ${e}`);let g=f.slice(0,h).trim(),b=f.slice(h+1).trim();l[g]=b}t.push({reference:c,parameters:l})}return t}var[Ek,r7]=Hj.default.versions.node.split(".").map(Number);function n7(e){for(let t in e){let r=e[t];ae.any([W.string,W.number,W.boolean,W.null_,W.undefined],r)}}var i7=new Map,Yy,s7=()=>Yy||(Yy=new oN,Yy),o7={request:void 0,agent:{http:void 0,https:void 0,http2:void 0},h2session:void 0,decompress:!0,timeout:{connect:void 0,lookup:void 0,read:void 0,request:void 0,response:void 0,secureConnect:void 0,send:void 0,socket:void 0},prefixUrl:"",body:void 0,form:void 0,json:void 0,cookieJar:void 0,ignoreInvalidCookies:!1,searchParams:void 0,dnsLookup:void 0,dnsCache:void 0,context:{},hooks:{init:[],beforeRequest:[],beforeError:[],beforeRedirect:[],beforeRetry:[],afterResponse:[]},followRedirect:!0,maxRedirects:10,cache:void 0,throwHttpErrors:!0,username:"",password:"",http2:!1,allowGetBody:!1,headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},methodRewriting:!1,dnsLookupIpVersion:void 0,parseJson:JSON.parse,stringifyJson:JSON.stringify,retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:e})=>e,backoffLimit:Number.POSITIVE_INFINITY,noise:100},localAddress:void 0,method:"GET",createConnection:void 0,cacheOptions:{shared:void 0,cacheHeuristic:void 0,immutableMinTimeToLive:void 0,ignoreCargoCult:void 0},https:{alpnProtocols:void 0,rejectUnauthorized:void 0,checkServerIdentity:void 0,certificateAuthority:void 0,key:void 0,certificate:void 0,passphrase:void 0,pfx:void 0,ciphers:void 0,honorCipherOrder:void 0,minVersion:void 0,maxVersion:void 0,signatureAlgorithms:void 0,tlsSessionLifetime:void 0,dhparam:void 0,ecdhCurve:void 0,certificateRevocationLists:void 0},encoding:void 0,resolveBodyOnly:!1,isStream:!1,responseType:"text",url:void 0,pagination:{transform(e){return e.request.options.responseType==="json"?e.body:JSON.parse(e.body)},paginate({response:e}){let t=e.headers.link;if(typeof t!="string"||t.trim()==="")return!1;let r=t7(t).find(n=>n.parameters.rel==="next"||n.parameters.rel==='"next"');return r?{url:new URL(r.reference,e.url)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:Number.POSITIVE_INFINITY,backoff:0,requestLimit:1e4,stackAllItems:!1},setHost:!0,maxHeaderSize:void 0,signal:void 0,enableUnixSockets:!1},A7=e=>{let{hooks:t,retry:r}=e,n={...e,context:{...e.context},cacheOptions:{...e.cacheOptions},https:{...e.https},agent:{...e.agent},headers:{...e.headers},retry:{...r,errorCodes:[...r.errorCodes],methods:[...r.methods],statusCodes:[...r.statusCodes]},timeout:{...e.timeout},hooks:{init:[...t.init],beforeRequest:[...t.beforeRequest],beforeError:[...t.beforeError],beforeRedirect:[...t.beforeRedirect],beforeRetry:[...t.beforeRetry],afterResponse:[...t.afterResponse]},searchParams:e.searchParams?new URLSearchParams(e.searchParams):void 0,pagination:{...e.pagination}};return n.url!==void 0&&(n.prefixUrl=""),n},a7=e=>{let{hooks:t,retry:r}=e,n={...e};return W.object(e.context)&&(n.context={...e.context}),W.object(e.cacheOptions)&&(n.cacheOptions={...e.cacheOptions}),W.object(e.https)&&(n.https={...e.https}),W.object(e.cacheOptions)&&(n.cacheOptions={...n.cacheOptions}),W.object(e.agent)&&(n.agent={...e.agent}),W.object(e.headers)&&(n.headers={...e.headers}),W.object(r)&&(n.retry={...r},W.array(r.errorCodes)&&(n.retry.errorCodes=[...r.errorCodes]),W.array(r.methods)&&(n.retry.methods=[...r.methods]),W.array(r.statusCodes)&&(n.retry.statusCodes=[...r.statusCodes])),W.object(e.timeout)&&(n.timeout={...e.timeout}),W.object(t)&&(n.hooks={...t},W.array(t.init)&&(n.hooks.init=[...t.init]),W.array(t.beforeRequest)&&(n.hooks.beforeRequest=[...t.beforeRequest]),W.array(t.beforeError)&&(n.hooks.beforeError=[...t.beforeError]),W.array(t.beforeRedirect)&&(n.hooks.beforeRedirect=[...t.beforeRedirect]),W.array(t.beforeRetry)&&(n.hooks.beforeRetry=[...t.beforeRetry]),W.array(t.afterResponse)&&(n.hooks.afterResponse=[...t.afterResponse])),W.object(e.pagination)&&(n.pagination={...e.pagination}),n},c7=e=>{let t=[e.timeout.socket,e.timeout.connect,e.timeout.lookup,e.timeout.request,e.timeout.secureConnect].filter(r=>typeof r=="number");if(t.length>0)return Math.min(...t)},pk=(e,t,r)=>{let n=e.hooks?.init;if(n)for(let i of n)i(t,r)},kl=class iE{constructor(t,r,n){if(Object.defineProperty(this,"_unixOptions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_internals",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_merging",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_init",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),ae.any([W.string,W.urlInstance,W.object,W.undefined],t),ae.any([W.object,W.undefined],r),ae.any([W.object,W.undefined],n),t instanceof iE||r instanceof iE)throw new TypeError("The defaults must be passed as the third argument");this._internals=A7(n?._internals??n??o7),this._init=[...n?._init??[]],this._merging=!1,this._unixOptions=void 0;try{if(W.plainObject(t))try{this.merge(t),this.merge(r)}finally{this.url=t.url}else try{this.merge(r)}finally{if(r?.url!==void 0)if(t===void 0)this.url=r.url;else throw new TypeError("The `url` option is mutually exclusive with the `input` argument");else t!==void 0&&(this.url=t)}}catch(i){throw i.options=this,i}}merge(t){if(t){if(t instanceof iE){for(let r of t._init)this.merge(r);return}t=a7(t),pk(this,t,this),pk(t,t,this),this._merging=!0,"isStream"in t&&(this.isStream=t.isStream);try{let r=!1;for(let n in t){if(n==="mutableDefaults"||n==="handlers"||n==="url")continue;if(!(n in this))throw new Error(`Unexpected option: ${n}`);let i=t[n];i!==void 0&&(this[n]=i,r=!0)}r&&this._init.push(t)}finally{this._merging=!1}}}get request(){return this._internals.request}set request(t){ae.any([W.function_,W.undefined],t),this._internals.request=t}get agent(){return this._internals.agent}set agent(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.agent))throw new TypeError(`Unexpected agent option: ${r}`);ae.any([W.object,W.undefined],t[r])}this._merging?Object.assign(this._internals.agent,t):this._internals.agent={...t}}get h2session(){return this._internals.h2session}set h2session(t){this._internals.h2session=t}get decompress(){return this._internals.decompress}set decompress(t){ae.boolean(t),this._internals.decompress=t}get timeout(){return this._internals.timeout}set timeout(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.timeout))throw new Error(`Unexpected timeout option: ${r}`);ae.any([W.number,W.undefined],t[r])}this._merging?Object.assign(this._internals.timeout,t):this._internals.timeout={...t}}get prefixUrl(){return this._internals.prefixUrl}set prefixUrl(t){if(ae.any([W.string,W.urlInstance],t),t===""){this._internals.prefixUrl="";return}if(t=t.toString(),t.endsWith("/")||(t+="/"),this._internals.prefixUrl&&this._internals.url){let{href:r}=this._internals.url;this._internals.url.href=t+r.slice(this._internals.prefixUrl.length)}this._internals.prefixUrl=t}get body(){return this._internals.body}set body(t){ae.any([W.string,W.buffer,W.nodeStream,W.generator,W.asyncGenerator,qh,W.undefined],t),W.nodeStream(t)&&ae.truthy(t.readable),t!==void 0&&(ae.undefined(this._internals.form),ae.undefined(this._internals.json)),this._internals.body=t}get form(){return this._internals.form}set form(t){ae.any([W.plainObject,W.undefined],t),t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.json)),this._internals.form=t}get json(){return this._internals.json}set json(t){t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.form)),this._internals.json=t}get url(){return this._internals.url}set url(t){if(ae.any([W.string,W.urlInstance,W.undefined],t),t===void 0){this._internals.url=void 0;return}if(W.string(t)&&t.startsWith("/"))throw new Error("`url` must not start with a slash");let r=`${this.prefixUrl}${t.toString()}`,n=new URL(r);if(this._internals.url=n,n.protocol==="unix:"&&(n.href=`http://unix${n.pathname}${n.search}`),n.protocol!=="http:"&&n.protocol!=="https:"){let i=new Error(`Unsupported protocol: ${n.protocol}`);throw i.code="ERR_UNSUPPORTED_PROTOCOL",i}if(this._internals.username&&(n.username=this._internals.username,this._internals.username=""),this._internals.password&&(n.password=this._internals.password,this._internals.password=""),this._internals.searchParams&&(n.search=this._internals.searchParams.toString(),this._internals.searchParams=void 0),n.hostname==="unix"){if(!this._internals.enableUnixSockets)throw new Error("Using UNIX domain sockets but option `enableUnixSockets` is not enabled");let i=/(?.+?):(?.+)/.exec(`${n.pathname}${n.search}`);if(i?.groups){let{socketPath:s,path:a}=i.groups;this._unixOptions={socketPath:s,path:a,host:""}}else this._unixOptions=void 0;return}this._unixOptions=void 0}get cookieJar(){return this._internals.cookieJar}set cookieJar(t){if(ae.any([W.object,W.undefined],t),t===void 0){this._internals.cookieJar=void 0;return}let{setCookie:r,getCookieString:n}=t;ae.function_(r),ae.function_(n),r.length===4&&n.length===0?(r=(0,Vy.promisify)(r.bind(t)),n=(0,Vy.promisify)(n.bind(t)),this._internals.cookieJar={setCookie:r,getCookieString:n}):this._internals.cookieJar=t}get signal(){return this._internals.signal}set signal(t){ae.object(t),this._internals.signal=t}get ignoreInvalidCookies(){return this._internals.ignoreInvalidCookies}set ignoreInvalidCookies(t){ae.boolean(t),this._internals.ignoreInvalidCookies=t}get searchParams(){return this._internals.url?this._internals.url.searchParams:(this._internals.searchParams===void 0&&(this._internals.searchParams=new URLSearchParams),this._internals.searchParams)}set searchParams(t){ae.any([W.string,W.object,W.undefined],t);let r=this._internals.url;if(t===void 0){this._internals.searchParams=void 0,r&&(r.search="");return}let n=this.searchParams,i;if(W.string(t))i=new URLSearchParams(t);else if(t instanceof URLSearchParams)i=t;else{n7(t),i=new URLSearchParams;for(let s in t){let a=t[s];a===null?i.append(s,""):a===void 0?n.delete(s):i.append(s,a)}}if(this._merging){for(let s of i.keys())n.delete(s);for(let[s,a]of i)n.append(s,a)}else r?r.search=n.toString():this._internals.searchParams=n}get searchParameters(){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}set searchParameters(t){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}get dnsLookup(){return this._internals.dnsLookup}set dnsLookup(t){ae.any([W.function_,W.undefined],t),this._internals.dnsLookup=t}get dnsCache(){return this._internals.dnsCache}set dnsCache(t){ae.any([W.object,W.boolean,W.undefined],t),t===!0?this._internals.dnsCache=s7():t===!1?this._internals.dnsCache=void 0:this._internals.dnsCache=t}get context(){return this._internals.context}set context(t){ae.object(t),this._merging?Object.assign(this._internals.context,t):this._internals.context={...t}}get hooks(){return this._internals.hooks}set hooks(t){ae.object(t);for(let r in t){if(!(r in this._internals.hooks))throw new Error(`Unexpected hook event: ${r}`);let n=r,i=t[n];if(ae.any([W.array,W.undefined],i),i)for(let s of i)ae.function_(s);if(this._merging)i&&this._internals.hooks[n].push(...i);else{if(!i)throw new Error(`Missing hook event: ${r}`);this._internals.hooks[r]=[...i]}}}get followRedirect(){return this._internals.followRedirect}set followRedirect(t){ae.boolean(t),this._internals.followRedirect=t}get followRedirects(){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}set followRedirects(t){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}get maxRedirects(){return this._internals.maxRedirects}set maxRedirects(t){ae.number(t),this._internals.maxRedirects=t}get cache(){return this._internals.cache}set cache(t){ae.any([W.object,W.string,W.boolean,W.undefined],t),t===!0?this._internals.cache=i7:t===!1?this._internals.cache=void 0:this._internals.cache=t}get throwHttpErrors(){return this._internals.throwHttpErrors}set throwHttpErrors(t){ae.boolean(t),this._internals.throwHttpErrors=t}get username(){let t=this._internals.url,r=t?t.username:this._internals.username;return decodeURIComponent(r)}set username(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.username=n:this._internals.username=n}get password(){let t=this._internals.url,r=t?t.password:this._internals.password;return decodeURIComponent(r)}set password(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.password=n:this._internals.password=n}get http2(){return this._internals.http2}set http2(t){ae.boolean(t),this._internals.http2=t}get allowGetBody(){return this._internals.allowGetBody}set allowGetBody(t){ae.boolean(t),this._internals.allowGetBody=t}get headers(){return this._internals.headers}set headers(t){ae.plainObject(t),this._merging?Object.assign(this._internals.headers,_h(t)):this._internals.headers=_h(t)}get methodRewriting(){return this._internals.methodRewriting}set methodRewriting(t){ae.boolean(t),this._internals.methodRewriting=t}get dnsLookupIpVersion(){return this._internals.dnsLookupIpVersion}set dnsLookupIpVersion(t){if(t!==void 0&&t!==4&&t!==6)throw new TypeError(`Invalid DNS lookup IP version: ${t}`);this._internals.dnsLookupIpVersion=t}get parseJson(){return this._internals.parseJson}set parseJson(t){ae.function_(t),this._internals.parseJson=t}get stringifyJson(){return this._internals.stringifyJson}set stringifyJson(t){ae.function_(t),this._internals.stringifyJson=t}get retry(){return this._internals.retry}set retry(t){if(ae.plainObject(t),ae.any([W.function_,W.undefined],t.calculateDelay),ae.any([W.number,W.undefined],t.maxRetryAfter),ae.any([W.number,W.undefined],t.limit),ae.any([W.array,W.undefined],t.methods),ae.any([W.array,W.undefined],t.statusCodes),ae.any([W.array,W.undefined],t.errorCodes),ae.any([W.number,W.undefined],t.noise),t.noise&&Math.abs(t.noise)>100)throw new Error(`The maximum acceptable retry noise is +/- 100ms, got ${t.noise}`);for(let n in t)if(!(n in this._internals.retry))throw new Error(`Unexpected retry option: ${n}`);this._merging?Object.assign(this._internals.retry,t):this._internals.retry={...t};let{retry:r}=this._internals;r.methods=[...new Set(r.methods.map(n=>n.toUpperCase()))],r.statusCodes=[...new Set(r.statusCodes)],r.errorCodes=[...new Set(r.errorCodes)]}get localAddress(){return this._internals.localAddress}set localAddress(t){ae.any([W.string,W.undefined],t),this._internals.localAddress=t}get method(){return this._internals.method}set method(t){ae.string(t),this._internals.method=t.toUpperCase()}get createConnection(){return this._internals.createConnection}set createConnection(t){ae.any([W.function_,W.undefined],t),this._internals.createConnection=t}get cacheOptions(){return this._internals.cacheOptions}set cacheOptions(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.shared),ae.any([W.number,W.undefined],t.cacheHeuristic),ae.any([W.number,W.undefined],t.immutableMinTimeToLive),ae.any([W.boolean,W.undefined],t.ignoreCargoCult);for(let r in t)if(!(r in this._internals.cacheOptions))throw new Error(`Cache option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.cacheOptions,t):this._internals.cacheOptions={...t}}get https(){return this._internals.https}set https(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.rejectUnauthorized),ae.any([W.function_,W.undefined],t.checkServerIdentity),ae.any([W.string,W.object,W.array,W.undefined],t.certificateAuthority),ae.any([W.string,W.object,W.array,W.undefined],t.key),ae.any([W.string,W.object,W.array,W.undefined],t.certificate),ae.any([W.string,W.undefined],t.passphrase),ae.any([W.string,W.buffer,W.array,W.undefined],t.pfx),ae.any([W.array,W.undefined],t.alpnProtocols),ae.any([W.string,W.undefined],t.ciphers),ae.any([W.string,W.buffer,W.undefined],t.dhparam),ae.any([W.string,W.undefined],t.signatureAlgorithms),ae.any([W.string,W.undefined],t.minVersion),ae.any([W.string,W.undefined],t.maxVersion),ae.any([W.boolean,W.undefined],t.honorCipherOrder),ae.any([W.number,W.undefined],t.tlsSessionLifetime),ae.any([W.string,W.undefined],t.ecdhCurve),ae.any([W.string,W.buffer,W.array,W.undefined],t.certificateRevocationLists);for(let r in t)if(!(r in this._internals.https))throw new Error(`HTTPS option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.https,t):this._internals.https={...t}}get encoding(){return this._internals.encoding}set encoding(t){if(t===null)throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead");ae.any([W.string,W.undefined],t),this._internals.encoding=t}get resolveBodyOnly(){return this._internals.resolveBodyOnly}set resolveBodyOnly(t){ae.boolean(t),this._internals.resolveBodyOnly=t}get isStream(){return this._internals.isStream}set isStream(t){ae.boolean(t),this._internals.isStream=t}get responseType(){return this._internals.responseType}set responseType(t){if(t===void 0){this._internals.responseType="text";return}if(t!=="text"&&t!=="buffer"&&t!=="json")throw new Error(`Invalid \`responseType\` option: ${t}`);this._internals.responseType=t}get pagination(){return this._internals.pagination}set pagination(t){ae.object(t),this._merging?Object.assign(this._internals.pagination,t):this._internals.pagination=t}get auth(){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}set auth(t){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}get setHost(){return this._internals.setHost}set setHost(t){ae.boolean(t),this._internals.setHost=t}get maxHeaderSize(){return this._internals.maxHeaderSize}set maxHeaderSize(t){ae.any([W.number,W.undefined],t),this._internals.maxHeaderSize=t}get enableUnixSockets(){return this._internals.enableUnixSockets}set enableUnixSockets(t){ae.boolean(t),this._internals.enableUnixSockets=t}toJSON(){return{...this._internals}}[Symbol.for("nodejs.util.inspect.custom")](t,r){return(0,Vy.inspect)(this._internals,r)}createNativeRequestOptions(){let t=this._internals,r=t.url,n;r.protocol==="https:"?n=t.http2?t.agent:t.agent.https:n=t.agent.http;let{https:i}=t,{pfx:s}=i;return W.array(s)&&W.plainObject(s[0])&&(s=s.map(a=>({buf:a.buffer,passphrase:a.passphrase}))),{...t.cacheOptions,...this._unixOptions,ALPNProtocols:i.alpnProtocols,ca:i.certificateAuthority,cert:i.certificate,key:i.key,passphrase:i.passphrase,pfx:i.pfx,rejectUnauthorized:i.rejectUnauthorized,checkServerIdentity:i.checkServerIdentity??Gj.checkServerIdentity,ciphers:i.ciphers,honorCipherOrder:i.honorCipherOrder,minVersion:i.minVersion,maxVersion:i.maxVersion,sigalgs:i.signatureAlgorithms,sessionTimeout:i.tlsSessionLifetime,dhparam:i.dhparam,ecdhCurve:i.ecdhCurve,crl:i.certificateRevocationLists,lookup:t.dnsLookup??t.dnsCache?.lookup,family:t.dnsLookupIpVersion,agent:n,setHost:t.setHost,method:t.method,maxHeaderSize:t.maxHeaderSize,localAddress:t.localAddress,headers:t.headers,createConnection:t.createConnection,timeout:t.http2?c7(t):void 0,h2session:t.h2session}}getRequestFunction(){let t=this._internals.url,{request:r}=this._internals;return!r&&t?this.getFallbackRequestFunction():r}getFallbackRequestFunction(){let t=this._internals.url;if(t){if(t.protocol==="https:"){if(this._internals.http2){if(Ek<15||Ek===15&&r7<10){let r=new Error("To use the `http2` option, install Node.js 15.10.0 or above");throw r.code="EUNSUPPORTED",r}return e7.default.auto}return Jj.default.request}return Yj.default.request}}freeze(){let t=this._internals;Object.freeze(t),Object.freeze(t.hooks),Object.freeze(t.hooks.afterResponse),Object.freeze(t.hooks.beforeError),Object.freeze(t.hooks.beforeRedirect),Object.freeze(t.hooks.beforeRequest),Object.freeze(t.hooks.beforeRetry),Object.freeze(t.hooks.init),Object.freeze(t.https),Object.freeze(t.cacheOptions),Object.freeze(t.agent),Object.freeze(t.headers),Object.freeze(t.timeout),Object.freeze(t.retry),Object.freeze(t.retry.errorCodes),Object.freeze(t.retry.methods),Object.freeze(t.retry.statusCodes)}},EE=e=>{let{statusCode:t}=e,r=e.request.options.followRedirect?299:399;return t>=200&&t<=r||t===304},Ck=class extends nn{constructor(e,t){let{options:r}=t.request;super(`${e.message} in "${r.url.toString()}"`,e,t.request),this.name="ParseError",this.code="ERR_BODY_PARSE_FAILURE"}},Ik=(e,t,r,n)=>{let{rawBody:i}=e;try{if(t==="text")return i.toString(n);if(t==="json")return i.length===0?"":r(i.toString(n));if(t==="buffer")return i}catch(s){throw new Ck(s,e)}throw new Ck({message:`Unknown body type '${t}'`,name:"Error"},e)};function l7(e){return e.writable&&!e.writableEnded}var u7=l7;function Bk(e){return e.protocol==="unix:"||e.hostname==="unix"}var{buffer:h7}=bj.default,f7=W.string($D.default.versions.brotli),g7=new Set(["GET","HEAD"]),Jy=new Pj,d7=new Set([300,301,302,303,304,307,308]),E7=["socket","connect","continue","information","upgrade"],Vd=()=>{},AN=class aN extends tj.Duplex{constructor(t,r,n){super({autoDestroy:!1,highWaterMark:0}),Object.defineProperty(this,"constructor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_noPipe",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"requestUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"redirectUrls",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"retryCount",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopRetry",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downloadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_uploadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopReading",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pipedServerResponses",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_responseSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_bodySize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_unproxyEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isFromCache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cannotHaveBody",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_triggerRead",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cancelTimeouts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_removeListeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_nativeResponse",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_flushed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_aborted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_requestInitialized",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._downloadedSize=0,this._uploadedSize=0,this._stopReading=!1,this._pipedServerResponses=new Set,this._cannotHaveBody=!1,this._unproxyEvents=Vd,this._triggerRead=!1,this._cancelTimeouts=Vd,this._removeListeners=Vd,this._jobs=[],this._flushed=!1,this._requestInitialized=!1,this._aborted=!1,this.redirectUrls=[],this.retryCount=0,this._stopRetry=Vd,this.on("pipe",s=>{s?.headers&&Object.assign(this.options.headers,s.headers)}),this.on("newListener",s=>{if(s==="retry"&&this.listenerCount("retry")>0)throw new Error("A retry listener has been attached already.")});try{if(this.options=new kl(t,r,n),!this.options.url){if(this.options.prefixUrl==="")throw new TypeError("Missing `url` property");this.options.url=""}this.requestUrl=this.options.url}catch(s){let{options:a}=s;a&&(this.options=a),this.flush=async()=>{this.flush=async()=>{},this.destroy(s)};return}let{body:i}=this.options;if(W.nodeStream(i)&&i.once("error",s=>{this._flushed?this._beforeError(new ek(s,this)):this.flush=async()=>{this.flush=async()=>{},this._beforeError(new ek(s,this))}}),this.options.signal){let s=()=>{this.destroy(new ej(this))};this.options.signal.aborted?s():(this.options.signal.addEventListener("abort",s),this._removeListeners=()=>{this.options.signal?.removeEventListener("abort",s)})}}async flush(){if(!this._flushed){this._flushed=!0;try{if(await this._finalizeBody(),this.destroyed)return;if(await this._makeRequest(),this.destroyed){this._request?.destroy();return}for(let t of this._jobs)t();this._jobs.length=0,this._requestInitialized=!0}catch(t){this._beforeError(t)}}}_beforeError(t){if(this._stopReading)return;let{response:r,options:n}=this,i=this.retryCount+(t.name==="RetryError"?0:1);this._stopReading=!0,t instanceof nn||(t=new nn(t.message,t,this));let s=t;(async()=>{if(r?.readable&&!r.rawBody&&!this._request?.socket?.destroyed&&(r.setEncoding(this.readableEncoding),await this._setRawBody(r)&&(r.body=r.rawBody.toString())),this.listenerCount("retry")!==0){let a;try{let c;r&&"retry-after"in r.headers&&(c=Number(r.headers["retry-after"]),Number.isNaN(c)?(c=Date.parse(r.headers["retry-after"])-Date.now(),c<=0&&(c=1)):c*=1e3);let l=n.retry;a=await l.calculateDelay({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:Vj({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:l.maxRetryAfter??n.timeout.request??Number.POSITIVE_INFINITY})})}catch(c){this._error(new nn(c.message,c,this));return}if(a){if(await new Promise(c=>{let l=setTimeout(c,a);this._stopRetry=()=>{clearTimeout(l),c()}}),this.destroyed)return;try{for(let c of this.options.hooks.beforeRetry)await c(s,this.retryCount+1)}catch(c){this._error(new nn(c.message,t,this));return}if(this.destroyed)return;this.destroy(),this.emit("retry",this.retryCount+1,t,c=>{let l=new aN(n.url,c,n);return l.retryCount=this.retryCount+1,$D.default.nextTick(()=>{l.flush()}),l});return}}this._error(s)})()}_read(){this._triggerRead=!0;let{response:t}=this;if(t&&!this._stopReading){t.readableLength&&(this._triggerRead=!1);let r;for(;(r=t.read())!==null;){this._downloadedSize+=r.length;let n=this.downloadProgress;n.percent<1&&this.emit("downloadProgress",n),this.push(r)}}}_write(t,r,n){let i=()=>{this._writeRequest(t,r,n)};this._requestInitialized?i():this._jobs.push(i)}_final(t){let r=()=>{if(!this._request||this._request.destroyed){t();return}this._request.end(n=>{this._request._writableState?.errored||(n||(this._bodySize=this._uploadedSize,this.emit("uploadProgress",this.uploadProgress),this._request.emit("upload-complete")),t(n))})};this._requestInitialized?r():this._jobs.push(r)}_destroy(t,r){if(this._stopReading=!0,this.flush=async()=>{},this._stopRetry(),this._cancelTimeouts(),this._removeListeners(),this.options){let{body:n}=this.options;W.nodeStream(n)&&n.destroy()}this._request&&this._request.destroy(),t!==null&&!W.undefined(t)&&!(t instanceof nn)&&(t=new nn(t.message,t,this)),r(t)}pipe(t,r){return t instanceof xy.ServerResponse&&this._pipedServerResponses.add(t),super.pipe(t,r)}unpipe(t){return t instanceof xy.ServerResponse&&this._pipedServerResponses.delete(t),super.unpipe(t),this}async _finalizeBody(){let{options:t}=this,{headers:r}=t,n=!W.undefined(t.form),i=!W.undefined(t.json),s=!W.undefined(t.body),a=g7.has(t.method)&&!(t.method==="GET"&&t.allowGetBody);if(this._cannotHaveBody=a,n||i||s){if(a)throw new TypeError(`The \`${t.method}\` method cannot be used with a body`);let c=!W.string(r["content-type"]);if(s){if(qh(t.body)){let A=new rN(t.body);c&&(r["content-type"]=A.headers["Content-Type"]),"Content-Length"in A.headers&&(r["content-length"]=A.headers["Content-Length"]),t.body=A.encode()}nN(t.body)&&c&&(r["content-type"]=`multipart/form-data; boundary=${t.body.getBoundary()}`)}else if(n){c&&(r["content-type"]="application/x-www-form-urlencoded");let{form:A}=t;t.form=void 0,t.body=new URLSearchParams(A).toString()}else{c&&(r["content-type"]="application/json");let{json:A}=t;t.json=void 0,t.body=t.stringifyJson(A)}let l=await Lj(t.body,t.headers);W.undefined(r["content-length"])&&W.undefined(r["transfer-encoding"])&&!a&&!W.undefined(l)&&(r["content-length"]=String(l))}t.responseType==="json"&&!("accept"in t.headers)&&(t.headers.accept="application/json"),this._bodySize=Number(r["content-length"])||void 0}async _onResponseBase(t){if(this.isAborted)return;let{options:r}=this,{url:n}=r;this._nativeResponse=t,r.decompress&&(t=(0,mj.default)(t));let i=t.statusCode,s=t;s.statusMessage=s.statusMessage??xy.default.STATUS_CODES[i],s.url=r.url.toString(),s.requestUrl=this.requestUrl,s.redirectUrls=this.redirectUrls,s.request=this,s.isFromCache=this._nativeResponse.fromCache??!1,s.ip=this.ip,s.retryCount=this.retryCount,s.ok=EE(s),this._isFromCache=s.isFromCache,this._responseSize=Number(t.headers["content-length"])||void 0,this.response=s,t.once("end",()=>{this._responseSize=this._downloadedSize,this.emit("downloadProgress",this.downloadProgress)}),t.once("error",c=>{this._aborted=!0,t.destroy(),this._beforeError(new tk(c,this))}),t.once("aborted",()=>{this._aborted=!0,this._beforeError(new tk({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);let a=t.headers["set-cookie"];if(W.object(r.cookieJar)&&a){let c=a.map(async l=>r.cookieJar.setCookie(l,n.toString()));r.ignoreInvalidCookies&&(c=c.map(async l=>{try{await l}catch{}}));try{await Promise.all(c)}catch(l){this._beforeError(l);return}}if(!this.isAborted){if(r.followRedirect&&t.headers.location&&d7.has(i)){if(t.resume(),this._cancelTimeouts(),this._unproxyEvents(),this.redirectUrls.length>=r.maxRedirects){this._beforeError(new KW(this));return}this._request=void 0;let c=new kl(void 0,void 0,this.options),l=i===303&&c.method!=="GET"&&c.method!=="HEAD",A=i!==307&&i!==308,f=c.methodRewriting&&A;(l||f)&&(c.method="GET",c.body=void 0,c.json=void 0,c.form=void 0,delete c.headers["content-length"]);try{let h=Uy.Buffer.from(t.headers.location,"binary").toString(),g=new URL(h,n);if(!Bk(n)&&Bk(g)){this._beforeError(new nn("Cannot redirect to UNIX socket",{},this));return}g.hostname!==n.hostname||g.port!==n.port?("host"in c.headers&&delete c.headers.host,"cookie"in c.headers&&delete c.headers.cookie,"authorization"in c.headers&&delete c.headers.authorization,(c.username||c.password)&&(c.username="",c.password="")):(g.username=c.username,g.password=c.password),this.redirectUrls.push(g),c.prefixUrl="",c.url=g;for(let b of c.hooks.beforeRedirect)await b(c,s);this.emit("redirect",c,s),this.options=c,await this._makeRequest()}catch(h){this._beforeError(h);return}return}if(r.isStream&&r.throwHttpErrors&&!EE(s)){this._beforeError(new dE(s));return}if(t.on("readable",()=>{this._triggerRead&&this._read()}),this.on("resume",()=>{t.resume()}),this.on("pause",()=>{t.pause()}),t.once("end",()=>{this.push(null)}),this._noPipe){await this._setRawBody()&&this.emit("response",t);return}this.emit("response",t);for(let c of this._pipedServerResponses)if(!c.headersSent){for(let l in t.headers){let A=r.decompress?l!=="content-encoding":!0,f=t.headers[l];A&&c.setHeader(l,f)}c.statusCode=i}}}async _setRawBody(t=this){if(t.readableEnded)return!1;try{let r=await h7(t);if(!this.isAborted)return this.response.rawBody=r,!0}catch{}return!1}async _onResponse(t){try{await this._onResponseBase(t)}catch(r){this._beforeError(r)}}_onRequest(t){let{options:r}=this,{timeout:n,url:i}=r;ZD(t),this.options.http2&&t.setTimeout(0),this._cancelTimeouts=Mj(t,n,i);let s=r.cache?"cacheableResponse":"response";t.once(s,a=>{this._onResponse(a)}),t.once("error",a=>{this._aborted=!0,t.destroy(),a=a instanceof sN?new $W(a,this.timings,this):new nn(a.message,a,this),this._beforeError(a)}),this._unproxyEvents=iN(t,this,E7),this._request=t,this.emit("uploadProgress",this.uploadProgress),this._sendBody(),this.emit("request",t)}async _asyncWrite(t){return new Promise((r,n)=>{super.write(t,i=>{if(i){n(i);return}r()})})}_sendBody(){let{body:t}=this.options,r=this.redirectUrls.length===0?this:this._request??this;W.nodeStream(t)?t.pipe(r):W.generator(t)||W.asyncGenerator(t)?(async()=>{try{for await(let n of t)await this._asyncWrite(n);super.end()}catch(n){this._beforeError(n)}})():W.undefined(t)?(this._cannotHaveBody||this._noPipe)&&r.end():(this._writeRequest(t,void 0,()=>{}),r.end())}_prepareCache(t){if(!Jy.has(t)){let r=new tN((n,i)=>{let s=n._request(n,i);return W.promise(s)&&(s.once=(a,c)=>{if(a==="error")(async()=>{try{await s}catch(l){c(l)}})();else if(a==="abort")(async()=>{try{(await s).once("abort",c)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${a}`);return s}),s},t);Jy.set(t,r.request())}}async _createCacheableRequest(t,r){return new Promise((n,i)=>{Object.assign(r,Oj(t));let s,a=Jy.get(r.cache)(r,async c=>{if(c._readableState.autoDestroy=!1,s){let l=()=>{c.req&&(c.complete=c.req.res.complete)};c.prependOnceListener("end",l),l(),(await s).emit("cacheableResponse",c)}n(c)});a.once("error",i),a.once("request",async c=>{s=c,n(s)})})}async _makeRequest(){let{options:t}=this,{headers:r,username:n,password:i}=t,s=t.cookieJar;for(let A in r)if(W.undefined(r[A]))delete r[A];else if(W.null_(r[A]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${A}\` header`);if(t.decompress&&W.undefined(r["accept-encoding"])&&(r["accept-encoding"]=f7?"gzip, deflate, br":"gzip, deflate"),n||i){let A=Uy.Buffer.from(`${n}:${i}`).toString("base64");r.authorization=`Basic ${A}`}if(s){let A=await s.getCookieString(t.url.toString());W.nonEmptyString(A)&&(r.cookie=A)}t.prefixUrl="";let a;for(let A of t.hooks.beforeRequest){let f=await A(t);if(!W.undefined(f)){a=()=>f;break}}a||(a=t.getRequestFunction());let c=t.url;this._requestOptions=t.createNativeRequestOptions(),t.cache&&(this._requestOptions._request=a,this._requestOptions.cache=t.cache,this._requestOptions.body=t.body,this._prepareCache(t.cache));let l=t.cache?this._createCacheableRequest:a;try{let A=l(c,this._requestOptions);W.promise(A)&&(A=await A),W.undefined(A)&&(A=t.getFallbackRequestFunction()(c,this._requestOptions),W.promise(A)&&(A=await A)),u7(A)?this._onRequest(A):this.writable?(this.once("finish",()=>{this._onResponse(A)}),this._sendBody()):this._onResponse(A)}catch(A){throw A instanceof wl?new XW(A,this):A}}async _error(t){try{if(!(t instanceof dE&&!this.options.throwHttpErrors))for(let r of this.options.hooks.beforeError)t=await r(t)}catch(r){t=new nn(r.message,r,this)}this.destroy(t)}_writeRequest(t,r,n){!this._request||this._request.destroyed||this._request.write(t,r,i=>{if(!i&&!this._request.destroyed){this._uploadedSize+=Uy.Buffer.byteLength(t,r);let s=this.uploadProgress;s.percent<1&&this.emit("uploadProgress",s)}n(i)})}get ip(){return this.socket?.remoteAddress}get isAborted(){return this._aborted}get socket(){return this._request?.socket??void 0}get downloadProgress(){let t;return this._responseSize?t=this._downloadedSize/this._responseSize:this._responseSize===this._downloadedSize?t=1:t=0,{percent:t,transferred:this._downloadedSize,total:this._responseSize}}get uploadProgress(){let t;return this._bodySize?t=this._uploadedSize/this._bodySize:this._bodySize===this._uploadedSize?t=1:t=0,{percent:t,transferred:this._uploadedSize,total:this._bodySize}}get timings(){return this._request?.timings}get isFromCache(){return this._isFromCache}get reusedSocket(){return this._request?.reusedSocket}},p7=class extends nn{constructor(e){super("Promise was canceled",{},e),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}},C7=["request","response","redirect","uploadProgress","downloadProgress"];function yk(e){let t,r,n,i=new WW.EventEmitter,s=new iQ((c,l,A)=>{A(()=>{t.destroy()}),A.shouldReject=!1,A(()=>{l(new p7(t))});let f=h=>{A(()=>{});let g=e??new AN(void 0,void 0,n);g.retryCount=h,g._noPipe=!0,t=g,g.once("response",async p=>{let Q=(p.headers["content-encoding"]??"").toLowerCase(),R=Q==="gzip"||Q==="deflate"||Q==="br",{options:_}=g;if(R&&!_.decompress)p.body=p.rawBody;else try{p.body=Ik(p,_.responseType,_.parseJson,_.encoding)}catch(d){if(p.body=p.rawBody.toString(),EE(p)){g._beforeError(d);return}}try{let d=_.hooks.afterResponse;for(let[S,m]of d.entries())if(p=await m(p,async T=>{throw _.merge(T),_.prefixUrl="",T.url&&(_.url=T.url),_.hooks.afterResponse=_.hooks.afterResponse.slice(0,S),new ZW(g)}),!(W.object(p)&&W.number(p.statusCode)&&!W.nullOrUndefined(p.body)))throw new TypeError("The `afterResponse` hook returned an invalid value")}catch(d){g._beforeError(d);return}if(r=p,!EE(p)){g._beforeError(new dE(p));return}g.destroy(),c(g.options.resolveBodyOnly?p.body:p)});let b=p=>{if(s.isCanceled)return;let{options:Q}=g;if(p instanceof dE&&!Q.throwHttpErrors){let{response:R}=p;g.destroy(),c(g.options.resolveBodyOnly?R.body:R);return}l(p)};g.once("error",b);let C=g.options?.body;g.once("retry",(p,Q)=>{e=void 0;let R=g.options.body;if(C===R&&W.nodeStream(R)){Q.message="Cannot retry with consumed body stream",b(Q);return}n=g.options,f(p)}),iN(g,i,C7),W.undefined(e)&&g.flush()};f(0)});s.on=(c,l)=>(i.on(c,l),s),s.off=(c,l)=>(i.off(c,l),s);let a=c=>{let l=(async()=>{await s;let{options:A}=r.request;return Ik(r,c,A.parseJson,A.encoding)})();return Object.defineProperties(l,Object.getOwnPropertyDescriptors(s)),l};return s.json=()=>{if(t.options){let{headers:c}=t.options;!t.writableFinished&&!("accept"in c)&&(c.accept="application/json")}return a("json")},s.buffer=()=>a("buffer"),s.text=()=>a("text"),s}var I7=async e=>new Promise(t=>{setTimeout(t,e)}),B7=e=>W.function_(e),y7=["get","post","put","patch","head","delete"],cN=e=>{e={options:new kl(void 0,void 0,e.options),handlers:[...e.handlers],mutableDefaults:e.mutableDefaults},Object.defineProperty(e,"mutableDefaults",{enumerable:!0,configurable:!1,writable:!1});let t=(n,i,s=e.options)=>{let a=new AN(n,i,s),c,l=h=>(a.options=h,a._noPipe=!h.isStream,a.flush(),h.isStream?a:(c||(c=yk(a)),c)),A=0,f=h=>{let g=(e.handlers[A++]??l)(h,f);if(W.promise(g)&&!a.options.isStream&&(c||(c=yk(a)),g!==c)){let b=Object.getOwnPropertyDescriptors(c);for(let C in b)C in g&&delete b[C];Object.defineProperties(g,b),g.cancel=c.cancel}return g};return f(a.options)};t.extend=(...n)=>{let i=new kl(void 0,void 0,e.options),s=[...e.handlers],a;for(let c of n)B7(c)?(i.merge(c.defaults.options),s.push(...c.defaults.handlers),a=c.defaults.mutableDefaults):(i.merge(c),c.handlers&&s.push(...c.handlers),a=c.mutableDefaults);return cN({options:i,handlers:s,mutableDefaults:!!a})};let r=async function*(n,i){let s=new kl(n,i,e.options);s.resolveBodyOnly=!1;let{pagination:a}=s;ae.function_(a.transform),ae.function_(a.shouldContinue),ae.function_(a.filter),ae.function_(a.paginate),ae.number(a.countLimit),ae.number(a.requestLimit),ae.number(a.backoff);let c=[],{countLimit:l}=a,A=0;for(;A{let s=[];for await(let a of r(n,i))s.push(a);return s},t.paginate.each=r,t.stream=(n,i)=>t(n,{...i,isStream:!0});for(let n of y7)t[n]=(i,s)=>t(i,{...s,method:n}),t.stream[n]=(i,s)=>t(i,{...s,method:n,isStream:!0});return e.mutableDefaults||(Object.freeze(e.handlers),e.options.freeze()),Object.defineProperty(t,"defaults",{value:e,writable:!1,configurable:!1,enumerable:!0}),t},Q7=cN,m7={options:new kl,handlers:[],mutableDefaults:!1},b7=Q7(m7),Bi=b7,sE="https://www.googleapis.com",w7=`${sE}/oauth2/v4/token`,sQ={extId:"No extension ID provided, e.g. https://chrome.google.com/webstore/detail/EXT_ID",clientId:"No client ID provided. To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md",clientSecret:"No client secret provided. To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md",refreshToken:"No refresh token provided. To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md"},v7=Object.keys(sQ),S7=class{options={};constructor(e){for(let t of v7)if(!e[t])throw new Error(sQ[t]);this.options={...e}}get uploadEndpoint(){return`${sE}/upload/chromewebstore/v1.1/items/${this.options.extId}`}getPublishEndpoint(e){return`${sE}/chromewebstore/v1.1/items/${this.options.extId}/publish?publishTarget=${e}`}getInfoEndpoint(e){return`${sE}/chromewebstore/v1.1/items/${this.options.extId}?projection=${e}`}async submit({filePath:e="",target:t="default"}){let r=await this.getAccessToken(),{uploadState:n,itemError:i}=await this.upload({readStream:(0,LW.createReadStream)(e)},r);if(n==="FAILURE"||n==="NOT_FOUND")throw new Error(i.map(({error_detail:s})=>s).join(` -`));if(!this.options.uploadOnly)return this.publish({target:t},r)}async upload({readStream:e=null},t=""){if(!e)throw new Error("Read stream missing");let r=t||await this.getAccessToken();return Bi.put(this.uploadEndpoint,{headers:this.getHeaders(r),body:e,throwHttpErrors:!1}).json()}async publish({target:e="default"},t=""){let r=t||await this.getAccessToken();return Bi.post(this.getPublishEndpoint(e),{headers:this.getHeaders(r)}).json()}async get({projection:e="DRAFT"},t=""){let r=t||await this.getAccessToken();return Bi.get(this.getInfoEndpoint(e),{headers:this.getHeaders(r)}).json()}async getAccessToken(){return(await Bi.post(w7,{json:{client_id:this.options.clientId,refresh_token:this.options.refreshToken,grant_type:"refresh_token",client_secret:this.options.clientSecret}}).json()).access_token}getHeaders(e){return{Authorization:`Bearer ${e}`,"x-goog-api-version":"2"}}},R7=require("module"),_7=(0,R7.createRequire)("/"),k7;try{k7=_7("worker_threads").Worker}catch{}var Gi=Uint8Array,Sl=Uint16Array,D7=Int32Array,lN=new Gi([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),uN=new Gi([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),N7=new Gi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),hN=function(e,t){for(var r=new Sl(31),n=0;n<31;++n)r[n]=t+=1<>1|(Vt&21845)<<1,Ko=(Ko&52428)>>2|(Ko&13107)<<2,Ko=(Ko&61680)>>4|(Ko&3855)<<4,B0[Vt]=((Ko&65280)>>8|(Ko&255)<<8)>>1;var Ko,Vt,vh=function(e,t,r){for(var n=e.length,i=0,s=new Sl(t);i>l]=A}else for(c=new Sl(n),i=0;i>15-e[i]);return c},Vh=new Gi(288);for(Vt=0;Vt<144;++Vt)Vh[Vt]=8;var Vt;for(Vt=144;Vt<256;++Vt)Vh[Vt]=9;var Vt;for(Vt=256;Vt<280;++Vt)Vh[Vt]=7;var Vt;for(Vt=280;Vt<288;++Vt)Vh[Vt]=8;var Vt,EN=new Gi(32);for(Vt=0;Vt<32;++Vt)EN[Vt]=5;var Vt,F7=vh(Vh,9,1),U7=vh(EN,5,1),Wy=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},ms=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(t&7)&r},jy=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(t&7)},x7=function(e){return(e+7)/8|0},oQ=function(e,t,r){(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length);var n=new Gi(r-t);return n.set(e.subarray(t,r)),n},M7=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ls=function(e,t,r){var n=new Error(t||M7[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,ls),!r)throw n;return n},O7=function(e,t,r,n){var i=e.length,s=n?n.length:0;if(!i||t.f&&!t.l)return r||new Gi(0);var a=!r||t.i!=2,c=t.i;r||(r=new Gi(i*3));var l=function(ot){var U=r.length;if(ot>U){var X=new Gi(Math.max(U*2,ot));X.set(r),r=X}},A=t.f||0,f=t.p||0,h=t.b||0,g=t.l,b=t.d,C=t.m,p=t.n,Q=i*8;do{if(!g){A=ms(e,f,1);var R=ms(e,f+1,3);if(f+=3,R)if(R==1)g=F7,b=U7,C=9,p=5;else if(R==2){var _=ms(e,f,31)+257,d=ms(e,f+10,15)+4,S=_+ms(e,f+5,31)+1;f+=14;for(var m=new Gi(S),T=new Gi(19),L=0;L>4;if(q<16)m[L++]=q;else{var V=0,w=0;for(q==16?(w=3+ms(e,f,3),f+=2,V=m[L-1]):q==17?(w=3+ms(e,f,7),f+=3):q==18&&(w=11+ms(e,f,127),f+=7);w--;)m[L++]=V}}var N=m.subarray(0,_),F=m.subarray(_);C=Wy(N),p=Wy(F),g=vh(N,C,1),b=vh(F,p,1)}else ls(1);else{var q=x7(f)+4,M=e[q-4]|e[q-3]<<8,P=q+M;if(P>i){c&&ls(0);break}a&&l(h+M),r.set(e.subarray(q,P),h),t.b=h+=M,t.p=f=P*8,t.f=A;continue}if(f>Q){c&&ls(0);break}}a&&l(h+131072);for(var ee=(1<>4;if(f+=V&15,f>Q){c&&ls(0);break}if(V||ls(2),ge<256)r[h++]=ge;else if(ge==256){ce=f,g=null;break}else{var Ee=ge-254;if(ge>264){var L=ge-257,we=lN[L];Ee=ms(e,f,(1<>4;De||ls(3),f+=De&15;var F=L7[ye];if(ye>3){var we=uN[ye];F+=jy(e,f)&(1<Q){c&&ls(0);break}a&&l(h+131072);var Ke=h+Ee;if(h>>0},zy=function(e,t){return ws(e,t)+ws(e,t+4)*4294967296};function q7(e,t){return O7(e,{i:2},t&&t.out,t&&t.dictionary)}var y0=typeof TextDecoder<"u"&&new TextDecoder,V7=0;try{y0.decode(P7,{stream:!0}),V7=1}catch{}var H7=function(e){for(var t="",r=0;;){var n=e[r++],i=(n>127)+(n>223)+(n>239);if(r+i>e.length)return{s:t,r:oQ(e,r-1)};i?i==3?(n=((n&15)<<18|(e[r++]&63)<<12|(e[r++]&63)<<6|e[r++]&63)-65536,t+=String.fromCharCode(55296|n>>10,56320|n&1023)):i&1?t+=String.fromCharCode((n&31)<<6|e[r++]&63):t+=String.fromCharCode((n&15)<<12|(e[r++]&63)<<6|e[r++]&63):t+=String.fromCharCode(n)}};function pN(e,t){if(t){for(var r="",n=0;n65558)&&ls(13);var i=oo(e,n+8);if(!i)return{};var s=ws(e,n+16),a=s==4294967295||i==65535;if(a){var c=ws(e,n-12);a=ws(e,c)==101075792,a&&(i=ws(e,c+32),s=ws(e,c+48))}for(var l=t&&t.filter,A=0;A(0,j7.resolve)((0,z7.cwd)(),e),CN=e=>(0,AQ.existsSync)(aQ(e));function Hh({zip:e="",file:t="",versionFile:r="package.json"}){let n=e||t;if(CN(r)&&n.includes("{version}")){let i=JSON.parse((0,AQ.readFileSync)(r).toString());return n.replace("{version}",i.version||"")}else return n}function OE(e){let t=(0,AQ.readFileSync)(aQ(e)),r=W7(t),n=pN(r["manifest.json"]);return JSON.parse(n)}function PE({extId:e=null,market:t="",zip:r=""}){let{name:n,version:i}=OE(r),s=WD[t]||t;console.log(`Successfully updated "${e}" (${n}) to version ${i} on ${s}!`)}var Ky={};function IN({message:e="Message",prefix:t="",market:r=""}){Ky[r]=1+(Ky?.[r]??0);let n=`${r}: Step ${Ky[r]}) ${e}`;return t!=="Error"&&(t=t||"Info",n=`${t} ${n}`),t==="Info"?n=n.trim():t==="Error"&&(n=n.trimStart()),n}var BN={},Gh=e=>{BN[e]=!0,process.env.VERBOSE="true"};function qE(e=""){return t=>BN[e]&&console.log(IN({market:e,message:t}))}var VE=(e,t,r)=>{let n=new Error(IN({market:t,message:`Item "${r}": ${e.message}`,prefix:"Error"}));return n.stack=e.stack,n};function Xy(e,t){return`${e}: ${t}`}var Yh=({market:e="chrome",options:t={},errorMap:r={}})=>{if(Object.keys(r).some(i=>{if(!t[i])throw new Error(Xy(e,r[i]))}),!t.zip&&!t.file)throw new Error(Xy(e,"No extension bundle provided"));let n=t.zip||t.file;if(!CN(n))throw new Error(Xy(e,`Extension bundle file doesn't exist: ${aQ(n)}`))},kh="chrome",K7=qE(kh);async function X7({extId:e,target:t="default",zip:r,dryRun:n,...i}){let s=new S7({extId:e,...i});if(K7(`Updating extension with ID ${e}`),n)return!0;try{return await s.submit({filePath:r,target:t}),PE({extId:e,market:kh,zip:r}),!0}catch(a){let c=OE(r);throw VE(a,kh,`"${e}" (${c.name})`)}}async function $7(e){return e.zip=Hh(e),e.verbose&&Gh(kh),Yh({market:kh,options:e,errorMap:sQ}),X7(e)}var Z7=require("fs"),cQ={productId:"Product ID is required. To get one, go to: https://partner.microsoft.com/en-us/dashboard/microsoftedge/{product-id}/package/dashboard",clientId:"Client ID is required. To get one: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi",clientSecret:"Client Secret is required. To get one: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi",accessTokenUrl:"Access token URL is required. To get one: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi"},ez=Object.keys(cQ),tz=e=>new Promise(t=>setTimeout(t,e)),Qk="https://api.addons.microsoftedge.microsoft.com",rz=class{options={};constructor(e){for(let t of ez)if(!e[t])throw new Error(cQ[t]);this.options={...e}}get productEndpoint(){return`${Qk}/v1/products/${this.options.productId}`}get publishEndpoint(){return`${this.productEndpoint}/submissions`}get uploadEndpoint(){return`${this.publishEndpoint}/draft/package`}async submit({filePath:e="",notes:t=""}){let r=await this.getAccessToken(),n=await this.upload((0,Z7.createReadStream)(e),r);return await this.waitForUpload(n,r),this.publish(t,r)}async publish(e="",t=null){let r={headers:{Authorization:`Bearer ${t||await this.getAccessToken()}`,"Content-Type":"application/x-www-form-urlencoded"}};e.length>0&&(r.body=`{ "notes"="${e}" }`);let n=await Bi.post(this.publishEndpoint,r);return this.handleTempStatus(n.statusCode,"Submit"),n.headers.location}async upload(e=null,t=null){let r=t||await this.getAccessToken(),n=await Bi.post(this.uploadEndpoint,{body:e,headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/zip"}});return this.handleTempStatus(n.statusCode,"Upload"),n.headers.location}async getPublishStatus(e,t=null){let r=t||await this.getAccessToken(),n=`${this.publishEndpoint}/operations/${e}`;return Bi.get(n,{headers:{Authorization:`Bearer ${r}`}}).json()}async waitForUpload(e,t=null,r=5,n=3e3){let i=t||await this.getAccessToken(),s=`${this.uploadEndpoint}/operations/${e}`,a,c,l=0;for(;c!=="Succeeded"&&l{if(e!==202)throw e>=500?new Error("Edge server error, please try again later"):new Error(`${t} failed, double check your api credentials`)};getAccessToken=async()=>(await Bi.post(`${this.options.accessTokenUrl}`,{body:`client_id=${this.options.clientId}&scope=${Qk}/.default&client_secret=${this.options.clientSecret}&grant_type=client_credentials`,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).json()).access_token},Dh="edge",nz=qE(Dh);async function iz({productId:e,notes:t,zip:r,dryRun:n,...i}){let s=OE(r),a=new rz({productId:e,...i});if(nz(`Updating extension with Product ID ${e}`),n)return!0;try{return await a.submit({filePath:r,notes:t}),PE({extId:e,market:Dh,zip:r}),!0}catch(c){throw VE(c,Dh,`"${e}" (${s.name})`)}}async function sz(e){return e.zip=Hh(e),e.verbose&&Gh(Dh),Yh({market:Dh,options:e,errorMap:cQ}),iz(e)}var fn=e=>typeof e=="function",Dt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:e=>`Symbol(${e})`;function yN(){}function On(e){return typeof e=="object"&&e!==null||typeof e=="function"}var QN=yN;function Ut(e,t){try{Object.defineProperty(e,"name",{value:t,configurable:!0})}catch{}}var lQ=Promise,oz=Promise.prototype.then,Az=Promise.resolve.bind(lQ),az=Promise.reject.bind(lQ);function ti(e){return new lQ(e)}function Ht(e){return Az(e)}function at(e){return az(e)}function eA(e,t,r){return oz.call(e,t,r)}function Mn(e,t,r){eA(eA(e,t,r),void 0,QN)}function mk(e,t){Mn(e,t)}function bk(e,t){Mn(e,void 0,t)}function Ss(e,t,r){return eA(e,t,r)}function Ll(e){eA(e,void 0,QN)}var oE=e=>{if(typeof queueMicrotask=="function")oE=queueMicrotask;else{let t=Ht(void 0);oE=r=>eA(t,r)}return oE(e)};function HE(e,t,r){if(typeof e!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function Za(e,t,r){try{return Ht(HE(e,t,r))}catch(n){return at(n)}}var us=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(e){let t=this._back,r=t;t._elements.length===16383&&(r={_elements:[],_next:void 0}),t._elements.push(e),r!==t&&(this._back=r,t._next=r),++this._size}shift(){let e=this._front,t=e,r=this._cursor,n=r+1,i=e._elements,s=i[r];return n===16384&&(t=e._next,n=0),--this._size,this._cursor=n,e!==t&&(this._front=t),i[r]=void 0,s}forEach(e){let t=this._cursor,r=this._front,n=r._elements;for(;!(t===n.length&&r._next===void 0||t===n.length&&(r=r._next,n=r._elements,t=0,n.length===0));)e(n[t]),++t}peek(){let e=this._front,t=this._cursor;return e._elements[t]}},mN=Dt("[[AbortSteps]]"),bN=Dt("[[ErrorSteps]]"),uQ=Dt("[[CancelSteps]]"),hQ=Dt("[[PullSteps]]"),fQ=Dt("[[ReleaseSteps]]");function wN(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?Q0(e):t._state==="closed"?function(r){Q0(r),_N(r)}(e):RN(e,t._storedError)}function vN(e,t){return oT(e._ownerReadableStream,t)}function SN(e){let t=e._ownerReadableStream;t._state==="readable"?gQ(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(r,n){RN(r,n)}(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),t._readableStreamController[fQ](),t._reader=void 0,e._ownerReadableStream=void 0}function Fl(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Q0(e){e._closedPromise=ti((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function RN(e,t){Q0(e),gQ(e,t)}function gQ(e,t){e._closedPromise_reject!==void 0&&(Ll(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function _N(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var wk=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},cz=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function tA(e,t){if(e!==void 0&&typeof(r=e)!="object"&&typeof r!="function")throw new TypeError(`${t} is not an object.`);var r}function ks(e,t){if(typeof e!="function")throw new TypeError(`${t} is not a function.`)}function kN(e,t){if(!function(r){return typeof r=="object"&&r!==null||typeof r=="function"}(e))throw new TypeError(`${t} is not an object.`)}function nA(e,t,r){if(e===void 0)throw new TypeError(`Parameter ${t} is required in '${r}'.`)}function m0(e,t,r){if(e===void 0)throw new TypeError(`${t} is required in '${r}'.`)}function dQ(e){return Number(e)}function vk(e){return e===0?0:e}function DN(e,t){let r=Number.MAX_SAFE_INTEGER,n=Number(e);if(n=vk(n),!wk(n))throw new TypeError(`${t} is not a finite number`);if(n=function(i){return vk(cz(i))}(n),n<0||n>r)throw new TypeError(`${t} is outside the accepted range of 0 to ${r}, inclusive`);return wk(n)&&n!==0?n:0}function mh(e){if(!On(e)||typeof e.getReader!="function")return!1;try{return typeof e.locked=="boolean"}catch{return!1}}function NN(e){if(!On(e)||typeof e.getWriter!="function")return!1;try{return typeof e.locked=="boolean"}catch{return!1}}function TN(e,t){if(!Xa(e))throw new TypeError(`${t} is not a ReadableStream.`)}function LN(e,t){e._reader._readRequests.push(t)}function EQ(e,t,r){let n=e._reader._readRequests.shift();r?n._closeSteps():n._chunkSteps(t)}function GE(e){return e._reader._readRequests.length}function FN(e){let t=e._reader;return t!==void 0&&!!Ka(t)}var Ha=class{constructor(e){if(nA(e,1,"ReadableStreamDefaultReader"),TN(e,"First parameter"),xl(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");wN(this,e),this._readRequests=new us}get closed(){return Ka(this)?this._closedPromise:at(Hd("closed"))}cancel(e){return Ka(this)?this._ownerReadableStream===void 0?at(Fl("cancel")):vN(this,e):at(Hd("cancel"))}read(){if(!Ka(this))return at(Hd("read"));if(this._ownerReadableStream===void 0)return at(Fl("read from"));let e,t,r=ti((n,i)=>{e=n,t=i});return function(n,i){let s=n._ownerReadableStream;s._disturbed=!0,s._state==="closed"?i._closeSteps():s._state==="errored"?i._errorSteps(s._storedError):s._readableStreamController[hQ](i)}(this,{_chunkSteps:n=>e({value:n,done:!1}),_closeSteps:()=>e({value:void 0,done:!0}),_errorSteps:n=>t(n)}),r}releaseLock(){if(!Ka(this))throw Hd("releaseLock");this._ownerReadableStream!==void 0&&function(e){SN(e);let t=new TypeError("Reader was released");UN(e,t)}(this)}};function Ka(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof Ha}function UN(e,t){let r=e._readRequests;e._readRequests=new us,r.forEach(n=>{n._errorSteps(t)})}function Hd(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}Object.defineProperties(Ha.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),Ut(Ha.prototype.cancel,"cancel"),Ut(Ha.prototype.read,"read"),Ut(Ha.prototype.releaseLock,"releaseLock"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ha.prototype,Dt.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});var xN=class{constructor(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}next(){let e=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?Ss(this._ongoingPromise,e,e):e(),this._ongoingPromise}return(e){let t=()=>this._returnSteps(e);return this._ongoingPromise?Ss(this._ongoingPromise,t,t):t()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let e=this._reader;return e===void 0?at(Fl("iterate")):eA(e.read(),t=>{var r;return this._ongoingPromise=void 0,t.done&&(this._isFinished=!0,(r=this._reader)===null||r===void 0||r.releaseLock(),this._reader=void 0),t},t=>{var r;throw this._ongoingPromise=void 0,this._isFinished=!0,(r=this._reader)===null||r===void 0||r.releaseLock(),this._reader=void 0,t})}_returnSteps(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;let t=this._reader;if(t===void 0)return at(Fl("finish iterating"));if(this._reader=void 0,!this._preventCancel){let r=t.cancel(e);return t.releaseLock(),Ss(r,()=>({value:e,done:!0}))}return t.releaseLock(),Ht({value:e,done:!0})}},MN={next(){return Sk(this)?this._asyncIteratorImpl.next():at(Rk("next"))},return(e){return Sk(this)?this._asyncIteratorImpl.return(e):at(Rk("return"))}};function Sk(e){if(!On(e)||!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof xN}catch{return!1}}function Rk(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}typeof Dt.asyncIterator=="symbol"&&Object.defineProperty(MN,Dt.asyncIterator,{value(){return this},writable:!0,configurable:!0});var ON=Number.isNaN||function(e){return e!=e};function PN(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)}function _k(e){let t=function(r,n,i){if(r.slice)return r.slice(n,i);let s=i-n,a=new ArrayBuffer(s);return PN(a,0,r,n,s),a}(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function b0(e){let t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function pQ(e,t,r){if(typeof(n=r)!="number"||ON(n)||n<0||r===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");var n;e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function WA(e){e._queue=new us,e._queueTotalSize=0}var Rl=class{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!$y(this))throw Zy("view");return this._view}respond(e){if(!$y(this))throw Zy("respond");if(nA(e,1,"respond"),e=DN(e,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");this._view.buffer,function(t,r){let n=t._pendingPullIntos.peek();if(t._controlledReadableByteStream._state==="closed"){if(r!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(r===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(n.bytesFilled+r>n.byteLength)throw new RangeError("bytesWritten out of range")}n.buffer=n.buffer,kk(t,r)}(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!$y(this))throw Zy("respondWithNewView");if(nA(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))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");e.buffer,function(t,r){let n=t._pendingPullIntos.peek();if(t._controlledReadableByteStream._state==="closed"){if(r.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(r.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(n.byteOffset+n.bytesFilled!==r.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(n.bufferByteLength!==r.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(n.bytesFilled+r.byteLength>n.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let i=r.byteLength;n.buffer=r.buffer,kk(t,i)}(this._associatedReadableByteStreamController,e)}};Object.defineProperties(Rl.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),Ut(Rl.prototype.respond,"respond"),Ut(Rl.prototype.respondWithNewView,"respondWithNewView"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Rl.prototype,Dt.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Ga=class{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!bl(this))throw Ch("byobRequest");return function(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(Rl.prototype);(function(i,s,a){i._associatedReadableByteStreamController=s,i._view=a})(n,e,r),e._byobRequest=n}return e._byobRequest}(this)}get desiredSize(){if(!bl(this))throw Ch("desiredSize");return jN(this)}close(){if(!bl(this))throw Ch("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let e=this._controlledReadableByteStream._state;if(e!=="readable")throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);(function(t){let r=t._controlledReadableByteStream;if(!(t._closeRequested||r._state!=="readable")){if(t._queueTotalSize>0)return void(t._closeRequested=!0);if(t._pendingPullIntos.length>0&&t._pendingPullIntos.peek().bytesFilled>0){let n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Ul(t,n),n}pE(t),Th(r)}})(this)}enqueue(e){if(!bl(this))throw Ch("enqueue");if(nA(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new TypeError("chunk must be an array buffer view");if(e.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(e.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 t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);(function(r,n){let i=r._controlledReadableByteStream;if(r._closeRequested||i._state!=="readable")return;let s=n.buffer,a=n.byteOffset,c=n.byteLength,l=s;if(r._pendingPullIntos.length>0){let A=r._pendingPullIntos.peek();A.buffer,CQ(r),A.buffer=A.buffer,A.readerType==="none"&&GN(r,A)}FN(i)?(function(A){let f=A._controlledReadableByteStream._reader;for(;f._readRequests.length>0;){if(A._queueTotalSize===0)return;Dk(A,f._readRequests.shift())}}(r),GE(i)===0?AE(r,l,a,c):(r._pendingPullIntos.length>0&&Dl(r),EQ(i,new Uint8Array(l,a,c),!1))):IQ(i)?(AE(r,l,a,c),v0(r)):AE(r,l,a,c),$a(r)})(this,e)}error(e){if(!bl(this))throw Ch("error");Ul(this,e)}[uQ](e){qN(this),WA(this);let t=this._cancelAlgorithm(e);return pE(this),t}[hQ](e){let t=this._controlledReadableByteStream;if(this._queueTotalSize>0)return void Dk(this,e);let r=this._autoAllocateChunkSize;if(r!==void 0){let n;try{n=new ArrayBuffer(r)}catch(s){return void e._errorSteps(s)}let i={buffer:n,bufferByteLength:r,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(i)}LN(t,e),$a(this)}[fQ](){if(this._pendingPullIntos.length>0){let e=this._pendingPullIntos.peek();e.readerType="none",this._pendingPullIntos=new us,this._pendingPullIntos.push(e)}}};function bl(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof Ga}function $y(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof Rl}function $a(e){if(function(t){let r=t._controlledReadableByteStream;return r._state!=="readable"||t._closeRequested||!t._started?!1:!!(FN(r)&&GE(r)>0||IQ(r)&&zN(r)>0||jN(t)>0)}(e)){if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0,Mn(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,$a(e)),null),t=>(Ul(e,t),null))}}function qN(e){CQ(e),e._pendingPullIntos=new us}function w0(e,t){let r=!1;e._state==="closed"&&(r=!0);let n=VN(t);t.readerType==="default"?EQ(e,n,r):function(i,s,a){let c=i._reader._readIntoRequests.shift();a?c._closeSteps(s):c._chunkSteps(s)}(e,n,r)}function VN(e){let t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function AE(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function HN(e,t,r,n){let i;try{i=t.slice(r,r+n)}catch(s){throw Ul(e,s),s}AE(e,i,0,n)}function GN(e,t){t.bytesFilled>0&&HN(e,t.buffer,t.byteOffset,t.bytesFilled),Dl(e)}function YN(e,t){let r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),s=t.bytesFilled+i,a=s-s%r,c=i,l=!1;a>n&&(c=a-t.bytesFilled,l=!0);let A=e._queue;for(;c>0;){let f=A.peek(),h=Math.min(c,f.byteLength),g=t.byteOffset+t.bytesFilled;PN(t.buffer,g,f.buffer,f.byteOffset,h),f.byteLength===h?A.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,JN(e,h,t),c-=h}return l}function JN(e,t,r){r.bytesFilled+=t}function WN(e){e._queueTotalSize===0&&e._closeRequested?(pE(e),Th(e._controlledReadableByteStream)):$a(e)}function CQ(e){e._byobRequest!==null&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function v0(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;let t=e._pendingPullIntos.peek();YN(e,t)&&(Dl(e),w0(e._controlledReadableByteStream,t))}}function kk(e,t){let r=e._pendingPullIntos.peek();CQ(e),e._controlledReadableByteStream._state==="closed"?function(n,i){i.readerType==="none"&&Dl(n);let s=n._controlledReadableByteStream;if(IQ(s))for(;zN(s)>0;)w0(s,Dl(n))}(e,r):function(n,i,s){if(JN(0,i,s),s.readerType==="none")return GN(n,s),void v0(n);if(s.bytesFilled0){let c=s.byteOffset+s.bytesFilled;HN(n,s.buffer,c-a,a)}s.bytesFilled-=a,w0(n._controlledReadableByteStream,s),v0(n)}(e,t,r),$a(e)}function Dl(e){return e._pendingPullIntos.shift()}function pE(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Ul(e,t){let r=e._controlledReadableByteStream;r._state==="readable"&&(qN(e),WA(e),pE(e),AT(r,t))}function Dk(e,t){let r=e._queue.shift();e._queueTotalSize-=r.byteLength,WN(e);let n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);t._chunkSteps(n)}function jN(e){let t=e._controlledReadableByteStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function lz(e,t,r){let n=Object.create(Ga.prototype),i,s,a;i=t.start!==void 0?()=>t.start(n):()=>{},s=t.pull!==void 0?()=>t.pull(n):()=>Ht(void 0),a=t.cancel!==void 0?l=>t.cancel(l):()=>Ht(void 0);let c=t.autoAllocateChunkSize;if(c===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");(function(l,A,f,h,g,b,C){A._controlledReadableByteStream=l,A._pullAgain=!1,A._pulling=!1,A._byobRequest=null,A._queue=A._queueTotalSize=void 0,WA(A),A._closeRequested=!1,A._started=!1,A._strategyHWM=b,A._pullAlgorithm=h,A._cancelAlgorithm=g,A._autoAllocateChunkSize=C,A._pendingPullIntos=new us,l._readableStreamController=A,Mn(Ht(f()),()=>(A._started=!0,$a(A),null),p=>(Ul(A,p),null))})(e,n,i,s,a,r,c)}function Zy(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function Ch(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function Nk(e,t){e._reader._readIntoRequests.push(t)}function zN(e){return e._reader._readIntoRequests.length}function IQ(e){let t=e._reader;return t!==void 0&&!!_l(t)}Object.defineProperties(Ga.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),Ut(Ga.prototype.close,"close"),Ut(Ga.prototype.enqueue,"enqueue"),Ut(Ga.prototype.error,"error"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ga.prototype,Dt.toStringTag,{value:"ReadableByteStreamController",configurable:!0});var Ya=class{constructor(e){if(nA(e,1,"ReadableStreamBYOBReader"),TN(e,"First parameter"),xl(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!bl(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");wN(this,e),this._readIntoRequests=new us}get closed(){return _l(this)?this._closedPromise:at(Gd("closed"))}cancel(e){return _l(this)?this._ownerReadableStream===void 0?at(Fl("cancel")):vN(this,e):at(Gd("cancel"))}read(e){if(!_l(this))return at(Gd("read"));if(!ArrayBuffer.isView(e))return at(new TypeError("view must be an array buffer view"));if(e.byteLength===0)return at(new TypeError("view must have non-zero byteLength"));if(e.buffer.byteLength===0)return at(new TypeError("view's buffer must have non-zero byteLength"));if(e.buffer,this._ownerReadableStream===void 0)return at(Fl("read from"));let t,r,n=ti((i,s)=>{t=i,r=s});return function(i,s,a){let c=i._ownerReadableStream;c._disturbed=!0,c._state==="errored"?a._errorSteps(c._storedError):function(l,A,f){let h=l._controlledReadableByteStream,g=1;A.constructor!==DataView&&(g=A.constructor.BYTES_PER_ELEMENT);let b=A.constructor,C=A.buffer,p={buffer:C,bufferByteLength:C.byteLength,byteOffset:A.byteOffset,byteLength:A.byteLength,bytesFilled:0,elementSize:g,viewConstructor:b,readerType:"byob"};if(l._pendingPullIntos.length>0)return l._pendingPullIntos.push(p),void Nk(h,f);if(h._state!=="closed"){if(l._queueTotalSize>0){if(YN(l,p)){let Q=VN(p);return WN(l),void f._chunkSteps(Q)}if(l._closeRequested){let Q=new TypeError("Insufficient bytes to fill elements in the given buffer");return Ul(l,Q),void f._errorSteps(Q)}}l._pendingPullIntos.push(p),Nk(h,f),$a(l)}else{let Q=new b(p.buffer,p.byteOffset,0);f._closeSteps(Q)}}(c._readableStreamController,s,a)}(this,e,{_chunkSteps:i=>t({value:i,done:!1}),_closeSteps:i=>t({value:i,done:!0}),_errorSteps:i=>r(i)}),n}releaseLock(){if(!_l(this))throw Gd("releaseLock");this._ownerReadableStream!==void 0&&function(e){SN(e);let t=new TypeError("Reader was released");KN(e,t)}(this)}};function _l(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof Ya}function KN(e,t){let r=e._readIntoRequests;e._readIntoRequests=new us,r.forEach(n=>{n._errorSteps(t)})}function Gd(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function Nh(e,t){let{highWaterMark:r}=e;if(r===void 0)return t;if(ON(r)||r<0)throw new RangeError("Invalid highWaterMark");return r}function CE(e){let{size:t}=e;return t||(()=>1)}function IE(e,t){tA(e,t);let r=e?.highWaterMark,n=e?.size;return{highWaterMark:r===void 0?void 0:dQ(r),size:n===void 0?void 0:uz(n,`${t} has member 'size' that`)}}function uz(e,t){return ks(e,t),r=>dQ(e(r))}function hz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function fz(e,t,r){return ks(e,r),()=>Za(e,t,[])}function gz(e,t,r){return ks(e,r),n=>HE(e,t,[n])}function dz(e,t,r){return ks(e,r),(n,i)=>Za(e,t,[n,i])}Object.defineProperties(Ya.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),Ut(Ya.prototype.cancel,"cancel"),Ut(Ya.prototype.read,"read"),Ut(Ya.prototype.releaseLock,"releaseLock"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ya.prototype,Dt.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});var Ez=typeof AbortController=="function",Ja=class{constructor(e={},t={}){e===void 0?e=null:kN(e,"First parameter");let r=IE(t,"Second parameter"),n=function(a,c){tA(a,c);let l=a?.abort,A=a?.close,f=a?.start,h=a?.type,g=a?.write;return{abort:l===void 0?void 0:hz(l,a,`${c} has member 'abort' that`),close:A===void 0?void 0:fz(A,a,`${c} has member 'close' that`),start:f===void 0?void 0:gz(f,a,`${c} has member 'start' that`),write:g===void 0?void 0:dz(g,a,`${c} has member 'write' that`),type:h}}(e,"First parameter");var i;if((i=this)._state="writable",i._storedError=void 0,i._writer=void 0,i._writableStreamController=void 0,i._writeRequests=new us,i._inFlightWriteRequest=void 0,i._closeRequest=void 0,i._inFlightCloseRequest=void 0,i._pendingAbortRequest=void 0,i._backpressure=!1,n.type!==void 0)throw new RangeError("Invalid type is specified");let s=CE(r);(function(a,c,l,A){let f=Object.create(BE.prototype),h,g,b,C;h=c.start!==void 0?()=>c.start(f):()=>{},g=c.write!==void 0?p=>c.write(p,f):()=>Ht(void 0),b=c.close!==void 0?()=>c.close():()=>Ht(void 0),C=c.abort!==void 0?p=>c.abort(p):()=>Ht(void 0),function(p,Q,R,_,d,S,m,T){Q._controlledWritableStream=p,p._writableStreamController=Q,Q._queue=void 0,Q._queueTotalSize=void 0,WA(Q),Q._abortReason=void 0,Q._abortController=function(){if(Ez)return new AbortController}(),Q._started=!1,Q._strategySizeAlgorithm=T,Q._strategyHWM=m,Q._writeAlgorithm=_,Q._closeAlgorithm=d,Q._abortAlgorithm=S;let L=mQ(Q);QQ(p,L);let v=R();Mn(Ht(v),()=>(Q._started=!0,YE(Q),null),I=>(Q._started=!0,S0(p,I),null))}(a,f,h,g,b,C,l,A)})(this,n,Nh(r,1),s)}get locked(){if(!ao(this))throw Jd("locked");return aE(this)}abort(e){return ao(this)?aE(this)?at(new TypeError("Cannot abort a stream that already has a writer")):XN(this,e):at(Jd("abort"))}close(){return ao(this)?aE(this)?at(new TypeError("Cannot close a stream that already has a writer")):GA(this)?at(new TypeError("Cannot close an already-closing stream")):$N(this):at(Jd("close"))}getWriter(){if(!ao(this))throw Jd("getWriter");return new HA(this)}};function ao(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")&&e instanceof Ja}function aE(e){return e._writer!==void 0}function XN(e,t){var r;if(e._state==="closed"||e._state==="errored")return Ht(void 0);e._writableStreamController._abortReason=t,(r=e._writableStreamController._abortController)===null||r===void 0||r.abort(t);let n=e._state;if(n==="closed"||n==="errored")return Ht(void 0);if(e._pendingAbortRequest!==void 0)return e._pendingAbortRequest._promise;let i=!1;n==="erroring"&&(i=!0,t=void 0);let s=ti((a,c)=>{e._pendingAbortRequest={_promise:void 0,_resolve:a,_reject:c,_reason:t,_wasAlreadyErroring:i}});return e._pendingAbortRequest._promise=s,i||BQ(e,t),s}function $N(e){let t=e._state;if(t==="closed"||t==="errored")return at(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));let r=ti((s,a)=>{let c={_resolve:s,_reject:a};e._closeRequest=c}),n=e._writer;var i;return n!==void 0&&e._backpressure&&t==="writable"&&wQ(n),pQ(i=e._writableStreamController,eT,0),YE(i),r}function S0(e,t){e._state!=="writable"?yQ(e):BQ(e,t)}function BQ(e,t){let r=e._writableStreamController;e._state="erroring",e._storedError=t;let n=e._writer;n!==void 0&&ZN(n,t),!function(i){return!(i._inFlightWriteRequest===void 0&&i._inFlightCloseRequest===void 0)}(e)&&r._started&&yQ(e)}function yQ(e){e._state="errored",e._writableStreamController[bN]();let t=e._storedError;if(e._writeRequests.forEach(n=>{n._reject(t)}),e._writeRequests=new us,e._pendingAbortRequest===void 0)return void Yd(e);let r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring)return r._reject(t),void Yd(e);Mn(e._writableStreamController[mN](r._reason),()=>(r._resolve(),Yd(e),null),n=>(r._reject(n),Yd(e),null))}function GA(e){return e._closeRequest!==void 0||e._inFlightCloseRequest!==void 0}function Yd(e){e._closeRequest!==void 0&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);let t=e._writer;t!==void 0&&bQ(t,e._storedError)}function QQ(e,t){let r=e._writer;r!==void 0&&t!==e._backpressure&&(t?function(n){JE(n)}(r):wQ(r)),e._backpressure=t}Object.defineProperties(Ja.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),Ut(Ja.prototype.abort,"abort"),Ut(Ja.prototype.close,"close"),Ut(Ja.prototype.getWriter,"getWriter"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ja.prototype,Dt.toStringTag,{value:"WritableStream",configurable:!0});var HA=class{constructor(e){if(nA(e,1,"WritableStreamDefaultWriter"),function(n,i){if(!ao(n))throw new TypeError(`${i} is not a WritableStream.`)}(e,"First parameter"),aE(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;let t=e._state;if(t==="writable")!GA(e)&&e._backpressure?JE(this):Fk(this),cE(this);else if(t==="erroring")R0(this,e._storedError),cE(this);else if(t==="closed")Fk(this),cE(r=this),nT(r);else{let n=e._storedError;R0(this,n),Lk(this,n)}var r}get closed(){return xa(this)?this._closedPromise:at(Ma("closed"))}get desiredSize(){if(!xa(this))throw Ma("desiredSize");if(this._ownerWritableStream===void 0)throw Ih("desiredSize");return function(e){let t=e._ownerWritableStream,r=t._state;return r==="errored"||r==="erroring"?null:r==="closed"?0:tT(t._writableStreamController)}(this)}get ready(){return xa(this)?this._readyPromise:at(Ma("ready"))}abort(e){return xa(this)?this._ownerWritableStream===void 0?at(Ih("abort")):function(t,r){return XN(t._ownerWritableStream,r)}(this,e):at(Ma("abort"))}close(){if(!xa(this))return at(Ma("close"));let e=this._ownerWritableStream;return e===void 0?at(Ih("close")):GA(e)?at(new TypeError("Cannot close an already-closing stream")):$N(this._ownerWritableStream)}releaseLock(){if(!xa(this))throw Ma("releaseLock");this._ownerWritableStream!==void 0&&function(e){let t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");ZN(e,r),function(n,i){n._closedPromiseState==="pending"?bQ(n,i):function(s,a){Lk(s,a)}(n,i)}(e,r),t._writer=void 0,e._ownerWritableStream=void 0}(this)}write(e){return xa(this)?this._ownerWritableStream===void 0?at(Ih("write to")):function(t,r){let n=t._ownerWritableStream,i=n._writableStreamController,s=function(l,A){try{return l._strategySizeAlgorithm(A)}catch(f){return Tk(l,f),1}}(i,r);if(n!==t._ownerWritableStream)return at(Ih("write to"));let a=n._state;if(a==="errored")return at(n._storedError);if(GA(n)||a==="closed")return at(new TypeError("The stream is closing or closed and cannot be written to"));if(a==="erroring")return at(n._storedError);let c=function(l){return ti((A,f)=>{let h={_resolve:A,_reject:f};l._writeRequests.push(h)})}(n);return function(l,A,f){try{pQ(l,A,f)}catch(g){return void Tk(l,g)}let h=l._controlledWritableStream;!GA(h)&&h._state==="writable"&&QQ(h,mQ(l)),YE(l)}(i,r,s),c}(this,e):at(Ma("write"))}};function xa(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof HA}function ZN(e,t){e._readyPromiseState==="pending"?iT(e,t):function(r,n){R0(r,n)}(e,t)}Object.defineProperties(HA.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),Ut(HA.prototype.abort,"abort"),Ut(HA.prototype.close,"close"),Ut(HA.prototype.releaseLock,"releaseLock"),Ut(HA.prototype.write,"write"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(HA.prototype,Dt.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});var eT={},BE=class{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!e0(this))throw t0("abortReason");return this._abortReason}get signal(){if(!e0(this))throw t0("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(e){if(!e0(this))throw t0("error");this._controlledWritableStream._state==="writable"&&rT(this,e)}[mN](e){let t=this._abortAlgorithm(e);return yE(this),t}[bN](){WA(this)}};function e0(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof BE}function yE(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function tT(e){return e._strategyHWM-e._queueTotalSize}function YE(e){let t=e._controlledWritableStream;if(!e._started||t._inFlightWriteRequest!==void 0)return;if(t._state==="erroring")return void yQ(t);if(e._queue.length===0)return;let r=e._queue.peek().value;r===eT?function(n){let i=n._controlledWritableStream;(function(a){a._inFlightCloseRequest=a._closeRequest,a._closeRequest=void 0})(i),b0(n);let s=n._closeAlgorithm();yE(n),Mn(s,()=>(function(a){a._inFlightCloseRequest._resolve(void 0),a._inFlightCloseRequest=void 0,a._state==="erroring"&&(a._storedError=void 0,a._pendingAbortRequest!==void 0&&(a._pendingAbortRequest._resolve(),a._pendingAbortRequest=void 0)),a._state="closed";let c=a._writer;c!==void 0&&nT(c)}(i),null),a=>(function(c,l){c._inFlightCloseRequest._reject(l),c._inFlightCloseRequest=void 0,c._pendingAbortRequest!==void 0&&(c._pendingAbortRequest._reject(l),c._pendingAbortRequest=void 0),S0(c,l)}(i,a),null))}(e):function(n,i){let s=n._controlledWritableStream;(function(a){a._inFlightWriteRequest=a._writeRequests.shift()})(s),Mn(n._writeAlgorithm(i),()=>{(function(c){c._inFlightWriteRequest._resolve(void 0),c._inFlightWriteRequest=void 0})(s);let a=s._state;if(b0(n),!GA(s)&&a==="writable"){let c=mQ(n);QQ(s,c)}return YE(n),null},a=>(s._state==="writable"&&yE(n),function(c,l){c._inFlightWriteRequest._reject(l),c._inFlightWriteRequest=void 0,S0(c,l)}(s,a),null))}(e,r)}function Tk(e,t){e._controlledWritableStream._state==="writable"&&rT(e,t)}function mQ(e){return tT(e)<=0}function rT(e,t){let r=e._controlledWritableStream;yE(e),BQ(r,t)}function Jd(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function t0(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function Ma(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function Ih(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function cE(e){e._closedPromise=ti((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function Lk(e,t){cE(e),bQ(e,t)}function bQ(e,t){e._closedPromise_reject!==void 0&&(Ll(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function nT(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 JE(e){e._readyPromise=ti((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function R0(e,t){JE(e),iT(e,t)}function Fk(e){JE(e),wQ(e)}function iT(e,t){e._readyPromise_reject!==void 0&&(Ll(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function wQ(e){e._readyPromise_resolve!==void 0&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}Object.defineProperties(BE.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(BE.prototype,Dt.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});var Uk=typeof DOMException<"u"?DOMException:void 0,pz=function(e){if(typeof e!="function"&&typeof e!="object")return!1;try{return new e,!0}catch{return!1}}(Uk)?Uk:function(){let e=function(t,r){this.message=t||"",this.name=r||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}();function xk(e,t,r,n,i,s){let a=e.getReader(),c=t.getWriter();Xa(e)&&(e._disturbed=!0);let l,A,f,h=!1,g=!1,b="readable",C="writable",p=!1,Q=!1,R=ti(d=>{f=d}),_=Promise.resolve(void 0);return ti((d,S)=>{let m;function T(){if(h)return;let V=ti((w,N)=>{(function F(M){M?w():eA(function(){return h?Ht(!0):eA(c.ready,()=>eA(a.read(),P=>!!P.done||(_=c.write(P.value),Ll(_),!1)))}(),F,N)})(!1)});Ll(V)}function L(){return b="closed",r?O():E(()=>(ao(t)&&(p=GA(t),C=t._state),p||C==="closed"?Ht(void 0):C==="erroring"||C==="errored"?at(A):(p=!0,c.close())),!1,void 0),null}function v(V){return h||(b="errored",l=V,n?O(!0,V):E(()=>c.abort(V),!0,V)),null}function I(V){return g||(C="errored",A=V,i?O(!0,V):E(()=>a.cancel(V),!0,V)),null}if(s!==void 0&&(m=()=>{let V=s.reason!==void 0?s.reason:new pz("Aborted","AbortError"),w=[];n||w.push(()=>C==="writable"?c.abort(V):Ht(void 0)),i||w.push(()=>b==="readable"?a.cancel(V):Ht(void 0)),E(()=>Promise.all(w.map(N=>N())),!0,V)},s.aborted?m():s.addEventListener("abort",m)),Xa(e)&&(b=e._state,l=e._storedError),ao(t)&&(C=t._state,A=t._storedError,p=GA(t)),Xa(e)&&ao(t)&&(Q=!0,f()),b==="errored")v(l);else if(C==="erroring"||C==="errored")I(A);else if(b==="closed")L();else if(p||C==="closed"){let V=new TypeError("the destination writable stream closed before all data could be piped to it");i?O(!0,V):E(()=>a.cancel(V),!0,V)}function E(V,w,N){function F(){return C!=="writable"||p?M():mk(function(){let P;return Ht(function ee(){if(P!==_)return P=_,Ss(_,ee,ee)}())}(),M),null}function M(){return V?Mn(V(),()=>q(w,N),P=>q(!0,P)):q(w,N),null}h||(h=!0,Q?F():mk(R,F))}function O(V,w){E(void 0,V,w)}function q(V,w){return g=!0,c.releaseLock(),a.releaseLock(),s!==void 0&&s.removeEventListener("abort",m),V?S(w):d(void 0),null}h||(Mn(a.closed,L,v),Mn(c.closed,function(){return g||(C="closed"),null},I)),Q?T():oE(()=>{Q=!0,f(),T()})})}function Cz(e,t){return function(r){try{return r.getReader({mode:"byob"}).releaseLock(),!0}catch{return!1}}(e)?function(r){let n,i,s,a,c,l=r.getReader(),A=!1,f=!1,h=!1,g=!1,b=!1,C=!1,p=ti(I=>{c=I});function Q(I){bk(I.closed,E=>(I!==l||(s.error(E),a.error(E),b&&C||c(void 0)),null))}function R(){A&&(l.releaseLock(),l=r.getReader(),Q(l),A=!1),Mn(l.read(),I=>{var E,O;if(h=!1,g=!1,I.done)return b||s.close(),C||a.close(),(E=s.byobRequest)===null||E===void 0||E.respond(0),(O=a.byobRequest)===null||O===void 0||O.respond(0),b&&C||c(void 0),null;let q=I.value,V=q,w=q;if(!b&&!C)try{w=_k(q)}catch(N){return s.error(N),a.error(N),c(l.cancel(N)),null}return b||s.enqueue(V),C||a.enqueue(w),f=!1,h?d():g&&S(),null},()=>(f=!1,null))}function _(I,E){A||(l.releaseLock(),l=r.getReader({mode:"byob"}),Q(l),A=!0);let O=E?a:s,q=E?s:a;Mn(l.read(I),V=>{var w;h=!1,g=!1;let N=E?C:b,F=E?b:C;if(V.done){N||O.close(),F||q.close();let P=V.value;return P!==void 0&&(N||O.byobRequest.respondWithNewView(P),F||(w=q.byobRequest)===null||w===void 0||w.respond(0)),N&&F||c(void 0),null}let M=V.value;if(F)N||O.byobRequest.respondWithNewView(M);else{let P;try{P=_k(M)}catch(ee){return O.error(ee),q.error(ee),c(l.cancel(ee)),null}N||O.byobRequest.respondWithNewView(M),q.enqueue(P)}return f=!1,h?d():g&&S(),null},()=>(f=!1,null))}function d(){if(f)return h=!0,Ht(void 0);f=!0;let I=s.byobRequest;return I===null?R():_(I.view,!1),Ht(void 0)}function S(){if(f)return g=!0,Ht(void 0);f=!0;let I=a.byobRequest;return I===null?R():_(I.view,!0),Ht(void 0)}function m(I){if(b=!0,n=I,C){let E=[n,i],O=l.cancel(E);c(O)}return p}function T(I){if(C=!0,i=I,b){let E=[n,i],O=l.cancel(E);c(O)}return p}let L=new wn({type:"bytes",start(I){s=I},pull:d,cancel:m}),v=new wn({type:"bytes",start(I){a=I},pull:S,cancel:T});return Q(l),[L,v]}(e):function(r,n){let i=r.getReader(),s,a,c,l,A,f=!1,h=!1,g=!1,b=!1,C=ti(S=>{A=S});function p(){return f?(h=!0,Ht(void 0)):(f=!0,Mn(i.read(),S=>{if(h=!1,S.done)return g||c.close(),b||l.close(),g&&b||A(void 0),null;let m=S.value,T=m,L=m;return g||c.enqueue(T),b||l.enqueue(L),f=!1,h&&p(),null},()=>(f=!1,null)),Ht(void 0))}function Q(S){if(g=!0,s=S,b){let m=[s,a],T=i.cancel(m);A(T)}return C}function R(S){if(b=!0,a=S,g){let m=[s,a],T=i.cancel(m);A(T)}return C}let _=new wn({start(S){c=S},pull:p,cancel:Q}),d=new wn({start(S){l=S},pull:p,cancel:R});return bk(i.closed,S=>(c.error(S),l.error(S),g&&b||A(void 0),null)),[_,d]}(e)}var Wa=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Wd(this))throw jd("desiredSize");return sT(this)}close(){if(!Wd(this))throw jd("close");if(!bh(this))throw new TypeError("The stream is not in a state that permits close");(function(e){if(!bh(e))return;let t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(lE(e),Th(t))})(this)}enqueue(e){if(!Wd(this))throw jd("enqueue");if(!bh(this))throw new TypeError("The stream is not in a state that permits enqueue");return function(t,r){if(!bh(t))return;let n=t._controlledReadableStream;if(xl(n)&&GE(n)>0)EQ(n,r,!1);else{let i;try{i=t._strategySizeAlgorithm(r)}catch(s){throw Rh(t,s),s}try{pQ(t,r,i)}catch(s){throw Rh(t,s),s}}Sh(t)}(this,e)}error(e){if(!Wd(this))throw jd("error");Rh(this,e)}[uQ](e){WA(this);let t=this._cancelAlgorithm(e);return lE(this),t}[hQ](e){let t=this._controlledReadableStream;if(this._queue.length>0){let r=b0(this);this._closeRequested&&this._queue.length===0?(lE(this),Th(t)):Sh(this),e._chunkSteps(r)}else LN(t,e),Sh(this)}[fQ](){}};function Wd(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof Wa}function Sh(e){if(function(t){let r=t._controlledReadableStream;return!bh(t)||!t._started?!1:!!(xl(r)&&GE(r)>0||sT(t)>0)}(e)){if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0,Mn(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Sh(e)),null),t=>(Rh(e,t),null))}}function lE(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Rh(e,t){let r=e._controlledReadableStream;r._state==="readable"&&(WA(e),lE(e),AT(r,t))}function sT(e){let t=e._controlledReadableStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function bh(e){return!e._closeRequested&&e._controlledReadableStream._state==="readable"}function Iz(e,t,r,n){let i=Object.create(Wa.prototype),s,a,c;s=t.start!==void 0?()=>t.start(i):()=>{},a=t.pull!==void 0?()=>t.pull(i):()=>Ht(void 0),c=t.cancel!==void 0?l=>t.cancel(l):()=>Ht(void 0),function(l,A,f,h,g,b,C){A._controlledReadableStream=l,A._queue=void 0,A._queueTotalSize=void 0,WA(A),A._started=!1,A._closeRequested=!1,A._pullAgain=!1,A._pulling=!1,A._strategySizeAlgorithm=C,A._strategyHWM=b,A._pullAlgorithm=h,A._cancelAlgorithm=g,l._readableStreamController=A,Mn(Ht(f()),()=>(A._started=!0,Sh(A),null),p=>(Rh(A,p),null))}(e,i,s,a,c,r,n)}function jd(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function Bz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function yz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function Qz(e,t,r){return ks(e,r),n=>HE(e,t,[n])}function mz(e,t){if((e=`${e}`)!="bytes")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function bz(e,t){if((e=`${e}`)!="byob")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function Mk(e,t){tA(e,t);let r=e?.preventAbort,n=e?.preventCancel,i=e?.preventClose,s=e?.signal;return s!==void 0&&function(a,c){if(!function(l){if(typeof l!="object"||l===null)return!1;try{return typeof l.aborted=="boolean"}catch{return!1}}(a))throw new TypeError(`${c} is not an AbortSignal.`)}(s,`${t} has member 'signal' that`),{preventAbort:!!r,preventCancel:!!n,preventClose:!!i,signal:s}}function wz(e,t){tA(e,t);let r=e?.readable;m0(r,"readable","ReadableWritablePair"),function(i,s){if(!mh(i))throw new TypeError(`${s} is not a ReadableStream.`)}(r,`${t} has member 'readable' that`);let n=e?.writable;return m0(n,"writable","ReadableWritablePair"),function(i,s){if(!NN(i))throw new TypeError(`${s} is not a WritableStream.`)}(n,`${t} has member 'writable' that`),{readable:r,writable:n}}Object.defineProperties(Wa.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),Ut(Wa.prototype.close,"close"),Ut(Wa.prototype.enqueue,"enqueue"),Ut(Wa.prototype.error,"error"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Wa.prototype,Dt.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});var wn=class{constructor(e={},t={}){e===void 0?e=null:kN(e,"First parameter");let r=IE(t,"Second parameter"),n=function(s,a){tA(s,a);let c=s,l=c?.autoAllocateChunkSize,A=c?.cancel,f=c?.pull,h=c?.start,g=c?.type;return{autoAllocateChunkSize:l===void 0?void 0:DN(l,`${a} has member 'autoAllocateChunkSize' that`),cancel:A===void 0?void 0:Bz(A,c,`${a} has member 'cancel' that`),pull:f===void 0?void 0:yz(f,c,`${a} has member 'pull' that`),start:h===void 0?void 0:Qz(h,c,`${a} has member 'start' that`),type:g===void 0?void 0:mz(g,`${a} has member 'type' that`)}}(e,"First parameter");var i;if((i=this)._state="readable",i._reader=void 0,i._storedError=void 0,i._disturbed=!1,n.type==="bytes"){if(r.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");lz(this,n,Nh(r,0))}else{let s=CE(r);Iz(this,n,Nh(r,1),s)}}get locked(){if(!Xa(this))throw Oa("locked");return xl(this)}cancel(e){return Xa(this)?xl(this)?at(new TypeError("Cannot cancel a stream that already has a reader")):oT(this,e):at(Oa("cancel"))}getReader(e){if(!Xa(this))throw Oa("getReader");return function(t,r){tA(t,r);let n=t?.mode;return{mode:n===void 0?void 0:bz(n,`${r} has member 'mode' that`)}}(e,"First parameter").mode===void 0?new Ha(this):function(t){return new Ya(t)}(this)}pipeThrough(e,t={}){if(!mh(this))throw Oa("pipeThrough");nA(e,1,"pipeThrough");let r=wz(e,"First parameter"),n=Mk(t,"Second parameter");if(this.locked)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(r.writable.locked)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return Ll(xk(this,r.writable,n.preventClose,n.preventAbort,n.preventCancel,n.signal)),r.readable}pipeTo(e,t={}){if(!mh(this))return at(Oa("pipeTo"));if(e===void 0)return at("Parameter 1 is required in 'pipeTo'.");if(!NN(e))return at(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let r;try{r=Mk(t,"Second parameter")}catch(n){return at(n)}return this.locked?at(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):e.locked?at(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):xk(this,e,r.preventClose,r.preventAbort,r.preventCancel,r.signal)}tee(){if(!mh(this))throw Oa("tee");if(this.locked)throw new TypeError("Cannot tee a stream that already has a reader");return Cz(this)}values(e){if(!mh(this))throw Oa("values");return function(t,r){let n=t.getReader(),i=new xN(n,r),s=Object.create(MN);return s._asyncIteratorImpl=i,s}(this,function(t,r){return tA(t,r),{preventCancel:!!t?.preventCancel}}(e,"First parameter").preventCancel)}};function Xa(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof wn}function xl(e){return e._reader!==void 0}function oT(e,t){if(e._disturbed=!0,e._state==="closed")return Ht(void 0);if(e._state==="errored")return at(e._storedError);Th(e);let r=e._reader;if(r!==void 0&&_l(r)){let n=r._readIntoRequests;r._readIntoRequests=new us,n.forEach(i=>{i._closeSteps(void 0)})}return Ss(e._readableStreamController[uQ](t),yN)}function Th(e){e._state="closed";let t=e._reader;if(t!==void 0&&(_N(t),Ka(t))){let r=t._readRequests;t._readRequests=new us,r.forEach(n=>{n._closeSteps()})}}function AT(e,t){e._state="errored",e._storedError=t;let r=e._reader;r!==void 0&&(gQ(r,t),Ka(r)?UN(r,t):KN(r,t))}function Oa(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function aT(e,t){tA(e,t);let r=e?.highWaterMark;return m0(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:dQ(r)}}Object.defineProperties(wn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),Ut(wn.prototype.cancel,"cancel"),Ut(wn.prototype.getReader,"getReader"),Ut(wn.prototype.pipeThrough,"pipeThrough"),Ut(wn.prototype.pipeTo,"pipeTo"),Ut(wn.prototype.tee,"tee"),Ut(wn.prototype.values,"values"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(wn.prototype,Dt.toStringTag,{value:"ReadableStream",configurable:!0}),typeof Dt.asyncIterator=="symbol"&&Object.defineProperty(wn.prototype,Dt.asyncIterator,{value:wn.prototype.values,writable:!0,configurable:!0});var cT=e=>e.byteLength;Ut(cT,"size");var _0=class{constructor(e){nA(e,1,"ByteLengthQueuingStrategy"),e=aT(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!Pk(this))throw Ok("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Pk(this))throw Ok("size");return cT}};function Ok(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function Pk(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof _0}Object.defineProperties(_0.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(_0.prototype,Dt.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});var lT=()=>1;Ut(lT,"size");var k0=class{constructor(e){nA(e,1,"CountQueuingStrategy"),e=aT(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!Vk(this))throw qk("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Vk(this))throw qk("size");return lT}};function qk(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function Vk(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof k0}function vz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function Sz(e,t,r){return ks(e,r),n=>HE(e,t,[n])}function Rz(e,t,r){return ks(e,r),(n,i)=>Za(e,t,[n,i])}Object.defineProperties(k0.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(k0.prototype,Dt.toStringTag,{value:"CountQueuingStrategy",configurable:!0});var D0=class{constructor(e={},t={},r={}){e===void 0&&(e=null);let n=IE(t,"Second parameter"),i=IE(r,"Third parameter"),s=function(h,g){tA(h,g);let b=h?.flush,C=h?.readableType,p=h?.start,Q=h?.transform,R=h?.writableType;return{flush:b===void 0?void 0:vz(b,h,`${g} has member 'flush' that`),readableType:C,start:p===void 0?void 0:Sz(p,h,`${g} has member 'start' that`),transform:Q===void 0?void 0:Rz(Q,h,`${g} has member 'transform' that`),writableType:R}}(e,"First parameter");if(s.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(s.writableType!==void 0)throw new RangeError("Invalid writableType specified");let a=Nh(i,0),c=CE(i),l=Nh(n,1),A=CE(n),f;(function(h,g,b,C,p,Q){function R(){return g}function _(L){return function(v,I){let E=v._transformStreamController;return v._backpressure?Ss(v._backpressureChangePromise,()=>{if((ao(v._writable)?v._writable._state:v._writableState)==="erroring")throw ao(v._writable)?v._writable._storedError:v._writableStoredError;return Gk(E,I)}):Gk(E,I)}(h,L)}function d(L){return function(v,I){return QE(v,I),Ht(void 0)}(h,L)}function S(){return function(L){let v=L._transformStreamController,I=v._flushAlgorithm();return uT(v),Ss(I,()=>{if(L._readableState==="errored")throw L._readableStoredError;bE(L)&&fT(L)},E=>{throw QE(L,E),L._readableStoredError})}(h)}function m(){return function(L){return mE(L,!1),L._backpressureChangePromise}(h)}function T(L){return WE(h,L),Ht(void 0)}h._writableState="writable",h._writableStoredError=void 0,h._writableHasInFlightOperation=!1,h._writableStarted=!1,h._writable=function(L,v,I,E,O,q,V){return new Ja({start(w){L._writableController=w;try{let N=w.signal;N!==void 0&&N.addEventListener("abort",()=>{L._writableState==="writable"&&(L._writableState="erroring",N.reason&&(L._writableStoredError=N.reason))})}catch{}return Ss(v(),()=>(L._writableStarted=!0,Jk(L),null),N=>{throw L._writableStarted=!0,r0(L,N),N})},write:w=>(function(N){N._writableHasInFlightOperation=!0}(L),Ss(I(w),()=>(function(N){N._writableHasInFlightOperation=!1}(L),Jk(L),null),N=>{throw function(F,M){F._writableHasInFlightOperation=!1,r0(F,M)}(L,N),N})),close:()=>(function(w){w._writableHasInFlightOperation=!0}(L),Ss(E(),()=>(function(w){w._writableHasInFlightOperation=!1,w._writableState==="erroring"&&(w._writableStoredError=void 0),w._writableState="closed"}(L),null),w=>{throw function(N,F){N._writableHasInFlightOperation=!1,N._writableState,r0(N,F)}(L,w),w})),abort:w=>(L._writableState="errored",L._writableStoredError=w,O(w))},{highWaterMark:q,size:V})}(h,R,_,S,d,b,C),h._readableState="readable",h._readableStoredError=void 0,h._readableCloseRequested=!1,h._readablePulling=!1,h._readable=function(L,v,I,E,O,q){return new wn({start:V=>(L._readableController=V,v().catch(w=>{wE(L,w)})),pull:()=>(L._readablePulling=!0,I().catch(V=>{wE(L,V)})),cancel:V=>(L._readableState="closed",E(V))},{highWaterMark:O,size:q})}(h,R,m,T,p,Q),h._backpressure=void 0,h._backpressureChangePromise=void 0,h._backpressureChangePromise_resolve=void 0,mE(h,!0),h._transformStreamController=void 0})(this,ti(h=>{f=h}),l,A,a,c),function(h,g){let b=Object.create(ja.prototype),C,p;C=g.transform!==void 0?Q=>g.transform(Q,b):Q=>{try{return hT(b,Q),Ht(void 0)}catch(R){return at(R)}},p=g.flush!==void 0?()=>g.flush(b):()=>Ht(void 0),function(Q,R,_,d){R._controlledTransformStream=Q,Q._transformStreamController=R,R._transformAlgorithm=_,R._flushAlgorithm=d}(h,b,C,p)}(this,s),s.start!==void 0?f(s.start(this._transformStreamController)):f(void 0)}get readable(){if(!Hk(this))throw Yk("readable");return this._readable}get writable(){if(!Hk(this))throw Yk("writable");return this._writable}};function Hk(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof D0}function QE(e,t){wE(e,t),WE(e,t)}function WE(e,t){uT(e._transformStreamController),function(r,n){r._writableController.error(n),r._writableState==="writable"&&dT(r,n)}(e,t),e._backpressure&&mE(e,!1)}function mE(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=ti(r=>{e._backpressureChangePromise_resolve=r}),e._backpressure=t}Object.defineProperties(D0.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(D0.prototype,Dt.toStringTag,{value:"TransformStream",configurable:!0});var ja=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!zd(this))throw Kd("desiredSize");return gT(this._controlledTransformStream)}enqueue(e){if(!zd(this))throw Kd("enqueue");hT(this,e)}error(e){if(!zd(this))throw Kd("error");var t;t=e,QE(this._controlledTransformStream,t)}terminate(){if(!zd(this))throw Kd("terminate");(function(e){let t=e._controlledTransformStream;bE(t)&&fT(t);let r=new TypeError("TransformStream terminated");WE(t,r)})(this)}};function zd(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof ja}function uT(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function hT(e,t){let r=e._controlledTransformStream;if(!bE(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{(function(n,i){n._readablePulling=!1;try{n._readableController.enqueue(i)}catch(s){throw wE(n,s),s}})(r,t)}catch(n){throw WE(r,n),r._readableStoredError}(function(n){return!function(i){return bE(i)?!!(i._readablePulling||gT(i)>0):!1}(n)})(r)!==r._backpressure&&mE(r,!0)}function Gk(e,t){return Ss(e._transformAlgorithm(t),void 0,r=>{throw QE(e._controlledTransformStream,r),r})}function Kd(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function Yk(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}function bE(e){return!e._readableCloseRequested&&e._readableState==="readable"}function fT(e){e._readableState="closed",e._readableCloseRequested=!0,e._readableController.close()}function wE(e,t){e._readableState==="readable"&&(e._readableState="errored",e._readableStoredError=t),e._readableController.error(t)}function gT(e){return e._readableController.desiredSize}function r0(e,t){e._writableState!=="writable"?vQ(e):dT(e,t)}function dT(e,t){e._writableState="erroring",e._writableStoredError=t,!function(r){return r._writableHasInFlightOperation}(e)&&e._writableStarted&&vQ(e)}function vQ(e){e._writableState="errored"}function Jk(e){e._writableState==="erroring"&&vQ(e)}Object.defineProperties(ja.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),Ut(ja.prototype.enqueue,"enqueue"),Ut(ja.prototype.error,"error"),Ut(ja.prototype.terminate,"terminate"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(ja.prototype,Dt.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});var ET=65536;async function*_z(e){let t=e.byteOffset+e.byteLength,r=e.byteOffset;for(;r!==t;){let n=Math.min(t-r,ET),i=e.buffer.slice(r,r+n);r+=i.byteLength,yield new Uint8Array(i)}}async function*kz(e){let t=0;for(;t!==e.size;){let r=await e.slice(t,Math.min(e.size,t+ET)).arrayBuffer();t+=r.byteLength,yield new Uint8Array(r)}}async function*n0(e,t=!1){for(let r of e)ArrayBuffer.isView(r)?t?yield*_z(r):yield r:fn(r.stream)?yield*r.stream():yield*kz(r)}function*Dz(e,t,r=0,n){n??(n=t);let i=r<0?Math.max(t+r,0):Math.min(r,t),s=n<0?Math.max(t+n,0):Math.min(n,t),a=Math.max(s-i,0),c=0;for(let l of e){if(c>=a)break;let A=ArrayBuffer.isView(l)?l.byteLength:l.size;if(i&&A<=i)i-=A,s-=A;else{let f;ArrayBuffer.isView(l)?(f=l.subarray(i,Math.min(A,s)),c+=f.byteLength):(f=l.slice(i,Math.min(A,s)),c+=f.size),s-=A,i=0,yield f}}}var PA=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Wk=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},Pa,Xd,Bh,vE=class N0{static[(Pa=new WeakMap,Xd=new WeakMap,Bh=new WeakMap,Symbol.hasInstance)](t){return!!(t&&typeof t=="object"&&fn(t.constructor)&&(fn(t.stream)||fn(t.arrayBuffer))&&/^(Blob|File)$/.test(t[Symbol.toStringTag]))}constructor(t=[],r={}){if(Pa.set(this,[]),Xd.set(this,""),Bh.set(this,0),r??(r={}),typeof t!="object"||t===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(!fn(t[Symbol.iterator]))throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof r!="object"&&!fn(r))throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");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 N0?a=s:a=n.encode(String(s)),Wk(this,Bh,PA(this,Bh,"f")+(ArrayBuffer.isView(a)?a.byteLength:a.size),"f"),PA(this,Pa,"f").push(a)}let i=r.type===void 0?"":String(r.type);Wk(this,Xd,/^[\x20-\x7E]*$/.test(i)?i:"","f")}get type(){return PA(this,Xd,"f")}get size(){return PA(this,Bh,"f")}slice(t,r,n){return new N0(Dz(PA(this,Pa,"f"),this.size,t,r),{type:n})}async text(){let t=new TextDecoder,r="";for await(let n of n0(PA(this,Pa,"f")))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 n0(PA(this,Pa,"f")))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=n0(PA(this,Pa,"f"),!0);return new wn({async pull(r){let{value:n,done:i}=await t.next();if(i)return queueMicrotask(()=>r.close());r.enqueue(n)},async cancel(){await t.return()}})}get[Symbol.toStringTag](){return"Blob"}};Object.defineProperties(vE.prototype,{type:{enumerable:!0},size:{enumerable:!0},slice:{enumerable:!0},stream:{enumerable:!0},text:{enumerable:!0},arrayBuffer:{enumerable:!0}});var Nz=e=>e instanceof vE,jk=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},zk=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},$d,Zd,SE=class extends vE{static[($d=new WeakMap,Zd=new WeakMap,Symbol.hasInstance)](e){return e instanceof vE&&e[Symbol.toStringTag]==="File"&&typeof e.name=="string"}constructor(e,t,r={}){if(super(e,r),$d.set(this,void 0),Zd.set(this,0),arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);jk(this,$d,String(t),"f");let n=r.lastModified===void 0?Date.now():Number(r.lastModified);Number.isNaN(n)||jk(this,Zd,n,"f")}get name(){return zk(this,$d,"f")}get webkitRelativePath(){return""}get lastModified(){return zk(this,Zd,"f")}get[Symbol.toStringTag](){return"File"}},Tz=e=>e instanceof SE,no=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},eE,io,i0,Kk=class{constructor(){eE.add(this),io.set(this,new Map)}static[(io=new WeakMap,eE=new WeakSet,Symbol.hasInstance)](e){if(!e)return!1;let t=e;return!!(fn(t.constructor)&&t[Symbol.toStringTag]==="FormData"&&fn(t.append)&&fn(t.set)&&fn(t.get)&&fn(t.getAll)&&fn(t.has)&&fn(t.delete)&&fn(t.entries)&&fn(t.values)&&fn(t.keys)&&fn(t[Symbol.iterator])&&fn(t.forEach))}append(e,t,r){no(this,eE,"m",i0).call(this,{name:e,fileName:r,append:!0,rawValue:t,argsLength:arguments.length})}set(e,t,r){no(this,eE,"m",i0).call(this,{name:e,fileName:r,append:!1,rawValue:t,argsLength:arguments.length})}get(e){let t=no(this,io,"f").get(String(e));return t?t[0]:null}getAll(e){let t=no(this,io,"f").get(String(e));return t?t.slice():[]}has(e){return no(this,io,"f").has(String(e))}delete(e){no(this,io,"f").delete(String(e))}*keys(){for(let e of no(this,io,"f").keys())yield e}*entries(){for(let e of this.keys()){let t=this.getAll(e);for(let r of t)yield[e,r]}}*values(){for(let[,e]of this)yield e}[(i0=function({name:e,rawValue:t,append:r,fileName:n,argsLength:i}){let s=r?"append":"set";if(i<2)throw new TypeError(`Failed to execute '${s}' on 'FormData': 2 arguments required, but only ${i} present.`);e=String(e);let a;if(Tz(t))a=n===void 0?t:new SE([t],n,{type:t.type,lastModified:t.lastModified});else if(Nz(t))a=new SE([t],n===void 0?"blob":n,{type:t.type});else{if(n)throw new TypeError(`Failed to execute '${s}' on 'FormData': parameter 2 is not of type 'Blob'.`);a=String(t)}let c=no(this,io,"f").get(e);if(!c)return void no(this,io,"f").set(e,[a]);if(!r)return void no(this,io,"f").set(e,[a]);c.push(a)},Symbol.iterator)](){return this.entries()}forEach(e,t){for(let[r,n]of this)e.call(t,n,r,this)}get[Symbol.toStringTag](){return"FormData"}},Lz=require("node:fs"),pT=require("node:fs/promises"),Fz=require("node:path"),Uz=$t(jJ(),1),xz=e=>Object.prototype.toString.call(e).slice(8,-1).toLowerCase();function Mz(e){if(xz(e)!=="object")return!1;let t=Object.getPrototypeOf(e);return t==null?!0:(t.constructor&&t.constructor.toString())===Object.toString()}var Oz=Mz,Xk=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},qa=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Va,ml,Pz="The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.",qz=class CT{constructor(t){Va.set(this,void 0),ml.set(this,void 0),Xk(this,Va,t.path,"f"),Xk(this,ml,t.start||0,"f"),this.name=(0,Fz.basename)(qa(this,Va,"f")),this.size=t.size,this.lastModified=t.lastModified}slice(t,r){return new CT({path:qa(this,Va,"f"),lastModified:this.lastModified,start:qa(this,ml,"f")+t,size:r-t})}async*stream(){let{mtimeMs:t}=await(0,pT.stat)(qa(this,Va,"f"));if(t>this.lastModified)throw new Uz.default(Pz,"NotReadableError");this.size&&(yield*(0,Lz.createReadStream)(qa(this,Va,"f"),{start:qa(this,ml,"f"),end:qa(this,ml,"f")+this.size-1}))}get[(Va=new WeakMap,ml=new WeakMap,Symbol.toStringTag)](){return"File"}};function Vz(e,{mtimeMs:t,size:r},n,i={}){let s;Oz(n)?[i,s]=[n,void 0]:s=n;let a=new qz({path:e,size:r,lastModified:t});return s||(s=a.name),new SE([a],s,{...i,lastModified:a.lastModified})}async function Hz(e,t,r){let n=await(0,pT.stat)(e);return Vz(e,n,t,r)}var Gz=$t(NW(),1);async function Yz(e,t,r){for(let n=0;nsetTimeout(i,r))}return!1}var SQ={apiKey:"API Key is required. To get one: https://addons.mozilla.org/en-US/developers/addon/api/key",apiSecret:"API Secret is required. To get one: https://addons.mozilla.org/en-US/developers/addon/api/key"},Jz=Object.keys(SQ),tE="https://addons.mozilla.org/api",Wz=class{options={};get productEndpoint(){return`${tE}/v5/addons/addon/${encodeURIComponent(this.options.extId)}`}constructor(e){for(let t of Jz)if(!e[t])throw new Error(SQ[t]);this.options={...e},typeof this.options.extId=="string"&&this.options.extId.length>0&&!this.options.extId.includes("@")&&(this.options.extId.startsWith("{")||(this.options.extId="{"+e.extId),this.options.extId.endsWith("}")||(this.options.extId+="}")),this.options.channel=e.channel||"listed",this.options.license==="inherit"?delete this.options.license:this.options.license=this.options.license||"all-rights-reserved"}submit=async({filePath:e,version:t="1.0.0"})=>{let r=await this.uploadFile({filePath:e});if(!await Yz(async()=>(await this.getUpload({uploadUuid:r.uuid})).valid,8,2400))throw new Error("Upload has not been validated in time.");return await this.createVersion({uploadUuid:r.uuid,version:t})};uploadFile=async({filePath:e})=>{let t=await this.getAccessToken(),r=`${tE}/v5/addons/upload/`,n=new Kk;n.append("upload",await Hz(e)),n.append("channel",this.options.channel);let i=await Bi.post(r,{body:n,headers:{Authorization:`JWT ${t}`},throwHttpErrors:!1});if(i.statusCode>=400)throw i.statusCode===401?new Error("Invalid access token"):i.statusCode===403?new Error("You do not own this add-on"):new Error(JSON.parse(i.body).error||"Unknown error");return JSON.parse(i.body)};createVersion=async({uploadUuid:e,version:t})=>{let r=await this.getAccessToken(),n=`${this.productEndpoint}/versions/`,i=new Kk;i.append("upload",e),this.options.license&&i.append("license",this.options.license);let s=await Bi.post(n,{body:i,headers:{Authorization:`JWT ${r}`},throwHttpErrors:!1});if(s.statusCode>=400)throw s.statusCode===401?new Error("Invalid access token"):s.statusCode===403?new Error("You do not own this add-on"):s.statusCode===409?new Error(`Version ${t} already exists`):(console.log(s.body),new Error(JSON.parse(s.body).error||"Unknown error"));return JSON.parse(s.body)};getUpload=async({uploadUuid:e})=>{let t=await this.getAccessToken(),r=`${tE}/v5/addons/upload/${e}`;return Bi.get(r,{headers:{Authorization:`JWT ${t}`}}).json()};getVersion=async({version:e="1.0.0"})=>{let t=await this.getAccessToken(),r=`${this.productEndpoint}/versions/${encodeURIComponent(e)}/`;return Bi.get(r,{headers:{Authorization:`JWT ${t}`}}).json()};getProfile=async()=>{let e=await this.getAccessToken(),t=`${tE}/v5/accounts/profile`;return Bi.get(t,{headers:{Authorization:`JWT ${e}`}}).json()};getAccessToken=async()=>{let e=Math.floor(Date.now()/1e3),t={iss:this.options.apiKey,jti:Math.random().toString(),iat:e,exp:e+60*5};return Gz.default.sign(t,this.options.apiSecret,{algorithm:"HS256"})}},Lh="firefox",jz=qE(Lh);async function zz({extId:e,zip:t,dryRun:r,...n}){let i=OE(t),s=i.browser_specific_settings?.gecko?.id||i.applications?.gecko?.id||e,a=new Wz({extId:s,...n});if(jz(`Updating extension with ID ${s}`),r)return!0;try{return await a.submit({filePath:t,version:i.version}),PE({extId:s,market:Lh,zip:t}),!0}catch(c){throw VE(c,Lh,`"${s}" (${i.name})`)}}async function Kz(e){return e.zip=Hh(e),e.verbose&&Gh(Lh),Yh({market:Lh,options:e,errorMap:SQ}),zz(e)}var Xz={packageId:"No package ID is provided, e.g. https://addons.opera.com/developer/package/PACKAGE_ID",sessionid:`No "sessionid" is provided. If you have a hard time obtaining it, run: +`:t),kj=e=>Object.prototype.toString.call(e).slice(8,-1).toLowerCase();function ok(e){if(kj(e)!=="object")return!1;let t=Object.getPrototypeOf(e);return t==null?!0:(t.constructor&&t.constructor.toString())===Object.toString()}function Ak(e,t){if(typeof t=="string"){for(let[r,n]of Object.entries(e))if(t.toLowerCase()===r.toLowerCase())return n}}var Dj=e=>new Proxy(e,{get:(t,r)=>Ak(t,r),has:(t,r)=>Ak(t,r)!==void 0}),qh=e=>!!(e&&Zo(e.constructor)&&e[Symbol.toStringTag]==="FormData"&&Zo(e.append)&&Zo(e.getAll)&&Zo(e.entries)&&Zo(e[Symbol.iterator])),ak=e=>String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22"),Fa=e=>!!(e&&typeof e=="object"&&Zo(e.constructor)&&e[Symbol.toStringTag]==="File"&&Zo(e.stream)&&e.name!=null),hh=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},Qr=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},fh,OA,gh,Md,dh,Ua,Eh,ph,Od,qy,ck,Nj={enableAdditionalHeaders:!1},Pd={writable:!1,configurable:!1},nN=class{constructor(e,t,r){if(fh.add(this),OA.set(this,`\r +`),gh.set(this,void 0),Md.set(this,void 0),dh.set(this,"-".repeat(2)),Ua.set(this,new TextEncoder),Eh.set(this,void 0),ph.set(this,void 0),Od.set(this,void 0),!qh(e))throw new TypeError("Expected first argument to be a FormData instance.");let n;if(ok(t)?r=t:n=t,n||(n=_j()),typeof n!="string")throw new TypeError("Expected boundary argument to be a string.");if(r&&!ok(r))throw new TypeError("Expected options argument to be an object.");hh(this,ph,Array.from(e.entries()),"f"),hh(this,Od,{...Nj,...r},"f"),hh(this,gh,Qr(this,Ua,"f").encode(Qr(this,OA,"f")),"f"),hh(this,Md,Qr(this,gh,"f").byteLength,"f"),this.boundary=`form-data-boundary-${n}`,this.contentType=`multipart/form-data; boundary=${this.boundary}`,hh(this,Eh,Qr(this,Ua,"f").encode(`${Qr(this,dh,"f")}${this.boundary}${Qr(this,dh,"f")}${Qr(this,OA,"f").repeat(2)}`),"f");let i={"Content-Type":this.contentType},s=Qr(this,fh,"m",ck).call(this);s&&(this.contentLength=s,i["Content-Length"]=s),this.headers=Dj(Object.freeze(i)),Object.defineProperties(this,{boundary:Pd,contentType:Pd,contentLength:Pd,headers:Pd})}getContentLength(){return this.contentLength==null?void 0:Number(this.contentLength)}*values(){for(let[e,t]of Qr(this,ph,"f")){let r=Fa(t)?t:Qr(this,Ua,"f").encode(sk(t));yield Qr(this,fh,"m",qy).call(this,e,r),yield r,yield Qr(this,gh,"f")}yield Qr(this,Eh,"f")}async*encode(){for(let e of this.values())Fa(e)?yield*Rj(e.stream()):yield e}[(OA=new WeakMap,gh=new WeakMap,Md=new WeakMap,dh=new WeakMap,Ua=new WeakMap,Eh=new WeakMap,ph=new WeakMap,Od=new WeakMap,fh=new WeakSet,qy=function(e,t){let r="";r+=`${Qr(this,dh,"f")}${this.boundary}${Qr(this,OA,"f")}`,r+=`Content-Disposition: form-data; name="${ak(e)}"`,Fa(t)&&(r+=`; filename="${ak(t.name)}"${Qr(this,OA,"f")}`,r+=`Content-Type: ${t.type||"application/octet-stream"}`);let n=Fa(t)?t.size:t.byteLength;return Qr(this,Od,"f").enableAdditionalHeaders===!0&&n!=null&&!isNaN(n)&&(r+=`${Qr(this,OA,"f")}Content-Length: ${Fa(t)?t.size:t.byteLength}`),Qr(this,Ua,"f").encode(`${r}${Qr(this,OA,"f").repeat(2)}`)},ck=function(){let e=0;for(let[t,r]of Qr(this,ph,"f")){let n=Fa(r)?r:Qr(this,Ua,"f").encode(sk(r)),i=Fa(n)?n.size:n.byteLength;if(i==null||isNaN(i))return;e+=Qr(this,fh,"m",qy).call(this,t,n).byteLength,e+=i,e+=Qr(this,Md,"f")}return String(e+Qr(this,Eh,"f").byteLength)},Symbol.iterator)](){return this.values()}[Symbol.asyncIterator](){return this.encode()}},Tj=require("node:buffer"),Lj=require("node:util");function iN(e){return W.nodeStream(e)&&W.function_(e.getBoundary)}async function Fj(e,t){if(t&&"content-length"in t)return Number(t["content-length"]);if(!e)return 0;if(W.string(e))return Tj.Buffer.byteLength(e);if(W.buffer(e))return e.length;if(iN(e))return(0,Lj.promisify)(e.getLength.bind(e))()}function sN(e,t,r){let n={};for(let i of r){let s=(...a)=>{t.emit(i,...a)};n[i]=s,e.on(i,s)}return()=>{for(let[i,s]of Object.entries(n))e.off(i,s)}}var Uj=$t(require("node:net"),1);function xj(){let e=[];return{once(t,r,n){t.once(r,n),e.push({origin:t,event:r,fn:n})},unhandleAll(){for(let t of e){let{origin:r,event:n,fn:i}=t;r.removeListener(n,i)}e.length=0}}}var lk=Symbol("reentry"),Mj=()=>{},oN=class extends Error{constructor(e,t){super(`Timeout awaiting '${t}' for ${e}ms`),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.code="ETIMEDOUT"}};function Oj(e,t,r){if(lk in e)return Mj;e[lk]=!0;let n=[],{once:i,unhandleAll:s}=xj(),a=(p,Q,R)=>{let _=setTimeout(Q,p,p,R);_.unref?.();let d=()=>{clearTimeout(_)};return n.push(d),d},{host:c,hostname:l}=r,A=(p,Q)=>{e.destroy(new oN(p,Q))},f=()=>{for(let p of n)p();s()};if(e.once("error",p=>{if(f(),e.listenerCount("error")===0)throw p}),t.request!==void 0){let p=a(t.request,A,"request");i(e,"response",Q=>{i(Q,"end",p)})}if(t.socket!==void 0){let{socket:p}=t,Q=()=>{A(p,"socket")};e.setTimeout(p,Q),n.push(()=>{e.removeListener("timeout",Q)})}let h=t.lookup!==void 0,g=t.connect!==void 0,b=t.secureConnect!==void 0,C=t.send!==void 0;return(h||g||b||C)&&i(e,"socket",p=>{let{socketPath:Q}=e;if(p.connecting){let R=!!(Q??Uj.default.isIP(l??c??"")!==0);if(h&&!R&&p.address().address===void 0){let _=a(t.lookup,A,"lookup");i(p,"lookup",_)}if(g){let _=()=>a(t.connect,A,"connect");R?i(p,"connect",_()):i(p,"lookup",d=>{d===null&&i(p,"connect",_())})}b&&r.protocol==="https:"&&i(p,"connect",()=>{let _=a(t.secureConnect,A,"secureConnect");i(p,"secureConnect",_)})}if(C){let R=()=>a(t.send,A,"send");p.connecting?i(p,"connect",()=>{i(e,"upload-complete",R())}):i(e,"upload-complete",R())}}),t.response!==void 0&&i(e,"upload-complete",()=>{let p=a(t.response,A,"response");i(e,"response",p)}),t.read!==void 0&&i(e,"response",p=>{let Q=a(t.read,A,"read");i(p,"end",Q)}),f}function Pj(e){e=e;let t={protocol:e.protocol,hostname:W.string(e.hostname)&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};return W.string(e.port)&&e.port.length>0&&(t.port=Number(e.port)),(e.username||e.password)&&(t.auth=`${e.username||""}:${e.password||""}`),t}var qj=class{constructor(){Object.defineProperty(this,"weakMap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"map",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.weakMap=new WeakMap,this.map=new Map}set(e,t){typeof e=="object"?this.weakMap.set(e,t):this.map.set(e,t)}get(e){return typeof e=="object"?this.weakMap.get(e):this.map.get(e)}has(e){return typeof e=="object"?this.weakMap.has(e):this.map.has(e)}},Vj=({attemptCount:e,retryOptions:t,error:r,retryAfter:n,computedValue:i})=>{if(r.name==="RetryError")return 1;if(e>t.limit)return 0;let s=t.methods.includes(r.options.method),a=t.errorCodes.includes(r.code),c=r.response&&t.statusCodes.includes(r.response.statusCode);if(!s||!a&&!c)return 0;if(r.response){if(n)return n>i?0:n;if(r.response.statusCode===413)return 0}let l=Math.random()*t.noise;return Math.min(2**(e-1)*1e3,t.backoffLimit)+l},Hj=Vj,Gj=$t(require("node:process"),1),Vy=require("node:util"),Yj=require("node:tls"),Jj=$t(require("node:http"),1),Wj=$t(require("node:https"),1),vl=require("node:dns"),Hy=require("node:util"),jj=$t(require("node:os"),1),{Resolver:uk}=vl.promises,Ql=Symbol("cacheableLookupCreateConnection"),Gy=Symbol("cacheableLookupInstance"),hk=Symbol("expires"),zj=typeof vl.ALL=="number",fk=e=>{if(!(e&&typeof e.createConnection=="function"))throw new Error("Expected an Agent instance as the first argument")},Kj=e=>{for(let t of e)t.family!==6&&(t.address=`::ffff:${t.address}`,t.family=6)},gk=()=>{let e=!1,t=!1;for(let r of Object.values(jj.default.networkInterfaces()))for(let n of r)if(!n.internal&&(n.family==="IPv6"?t=!0:e=!0,e&&t))return{has4:e,has6:t};return{has4:e,has6:t}},Xj=e=>Symbol.iterator in e,qd=e=>e.catch(t=>{if(t.code==="ENODATA"||t.code==="ENOTFOUND"||t.code==="ENOENT")return[];throw t}),dk={ttl:!0},$j={all:!0},Zj={all:!0,family:4},e7={all:!0,family:6},AN=class{constructor({cache:e=new Map,maxTtl:t=1/0,fallbackDuration:r=3600,errorTtl:n=.15,resolver:i=new uk,lookup:s=vl.lookup}={}){if(this.maxTtl=t,this.errorTtl=n,this._cache=e,this._resolver=i,this._dnsLookup=s&&(0,Hy.promisify)(s),this.stats={cache:0,query:0},this._resolver instanceof uk?(this._resolve4=this._resolver.resolve4.bind(this._resolver),this._resolve6=this._resolver.resolve6.bind(this._resolver)):(this._resolve4=(0,Hy.promisify)(this._resolver.resolve4.bind(this._resolver)),this._resolve6=(0,Hy.promisify)(this._resolver.resolve6.bind(this._resolver))),this._iface=gk(),this._pending={},this._nextRemovalTime=!1,this._hostnamesToFallback=new Set,this.fallbackDuration=r,r>0){let a=setInterval(()=>{this._hostnamesToFallback.clear()},r*1e3);a.unref&&a.unref(),this._fallbackInterval=a}this.lookup=this.lookup.bind(this),this.lookupAsync=this.lookupAsync.bind(this)}set servers(e){this.clear(),this._resolver.setServers(e)}get servers(){return this._resolver.getServers()}lookup(e,t,r){if(typeof t=="function"?(r=t,t={}):typeof t=="number"&&(t={family:t}),!r)throw new Error("Callback must be a function.");this.lookupAsync(e,t).then(n=>{t.all?r(null,n):r(null,n.address,n.family,n.expires,n.ttl,n.source)},r)}async lookupAsync(e,t={}){typeof t=="number"&&(t={family:t});let r=await this.query(e);if(t.family===6){let n=r.filter(i=>i.family===6);t.hints&vl.V4MAPPED&&(zj&&t.hints&vl.ALL||n.length===0)?Kj(r):r=n}else t.family===4&&(r=r.filter(n=>n.family===4));if(t.hints&vl.ADDRCONFIG){let{_iface:n}=this;r=r.filter(i=>i.family===6?n.has6:n.has4)}if(r.length===0){let n=new Error(`cacheableLookup ENOTFOUND ${e}`);throw n.code="ENOTFOUND",n.hostname=e,n}return t.all?r:r[0]}async query(e){let t="cache",r=await this._cache.get(e);if(r&&this.stats.cache++,!r){let n=this._pending[e];if(n)this.stats.cache++,r=await n;else{t="query";let i=this.queryAndCache(e);this._pending[e]=i,this.stats.query++;try{r=await i}finally{delete this._pending[e]}}}return r=r.map(n=>({...n,source:t})),r}async _resolve(e){let[t,r]=await Promise.all([qd(this._resolve4(e,dk)),qd(this._resolve6(e,dk))]),n=0,i=0,s=0,a=Date.now();for(let c of t)c.family=4,c.expires=a+c.ttl*1e3,n=Math.max(n,c.ttl);for(let c of r)c.family=6,c.expires=a+c.ttl*1e3,i=Math.max(i,c.ttl);return t.length>0?r.length>0?s=Math.min(n,i):s=n:s=i,{entries:[...t,...r],cacheTtl:s}}async _lookup(e){try{let[t,r]=await Promise.all([qd(this._dnsLookup(e,Zj)),qd(this._dnsLookup(e,e7))]);return{entries:[...t,...r],cacheTtl:0}}catch{return{entries:[],cacheTtl:0}}}async _set(e,t,r){if(this.maxTtl>0&&r>0){r=Math.min(r,this.maxTtl)*1e3,t[hk]=Date.now()+r;try{await this._cache.set(e,t,r)}catch(n){this.lookupAsync=async()=>{let i=new Error("Cache Error. Please recreate the CacheableLookup instance.");throw i.cause=n,i}}Xj(this._cache)&&this._tick(r)}}async queryAndCache(e){if(this._hostnamesToFallback.has(e))return this._dnsLookup(e,$j);let t=await this._resolve(e);t.entries.length===0&&this._dnsLookup&&(t=await this._lookup(e),t.entries.length!==0&&this.fallbackDuration>0&&this._hostnamesToFallback.add(e));let r=t.entries.length===0?this.errorTtl:t.cacheTtl;return await this._set(e,t.entries,r),t.entries}_tick(e){let t=this._nextRemovalTime;(!t||e{this._nextRemovalTime=!1;let r=1/0,n=Date.now();for(let[i,s]of this._cache){let a=s[hk];n>=a?this._cache.delete(i):a("lookup"in t||(t.lookup=this.lookup),e[Ql](t,r))}uninstall(e){if(fk(e),e[Ql]){if(e[Gy]!==this)throw new Error("The agent is not owned by this CacheableLookup instance");e.createConnection=e[Ql],delete e[Ql],delete e[Gy]}}updateInterfaceInfo(){let{_iface:e}=this;this._iface=gk(),(e.has4&&!this._iface.has4||e.has6&&!this._iface.has6)&&this._cache.clear()}clear(e){if(e){this._cache.delete(e);return}this._cache.clear()}},t7=$t(ND(),1);function r7(e){let t=[],r=e.split(",");for(let n of r){let[i,...s]=n.split(";"),a=i.trim();if(a[0]!=="<"||a[a.length-1]!==">")throw new Error(`Invalid format of the Link header reference: ${a}`);let c=a.slice(1,-1),l={};if(s.length===0)throw new Error(`Unexpected end of Link header parameters: ${s.join(";")}`);for(let A of s){let f=A.trim(),h=f.indexOf("=");if(h===-1)throw new Error(`Failed to parse Link header: ${e}`);let g=f.slice(0,h).trim(),b=f.slice(h+1).trim();l[g]=b}t.push({reference:c,parameters:l})}return t}var[Ek,n7]=Gj.default.versions.node.split(".").map(Number);function i7(e){for(let t in e){let r=e[t];ae.any([W.string,W.number,W.boolean,W.null_,W.undefined],r)}}var s7=new Map,Yy,o7=()=>Yy||(Yy=new AN,Yy),A7={request:void 0,agent:{http:void 0,https:void 0,http2:void 0},h2session:void 0,decompress:!0,timeout:{connect:void 0,lookup:void 0,read:void 0,request:void 0,response:void 0,secureConnect:void 0,send:void 0,socket:void 0},prefixUrl:"",body:void 0,form:void 0,json:void 0,cookieJar:void 0,ignoreInvalidCookies:!1,searchParams:void 0,dnsLookup:void 0,dnsCache:void 0,context:{},hooks:{init:[],beforeRequest:[],beforeError:[],beforeRedirect:[],beforeRetry:[],afterResponse:[]},followRedirect:!0,maxRedirects:10,cache:void 0,throwHttpErrors:!0,username:"",password:"",http2:!1,allowGetBody:!1,headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},methodRewriting:!1,dnsLookupIpVersion:void 0,parseJson:JSON.parse,stringifyJson:JSON.stringify,retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:e})=>e,backoffLimit:Number.POSITIVE_INFINITY,noise:100},localAddress:void 0,method:"GET",createConnection:void 0,cacheOptions:{shared:void 0,cacheHeuristic:void 0,immutableMinTimeToLive:void 0,ignoreCargoCult:void 0},https:{alpnProtocols:void 0,rejectUnauthorized:void 0,checkServerIdentity:void 0,certificateAuthority:void 0,key:void 0,certificate:void 0,passphrase:void 0,pfx:void 0,ciphers:void 0,honorCipherOrder:void 0,minVersion:void 0,maxVersion:void 0,signatureAlgorithms:void 0,tlsSessionLifetime:void 0,dhparam:void 0,ecdhCurve:void 0,certificateRevocationLists:void 0},encoding:void 0,resolveBodyOnly:!1,isStream:!1,responseType:"text",url:void 0,pagination:{transform(e){return e.request.options.responseType==="json"?e.body:JSON.parse(e.body)},paginate({response:e}){let t=e.headers.link;if(typeof t!="string"||t.trim()==="")return!1;let r=r7(t).find(n=>n.parameters.rel==="next"||n.parameters.rel==='"next"');return r?{url:new URL(r.reference,e.url)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:Number.POSITIVE_INFINITY,backoff:0,requestLimit:1e4,stackAllItems:!1},setHost:!0,maxHeaderSize:void 0,signal:void 0,enableUnixSockets:!1},a7=e=>{let{hooks:t,retry:r}=e,n={...e,context:{...e.context},cacheOptions:{...e.cacheOptions},https:{...e.https},agent:{...e.agent},headers:{...e.headers},retry:{...r,errorCodes:[...r.errorCodes],methods:[...r.methods],statusCodes:[...r.statusCodes]},timeout:{...e.timeout},hooks:{init:[...t.init],beforeRequest:[...t.beforeRequest],beforeError:[...t.beforeError],beforeRedirect:[...t.beforeRedirect],beforeRetry:[...t.beforeRetry],afterResponse:[...t.afterResponse]},searchParams:e.searchParams?new URLSearchParams(e.searchParams):void 0,pagination:{...e.pagination}};return n.url!==void 0&&(n.prefixUrl=""),n},c7=e=>{let{hooks:t,retry:r}=e,n={...e};return W.object(e.context)&&(n.context={...e.context}),W.object(e.cacheOptions)&&(n.cacheOptions={...e.cacheOptions}),W.object(e.https)&&(n.https={...e.https}),W.object(e.cacheOptions)&&(n.cacheOptions={...n.cacheOptions}),W.object(e.agent)&&(n.agent={...e.agent}),W.object(e.headers)&&(n.headers={...e.headers}),W.object(r)&&(n.retry={...r},W.array(r.errorCodes)&&(n.retry.errorCodes=[...r.errorCodes]),W.array(r.methods)&&(n.retry.methods=[...r.methods]),W.array(r.statusCodes)&&(n.retry.statusCodes=[...r.statusCodes])),W.object(e.timeout)&&(n.timeout={...e.timeout}),W.object(t)&&(n.hooks={...t},W.array(t.init)&&(n.hooks.init=[...t.init]),W.array(t.beforeRequest)&&(n.hooks.beforeRequest=[...t.beforeRequest]),W.array(t.beforeError)&&(n.hooks.beforeError=[...t.beforeError]),W.array(t.beforeRedirect)&&(n.hooks.beforeRedirect=[...t.beforeRedirect]),W.array(t.beforeRetry)&&(n.hooks.beforeRetry=[...t.beforeRetry]),W.array(t.afterResponse)&&(n.hooks.afterResponse=[...t.afterResponse])),W.object(e.pagination)&&(n.pagination={...e.pagination}),n},l7=e=>{let t=[e.timeout.socket,e.timeout.connect,e.timeout.lookup,e.timeout.request,e.timeout.secureConnect].filter(r=>typeof r=="number");if(t.length>0)return Math.min(...t)},pk=(e,t,r)=>{let n=e.hooks?.init;if(n)for(let i of n)i(t,r)},kl=class iE{constructor(t,r,n){if(Object.defineProperty(this,"_unixOptions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_internals",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_merging",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_init",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),ae.any([W.string,W.urlInstance,W.object,W.undefined],t),ae.any([W.object,W.undefined],r),ae.any([W.object,W.undefined],n),t instanceof iE||r instanceof iE)throw new TypeError("The defaults must be passed as the third argument");this._internals=a7(n?._internals??n??A7),this._init=[...n?._init??[]],this._merging=!1,this._unixOptions=void 0;try{if(W.plainObject(t))try{this.merge(t),this.merge(r)}finally{this.url=t.url}else try{this.merge(r)}finally{if(r?.url!==void 0)if(t===void 0)this.url=r.url;else throw new TypeError("The `url` option is mutually exclusive with the `input` argument");else t!==void 0&&(this.url=t)}}catch(i){throw i.options=this,i}}merge(t){if(t){if(t instanceof iE){for(let r of t._init)this.merge(r);return}t=c7(t),pk(this,t,this),pk(t,t,this),this._merging=!0,"isStream"in t&&(this.isStream=t.isStream);try{let r=!1;for(let n in t){if(n==="mutableDefaults"||n==="handlers"||n==="url")continue;if(!(n in this))throw new Error(`Unexpected option: ${n}`);let i=t[n];i!==void 0&&(this[n]=i,r=!0)}r&&this._init.push(t)}finally{this._merging=!1}}}get request(){return this._internals.request}set request(t){ae.any([W.function_,W.undefined],t),this._internals.request=t}get agent(){return this._internals.agent}set agent(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.agent))throw new TypeError(`Unexpected agent option: ${r}`);ae.any([W.object,W.undefined],t[r])}this._merging?Object.assign(this._internals.agent,t):this._internals.agent={...t}}get h2session(){return this._internals.h2session}set h2session(t){this._internals.h2session=t}get decompress(){return this._internals.decompress}set decompress(t){ae.boolean(t),this._internals.decompress=t}get timeout(){return this._internals.timeout}set timeout(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.timeout))throw new Error(`Unexpected timeout option: ${r}`);ae.any([W.number,W.undefined],t[r])}this._merging?Object.assign(this._internals.timeout,t):this._internals.timeout={...t}}get prefixUrl(){return this._internals.prefixUrl}set prefixUrl(t){if(ae.any([W.string,W.urlInstance],t),t===""){this._internals.prefixUrl="";return}if(t=t.toString(),t.endsWith("/")||(t+="/"),this._internals.prefixUrl&&this._internals.url){let{href:r}=this._internals.url;this._internals.url.href=t+r.slice(this._internals.prefixUrl.length)}this._internals.prefixUrl=t}get body(){return this._internals.body}set body(t){ae.any([W.string,W.buffer,W.nodeStream,W.generator,W.asyncGenerator,qh,W.undefined],t),W.nodeStream(t)&&ae.truthy(t.readable),t!==void 0&&(ae.undefined(this._internals.form),ae.undefined(this._internals.json)),this._internals.body=t}get form(){return this._internals.form}set form(t){ae.any([W.plainObject,W.undefined],t),t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.json)),this._internals.form=t}get json(){return this._internals.json}set json(t){t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.form)),this._internals.json=t}get url(){return this._internals.url}set url(t){if(ae.any([W.string,W.urlInstance,W.undefined],t),t===void 0){this._internals.url=void 0;return}if(W.string(t)&&t.startsWith("/"))throw new Error("`url` must not start with a slash");let r=`${this.prefixUrl}${t.toString()}`,n=new URL(r);if(this._internals.url=n,n.protocol==="unix:"&&(n.href=`http://unix${n.pathname}${n.search}`),n.protocol!=="http:"&&n.protocol!=="https:"){let i=new Error(`Unsupported protocol: ${n.protocol}`);throw i.code="ERR_UNSUPPORTED_PROTOCOL",i}if(this._internals.username&&(n.username=this._internals.username,this._internals.username=""),this._internals.password&&(n.password=this._internals.password,this._internals.password=""),this._internals.searchParams&&(n.search=this._internals.searchParams.toString(),this._internals.searchParams=void 0),n.hostname==="unix"){if(!this._internals.enableUnixSockets)throw new Error("Using UNIX domain sockets but option `enableUnixSockets` is not enabled");let i=/(?.+?):(?.+)/.exec(`${n.pathname}${n.search}`);if(i?.groups){let{socketPath:s,path:a}=i.groups;this._unixOptions={socketPath:s,path:a,host:""}}else this._unixOptions=void 0;return}this._unixOptions=void 0}get cookieJar(){return this._internals.cookieJar}set cookieJar(t){if(ae.any([W.object,W.undefined],t),t===void 0){this._internals.cookieJar=void 0;return}let{setCookie:r,getCookieString:n}=t;ae.function_(r),ae.function_(n),r.length===4&&n.length===0?(r=(0,Vy.promisify)(r.bind(t)),n=(0,Vy.promisify)(n.bind(t)),this._internals.cookieJar={setCookie:r,getCookieString:n}):this._internals.cookieJar=t}get signal(){return this._internals.signal}set signal(t){ae.object(t),this._internals.signal=t}get ignoreInvalidCookies(){return this._internals.ignoreInvalidCookies}set ignoreInvalidCookies(t){ae.boolean(t),this._internals.ignoreInvalidCookies=t}get searchParams(){return this._internals.url?this._internals.url.searchParams:(this._internals.searchParams===void 0&&(this._internals.searchParams=new URLSearchParams),this._internals.searchParams)}set searchParams(t){ae.any([W.string,W.object,W.undefined],t);let r=this._internals.url;if(t===void 0){this._internals.searchParams=void 0,r&&(r.search="");return}let n=this.searchParams,i;if(W.string(t))i=new URLSearchParams(t);else if(t instanceof URLSearchParams)i=t;else{i7(t),i=new URLSearchParams;for(let s in t){let a=t[s];a===null?i.append(s,""):a===void 0?n.delete(s):i.append(s,a)}}if(this._merging){for(let s of i.keys())n.delete(s);for(let[s,a]of i)n.append(s,a)}else r?r.search=n.toString():this._internals.searchParams=n}get searchParameters(){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}set searchParameters(t){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}get dnsLookup(){return this._internals.dnsLookup}set dnsLookup(t){ae.any([W.function_,W.undefined],t),this._internals.dnsLookup=t}get dnsCache(){return this._internals.dnsCache}set dnsCache(t){ae.any([W.object,W.boolean,W.undefined],t),t===!0?this._internals.dnsCache=o7():t===!1?this._internals.dnsCache=void 0:this._internals.dnsCache=t}get context(){return this._internals.context}set context(t){ae.object(t),this._merging?Object.assign(this._internals.context,t):this._internals.context={...t}}get hooks(){return this._internals.hooks}set hooks(t){ae.object(t);for(let r in t){if(!(r in this._internals.hooks))throw new Error(`Unexpected hook event: ${r}`);let n=r,i=t[n];if(ae.any([W.array,W.undefined],i),i)for(let s of i)ae.function_(s);if(this._merging)i&&this._internals.hooks[n].push(...i);else{if(!i)throw new Error(`Missing hook event: ${r}`);this._internals.hooks[r]=[...i]}}}get followRedirect(){return this._internals.followRedirect}set followRedirect(t){ae.boolean(t),this._internals.followRedirect=t}get followRedirects(){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}set followRedirects(t){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}get maxRedirects(){return this._internals.maxRedirects}set maxRedirects(t){ae.number(t),this._internals.maxRedirects=t}get cache(){return this._internals.cache}set cache(t){ae.any([W.object,W.string,W.boolean,W.undefined],t),t===!0?this._internals.cache=s7:t===!1?this._internals.cache=void 0:this._internals.cache=t}get throwHttpErrors(){return this._internals.throwHttpErrors}set throwHttpErrors(t){ae.boolean(t),this._internals.throwHttpErrors=t}get username(){let t=this._internals.url,r=t?t.username:this._internals.username;return decodeURIComponent(r)}set username(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.username=n:this._internals.username=n}get password(){let t=this._internals.url,r=t?t.password:this._internals.password;return decodeURIComponent(r)}set password(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.password=n:this._internals.password=n}get http2(){return this._internals.http2}set http2(t){ae.boolean(t),this._internals.http2=t}get allowGetBody(){return this._internals.allowGetBody}set allowGetBody(t){ae.boolean(t),this._internals.allowGetBody=t}get headers(){return this._internals.headers}set headers(t){ae.plainObject(t),this._merging?Object.assign(this._internals.headers,_h(t)):this._internals.headers=_h(t)}get methodRewriting(){return this._internals.methodRewriting}set methodRewriting(t){ae.boolean(t),this._internals.methodRewriting=t}get dnsLookupIpVersion(){return this._internals.dnsLookupIpVersion}set dnsLookupIpVersion(t){if(t!==void 0&&t!==4&&t!==6)throw new TypeError(`Invalid DNS lookup IP version: ${t}`);this._internals.dnsLookupIpVersion=t}get parseJson(){return this._internals.parseJson}set parseJson(t){ae.function_(t),this._internals.parseJson=t}get stringifyJson(){return this._internals.stringifyJson}set stringifyJson(t){ae.function_(t),this._internals.stringifyJson=t}get retry(){return this._internals.retry}set retry(t){if(ae.plainObject(t),ae.any([W.function_,W.undefined],t.calculateDelay),ae.any([W.number,W.undefined],t.maxRetryAfter),ae.any([W.number,W.undefined],t.limit),ae.any([W.array,W.undefined],t.methods),ae.any([W.array,W.undefined],t.statusCodes),ae.any([W.array,W.undefined],t.errorCodes),ae.any([W.number,W.undefined],t.noise),t.noise&&Math.abs(t.noise)>100)throw new Error(`The maximum acceptable retry noise is +/- 100ms, got ${t.noise}`);for(let n in t)if(!(n in this._internals.retry))throw new Error(`Unexpected retry option: ${n}`);this._merging?Object.assign(this._internals.retry,t):this._internals.retry={...t};let{retry:r}=this._internals;r.methods=[...new Set(r.methods.map(n=>n.toUpperCase()))],r.statusCodes=[...new Set(r.statusCodes)],r.errorCodes=[...new Set(r.errorCodes)]}get localAddress(){return this._internals.localAddress}set localAddress(t){ae.any([W.string,W.undefined],t),this._internals.localAddress=t}get method(){return this._internals.method}set method(t){ae.string(t),this._internals.method=t.toUpperCase()}get createConnection(){return this._internals.createConnection}set createConnection(t){ae.any([W.function_,W.undefined],t),this._internals.createConnection=t}get cacheOptions(){return this._internals.cacheOptions}set cacheOptions(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.shared),ae.any([W.number,W.undefined],t.cacheHeuristic),ae.any([W.number,W.undefined],t.immutableMinTimeToLive),ae.any([W.boolean,W.undefined],t.ignoreCargoCult);for(let r in t)if(!(r in this._internals.cacheOptions))throw new Error(`Cache option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.cacheOptions,t):this._internals.cacheOptions={...t}}get https(){return this._internals.https}set https(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.rejectUnauthorized),ae.any([W.function_,W.undefined],t.checkServerIdentity),ae.any([W.string,W.object,W.array,W.undefined],t.certificateAuthority),ae.any([W.string,W.object,W.array,W.undefined],t.key),ae.any([W.string,W.object,W.array,W.undefined],t.certificate),ae.any([W.string,W.undefined],t.passphrase),ae.any([W.string,W.buffer,W.array,W.undefined],t.pfx),ae.any([W.array,W.undefined],t.alpnProtocols),ae.any([W.string,W.undefined],t.ciphers),ae.any([W.string,W.buffer,W.undefined],t.dhparam),ae.any([W.string,W.undefined],t.signatureAlgorithms),ae.any([W.string,W.undefined],t.minVersion),ae.any([W.string,W.undefined],t.maxVersion),ae.any([W.boolean,W.undefined],t.honorCipherOrder),ae.any([W.number,W.undefined],t.tlsSessionLifetime),ae.any([W.string,W.undefined],t.ecdhCurve),ae.any([W.string,W.buffer,W.array,W.undefined],t.certificateRevocationLists);for(let r in t)if(!(r in this._internals.https))throw new Error(`HTTPS option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.https,t):this._internals.https={...t}}get encoding(){return this._internals.encoding}set encoding(t){if(t===null)throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead");ae.any([W.string,W.undefined],t),this._internals.encoding=t}get resolveBodyOnly(){return this._internals.resolveBodyOnly}set resolveBodyOnly(t){ae.boolean(t),this._internals.resolveBodyOnly=t}get isStream(){return this._internals.isStream}set isStream(t){ae.boolean(t),this._internals.isStream=t}get responseType(){return this._internals.responseType}set responseType(t){if(t===void 0){this._internals.responseType="text";return}if(t!=="text"&&t!=="buffer"&&t!=="json")throw new Error(`Invalid \`responseType\` option: ${t}`);this._internals.responseType=t}get pagination(){return this._internals.pagination}set pagination(t){ae.object(t),this._merging?Object.assign(this._internals.pagination,t):this._internals.pagination=t}get auth(){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}set auth(t){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}get setHost(){return this._internals.setHost}set setHost(t){ae.boolean(t),this._internals.setHost=t}get maxHeaderSize(){return this._internals.maxHeaderSize}set maxHeaderSize(t){ae.any([W.number,W.undefined],t),this._internals.maxHeaderSize=t}get enableUnixSockets(){return this._internals.enableUnixSockets}set enableUnixSockets(t){ae.boolean(t),this._internals.enableUnixSockets=t}toJSON(){return{...this._internals}}[Symbol.for("nodejs.util.inspect.custom")](t,r){return(0,Vy.inspect)(this._internals,r)}createNativeRequestOptions(){let t=this._internals,r=t.url,n;r.protocol==="https:"?n=t.http2?t.agent:t.agent.https:n=t.agent.http;let{https:i}=t,{pfx:s}=i;return W.array(s)&&W.plainObject(s[0])&&(s=s.map(a=>({buf:a.buffer,passphrase:a.passphrase}))),{...t.cacheOptions,...this._unixOptions,ALPNProtocols:i.alpnProtocols,ca:i.certificateAuthority,cert:i.certificate,key:i.key,passphrase:i.passphrase,pfx:i.pfx,rejectUnauthorized:i.rejectUnauthorized,checkServerIdentity:i.checkServerIdentity??Yj.checkServerIdentity,ciphers:i.ciphers,honorCipherOrder:i.honorCipherOrder,minVersion:i.minVersion,maxVersion:i.maxVersion,sigalgs:i.signatureAlgorithms,sessionTimeout:i.tlsSessionLifetime,dhparam:i.dhparam,ecdhCurve:i.ecdhCurve,crl:i.certificateRevocationLists,lookup:t.dnsLookup??t.dnsCache?.lookup,family:t.dnsLookupIpVersion,agent:n,setHost:t.setHost,method:t.method,maxHeaderSize:t.maxHeaderSize,localAddress:t.localAddress,headers:t.headers,createConnection:t.createConnection,timeout:t.http2?l7(t):void 0,h2session:t.h2session}}getRequestFunction(){let t=this._internals.url,{request:r}=this._internals;return!r&&t?this.getFallbackRequestFunction():r}getFallbackRequestFunction(){let t=this._internals.url;if(t){if(t.protocol==="https:"){if(this._internals.http2){if(Ek<15||Ek===15&&n7<10){let r=new Error("To use the `http2` option, install Node.js 15.10.0 or above");throw r.code="EUNSUPPORTED",r}return t7.default.auto}return Wj.default.request}return Jj.default.request}}freeze(){let t=this._internals;Object.freeze(t),Object.freeze(t.hooks),Object.freeze(t.hooks.afterResponse),Object.freeze(t.hooks.beforeError),Object.freeze(t.hooks.beforeRedirect),Object.freeze(t.hooks.beforeRequest),Object.freeze(t.hooks.beforeRetry),Object.freeze(t.hooks.init),Object.freeze(t.https),Object.freeze(t.cacheOptions),Object.freeze(t.agent),Object.freeze(t.headers),Object.freeze(t.timeout),Object.freeze(t.retry),Object.freeze(t.retry.errorCodes),Object.freeze(t.retry.methods),Object.freeze(t.retry.statusCodes)}},EE=e=>{let{statusCode:t}=e,r=e.request.options.followRedirect?299:399;return t>=200&&t<=r||t===304},Ck=class extends nn{constructor(e,t){let{options:r}=t.request;super(`${e.message} in "${r.url.toString()}"`,e,t.request),this.name="ParseError",this.code="ERR_BODY_PARSE_FAILURE"}},Ik=(e,t,r,n)=>{let{rawBody:i}=e;try{if(t==="text")return i.toString(n);if(t==="json")return i.length===0?"":r(i.toString(n));if(t==="buffer")return i}catch(s){throw new Ck(s,e)}throw new Ck({message:`Unknown body type '${t}'`,name:"Error"},e)};function u7(e){return e.writable&&!e.writableEnded}var h7=u7;function Bk(e){return e.protocol==="unix:"||e.hostname==="unix"}var{buffer:f7}=wj.default,g7=W.string(ZD.default.versions.brotli),d7=new Set(["GET","HEAD"]),Jy=new qj,E7=new Set([300,301,302,303,304,307,308]),p7=["socket","connect","continue","information","upgrade"],Vd=()=>{},aN=class cN extends rj.Duplex{constructor(t,r,n){super({autoDestroy:!1,highWaterMark:0}),Object.defineProperty(this,"constructor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_noPipe",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"requestUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"redirectUrls",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"retryCount",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopRetry",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downloadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_uploadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopReading",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pipedServerResponses",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_responseSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_bodySize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_unproxyEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isFromCache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cannotHaveBody",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_triggerRead",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cancelTimeouts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_removeListeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_nativeResponse",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_flushed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_aborted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_requestInitialized",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._downloadedSize=0,this._uploadedSize=0,this._stopReading=!1,this._pipedServerResponses=new Set,this._cannotHaveBody=!1,this._unproxyEvents=Vd,this._triggerRead=!1,this._cancelTimeouts=Vd,this._removeListeners=Vd,this._jobs=[],this._flushed=!1,this._requestInitialized=!1,this._aborted=!1,this.redirectUrls=[],this.retryCount=0,this._stopRetry=Vd,this.on("pipe",s=>{s?.headers&&Object.assign(this.options.headers,s.headers)}),this.on("newListener",s=>{if(s==="retry"&&this.listenerCount("retry")>0)throw new Error("A retry listener has been attached already.")});try{if(this.options=new kl(t,r,n),!this.options.url){if(this.options.prefixUrl==="")throw new TypeError("Missing `url` property");this.options.url=""}this.requestUrl=this.options.url}catch(s){let{options:a}=s;a&&(this.options=a),this.flush=async()=>{this.flush=async()=>{},this.destroy(s)};return}let{body:i}=this.options;if(W.nodeStream(i)&&i.once("error",s=>{this._flushed?this._beforeError(new ek(s,this)):this.flush=async()=>{this.flush=async()=>{},this._beforeError(new ek(s,this))}}),this.options.signal){let s=()=>{this.destroy(new tj(this))};this.options.signal.aborted?s():(this.options.signal.addEventListener("abort",s),this._removeListeners=()=>{this.options.signal?.removeEventListener("abort",s)})}}async flush(){if(!this._flushed){this._flushed=!0;try{if(await this._finalizeBody(),this.destroyed)return;if(await this._makeRequest(),this.destroyed){this._request?.destroy();return}for(let t of this._jobs)t();this._jobs.length=0,this._requestInitialized=!0}catch(t){this._beforeError(t)}}}_beforeError(t){if(this._stopReading)return;let{response:r,options:n}=this,i=this.retryCount+(t.name==="RetryError"?0:1);this._stopReading=!0,t instanceof nn||(t=new nn(t.message,t,this));let s=t;(async()=>{if(r?.readable&&!r.rawBody&&!this._request?.socket?.destroyed&&(r.setEncoding(this.readableEncoding),await this._setRawBody(r)&&(r.body=r.rawBody.toString())),this.listenerCount("retry")!==0){let a;try{let c;r&&"retry-after"in r.headers&&(c=Number(r.headers["retry-after"]),Number.isNaN(c)?(c=Date.parse(r.headers["retry-after"])-Date.now(),c<=0&&(c=1)):c*=1e3);let l=n.retry;a=await l.calculateDelay({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:Hj({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:l.maxRetryAfter??n.timeout.request??Number.POSITIVE_INFINITY})})}catch(c){this._error(new nn(c.message,c,this));return}if(a){if(await new Promise(c=>{let l=setTimeout(c,a);this._stopRetry=()=>{clearTimeout(l),c()}}),this.destroyed)return;try{for(let c of this.options.hooks.beforeRetry)await c(s,this.retryCount+1)}catch(c){this._error(new nn(c.message,t,this));return}if(this.destroyed)return;this.destroy(),this.emit("retry",this.retryCount+1,t,c=>{let l=new cN(n.url,c,n);return l.retryCount=this.retryCount+1,ZD.default.nextTick(()=>{l.flush()}),l});return}}this._error(s)})()}_read(){this._triggerRead=!0;let{response:t}=this;if(t&&!this._stopReading){t.readableLength&&(this._triggerRead=!1);let r;for(;(r=t.read())!==null;){this._downloadedSize+=r.length;let n=this.downloadProgress;n.percent<1&&this.emit("downloadProgress",n),this.push(r)}}}_write(t,r,n){let i=()=>{this._writeRequest(t,r,n)};this._requestInitialized?i():this._jobs.push(i)}_final(t){let r=()=>{if(!this._request||this._request.destroyed){t();return}this._request.end(n=>{this._request._writableState?.errored||(n||(this._bodySize=this._uploadedSize,this.emit("uploadProgress",this.uploadProgress),this._request.emit("upload-complete")),t(n))})};this._requestInitialized?r():this._jobs.push(r)}_destroy(t,r){if(this._stopReading=!0,this.flush=async()=>{},this._stopRetry(),this._cancelTimeouts(),this._removeListeners(),this.options){let{body:n}=this.options;W.nodeStream(n)&&n.destroy()}this._request&&this._request.destroy(),t!==null&&!W.undefined(t)&&!(t instanceof nn)&&(t=new nn(t.message,t,this)),r(t)}pipe(t,r){return t instanceof xy.ServerResponse&&this._pipedServerResponses.add(t),super.pipe(t,r)}unpipe(t){return t instanceof xy.ServerResponse&&this._pipedServerResponses.delete(t),super.unpipe(t),this}async _finalizeBody(){let{options:t}=this,{headers:r}=t,n=!W.undefined(t.form),i=!W.undefined(t.json),s=!W.undefined(t.body),a=d7.has(t.method)&&!(t.method==="GET"&&t.allowGetBody);if(this._cannotHaveBody=a,n||i||s){if(a)throw new TypeError(`The \`${t.method}\` method cannot be used with a body`);let c=!W.string(r["content-type"]);if(s){if(qh(t.body)){let A=new nN(t.body);c&&(r["content-type"]=A.headers["Content-Type"]),"Content-Length"in A.headers&&(r["content-length"]=A.headers["Content-Length"]),t.body=A.encode()}iN(t.body)&&c&&(r["content-type"]=`multipart/form-data; boundary=${t.body.getBoundary()}`)}else if(n){c&&(r["content-type"]="application/x-www-form-urlencoded");let{form:A}=t;t.form=void 0,t.body=new URLSearchParams(A).toString()}else{c&&(r["content-type"]="application/json");let{json:A}=t;t.json=void 0,t.body=t.stringifyJson(A)}let l=await Fj(t.body,t.headers);W.undefined(r["content-length"])&&W.undefined(r["transfer-encoding"])&&!a&&!W.undefined(l)&&(r["content-length"]=String(l))}t.responseType==="json"&&!("accept"in t.headers)&&(t.headers.accept="application/json"),this._bodySize=Number(r["content-length"])||void 0}async _onResponseBase(t){if(this.isAborted)return;let{options:r}=this,{url:n}=r;this._nativeResponse=t,r.decompress&&(t=(0,bj.default)(t));let i=t.statusCode,s=t;s.statusMessage=s.statusMessage??xy.default.STATUS_CODES[i],s.url=r.url.toString(),s.requestUrl=this.requestUrl,s.redirectUrls=this.redirectUrls,s.request=this,s.isFromCache=this._nativeResponse.fromCache??!1,s.ip=this.ip,s.retryCount=this.retryCount,s.ok=EE(s),this._isFromCache=s.isFromCache,this._responseSize=Number(t.headers["content-length"])||void 0,this.response=s,t.once("end",()=>{this._responseSize=this._downloadedSize,this.emit("downloadProgress",this.downloadProgress)}),t.once("error",c=>{this._aborted=!0,t.destroy(),this._beforeError(new tk(c,this))}),t.once("aborted",()=>{this._aborted=!0,this._beforeError(new tk({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);let a=t.headers["set-cookie"];if(W.object(r.cookieJar)&&a){let c=a.map(async l=>r.cookieJar.setCookie(l,n.toString()));r.ignoreInvalidCookies&&(c=c.map(async l=>{try{await l}catch{}}));try{await Promise.all(c)}catch(l){this._beforeError(l);return}}if(!this.isAborted){if(r.followRedirect&&t.headers.location&&E7.has(i)){if(t.resume(),this._cancelTimeouts(),this._unproxyEvents(),this.redirectUrls.length>=r.maxRedirects){this._beforeError(new XW(this));return}this._request=void 0;let c=new kl(void 0,void 0,this.options),l=i===303&&c.method!=="GET"&&c.method!=="HEAD",A=i!==307&&i!==308,f=c.methodRewriting&&A;(l||f)&&(c.method="GET",c.body=void 0,c.json=void 0,c.form=void 0,delete c.headers["content-length"]);try{let h=Uy.Buffer.from(t.headers.location,"binary").toString(),g=new URL(h,n);if(!Bk(n)&&Bk(g)){this._beforeError(new nn("Cannot redirect to UNIX socket",{},this));return}g.hostname!==n.hostname||g.port!==n.port?("host"in c.headers&&delete c.headers.host,"cookie"in c.headers&&delete c.headers.cookie,"authorization"in c.headers&&delete c.headers.authorization,(c.username||c.password)&&(c.username="",c.password="")):(g.username=c.username,g.password=c.password),this.redirectUrls.push(g),c.prefixUrl="",c.url=g;for(let b of c.hooks.beforeRedirect)await b(c,s);this.emit("redirect",c,s),this.options=c,await this._makeRequest()}catch(h){this._beforeError(h);return}return}if(r.isStream&&r.throwHttpErrors&&!EE(s)){this._beforeError(new dE(s));return}if(t.on("readable",()=>{this._triggerRead&&this._read()}),this.on("resume",()=>{t.resume()}),this.on("pause",()=>{t.pause()}),t.once("end",()=>{this.push(null)}),this._noPipe){await this._setRawBody()&&this.emit("response",t);return}this.emit("response",t);for(let c of this._pipedServerResponses)if(!c.headersSent){for(let l in t.headers){let A=r.decompress?l!=="content-encoding":!0,f=t.headers[l];A&&c.setHeader(l,f)}c.statusCode=i}}}async _setRawBody(t=this){if(t.readableEnded)return!1;try{let r=await f7(t);if(!this.isAborted)return this.response.rawBody=r,!0}catch{}return!1}async _onResponse(t){try{await this._onResponseBase(t)}catch(r){this._beforeError(r)}}_onRequest(t){let{options:r}=this,{timeout:n,url:i}=r;eN(t),this.options.http2&&t.setTimeout(0),this._cancelTimeouts=Oj(t,n,i);let s=r.cache?"cacheableResponse":"response";t.once(s,a=>{this._onResponse(a)}),t.once("error",a=>{this._aborted=!0,t.destroy(),a=a instanceof oN?new ZW(a,this.timings,this):new nn(a.message,a,this),this._beforeError(a)}),this._unproxyEvents=sN(t,this,p7),this._request=t,this.emit("uploadProgress",this.uploadProgress),this._sendBody(),this.emit("request",t)}async _asyncWrite(t){return new Promise((r,n)=>{super.write(t,i=>{if(i){n(i);return}r()})})}_sendBody(){let{body:t}=this.options,r=this.redirectUrls.length===0?this:this._request??this;W.nodeStream(t)?t.pipe(r):W.generator(t)||W.asyncGenerator(t)?(async()=>{try{for await(let n of t)await this._asyncWrite(n);super.end()}catch(n){this._beforeError(n)}})():W.undefined(t)?(this._cannotHaveBody||this._noPipe)&&r.end():(this._writeRequest(t,void 0,()=>{}),r.end())}_prepareCache(t){if(!Jy.has(t)){let r=new rN((n,i)=>{let s=n._request(n,i);return W.promise(s)&&(s.once=(a,c)=>{if(a==="error")(async()=>{try{await s}catch(l){c(l)}})();else if(a==="abort")(async()=>{try{(await s).once("abort",c)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${a}`);return s}),s},t);Jy.set(t,r.request())}}async _createCacheableRequest(t,r){return new Promise((n,i)=>{Object.assign(r,Pj(t));let s,a=Jy.get(r.cache)(r,async c=>{if(c._readableState.autoDestroy=!1,s){let l=()=>{c.req&&(c.complete=c.req.res.complete)};c.prependOnceListener("end",l),l(),(await s).emit("cacheableResponse",c)}n(c)});a.once("error",i),a.once("request",async c=>{s=c,n(s)})})}async _makeRequest(){let{options:t}=this,{headers:r,username:n,password:i}=t,s=t.cookieJar;for(let A in r)if(W.undefined(r[A]))delete r[A];else if(W.null_(r[A]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${A}\` header`);if(t.decompress&&W.undefined(r["accept-encoding"])&&(r["accept-encoding"]=g7?"gzip, deflate, br":"gzip, deflate"),n||i){let A=Uy.Buffer.from(`${n}:${i}`).toString("base64");r.authorization=`Basic ${A}`}if(s){let A=await s.getCookieString(t.url.toString());W.nonEmptyString(A)&&(r.cookie=A)}t.prefixUrl="";let a;for(let A of t.hooks.beforeRequest){let f=await A(t);if(!W.undefined(f)){a=()=>f;break}}a||(a=t.getRequestFunction());let c=t.url;this._requestOptions=t.createNativeRequestOptions(),t.cache&&(this._requestOptions._request=a,this._requestOptions.cache=t.cache,this._requestOptions.body=t.body,this._prepareCache(t.cache));let l=t.cache?this._createCacheableRequest:a;try{let A=l(c,this._requestOptions);W.promise(A)&&(A=await A),W.undefined(A)&&(A=t.getFallbackRequestFunction()(c,this._requestOptions),W.promise(A)&&(A=await A)),h7(A)?this._onRequest(A):this.writable?(this.once("finish",()=>{this._onResponse(A)}),this._sendBody()):this._onResponse(A)}catch(A){throw A instanceof wl?new $W(A,this):A}}async _error(t){try{if(!(t instanceof dE&&!this.options.throwHttpErrors))for(let r of this.options.hooks.beforeError)t=await r(t)}catch(r){t=new nn(r.message,r,this)}this.destroy(t)}_writeRequest(t,r,n){!this._request||this._request.destroyed||this._request.write(t,r,i=>{if(!i&&!this._request.destroyed){this._uploadedSize+=Uy.Buffer.byteLength(t,r);let s=this.uploadProgress;s.percent<1&&this.emit("uploadProgress",s)}n(i)})}get ip(){return this.socket?.remoteAddress}get isAborted(){return this._aborted}get socket(){return this._request?.socket??void 0}get downloadProgress(){let t;return this._responseSize?t=this._downloadedSize/this._responseSize:this._responseSize===this._downloadedSize?t=1:t=0,{percent:t,transferred:this._downloadedSize,total:this._responseSize}}get uploadProgress(){let t;return this._bodySize?t=this._uploadedSize/this._bodySize:this._bodySize===this._uploadedSize?t=1:t=0,{percent:t,transferred:this._uploadedSize,total:this._bodySize}}get timings(){return this._request?.timings}get isFromCache(){return this._isFromCache}get reusedSocket(){return this._request?.reusedSocket}},C7=class extends nn{constructor(e){super("Promise was canceled",{},e),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}},I7=["request","response","redirect","uploadProgress","downloadProgress"];function yk(e){let t,r,n,i=new jW.EventEmitter,s=new iQ((c,l,A)=>{A(()=>{t.destroy()}),A.shouldReject=!1,A(()=>{l(new C7(t))});let f=h=>{A(()=>{});let g=e??new aN(void 0,void 0,n);g.retryCount=h,g._noPipe=!0,t=g,g.once("response",async p=>{let Q=(p.headers["content-encoding"]??"").toLowerCase(),R=Q==="gzip"||Q==="deflate"||Q==="br",{options:_}=g;if(R&&!_.decompress)p.body=p.rawBody;else try{p.body=Ik(p,_.responseType,_.parseJson,_.encoding)}catch(d){if(p.body=p.rawBody.toString(),EE(p)){g._beforeError(d);return}}try{let d=_.hooks.afterResponse;for(let[S,m]of d.entries())if(p=await m(p,async T=>{throw _.merge(T),_.prefixUrl="",T.url&&(_.url=T.url),_.hooks.afterResponse=_.hooks.afterResponse.slice(0,S),new ej(g)}),!(W.object(p)&&W.number(p.statusCode)&&!W.nullOrUndefined(p.body)))throw new TypeError("The `afterResponse` hook returned an invalid value")}catch(d){g._beforeError(d);return}if(r=p,!EE(p)){g._beforeError(new dE(p));return}g.destroy(),c(g.options.resolveBodyOnly?p.body:p)});let b=p=>{if(s.isCanceled)return;let{options:Q}=g;if(p instanceof dE&&!Q.throwHttpErrors){let{response:R}=p;g.destroy(),c(g.options.resolveBodyOnly?R.body:R);return}l(p)};g.once("error",b);let C=g.options?.body;g.once("retry",(p,Q)=>{e=void 0;let R=g.options.body;if(C===R&&W.nodeStream(R)){Q.message="Cannot retry with consumed body stream",b(Q);return}n=g.options,f(p)}),sN(g,i,I7),W.undefined(e)&&g.flush()};f(0)});s.on=(c,l)=>(i.on(c,l),s),s.off=(c,l)=>(i.off(c,l),s);let a=c=>{let l=(async()=>{await s;let{options:A}=r.request;return Ik(r,c,A.parseJson,A.encoding)})();return Object.defineProperties(l,Object.getOwnPropertyDescriptors(s)),l};return s.json=()=>{if(t.options){let{headers:c}=t.options;!t.writableFinished&&!("accept"in c)&&(c.accept="application/json")}return a("json")},s.buffer=()=>a("buffer"),s.text=()=>a("text"),s}var B7=async e=>new Promise(t=>{setTimeout(t,e)}),y7=e=>W.function_(e),Q7=["get","post","put","patch","head","delete"],lN=e=>{e={options:new kl(void 0,void 0,e.options),handlers:[...e.handlers],mutableDefaults:e.mutableDefaults},Object.defineProperty(e,"mutableDefaults",{enumerable:!0,configurable:!1,writable:!1});let t=(n,i,s=e.options)=>{let a=new aN(n,i,s),c,l=h=>(a.options=h,a._noPipe=!h.isStream,a.flush(),h.isStream?a:(c||(c=yk(a)),c)),A=0,f=h=>{let g=(e.handlers[A++]??l)(h,f);if(W.promise(g)&&!a.options.isStream&&(c||(c=yk(a)),g!==c)){let b=Object.getOwnPropertyDescriptors(c);for(let C in b)C in g&&delete b[C];Object.defineProperties(g,b),g.cancel=c.cancel}return g};return f(a.options)};t.extend=(...n)=>{let i=new kl(void 0,void 0,e.options),s=[...e.handlers],a;for(let c of n)y7(c)?(i.merge(c.defaults.options),s.push(...c.defaults.handlers),a=c.defaults.mutableDefaults):(i.merge(c),c.handlers&&s.push(...c.handlers),a=c.mutableDefaults);return lN({options:i,handlers:s,mutableDefaults:!!a})};let r=async function*(n,i){let s=new kl(n,i,e.options);s.resolveBodyOnly=!1;let{pagination:a}=s;ae.function_(a.transform),ae.function_(a.shouldContinue),ae.function_(a.filter),ae.function_(a.paginate),ae.number(a.countLimit),ae.number(a.requestLimit),ae.number(a.backoff);let c=[],{countLimit:l}=a,A=0;for(;A{let s=[];for await(let a of r(n,i))s.push(a);return s},t.paginate.each=r,t.stream=(n,i)=>t(n,{...i,isStream:!0});for(let n of Q7)t[n]=(i,s)=>t(i,{...s,method:n}),t.stream[n]=(i,s)=>t(i,{...s,method:n,isStream:!0});return e.mutableDefaults||(Object.freeze(e.handlers),e.options.freeze()),Object.defineProperty(t,"defaults",{value:e,writable:!1,configurable:!1,enumerable:!0}),t},m7=lN,b7={options:new kl,handlers:[],mutableDefaults:!1},w7=m7(b7),Bi=w7,sE="https://www.googleapis.com",v7=`${sE}/oauth2/v4/token`,sQ={extId:"No extension ID provided, e.g. https://chrome.google.com/webstore/detail/EXT_ID",clientId:"No client ID provided. To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md",clientSecret:"No client secret provided. To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md",refreshToken:"No refresh token provided. To get one: https://github.com/PlasmoHQ/chrome-webstore-api/blob/main/token.md"},S7=Object.keys(sQ),R7=class{options={};constructor(e){for(let t of S7)if(!e[t])throw new Error(sQ[t]);this.options={...e}}get uploadEndpoint(){return`${sE}/upload/chromewebstore/v1.1/items/${this.options.extId}`}getPublishEndpoint(e){return`${sE}/chromewebstore/v1.1/items/${this.options.extId}/publish?publishTarget=${e}`}getInfoEndpoint(e){return`${sE}/chromewebstore/v1.1/items/${this.options.extId}?projection=${e}`}async submit({filePath:e="",target:t="default"}){let r=await this.getAccessToken(),{uploadState:n,itemError:i}=await this.upload({readStream:(0,FW.createReadStream)(e)},r);if(n==="FAILURE"||n==="NOT_FOUND")throw new Error(i.map(({error_detail:s})=>s).join(` +`));if(!this.options.uploadOnly)return this.publish({target:t},r)}async upload({readStream:e=null},t=""){if(!e)throw new Error("Read stream missing");let r=t||await this.getAccessToken();return Bi.put(this.uploadEndpoint,{headers:this.getHeaders(r),body:e,throwHttpErrors:!1}).json()}async publish({target:e="default"},t=""){let r=t||await this.getAccessToken();return Bi.post(this.getPublishEndpoint(e),{headers:this.getHeaders(r)}).json()}async get({projection:e="DRAFT"},t=""){let r=t||await this.getAccessToken();return Bi.get(this.getInfoEndpoint(e),{headers:this.getHeaders(r)}).json()}async getAccessToken(){return(await Bi.post(v7,{json:{client_id:this.options.clientId,refresh_token:this.options.refreshToken,grant_type:"refresh_token",client_secret:this.options.clientSecret}}).json()).access_token}getHeaders(e){return{Authorization:`Bearer ${e}`,"x-goog-api-version":"2"}}},_7=require("module"),k7=(0,_7.createRequire)("/"),D7;try{D7=k7("worker_threads").Worker}catch{}var Gi=Uint8Array,Sl=Uint16Array,N7=Int32Array,uN=new Gi([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),hN=new Gi([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),T7=new Gi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fN=function(e,t){for(var r=new Sl(31),n=0;n<31;++n)r[n]=t+=1<>1|(Vt&21845)<<1,Ko=(Ko&52428)>>2|(Ko&13107)<<2,Ko=(Ko&61680)>>4|(Ko&3855)<<4,B0[Vt]=((Ko&65280)>>8|(Ko&255)<<8)>>1;var Ko,Vt,vh=function(e,t,r){for(var n=e.length,i=0,s=new Sl(t);i>l]=A}else for(c=new Sl(n),i=0;i>15-e[i]);return c},Vh=new Gi(288);for(Vt=0;Vt<144;++Vt)Vh[Vt]=8;var Vt;for(Vt=144;Vt<256;++Vt)Vh[Vt]=9;var Vt;for(Vt=256;Vt<280;++Vt)Vh[Vt]=7;var Vt;for(Vt=280;Vt<288;++Vt)Vh[Vt]=8;var Vt,pN=new Gi(32);for(Vt=0;Vt<32;++Vt)pN[Vt]=5;var Vt,U7=vh(Vh,9,1),x7=vh(pN,5,1),Wy=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},ms=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(t&7)&r},jy=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(t&7)},M7=function(e){return(e+7)/8|0},oQ=function(e,t,r){(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length);var n=new Gi(r-t);return n.set(e.subarray(t,r)),n},O7=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ls=function(e,t,r){var n=new Error(t||O7[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,ls),!r)throw n;return n},P7=function(e,t,r,n){var i=e.length,s=n?n.length:0;if(!i||t.f&&!t.l)return r||new Gi(0);var a=!r||t.i!=2,c=t.i;r||(r=new Gi(i*3));var l=function(ot){var U=r.length;if(ot>U){var X=new Gi(Math.max(U*2,ot));X.set(r),r=X}},A=t.f||0,f=t.p||0,h=t.b||0,g=t.l,b=t.d,C=t.m,p=t.n,Q=i*8;do{if(!g){A=ms(e,f,1);var R=ms(e,f+1,3);if(f+=3,R)if(R==1)g=U7,b=x7,C=9,p=5;else if(R==2){var _=ms(e,f,31)+257,d=ms(e,f+10,15)+4,S=_+ms(e,f+5,31)+1;f+=14;for(var m=new Gi(S),T=new Gi(19),L=0;L>4;if(q<16)m[L++]=q;else{var V=0,w=0;for(q==16?(w=3+ms(e,f,3),f+=2,V=m[L-1]):q==17?(w=3+ms(e,f,7),f+=3):q==18&&(w=11+ms(e,f,127),f+=7);w--;)m[L++]=V}}var N=m.subarray(0,_),F=m.subarray(_);C=Wy(N),p=Wy(F),g=vh(N,C,1),b=vh(F,p,1)}else ls(1);else{var q=M7(f)+4,M=e[q-4]|e[q-3]<<8,P=q+M;if(P>i){c&&ls(0);break}a&&l(h+M),r.set(e.subarray(q,P),h),t.b=h+=M,t.p=f=P*8,t.f=A;continue}if(f>Q){c&&ls(0);break}}a&&l(h+131072);for(var ee=(1<>4;if(f+=V&15,f>Q){c&&ls(0);break}if(V||ls(2),ge<256)r[h++]=ge;else if(ge==256){ce=f,g=null;break}else{var Ee=ge-254;if(ge>264){var L=ge-257,we=uN[L];Ee=ms(e,f,(1<>4;De||ls(3),f+=De&15;var F=F7[ye];if(ye>3){var we=hN[ye];F+=jy(e,f)&(1<Q){c&&ls(0);break}a&&l(h+131072);var Ke=h+Ee;if(h>>0},zy=function(e,t){return ws(e,t)+ws(e,t+4)*4294967296};function V7(e,t){return P7(e,{i:2},t&&t.out,t&&t.dictionary)}var y0=typeof TextDecoder<"u"&&new TextDecoder,H7=0;try{y0.decode(q7,{stream:!0}),H7=1}catch{}var G7=function(e){for(var t="",r=0;;){var n=e[r++],i=(n>127)+(n>223)+(n>239);if(r+i>e.length)return{s:t,r:oQ(e,r-1)};i?i==3?(n=((n&15)<<18|(e[r++]&63)<<12|(e[r++]&63)<<6|e[r++]&63)-65536,t+=String.fromCharCode(55296|n>>10,56320|n&1023)):i&1?t+=String.fromCharCode((n&31)<<6|e[r++]&63):t+=String.fromCharCode((n&15)<<12|(e[r++]&63)<<6|e[r++]&63):t+=String.fromCharCode(n)}};function CN(e,t){if(t){for(var r="",n=0;n65558)&&ls(13);var i=oo(e,n+8);if(!i)return{};var s=ws(e,n+16),a=s==4294967295||i==65535;if(a){var c=ws(e,n-12);a=ws(e,c)==101075792,a&&(i=ws(e,c+32),s=ws(e,c+48))}for(var l=t&&t.filter,A=0;A(0,z7.resolve)((0,K7.cwd)(),e),IN=e=>(0,AQ.existsSync)(aQ(e));function Hh({zip:e="",file:t="",versionFile:r="package.json"}){let n=e||t;if(IN(r)&&n.includes("{version}")){let i=JSON.parse((0,AQ.readFileSync)(r).toString());return n.replace("{version}",i.version||"")}else return n}function OE(e){let t=(0,AQ.readFileSync)(aQ(e)),r=j7(t),n=CN(r["manifest.json"]);return JSON.parse(n)}function PE({extId:e=null,market:t="",zip:r=""}){let{name:n,version:i}=OE(r),s=jD[t]||t;console.log(`Successfully updated "${e}" (${n}) to version ${i} on ${s}!`)}var Ky={};function BN({message:e="Message",prefix:t="",market:r=""}){Ky[r]=1+(Ky?.[r]??0);let n=`${r}: Step ${Ky[r]}) ${e}`;return t!=="Error"&&(t=t||"Info",n=`${t} ${n}`),t==="Info"?n=n.trim():t==="Error"&&(n=n.trimStart()),n}var yN={},Gh=e=>{yN[e]=!0,process.env.VERBOSE="true"};function qE(e=""){return t=>yN[e]&&console.log(BN({market:e,message:t}))}var VE=(e,t,r)=>{let n=new Error(BN({market:t,message:`Item "${r}": ${e.message}`,prefix:"Error"}));return n.stack=e.stack,n};function Xy(e,t){return`${e}: ${t}`}var Yh=({market:e="chrome",options:t={},errorMap:r={}})=>{if(Object.keys(r).some(i=>{if(!t[i])throw new Error(Xy(e,r[i]))}),!t.zip&&!t.file)throw new Error(Xy(e,"No extension bundle provided"));let n=t.zip||t.file;if(!IN(n))throw new Error(Xy(e,`Extension bundle file doesn't exist: ${aQ(n)}`))},kh="chrome",X7=qE(kh);async function $7({extId:e,target:t="default",zip:r,dryRun:n,...i}){let s=new R7({extId:e,...i});if(X7(`Updating extension with ID ${e}`),n)return!0;try{return await s.submit({filePath:r,target:t}),PE({extId:e,market:kh,zip:r}),!0}catch(a){let c=OE(r);throw VE(a,kh,`"${e}" (${c.name})`)}}async function Z7(e){return e.zip=Hh(e),e.verbose&&Gh(kh),Yh({market:kh,options:e,errorMap:sQ}),$7(e)}var ez=require("fs"),cQ={productId:"Product ID is required. To get one, go to: https://partner.microsoft.com/en-us/dashboard/microsoftedge/{product-id}/package/dashboard",clientId:"Client ID is required. To get one: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi",clientSecret:"Client Secret is required. To get one: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi",accessTokenUrl:"Access token URL is required. To get one: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi"},tz=Object.keys(cQ),rz=e=>new Promise(t=>setTimeout(t,e)),Qk="https://api.addons.microsoftedge.microsoft.com",nz=class{options={};constructor(e){for(let t of tz)if(!e[t])throw new Error(cQ[t]);this.options={...e}}get productEndpoint(){return`${Qk}/v1/products/${this.options.productId}`}get publishEndpoint(){return`${this.productEndpoint}/submissions`}get uploadEndpoint(){return`${this.publishEndpoint}/draft/package`}async submit({filePath:e="",notes:t=""}){let r=await this.getAccessToken(),n=await this.upload((0,ez.createReadStream)(e),r);if(await this.waitForUpload(n,r),!this.options.uploadOnly)return this.publish(t,r)}async publish(e="",t=null){let r={headers:{Authorization:`Bearer ${t||await this.getAccessToken()}`,"Content-Type":"application/x-www-form-urlencoded"}};e.length>0&&(r.body=`{ "notes"="${e}" }`);let n=await Bi.post(this.publishEndpoint,r);return this.handleTempStatus(n.statusCode,"Submit"),n.headers.location}async upload(e=null,t=null){let r=t||await this.getAccessToken(),n=await Bi.post(this.uploadEndpoint,{body:e,headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/zip"}});return this.handleTempStatus(n.statusCode,"Upload"),n.headers.location}async getPublishStatus(e,t=null){let r=t||await this.getAccessToken(),n=`${this.publishEndpoint}/operations/${e}`;return Bi.get(n,{headers:{Authorization:`Bearer ${r}`}}).json()}async waitForUpload(e,t=null,r=5,n=3e3){let i=t||await this.getAccessToken(),s=`${this.uploadEndpoint}/operations/${e}`,a,c,l=0;for(;c!=="Succeeded"&&l{if(e!==202)throw e>=500?new Error("Edge server error, please try again later"):new Error(`${t} failed, double check your api credentials`)};getAccessToken=async()=>(await Bi.post(`${this.options.accessTokenUrl}`,{body:`client_id=${this.options.clientId}&scope=${Qk}/.default&client_secret=${this.options.clientSecret}&grant_type=client_credentials`,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).json()).access_token},Dh="edge",iz=qE(Dh);async function sz({productId:e,notes:t,zip:r,dryRun:n,...i}){let s=OE(r),a=new nz({productId:e,...i});if(iz(`Updating extension with Product ID ${e}`),n)return!0;try{return await a.submit({filePath:r,notes:t}),PE({extId:e,market:Dh,zip:r}),!0}catch(c){throw VE(c,Dh,`"${e}" (${s.name})`)}}async function oz(e){return e.zip=Hh(e),e.verbose&&Gh(Dh),Yh({market:Dh,options:e,errorMap:cQ}),sz(e)}var fn=e=>typeof e=="function",Dt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:e=>`Symbol(${e})`;function QN(){}function On(e){return typeof e=="object"&&e!==null||typeof e=="function"}var mN=QN;function Ut(e,t){try{Object.defineProperty(e,"name",{value:t,configurable:!0})}catch{}}var lQ=Promise,Az=Promise.prototype.then,az=Promise.resolve.bind(lQ),cz=Promise.reject.bind(lQ);function ti(e){return new lQ(e)}function Ht(e){return az(e)}function at(e){return cz(e)}function eA(e,t,r){return Az.call(e,t,r)}function Mn(e,t,r){eA(eA(e,t,r),void 0,mN)}function mk(e,t){Mn(e,t)}function bk(e,t){Mn(e,void 0,t)}function Ss(e,t,r){return eA(e,t,r)}function Ll(e){eA(e,void 0,mN)}var oE=e=>{if(typeof queueMicrotask=="function")oE=queueMicrotask;else{let t=Ht(void 0);oE=r=>eA(t,r)}return oE(e)};function HE(e,t,r){if(typeof e!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function Za(e,t,r){try{return Ht(HE(e,t,r))}catch(n){return at(n)}}var us=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(e){let t=this._back,r=t;t._elements.length===16383&&(r={_elements:[],_next:void 0}),t._elements.push(e),r!==t&&(this._back=r,t._next=r),++this._size}shift(){let e=this._front,t=e,r=this._cursor,n=r+1,i=e._elements,s=i[r];return n===16384&&(t=e._next,n=0),--this._size,this._cursor=n,e!==t&&(this._front=t),i[r]=void 0,s}forEach(e){let t=this._cursor,r=this._front,n=r._elements;for(;!(t===n.length&&r._next===void 0||t===n.length&&(r=r._next,n=r._elements,t=0,n.length===0));)e(n[t]),++t}peek(){let e=this._front,t=this._cursor;return e._elements[t]}},bN=Dt("[[AbortSteps]]"),wN=Dt("[[ErrorSteps]]"),uQ=Dt("[[CancelSteps]]"),hQ=Dt("[[PullSteps]]"),fQ=Dt("[[ReleaseSteps]]");function vN(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?Q0(e):t._state==="closed"?function(r){Q0(r),kN(r)}(e):_N(e,t._storedError)}function SN(e,t){return AT(e._ownerReadableStream,t)}function RN(e){let t=e._ownerReadableStream;t._state==="readable"?gQ(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(r,n){_N(r,n)}(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),t._readableStreamController[fQ](),t._reader=void 0,e._ownerReadableStream=void 0}function Fl(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Q0(e){e._closedPromise=ti((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function _N(e,t){Q0(e),gQ(e,t)}function gQ(e,t){e._closedPromise_reject!==void 0&&(Ll(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function kN(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var wk=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},lz=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function tA(e,t){if(e!==void 0&&typeof(r=e)!="object"&&typeof r!="function")throw new TypeError(`${t} is not an object.`);var r}function ks(e,t){if(typeof e!="function")throw new TypeError(`${t} is not a function.`)}function DN(e,t){if(!function(r){return typeof r=="object"&&r!==null||typeof r=="function"}(e))throw new TypeError(`${t} is not an object.`)}function nA(e,t,r){if(e===void 0)throw new TypeError(`Parameter ${t} is required in '${r}'.`)}function m0(e,t,r){if(e===void 0)throw new TypeError(`${t} is required in '${r}'.`)}function dQ(e){return Number(e)}function vk(e){return e===0?0:e}function NN(e,t){let r=Number.MAX_SAFE_INTEGER,n=Number(e);if(n=vk(n),!wk(n))throw new TypeError(`${t} is not a finite number`);if(n=function(i){return vk(lz(i))}(n),n<0||n>r)throw new TypeError(`${t} is outside the accepted range of 0 to ${r}, inclusive`);return wk(n)&&n!==0?n:0}function mh(e){if(!On(e)||typeof e.getReader!="function")return!1;try{return typeof e.locked=="boolean"}catch{return!1}}function TN(e){if(!On(e)||typeof e.getWriter!="function")return!1;try{return typeof e.locked=="boolean"}catch{return!1}}function LN(e,t){if(!Xa(e))throw new TypeError(`${t} is not a ReadableStream.`)}function FN(e,t){e._reader._readRequests.push(t)}function EQ(e,t,r){let n=e._reader._readRequests.shift();r?n._closeSteps():n._chunkSteps(t)}function GE(e){return e._reader._readRequests.length}function UN(e){let t=e._reader;return t!==void 0&&!!Ka(t)}var Ha=class{constructor(e){if(nA(e,1,"ReadableStreamDefaultReader"),LN(e,"First parameter"),xl(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");vN(this,e),this._readRequests=new us}get closed(){return Ka(this)?this._closedPromise:at(Hd("closed"))}cancel(e){return Ka(this)?this._ownerReadableStream===void 0?at(Fl("cancel")):SN(this,e):at(Hd("cancel"))}read(){if(!Ka(this))return at(Hd("read"));if(this._ownerReadableStream===void 0)return at(Fl("read from"));let e,t,r=ti((n,i)=>{e=n,t=i});return function(n,i){let s=n._ownerReadableStream;s._disturbed=!0,s._state==="closed"?i._closeSteps():s._state==="errored"?i._errorSteps(s._storedError):s._readableStreamController[hQ](i)}(this,{_chunkSteps:n=>e({value:n,done:!1}),_closeSteps:()=>e({value:void 0,done:!0}),_errorSteps:n=>t(n)}),r}releaseLock(){if(!Ka(this))throw Hd("releaseLock");this._ownerReadableStream!==void 0&&function(e){RN(e);let t=new TypeError("Reader was released");xN(e,t)}(this)}};function Ka(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof Ha}function xN(e,t){let r=e._readRequests;e._readRequests=new us,r.forEach(n=>{n._errorSteps(t)})}function Hd(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}Object.defineProperties(Ha.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),Ut(Ha.prototype.cancel,"cancel"),Ut(Ha.prototype.read,"read"),Ut(Ha.prototype.releaseLock,"releaseLock"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ha.prototype,Dt.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});var MN=class{constructor(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}next(){let e=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?Ss(this._ongoingPromise,e,e):e(),this._ongoingPromise}return(e){let t=()=>this._returnSteps(e);return this._ongoingPromise?Ss(this._ongoingPromise,t,t):t()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let e=this._reader;return e===void 0?at(Fl("iterate")):eA(e.read(),t=>{var r;return this._ongoingPromise=void 0,t.done&&(this._isFinished=!0,(r=this._reader)===null||r===void 0||r.releaseLock(),this._reader=void 0),t},t=>{var r;throw this._ongoingPromise=void 0,this._isFinished=!0,(r=this._reader)===null||r===void 0||r.releaseLock(),this._reader=void 0,t})}_returnSteps(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;let t=this._reader;if(t===void 0)return at(Fl("finish iterating"));if(this._reader=void 0,!this._preventCancel){let r=t.cancel(e);return t.releaseLock(),Ss(r,()=>({value:e,done:!0}))}return t.releaseLock(),Ht({value:e,done:!0})}},ON={next(){return Sk(this)?this._asyncIteratorImpl.next():at(Rk("next"))},return(e){return Sk(this)?this._asyncIteratorImpl.return(e):at(Rk("return"))}};function Sk(e){if(!On(e)||!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof MN}catch{return!1}}function Rk(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}typeof Dt.asyncIterator=="symbol"&&Object.defineProperty(ON,Dt.asyncIterator,{value(){return this},writable:!0,configurable:!0});var PN=Number.isNaN||function(e){return e!=e};function qN(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)}function _k(e){let t=function(r,n,i){if(r.slice)return r.slice(n,i);let s=i-n,a=new ArrayBuffer(s);return qN(a,0,r,n,s),a}(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function b0(e){let t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function pQ(e,t,r){if(typeof(n=r)!="number"||PN(n)||n<0||r===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");var n;e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function WA(e){e._queue=new us,e._queueTotalSize=0}var Rl=class{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!$y(this))throw Zy("view");return this._view}respond(e){if(!$y(this))throw Zy("respond");if(nA(e,1,"respond"),e=NN(e,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");this._view.buffer,function(t,r){let n=t._pendingPullIntos.peek();if(t._controlledReadableByteStream._state==="closed"){if(r!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(r===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(n.bytesFilled+r>n.byteLength)throw new RangeError("bytesWritten out of range")}n.buffer=n.buffer,kk(t,r)}(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!$y(this))throw Zy("respondWithNewView");if(nA(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))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");e.buffer,function(t,r){let n=t._pendingPullIntos.peek();if(t._controlledReadableByteStream._state==="closed"){if(r.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(r.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(n.byteOffset+n.bytesFilled!==r.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(n.bufferByteLength!==r.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(n.bytesFilled+r.byteLength>n.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let i=r.byteLength;n.buffer=r.buffer,kk(t,i)}(this._associatedReadableByteStreamController,e)}};Object.defineProperties(Rl.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),Ut(Rl.prototype.respond,"respond"),Ut(Rl.prototype.respondWithNewView,"respondWithNewView"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Rl.prototype,Dt.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Ga=class{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!bl(this))throw Ch("byobRequest");return function(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(Rl.prototype);(function(i,s,a){i._associatedReadableByteStreamController=s,i._view=a})(n,e,r),e._byobRequest=n}return e._byobRequest}(this)}get desiredSize(){if(!bl(this))throw Ch("desiredSize");return zN(this)}close(){if(!bl(this))throw Ch("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let e=this._controlledReadableByteStream._state;if(e!=="readable")throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);(function(t){let r=t._controlledReadableByteStream;if(!(t._closeRequested||r._state!=="readable")){if(t._queueTotalSize>0)return void(t._closeRequested=!0);if(t._pendingPullIntos.length>0&&t._pendingPullIntos.peek().bytesFilled>0){let n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Ul(t,n),n}pE(t),Th(r)}})(this)}enqueue(e){if(!bl(this))throw Ch("enqueue");if(nA(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new TypeError("chunk must be an array buffer view");if(e.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(e.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 t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);(function(r,n){let i=r._controlledReadableByteStream;if(r._closeRequested||i._state!=="readable")return;let s=n.buffer,a=n.byteOffset,c=n.byteLength,l=s;if(r._pendingPullIntos.length>0){let A=r._pendingPullIntos.peek();A.buffer,CQ(r),A.buffer=A.buffer,A.readerType==="none"&&YN(r,A)}UN(i)?(function(A){let f=A._controlledReadableByteStream._reader;for(;f._readRequests.length>0;){if(A._queueTotalSize===0)return;Dk(A,f._readRequests.shift())}}(r),GE(i)===0?AE(r,l,a,c):(r._pendingPullIntos.length>0&&Dl(r),EQ(i,new Uint8Array(l,a,c),!1))):IQ(i)?(AE(r,l,a,c),v0(r)):AE(r,l,a,c),$a(r)})(this,e)}error(e){if(!bl(this))throw Ch("error");Ul(this,e)}[uQ](e){VN(this),WA(this);let t=this._cancelAlgorithm(e);return pE(this),t}[hQ](e){let t=this._controlledReadableByteStream;if(this._queueTotalSize>0)return void Dk(this,e);let r=this._autoAllocateChunkSize;if(r!==void 0){let n;try{n=new ArrayBuffer(r)}catch(s){return void e._errorSteps(s)}let i={buffer:n,bufferByteLength:r,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(i)}FN(t,e),$a(this)}[fQ](){if(this._pendingPullIntos.length>0){let e=this._pendingPullIntos.peek();e.readerType="none",this._pendingPullIntos=new us,this._pendingPullIntos.push(e)}}};function bl(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof Ga}function $y(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof Rl}function $a(e){if(function(t){let r=t._controlledReadableByteStream;return r._state!=="readable"||t._closeRequested||!t._started?!1:!!(UN(r)&&GE(r)>0||IQ(r)&&KN(r)>0||zN(t)>0)}(e)){if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0,Mn(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,$a(e)),null),t=>(Ul(e,t),null))}}function VN(e){CQ(e),e._pendingPullIntos=new us}function w0(e,t){let r=!1;e._state==="closed"&&(r=!0);let n=HN(t);t.readerType==="default"?EQ(e,n,r):function(i,s,a){let c=i._reader._readIntoRequests.shift();a?c._closeSteps(s):c._chunkSteps(s)}(e,n,r)}function HN(e){let t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function AE(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function GN(e,t,r,n){let i;try{i=t.slice(r,r+n)}catch(s){throw Ul(e,s),s}AE(e,i,0,n)}function YN(e,t){t.bytesFilled>0&&GN(e,t.buffer,t.byteOffset,t.bytesFilled),Dl(e)}function JN(e,t){let r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),s=t.bytesFilled+i,a=s-s%r,c=i,l=!1;a>n&&(c=a-t.bytesFilled,l=!0);let A=e._queue;for(;c>0;){let f=A.peek(),h=Math.min(c,f.byteLength),g=t.byteOffset+t.bytesFilled;qN(t.buffer,g,f.buffer,f.byteOffset,h),f.byteLength===h?A.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,WN(e,h,t),c-=h}return l}function WN(e,t,r){r.bytesFilled+=t}function jN(e){e._queueTotalSize===0&&e._closeRequested?(pE(e),Th(e._controlledReadableByteStream)):$a(e)}function CQ(e){e._byobRequest!==null&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function v0(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;let t=e._pendingPullIntos.peek();JN(e,t)&&(Dl(e),w0(e._controlledReadableByteStream,t))}}function kk(e,t){let r=e._pendingPullIntos.peek();CQ(e),e._controlledReadableByteStream._state==="closed"?function(n,i){i.readerType==="none"&&Dl(n);let s=n._controlledReadableByteStream;if(IQ(s))for(;KN(s)>0;)w0(s,Dl(n))}(e,r):function(n,i,s){if(WN(0,i,s),s.readerType==="none")return YN(n,s),void v0(n);if(s.bytesFilled0){let c=s.byteOffset+s.bytesFilled;GN(n,s.buffer,c-a,a)}s.bytesFilled-=a,w0(n._controlledReadableByteStream,s),v0(n)}(e,t,r),$a(e)}function Dl(e){return e._pendingPullIntos.shift()}function pE(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Ul(e,t){let r=e._controlledReadableByteStream;r._state==="readable"&&(VN(e),WA(e),pE(e),aT(r,t))}function Dk(e,t){let r=e._queue.shift();e._queueTotalSize-=r.byteLength,jN(e);let n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);t._chunkSteps(n)}function zN(e){let t=e._controlledReadableByteStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function uz(e,t,r){let n=Object.create(Ga.prototype),i,s,a;i=t.start!==void 0?()=>t.start(n):()=>{},s=t.pull!==void 0?()=>t.pull(n):()=>Ht(void 0),a=t.cancel!==void 0?l=>t.cancel(l):()=>Ht(void 0);let c=t.autoAllocateChunkSize;if(c===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");(function(l,A,f,h,g,b,C){A._controlledReadableByteStream=l,A._pullAgain=!1,A._pulling=!1,A._byobRequest=null,A._queue=A._queueTotalSize=void 0,WA(A),A._closeRequested=!1,A._started=!1,A._strategyHWM=b,A._pullAlgorithm=h,A._cancelAlgorithm=g,A._autoAllocateChunkSize=C,A._pendingPullIntos=new us,l._readableStreamController=A,Mn(Ht(f()),()=>(A._started=!0,$a(A),null),p=>(Ul(A,p),null))})(e,n,i,s,a,r,c)}function Zy(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function Ch(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function Nk(e,t){e._reader._readIntoRequests.push(t)}function KN(e){return e._reader._readIntoRequests.length}function IQ(e){let t=e._reader;return t!==void 0&&!!_l(t)}Object.defineProperties(Ga.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),Ut(Ga.prototype.close,"close"),Ut(Ga.prototype.enqueue,"enqueue"),Ut(Ga.prototype.error,"error"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ga.prototype,Dt.toStringTag,{value:"ReadableByteStreamController",configurable:!0});var Ya=class{constructor(e){if(nA(e,1,"ReadableStreamBYOBReader"),LN(e,"First parameter"),xl(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!bl(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");vN(this,e),this._readIntoRequests=new us}get closed(){return _l(this)?this._closedPromise:at(Gd("closed"))}cancel(e){return _l(this)?this._ownerReadableStream===void 0?at(Fl("cancel")):SN(this,e):at(Gd("cancel"))}read(e){if(!_l(this))return at(Gd("read"));if(!ArrayBuffer.isView(e))return at(new TypeError("view must be an array buffer view"));if(e.byteLength===0)return at(new TypeError("view must have non-zero byteLength"));if(e.buffer.byteLength===0)return at(new TypeError("view's buffer must have non-zero byteLength"));if(e.buffer,this._ownerReadableStream===void 0)return at(Fl("read from"));let t,r,n=ti((i,s)=>{t=i,r=s});return function(i,s,a){let c=i._ownerReadableStream;c._disturbed=!0,c._state==="errored"?a._errorSteps(c._storedError):function(l,A,f){let h=l._controlledReadableByteStream,g=1;A.constructor!==DataView&&(g=A.constructor.BYTES_PER_ELEMENT);let b=A.constructor,C=A.buffer,p={buffer:C,bufferByteLength:C.byteLength,byteOffset:A.byteOffset,byteLength:A.byteLength,bytesFilled:0,elementSize:g,viewConstructor:b,readerType:"byob"};if(l._pendingPullIntos.length>0)return l._pendingPullIntos.push(p),void Nk(h,f);if(h._state!=="closed"){if(l._queueTotalSize>0){if(JN(l,p)){let Q=HN(p);return jN(l),void f._chunkSteps(Q)}if(l._closeRequested){let Q=new TypeError("Insufficient bytes to fill elements in the given buffer");return Ul(l,Q),void f._errorSteps(Q)}}l._pendingPullIntos.push(p),Nk(h,f),$a(l)}else{let Q=new b(p.buffer,p.byteOffset,0);f._closeSteps(Q)}}(c._readableStreamController,s,a)}(this,e,{_chunkSteps:i=>t({value:i,done:!1}),_closeSteps:i=>t({value:i,done:!0}),_errorSteps:i=>r(i)}),n}releaseLock(){if(!_l(this))throw Gd("releaseLock");this._ownerReadableStream!==void 0&&function(e){RN(e);let t=new TypeError("Reader was released");XN(e,t)}(this)}};function _l(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof Ya}function XN(e,t){let r=e._readIntoRequests;e._readIntoRequests=new us,r.forEach(n=>{n._errorSteps(t)})}function Gd(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function Nh(e,t){let{highWaterMark:r}=e;if(r===void 0)return t;if(PN(r)||r<0)throw new RangeError("Invalid highWaterMark");return r}function CE(e){let{size:t}=e;return t||(()=>1)}function IE(e,t){tA(e,t);let r=e?.highWaterMark,n=e?.size;return{highWaterMark:r===void 0?void 0:dQ(r),size:n===void 0?void 0:hz(n,`${t} has member 'size' that`)}}function hz(e,t){return ks(e,t),r=>dQ(e(r))}function fz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function gz(e,t,r){return ks(e,r),()=>Za(e,t,[])}function dz(e,t,r){return ks(e,r),n=>HE(e,t,[n])}function Ez(e,t,r){return ks(e,r),(n,i)=>Za(e,t,[n,i])}Object.defineProperties(Ya.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),Ut(Ya.prototype.cancel,"cancel"),Ut(Ya.prototype.read,"read"),Ut(Ya.prototype.releaseLock,"releaseLock"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ya.prototype,Dt.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});var pz=typeof AbortController=="function",Ja=class{constructor(e={},t={}){e===void 0?e=null:DN(e,"First parameter");let r=IE(t,"Second parameter"),n=function(a,c){tA(a,c);let l=a?.abort,A=a?.close,f=a?.start,h=a?.type,g=a?.write;return{abort:l===void 0?void 0:fz(l,a,`${c} has member 'abort' that`),close:A===void 0?void 0:gz(A,a,`${c} has member 'close' that`),start:f===void 0?void 0:dz(f,a,`${c} has member 'start' that`),write:g===void 0?void 0:Ez(g,a,`${c} has member 'write' that`),type:h}}(e,"First parameter");var i;if((i=this)._state="writable",i._storedError=void 0,i._writer=void 0,i._writableStreamController=void 0,i._writeRequests=new us,i._inFlightWriteRequest=void 0,i._closeRequest=void 0,i._inFlightCloseRequest=void 0,i._pendingAbortRequest=void 0,i._backpressure=!1,n.type!==void 0)throw new RangeError("Invalid type is specified");let s=CE(r);(function(a,c,l,A){let f=Object.create(BE.prototype),h,g,b,C;h=c.start!==void 0?()=>c.start(f):()=>{},g=c.write!==void 0?p=>c.write(p,f):()=>Ht(void 0),b=c.close!==void 0?()=>c.close():()=>Ht(void 0),C=c.abort!==void 0?p=>c.abort(p):()=>Ht(void 0),function(p,Q,R,_,d,S,m,T){Q._controlledWritableStream=p,p._writableStreamController=Q,Q._queue=void 0,Q._queueTotalSize=void 0,WA(Q),Q._abortReason=void 0,Q._abortController=function(){if(pz)return new AbortController}(),Q._started=!1,Q._strategySizeAlgorithm=T,Q._strategyHWM=m,Q._writeAlgorithm=_,Q._closeAlgorithm=d,Q._abortAlgorithm=S;let L=mQ(Q);QQ(p,L);let v=R();Mn(Ht(v),()=>(Q._started=!0,YE(Q),null),I=>(Q._started=!0,S0(p,I),null))}(a,f,h,g,b,C,l,A)})(this,n,Nh(r,1),s)}get locked(){if(!ao(this))throw Jd("locked");return aE(this)}abort(e){return ao(this)?aE(this)?at(new TypeError("Cannot abort a stream that already has a writer")):$N(this,e):at(Jd("abort"))}close(){return ao(this)?aE(this)?at(new TypeError("Cannot close a stream that already has a writer")):GA(this)?at(new TypeError("Cannot close an already-closing stream")):ZN(this):at(Jd("close"))}getWriter(){if(!ao(this))throw Jd("getWriter");return new HA(this)}};function ao(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")&&e instanceof Ja}function aE(e){return e._writer!==void 0}function $N(e,t){var r;if(e._state==="closed"||e._state==="errored")return Ht(void 0);e._writableStreamController._abortReason=t,(r=e._writableStreamController._abortController)===null||r===void 0||r.abort(t);let n=e._state;if(n==="closed"||n==="errored")return Ht(void 0);if(e._pendingAbortRequest!==void 0)return e._pendingAbortRequest._promise;let i=!1;n==="erroring"&&(i=!0,t=void 0);let s=ti((a,c)=>{e._pendingAbortRequest={_promise:void 0,_resolve:a,_reject:c,_reason:t,_wasAlreadyErroring:i}});return e._pendingAbortRequest._promise=s,i||BQ(e,t),s}function ZN(e){let t=e._state;if(t==="closed"||t==="errored")return at(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));let r=ti((s,a)=>{let c={_resolve:s,_reject:a};e._closeRequest=c}),n=e._writer;var i;return n!==void 0&&e._backpressure&&t==="writable"&&wQ(n),pQ(i=e._writableStreamController,tT,0),YE(i),r}function S0(e,t){e._state!=="writable"?yQ(e):BQ(e,t)}function BQ(e,t){let r=e._writableStreamController;e._state="erroring",e._storedError=t;let n=e._writer;n!==void 0&&eT(n,t),!function(i){return!(i._inFlightWriteRequest===void 0&&i._inFlightCloseRequest===void 0)}(e)&&r._started&&yQ(e)}function yQ(e){e._state="errored",e._writableStreamController[wN]();let t=e._storedError;if(e._writeRequests.forEach(n=>{n._reject(t)}),e._writeRequests=new us,e._pendingAbortRequest===void 0)return void Yd(e);let r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring)return r._reject(t),void Yd(e);Mn(e._writableStreamController[bN](r._reason),()=>(r._resolve(),Yd(e),null),n=>(r._reject(n),Yd(e),null))}function GA(e){return e._closeRequest!==void 0||e._inFlightCloseRequest!==void 0}function Yd(e){e._closeRequest!==void 0&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);let t=e._writer;t!==void 0&&bQ(t,e._storedError)}function QQ(e,t){let r=e._writer;r!==void 0&&t!==e._backpressure&&(t?function(n){JE(n)}(r):wQ(r)),e._backpressure=t}Object.defineProperties(Ja.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),Ut(Ja.prototype.abort,"abort"),Ut(Ja.prototype.close,"close"),Ut(Ja.prototype.getWriter,"getWriter"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Ja.prototype,Dt.toStringTag,{value:"WritableStream",configurable:!0});var HA=class{constructor(e){if(nA(e,1,"WritableStreamDefaultWriter"),function(n,i){if(!ao(n))throw new TypeError(`${i} is not a WritableStream.`)}(e,"First parameter"),aE(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;let t=e._state;if(t==="writable")!GA(e)&&e._backpressure?JE(this):Fk(this),cE(this);else if(t==="erroring")R0(this,e._storedError),cE(this);else if(t==="closed")Fk(this),cE(r=this),iT(r);else{let n=e._storedError;R0(this,n),Lk(this,n)}var r}get closed(){return xa(this)?this._closedPromise:at(Ma("closed"))}get desiredSize(){if(!xa(this))throw Ma("desiredSize");if(this._ownerWritableStream===void 0)throw Ih("desiredSize");return function(e){let t=e._ownerWritableStream,r=t._state;return r==="errored"||r==="erroring"?null:r==="closed"?0:rT(t._writableStreamController)}(this)}get ready(){return xa(this)?this._readyPromise:at(Ma("ready"))}abort(e){return xa(this)?this._ownerWritableStream===void 0?at(Ih("abort")):function(t,r){return $N(t._ownerWritableStream,r)}(this,e):at(Ma("abort"))}close(){if(!xa(this))return at(Ma("close"));let e=this._ownerWritableStream;return e===void 0?at(Ih("close")):GA(e)?at(new TypeError("Cannot close an already-closing stream")):ZN(this._ownerWritableStream)}releaseLock(){if(!xa(this))throw Ma("releaseLock");this._ownerWritableStream!==void 0&&function(e){let t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");eT(e,r),function(n,i){n._closedPromiseState==="pending"?bQ(n,i):function(s,a){Lk(s,a)}(n,i)}(e,r),t._writer=void 0,e._ownerWritableStream=void 0}(this)}write(e){return xa(this)?this._ownerWritableStream===void 0?at(Ih("write to")):function(t,r){let n=t._ownerWritableStream,i=n._writableStreamController,s=function(l,A){try{return l._strategySizeAlgorithm(A)}catch(f){return Tk(l,f),1}}(i,r);if(n!==t._ownerWritableStream)return at(Ih("write to"));let a=n._state;if(a==="errored")return at(n._storedError);if(GA(n)||a==="closed")return at(new TypeError("The stream is closing or closed and cannot be written to"));if(a==="erroring")return at(n._storedError);let c=function(l){return ti((A,f)=>{let h={_resolve:A,_reject:f};l._writeRequests.push(h)})}(n);return function(l,A,f){try{pQ(l,A,f)}catch(g){return void Tk(l,g)}let h=l._controlledWritableStream;!GA(h)&&h._state==="writable"&&QQ(h,mQ(l)),YE(l)}(i,r,s),c}(this,e):at(Ma("write"))}};function xa(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof HA}function eT(e,t){e._readyPromiseState==="pending"?sT(e,t):function(r,n){R0(r,n)}(e,t)}Object.defineProperties(HA.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),Ut(HA.prototype.abort,"abort"),Ut(HA.prototype.close,"close"),Ut(HA.prototype.releaseLock,"releaseLock"),Ut(HA.prototype.write,"write"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(HA.prototype,Dt.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});var tT={},BE=class{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!e0(this))throw t0("abortReason");return this._abortReason}get signal(){if(!e0(this))throw t0("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(e){if(!e0(this))throw t0("error");this._controlledWritableStream._state==="writable"&&nT(this,e)}[bN](e){let t=this._abortAlgorithm(e);return yE(this),t}[wN](){WA(this)}};function e0(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof BE}function yE(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function rT(e){return e._strategyHWM-e._queueTotalSize}function YE(e){let t=e._controlledWritableStream;if(!e._started||t._inFlightWriteRequest!==void 0)return;if(t._state==="erroring")return void yQ(t);if(e._queue.length===0)return;let r=e._queue.peek().value;r===tT?function(n){let i=n._controlledWritableStream;(function(a){a._inFlightCloseRequest=a._closeRequest,a._closeRequest=void 0})(i),b0(n);let s=n._closeAlgorithm();yE(n),Mn(s,()=>(function(a){a._inFlightCloseRequest._resolve(void 0),a._inFlightCloseRequest=void 0,a._state==="erroring"&&(a._storedError=void 0,a._pendingAbortRequest!==void 0&&(a._pendingAbortRequest._resolve(),a._pendingAbortRequest=void 0)),a._state="closed";let c=a._writer;c!==void 0&&iT(c)}(i),null),a=>(function(c,l){c._inFlightCloseRequest._reject(l),c._inFlightCloseRequest=void 0,c._pendingAbortRequest!==void 0&&(c._pendingAbortRequest._reject(l),c._pendingAbortRequest=void 0),S0(c,l)}(i,a),null))}(e):function(n,i){let s=n._controlledWritableStream;(function(a){a._inFlightWriteRequest=a._writeRequests.shift()})(s),Mn(n._writeAlgorithm(i),()=>{(function(c){c._inFlightWriteRequest._resolve(void 0),c._inFlightWriteRequest=void 0})(s);let a=s._state;if(b0(n),!GA(s)&&a==="writable"){let c=mQ(n);QQ(s,c)}return YE(n),null},a=>(s._state==="writable"&&yE(n),function(c,l){c._inFlightWriteRequest._reject(l),c._inFlightWriteRequest=void 0,S0(c,l)}(s,a),null))}(e,r)}function Tk(e,t){e._controlledWritableStream._state==="writable"&&nT(e,t)}function mQ(e){return rT(e)<=0}function nT(e,t){let r=e._controlledWritableStream;yE(e),BQ(r,t)}function Jd(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function t0(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function Ma(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function Ih(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function cE(e){e._closedPromise=ti((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function Lk(e,t){cE(e),bQ(e,t)}function bQ(e,t){e._closedPromise_reject!==void 0&&(Ll(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function iT(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 JE(e){e._readyPromise=ti((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function R0(e,t){JE(e),sT(e,t)}function Fk(e){JE(e),wQ(e)}function sT(e,t){e._readyPromise_reject!==void 0&&(Ll(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function wQ(e){e._readyPromise_resolve!==void 0&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}Object.defineProperties(BE.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(BE.prototype,Dt.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});var Uk=typeof DOMException<"u"?DOMException:void 0,Cz=function(e){if(typeof e!="function"&&typeof e!="object")return!1;try{return new e,!0}catch{return!1}}(Uk)?Uk:function(){let e=function(t,r){this.message=t||"",this.name=r||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}();function xk(e,t,r,n,i,s){let a=e.getReader(),c=t.getWriter();Xa(e)&&(e._disturbed=!0);let l,A,f,h=!1,g=!1,b="readable",C="writable",p=!1,Q=!1,R=ti(d=>{f=d}),_=Promise.resolve(void 0);return ti((d,S)=>{let m;function T(){if(h)return;let V=ti((w,N)=>{(function F(M){M?w():eA(function(){return h?Ht(!0):eA(c.ready,()=>eA(a.read(),P=>!!P.done||(_=c.write(P.value),Ll(_),!1)))}(),F,N)})(!1)});Ll(V)}function L(){return b="closed",r?O():E(()=>(ao(t)&&(p=GA(t),C=t._state),p||C==="closed"?Ht(void 0):C==="erroring"||C==="errored"?at(A):(p=!0,c.close())),!1,void 0),null}function v(V){return h||(b="errored",l=V,n?O(!0,V):E(()=>c.abort(V),!0,V)),null}function I(V){return g||(C="errored",A=V,i?O(!0,V):E(()=>a.cancel(V),!0,V)),null}if(s!==void 0&&(m=()=>{let V=s.reason!==void 0?s.reason:new Cz("Aborted","AbortError"),w=[];n||w.push(()=>C==="writable"?c.abort(V):Ht(void 0)),i||w.push(()=>b==="readable"?a.cancel(V):Ht(void 0)),E(()=>Promise.all(w.map(N=>N())),!0,V)},s.aborted?m():s.addEventListener("abort",m)),Xa(e)&&(b=e._state,l=e._storedError),ao(t)&&(C=t._state,A=t._storedError,p=GA(t)),Xa(e)&&ao(t)&&(Q=!0,f()),b==="errored")v(l);else if(C==="erroring"||C==="errored")I(A);else if(b==="closed")L();else if(p||C==="closed"){let V=new TypeError("the destination writable stream closed before all data could be piped to it");i?O(!0,V):E(()=>a.cancel(V),!0,V)}function E(V,w,N){function F(){return C!=="writable"||p?M():mk(function(){let P;return Ht(function ee(){if(P!==_)return P=_,Ss(_,ee,ee)}())}(),M),null}function M(){return V?Mn(V(),()=>q(w,N),P=>q(!0,P)):q(w,N),null}h||(h=!0,Q?F():mk(R,F))}function O(V,w){E(void 0,V,w)}function q(V,w){return g=!0,c.releaseLock(),a.releaseLock(),s!==void 0&&s.removeEventListener("abort",m),V?S(w):d(void 0),null}h||(Mn(a.closed,L,v),Mn(c.closed,function(){return g||(C="closed"),null},I)),Q?T():oE(()=>{Q=!0,f(),T()})})}function Iz(e,t){return function(r){try{return r.getReader({mode:"byob"}).releaseLock(),!0}catch{return!1}}(e)?function(r){let n,i,s,a,c,l=r.getReader(),A=!1,f=!1,h=!1,g=!1,b=!1,C=!1,p=ti(I=>{c=I});function Q(I){bk(I.closed,E=>(I!==l||(s.error(E),a.error(E),b&&C||c(void 0)),null))}function R(){A&&(l.releaseLock(),l=r.getReader(),Q(l),A=!1),Mn(l.read(),I=>{var E,O;if(h=!1,g=!1,I.done)return b||s.close(),C||a.close(),(E=s.byobRequest)===null||E===void 0||E.respond(0),(O=a.byobRequest)===null||O===void 0||O.respond(0),b&&C||c(void 0),null;let q=I.value,V=q,w=q;if(!b&&!C)try{w=_k(q)}catch(N){return s.error(N),a.error(N),c(l.cancel(N)),null}return b||s.enqueue(V),C||a.enqueue(w),f=!1,h?d():g&&S(),null},()=>(f=!1,null))}function _(I,E){A||(l.releaseLock(),l=r.getReader({mode:"byob"}),Q(l),A=!0);let O=E?a:s,q=E?s:a;Mn(l.read(I),V=>{var w;h=!1,g=!1;let N=E?C:b,F=E?b:C;if(V.done){N||O.close(),F||q.close();let P=V.value;return P!==void 0&&(N||O.byobRequest.respondWithNewView(P),F||(w=q.byobRequest)===null||w===void 0||w.respond(0)),N&&F||c(void 0),null}let M=V.value;if(F)N||O.byobRequest.respondWithNewView(M);else{let P;try{P=_k(M)}catch(ee){return O.error(ee),q.error(ee),c(l.cancel(ee)),null}N||O.byobRequest.respondWithNewView(M),q.enqueue(P)}return f=!1,h?d():g&&S(),null},()=>(f=!1,null))}function d(){if(f)return h=!0,Ht(void 0);f=!0;let I=s.byobRequest;return I===null?R():_(I.view,!1),Ht(void 0)}function S(){if(f)return g=!0,Ht(void 0);f=!0;let I=a.byobRequest;return I===null?R():_(I.view,!0),Ht(void 0)}function m(I){if(b=!0,n=I,C){let E=[n,i],O=l.cancel(E);c(O)}return p}function T(I){if(C=!0,i=I,b){let E=[n,i],O=l.cancel(E);c(O)}return p}let L=new wn({type:"bytes",start(I){s=I},pull:d,cancel:m}),v=new wn({type:"bytes",start(I){a=I},pull:S,cancel:T});return Q(l),[L,v]}(e):function(r,n){let i=r.getReader(),s,a,c,l,A,f=!1,h=!1,g=!1,b=!1,C=ti(S=>{A=S});function p(){return f?(h=!0,Ht(void 0)):(f=!0,Mn(i.read(),S=>{if(h=!1,S.done)return g||c.close(),b||l.close(),g&&b||A(void 0),null;let m=S.value,T=m,L=m;return g||c.enqueue(T),b||l.enqueue(L),f=!1,h&&p(),null},()=>(f=!1,null)),Ht(void 0))}function Q(S){if(g=!0,s=S,b){let m=[s,a],T=i.cancel(m);A(T)}return C}function R(S){if(b=!0,a=S,g){let m=[s,a],T=i.cancel(m);A(T)}return C}let _=new wn({start(S){c=S},pull:p,cancel:Q}),d=new wn({start(S){l=S},pull:p,cancel:R});return bk(i.closed,S=>(c.error(S),l.error(S),g&&b||A(void 0),null)),[_,d]}(e)}var Wa=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Wd(this))throw jd("desiredSize");return oT(this)}close(){if(!Wd(this))throw jd("close");if(!bh(this))throw new TypeError("The stream is not in a state that permits close");(function(e){if(!bh(e))return;let t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(lE(e),Th(t))})(this)}enqueue(e){if(!Wd(this))throw jd("enqueue");if(!bh(this))throw new TypeError("The stream is not in a state that permits enqueue");return function(t,r){if(!bh(t))return;let n=t._controlledReadableStream;if(xl(n)&&GE(n)>0)EQ(n,r,!1);else{let i;try{i=t._strategySizeAlgorithm(r)}catch(s){throw Rh(t,s),s}try{pQ(t,r,i)}catch(s){throw Rh(t,s),s}}Sh(t)}(this,e)}error(e){if(!Wd(this))throw jd("error");Rh(this,e)}[uQ](e){WA(this);let t=this._cancelAlgorithm(e);return lE(this),t}[hQ](e){let t=this._controlledReadableStream;if(this._queue.length>0){let r=b0(this);this._closeRequested&&this._queue.length===0?(lE(this),Th(t)):Sh(this),e._chunkSteps(r)}else FN(t,e),Sh(this)}[fQ](){}};function Wd(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof Wa}function Sh(e){if(function(t){let r=t._controlledReadableStream;return!bh(t)||!t._started?!1:!!(xl(r)&&GE(r)>0||oT(t)>0)}(e)){if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0,Mn(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Sh(e)),null),t=>(Rh(e,t),null))}}function lE(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Rh(e,t){let r=e._controlledReadableStream;r._state==="readable"&&(WA(e),lE(e),aT(r,t))}function oT(e){let t=e._controlledReadableStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function bh(e){return!e._closeRequested&&e._controlledReadableStream._state==="readable"}function Bz(e,t,r,n){let i=Object.create(Wa.prototype),s,a,c;s=t.start!==void 0?()=>t.start(i):()=>{},a=t.pull!==void 0?()=>t.pull(i):()=>Ht(void 0),c=t.cancel!==void 0?l=>t.cancel(l):()=>Ht(void 0),function(l,A,f,h,g,b,C){A._controlledReadableStream=l,A._queue=void 0,A._queueTotalSize=void 0,WA(A),A._started=!1,A._closeRequested=!1,A._pullAgain=!1,A._pulling=!1,A._strategySizeAlgorithm=C,A._strategyHWM=b,A._pullAlgorithm=h,A._cancelAlgorithm=g,l._readableStreamController=A,Mn(Ht(f()),()=>(A._started=!0,Sh(A),null),p=>(Rh(A,p),null))}(e,i,s,a,c,r,n)}function jd(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function yz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function Qz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function mz(e,t,r){return ks(e,r),n=>HE(e,t,[n])}function bz(e,t){if((e=`${e}`)!="bytes")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function wz(e,t){if((e=`${e}`)!="byob")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function Mk(e,t){tA(e,t);let r=e?.preventAbort,n=e?.preventCancel,i=e?.preventClose,s=e?.signal;return s!==void 0&&function(a,c){if(!function(l){if(typeof l!="object"||l===null)return!1;try{return typeof l.aborted=="boolean"}catch{return!1}}(a))throw new TypeError(`${c} is not an AbortSignal.`)}(s,`${t} has member 'signal' that`),{preventAbort:!!r,preventCancel:!!n,preventClose:!!i,signal:s}}function vz(e,t){tA(e,t);let r=e?.readable;m0(r,"readable","ReadableWritablePair"),function(i,s){if(!mh(i))throw new TypeError(`${s} is not a ReadableStream.`)}(r,`${t} has member 'readable' that`);let n=e?.writable;return m0(n,"writable","ReadableWritablePair"),function(i,s){if(!TN(i))throw new TypeError(`${s} is not a WritableStream.`)}(n,`${t} has member 'writable' that`),{readable:r,writable:n}}Object.defineProperties(Wa.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),Ut(Wa.prototype.close,"close"),Ut(Wa.prototype.enqueue,"enqueue"),Ut(Wa.prototype.error,"error"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(Wa.prototype,Dt.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});var wn=class{constructor(e={},t={}){e===void 0?e=null:DN(e,"First parameter");let r=IE(t,"Second parameter"),n=function(s,a){tA(s,a);let c=s,l=c?.autoAllocateChunkSize,A=c?.cancel,f=c?.pull,h=c?.start,g=c?.type;return{autoAllocateChunkSize:l===void 0?void 0:NN(l,`${a} has member 'autoAllocateChunkSize' that`),cancel:A===void 0?void 0:yz(A,c,`${a} has member 'cancel' that`),pull:f===void 0?void 0:Qz(f,c,`${a} has member 'pull' that`),start:h===void 0?void 0:mz(h,c,`${a} has member 'start' that`),type:g===void 0?void 0:bz(g,`${a} has member 'type' that`)}}(e,"First parameter");var i;if((i=this)._state="readable",i._reader=void 0,i._storedError=void 0,i._disturbed=!1,n.type==="bytes"){if(r.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");uz(this,n,Nh(r,0))}else{let s=CE(r);Bz(this,n,Nh(r,1),s)}}get locked(){if(!Xa(this))throw Oa("locked");return xl(this)}cancel(e){return Xa(this)?xl(this)?at(new TypeError("Cannot cancel a stream that already has a reader")):AT(this,e):at(Oa("cancel"))}getReader(e){if(!Xa(this))throw Oa("getReader");return function(t,r){tA(t,r);let n=t?.mode;return{mode:n===void 0?void 0:wz(n,`${r} has member 'mode' that`)}}(e,"First parameter").mode===void 0?new Ha(this):function(t){return new Ya(t)}(this)}pipeThrough(e,t={}){if(!mh(this))throw Oa("pipeThrough");nA(e,1,"pipeThrough");let r=vz(e,"First parameter"),n=Mk(t,"Second parameter");if(this.locked)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(r.writable.locked)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return Ll(xk(this,r.writable,n.preventClose,n.preventAbort,n.preventCancel,n.signal)),r.readable}pipeTo(e,t={}){if(!mh(this))return at(Oa("pipeTo"));if(e===void 0)return at("Parameter 1 is required in 'pipeTo'.");if(!TN(e))return at(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let r;try{r=Mk(t,"Second parameter")}catch(n){return at(n)}return this.locked?at(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):e.locked?at(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):xk(this,e,r.preventClose,r.preventAbort,r.preventCancel,r.signal)}tee(){if(!mh(this))throw Oa("tee");if(this.locked)throw new TypeError("Cannot tee a stream that already has a reader");return Iz(this)}values(e){if(!mh(this))throw Oa("values");return function(t,r){let n=t.getReader(),i=new MN(n,r),s=Object.create(ON);return s._asyncIteratorImpl=i,s}(this,function(t,r){return tA(t,r),{preventCancel:!!t?.preventCancel}}(e,"First parameter").preventCancel)}};function Xa(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof wn}function xl(e){return e._reader!==void 0}function AT(e,t){if(e._disturbed=!0,e._state==="closed")return Ht(void 0);if(e._state==="errored")return at(e._storedError);Th(e);let r=e._reader;if(r!==void 0&&_l(r)){let n=r._readIntoRequests;r._readIntoRequests=new us,n.forEach(i=>{i._closeSteps(void 0)})}return Ss(e._readableStreamController[uQ](t),QN)}function Th(e){e._state="closed";let t=e._reader;if(t!==void 0&&(kN(t),Ka(t))){let r=t._readRequests;t._readRequests=new us,r.forEach(n=>{n._closeSteps()})}}function aT(e,t){e._state="errored",e._storedError=t;let r=e._reader;r!==void 0&&(gQ(r,t),Ka(r)?xN(r,t):XN(r,t))}function Oa(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function cT(e,t){tA(e,t);let r=e?.highWaterMark;return m0(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:dQ(r)}}Object.defineProperties(wn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),Ut(wn.prototype.cancel,"cancel"),Ut(wn.prototype.getReader,"getReader"),Ut(wn.prototype.pipeThrough,"pipeThrough"),Ut(wn.prototype.pipeTo,"pipeTo"),Ut(wn.prototype.tee,"tee"),Ut(wn.prototype.values,"values"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(wn.prototype,Dt.toStringTag,{value:"ReadableStream",configurable:!0}),typeof Dt.asyncIterator=="symbol"&&Object.defineProperty(wn.prototype,Dt.asyncIterator,{value:wn.prototype.values,writable:!0,configurable:!0});var lT=e=>e.byteLength;Ut(lT,"size");var _0=class{constructor(e){nA(e,1,"ByteLengthQueuingStrategy"),e=cT(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!Pk(this))throw Ok("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Pk(this))throw Ok("size");return lT}};function Ok(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function Pk(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof _0}Object.defineProperties(_0.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(_0.prototype,Dt.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});var uT=()=>1;Ut(uT,"size");var k0=class{constructor(e){nA(e,1,"CountQueuingStrategy"),e=cT(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!Vk(this))throw qk("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Vk(this))throw qk("size");return uT}};function qk(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function Vk(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof k0}function Sz(e,t,r){return ks(e,r),n=>Za(e,t,[n])}function Rz(e,t,r){return ks(e,r),n=>HE(e,t,[n])}function _z(e,t,r){return ks(e,r),(n,i)=>Za(e,t,[n,i])}Object.defineProperties(k0.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(k0.prototype,Dt.toStringTag,{value:"CountQueuingStrategy",configurable:!0});var D0=class{constructor(e={},t={},r={}){e===void 0&&(e=null);let n=IE(t,"Second parameter"),i=IE(r,"Third parameter"),s=function(h,g){tA(h,g);let b=h?.flush,C=h?.readableType,p=h?.start,Q=h?.transform,R=h?.writableType;return{flush:b===void 0?void 0:Sz(b,h,`${g} has member 'flush' that`),readableType:C,start:p===void 0?void 0:Rz(p,h,`${g} has member 'start' that`),transform:Q===void 0?void 0:_z(Q,h,`${g} has member 'transform' that`),writableType:R}}(e,"First parameter");if(s.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(s.writableType!==void 0)throw new RangeError("Invalid writableType specified");let a=Nh(i,0),c=CE(i),l=Nh(n,1),A=CE(n),f;(function(h,g,b,C,p,Q){function R(){return g}function _(L){return function(v,I){let E=v._transformStreamController;return v._backpressure?Ss(v._backpressureChangePromise,()=>{if((ao(v._writable)?v._writable._state:v._writableState)==="erroring")throw ao(v._writable)?v._writable._storedError:v._writableStoredError;return Gk(E,I)}):Gk(E,I)}(h,L)}function d(L){return function(v,I){return QE(v,I),Ht(void 0)}(h,L)}function S(){return function(L){let v=L._transformStreamController,I=v._flushAlgorithm();return hT(v),Ss(I,()=>{if(L._readableState==="errored")throw L._readableStoredError;bE(L)&&gT(L)},E=>{throw QE(L,E),L._readableStoredError})}(h)}function m(){return function(L){return mE(L,!1),L._backpressureChangePromise}(h)}function T(L){return WE(h,L),Ht(void 0)}h._writableState="writable",h._writableStoredError=void 0,h._writableHasInFlightOperation=!1,h._writableStarted=!1,h._writable=function(L,v,I,E,O,q,V){return new Ja({start(w){L._writableController=w;try{let N=w.signal;N!==void 0&&N.addEventListener("abort",()=>{L._writableState==="writable"&&(L._writableState="erroring",N.reason&&(L._writableStoredError=N.reason))})}catch{}return Ss(v(),()=>(L._writableStarted=!0,Jk(L),null),N=>{throw L._writableStarted=!0,r0(L,N),N})},write:w=>(function(N){N._writableHasInFlightOperation=!0}(L),Ss(I(w),()=>(function(N){N._writableHasInFlightOperation=!1}(L),Jk(L),null),N=>{throw function(F,M){F._writableHasInFlightOperation=!1,r0(F,M)}(L,N),N})),close:()=>(function(w){w._writableHasInFlightOperation=!0}(L),Ss(E(),()=>(function(w){w._writableHasInFlightOperation=!1,w._writableState==="erroring"&&(w._writableStoredError=void 0),w._writableState="closed"}(L),null),w=>{throw function(N,F){N._writableHasInFlightOperation=!1,N._writableState,r0(N,F)}(L,w),w})),abort:w=>(L._writableState="errored",L._writableStoredError=w,O(w))},{highWaterMark:q,size:V})}(h,R,_,S,d,b,C),h._readableState="readable",h._readableStoredError=void 0,h._readableCloseRequested=!1,h._readablePulling=!1,h._readable=function(L,v,I,E,O,q){return new wn({start:V=>(L._readableController=V,v().catch(w=>{wE(L,w)})),pull:()=>(L._readablePulling=!0,I().catch(V=>{wE(L,V)})),cancel:V=>(L._readableState="closed",E(V))},{highWaterMark:O,size:q})}(h,R,m,T,p,Q),h._backpressure=void 0,h._backpressureChangePromise=void 0,h._backpressureChangePromise_resolve=void 0,mE(h,!0),h._transformStreamController=void 0})(this,ti(h=>{f=h}),l,A,a,c),function(h,g){let b=Object.create(ja.prototype),C,p;C=g.transform!==void 0?Q=>g.transform(Q,b):Q=>{try{return fT(b,Q),Ht(void 0)}catch(R){return at(R)}},p=g.flush!==void 0?()=>g.flush(b):()=>Ht(void 0),function(Q,R,_,d){R._controlledTransformStream=Q,Q._transformStreamController=R,R._transformAlgorithm=_,R._flushAlgorithm=d}(h,b,C,p)}(this,s),s.start!==void 0?f(s.start(this._transformStreamController)):f(void 0)}get readable(){if(!Hk(this))throw Yk("readable");return this._readable}get writable(){if(!Hk(this))throw Yk("writable");return this._writable}};function Hk(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof D0}function QE(e,t){wE(e,t),WE(e,t)}function WE(e,t){hT(e._transformStreamController),function(r,n){r._writableController.error(n),r._writableState==="writable"&&ET(r,n)}(e,t),e._backpressure&&mE(e,!1)}function mE(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=ti(r=>{e._backpressureChangePromise_resolve=r}),e._backpressure=t}Object.defineProperties(D0.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(D0.prototype,Dt.toStringTag,{value:"TransformStream",configurable:!0});var ja=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!zd(this))throw Kd("desiredSize");return dT(this._controlledTransformStream)}enqueue(e){if(!zd(this))throw Kd("enqueue");fT(this,e)}error(e){if(!zd(this))throw Kd("error");var t;t=e,QE(this._controlledTransformStream,t)}terminate(){if(!zd(this))throw Kd("terminate");(function(e){let t=e._controlledTransformStream;bE(t)&&gT(t);let r=new TypeError("TransformStream terminated");WE(t,r)})(this)}};function zd(e){return!!On(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof ja}function hT(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function fT(e,t){let r=e._controlledTransformStream;if(!bE(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{(function(n,i){n._readablePulling=!1;try{n._readableController.enqueue(i)}catch(s){throw wE(n,s),s}})(r,t)}catch(n){throw WE(r,n),r._readableStoredError}(function(n){return!function(i){return bE(i)?!!(i._readablePulling||dT(i)>0):!1}(n)})(r)!==r._backpressure&&mE(r,!0)}function Gk(e,t){return Ss(e._transformAlgorithm(t),void 0,r=>{throw QE(e._controlledTransformStream,r),r})}function Kd(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function Yk(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}function bE(e){return!e._readableCloseRequested&&e._readableState==="readable"}function gT(e){e._readableState="closed",e._readableCloseRequested=!0,e._readableController.close()}function wE(e,t){e._readableState==="readable"&&(e._readableState="errored",e._readableStoredError=t),e._readableController.error(t)}function dT(e){return e._readableController.desiredSize}function r0(e,t){e._writableState!=="writable"?vQ(e):ET(e,t)}function ET(e,t){e._writableState="erroring",e._writableStoredError=t,!function(r){return r._writableHasInFlightOperation}(e)&&e._writableStarted&&vQ(e)}function vQ(e){e._writableState="errored"}function Jk(e){e._writableState==="erroring"&&vQ(e)}Object.defineProperties(ja.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),Ut(ja.prototype.enqueue,"enqueue"),Ut(ja.prototype.error,"error"),Ut(ja.prototype.terminate,"terminate"),typeof Dt.toStringTag=="symbol"&&Object.defineProperty(ja.prototype,Dt.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});var pT=65536;async function*kz(e){let t=e.byteOffset+e.byteLength,r=e.byteOffset;for(;r!==t;){let n=Math.min(t-r,pT),i=e.buffer.slice(r,r+n);r+=i.byteLength,yield new Uint8Array(i)}}async function*Dz(e){let t=0;for(;t!==e.size;){let r=await e.slice(t,Math.min(e.size,t+pT)).arrayBuffer();t+=r.byteLength,yield new Uint8Array(r)}}async function*n0(e,t=!1){for(let r of e)ArrayBuffer.isView(r)?t?yield*kz(r):yield r:fn(r.stream)?yield*r.stream():yield*Dz(r)}function*Nz(e,t,r=0,n){n??(n=t);let i=r<0?Math.max(t+r,0):Math.min(r,t),s=n<0?Math.max(t+n,0):Math.min(n,t),a=Math.max(s-i,0),c=0;for(let l of e){if(c>=a)break;let A=ArrayBuffer.isView(l)?l.byteLength:l.size;if(i&&A<=i)i-=A,s-=A;else{let f;ArrayBuffer.isView(l)?(f=l.subarray(i,Math.min(A,s)),c+=f.byteLength):(f=l.slice(i,Math.min(A,s)),c+=f.size),s-=A,i=0,yield f}}}var PA=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Wk=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},Pa,Xd,Bh,vE=class N0{static[(Pa=new WeakMap,Xd=new WeakMap,Bh=new WeakMap,Symbol.hasInstance)](t){return!!(t&&typeof t=="object"&&fn(t.constructor)&&(fn(t.stream)||fn(t.arrayBuffer))&&/^(Blob|File)$/.test(t[Symbol.toStringTag]))}constructor(t=[],r={}){if(Pa.set(this,[]),Xd.set(this,""),Bh.set(this,0),r??(r={}),typeof t!="object"||t===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(!fn(t[Symbol.iterator]))throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof r!="object"&&!fn(r))throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");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 N0?a=s:a=n.encode(String(s)),Wk(this,Bh,PA(this,Bh,"f")+(ArrayBuffer.isView(a)?a.byteLength:a.size),"f"),PA(this,Pa,"f").push(a)}let i=r.type===void 0?"":String(r.type);Wk(this,Xd,/^[\x20-\x7E]*$/.test(i)?i:"","f")}get type(){return PA(this,Xd,"f")}get size(){return PA(this,Bh,"f")}slice(t,r,n){return new N0(Nz(PA(this,Pa,"f"),this.size,t,r),{type:n})}async text(){let t=new TextDecoder,r="";for await(let n of n0(PA(this,Pa,"f")))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 n0(PA(this,Pa,"f")))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=n0(PA(this,Pa,"f"),!0);return new wn({async pull(r){let{value:n,done:i}=await t.next();if(i)return queueMicrotask(()=>r.close());r.enqueue(n)},async cancel(){await t.return()}})}get[Symbol.toStringTag](){return"Blob"}};Object.defineProperties(vE.prototype,{type:{enumerable:!0},size:{enumerable:!0},slice:{enumerable:!0},stream:{enumerable:!0},text:{enumerable:!0},arrayBuffer:{enumerable:!0}});var Tz=e=>e instanceof vE,jk=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},zk=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},$d,Zd,SE=class extends vE{static[($d=new WeakMap,Zd=new WeakMap,Symbol.hasInstance)](e){return e instanceof vE&&e[Symbol.toStringTag]==="File"&&typeof e.name=="string"}constructor(e,t,r={}){if(super(e,r),$d.set(this,void 0),Zd.set(this,0),arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);jk(this,$d,String(t),"f");let n=r.lastModified===void 0?Date.now():Number(r.lastModified);Number.isNaN(n)||jk(this,Zd,n,"f")}get name(){return zk(this,$d,"f")}get webkitRelativePath(){return""}get lastModified(){return zk(this,Zd,"f")}get[Symbol.toStringTag](){return"File"}},Lz=e=>e instanceof SE,no=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},eE,io,i0,Kk=class{constructor(){eE.add(this),io.set(this,new Map)}static[(io=new WeakMap,eE=new WeakSet,Symbol.hasInstance)](e){if(!e)return!1;let t=e;return!!(fn(t.constructor)&&t[Symbol.toStringTag]==="FormData"&&fn(t.append)&&fn(t.set)&&fn(t.get)&&fn(t.getAll)&&fn(t.has)&&fn(t.delete)&&fn(t.entries)&&fn(t.values)&&fn(t.keys)&&fn(t[Symbol.iterator])&&fn(t.forEach))}append(e,t,r){no(this,eE,"m",i0).call(this,{name:e,fileName:r,append:!0,rawValue:t,argsLength:arguments.length})}set(e,t,r){no(this,eE,"m",i0).call(this,{name:e,fileName:r,append:!1,rawValue:t,argsLength:arguments.length})}get(e){let t=no(this,io,"f").get(String(e));return t?t[0]:null}getAll(e){let t=no(this,io,"f").get(String(e));return t?t.slice():[]}has(e){return no(this,io,"f").has(String(e))}delete(e){no(this,io,"f").delete(String(e))}*keys(){for(let e of no(this,io,"f").keys())yield e}*entries(){for(let e of this.keys()){let t=this.getAll(e);for(let r of t)yield[e,r]}}*values(){for(let[,e]of this)yield e}[(i0=function({name:e,rawValue:t,append:r,fileName:n,argsLength:i}){let s=r?"append":"set";if(i<2)throw new TypeError(`Failed to execute '${s}' on 'FormData': 2 arguments required, but only ${i} present.`);e=String(e);let a;if(Lz(t))a=n===void 0?t:new SE([t],n,{type:t.type,lastModified:t.lastModified});else if(Tz(t))a=new SE([t],n===void 0?"blob":n,{type:t.type});else{if(n)throw new TypeError(`Failed to execute '${s}' on 'FormData': parameter 2 is not of type 'Blob'.`);a=String(t)}let c=no(this,io,"f").get(e);if(!c)return void no(this,io,"f").set(e,[a]);if(!r)return void no(this,io,"f").set(e,[a]);c.push(a)},Symbol.iterator)](){return this.entries()}forEach(e,t){for(let[r,n]of this)e.call(t,n,r,this)}get[Symbol.toStringTag](){return"FormData"}},Fz=require("node:fs"),CT=require("node:fs/promises"),Uz=require("node:path"),xz=$t(zJ(),1),Mz=e=>Object.prototype.toString.call(e).slice(8,-1).toLowerCase();function Oz(e){if(Mz(e)!=="object")return!1;let t=Object.getPrototypeOf(e);return t==null?!0:(t.constructor&&t.constructor.toString())===Object.toString()}var Pz=Oz,Xk=function(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r},qa=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Va,ml,qz="The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.",Vz=class IT{constructor(t){Va.set(this,void 0),ml.set(this,void 0),Xk(this,Va,t.path,"f"),Xk(this,ml,t.start||0,"f"),this.name=(0,Uz.basename)(qa(this,Va,"f")),this.size=t.size,this.lastModified=t.lastModified}slice(t,r){return new IT({path:qa(this,Va,"f"),lastModified:this.lastModified,start:qa(this,ml,"f")+t,size:r-t})}async*stream(){let{mtimeMs:t}=await(0,CT.stat)(qa(this,Va,"f"));if(t>this.lastModified)throw new xz.default(qz,"NotReadableError");this.size&&(yield*(0,Fz.createReadStream)(qa(this,Va,"f"),{start:qa(this,ml,"f"),end:qa(this,ml,"f")+this.size-1}))}get[(Va=new WeakMap,ml=new WeakMap,Symbol.toStringTag)](){return"File"}};function Hz(e,{mtimeMs:t,size:r},n,i={}){let s;Pz(n)?[i,s]=[n,void 0]:s=n;let a=new Vz({path:e,size:r,lastModified:t});return s||(s=a.name),new SE([a],s,{...i,lastModified:a.lastModified})}async function $k(e,t,r){let n=await(0,CT.stat)(e);return Hz(e,n,t,r)}var Gz=$t(TW(),1);async function Yz(e,t,r){for(let n=0;nsetTimeout(i,r))}return!1}var SQ={apiKey:"API Key is required. To get one: https://addons.mozilla.org/en-US/developers/addon/api/key",apiSecret:"API Secret is required. To get one: https://addons.mozilla.org/en-US/developers/addon/api/key"},Jz=Object.keys(SQ),tE="https://addons.mozilla.org/api",Wz=class{options={};get productEndpoint(){return`${tE}/v5/addons/addon/${encodeURIComponent(this.options.extId)}`}constructor(e){for(let t of Jz)if(!e[t])throw new Error(SQ[t]);this.options={...e},typeof this.options.extId=="string"&&this.options.extId.length>0&&!this.options.extId.includes("@")&&(this.options.extId.startsWith("{")||(this.options.extId="{"+e.extId),this.options.extId.endsWith("}")||(this.options.extId+="}")),this.options.channel=e.channel||"listed",this.options.license==="inherit"?delete this.options.license:this.options.license=this.options.license||"all-rights-reserved"}submit=async({filePath:e,approvalNotes:t=null,sourcePath:r=null,version:n="1.0.0"})=>{let i=await this.uploadFile({filePath:e});if(!await Yz(async()=>(await this.getUpload({uploadUuid:i.uuid})).valid,8,2400))throw new Error("Upload has not been validated in time.");return await this.createVersion({uploadUuid:i.uuid,version:n,approvalNotes:t,sourcePath:r})};uploadFile=async({filePath:e})=>{let t=await this.getAccessToken(),r=`${tE}/v5/addons/upload/`,n=new Kk;n.append("upload",await $k(e)),n.append("channel",this.options.channel);let i=await Bi.post(r,{body:n,headers:{Authorization:`JWT ${t}`},throwHttpErrors:!1});if(i.statusCode>=400)throw i.statusCode===401?new Error("Invalid access token"):i.statusCode===403?new Error("You do not own this add-on"):new Error(JSON.parse(i.body).error||"Unknown error");return JSON.parse(i.body)};createVersion=async({uploadUuid:e,version:t,approvalNotes:r,sourcePath:n})=>{let i=await this.getAccessToken(),s=`${this.productEndpoint}/versions/`,a=new Kk;a.append("upload",e),n?a.append("source",await $k(n)):a.append("source",""),r&&a.append("approval_notes",r),this.options.license&&a.append("license",this.options.license);let c=await Bi.post(s,{body:a,headers:{Authorization:`JWT ${i}`},throwHttpErrors:!1});if(c.statusCode>=400)throw c.statusCode===401?new Error("Invalid access token"):c.statusCode===403?new Error("You do not own this add-on"):c.statusCode===409?new Error(`Version ${t} already exists`):(console.log(c.body),new Error(JSON.parse(c.body).error||"Unknown error"));return JSON.parse(c.body)};getUpload=async({uploadUuid:e})=>{let t=await this.getAccessToken(),r=`${tE}/v5/addons/upload/${e}`;return Bi.get(r,{headers:{Authorization:`JWT ${t}`}}).json()};getVersion=async({version:e="1.0.0"})=>{let t=await this.getAccessToken(),r=`${this.productEndpoint}/versions/${encodeURIComponent(e)}/`;return Bi.get(r,{headers:{Authorization:`JWT ${t}`}}).json()};getProfile=async()=>{let e=await this.getAccessToken(),t=`${tE}/v5/accounts/profile`;return Bi.get(t,{headers:{Authorization:`JWT ${e}`}}).json()};getAccessToken=async()=>{let e=Math.floor(Date.now()/1e3),t={iss:this.options.apiKey,jti:Math.random().toString(),iat:e,exp:e+60*5};return Gz.default.sign(t,this.options.apiSecret,{algorithm:"HS256"})}},Lh="firefox",jz=qE(Lh);async function zz({extId:e,zip:t,dryRun:r,...n}){let i=OE(t),s=i.browser_specific_settings?.gecko?.id||i.applications?.gecko?.id||e,a=new Wz({extId:s,...n});if(jz(`Updating extension with ID ${s}`),r)return!0;try{return await a.submit({filePath:t,version:i.version}),PE({extId:s,market:Lh,zip:t}),!0}catch(c){throw VE(c,Lh,`"${s}" (${i.name})`)}}async function Kz(e){return e.zip=Hh(e),e.verbose&&Gh(Lh),Yh({market:Lh,options:e,errorMap:SQ}),zz(e)}var Xz={packageId:"No package ID is provided, e.g. https://addons.opera.com/developer/package/PACKAGE_ID",sessionid:`No "sessionid" is provided. If you have a hard time obtaining it, run: web-ext-deploy --get-cookies=opera`,csrftoken:`No "csrftoken" is provided. If you have a hard time obtaining it, run: -web-ext-deploy --get-cookies=opera`},$k="opera";async function $z(e){throw e.zip=Hh(e),e.changelog&&(e.changelog=e.changelog.replace(/\/\/n/g,` -`)),e.verbose&&Gh($k),Yh({market:$k,options:e,errorMap:Xz}),new Error("Opera submission is not supported at this time, due to lack of automation API - their CSRF token and cookies expires in 24 hours. It will be faster to just drag/drop the zip on their dev portal.")}var Zz=require("fs/promises"),eK=require("node:events");function tK(e){return W.object(e)&&"_onResponse"in e}var sn=class extends Error{constructor(e,t,r){if(super(e),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=t.code??"ERR_GOT_REQUEST_ERROR",this.input=t.input,tK(r)?(Object.defineProperty(this,"request",{enumerable:!1,value:r}),Object.defineProperty(this,"response",{enumerable:!1,value:r.response}),this.options=r.options):this.options=r,this.timings=this.request?.timings,W.string(t.stack)&&W.string(this.stack)){let n=this.stack.indexOf(this.message)+this.message.length,i=this.stack.slice(n).split(` +web-ext-deploy --get-cookies=opera`},Zk="opera";async function $z(e){throw e.zip=Hh(e),e.changelog&&(e.changelog=e.changelog.replace(/\/\/n/g,` +`)),e.verbose&&Gh(Zk),Yh({market:Zk,options:e,errorMap:Xz}),new Error("Opera submission is not supported at this time, due to lack of automation API - their CSRF token and cookies expires in 24 hours. It will be faster to just drag/drop the zip on their dev portal.")}var Zz=require("fs/promises"),eK=require("node:events");function tK(e){return W.object(e)&&"_onResponse"in e}var sn=class extends Error{constructor(e,t,r){if(super(e),Object.defineProperty(this,"input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Error.captureStackTrace(this,this.constructor),this.name="RequestError",this.code=t.code??"ERR_GOT_REQUEST_ERROR",this.input=t.input,tK(r)?(Object.defineProperty(this,"request",{enumerable:!1,value:r}),Object.defineProperty(this,"response",{enumerable:!1,value:r.response}),this.options=r.options):this.options=r,this.timings=this.request?.timings,W.string(t.stack)&&W.string(this.stack)){let n=this.stack.indexOf(this.message)+this.message.length,i=this.stack.slice(n).split(` `).reverse(),s=t.stack.slice(t.stack.indexOf(t.message)+t.message.length).split(` `).reverse();for(;s.length>0&&s[0]===i[0];)i.shift();this.stack=`${this.stack.slice(0,n)}${i.reverse().join(` `)}${s.reverse().join(` -`)}`}}},rK=class extends sn{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}},RE=class extends sn{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}},nK=class extends sn{constructor(e,t){super(e.message,e,t),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}},Zk=class extends sn{constructor(e,t){super(e.message,e,t),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}},iK=class extends sn{constructor(e,t,r){super(e.message,e,r),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.event=e.event,this.timings=t}},eD=class extends sn{constructor(e,t){super(e.message,e,t),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}},sK=class extends sn{constructor(e){super("Retrying",{},e),this.name="RetryError",this.code="ERR_RETRYING"}},oK=class extends sn{constructor(e){super("This operation was aborted.",{},e),this.code="ERR_ABORTED",this.name="AbortError"}},IT=$t(require("node:process"),1),s0=require("node:buffer"),AK=require("node:stream"),tD=require("node:url"),o0=$t(require("node:http"),1),aK=$t(ID(),1),cK=$t(j0(),1),lK=require("node:buffer"),uK=require("node:util");function BT(e){return W.nodeStream(e)&&W.function_(e.getBoundary)}async function hK(e,t){if(t&&"content-length"in t)return Number(t["content-length"]);if(!e)return 0;if(W.string(e))return lK.Buffer.byteLength(e);if(W.buffer(e))return e.length;if(BT(e))return(0,uK.promisify)(e.getLength.bind(e))()}function yT(e,t,r){let n={};for(let i of r){let s=(...a)=>{t.emit(i,...a)};n[i]=s,e.on(i,s)}return()=>{for(let[i,s]of Object.entries(n))e.off(i,s)}}var fK=$t(require("node:net"),1);function gK(){let e=[];return{once(t,r,n){t.once(r,n),e.push({origin:t,event:r,fn:n})},unhandleAll(){for(let t of e){let{origin:r,event:n,fn:i}=t;r.removeListener(n,i)}e.length=0}}}var rD=Symbol("reentry"),dK=()=>{},QT=class extends Error{constructor(e,t){super(`Timeout awaiting '${t}' for ${e}ms`),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.code="ETIMEDOUT"}};function EK(e,t,r){if(rD in e)return dK;e[rD]=!0;let n=[],{once:i,unhandleAll:s}=gK(),a=(p,Q,R)=>{let _=setTimeout(Q,p,p,R);_.unref?.();let d=()=>{clearTimeout(_)};return n.push(d),d},{host:c,hostname:l}=r,A=(p,Q)=>{e.destroy(new QT(p,Q))},f=()=>{for(let p of n)p();s()};if(e.once("error",p=>{if(f(),e.listenerCount("error")===0)throw p}),typeof t.request<"u"){let p=a(t.request,A,"request");i(e,"response",Q=>{i(Q,"end",p)})}if(typeof t.socket<"u"){let{socket:p}=t,Q=()=>{A(p,"socket")};e.setTimeout(p,Q),n.push(()=>{e.removeListener("timeout",Q)})}let h=typeof t.lookup<"u",g=typeof t.connect<"u",b=typeof t.secureConnect<"u",C=typeof t.send<"u";return(h||g||b||C)&&i(e,"socket",p=>{let{socketPath:Q}=e;if(p.connecting){let R=!!(Q??fK.default.isIP(l??c??"")!==0);if(h&&!R&&typeof p.address().address>"u"){let _=a(t.lookup,A,"lookup");i(p,"lookup",_)}if(g){let _=()=>a(t.connect,A,"connect");R?i(p,"connect",_()):i(p,"lookup",d=>{d===null&&i(p,"connect",_())})}b&&r.protocol==="https:"&&i(p,"connect",()=>{let _=a(t.secureConnect,A,"secureConnect");i(p,"secureConnect",_)})}if(C){let R=()=>a(t.send,A,"send");p.connecting?i(p,"connect",()=>{i(e,"upload-complete",R())}):i(e,"upload-complete",R())}}),typeof t.response<"u"&&i(e,"upload-complete",()=>{let p=a(t.response,A,"response");i(e,"response",p)}),typeof t.read<"u"&&i(e,"response",p=>{let Q=a(t.read,A,"read");i(p,"end",Q)}),f}function pK(e){e=e;let t={protocol:e.protocol,hostname:W.string(e.hostname)&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};return W.string(e.port)&&e.port.length>0&&(t.port=Number(e.port)),(e.username||e.password)&&(t.auth=`${e.username||""}:${e.password||""}`),t}var CK=class{constructor(){Object.defineProperty(this,"weakMap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"map",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.weakMap=new WeakMap,this.map=new Map}set(e,t){typeof e=="object"?this.weakMap.set(e,t):this.map.set(e,t)}get(e){return typeof e=="object"?this.weakMap.get(e):this.map.get(e)}has(e){return typeof e=="object"?this.weakMap.has(e):this.map.has(e)}},IK=({attemptCount:e,retryOptions:t,error:r,retryAfter:n,computedValue:i})=>{if(r.name==="RetryError")return 1;if(e>t.limit)return 0;let s=t.methods.includes(r.options.method),a=t.errorCodes.includes(r.code),c=r.response&&t.statusCodes.includes(r.response.statusCode);if(!s||!a&&!c)return 0;if(r.response){if(n)return n>i?0:n;if(r.response.statusCode===413)return 0}let l=Math.random()*t.noise;return Math.min(2**(e-1)*1e3,t.backoffLimit)+l},BK=IK,yK=$t(require("node:process"),1),A0=require("node:util"),za=require("node:url"),QK=require("node:tls"),mK=$t(require("node:http"),1),bK=$t(require("node:https"),1),wK=$t(DD(),1);function vK(e){let t=[],r=e.split(",");for(let n of r){let[i,...s]=n.split(";"),a=i.trim();if(a[0]!=="<"||a[a.length-1]!==">")throw new Error(`Invalid format of the Link header reference: ${a}`);let c=a.slice(1,-1),l={};if(s.length===0)throw new Error(`Unexpected end of Link header parameters: ${s.join(";")}`);for(let A of s){let f=A.trim(),h=f.indexOf("=");if(h===-1)throw new Error(`Failed to parse Link header: ${e}`);let g=f.slice(0,h).trim(),b=f.slice(h+1).trim();l[g]=b}t.push({reference:c,parameters:l})}return t}var[nD,SK]=yK.default.versions.node.split(".").map(Number);function RK(e){for(let t in e){let r=e[t];ae.any([W.string,W.number,W.boolean,W.null_,W.undefined],r)}}var _K=new Map,a0,kK=()=>a0||(a0=new oN,a0),DK={request:void 0,agent:{http:void 0,https:void 0,http2:void 0},h2session:void 0,decompress:!0,timeout:{connect:void 0,lookup:void 0,read:void 0,request:void 0,response:void 0,secureConnect:void 0,send:void 0,socket:void 0},prefixUrl:"",body:void 0,form:void 0,json:void 0,cookieJar:void 0,ignoreInvalidCookies:!1,searchParams:void 0,dnsLookup:void 0,dnsCache:void 0,context:{},hooks:{init:[],beforeRequest:[],beforeError:[],beforeRedirect:[],beforeRetry:[],afterResponse:[]},followRedirect:!0,maxRedirects:10,cache:void 0,throwHttpErrors:!0,username:"",password:"",http2:!1,allowGetBody:!1,headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},methodRewriting:!1,dnsLookupIpVersion:void 0,parseJson:JSON.parse,stringifyJson:JSON.stringify,retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:e})=>e,backoffLimit:Number.POSITIVE_INFINITY,noise:100},localAddress:void 0,method:"GET",createConnection:void 0,cacheOptions:{shared:void 0,cacheHeuristic:void 0,immutableMinTimeToLive:void 0,ignoreCargoCult:void 0},https:{alpnProtocols:void 0,rejectUnauthorized:void 0,checkServerIdentity:void 0,certificateAuthority:void 0,key:void 0,certificate:void 0,passphrase:void 0,pfx:void 0,ciphers:void 0,honorCipherOrder:void 0,minVersion:void 0,maxVersion:void 0,signatureAlgorithms:void 0,tlsSessionLifetime:void 0,dhparam:void 0,ecdhCurve:void 0,certificateRevocationLists:void 0},encoding:void 0,resolveBodyOnly:!1,isStream:!1,responseType:"text",url:void 0,pagination:{transform(e){return e.request.options.responseType==="json"?e.body:JSON.parse(e.body)},paginate({response:e}){let t=e.headers.link;if(typeof t!="string"||t.trim()==="")return!1;let r=vK(t).find(n=>n.parameters.rel==="next"||n.parameters.rel==='"next"');return r?{url:new za.URL(r.reference,e.url)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:Number.POSITIVE_INFINITY,backoff:0,requestLimit:1e4,stackAllItems:!1},setHost:!0,maxHeaderSize:void 0,signal:void 0,enableUnixSockets:!0},NK=e=>{let{hooks:t,retry:r}=e,n={...e,context:{...e.context},cacheOptions:{...e.cacheOptions},https:{...e.https},agent:{...e.agent},headers:{...e.headers},retry:{...r,errorCodes:[...r.errorCodes],methods:[...r.methods],statusCodes:[...r.statusCodes]},timeout:{...e.timeout},hooks:{init:[...t.init],beforeRequest:[...t.beforeRequest],beforeError:[...t.beforeError],beforeRedirect:[...t.beforeRedirect],beforeRetry:[...t.beforeRetry],afterResponse:[...t.afterResponse]},searchParams:e.searchParams?new za.URLSearchParams(e.searchParams):void 0,pagination:{...e.pagination}};return n.url!==void 0&&(n.prefixUrl=""),n},TK=e=>{let{hooks:t,retry:r}=e,n={...e};return W.object(e.context)&&(n.context={...e.context}),W.object(e.cacheOptions)&&(n.cacheOptions={...e.cacheOptions}),W.object(e.https)&&(n.https={...e.https}),W.object(e.cacheOptions)&&(n.cacheOptions={...n.cacheOptions}),W.object(e.agent)&&(n.agent={...e.agent}),W.object(e.headers)&&(n.headers={...e.headers}),W.object(r)&&(n.retry={...r},W.array(r.errorCodes)&&(n.retry.errorCodes=[...r.errorCodes]),W.array(r.methods)&&(n.retry.methods=[...r.methods]),W.array(r.statusCodes)&&(n.retry.statusCodes=[...r.statusCodes])),W.object(e.timeout)&&(n.timeout={...e.timeout}),W.object(t)&&(n.hooks={...t},W.array(t.init)&&(n.hooks.init=[...t.init]),W.array(t.beforeRequest)&&(n.hooks.beforeRequest=[...t.beforeRequest]),W.array(t.beforeError)&&(n.hooks.beforeError=[...t.beforeError]),W.array(t.beforeRedirect)&&(n.hooks.beforeRedirect=[...t.beforeRedirect]),W.array(t.beforeRetry)&&(n.hooks.beforeRetry=[...t.beforeRetry]),W.array(t.afterResponse)&&(n.hooks.afterResponse=[...t.afterResponse])),W.object(e.pagination)&&(n.pagination={...e.pagination}),n},LK=e=>{let t=[e.timeout.socket,e.timeout.connect,e.timeout.lookup,e.timeout.request,e.timeout.secureConnect].filter(r=>typeof r=="number");if(t.length>0)return Math.min(...t)},iD=(e,t,r)=>{let n=e.hooks?.init;if(n)for(let i of n)i(t,r)},Nl=class uE{constructor(t,r,n){if(Object.defineProperty(this,"_unixOptions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_internals",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_merging",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_init",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),ae.any([W.string,W.urlInstance,W.object,W.undefined],t),ae.any([W.object,W.undefined],r),ae.any([W.object,W.undefined],n),t instanceof uE||r instanceof uE)throw new TypeError("The defaults must be passed as the third argument");this._internals=NK(n?._internals??n??DK),this._init=[...n?._init??[]],this._merging=!1,this._unixOptions=void 0;try{if(W.plainObject(t))try{this.merge(t),this.merge(r)}finally{this.url=t.url}else try{this.merge(r)}finally{if(r?.url!==void 0)if(t===void 0)this.url=r.url;else throw new TypeError("The `url` option is mutually exclusive with the `input` argument");else t!==void 0&&(this.url=t)}}catch(i){throw i.options=this,i}}merge(t){if(t){if(t instanceof uE){for(let r of t._init)this.merge(r);return}t=TK(t),iD(this,t,this),iD(t,t,this),this._merging=!0,"isStream"in t&&(this.isStream=t.isStream);try{let r=!1;for(let n in t)if(!(n==="mutableDefaults"||n==="handlers")&&n!=="url"){if(!(n in this))throw new Error(`Unexpected option: ${n}`);this[n]=t[n],r=!0}r&&this._init.push(t)}finally{this._merging=!1}}}get request(){return this._internals.request}set request(t){ae.any([W.function_,W.undefined],t),this._internals.request=t}get agent(){return this._internals.agent}set agent(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.agent))throw new TypeError(`Unexpected agent option: ${r}`);ae.any([W.object,W.undefined],t[r])}this._merging?Object.assign(this._internals.agent,t):this._internals.agent={...t}}get h2session(){return this._internals.h2session}set h2session(t){this._internals.h2session=t}get decompress(){return this._internals.decompress}set decompress(t){ae.boolean(t),this._internals.decompress=t}get timeout(){return this._internals.timeout}set timeout(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.timeout))throw new Error(`Unexpected timeout option: ${r}`);ae.any([W.number,W.undefined],t[r])}this._merging?Object.assign(this._internals.timeout,t):this._internals.timeout={...t}}get prefixUrl(){return this._internals.prefixUrl}set prefixUrl(t){if(ae.any([W.string,W.urlInstance],t),t===""){this._internals.prefixUrl="";return}if(t=t.toString(),t.endsWith("/")||(t+="/"),this._internals.prefixUrl&&this._internals.url){let{href:r}=this._internals.url;this._internals.url.href=t+r.slice(this._internals.prefixUrl.length)}this._internals.prefixUrl=t}get body(){return this._internals.body}set body(t){ae.any([W.string,W.buffer,W.nodeStream,W.generator,W.asyncGenerator,qh,W.undefined],t),W.nodeStream(t)&&ae.truthy(t.readable),t!==void 0&&(ae.undefined(this._internals.form),ae.undefined(this._internals.json)),this._internals.body=t}get form(){return this._internals.form}set form(t){ae.any([W.plainObject,W.undefined],t),t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.json)),this._internals.form=t}get json(){return this._internals.json}set json(t){t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.form)),this._internals.json=t}get url(){return this._internals.url}set url(t){if(ae.any([W.string,W.urlInstance,W.undefined],t),t===void 0){this._internals.url=void 0;return}if(W.string(t)&&t.startsWith("/"))throw new Error("`url` must not start with a slash");let r=`${this.prefixUrl}${t.toString()}`,n=new za.URL(r);if(this._internals.url=n,n.protocol==="unix:"&&(n.href=`http://unix${n.pathname}${n.search}`),n.protocol!=="http:"&&n.protocol!=="https:"){let i=new Error(`Unsupported protocol: ${n.protocol}`);throw i.code="ERR_UNSUPPORTED_PROTOCOL",i}if(this._internals.username&&(n.username=this._internals.username,this._internals.username=""),this._internals.password&&(n.password=this._internals.password,this._internals.password=""),this._internals.searchParams&&(n.search=this._internals.searchParams.toString(),this._internals.searchParams=void 0),n.hostname==="unix"){if(!this._internals.enableUnixSockets)throw new Error("Using UNIX domain sockets but option `enableUnixSockets` is not enabled");let i=/(?.+?):(?.+)/.exec(`${n.pathname}${n.search}`);if(i?.groups){let{socketPath:s,path:a}=i.groups;this._unixOptions={socketPath:s,path:a,host:""}}else this._unixOptions=void 0;return}this._unixOptions=void 0}get cookieJar(){return this._internals.cookieJar}set cookieJar(t){if(ae.any([W.object,W.undefined],t),t===void 0){this._internals.cookieJar=void 0;return}let{setCookie:r,getCookieString:n}=t;ae.function_(r),ae.function_(n),r.length===4&&n.length===0?(r=(0,A0.promisify)(r.bind(t)),n=(0,A0.promisify)(n.bind(t)),this._internals.cookieJar={setCookie:r,getCookieString:n}):this._internals.cookieJar=t}get signal(){return this._internals.signal}set signal(t){ae.object(t),this._internals.signal=t}get ignoreInvalidCookies(){return this._internals.ignoreInvalidCookies}set ignoreInvalidCookies(t){ae.boolean(t),this._internals.ignoreInvalidCookies=t}get searchParams(){return this._internals.url?this._internals.url.searchParams:(this._internals.searchParams===void 0&&(this._internals.searchParams=new za.URLSearchParams),this._internals.searchParams)}set searchParams(t){ae.any([W.string,W.object,W.undefined],t);let r=this._internals.url;if(t===void 0){this._internals.searchParams=void 0,r&&(r.search="");return}let n=this.searchParams,i;if(W.string(t))i=new za.URLSearchParams(t);else if(t instanceof za.URLSearchParams)i=t;else{RK(t),i=new za.URLSearchParams;for(let s in t){let a=t[s];a===null?i.append(s,""):a===void 0?n.delete(s):i.append(s,a)}}if(this._merging){for(let s of i.keys())n.delete(s);for(let[s,a]of i)n.append(s,a)}else r?r.search=n.toString():this._internals.searchParams=n}get searchParameters(){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}set searchParameters(t){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}get dnsLookup(){return this._internals.dnsLookup}set dnsLookup(t){ae.any([W.function_,W.undefined],t),this._internals.dnsLookup=t}get dnsCache(){return this._internals.dnsCache}set dnsCache(t){ae.any([W.object,W.boolean,W.undefined],t),t===!0?this._internals.dnsCache=kK():t===!1?this._internals.dnsCache=void 0:this._internals.dnsCache=t}get context(){return this._internals.context}set context(t){ae.object(t),this._merging?Object.assign(this._internals.context,t):this._internals.context={...t}}get hooks(){return this._internals.hooks}set hooks(t){ae.object(t);for(let r in t){if(!(r in this._internals.hooks))throw new Error(`Unexpected hook event: ${r}`);let n=r,i=t[n];if(ae.any([W.array,W.undefined],i),i)for(let s of i)ae.function_(s);if(this._merging)i&&this._internals.hooks[n].push(...i);else{if(!i)throw new Error(`Missing hook event: ${r}`);this._internals.hooks[r]=[...i]}}}get followRedirect(){return this._internals.followRedirect}set followRedirect(t){ae.boolean(t),this._internals.followRedirect=t}get followRedirects(){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}set followRedirects(t){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}get maxRedirects(){return this._internals.maxRedirects}set maxRedirects(t){ae.number(t),this._internals.maxRedirects=t}get cache(){return this._internals.cache}set cache(t){ae.any([W.object,W.string,W.boolean,W.undefined],t),t===!0?this._internals.cache=_K:t===!1?this._internals.cache=void 0:this._internals.cache=t}get throwHttpErrors(){return this._internals.throwHttpErrors}set throwHttpErrors(t){ae.boolean(t),this._internals.throwHttpErrors=t}get username(){let t=this._internals.url,r=t?t.username:this._internals.username;return decodeURIComponent(r)}set username(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.username=n:this._internals.username=n}get password(){let t=this._internals.url,r=t?t.password:this._internals.password;return decodeURIComponent(r)}set password(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.password=n:this._internals.password=n}get http2(){return this._internals.http2}set http2(t){ae.boolean(t),this._internals.http2=t}get allowGetBody(){return this._internals.allowGetBody}set allowGetBody(t){ae.boolean(t),this._internals.allowGetBody=t}get headers(){return this._internals.headers}set headers(t){ae.plainObject(t),this._merging?Object.assign(this._internals.headers,_h(t)):this._internals.headers=_h(t)}get methodRewriting(){return this._internals.methodRewriting}set methodRewriting(t){ae.boolean(t),this._internals.methodRewriting=t}get dnsLookupIpVersion(){return this._internals.dnsLookupIpVersion}set dnsLookupIpVersion(t){if(t!==void 0&&t!==4&&t!==6)throw new TypeError(`Invalid DNS lookup IP version: ${t}`);this._internals.dnsLookupIpVersion=t}get parseJson(){return this._internals.parseJson}set parseJson(t){ae.function_(t),this._internals.parseJson=t}get stringifyJson(){return this._internals.stringifyJson}set stringifyJson(t){ae.function_(t),this._internals.stringifyJson=t}get retry(){return this._internals.retry}set retry(t){if(ae.plainObject(t),ae.any([W.function_,W.undefined],t.calculateDelay),ae.any([W.number,W.undefined],t.maxRetryAfter),ae.any([W.number,W.undefined],t.limit),ae.any([W.array,W.undefined],t.methods),ae.any([W.array,W.undefined],t.statusCodes),ae.any([W.array,W.undefined],t.errorCodes),ae.any([W.number,W.undefined],t.noise),t.noise&&Math.abs(t.noise)>100)throw new Error(`The maximum acceptable retry noise is +/- 100ms, got ${t.noise}`);for(let n in t)if(!(n in this._internals.retry))throw new Error(`Unexpected retry option: ${n}`);this._merging?Object.assign(this._internals.retry,t):this._internals.retry={...t};let{retry:r}=this._internals;r.methods=[...new Set(r.methods.map(n=>n.toUpperCase()))],r.statusCodes=[...new Set(r.statusCodes)],r.errorCodes=[...new Set(r.errorCodes)]}get localAddress(){return this._internals.localAddress}set localAddress(t){ae.any([W.string,W.undefined],t),this._internals.localAddress=t}get method(){return this._internals.method}set method(t){ae.string(t),this._internals.method=t.toUpperCase()}get createConnection(){return this._internals.createConnection}set createConnection(t){ae.any([W.function_,W.undefined],t),this._internals.createConnection=t}get cacheOptions(){return this._internals.cacheOptions}set cacheOptions(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.shared),ae.any([W.number,W.undefined],t.cacheHeuristic),ae.any([W.number,W.undefined],t.immutableMinTimeToLive),ae.any([W.boolean,W.undefined],t.ignoreCargoCult);for(let r in t)if(!(r in this._internals.cacheOptions))throw new Error(`Cache option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.cacheOptions,t):this._internals.cacheOptions={...t}}get https(){return this._internals.https}set https(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.rejectUnauthorized),ae.any([W.function_,W.undefined],t.checkServerIdentity),ae.any([W.string,W.object,W.array,W.undefined],t.certificateAuthority),ae.any([W.string,W.object,W.array,W.undefined],t.key),ae.any([W.string,W.object,W.array,W.undefined],t.certificate),ae.any([W.string,W.undefined],t.passphrase),ae.any([W.string,W.buffer,W.array,W.undefined],t.pfx),ae.any([W.array,W.undefined],t.alpnProtocols),ae.any([W.string,W.undefined],t.ciphers),ae.any([W.string,W.buffer,W.undefined],t.dhparam),ae.any([W.string,W.undefined],t.signatureAlgorithms),ae.any([W.string,W.undefined],t.minVersion),ae.any([W.string,W.undefined],t.maxVersion),ae.any([W.boolean,W.undefined],t.honorCipherOrder),ae.any([W.number,W.undefined],t.tlsSessionLifetime),ae.any([W.string,W.undefined],t.ecdhCurve),ae.any([W.string,W.buffer,W.array,W.undefined],t.certificateRevocationLists);for(let r in t)if(!(r in this._internals.https))throw new Error(`HTTPS option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.https,t):this._internals.https={...t}}get encoding(){return this._internals.encoding}set encoding(t){if(t===null)throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead");ae.any([W.string,W.undefined],t),this._internals.encoding=t}get resolveBodyOnly(){return this._internals.resolveBodyOnly}set resolveBodyOnly(t){ae.boolean(t),this._internals.resolveBodyOnly=t}get isStream(){return this._internals.isStream}set isStream(t){ae.boolean(t),this._internals.isStream=t}get responseType(){return this._internals.responseType}set responseType(t){if(t===void 0){this._internals.responseType="text";return}if(t!=="text"&&t!=="buffer"&&t!=="json")throw new Error(`Invalid \`responseType\` option: ${t}`);this._internals.responseType=t}get pagination(){return this._internals.pagination}set pagination(t){ae.object(t),this._merging?Object.assign(this._internals.pagination,t):this._internals.pagination=t}get auth(){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}set auth(t){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}get setHost(){return this._internals.setHost}set setHost(t){ae.boolean(t),this._internals.setHost=t}get maxHeaderSize(){return this._internals.maxHeaderSize}set maxHeaderSize(t){ae.any([W.number,W.undefined],t),this._internals.maxHeaderSize=t}get enableUnixSockets(){return this._internals.enableUnixSockets}set enableUnixSockets(t){ae.boolean(t),this._internals.enableUnixSockets=t}toJSON(){return{...this._internals}}[Symbol.for("nodejs.util.inspect.custom")](t,r){return(0,A0.inspect)(this._internals,r)}createNativeRequestOptions(){let t=this._internals,r=t.url,n;r.protocol==="https:"?n=t.http2?t.agent:t.agent.https:n=t.agent.http;let{https:i}=t,{pfx:s}=i;return W.array(s)&&W.plainObject(s[0])&&(s=s.map(a=>({buf:a.buffer,passphrase:a.passphrase}))),{...t.cacheOptions,...this._unixOptions,ALPNProtocols:i.alpnProtocols,ca:i.certificateAuthority,cert:i.certificate,key:i.key,passphrase:i.passphrase,pfx:i.pfx,rejectUnauthorized:i.rejectUnauthorized,checkServerIdentity:i.checkServerIdentity??QK.checkServerIdentity,ciphers:i.ciphers,honorCipherOrder:i.honorCipherOrder,minVersion:i.minVersion,maxVersion:i.maxVersion,sigalgs:i.signatureAlgorithms,sessionTimeout:i.tlsSessionLifetime,dhparam:i.dhparam,ecdhCurve:i.ecdhCurve,crl:i.certificateRevocationLists,lookup:t.dnsLookup??t.dnsCache?.lookup,family:t.dnsLookupIpVersion,agent:n,setHost:t.setHost,method:t.method,maxHeaderSize:t.maxHeaderSize,localAddress:t.localAddress,headers:t.headers,createConnection:t.createConnection,timeout:t.http2?LK(t):void 0,h2session:t.h2session}}getRequestFunction(){let t=this._internals.url,{request:r}=this._internals;return!r&&t?this.getFallbackRequestFunction():r}getFallbackRequestFunction(){let t=this._internals.url;if(t){if(t.protocol==="https:"){if(this._internals.http2){if(nD<15||nD===15&&SK<10){let r=new Error("To use the `http2` option, install Node.js 15.10.0 or above");throw r.code="EUNSUPPORTED",r}return wK.default.auto}return bK.default.request}return mK.default.request}}freeze(){let t=this._internals;Object.freeze(t),Object.freeze(t.hooks),Object.freeze(t.hooks.afterResponse),Object.freeze(t.hooks.beforeError),Object.freeze(t.hooks.beforeRedirect),Object.freeze(t.hooks.beforeRequest),Object.freeze(t.hooks.beforeRetry),Object.freeze(t.hooks.init),Object.freeze(t.https),Object.freeze(t.cacheOptions),Object.freeze(t.agent),Object.freeze(t.headers),Object.freeze(t.timeout),Object.freeze(t.retry),Object.freeze(t.retry.errorCodes),Object.freeze(t.retry.methods),Object.freeze(t.retry.statusCodes)}},_E=e=>{let{statusCode:t}=e,r=e.request.options.followRedirect?299:399;return t>=200&&t<=r||t===304},sD=class extends sn{constructor(e,t){let{options:r}=t.request;super(`${e.message} in "${r.url.toString()}"`,e,t.request),this.name="ParseError",this.code="ERR_BODY_PARSE_FAILURE"}},oD=(e,t,r,n)=>{let{rawBody:i}=e;try{if(t==="text")return i.toString(n);if(t==="json")return i.length===0?"":r(i.toString(n));if(t==="buffer")return i}catch(s){throw new sD(s,e)}throw new sD({message:`Unknown body type '${t}'`,name:"Error"},e)};function FK(e){return e.writable&&!e.writableEnded}var UK=FK;function AD(e){return e.protocol==="unix:"||e.hostname==="unix"}var xK=W.string(IT.default.versions.brotli),MK=new Set(["GET","HEAD"]),c0=new CK,OK=new Set([300,301,302,303,304,307,308]),PK=["socket","connect","continue","information","upgrade"],rE=()=>{},mT=class bT extends AK.Duplex{constructor(t,r,n){super({autoDestroy:!1,highWaterMark:0}),Object.defineProperty(this,"constructor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_noPipe",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"requestUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"redirectUrls",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"retryCount",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopRetry",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downloadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_uploadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopReading",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pipedServerResponses",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_responseSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_bodySize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_unproxyEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isFromCache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cannotHaveBody",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_triggerRead",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cancelTimeouts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_removeListeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_nativeResponse",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_flushed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_aborted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_requestInitialized",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._downloadedSize=0,this._uploadedSize=0,this._stopReading=!1,this._pipedServerResponses=new Set,this._cannotHaveBody=!1,this._unproxyEvents=rE,this._triggerRead=!1,this._cancelTimeouts=rE,this._removeListeners=rE,this._jobs=[],this._flushed=!1,this._requestInitialized=!1,this._aborted=!1,this.redirectUrls=[],this.retryCount=0,this._stopRetry=rE,this.on("pipe",s=>{s.headers&&Object.assign(this.options.headers,s.headers)}),this.on("newListener",s=>{if(s==="retry"&&this.listenerCount("retry")>0)throw new Error("A retry listener has been attached already.")});try{if(this.options=new Nl(t,r,n),!this.options.url){if(this.options.prefixUrl==="")throw new TypeError("Missing `url` property");this.options.url=""}this.requestUrl=this.options.url}catch(s){let{options:a}=s;a&&(this.options=a),this.flush=async()=>{this.flush=async()=>{},this.destroy(s)};return}let{body:i}=this.options;if(W.nodeStream(i)&&i.once("error",s=>{this._flushed?this._beforeError(new Zk(s,this)):this.flush=async()=>{this.flush=async()=>{},this._beforeError(new Zk(s,this))}}),this.options.signal){let s=()=>{this.destroy(new oK(this))};this.options.signal.aborted?s():(this.options.signal.addEventListener("abort",s),this._removeListeners=()=>{this.options.signal.removeEventListener("abort",s)})}}async flush(){if(!this._flushed){this._flushed=!0;try{if(await this._finalizeBody(),this.destroyed)return;if(await this._makeRequest(),this.destroyed){this._request?.destroy();return}for(let t of this._jobs)t();this._jobs.length=0,this._requestInitialized=!0}catch(t){this._beforeError(t)}}}_beforeError(t){if(this._stopReading)return;let{response:r,options:n}=this,i=this.retryCount+(t.name==="RetryError"?0:1);this._stopReading=!0,t instanceof sn||(t=new sn(t.message,t,this));let s=t;(async()=>{if(r?.readable&&!r.rawBody&&!this._request?.socket?.destroyed&&(r.setEncoding(this.readableEncoding),await this._setRawBody(r)&&(r.body=r.rawBody.toString())),this.listenerCount("retry")!==0){let a;try{let c;r&&"retry-after"in r.headers&&(c=Number(r.headers["retry-after"]),Number.isNaN(c)?(c=Date.parse(r.headers["retry-after"])-Date.now(),c<=0&&(c=1)):c*=1e3);let l=n.retry;a=await l.calculateDelay({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:BK({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:l.maxRetryAfter??n.timeout.request??Number.POSITIVE_INFINITY})})}catch(c){this._error(new sn(c.message,c,this));return}if(a){if(await new Promise(c=>{let l=setTimeout(c,a);this._stopRetry=()=>{clearTimeout(l),c()}}),this.destroyed)return;try{for(let c of this.options.hooks.beforeRetry)await c(s,this.retryCount+1)}catch(c){this._error(new sn(c.message,t,this));return}if(this.destroyed)return;this.destroy(),this.emit("retry",this.retryCount+1,t,c=>{let l=new bT(n.url,c,n);return l.retryCount=this.retryCount+1,IT.default.nextTick(()=>{l.flush()}),l});return}}this._error(s)})()}_read(){this._triggerRead=!0;let{response:t}=this;if(t&&!this._stopReading){t.readableLength&&(this._triggerRead=!1);let r;for(;(r=t.read())!==null;){this._downloadedSize+=r.length;let n=this.downloadProgress;n.percent<1&&this.emit("downloadProgress",n),this.push(r)}}}_write(t,r,n){let i=()=>{this._writeRequest(t,r,n)};this._requestInitialized?i():this._jobs.push(i)}_final(t){let r=()=>{if(!this._request||this._request.destroyed){t();return}this._request.end(n=>{this._request._writableState?.errored||(n||(this._bodySize=this._uploadedSize,this.emit("uploadProgress",this.uploadProgress),this._request.emit("upload-complete")),t(n))})};this._requestInitialized?r():this._jobs.push(r)}_destroy(t,r){if(this._stopReading=!0,this.flush=async()=>{},this._stopRetry(),this._cancelTimeouts(),this._removeListeners(),this.options){let{body:n}=this.options;W.nodeStream(n)&&n.destroy()}this._request&&this._request.destroy(),t!==null&&!W.undefined(t)&&!(t instanceof sn)&&(t=new sn(t.message,t,this)),r(t)}pipe(t,r){return t instanceof o0.ServerResponse&&this._pipedServerResponses.add(t),super.pipe(t,r)}unpipe(t){return t instanceof o0.ServerResponse&&this._pipedServerResponses.delete(t),super.unpipe(t),this}async _finalizeBody(){let{options:t}=this,{headers:r}=t,n=!W.undefined(t.form),i=!W.undefined(t.json),s=!W.undefined(t.body),a=MK.has(t.method)&&!(t.method==="GET"&&t.allowGetBody);if(this._cannotHaveBody=a,n||i||s){if(a)throw new TypeError(`The \`${t.method}\` method cannot be used with a body`);let c=!W.string(r["content-type"]);if(s){if(qh(t.body)){let A=new rN(t.body);c&&(r["content-type"]=A.headers["Content-Type"]),"Content-Length"in A.headers&&(r["content-length"]=A.headers["Content-Length"]),t.body=A.encode()}BT(t.body)&&c&&(r["content-type"]=`multipart/form-data; boundary=${t.body.getBoundary()}`)}else if(n){c&&(r["content-type"]="application/x-www-form-urlencoded");let{form:A}=t;t.form=void 0,t.body=new tD.URLSearchParams(A).toString()}else{c&&(r["content-type"]="application/json");let{json:A}=t;t.json=void 0,t.body=t.stringifyJson(A)}let l=await hK(t.body,t.headers);W.undefined(r["content-length"])&&W.undefined(r["transfer-encoding"])&&!a&&!W.undefined(l)&&(r["content-length"]=String(l))}t.responseType==="json"&&!("accept"in t.headers)&&(t.headers.accept="application/json"),this._bodySize=Number(r["content-length"])||void 0}async _onResponseBase(t){if(this.isAborted)return;let{options:r}=this,{url:n}=r;this._nativeResponse=t,r.decompress&&(t=(0,aK.default)(t));let i=t.statusCode,s=t;s.statusMessage=s.statusMessage??o0.default.STATUS_CODES[i],s.url=r.url.toString(),s.requestUrl=this.requestUrl,s.redirectUrls=this.redirectUrls,s.request=this,s.isFromCache=this._nativeResponse.fromCache??!1,s.ip=this.ip,s.retryCount=this.retryCount,s.ok=_E(s),this._isFromCache=s.isFromCache,this._responseSize=Number(t.headers["content-length"])||void 0,this.response=s,t.once("end",()=>{this._responseSize=this._downloadedSize,this.emit("downloadProgress",this.downloadProgress)}),t.once("error",c=>{this._aborted=!0,t.destroy(),this._beforeError(new eD(c,this))}),t.once("aborted",()=>{this._aborted=!0,this._beforeError(new eD({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);let a=t.headers["set-cookie"];if(W.object(r.cookieJar)&&a){let c=a.map(async l=>r.cookieJar.setCookie(l,n.toString()));r.ignoreInvalidCookies&&(c=c.map(async l=>{try{await l}catch{}}));try{await Promise.all(c)}catch(l){this._beforeError(l);return}}if(!this.isAborted){if(r.followRedirect&&t.headers.location&&OK.has(i)){if(t.resume(),this._cancelTimeouts(),this._unproxyEvents(),this.redirectUrls.length>=r.maxRedirects){this._beforeError(new rK(this));return}this._request=void 0;let c=new Nl(void 0,void 0,this.options),l=i===303&&c.method!=="GET"&&c.method!=="HEAD",A=i!==307&&i!==308,f=c.methodRewriting&&A;(l||f)&&(c.method="GET",c.body=void 0,c.json=void 0,c.form=void 0,delete c.headers["content-length"]);try{let h=s0.Buffer.from(t.headers.location,"binary").toString(),g=new tD.URL(h,n);if(!AD(n)&&AD(g)){this._beforeError(new sn("Cannot redirect to UNIX socket",{},this));return}g.hostname!==n.hostname||g.port!==n.port?("host"in c.headers&&delete c.headers.host,"cookie"in c.headers&&delete c.headers.cookie,"authorization"in c.headers&&delete c.headers.authorization,(c.username||c.password)&&(c.username="",c.password="")):(g.username=c.username,g.password=c.password),this.redirectUrls.push(g),c.prefixUrl="",c.url=g;for(let b of c.hooks.beforeRedirect)await b(c,s);this.emit("redirect",c,s),this.options=c,await this._makeRequest()}catch(h){this._beforeError(h);return}return}if(r.isStream&&r.throwHttpErrors&&!_E(s)){this._beforeError(new RE(s));return}if(t.on("readable",()=>{this._triggerRead&&this._read()}),this.on("resume",()=>{t.resume()}),this.on("pause",()=>{t.pause()}),t.once("end",()=>{this.push(null)}),this._noPipe){await this._setRawBody()&&this.emit("response",t);return}this.emit("response",t);for(let c of this._pipedServerResponses)if(!c.headersSent){for(let l in t.headers){let A=r.decompress?l!=="content-encoding":!0,f=t.headers[l];A&&c.setHeader(l,f)}c.statusCode=i}}}async _setRawBody(t=this){if(t.readableEnded)return!1;try{let r=await(0,cK.buffer)(t);if(!this.isAborted)return this.response.rawBody=r,!0}catch{}return!1}async _onResponse(t){try{await this._onResponseBase(t)}catch(r){this._beforeError(r)}}_onRequest(t){let{options:r}=this,{timeout:n,url:i}=r;ZD(t),this.options.http2&&t.setTimeout(0),this._cancelTimeouts=EK(t,n,i);let s=r.cache?"cacheableResponse":"response";t.once(s,a=>{this._onResponse(a)}),t.once("error",a=>{this._aborted=!0,t.destroy(),a=a instanceof QT?new iK(a,this.timings,this):new sn(a.message,a,this),this._beforeError(a)}),this._unproxyEvents=yT(t,this,PK),this._request=t,this.emit("uploadProgress",this.uploadProgress),this._sendBody(),this.emit("request",t)}async _asyncWrite(t){return new Promise((r,n)=>{super.write(t,i=>{if(i){n(i);return}r()})})}_sendBody(){let{body:t}=this.options,r=this.redirectUrls.length===0?this:this._request??this;W.nodeStream(t)?t.pipe(r):W.generator(t)||W.asyncGenerator(t)?(async()=>{try{for await(let n of t)await this._asyncWrite(n);super.end()}catch(n){this._beforeError(n)}})():W.undefined(t)?(this._cannotHaveBody||this._noPipe)&&r.end():(this._writeRequest(t,void 0,()=>{}),r.end())}_prepareCache(t){if(!c0.has(t)){let r=new tN((n,i)=>{let s=n._request(n,i);return W.promise(s)&&(s.once=(a,c)=>{if(a==="error")(async()=>{try{await s}catch(l){c(l)}})();else if(a==="abort")(async()=>{try{(await s).once("abort",c)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${a}`);return s}),s},t);c0.set(t,r.request())}}async _createCacheableRequest(t,r){return new Promise((n,i)=>{Object.assign(r,pK(t));let s,a=c0.get(r.cache)(r,async c=>{if(c._readableState.autoDestroy=!1,s){let l=()=>{c.req&&(c.complete=c.req.res.complete)};c.prependOnceListener("end",l),l(),(await s).emit("cacheableResponse",c)}n(c)});a.once("error",i),a.once("request",async c=>{s=c,n(s)})})}async _makeRequest(){let{options:t}=this,{headers:r,username:n,password:i}=t,s=t.cookieJar;for(let A in r)if(W.undefined(r[A]))delete r[A];else if(W.null_(r[A]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${A}\` header`);if(t.decompress&&W.undefined(r["accept-encoding"])&&(r["accept-encoding"]=xK?"gzip, deflate, br":"gzip, deflate"),n||i){let A=s0.Buffer.from(`${n}:${i}`).toString("base64");r.authorization=`Basic ${A}`}if(s){let A=await s.getCookieString(t.url.toString());W.nonEmptyString(A)&&(r.cookie=A)}t.prefixUrl="";let a;for(let A of t.hooks.beforeRequest){let f=await A(t);if(!W.undefined(f)){a=()=>f;break}}a||(a=t.getRequestFunction());let c=t.url;this._requestOptions=t.createNativeRequestOptions(),t.cache&&(this._requestOptions._request=a,this._requestOptions.cache=t.cache,this._requestOptions.body=t.body,this._prepareCache(t.cache));let l=t.cache?this._createCacheableRequest:a;try{let A=l(c,this._requestOptions);W.promise(A)&&(A=await A),W.undefined(A)&&(A=t.getFallbackRequestFunction()(c,this._requestOptions),W.promise(A)&&(A=await A)),UK(A)?this._onRequest(A):this.writable?(this.once("finish",()=>{this._onResponse(A)}),this._sendBody()):this._onResponse(A)}catch(A){throw A instanceof wl?new nK(A,this):A}}async _error(t){try{if(!(t instanceof RE&&!this.options.throwHttpErrors))for(let r of this.options.hooks.beforeError)t=await r(t)}catch(r){t=new sn(r.message,r,this)}this.destroy(t)}_writeRequest(t,r,n){!this._request||this._request.destroyed||this._request.write(t,r,i=>{if(!i&&!this._request.destroyed){this._uploadedSize+=s0.Buffer.byteLength(t,r);let s=this.uploadProgress;s.percent<1&&this.emit("uploadProgress",s)}n(i)})}get ip(){return this.socket?.remoteAddress}get isAborted(){return this._aborted}get socket(){return this._request?.socket??void 0}get downloadProgress(){let t;return this._responseSize?t=this._downloadedSize/this._responseSize:this._responseSize===this._downloadedSize?t=1:t=0,{percent:t,transferred:this._downloadedSize,total:this._responseSize}}get uploadProgress(){let t;return this._bodySize?t=this._uploadedSize/this._bodySize:this._bodySize===this._uploadedSize?t=1:t=0,{percent:t,transferred:this._uploadedSize,total:this._bodySize}}get timings(){return this._request?.timings}get isFromCache(){return this._isFromCache}get reusedSocket(){return this._request?.reusedSocket}},qK=class extends sn{constructor(e){super("Promise was canceled",{},e),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}},VK=["request","response","redirect","uploadProgress","downloadProgress"];function aD(e){let t,r,n,i=new eK.EventEmitter,s=new iQ((c,l,A)=>{A(()=>{t.destroy()}),A.shouldReject=!1,A(()=>{l(new qK(t))});let f=h=>{A(()=>{});let g=e??new mT(void 0,void 0,n);g.retryCount=h,g._noPipe=!0,t=g,g.once("response",async p=>{let Q=(p.headers["content-encoding"]??"").toLowerCase(),R=Q==="gzip"||Q==="deflate"||Q==="br",{options:_}=g;if(R&&!_.decompress)p.body=p.rawBody;else try{p.body=oD(p,_.responseType,_.parseJson,_.encoding)}catch(d){if(p.body=p.rawBody.toString(),_E(p)){g._beforeError(d);return}}try{let d=_.hooks.afterResponse;for(let[S,m]of d.entries())if(p=await m(p,async T=>{throw _.merge(T),_.prefixUrl="",T.url&&(_.url=T.url),_.hooks.afterResponse=_.hooks.afterResponse.slice(0,S),new sK(g)}),!(W.object(p)&&W.number(p.statusCode)&&!W.nullOrUndefined(p.body)))throw new TypeError("The `afterResponse` hook returned an invalid value")}catch(d){g._beforeError(d);return}if(r=p,!_E(p)){g._beforeError(new RE(p));return}g.destroy(),c(g.options.resolveBodyOnly?p.body:p)});let b=p=>{if(s.isCanceled)return;let{options:Q}=g;if(p instanceof RE&&!Q.throwHttpErrors){let{response:R}=p;g.destroy(),c(g.options.resolveBodyOnly?R.body:R);return}l(p)};g.once("error",b);let C=g.options?.body;g.once("retry",(p,Q)=>{e=void 0;let R=g.options.body;if(C===R&&W.nodeStream(R)){Q.message="Cannot retry with consumed body stream",b(Q);return}n=g.options,f(p)}),yT(g,i,VK),W.undefined(e)&&g.flush()};f(0)});s.on=(c,l)=>(i.on(c,l),s),s.off=(c,l)=>(i.off(c,l),s);let a=c=>{let l=(async()=>{await s;let{options:A}=r.request;return oD(r,c,A.parseJson,A.encoding)})();return Object.defineProperties(l,Object.getOwnPropertyDescriptors(s)),l};return s.json=()=>{if(t.options){let{headers:c}=t.options;!t.writableFinished&&!("accept"in c)&&(c.accept="application/json")}return a("json")},s.buffer=()=>a("buffer"),s.text=()=>a("text"),s}var HK=async e=>new Promise(t=>{setTimeout(t,e)}),GK=e=>W.function_(e),YK=["get","post","put","patch","head","delete"],wT=e=>{e={options:new Nl(void 0,void 0,e.options),handlers:[...e.handlers],mutableDefaults:e.mutableDefaults},Object.defineProperty(e,"mutableDefaults",{enumerable:!0,configurable:!1,writable:!1});let t=(n,i,s=e.options)=>{let a=new mT(n,i,s),c,l=h=>(a.options=h,a._noPipe=!h.isStream,a.flush(),h.isStream?a:(c||(c=aD(a)),c)),A=0,f=h=>{let g=(e.handlers[A++]??l)(h,f);if(W.promise(g)&&!a.options.isStream&&(c||(c=aD(a)),g!==c)){let b=Object.getOwnPropertyDescriptors(c);for(let C in b)C in g&&delete b[C];Object.defineProperties(g,b),g.cancel=c.cancel}return g};return f(a.options)};t.extend=(...n)=>{let i=new Nl(void 0,void 0,e.options),s=[...e.handlers],a;for(let c of n)GK(c)?(i.merge(c.defaults.options),s.push(...c.defaults.handlers),a=c.defaults.mutableDefaults):(i.merge(c),c.handlers&&s.push(...c.handlers),a=c.mutableDefaults);return wT({options:i,handlers:s,mutableDefaults:!!a})};let r=async function*(n,i){let s=new Nl(n,i,e.options);s.resolveBodyOnly=!1;let{pagination:a}=s;ae.function_(a.transform),ae.function_(a.shouldContinue),ae.function_(a.filter),ae.function_(a.paginate),ae.number(a.countLimit),ae.number(a.requestLimit),ae.number(a.backoff);let c=[],{countLimit:l}=a,A=0;for(;A{let s=[];for await(let a of r(n,i))s.push(a);return s},t.paginate.each=r,t.stream=(n,i)=>t(n,{...i,isStream:!0});for(let n of YK)t[n]=(i,s)=>t(i,{...s,method:n}),t.stream[n]=(i,s)=>t(i,{...s,method:n,isStream:!0});return e.mutableDefaults||(Object.freeze(e.handlers),e.options.freeze()),Object.defineProperty(t,"defaults",{value:e,writable:!1,configurable:!1,enumerable:!0}),t},JK=wT,WK={options:new Nl,handlers:[],mutableDefaults:!1},jK=JK(WK),T0=jK,zK=require("module"),kE=require("path"),vT=require("crypto"),KK=Object.create,ST=Object.defineProperty,XK=Object.getOwnPropertyDescriptor,$K=Object.getOwnPropertyNames,ZK=Object.getPrototypeOf,eX=Object.prototype.hasOwnProperty,Tl=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),nt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tX=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $K(t))!eX.call(e,i)&&i!==r&&ST(e,i,{get:()=>t[i],enumerable:!(n=XK(t,i))||n.enumerable});return e},ql=(e,t,r)=>(r=e!=null?KK(ZK(e)):{},tX(t||!e||!e.__esModule?ST(r,"default",{value:e,enumerable:!0}):r,e)),rX=nt((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.WebStreamsPolyfill={}))})(e,function(r){"use strict";let n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:y=>`Symbol(${y})`;function i(){}function s(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}let a=s();function c(y){return typeof y=="object"&&y!==null||typeof y=="function"}let l=i,A=Promise,f=Promise.prototype.then,h=Promise.resolve.bind(A),g=Promise.reject.bind(A);function b(y){return new A(y)}function C(y){return h(y)}function p(y){return g(y)}function Q(y,D,Y){return f.call(y,D,Y)}function R(y,D,Y){Q(Q(y,D,Y),void 0,l)}function _(y,D){R(y,D)}function d(y,D){R(y,void 0,D)}function S(y,D,Y){return Q(y,D,Y)}function m(y){Q(y,void 0,l)}let T=(()=>{let y=a&&a.queueMicrotask;if(typeof y=="function")return y;let D=C(void 0);return Y=>Q(D,Y)})();function L(y,D,Y){if(typeof y!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(y,D,Y)}function v(y,D,Y){try{return C(L(y,D,Y))}catch(re){return p(re)}}let I=16384;class E{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(D){let Y=this._back,re=Y;Y._elements.length===I-1&&(re={_elements:[],_next:void 0}),Y._elements.push(D),re!==Y&&(this._back=re,Y._next=re),++this._size}shift(){let D=this._front,Y=D,re=this._cursor,fe=re+1,Ie=D._elements,Ne=Ie[re];return fe===I&&(Y=D._next,fe=0),--this._size,this._cursor=fe,D!==Y&&(this._front=Y),Ie[re]=void 0,Ne}forEach(D){let Y=this._cursor,re=this._front,fe=re._elements;for(;(Y!==fe.length||re._next!==void 0)&&!(Y===fe.length&&(re=re._next,fe=re._elements,Y=0,fe.length===0));)D(fe[Y]),++Y}peek(){let D=this._front,Y=this._cursor;return D._elements[Y]}}function O(y,D){y._ownerReadableStream=D,D._reader=y,D._state==="readable"?N(y):D._state==="closed"?M(y):F(y,D._storedError)}function q(y,D){let Y=y._ownerReadableStream;return ze(Y,D)}function V(y){y._ownerReadableStream._state==="readable"?P(y,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):ee(y,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),y._ownerReadableStream._reader=void 0,y._ownerReadableStream=void 0}function w(y){return new TypeError("Cannot "+y+" a stream using a released reader")}function N(y){y._closedPromise=b((D,Y)=>{y._closedPromise_resolve=D,y._closedPromise_reject=Y})}function F(y,D){N(y),P(y,D)}function M(y){N(y),se(y)}function P(y,D){y._closedPromise_reject!==void 0&&(m(y._closedPromise),y._closedPromise_reject(D),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0)}function ee(y,D){F(y,D)}function se(y){y._closedPromise_resolve!==void 0&&(y._closedPromise_resolve(void 0),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0)}let ce=n("[[AbortSteps]]"),ge=n("[[ErrorSteps]]"),Ee=n("[[CancelSteps]]"),we=n("[[PullSteps]]"),De=Number.isFinite||function(y){return typeof y=="number"&&isFinite(y)},ye=Math.trunc||function(y){return y<0?Math.ceil(y):Math.floor(y)};function Ke(y){return typeof y=="object"||typeof y=="function"}function Se(y,D){if(y!==void 0&&!Ke(y))throw new TypeError(`${D} is not an object.`)}function lt(y,D){if(typeof y!="function")throw new TypeError(`${D} is not a function.`)}function ot(y){return typeof y=="object"&&y!==null||typeof y=="function"}function U(y,D){if(!ot(y))throw new TypeError(`${D} is not an object.`)}function X(y,D,Y){if(y===void 0)throw new TypeError(`Parameter ${D} is required in '${Y}'.`)}function z(y,D,Y){if(y===void 0)throw new TypeError(`${D} is required in '${Y}'.`)}function k(y){return Number(y)}function J(y){return y===0?0:y}function oe(y){return J(ye(y))}function te(y,D){let Y=Number.MAX_SAFE_INTEGER,re=Number(y);if(re=J(re),!De(re))throw new TypeError(`${D} is not a finite number`);if(re=oe(re),re<0||re>Y)throw new TypeError(`${D} is outside the accepted range of 0 to ${Y}, inclusive`);return!De(re)||re===0?0:re}function me(y,D){if(!de(y))throw new TypeError(`${D} is not a ReadableStream.`)}function Oe(y){return new ht(y)}function Ve(y,D){y._reader._readRequests.push(D)}function pe(y,D,Y){let re=y._reader._readRequests.shift();Y?re._closeSteps():re._chunkSteps(D)}function Ue(y){return y._reader._readRequests.length}function Xe(y){let D=y._reader;return!(D===void 0||!je(D))}class ht{constructor(D){if(X(D,1,"ReadableStreamDefaultReader"),me(D,"First parameter"),Pe(D))throw new TypeError("This stream has already been locked for exclusive reading by another reader");O(this,D),this._readRequests=new E}get closed(){return je(this)?this._closedPromise:p(Mt("closed"))}cancel(D=void 0){return je(this)?this._ownerReadableStream===void 0?p(w("cancel")):q(this,D):p(Mt("cancel"))}read(){if(!je(this))return p(Mt("read"));if(this._ownerReadableStream===void 0)return p(w("read from"));let D,Y,re=b((fe,Ie)=>{D=fe,Y=Ie});return Yt(this,{_chunkSteps:fe=>D({value:fe,done:!1}),_closeSteps:()=>D({value:void 0,done:!0}),_errorSteps:fe=>Y(fe)}),re}releaseLock(){if(!je(this))throw Mt("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");V(this)}}}Object.defineProperties(ht.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(ht.prototype,n.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function je(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_readRequests")?!1:y instanceof ht}function Yt(y,D){let Y=y._ownerReadableStream;Y._disturbed=!0,Y._state==="closed"?D._closeSteps():Y._state==="errored"?D._errorSteps(Y._storedError):Y._readableStreamController[we](D)}function Mt(y){return new TypeError(`ReadableStreamDefaultReader.prototype.${y} can only be used on a ReadableStreamDefaultReader`)}let Ot=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class zt{constructor(D,Y){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=D,this._preventCancel=Y}next(){let D=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?S(this._ongoingPromise,D,D):D(),this._ongoingPromise}return(D){let Y=()=>this._returnSteps(D);return this._ongoingPromise?S(this._ongoingPromise,Y,Y):Y()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let D=this._reader;if(D._ownerReadableStream===void 0)return p(w("iterate"));let Y,re,fe=b((Ie,Ne)=>{Y=Ie,re=Ne});return Yt(D,{_chunkSteps:Ie=>{this._ongoingPromise=void 0,T(()=>Y({value:Ie,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,V(D),Y({value:void 0,done:!0})},_errorSteps:Ie=>{this._ongoingPromise=void 0,this._isFinished=!0,V(D),re(Ie)}}),fe}_returnSteps(D){if(this._isFinished)return Promise.resolve({value:D,done:!0});this._isFinished=!0;let Y=this._reader;if(Y._ownerReadableStream===void 0)return p(w("finish iterating"));if(!this._preventCancel){let re=q(Y,D);return V(Y),S(re,()=>({value:D,done:!0}))}return V(Y),C({value:D,done:!0})}}let Jt={next(){return fr(this)?this._asyncIteratorImpl.next():p(mr("next"))},return(y){return fr(this)?this._asyncIteratorImpl.return(y):p(mr("return"))}};Ot!==void 0&&Object.setPrototypeOf(Jt,Ot);function Kt(y,D){let Y=Oe(y),re=new zt(Y,D),fe=Object.create(Jt);return fe._asyncIteratorImpl=re,fe}function fr(y){if(!c(y)||!Object.prototype.hasOwnProperty.call(y,"_asyncIteratorImpl"))return!1;try{return y._asyncIteratorImpl instanceof zt}catch{return!1}}function mr(y){return new TypeError(`ReadableStreamAsyncIterator.${y} can only be used on a ReadableSteamAsyncIterator`)}let gr=Number.isNaN||function(y){return y!==y};function dr(y){return y.slice()}function xr(y,D,Y,re,fe){new Uint8Array(y).set(new Uint8Array(Y,re,fe),D)}function on(y){return y}function zr(y){return!1}function vn(y,D,Y){if(y.slice)return y.slice(D,Y);let re=Y-D,fe=new ArrayBuffer(re);return xr(fe,0,y,D,re),fe}function ii(y){return!(typeof y!="number"||gr(y)||y<0)}function Pn(y){let D=vn(y.buffer,y.byteOffset,y.byteOffset+y.byteLength);return new Uint8Array(D)}function qn(y){let D=y._queue.shift();return y._queueTotalSize-=D.size,y._queueTotalSize<0&&(y._queueTotalSize=0),D.value}function Qi(y,D,Y){if(!ii(Y)||Y===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");y._queue.push({value:D,size:Y}),y._queueTotalSize+=Y}function Ns(y){return y._queue.peek().value}function Sn(y){y._queue=new E,y._queueTotalSize=0}class Yi{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!br(this))throw cA("view");return this._view}respond(D){if(!br(this))throw cA("respond");if(X(D,1,"respond"),D=te(D,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");zr(this._view.buffer),AA(this._associatedReadableByteStreamController,D)}respondWithNewView(D){if(!br(this))throw cA("respondWithNewView");if(X(D,1,"respondWithNewView"),!ArrayBuffer.isView(D))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");zr(D.buffer),aA(this._associatedReadableByteStreamController,D)}}Object.defineProperties(Yi.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Yi.prototype,n.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class Zt{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!er(this))throw en("byobRequest");return jA(this)}get desiredSize(){if(!er(this))throw en("desiredSize");return fo(this)}close(){if(!er(this))throw en("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let D=this._controlledReadableByteStream._state;if(D!=="readable")throw new TypeError(`The stream (in ${D} state) is not in the readable state and cannot be closed`);ho(this)}enqueue(D){if(!er(this))throw en("enqueue");if(X(D,1,"enqueue"),!ArrayBuffer.isView(D))throw new TypeError("chunk must be an array buffer view");if(D.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(D.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 Y=this._controlledReadableByteStream._state;if(Y!=="readable")throw new TypeError(`The stream (in ${Y} state) is not in the readable state and cannot be enqueued to`);mi(this,D)}error(D=void 0){if(!er(this))throw en("error");An(this,D)}[Ee](D){Er(this),Sn(this);let Y=this._cancelAlgorithm(D);return oA(this),Y}[we](D){let Y=this._controlledReadableByteStream;if(this._queueTotalSize>0){let fe=this._queue.shift();this._queueTotalSize-=fe.byteLength,Dr(this);let Ie=new Uint8Array(fe.buffer,fe.byteOffset,fe.byteLength);D._chunkSteps(Ie);return}let re=this._autoAllocateChunkSize;if(re!==void 0){let fe;try{fe=new ArrayBuffer(re)}catch(Ne){D._errorSteps(Ne);return}let Ie={buffer:fe,bufferByteLength:re,byteOffset:0,byteLength:re,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(Ie)}Ve(Y,D),tr(this)}}Object.defineProperties(Zt.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Zt.prototype,n.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function er(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledReadableByteStream")?!1:y instanceof Zt}function br(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_associatedReadableByteStreamController")?!1:y instanceof Yi}function tr(y){if(!Hl(y))return;if(y._pulling){y._pullAgain=!0;return}y._pulling=!0;let D=y._pullAlgorithm();R(D,()=>{y._pulling=!1,y._pullAgain&&(y._pullAgain=!1,tr(y))},Y=>{An(y,Y)})}function Er(y){vr(y),y._pendingPullIntos=new E}function wr(y,D){let Y=!1;y._state==="closed"&&(Y=!0);let re=pr(D);D.readerType==="default"?pe(y,re,Y):Gl(y,re,Y)}function pr(y){let D=y.bytesFilled,Y=y.elementSize;return new y.viewConstructor(y.buffer,y.byteOffset,D/Y)}function Cr(y,D,Y,re){y._queue.push({buffer:D,byteOffset:Y,byteLength:re}),y._queueTotalSize+=re}function _r(y,D){let Y=D.elementSize,re=D.bytesFilled-D.bytesFilled%Y,fe=Math.min(y._queueTotalSize,D.byteLength-D.bytesFilled),Ie=D.bytesFilled+fe,Ne=Ie-Ie%Y,Ge=fe,ft=!1;Ne>re&&(Ge=Ne-D.bytesFilled,ft=!0);let Ct=y._queue;for(;Ge>0;){let mt=Ct.peek(),vt=Math.min(Ge,mt.byteLength),or=D.byteOffset+D.bytesFilled;xr(D.buffer,or,mt.buffer,mt.byteOffset,vt),mt.byteLength===vt?Ct.shift():(mt.byteOffset+=vt,mt.byteLength-=vt),y._queueTotalSize-=vt,kr(y,vt,D),Ge-=vt}return ft}function kr(y,D,Y){Y.bytesFilled+=D}function Dr(y){y._queueTotalSize===0&&y._closeRequested?(oA(y),bt(y._controlledReadableByteStream)):tr(y)}function vr(y){y._byobRequest!==null&&(y._byobRequest._associatedReadableByteStreamController=void 0,y._byobRequest._view=null,y._byobRequest=null)}function Nr(y){for(;y._pendingPullIntos.length>0;){if(y._queueTotalSize===0)return;let D=y._pendingPullIntos.peek();_r(y,D)&&(sA(y),wr(y._controlledReadableByteStream,D))}}function Mr(y,D,Y){let re=y._controlledReadableByteStream,fe=1;D.constructor!==DataView&&(fe=D.constructor.BYTES_PER_ELEMENT);let Ie=D.constructor,Ne=D.buffer,Ge={buffer:Ne,bufferByteLength:Ne.byteLength,byteOffset:D.byteOffset,byteLength:D.byteLength,bytesFilled:0,elementSize:fe,viewConstructor:Ie,readerType:"byob"};if(y._pendingPullIntos.length>0){y._pendingPullIntos.push(Ge),Ac(re,Y);return}if(re._state==="closed"){let ft=new Ie(Ge.buffer,Ge.byteOffset,0);Y._closeSteps(ft);return}if(y._queueTotalSize>0){if(_r(y,Ge)){let ft=pr(Ge);Dr(y),Y._chunkSteps(ft);return}if(y._closeRequested){let ft=new TypeError("Insufficient bytes to fill elements in the given buffer");An(y,ft),Y._errorSteps(ft);return}}y._pendingPullIntos.push(Ge),Ac(re,Y),tr(y)}function cr(y,D){let Y=y._controlledReadableByteStream;if(G(Y))for(;zA(Y)>0;){let re=sA(y);wr(Y,re)}}function Sr(y,D,Y){if(kr(y,D,Y),Y.bytesFilled0){let fe=Y.byteOffset+Y.bytesFilled,Ie=vn(Y.buffer,fe-re,fe);Cr(y,Ie,0,Ie.byteLength)}Y.bytesFilled-=re,wr(y._controlledReadableByteStream,Y),Nr(y)}function rc(y,D){let Y=y._pendingPullIntos.peek();vr(y),y._controlledReadableByteStream._state==="closed"?cr(y):Sr(y,D,Y),tr(y)}function sA(y){return y._pendingPullIntos.shift()}function Hl(y){let D=y._controlledReadableByteStream;return D._state!=="readable"||y._closeRequested||!y._started?!1:!!(Xe(D)&&Ue(D)>0||G(D)&&zA(D)>0||fo(y)>0)}function oA(y){y._pullAlgorithm=void 0,y._cancelAlgorithm=void 0}function ho(y){let D=y._controlledReadableByteStream;if(!(y._closeRequested||D._state!=="readable")){if(y._queueTotalSize>0){y._closeRequested=!0;return}if(y._pendingPullIntos.length>0&&y._pendingPullIntos.peek().bytesFilled>0){let Y=new TypeError("Insufficient bytes to fill elements in the given buffer");throw An(y,Y),Y}oA(y),bt(D)}}function mi(y,D){let Y=y._controlledReadableByteStream;if(y._closeRequested||Y._state!=="readable")return;let re=D.buffer,fe=D.byteOffset,Ie=D.byteLength,Ne=re;if(y._pendingPullIntos.length>0){let Ge=y._pendingPullIntos.peek();zr(Ge.buffer),Ge.buffer=Ge.buffer}if(vr(y),Xe(Y))if(Ue(Y)===0)Cr(y,Ne,fe,Ie);else{y._pendingPullIntos.length>0&&sA(y);let Ge=new Uint8Array(Ne,fe,Ie);pe(Y,Ge,!1)}else G(Y)?(Cr(y,Ne,fe,Ie),Nr(y)):Cr(y,Ne,fe,Ie);tr(y)}function An(y,D){let Y=y._controlledReadableByteStream;Y._state==="readable"&&(Er(y),Sn(y),oA(y),Or(Y,D))}function jA(y){if(y._byobRequest===null&&y._pendingPullIntos.length>0){let D=y._pendingPullIntos.peek(),Y=new Uint8Array(D.buffer,D.byteOffset+D.bytesFilled,D.byteLength-D.bytesFilled),re=Object.create(Yi.prototype);sc(re,y,Y),y._byobRequest=re}return y._byobRequest}function fo(y){let D=y._controlledReadableByteStream._state;return D==="errored"?null:D==="closed"?0:y._strategyHWM-y._queueTotalSize}function AA(y,D){let Y=y._pendingPullIntos.peek();if(y._controlledReadableByteStream._state==="closed"){if(D!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(D===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(Y.bytesFilled+D>Y.byteLength)throw new RangeError("bytesWritten out of range")}Y.buffer=Y.buffer,rc(y,D)}function aA(y,D){let Y=y._pendingPullIntos.peek();if(y._controlledReadableByteStream._state==="closed"){if(D.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(D.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(Y.byteOffset+Y.bytesFilled!==D.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(Y.bufferByteLength!==D.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(Y.bytesFilled+D.byteLength>Y.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let re=D.byteLength;Y.buffer=D.buffer,rc(y,re)}function nc(y,D,Y,re,fe,Ie,Ne){D._controlledReadableByteStream=y,D._pullAgain=!1,D._pulling=!1,D._byobRequest=null,D._queue=D._queueTotalSize=void 0,Sn(D),D._closeRequested=!1,D._started=!1,D._strategyHWM=Ie,D._pullAlgorithm=re,D._cancelAlgorithm=fe,D._autoAllocateChunkSize=Ne,D._pendingPullIntos=new E,y._readableStreamController=D;let Ge=Y();R(C(Ge),()=>{D._started=!0,tr(D)},ft=>{An(D,ft)})}function ic(y,D,Y){let re=Object.create(Zt.prototype),fe=()=>{},Ie=()=>C(void 0),Ne=()=>C(void 0);D.start!==void 0&&(fe=()=>D.start(re)),D.pull!==void 0&&(Ie=()=>D.pull(re)),D.cancel!==void 0&&(Ne=ft=>D.cancel(ft));let Ge=D.autoAllocateChunkSize;if(Ge===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");nc(y,re,fe,Ie,Ne,Y,Ge)}function sc(y,D,Y){y._associatedReadableByteStreamController=D,y._view=Y}function cA(y){return new TypeError(`ReadableStreamBYOBRequest.prototype.${y} can only be used on a ReadableStreamBYOBRequest`)}function en(y){return new TypeError(`ReadableByteStreamController.prototype.${y} can only be used on a ReadableByteStreamController`)}function oc(y){return new j(y)}function Ac(y,D){y._reader._readIntoRequests.push(D)}function Gl(y,D,Y){let re=y._reader._readIntoRequests.shift();Y?re._closeSteps(D):re._chunkSteps(D)}function zA(y){return y._reader._readIntoRequests.length}function G(y){let D=y._reader;return!(D===void 0||!Z(D))}class j{constructor(D){if(X(D,1,"ReadableStreamBYOBReader"),me(D,"First parameter"),Pe(D))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!er(D._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");O(this,D),this._readIntoRequests=new E}get closed(){return Z(this)?this._closedPromise:p(Be("closed"))}cancel(D=void 0){return Z(this)?this._ownerReadableStream===void 0?p(w("cancel")):q(this,D):p(Be("cancel"))}read(D){if(!Z(this))return p(Be("read"));if(!ArrayBuffer.isView(D))return p(new TypeError("view must be an array buffer view"));if(D.byteLength===0)return p(new TypeError("view must have non-zero byteLength"));if(D.buffer.byteLength===0)return p(new TypeError("view's buffer must have non-zero byteLength"));if(zr(D.buffer),this._ownerReadableStream===void 0)return p(w("read from"));let Y,re,fe=b((Ie,Ne)=>{Y=Ie,re=Ne});return le(this,D,{_chunkSteps:Ie=>Y({value:Ie,done:!1}),_closeSteps:Ie=>Y({value:Ie,done:!0}),_errorSteps:Ie=>re(Ie)}),fe}releaseLock(){if(!Z(this))throw Be("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");V(this)}}}Object.defineProperties(j.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(j.prototype,n.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function Z(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_readIntoRequests")?!1:y instanceof j}function le(y,D,Y){let re=y._ownerReadableStream;re._disturbed=!0,re._state==="errored"?Y._errorSteps(re._storedError):Mr(re._readableStreamController,D,Y)}function Be(y){return new TypeError(`ReadableStreamBYOBReader.prototype.${y} can only be used on a ReadableStreamBYOBReader`)}function ve(y,D){let{highWaterMark:Y}=y;if(Y===void 0)return D;if(gr(Y)||Y<0)throw new RangeError("Invalid highWaterMark");return Y}function Me(y){let{size:D}=y;return D||(()=>1)}function Fe(y,D){Se(y,D);let Y=y?.highWaterMark,re=y?.size;return{highWaterMark:Y===void 0?void 0:k(Y),size:re===void 0?void 0:Lt(re,`${D} has member 'size' that`)}}function Lt(y,D){return lt(y,D),Y=>k(y(Y))}function Tr(y,D){Se(y,D);let Y=y?.abort,re=y?.close,fe=y?.start,Ie=y?.type,Ne=y?.write;return{abort:Y===void 0?void 0:an(Y,y,`${D} has member 'abort' that`),close:re===void 0?void 0:gn(re,y,`${D} has member 'close' that`),start:fe===void 0?void 0:si(fe,y,`${D} has member 'start' that`),write:Ne===void 0?void 0:Ts(Ne,y,`${D} has member 'write' that`),type:Ie}}function an(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function gn(y,D,Y){return lt(y,Y),()=>v(y,D,[])}function si(y,D,Y){return lt(y,Y),re=>L(y,D,[re])}function Ts(y,D,Y){return lt(y,Y),(re,fe)=>v(y,D,[re,fe])}function cn(y,D){if(!Eo(y))throw new TypeError(`${D} is not a WritableStream.`)}function Kr(y){if(typeof y!="object"||y===null)return!1;try{return typeof y.aborted=="boolean"}catch{return!1}}let go=typeof AbortController=="function";function bi(){if(go)return new AbortController}class hs{constructor(D={},Y={}){D===void 0?D=null:U(D,"First parameter");let re=Fe(Y,"Second parameter"),fe=Tr(D,"First parameter");if(Jl(this),fe.type!==void 0)throw new RangeError("Invalid type is specified");let Ie=Me(re),Ne=ve(re,1);rf(this,fe,Ne,Ie)}get locked(){if(!Eo(this))throw uA("locked");return lA(this)}abort(D=void 0){return Eo(this)?lA(this)?p(new TypeError("Cannot abort a stream that already has a writer")):ac(this,D):p(uA("abort"))}close(){return Eo(this)?lA(this)?p(new TypeError("Cannot close a stream that already has a writer")):Ji(this)?p(new TypeError("Cannot close an already-closing stream")):Xh(this):p(uA("close"))}getWriter(){if(!Eo(this))throw uA("getWriter");return Yl(this)}}Object.defineProperties(hs.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(hs.prototype,n.toStringTag,{value:"WritableStream",configurable:!0});function Yl(y){return new KA(y)}function Kh(y,D,Y,re,fe=1,Ie=()=>1){let Ne=Object.create(hs.prototype);Jl(Ne);let Ge=Object.create(Fs.prototype);return Zl(Ne,Ge,y,D,Y,re,fe,Ie),Ne}function Jl(y){y._state="writable",y._storedError=void 0,y._writer=void 0,y._writableStreamController=void 0,y._writeRequests=new E,y._inFlightWriteRequest=void 0,y._closeRequest=void 0,y._inFlightCloseRequest=void 0,y._pendingAbortRequest=void 0,y._backpressure=!1}function Eo(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_writableStreamController")?!1:y instanceof hs}function lA(y){return y._writer!==void 0}function ac(y,D){var Y;if(y._state==="closed"||y._state==="errored")return C(void 0);y._writableStreamController._abortReason=D,(Y=y._writableStreamController._abortController)===null||Y===void 0||Y.abort();let re=y._state;if(re==="closed"||re==="errored")return C(void 0);if(y._pendingAbortRequest!==void 0)return y._pendingAbortRequest._promise;let fe=!1;re==="erroring"&&(fe=!0,D=void 0);let Ie=b((Ne,Ge)=>{y._pendingAbortRequest={_promise:void 0,_resolve:Ne,_reject:Ge,_reason:D,_wasAlreadyErroring:fe}});return y._pendingAbortRequest._promise=Ie,fe||jl(y,D),Ie}function Xh(y){let D=y._state;if(D==="closed"||D==="errored")return p(new TypeError(`The stream (in ${D} state) is not in the writable state and cannot be closed`));let Y=b((fe,Ie)=>{let Ne={_resolve:fe,_reject:Ie};y._closeRequest=Ne}),re=y._writer;return re!==void 0&&y._backpressure&&D==="writable"&&ZA(re),nf(y._writableStreamController),Y}function $h(y){return b((D,Y)=>{let re={_resolve:D,_reject:Y};y._writeRequests.push(re)})}function Wl(y,D){if(y._state==="writable"){jl(y,D);return}zl(y)}function jl(y,D){let Y=y._writableStreamController;y._state="erroring",y._storedError=D;let re=y._writer;re!==void 0&&tf(re,D),!np(y)&&Y._started&&zl(y)}function zl(y){y._state="errored",y._writableStreamController[ge]();let D=y._storedError;if(y._writeRequests.forEach(fe=>{fe._reject(D)}),y._writeRequests=new E,y._pendingAbortRequest===void 0){Pt(y);return}let Y=y._pendingAbortRequest;if(y._pendingAbortRequest=void 0,Y._wasAlreadyErroring){Y._reject(D),Pt(y);return}let re=y._writableStreamController[ce](Y._reason);R(re,()=>{Y._resolve(),Pt(y)},fe=>{Y._reject(fe),Pt(y)})}function ep(y){y._inFlightWriteRequest._resolve(void 0),y._inFlightWriteRequest=void 0}function Kl(y,D){y._inFlightWriteRequest._reject(D),y._inFlightWriteRequest=void 0,Wl(y,D)}function tp(y){y._inFlightCloseRequest._resolve(void 0),y._inFlightCloseRequest=void 0,y._state==="erroring"&&(y._storedError=void 0,y._pendingAbortRequest!==void 0&&(y._pendingAbortRequest._resolve(),y._pendingAbortRequest=void 0)),y._state="closed";let D=y._writer;D!==void 0&&ru(D)}function rp(y,D){y._inFlightCloseRequest._reject(D),y._inFlightCloseRequest=void 0,y._pendingAbortRequest!==void 0&&(y._pendingAbortRequest._reject(D),y._pendingAbortRequest=void 0),Wl(y,D)}function Ji(y){return!(y._closeRequest===void 0&&y._inFlightCloseRequest===void 0)}function np(y){return!(y._inFlightWriteRequest===void 0&&y._inFlightCloseRequest===void 0)}function ip(y){y._inFlightCloseRequest=y._closeRequest,y._closeRequest=void 0}function sr(y){y._inFlightWriteRequest=y._writeRequests.shift()}function Pt(y){y._closeRequest!==void 0&&(y._closeRequest._reject(y._storedError),y._closeRequest=void 0);let D=y._writer;D!==void 0&&tu(D,y._storedError)}function Xl(y,D){let Y=y._writer;Y!==void 0&&D!==y._backpressure&&(D?af(Y):ZA(Y)),y._backpressure=D}class KA{constructor(D){if(X(D,1,"WritableStreamDefaultWriter"),cn(D,"First parameter"),lA(D))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=D,D._writer=this;let Y=D._state;if(Y==="writable")!Ji(D)&&D._backpressure?Io(this):Af(this),uc(this);else if(Y==="erroring")Us(this,D._storedError),uc(this);else if(Y==="closed")Af(this),ap(this);else{let re=D._storedError;Us(this,re),hc(this,re)}}get closed(){return po(this)?this._closedPromise:p(kn("closed"))}get desiredSize(){if(!po(this))throw kn("desiredSize");if(this._ownerWritableStream===void 0)throw Co("desiredSize");return Xr(this)}get ready(){return po(this)?this._readyPromise:p(kn("ready"))}abort(D=void 0){return po(this)?this._ownerWritableStream===void 0?p(Co("abort")):sp(this,D):p(kn("abort"))}close(){if(!po(this))return p(kn("close"));let D=this._ownerWritableStream;return D===void 0?p(Co("close")):Ji(D)?p(new TypeError("Cannot close an already-closing stream")):Zh(this)}releaseLock(){if(!po(this))throw kn("releaseLock");this._ownerWritableStream!==void 0&&cc(this)}write(D=void 0){return po(this)?this._ownerWritableStream===void 0?p(Co("write to")):Ls(this,D):p(kn("write"))}}Object.defineProperties(KA.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(KA.prototype,n.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function po(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_ownerWritableStream")?!1:y instanceof KA}function sp(y,D){let Y=y._ownerWritableStream;return ac(Y,D)}function Zh(y){let D=y._ownerWritableStream;return Xh(D)}function op(y){let D=y._ownerWritableStream,Y=D._state;return Ji(D)||Y==="closed"?C(void 0):Y==="errored"?p(D._storedError):Zh(y)}function ef(y,D){y._closedPromiseState==="pending"?tu(y,D):cp(y,D)}function tf(y,D){y._readyPromiseState==="pending"?nu(y,D):iu(y,D)}function Xr(y){let D=y._ownerWritableStream,Y=D._state;return Y==="errored"||Y==="erroring"?null:Y==="closed"?0:eu(D._writableStreamController)}function cc(y){let D=y._ownerWritableStream,Y=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");tf(y,Y),ef(y,Y),D._writer=void 0,y._ownerWritableStream=void 0}function Ls(y,D){let Y=y._ownerWritableStream,re=Y._writableStreamController,fe=sf(re,D);if(Y!==y._ownerWritableStream)return p(Co("write to"));let Ie=Y._state;if(Ie==="errored")return p(Y._storedError);if(Ji(Y)||Ie==="closed")return p(new TypeError("The stream is closing or closed and cannot be written to"));if(Ie==="erroring")return p(Y._storedError);let Ne=$h(Y);return Vn(re,D,fe),Ne}let $l={};class Fs{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Rn(this))throw rr("abortReason");return this._abortReason}get signal(){if(!Rn(this))throw rr("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(D=void 0){if(!Rn(this))throw rr("error");this._controlledWritableStream._state==="writable"&&$A(this,D)}[ce](D){let Y=this._abortAlgorithm(D);return XA(this),Y}[ge](){Sn(this)}}Object.defineProperties(Fs.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Fs.prototype,n.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function Rn(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledWritableStream")?!1:y instanceof Fs}function Zl(y,D,Y,re,fe,Ie,Ne,Ge){D._controlledWritableStream=y,y._writableStreamController=D,D._queue=void 0,D._queueTotalSize=void 0,Sn(D),D._abortReason=void 0,D._abortController=bi(),D._started=!1,D._strategySizeAlgorithm=Ge,D._strategyHWM=Ne,D._writeAlgorithm=re,D._closeAlgorithm=fe,D._abortAlgorithm=Ie;let ft=Wi(D);Xl(y,ft);let Ct=Y(),mt=C(Ct);R(mt,()=>{D._started=!0,lc(D)},vt=>{D._started=!0,Wl(y,vt)})}function rf(y,D,Y,re){let fe=Object.create(Fs.prototype),Ie=()=>{},Ne=()=>C(void 0),Ge=()=>C(void 0),ft=()=>C(void 0);D.start!==void 0&&(Ie=()=>D.start(fe)),D.write!==void 0&&(Ne=Ct=>D.write(Ct,fe)),D.close!==void 0&&(Ge=()=>D.close()),D.abort!==void 0&&(ft=Ct=>D.abort(Ct)),Zl(y,fe,Ie,Ne,Ge,ft,Y,re)}function XA(y){y._writeAlgorithm=void 0,y._closeAlgorithm=void 0,y._abortAlgorithm=void 0,y._strategySizeAlgorithm=void 0}function nf(y){Qi(y,$l,0),lc(y)}function sf(y,D){try{return y._strategySizeAlgorithm(D)}catch(Y){return _n(y,Y),1}}function eu(y){return y._strategyHWM-y._queueTotalSize}function Vn(y,D,Y){try{Qi(y,D,Y)}catch(fe){_n(y,fe);return}let re=y._controlledWritableStream;if(!Ji(re)&&re._state==="writable"){let fe=Wi(y);Xl(re,fe)}lc(y)}function lc(y){let D=y._controlledWritableStream;if(!y._started||D._inFlightWriteRequest!==void 0)return;if(D._state==="erroring"){zl(D);return}if(y._queue.length===0)return;let Y=Ns(y);Y===$l?Ap(y):of(y,Y)}function _n(y,D){y._controlledWritableStream._state==="writable"&&$A(y,D)}function Ap(y){let D=y._controlledWritableStream;ip(D),qn(y);let Y=y._closeAlgorithm();XA(y),R(Y,()=>{tp(D)},re=>{rp(D,re)})}function of(y,D){let Y=y._controlledWritableStream;sr(Y);let re=y._writeAlgorithm(D);R(re,()=>{ep(Y);let fe=Y._state;if(qn(y),!Ji(Y)&&fe==="writable"){let Ie=Wi(y);Xl(Y,Ie)}lc(y)},fe=>{Y._state==="writable"&&XA(y),Kl(Y,fe)})}function Wi(y){return eu(y)<=0}function $A(y,D){let Y=y._controlledWritableStream;XA(y),jl(Y,D)}function uA(y){return new TypeError(`WritableStream.prototype.${y} can only be used on a WritableStream`)}function rr(y){return new TypeError(`WritableStreamDefaultController.prototype.${y} can only be used on a WritableStreamDefaultController`)}function kn(y){return new TypeError(`WritableStreamDefaultWriter.prototype.${y} can only be used on a WritableStreamDefaultWriter`)}function Co(y){return new TypeError("Cannot "+y+" a stream using a released writer")}function uc(y){y._closedPromise=b((D,Y)=>{y._closedPromise_resolve=D,y._closedPromise_reject=Y,y._closedPromiseState="pending"})}function hc(y,D){uc(y),tu(y,D)}function ap(y){uc(y),ru(y)}function tu(y,D){y._closedPromise_reject!==void 0&&(m(y._closedPromise),y._closedPromise_reject(D),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0,y._closedPromiseState="rejected")}function cp(y,D){hc(y,D)}function ru(y){y._closedPromise_resolve!==void 0&&(y._closedPromise_resolve(void 0),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0,y._closedPromiseState="resolved")}function Io(y){y._readyPromise=b((D,Y)=>{y._readyPromise_resolve=D,y._readyPromise_reject=Y}),y._readyPromiseState="pending"}function Us(y,D){Io(y),nu(y,D)}function Af(y){Io(y),ZA(y)}function nu(y,D){y._readyPromise_reject!==void 0&&(m(y._readyPromise),y._readyPromise_reject(D),y._readyPromise_resolve=void 0,y._readyPromise_reject=void 0,y._readyPromiseState="rejected")}function af(y){Io(y)}function iu(y,D){Us(y,D)}function ZA(y){y._readyPromise_resolve!==void 0&&(y._readyPromise_resolve(void 0),y._readyPromise_resolve=void 0,y._readyPromise_reject=void 0,y._readyPromiseState="fulfilled")}let su=typeof DOMException<"u"?DOMException:void 0;function lp(y){if(!(typeof y=="function"||typeof y=="object"))return!1;try{return new y,!0}catch{return!1}}function ou(){let y=function(D,Y){this.message=D||"",this.name=Y||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return y.prototype=Object.create(Error.prototype),Object.defineProperty(y.prototype,"constructor",{value:y,writable:!0,configurable:!0}),y}let Au=lp(su)?su:ou();function cf(y,D,Y,re,fe,Ie){let Ne=Oe(y),Ge=Yl(D);y._disturbed=!0;let ft=!1,Ct=C(void 0);return b((mt,vt)=>{let or;if(Ie!==void 0){if(or=()=>{let We=new Au("Aborted","AbortError"),It=[];re||It.push(()=>D._state==="writable"?ac(D,We):C(void 0)),fe||It.push(()=>y._state==="readable"?ze(y,We):C(void 0)),Hn(()=>Promise.all(It.map(Tt=>Tt())),!0,We)},Ie.aborted){or();return}Ie.addEventListener("abort",or)}function En(){return b((We,It)=>{function Tt(pn){pn?We():Q(zi(),Tt,It)}Tt(!1)})}function zi(){return ft?C(!0):Q(Ge._readyPromise,()=>b((We,It)=>{Yt(Ne,{_chunkSteps:Tt=>{Ct=Q(Ls(Ge,Tt),void 0,i),We(!1)},_closeSteps:()=>We(!0),_errorSteps:It})}))}if(Dn(y,Ne._closedPromise,We=>{re?oi(!0,We):Hn(()=>ac(D,We),!0,We)}),Dn(D,Ge._closedPromise,We=>{fe?oi(!0,We):Hn(()=>ze(y,We),!0,We)}),tn(y,Ne._closedPromise,()=>{Y?oi():Hn(()=>op(Ge))}),Ji(D)||D._state==="closed"){let We=new TypeError("the destination writable stream closed before all data could be piped to it");fe?oi(!0,We):Hn(()=>ze(y,We),!0,We)}m(En());function Si(){let We=Ct;return Q(Ct,()=>We!==Ct?Si():void 0)}function Dn(We,It,Tt){We._state==="errored"?Tt(We._storedError):d(It,Tt)}function tn(We,It,Tt){We._state==="closed"?Tt():_(It,Tt)}function Hn(We,It,Tt){if(ft)return;ft=!0,D._state==="writable"&&!Ji(D)?_(Si(),pn):pn();function pn(){R(We(),()=>So(It,Tt),K=>So(!0,K))}}function oi(We,It){ft||(ft=!0,D._state==="writable"&&!Ji(D)?_(Si(),()=>So(We,It)):So(We,It))}function So(We,It){cc(Ge),V(Ne),Ie!==void 0&&Ie.removeEventListener("abort",or),We?vt(It):mt(void 0)}})}class Bo{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!ln(this))throw gc("desiredSize");return au(this)}close(){if(!ln(this))throw gc("close");if(!gA(this))throw new TypeError("The stream is not in a state that permits close");fA(this)}enqueue(D=void 0){if(!ln(this))throw gc("enqueue");if(!gA(this))throw new TypeError("The stream is not in a state that permits enqueue");return fc(this,D)}error(D=void 0){if(!ln(this))throw gc("error");xs(this,D)}[Ee](D){Sn(this);let Y=this._cancelAlgorithm(D);return ea(this),Y}[we](D){let Y=this._controlledReadableStream;if(this._queue.length>0){let re=qn(this);this._closeRequested&&this._queue.length===0?(ea(this),bt(Y)):yo(this),D._chunkSteps(re)}else Ve(Y,D),yo(this)}}Object.defineProperties(Bo.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Bo.prototype,n.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function ln(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledReadableStream")?!1:y instanceof Bo}function yo(y){if(!hA(y))return;if(y._pulling){y._pullAgain=!0;return}y._pulling=!0;let D=y._pullAlgorithm();R(D,()=>{y._pulling=!1,y._pullAgain&&(y._pullAgain=!1,yo(y))},Y=>{xs(y,Y)})}function hA(y){let D=y._controlledReadableStream;return!gA(y)||!y._started?!1:!!(Pe(D)&&Ue(D)>0||au(y)>0)}function ea(y){y._pullAlgorithm=void 0,y._cancelAlgorithm=void 0,y._strategySizeAlgorithm=void 0}function fA(y){if(!gA(y))return;let D=y._controlledReadableStream;y._closeRequested=!0,y._queue.length===0&&(ea(y),bt(D))}function fc(y,D){if(!gA(y))return;let Y=y._controlledReadableStream;if(Pe(Y)&&Ue(Y)>0)pe(Y,D,!1);else{let re;try{re=y._strategySizeAlgorithm(D)}catch(fe){throw xs(y,fe),fe}try{Qi(y,D,re)}catch(fe){throw xs(y,fe),fe}}yo(y)}function xs(y,D){let Y=y._controlledReadableStream;Y._state==="readable"&&(Sn(y),ea(y),Or(Y,D))}function au(y){let D=y._controlledReadableStream._state;return D==="errored"?null:D==="closed"?0:y._strategyHWM-y._queueTotalSize}function up(y){return!hA(y)}function gA(y){let D=y._controlledReadableStream._state;return!y._closeRequested&&D==="readable"}function Qo(y,D,Y,re,fe,Ie,Ne){D._controlledReadableStream=y,D._queue=void 0,D._queueTotalSize=void 0,Sn(D),D._started=!1,D._closeRequested=!1,D._pullAgain=!1,D._pulling=!1,D._strategySizeAlgorithm=Ne,D._strategyHWM=Ie,D._pullAlgorithm=re,D._cancelAlgorithm=fe,y._readableStreamController=D;let Ge=Y();R(C(Ge),()=>{D._started=!0,yo(D)},ft=>{xs(D,ft)})}function hp(y,D,Y,re){let fe=Object.create(Bo.prototype),Ie=()=>{},Ne=()=>C(void 0),Ge=()=>C(void 0);D.start!==void 0&&(Ie=()=>D.start(fe)),D.pull!==void 0&&(Ne=()=>D.pull(fe)),D.cancel!==void 0&&(Ge=ft=>D.cancel(ft)),Qo(y,fe,Ie,Ne,Ge,Y,re)}function gc(y){return new TypeError(`ReadableStreamDefaultController.prototype.${y} can only be used on a ReadableStreamDefaultController`)}function cu(y,D){return er(y._readableStreamController)?Ms(y):lf(y)}function lf(y,D){let Y=Oe(y),re=!1,fe=!1,Ie=!1,Ne=!1,Ge,ft,Ct,mt,vt,or=b(tn=>{vt=tn});function En(){return re?(fe=!0,C(void 0)):(re=!0,Yt(Y,{_chunkSteps:tn=>{T(()=>{fe=!1;let Hn=tn,oi=tn;Ie||fc(Ct._readableStreamController,Hn),Ne||fc(mt._readableStreamController,oi),re=!1,fe&&En()})},_closeSteps:()=>{re=!1,Ie||fA(Ct._readableStreamController),Ne||fA(mt._readableStreamController),(!Ie||!Ne)&&vt(void 0)},_errorSteps:()=>{re=!1}}),C(void 0))}function zi(tn){if(Ie=!0,Ge=tn,Ne){let Hn=dr([Ge,ft]),oi=ze(y,Hn);vt(oi)}return or}function Si(tn){if(Ne=!0,ft=tn,Ie){let Hn=dr([Ge,ft]),oi=ze(y,Hn);vt(oi)}return or}function Dn(){}return Ct=ji(Dn,En,zi),mt=ji(Dn,En,Si),d(Y._closedPromise,tn=>{xs(Ct._readableStreamController,tn),xs(mt._readableStreamController,tn),(!Ie||!Ne)&&vt(void 0)}),[Ct,mt]}function Ms(y){let D=Oe(y),Y=!1,re=!1,fe=!1,Ie=!1,Ne=!1,Ge,ft,Ct,mt,vt,or=b(We=>{vt=We});function En(We){d(We._closedPromise,It=>{We===D&&(An(Ct._readableStreamController,It),An(mt._readableStreamController,It),(!Ie||!Ne)&&vt(void 0))})}function zi(){Z(D)&&(V(D),D=Oe(y),En(D)),Yt(D,{_chunkSteps:We=>{T(()=>{re=!1,fe=!1;let It=We,Tt=We;if(!Ie&&!Ne)try{Tt=Pn(We)}catch(pn){An(Ct._readableStreamController,pn),An(mt._readableStreamController,pn),vt(ze(y,pn));return}Ie||mi(Ct._readableStreamController,It),Ne||mi(mt._readableStreamController,Tt),Y=!1,re?Dn():fe&&tn()})},_closeSteps:()=>{Y=!1,Ie||ho(Ct._readableStreamController),Ne||ho(mt._readableStreamController),Ct._readableStreamController._pendingPullIntos.length>0&&AA(Ct._readableStreamController,0),mt._readableStreamController._pendingPullIntos.length>0&&AA(mt._readableStreamController,0),(!Ie||!Ne)&&vt(void 0)},_errorSteps:()=>{Y=!1}})}function Si(We,It){je(D)&&(V(D),D=oc(y),En(D));let Tt=It?mt:Ct,pn=It?Ct:mt;le(D,We,{_chunkSteps:K=>{T(()=>{re=!1,fe=!1;let Ri=It?Ne:Ie;if(It?Ie:Ne)Ri||aA(Tt._readableStreamController,K);else{let fs;try{fs=Pn(K)}catch(Nn){An(Tt._readableStreamController,Nn),An(pn._readableStreamController,Nn),vt(ze(y,Nn));return}Ri||aA(Tt._readableStreamController,K),mi(pn._readableStreamController,fs)}Y=!1,re?Dn():fe&&tn()})},_closeSteps:K=>{Y=!1;let Ri=It?Ne:Ie,fs=It?Ie:Ne;Ri||ho(Tt._readableStreamController),fs||ho(pn._readableStreamController),K!==void 0&&(Ri||aA(Tt._readableStreamController,K),!fs&&pn._readableStreamController._pendingPullIntos.length>0&&AA(pn._readableStreamController,0)),(!Ri||!fs)&&vt(void 0)},_errorSteps:()=>{Y=!1}})}function Dn(){if(Y)return re=!0,C(void 0);Y=!0;let We=jA(Ct._readableStreamController);return We===null?zi():Si(We._view,!1),C(void 0)}function tn(){if(Y)return fe=!0,C(void 0);Y=!0;let We=jA(mt._readableStreamController);return We===null?zi():Si(We._view,!0),C(void 0)}function Hn(We){if(Ie=!0,Ge=We,Ne){let It=dr([Ge,ft]),Tt=ze(y,It);vt(Tt)}return or}function oi(We){if(Ne=!0,ft=We,Ie){let It=dr([Ge,ft]),Tt=ze(y,It);vt(Tt)}return or}function So(){}return Ct=ue(So,Dn,Hn),mt=ue(So,tn,oi),En(D),[Ct,mt]}function dc(y,D){Se(y,D);let Y=y,re=Y?.autoAllocateChunkSize,fe=Y?.cancel,Ie=Y?.pull,Ne=Y?.start,Ge=Y?.type;return{autoAllocateChunkSize:re===void 0?void 0:te(re,`${D} has member 'autoAllocateChunkSize' that`),cancel:fe===void 0?void 0:fp(fe,Y,`${D} has member 'cancel' that`),pull:Ie===void 0?void 0:gp(Ie,Y,`${D} has member 'pull' that`),start:Ne===void 0?void 0:dp(Ne,Y,`${D} has member 'start' that`),type:Ge===void 0?void 0:dA(Ge,`${D} has member 'type' that`)}}function fp(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function gp(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function dp(y,D,Y){return lt(y,Y),re=>L(y,D,[re])}function dA(y,D){if(y=`${y}`,y!=="bytes")throw new TypeError(`${D} '${y}' is not a valid enumeration value for ReadableStreamType`);return y}function wi(y,D){Se(y,D);let Y=y?.mode;return{mode:Y===void 0?void 0:uf(Y,`${D} has member 'mode' that`)}}function uf(y,D){if(y=`${y}`,y!=="byob")throw new TypeError(`${D} '${y}' is not a valid enumeration value for ReadableStreamReaderMode`);return y}function Ep(y,D){return Se(y,D),{preventCancel:!!y?.preventCancel}}function hf(y,D){Se(y,D);let Y=y?.preventAbort,re=y?.preventCancel,fe=y?.preventClose,Ie=y?.signal;return Ie!==void 0&&pp(Ie,`${D} has member 'signal' that`),{preventAbort:!!Y,preventCancel:!!re,preventClose:!!fe,signal:Ie}}function pp(y,D){if(!Kr(y))throw new TypeError(`${D} is not an AbortSignal.`)}function Cp(y,D){Se(y,D);let Y=y?.readable;z(Y,"readable","ReadableWritablePair"),me(Y,`${D} has member 'readable' that`);let re=y?.writable;return z(re,"writable","ReadableWritablePair"),cn(re,`${D} has member 'writable' that`),{readable:Y,writable:re}}class Os{constructor(D={},Y={}){D===void 0?D=null:U(D,"First parameter");let re=Fe(Y,"Second parameter"),fe=dc(D,"First parameter");if(Ce(this),fe.type==="bytes"){if(re.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let Ie=ve(re,0);ic(this,fe,Ie)}else{let Ie=Me(re),Ne=ve(re,1);hp(this,fe,Ne,Ie)}}get locked(){if(!de(this))throw _t("locked");return Pe(this)}cancel(D=void 0){return de(this)?Pe(this)?p(new TypeError("Cannot cancel a stream that already has a reader")):ze(this,D):p(_t("cancel"))}getReader(D=void 0){if(!de(this))throw _t("getReader");return wi(D,"First parameter").mode===void 0?Oe(this):oc(this)}pipeThrough(D,Y={}){if(!de(this))throw _t("pipeThrough");X(D,1,"pipeThrough");let re=Cp(D,"First parameter"),fe=hf(Y,"Second parameter");if(Pe(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(lA(re.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let Ie=cf(this,re.writable,fe.preventClose,fe.preventAbort,fe.preventCancel,fe.signal);return m(Ie),re.readable}pipeTo(D,Y={}){if(!de(this))return p(_t("pipeTo"));if(D===void 0)return p("Parameter 1 is required in 'pipeTo'.");if(!Eo(D))return p(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let re;try{re=hf(Y,"Second parameter")}catch(fe){return p(fe)}return Pe(this)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):lA(D)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):cf(this,D,re.preventClose,re.preventAbort,re.preventCancel,re.signal)}tee(){if(!de(this))throw _t("tee");let D=cu(this);return dr(D)}values(D=void 0){if(!de(this))throw _t("values");let Y=Ep(D,"First parameter");return Kt(this,Y.preventCancel)}}Object.defineProperties(Os.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Os.prototype,n.toStringTag,{value:"ReadableStream",configurable:!0}),typeof n.asyncIterator=="symbol"&&Object.defineProperty(Os.prototype,n.asyncIterator,{value:Os.prototype.values,writable:!0,configurable:!0});function ji(y,D,Y,re=1,fe=()=>1){let Ie=Object.create(Os.prototype);Ce(Ie);let Ne=Object.create(Bo.prototype);return Qo(Ie,Ne,y,D,Y,re,fe),Ie}function ue(y,D,Y){let re=Object.create(Os.prototype);Ce(re);let fe=Object.create(Zt.prototype);return nc(re,fe,y,D,Y,0,void 0),re}function Ce(y){y._state="readable",y._reader=void 0,y._storedError=void 0,y._disturbed=!1}function de(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_readableStreamController")?!1:y instanceof Os}function Pe(y){return y._reader!==void 0}function ze(y,D){if(y._disturbed=!0,y._state==="closed")return C(void 0);if(y._state==="errored")return p(y._storedError);bt(y);let Y=y._reader;Y!==void 0&&Z(Y)&&(Y._readIntoRequests.forEach(fe=>{fe._closeSteps(void 0)}),Y._readIntoRequests=new E);let re=y._readableStreamController[Ee](D);return S(re,i)}function bt(y){y._state="closed";let D=y._reader;D!==void 0&&(se(D),je(D)&&(D._readRequests.forEach(Y=>{Y._closeSteps()}),D._readRequests=new E))}function Or(y,D){y._state="errored",y._storedError=D;let Y=y._reader;Y!==void 0&&(P(Y,D),je(Y)?(Y._readRequests.forEach(re=>{re._errorSteps(D)}),Y._readRequests=new E):(Y._readIntoRequests.forEach(re=>{re._errorSteps(D)}),Y._readIntoRequests=new E))}function _t(y){return new TypeError(`ReadableStream.prototype.${y} can only be used on a ReadableStream`)}function Ec(y,D){Se(y,D);let Y=y?.highWaterMark;return z(Y,"highWaterMark","QueuingStrategyInit"),{highWaterMark:k(Y)}}let ff=y=>y.byteLength;try{Object.defineProperty(ff,"name",{value:"size",configurable:!0})}catch{}class dn{constructor(D){X(D,1,"ByteLengthQueuingStrategy"),D=Ec(D,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=D.highWaterMark}get highWaterMark(){if(!gf(this))throw ta("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!gf(this))throw ta("size");return ff}}Object.defineProperties(dn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(dn.prototype,n.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function ta(y){return new TypeError(`ByteLengthQueuingStrategy.prototype.${y} can only be used on a ByteLengthQueuingStrategy`)}function gf(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_byteLengthQueuingStrategyHighWaterMark")?!1:y instanceof dn}let mo=()=>1;try{Object.defineProperty(mo,"name",{value:"size",configurable:!0})}catch{}class bo{constructor(D){X(D,1,"CountQueuingStrategy"),D=Ec(D,"First parameter"),this._countQueuingStrategyHighWaterMark=D.highWaterMark}get highWaterMark(){if(!Ft(this))throw ra("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Ft(this))throw ra("size");return mo}}Object.defineProperties(bo.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(bo.prototype,n.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function ra(y){return new TypeError(`CountQueuingStrategy.prototype.${y} can only be used on a CountQueuingStrategy`)}function Ft(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_countQueuingStrategyHighWaterMark")?!1:y instanceof bo}function Ip(y,D){Se(y,D);let Y=y?.flush,re=y?.readableType,fe=y?.start,Ie=y?.transform,Ne=y?.writableType;return{flush:Y===void 0?void 0:df(Y,y,`${D} has member 'flush' that`),readableType:re,start:fe===void 0?void 0:pc(fe,y,`${D} has member 'start' that`),transform:Ie===void 0?void 0:Bp(Ie,y,`${D} has member 'transform' that`),writableType:Ne}}function df(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function pc(y,D,Y){return lt(y,Y),re=>L(y,D,[re])}function Bp(y,D,Y){return lt(y,Y),(re,fe)=>v(y,D,[re,fe])}class Cc{constructor(D={},Y={},re={}){D===void 0&&(D=null);let fe=Fe(Y,"Second parameter"),Ie=Fe(re,"Third parameter"),Ne=Ip(D,"First parameter");if(Ne.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(Ne.writableType!==void 0)throw new RangeError("Invalid writableType specified");let Ge=ve(Ie,0),ft=Me(Ie),Ct=ve(fe,1),mt=Me(fe),vt,or=b(En=>{vt=En});yp(this,or,Ct,mt,Ge,ft),Ic(this,Ne),Ne.start!==void 0?vt(Ne.start(this._transformStreamController)):vt(void 0)}get readable(){if(!na(this))throw pf("readable");return this._readable}get writable(){if(!na(this))throw pf("writable");return this._writable}}Object.defineProperties(Cc.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Cc.prototype,n.toStringTag,{value:"TransformStream",configurable:!0});function yp(y,D,Y,re,fe,Ie){function Ne(){return D}function Ge(or){return mp(y,or)}function ft(or){return bp(y,or)}function Ct(){return Bc(y)}y._writable=Kh(Ne,Ge,Ct,ft,Y,re);function mt(){return yc(y)}function vt(or){return wo(y,or),C(void 0)}y._readable=ji(Ne,mt,vt,fe,Ie),y._backpressure=void 0,y._backpressureChangePromise=void 0,y._backpressureChangePromise_resolve=void 0,ia(y,!0),y._transformStreamController=void 0}function na(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_transformStreamController")?!1:y instanceof Cc}function vi(y,D){xs(y._readable._readableStreamController,D),wo(y,D)}function wo(y,D){lu(y._transformStreamController),_n(y._writable._writableStreamController,D),y._backpressure&&ia(y,!1)}function ia(y,D){y._backpressureChangePromise!==void 0&&y._backpressureChangePromise_resolve(),y._backpressureChangePromise=b(Y=>{y._backpressureChangePromise_resolve=Y}),y._backpressure=D}class Ps{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!sa(this))throw pA("desiredSize");let D=this._controlledTransformStream._readable._readableStreamController;return au(D)}enqueue(D=void 0){if(!sa(this))throw pA("enqueue");EA(this,D)}error(D=void 0){if(!sa(this))throw pA("error");vo(this,D)}terminate(){if(!sa(this))throw pA("terminate");Qp(this)}}Object.defineProperties(Ps.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Ps.prototype,n.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function sa(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledTransformStream")?!1:y instanceof Ps}function Ef(y,D,Y,re){D._controlledTransformStream=y,y._transformStreamController=D,D._transformAlgorithm=Y,D._flushAlgorithm=re}function Ic(y,D){let Y=Object.create(Ps.prototype),re=Ie=>{try{return EA(Y,Ie),C(void 0)}catch(Ne){return p(Ne)}},fe=()=>C(void 0);D.transform!==void 0&&(re=Ie=>D.transform(Ie,Y)),D.flush!==void 0&&(fe=()=>D.flush(Y)),Ef(y,Y,re,fe)}function lu(y){y._transformAlgorithm=void 0,y._flushAlgorithm=void 0}function EA(y,D){let Y=y._controlledTransformStream,re=Y._readable._readableStreamController;if(!gA(re))throw new TypeError("Readable side is not in a state that permits enqueue");try{fc(re,D)}catch(fe){throw wo(Y,fe),Y._readable._storedError}up(re)!==Y._backpressure&&ia(Y,!0)}function vo(y,D){vi(y._controlledTransformStream,D)}function oa(y,D){let Y=y._transformAlgorithm(D);return S(Y,void 0,re=>{throw vi(y._controlledTransformStream,re),re})}function Qp(y){let D=y._controlledTransformStream,Y=D._readable._readableStreamController;fA(Y);let re=new TypeError("TransformStream terminated");wo(D,re)}function mp(y,D){let Y=y._transformStreamController;if(y._backpressure){let re=y._backpressureChangePromise;return S(re,()=>{let fe=y._writable;if(fe._state==="erroring")throw fe._storedError;return oa(Y,D)})}return oa(Y,D)}function bp(y,D){return vi(y,D),C(void 0)}function Bc(y){let D=y._readable,Y=y._transformStreamController,re=Y._flushAlgorithm();return lu(Y),S(re,()=>{if(D._state==="errored")throw D._storedError;fA(D._readableStreamController)},fe=>{throw vi(y,fe),D._storedError})}function yc(y){return ia(y,!1),y._backpressureChangePromise}function pA(y){return new TypeError(`TransformStreamDefaultController.prototype.${y} can only be used on a TransformStreamDefaultController`)}function pf(y){return new TypeError(`TransformStream.prototype.${y} can only be used on a TransformStream`)}r.ByteLengthQueuingStrategy=dn,r.CountQueuingStrategy=bo,r.ReadableByteStreamController=Zt,r.ReadableStream=Os,r.ReadableStreamBYOBReader=j,r.ReadableStreamBYOBRequest=Yi,r.ReadableStreamDefaultController=Bo,r.ReadableStreamDefaultReader=ht,r.TransformStream=Cc,r.TransformStreamDefaultController=Ps,r.WritableStream=hs,r.WritableStreamDefaultController=Fs,r.WritableStreamDefaultWriter=KA,Object.defineProperty(r,"__esModule",{value:!0})})}),nX=nt(()=>{if(!globalThis.ReadableStream)try{let e=Tl("process"),{emitWarning:t}=e;try{e.emitWarning=()=>{},Object.assign(globalThis,Tl("stream/web")),e.emitWarning=t}catch(r){throw e.emitWarning=t,r}}catch{Object.assign(globalThis,rX())}try{let{Blob:e}=Tl("buffer");e&&!e.prototype.stream&&(e.prototype.stream=function(t){let r=0,n=this;return new ReadableStream({type:"bytes",async pull(i){let s=await n.slice(r,Math.min(n.size,r+65536)).arrayBuffer();r+=s.byteLength,i.enqueue(new Uint8Array(s)),r===n.size&&i.close()}})})}catch{}}),iX=nt(e=>{e.read=function(t,r,n,i,s){var a,c,l=s*8-i-1,A=(1<>1,h=-7,g=n?s-1:0,b=n?-1:1,C=t[r+g];for(g+=b,a=C&(1<<-h)-1,C>>=-h,h+=l;h>0;a=a*256+t[r+g],g+=b,h-=8);for(c=a&(1<<-h)-1,a>>=-h,h+=i;h>0;c=c*256+t[r+g],g+=b,h-=8);if(a===0)a=1-f;else{if(a===A)return c?NaN:(C?-1:1)*(1/0);c=c+Math.pow(2,i),a=a-f}return(C?-1:1)*c*Math.pow(2,a-i)},e.write=function(t,r,n,i,s,a){var c,l,A,f=a*8-s-1,h=(1<>1,b=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=i?0:a-1,p=i?1:-1,Q=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(l=isNaN(r)?1:0,c=h):(c=Math.floor(Math.log(r)/Math.LN2),r*(A=Math.pow(2,-c))<1&&(c--,A*=2),c+g>=1?r+=b/A:r+=b*Math.pow(2,1-g),r*A>=2&&(c++,A/=2),c+g>=h?(l=0,c=h):c+g>=1?(l=(r*A-1)*Math.pow(2,s),c=c+g):(l=r*Math.pow(2,g-1)*Math.pow(2,s),c=0));s>=8;t[n+C]=l&255,C+=p,l/=256,s-=8);for(c=c<0;t[n+C]=c&255,C+=p,c/=256,f-=8);t[n+C-p]|=Q*128}}),sX=nt((e,t)=>{"use strict";t.exports=n;var r=iX();function n(w){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(w)?w:new Uint8Array(w||0),this.pos=0,this.type=0,this.length=this.buf.length}n.Varint=0,n.Fixed64=1,n.Bytes=2,n.Fixed32=5;var i=65536*65536,s=1/i,a=12,c=typeof TextDecoder>"u"?null:new TextDecoder("utf8");n.prototype={destroy:function(){this.buf=null},readFields:function(w,N,F){for(F=F||this.length;this.pos>3,ee=this.pos;this.type=M&7,w(P,N,this),this.pos===ee&&this.skip(M)}return N},readMessage:function(w,N){return this.readFields(w,N,this.readVarint()+this.pos)},readFixed32:function(){var w=v(this.buf,this.pos);return this.pos+=4,w},readSFixed32:function(){var w=E(this.buf,this.pos);return this.pos+=4,w},readFixed64:function(){var w=v(this.buf,this.pos)+v(this.buf,this.pos+4)*i;return this.pos+=8,w},readSFixed64:function(){var w=v(this.buf,this.pos)+E(this.buf,this.pos+4)*i;return this.pos+=8,w},readFloat:function(){var w=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,w},readDouble:function(){var w=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,w},readVarint:function(w){var N=this.buf,F,M;return M=N[this.pos++],F=M&127,M<128||(M=N[this.pos++],F|=(M&127)<<7,M<128)||(M=N[this.pos++],F|=(M&127)<<14,M<128)||(M=N[this.pos++],F|=(M&127)<<21,M<128)?F:(M=N[this.pos],F|=(M&15)<<28,l(F,w,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var w=this.readVarint();return w%2===1?(w+1)/-2:w/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var w=this.readVarint()+this.pos,N=this.pos;return this.pos=w,w-N>=a&&c?q(this.buf,N,w):O(this.buf,N,w)},readBytes:function(){var w=this.readVarint()+this.pos,N=this.buf.subarray(this.pos,w);return this.pos=w,N},readPackedVarint:function(w,N){if(this.type!==n.Bytes)return w.push(this.readVarint(N));var F=A(this);for(w=w||[];this.pos127;);else if(N===n.Bytes)this.pos=this.readVarint()+this.pos;else if(N===n.Fixed32)this.pos+=4;else if(N===n.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+N)},writeTag:function(w,N){this.writeVarint(w<<3|N)},realloc:function(w){for(var N=this.length||16;N268435455||w<0){h(w,this);return}this.realloc(4),this.buf[this.pos++]=w&127|(w>127?128:0),!(w<=127)&&(this.buf[this.pos++]=(w>>>=7)&127|(w>127?128:0),!(w<=127)&&(this.buf[this.pos++]=(w>>>=7)&127|(w>127?128:0),!(w<=127)&&(this.buf[this.pos++]=w>>>7&127)))},writeSVarint:function(w){this.writeVarint(w<0?-w*2-1:w*2)},writeBoolean:function(w){this.writeVarint(!!w)},writeString:function(w){w=String(w),this.realloc(w.length*4),this.pos++;var N=this.pos;this.pos=V(this.buf,w,this.pos);var F=this.pos-N;F>=128&&C(N,F,this),this.pos=N-1,this.writeVarint(F),this.pos+=F},writeFloat:function(w){this.realloc(4),r.write(this.buf,w,this.pos,!0,23,4),this.pos+=4},writeDouble:function(w){this.realloc(8),r.write(this.buf,w,this.pos,!0,52,8),this.pos+=8},writeBytes:function(w){var N=w.length;this.writeVarint(N),this.realloc(N);for(var F=0;F=128&&C(F,M,this),this.pos=F-1,this.writeVarint(M),this.pos+=M},writeMessage:function(w,N,F){this.writeTag(w,n.Bytes),this.writeRawMessage(N,F)},writePackedVarint:function(w,N){N.length&&this.writeMessage(w,p,N)},writePackedSVarint:function(w,N){N.length&&this.writeMessage(w,Q,N)},writePackedBoolean:function(w,N){N.length&&this.writeMessage(w,d,N)},writePackedFloat:function(w,N){N.length&&this.writeMessage(w,R,N)},writePackedDouble:function(w,N){N.length&&this.writeMessage(w,_,N)},writePackedFixed32:function(w,N){N.length&&this.writeMessage(w,S,N)},writePackedSFixed32:function(w,N){N.length&&this.writeMessage(w,m,N)},writePackedFixed64:function(w,N){N.length&&this.writeMessage(w,T,N)},writePackedSFixed64:function(w,N){N.length&&this.writeMessage(w,L,N)},writeBytesField:function(w,N){this.writeTag(w,n.Bytes),this.writeBytes(N)},writeFixed32Field:function(w,N){this.writeTag(w,n.Fixed32),this.writeFixed32(N)},writeSFixed32Field:function(w,N){this.writeTag(w,n.Fixed32),this.writeSFixed32(N)},writeFixed64Field:function(w,N){this.writeTag(w,n.Fixed64),this.writeFixed64(N)},writeSFixed64Field:function(w,N){this.writeTag(w,n.Fixed64),this.writeSFixed64(N)},writeVarintField:function(w,N){this.writeTag(w,n.Varint),this.writeVarint(N)},writeSVarintField:function(w,N){this.writeTag(w,n.Varint),this.writeSVarint(N)},writeStringField:function(w,N){this.writeTag(w,n.Bytes),this.writeString(N)},writeFloatField:function(w,N){this.writeTag(w,n.Fixed32),this.writeFloat(N)},writeDoubleField:function(w,N){this.writeTag(w,n.Fixed64),this.writeDouble(N)},writeBooleanField:function(w,N){this.writeVarintField(w,!!N)}};function l(w,N,F){var M=F.buf,P,ee;if(ee=M[F.pos++],P=(ee&112)>>4,ee<128||(ee=M[F.pos++],P|=(ee&127)<<3,ee<128)||(ee=M[F.pos++],P|=(ee&127)<<10,ee<128)||(ee=M[F.pos++],P|=(ee&127)<<17,ee<128)||(ee=M[F.pos++],P|=(ee&127)<<24,ee<128)||(ee=M[F.pos++],P|=(ee&1)<<31,ee<128))return f(w,P,N);throw new Error("Expected varint not more than 10 bytes")}function A(w){return w.type===n.Bytes?w.readVarint()+w.pos:w.pos+1}function f(w,N,F){return F?N*4294967296+(w>>>0):(N>>>0)*4294967296+(w>>>0)}function h(w,N){var F,M;if(w>=0?(F=w%4294967296|0,M=w/4294967296|0):(F=~(-w%4294967296),M=~(-w/4294967296),F^4294967295?F=F+1|0:(F=0,M=M+1|0)),w>=18446744073709552e3||w<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");N.realloc(10),g(F,M,N),b(M,N)}function g(w,N,F){F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos]=w&127}function b(w,N){var F=(w&7)<<4;N.buf[N.pos++]|=F|((w>>>=3)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127)))))}function C(w,N,F){var M=N<=16383?1:N<=2097151?2:N<=268435455?3:Math.floor(Math.log(N)/(Math.LN2*7));F.realloc(M);for(var P=F.pos-1;P>=w;P--)F.buf[P+M]=F.buf[P]}function p(w,N){for(var F=0;F>>8,w[F+2]=N>>>16,w[F+3]=N>>>24}function E(w,N){return(w[N]|w[N+1]<<8|w[N+2]<<16)+(w[N+3]<<24)}function O(w,N,F){for(var M="",P=N;P239?4:ee>223?3:ee>191?2:1;if(P+ce>F)break;var ge,Ee,we;ce===1?ee<128&&(se=ee):ce===2?(ge=w[P+1],(ge&192)===128&&(se=(ee&31)<<6|ge&63,se<=127&&(se=null))):ce===3?(ge=w[P+1],Ee=w[P+2],(ge&192)===128&&(Ee&192)===128&&(se=(ee&15)<<12|(ge&63)<<6|Ee&63,(se<=2047||se>=55296&&se<=57343)&&(se=null))):ce===4&&(ge=w[P+1],Ee=w[P+2],we=w[P+3],(ge&192)===128&&(Ee&192)===128&&(we&192)===128&&(se=(ee&15)<<18|(ge&63)<<12|(Ee&63)<<6|we&63,(se<=65535||se>=1114112)&&(se=null))),se===null?(se=65533,ce=1):se>65535&&(se-=65536,M+=String.fromCharCode(se>>>10&1023|55296),se=56320|se&1023),M+=String.fromCharCode(se),P+=ce}return M}function q(w,N,F){return c.decode(w.subarray(N,F))}function V(w,N,F){for(var M=0,P,ee;M55295&&P<57344)if(ee)if(P<56320){w[F++]=239,w[F++]=191,w[F++]=189,ee=P;continue}else P=ee-55296<<10|P-56320|65536,ee=null;else{P>56319||M+1===N.length?(w[F++]=239,w[F++]=191,w[F++]=189):ee=P;continue}else ee&&(w[F++]=239,w[F++]=191,w[F++]=189,ee=null);P<128?w[F++]=P:(P<2048?w[F++]=P>>6|192:(P<65536?w[F++]=P>>12|224:(w[F++]=P>>18|240,w[F++]=P>>12&63|128),w[F++]=P>>6&63|128),w[F++]=P&63|128)}return F}}),oX=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(c){var l=c+48;return l+=9-c>>>8&-48+65-10,String.fromCharCode(l)}function r(c){var l=c+48;return l+=9-c>>>8&-48+97-10,String.fromCharCode(l)}var n=256;function i(c){var l=n;return l+=(47-c&c-58)>>8&-n+c-48,l+=(64-c&c-71)>>8&-n+c-65+10,l+=(96-c&c-103)>>8&-n+c-97+10,l}function s(c,l){l===void 0&&(l=!1);for(var A=l?r:t,f="",h=0;h>>4),f+=A(c[h]&15);return f}e.encode=s;function a(c){if(c.length===0)return new Uint8Array(0);if(c.length%2!==0)throw new Error("hex: input string must be divisible by two");for(var l=new Uint8Array(c.length/2),A=0,f=0;f{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(c,l){var A=c>>>16&65535,f=c&65535,h=l>>>16&65535,g=l&65535;return f*g+(A*g+f*h<<16>>>0)|0}e.mul=Math.imul||t;function r(c,l){return c+l|0}e.add=r;function n(c,l){return c-l|0}e.sub=n;function i(c,l){return c<>>32-l}e.rotl=i;function s(c,l){return c<<32-l|c>>>l}e.rotr=s;function a(c){return typeof c=="number"&&isFinite(c)&&Math.floor(c)===c}e.isInteger=Number.isInteger||a,e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(c){return e.isInteger(c)&&c>=-e.MAX_SAFE_INTEGER&&c<=e.MAX_SAFE_INTEGER}}),aX=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=AX();function r(F,M){return M===void 0&&(M=0),(F[M+0]<<8|F[M+1])<<16>>16}e.readInt16BE=r;function n(F,M){return M===void 0&&(M=0),(F[M+0]<<8|F[M+1])>>>0}e.readUint16BE=n;function i(F,M){return M===void 0&&(M=0),(F[M+1]<<8|F[M])<<16>>16}e.readInt16LE=i;function s(F,M){return M===void 0&&(M=0),(F[M+1]<<8|F[M])>>>0}e.readUint16LE=s;function a(F,M,P){return M===void 0&&(M=new Uint8Array(2)),P===void 0&&(P=0),M[P+0]=F>>>8,M[P+1]=F>>>0,M}e.writeUint16BE=a,e.writeInt16BE=a;function c(F,M,P){return M===void 0&&(M=new Uint8Array(2)),P===void 0&&(P=0),M[P+0]=F>>>0,M[P+1]=F>>>8,M}e.writeUint16LE=c,e.writeInt16LE=c;function l(F,M){return M===void 0&&(M=0),F[M]<<24|F[M+1]<<16|F[M+2]<<8|F[M+3]}e.readInt32BE=l;function A(F,M){return M===void 0&&(M=0),(F[M]<<24|F[M+1]<<16|F[M+2]<<8|F[M+3])>>>0}e.readUint32BE=A;function f(F,M){return M===void 0&&(M=0),F[M+3]<<24|F[M+2]<<16|F[M+1]<<8|F[M]}e.readInt32LE=f;function h(F,M){return M===void 0&&(M=0),(F[M+3]<<24|F[M+2]<<16|F[M+1]<<8|F[M])>>>0}e.readUint32LE=h;function g(F,M,P){return M===void 0&&(M=new Uint8Array(4)),P===void 0&&(P=0),M[P+0]=F>>>24,M[P+1]=F>>>16,M[P+2]=F>>>8,M[P+3]=F>>>0,M}e.writeUint32BE=g,e.writeInt32BE=g;function b(F,M,P){return M===void 0&&(M=new Uint8Array(4)),P===void 0&&(P=0),M[P+0]=F>>>0,M[P+1]=F>>>8,M[P+2]=F>>>16,M[P+3]=F>>>24,M}e.writeUint32LE=b,e.writeInt32LE=b;function C(F,M){M===void 0&&(M=0);var P=l(F,M),ee=l(F,M+4);return P*4294967296+ee-(ee>>31)*4294967296}e.readInt64BE=C;function p(F,M){M===void 0&&(M=0);var P=A(F,M),ee=A(F,M+4);return P*4294967296+ee}e.readUint64BE=p;function Q(F,M){M===void 0&&(M=0);var P=f(F,M),ee=f(F,M+4);return ee*4294967296+P-(P>>31)*4294967296}e.readInt64LE=Q;function R(F,M){M===void 0&&(M=0);var P=h(F,M),ee=h(F,M+4);return ee*4294967296+P}e.readUint64LE=R;function _(F,M,P){return M===void 0&&(M=new Uint8Array(8)),P===void 0&&(P=0),g(F/4294967296>>>0,M,P),g(F>>>0,M,P+4),M}e.writeUint64BE=_,e.writeInt64BE=_;function d(F,M,P){return M===void 0&&(M=new Uint8Array(8)),P===void 0&&(P=0),b(F>>>0,M,P),b(F/4294967296>>>0,M,P+4),M}e.writeUint64LE=d,e.writeInt64LE=d;function S(F,M,P){if(P===void 0&&(P=0),F%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(F/8>M.length-P)throw new Error("readUintBE: array is too short for the given bitLength");for(var ee=0,se=1,ce=F/8+P-1;ce>=P;ce--)ee+=M[ce]*se,se*=256;return ee}e.readUintBE=S;function m(F,M,P){if(P===void 0&&(P=0),F%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(F/8>M.length-P)throw new Error("readUintLE: array is too short for the given bitLength");for(var ee=0,se=1,ce=P;ce=ee;ce--)P[ce]=M/se&255,se*=256;return P}e.writeUintBE=T;function L(F,M,P,ee){if(P===void 0&&(P=new Uint8Array(F/8)),ee===void 0&&(ee=0),F%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!t.isSafeInteger(M))throw new Error("writeUintLE value must be an integer");for(var se=1,ce=ee;ce{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(r){for(var n=0;n{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=aX(),r=cX();e.DIGEST_LENGTH=32,e.BLOCK_SIZE=64;var n=function(){function c(){this.digestLength=e.DIGEST_LENGTH,this.blockSize=e.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return c.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},c.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},c.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._temp),this.reset()},c.prototype.update=function(l,A){if(A===void 0&&(A=l.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var f=0;if(this._bytesHashed+=A,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=l[f++],A--;this._bufferLength===this.blockSize&&(s(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(A>=this.blockSize&&(f=s(this._temp,this._state,l,f,A),A%=this.blockSize);A>0;)this._buffer[this._bufferLength++]=l[f++],A--;return this},c.prototype.finish=function(l){if(!this._finished){var A=this._bytesHashed,f=this._bufferLength,h=A/536870912|0,g=A<<3,b=A%64<56?64:128;this._buffer[f]=128;for(var C=f+1;C0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},c.prototype.restoreState=function(l){return this._state.set(l.state),this._bufferLength=l.bufferLength,l.buffer&&this._buffer.set(l.buffer),this._bytesHashed=l.bytesHashed,this._finished=!1,this},c.prototype.cleanSavedState=function(l){r.wipe(l.state),l.buffer&&r.wipe(l.buffer),l.bufferLength=0,l.bytesHashed=0},c}();e.SHA256=n;var i=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s(c,l,A,f,h){for(;h>=64;){for(var g=l[0],b=l[1],C=l[2],p=l[3],Q=l[4],R=l[5],_=l[6],d=l[7],S=0;S<16;S++){var m=f+S*4;c[S]=t.readUint32BE(A,m)}for(var S=16;S<64;S++){var T=c[S-2],L=(T>>>17|T<<32-17)^(T>>>19|T<<32-19)^T>>>10;T=c[S-15];var v=(T>>>7|T<<32-7)^(T>>>18|T<<32-18)^T>>>3;c[S]=(L+c[S-7]|0)+(v+c[S-16]|0)}for(var S=0;S<64;S++){var L=(((Q>>>6|Q<<26)^(Q>>>11|Q<<21)^(Q>>>25|Q<<7))+(Q&R^~Q&_)|0)+(d+(i[S]+c[S]|0)|0)|0,v=((g>>>2|g<<32-2)^(g>>>13|g<<32-13)^(g>>>22|g<<32-22))+(g&b^g&C^b&C)|0;d=_,_=R,R=Q,Q=p+L|0,p=C,C=b,b=g,g=L+v|0}l[0]+=g,l[1]+=b,l[2]+=C,l[3]+=p,l[4]+=Q,l[5]+=R,l[6]+=_,l[7]+=d,f+=64,h-=64}return f}function a(c){var l=new n;l.update(c);var A=l.digest();return l.clean(),A}e.hash=a}),Qt=nt((e,t)=>{t.exports={options:{usePureJavaScript:!1}}}),uX=nt((e,t)=>{var r={};t.exports=r;var n={};r.encode=function(s,a,c){if(typeof a!="string")throw new TypeError('"alphabet" must be a string.');if(c!==void 0&&typeof c!="number")throw new TypeError('"maxline" must be a number.');var l="";if(!(s instanceof Uint8Array))l=i(s,a);else{var A=0,f=a.length,h=a.charAt(0),g=[0];for(A=0;A0;)g.push(C%f),C=C/f|0}for(A=0;s[A]===0&&A=0;--A)l+=a[g[A]]}if(c){var p=new RegExp(".{1,"+c+"}","g");l=l.match(p).join(`\r +`)}`}}},rK=class extends sn{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}},RE=class extends sn{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}},nK=class extends sn{constructor(e,t){super(e.message,e,t),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}},eD=class extends sn{constructor(e,t){super(e.message,e,t),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}},iK=class extends sn{constructor(e,t,r){super(e.message,e,r),Object.defineProperty(this,"timings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.event=e.event,this.timings=t}},tD=class extends sn{constructor(e,t){super(e.message,e,t),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}},sK=class extends sn{constructor(e){super("Retrying",{},e),this.name="RetryError",this.code="ERR_RETRYING"}},oK=class extends sn{constructor(e){super("This operation was aborted.",{},e),this.code="ERR_ABORTED",this.name="AbortError"}},BT=$t(require("node:process"),1),s0=require("node:buffer"),AK=require("node:stream"),rD=require("node:url"),o0=$t(require("node:http"),1),aK=$t(BD(),1),cK=$t(j0(),1),lK=require("node:buffer"),uK=require("node:util");function yT(e){return W.nodeStream(e)&&W.function_(e.getBoundary)}async function hK(e,t){if(t&&"content-length"in t)return Number(t["content-length"]);if(!e)return 0;if(W.string(e))return lK.Buffer.byteLength(e);if(W.buffer(e))return e.length;if(yT(e))return(0,uK.promisify)(e.getLength.bind(e))()}function QT(e,t,r){let n={};for(let i of r){let s=(...a)=>{t.emit(i,...a)};n[i]=s,e.on(i,s)}return()=>{for(let[i,s]of Object.entries(n))e.off(i,s)}}var fK=$t(require("node:net"),1);function gK(){let e=[];return{once(t,r,n){t.once(r,n),e.push({origin:t,event:r,fn:n})},unhandleAll(){for(let t of e){let{origin:r,event:n,fn:i}=t;r.removeListener(n,i)}e.length=0}}}var nD=Symbol("reentry"),dK=()=>{},mT=class extends Error{constructor(e,t){super(`Timeout awaiting '${t}' for ${e}ms`),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.code="ETIMEDOUT"}};function EK(e,t,r){if(nD in e)return dK;e[nD]=!0;let n=[],{once:i,unhandleAll:s}=gK(),a=(p,Q,R)=>{let _=setTimeout(Q,p,p,R);_.unref?.();let d=()=>{clearTimeout(_)};return n.push(d),d},{host:c,hostname:l}=r,A=(p,Q)=>{e.destroy(new mT(p,Q))},f=()=>{for(let p of n)p();s()};if(e.once("error",p=>{if(f(),e.listenerCount("error")===0)throw p}),typeof t.request<"u"){let p=a(t.request,A,"request");i(e,"response",Q=>{i(Q,"end",p)})}if(typeof t.socket<"u"){let{socket:p}=t,Q=()=>{A(p,"socket")};e.setTimeout(p,Q),n.push(()=>{e.removeListener("timeout",Q)})}let h=typeof t.lookup<"u",g=typeof t.connect<"u",b=typeof t.secureConnect<"u",C=typeof t.send<"u";return(h||g||b||C)&&i(e,"socket",p=>{let{socketPath:Q}=e;if(p.connecting){let R=!!(Q??fK.default.isIP(l??c??"")!==0);if(h&&!R&&typeof p.address().address>"u"){let _=a(t.lookup,A,"lookup");i(p,"lookup",_)}if(g){let _=()=>a(t.connect,A,"connect");R?i(p,"connect",_()):i(p,"lookup",d=>{d===null&&i(p,"connect",_())})}b&&r.protocol==="https:"&&i(p,"connect",()=>{let _=a(t.secureConnect,A,"secureConnect");i(p,"secureConnect",_)})}if(C){let R=()=>a(t.send,A,"send");p.connecting?i(p,"connect",()=>{i(e,"upload-complete",R())}):i(e,"upload-complete",R())}}),typeof t.response<"u"&&i(e,"upload-complete",()=>{let p=a(t.response,A,"response");i(e,"response",p)}),typeof t.read<"u"&&i(e,"response",p=>{let Q=a(t.read,A,"read");i(p,"end",Q)}),f}function pK(e){e=e;let t={protocol:e.protocol,hostname:W.string(e.hostname)&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};return W.string(e.port)&&e.port.length>0&&(t.port=Number(e.port)),(e.username||e.password)&&(t.auth=`${e.username||""}:${e.password||""}`),t}var CK=class{constructor(){Object.defineProperty(this,"weakMap",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"map",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.weakMap=new WeakMap,this.map=new Map}set(e,t){typeof e=="object"?this.weakMap.set(e,t):this.map.set(e,t)}get(e){return typeof e=="object"?this.weakMap.get(e):this.map.get(e)}has(e){return typeof e=="object"?this.weakMap.has(e):this.map.has(e)}},IK=({attemptCount:e,retryOptions:t,error:r,retryAfter:n,computedValue:i})=>{if(r.name==="RetryError")return 1;if(e>t.limit)return 0;let s=t.methods.includes(r.options.method),a=t.errorCodes.includes(r.code),c=r.response&&t.statusCodes.includes(r.response.statusCode);if(!s||!a&&!c)return 0;if(r.response){if(n)return n>i?0:n;if(r.response.statusCode===413)return 0}let l=Math.random()*t.noise;return Math.min(2**(e-1)*1e3,t.backoffLimit)+l},BK=IK,yK=$t(require("node:process"),1),A0=require("node:util"),za=require("node:url"),QK=require("node:tls"),mK=$t(require("node:http"),1),bK=$t(require("node:https"),1),wK=$t(ND(),1);function vK(e){let t=[],r=e.split(",");for(let n of r){let[i,...s]=n.split(";"),a=i.trim();if(a[0]!=="<"||a[a.length-1]!==">")throw new Error(`Invalid format of the Link header reference: ${a}`);let c=a.slice(1,-1),l={};if(s.length===0)throw new Error(`Unexpected end of Link header parameters: ${s.join(";")}`);for(let A of s){let f=A.trim(),h=f.indexOf("=");if(h===-1)throw new Error(`Failed to parse Link header: ${e}`);let g=f.slice(0,h).trim(),b=f.slice(h+1).trim();l[g]=b}t.push({reference:c,parameters:l})}return t}var[iD,SK]=yK.default.versions.node.split(".").map(Number);function RK(e){for(let t in e){let r=e[t];ae.any([W.string,W.number,W.boolean,W.null_,W.undefined],r)}}var _K=new Map,a0,kK=()=>a0||(a0=new AN,a0),DK={request:void 0,agent:{http:void 0,https:void 0,http2:void 0},h2session:void 0,decompress:!0,timeout:{connect:void 0,lookup:void 0,read:void 0,request:void 0,response:void 0,secureConnect:void 0,send:void 0,socket:void 0},prefixUrl:"",body:void 0,form:void 0,json:void 0,cookieJar:void 0,ignoreInvalidCookies:!1,searchParams:void 0,dnsLookup:void 0,dnsCache:void 0,context:{},hooks:{init:[],beforeRequest:[],beforeError:[],beforeRedirect:[],beforeRetry:[],afterResponse:[]},followRedirect:!0,maxRedirects:10,cache:void 0,throwHttpErrors:!0,username:"",password:"",http2:!1,allowGetBody:!1,headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},methodRewriting:!1,dnsLookupIpVersion:void 0,parseJson:JSON.parse,stringifyJson:JSON.stringify,retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:e})=>e,backoffLimit:Number.POSITIVE_INFINITY,noise:100},localAddress:void 0,method:"GET",createConnection:void 0,cacheOptions:{shared:void 0,cacheHeuristic:void 0,immutableMinTimeToLive:void 0,ignoreCargoCult:void 0},https:{alpnProtocols:void 0,rejectUnauthorized:void 0,checkServerIdentity:void 0,certificateAuthority:void 0,key:void 0,certificate:void 0,passphrase:void 0,pfx:void 0,ciphers:void 0,honorCipherOrder:void 0,minVersion:void 0,maxVersion:void 0,signatureAlgorithms:void 0,tlsSessionLifetime:void 0,dhparam:void 0,ecdhCurve:void 0,certificateRevocationLists:void 0},encoding:void 0,resolveBodyOnly:!1,isStream:!1,responseType:"text",url:void 0,pagination:{transform(e){return e.request.options.responseType==="json"?e.body:JSON.parse(e.body)},paginate({response:e}){let t=e.headers.link;if(typeof t!="string"||t.trim()==="")return!1;let r=vK(t).find(n=>n.parameters.rel==="next"||n.parameters.rel==='"next"');return r?{url:new za.URL(r.reference,e.url)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:Number.POSITIVE_INFINITY,backoff:0,requestLimit:1e4,stackAllItems:!1},setHost:!0,maxHeaderSize:void 0,signal:void 0,enableUnixSockets:!0},NK=e=>{let{hooks:t,retry:r}=e,n={...e,context:{...e.context},cacheOptions:{...e.cacheOptions},https:{...e.https},agent:{...e.agent},headers:{...e.headers},retry:{...r,errorCodes:[...r.errorCodes],methods:[...r.methods],statusCodes:[...r.statusCodes]},timeout:{...e.timeout},hooks:{init:[...t.init],beforeRequest:[...t.beforeRequest],beforeError:[...t.beforeError],beforeRedirect:[...t.beforeRedirect],beforeRetry:[...t.beforeRetry],afterResponse:[...t.afterResponse]},searchParams:e.searchParams?new za.URLSearchParams(e.searchParams):void 0,pagination:{...e.pagination}};return n.url!==void 0&&(n.prefixUrl=""),n},TK=e=>{let{hooks:t,retry:r}=e,n={...e};return W.object(e.context)&&(n.context={...e.context}),W.object(e.cacheOptions)&&(n.cacheOptions={...e.cacheOptions}),W.object(e.https)&&(n.https={...e.https}),W.object(e.cacheOptions)&&(n.cacheOptions={...n.cacheOptions}),W.object(e.agent)&&(n.agent={...e.agent}),W.object(e.headers)&&(n.headers={...e.headers}),W.object(r)&&(n.retry={...r},W.array(r.errorCodes)&&(n.retry.errorCodes=[...r.errorCodes]),W.array(r.methods)&&(n.retry.methods=[...r.methods]),W.array(r.statusCodes)&&(n.retry.statusCodes=[...r.statusCodes])),W.object(e.timeout)&&(n.timeout={...e.timeout}),W.object(t)&&(n.hooks={...t},W.array(t.init)&&(n.hooks.init=[...t.init]),W.array(t.beforeRequest)&&(n.hooks.beforeRequest=[...t.beforeRequest]),W.array(t.beforeError)&&(n.hooks.beforeError=[...t.beforeError]),W.array(t.beforeRedirect)&&(n.hooks.beforeRedirect=[...t.beforeRedirect]),W.array(t.beforeRetry)&&(n.hooks.beforeRetry=[...t.beforeRetry]),W.array(t.afterResponse)&&(n.hooks.afterResponse=[...t.afterResponse])),W.object(e.pagination)&&(n.pagination={...e.pagination}),n},LK=e=>{let t=[e.timeout.socket,e.timeout.connect,e.timeout.lookup,e.timeout.request,e.timeout.secureConnect].filter(r=>typeof r=="number");if(t.length>0)return Math.min(...t)},sD=(e,t,r)=>{let n=e.hooks?.init;if(n)for(let i of n)i(t,r)},Nl=class uE{constructor(t,r,n){if(Object.defineProperty(this,"_unixOptions",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_internals",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_merging",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_init",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),ae.any([W.string,W.urlInstance,W.object,W.undefined],t),ae.any([W.object,W.undefined],r),ae.any([W.object,W.undefined],n),t instanceof uE||r instanceof uE)throw new TypeError("The defaults must be passed as the third argument");this._internals=NK(n?._internals??n??DK),this._init=[...n?._init??[]],this._merging=!1,this._unixOptions=void 0;try{if(W.plainObject(t))try{this.merge(t),this.merge(r)}finally{this.url=t.url}else try{this.merge(r)}finally{if(r?.url!==void 0)if(t===void 0)this.url=r.url;else throw new TypeError("The `url` option is mutually exclusive with the `input` argument");else t!==void 0&&(this.url=t)}}catch(i){throw i.options=this,i}}merge(t){if(t){if(t instanceof uE){for(let r of t._init)this.merge(r);return}t=TK(t),sD(this,t,this),sD(t,t,this),this._merging=!0,"isStream"in t&&(this.isStream=t.isStream);try{let r=!1;for(let n in t)if(!(n==="mutableDefaults"||n==="handlers")&&n!=="url"){if(!(n in this))throw new Error(`Unexpected option: ${n}`);this[n]=t[n],r=!0}r&&this._init.push(t)}finally{this._merging=!1}}}get request(){return this._internals.request}set request(t){ae.any([W.function_,W.undefined],t),this._internals.request=t}get agent(){return this._internals.agent}set agent(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.agent))throw new TypeError(`Unexpected agent option: ${r}`);ae.any([W.object,W.undefined],t[r])}this._merging?Object.assign(this._internals.agent,t):this._internals.agent={...t}}get h2session(){return this._internals.h2session}set h2session(t){this._internals.h2session=t}get decompress(){return this._internals.decompress}set decompress(t){ae.boolean(t),this._internals.decompress=t}get timeout(){return this._internals.timeout}set timeout(t){ae.plainObject(t);for(let r in t){if(!(r in this._internals.timeout))throw new Error(`Unexpected timeout option: ${r}`);ae.any([W.number,W.undefined],t[r])}this._merging?Object.assign(this._internals.timeout,t):this._internals.timeout={...t}}get prefixUrl(){return this._internals.prefixUrl}set prefixUrl(t){if(ae.any([W.string,W.urlInstance],t),t===""){this._internals.prefixUrl="";return}if(t=t.toString(),t.endsWith("/")||(t+="/"),this._internals.prefixUrl&&this._internals.url){let{href:r}=this._internals.url;this._internals.url.href=t+r.slice(this._internals.prefixUrl.length)}this._internals.prefixUrl=t}get body(){return this._internals.body}set body(t){ae.any([W.string,W.buffer,W.nodeStream,W.generator,W.asyncGenerator,qh,W.undefined],t),W.nodeStream(t)&&ae.truthy(t.readable),t!==void 0&&(ae.undefined(this._internals.form),ae.undefined(this._internals.json)),this._internals.body=t}get form(){return this._internals.form}set form(t){ae.any([W.plainObject,W.undefined],t),t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.json)),this._internals.form=t}get json(){return this._internals.json}set json(t){t!==void 0&&(ae.undefined(this._internals.body),ae.undefined(this._internals.form)),this._internals.json=t}get url(){return this._internals.url}set url(t){if(ae.any([W.string,W.urlInstance,W.undefined],t),t===void 0){this._internals.url=void 0;return}if(W.string(t)&&t.startsWith("/"))throw new Error("`url` must not start with a slash");let r=`${this.prefixUrl}${t.toString()}`,n=new za.URL(r);if(this._internals.url=n,n.protocol==="unix:"&&(n.href=`http://unix${n.pathname}${n.search}`),n.protocol!=="http:"&&n.protocol!=="https:"){let i=new Error(`Unsupported protocol: ${n.protocol}`);throw i.code="ERR_UNSUPPORTED_PROTOCOL",i}if(this._internals.username&&(n.username=this._internals.username,this._internals.username=""),this._internals.password&&(n.password=this._internals.password,this._internals.password=""),this._internals.searchParams&&(n.search=this._internals.searchParams.toString(),this._internals.searchParams=void 0),n.hostname==="unix"){if(!this._internals.enableUnixSockets)throw new Error("Using UNIX domain sockets but option `enableUnixSockets` is not enabled");let i=/(?.+?):(?.+)/.exec(`${n.pathname}${n.search}`);if(i?.groups){let{socketPath:s,path:a}=i.groups;this._unixOptions={socketPath:s,path:a,host:""}}else this._unixOptions=void 0;return}this._unixOptions=void 0}get cookieJar(){return this._internals.cookieJar}set cookieJar(t){if(ae.any([W.object,W.undefined],t),t===void 0){this._internals.cookieJar=void 0;return}let{setCookie:r,getCookieString:n}=t;ae.function_(r),ae.function_(n),r.length===4&&n.length===0?(r=(0,A0.promisify)(r.bind(t)),n=(0,A0.promisify)(n.bind(t)),this._internals.cookieJar={setCookie:r,getCookieString:n}):this._internals.cookieJar=t}get signal(){return this._internals.signal}set signal(t){ae.object(t),this._internals.signal=t}get ignoreInvalidCookies(){return this._internals.ignoreInvalidCookies}set ignoreInvalidCookies(t){ae.boolean(t),this._internals.ignoreInvalidCookies=t}get searchParams(){return this._internals.url?this._internals.url.searchParams:(this._internals.searchParams===void 0&&(this._internals.searchParams=new za.URLSearchParams),this._internals.searchParams)}set searchParams(t){ae.any([W.string,W.object,W.undefined],t);let r=this._internals.url;if(t===void 0){this._internals.searchParams=void 0,r&&(r.search="");return}let n=this.searchParams,i;if(W.string(t))i=new za.URLSearchParams(t);else if(t instanceof za.URLSearchParams)i=t;else{RK(t),i=new za.URLSearchParams;for(let s in t){let a=t[s];a===null?i.append(s,""):a===void 0?n.delete(s):i.append(s,a)}}if(this._merging){for(let s of i.keys())n.delete(s);for(let[s,a]of i)n.append(s,a)}else r?r.search=n.toString():this._internals.searchParams=n}get searchParameters(){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}set searchParameters(t){throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.")}get dnsLookup(){return this._internals.dnsLookup}set dnsLookup(t){ae.any([W.function_,W.undefined],t),this._internals.dnsLookup=t}get dnsCache(){return this._internals.dnsCache}set dnsCache(t){ae.any([W.object,W.boolean,W.undefined],t),t===!0?this._internals.dnsCache=kK():t===!1?this._internals.dnsCache=void 0:this._internals.dnsCache=t}get context(){return this._internals.context}set context(t){ae.object(t),this._merging?Object.assign(this._internals.context,t):this._internals.context={...t}}get hooks(){return this._internals.hooks}set hooks(t){ae.object(t);for(let r in t){if(!(r in this._internals.hooks))throw new Error(`Unexpected hook event: ${r}`);let n=r,i=t[n];if(ae.any([W.array,W.undefined],i),i)for(let s of i)ae.function_(s);if(this._merging)i&&this._internals.hooks[n].push(...i);else{if(!i)throw new Error(`Missing hook event: ${r}`);this._internals.hooks[r]=[...i]}}}get followRedirect(){return this._internals.followRedirect}set followRedirect(t){ae.boolean(t),this._internals.followRedirect=t}get followRedirects(){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}set followRedirects(t){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}get maxRedirects(){return this._internals.maxRedirects}set maxRedirects(t){ae.number(t),this._internals.maxRedirects=t}get cache(){return this._internals.cache}set cache(t){ae.any([W.object,W.string,W.boolean,W.undefined],t),t===!0?this._internals.cache=_K:t===!1?this._internals.cache=void 0:this._internals.cache=t}get throwHttpErrors(){return this._internals.throwHttpErrors}set throwHttpErrors(t){ae.boolean(t),this._internals.throwHttpErrors=t}get username(){let t=this._internals.url,r=t?t.username:this._internals.username;return decodeURIComponent(r)}set username(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.username=n:this._internals.username=n}get password(){let t=this._internals.url,r=t?t.password:this._internals.password;return decodeURIComponent(r)}set password(t){ae.string(t);let r=this._internals.url,n=encodeURIComponent(t);r?r.password=n:this._internals.password=n}get http2(){return this._internals.http2}set http2(t){ae.boolean(t),this._internals.http2=t}get allowGetBody(){return this._internals.allowGetBody}set allowGetBody(t){ae.boolean(t),this._internals.allowGetBody=t}get headers(){return this._internals.headers}set headers(t){ae.plainObject(t),this._merging?Object.assign(this._internals.headers,_h(t)):this._internals.headers=_h(t)}get methodRewriting(){return this._internals.methodRewriting}set methodRewriting(t){ae.boolean(t),this._internals.methodRewriting=t}get dnsLookupIpVersion(){return this._internals.dnsLookupIpVersion}set dnsLookupIpVersion(t){if(t!==void 0&&t!==4&&t!==6)throw new TypeError(`Invalid DNS lookup IP version: ${t}`);this._internals.dnsLookupIpVersion=t}get parseJson(){return this._internals.parseJson}set parseJson(t){ae.function_(t),this._internals.parseJson=t}get stringifyJson(){return this._internals.stringifyJson}set stringifyJson(t){ae.function_(t),this._internals.stringifyJson=t}get retry(){return this._internals.retry}set retry(t){if(ae.plainObject(t),ae.any([W.function_,W.undefined],t.calculateDelay),ae.any([W.number,W.undefined],t.maxRetryAfter),ae.any([W.number,W.undefined],t.limit),ae.any([W.array,W.undefined],t.methods),ae.any([W.array,W.undefined],t.statusCodes),ae.any([W.array,W.undefined],t.errorCodes),ae.any([W.number,W.undefined],t.noise),t.noise&&Math.abs(t.noise)>100)throw new Error(`The maximum acceptable retry noise is +/- 100ms, got ${t.noise}`);for(let n in t)if(!(n in this._internals.retry))throw new Error(`Unexpected retry option: ${n}`);this._merging?Object.assign(this._internals.retry,t):this._internals.retry={...t};let{retry:r}=this._internals;r.methods=[...new Set(r.methods.map(n=>n.toUpperCase()))],r.statusCodes=[...new Set(r.statusCodes)],r.errorCodes=[...new Set(r.errorCodes)]}get localAddress(){return this._internals.localAddress}set localAddress(t){ae.any([W.string,W.undefined],t),this._internals.localAddress=t}get method(){return this._internals.method}set method(t){ae.string(t),this._internals.method=t.toUpperCase()}get createConnection(){return this._internals.createConnection}set createConnection(t){ae.any([W.function_,W.undefined],t),this._internals.createConnection=t}get cacheOptions(){return this._internals.cacheOptions}set cacheOptions(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.shared),ae.any([W.number,W.undefined],t.cacheHeuristic),ae.any([W.number,W.undefined],t.immutableMinTimeToLive),ae.any([W.boolean,W.undefined],t.ignoreCargoCult);for(let r in t)if(!(r in this._internals.cacheOptions))throw new Error(`Cache option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.cacheOptions,t):this._internals.cacheOptions={...t}}get https(){return this._internals.https}set https(t){ae.plainObject(t),ae.any([W.boolean,W.undefined],t.rejectUnauthorized),ae.any([W.function_,W.undefined],t.checkServerIdentity),ae.any([W.string,W.object,W.array,W.undefined],t.certificateAuthority),ae.any([W.string,W.object,W.array,W.undefined],t.key),ae.any([W.string,W.object,W.array,W.undefined],t.certificate),ae.any([W.string,W.undefined],t.passphrase),ae.any([W.string,W.buffer,W.array,W.undefined],t.pfx),ae.any([W.array,W.undefined],t.alpnProtocols),ae.any([W.string,W.undefined],t.ciphers),ae.any([W.string,W.buffer,W.undefined],t.dhparam),ae.any([W.string,W.undefined],t.signatureAlgorithms),ae.any([W.string,W.undefined],t.minVersion),ae.any([W.string,W.undefined],t.maxVersion),ae.any([W.boolean,W.undefined],t.honorCipherOrder),ae.any([W.number,W.undefined],t.tlsSessionLifetime),ae.any([W.string,W.undefined],t.ecdhCurve),ae.any([W.string,W.buffer,W.array,W.undefined],t.certificateRevocationLists);for(let r in t)if(!(r in this._internals.https))throw new Error(`HTTPS option \`${r}\` does not exist`);this._merging?Object.assign(this._internals.https,t):this._internals.https={...t}}get encoding(){return this._internals.encoding}set encoding(t){if(t===null)throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead");ae.any([W.string,W.undefined],t),this._internals.encoding=t}get resolveBodyOnly(){return this._internals.resolveBodyOnly}set resolveBodyOnly(t){ae.boolean(t),this._internals.resolveBodyOnly=t}get isStream(){return this._internals.isStream}set isStream(t){ae.boolean(t),this._internals.isStream=t}get responseType(){return this._internals.responseType}set responseType(t){if(t===void 0){this._internals.responseType="text";return}if(t!=="text"&&t!=="buffer"&&t!=="json")throw new Error(`Invalid \`responseType\` option: ${t}`);this._internals.responseType=t}get pagination(){return this._internals.pagination}set pagination(t){ae.object(t),this._merging?Object.assign(this._internals.pagination,t):this._internals.pagination=t}get auth(){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}set auth(t){throw new Error("Parameter `auth` is deprecated. Use `username` / `password` instead.")}get setHost(){return this._internals.setHost}set setHost(t){ae.boolean(t),this._internals.setHost=t}get maxHeaderSize(){return this._internals.maxHeaderSize}set maxHeaderSize(t){ae.any([W.number,W.undefined],t),this._internals.maxHeaderSize=t}get enableUnixSockets(){return this._internals.enableUnixSockets}set enableUnixSockets(t){ae.boolean(t),this._internals.enableUnixSockets=t}toJSON(){return{...this._internals}}[Symbol.for("nodejs.util.inspect.custom")](t,r){return(0,A0.inspect)(this._internals,r)}createNativeRequestOptions(){let t=this._internals,r=t.url,n;r.protocol==="https:"?n=t.http2?t.agent:t.agent.https:n=t.agent.http;let{https:i}=t,{pfx:s}=i;return W.array(s)&&W.plainObject(s[0])&&(s=s.map(a=>({buf:a.buffer,passphrase:a.passphrase}))),{...t.cacheOptions,...this._unixOptions,ALPNProtocols:i.alpnProtocols,ca:i.certificateAuthority,cert:i.certificate,key:i.key,passphrase:i.passphrase,pfx:i.pfx,rejectUnauthorized:i.rejectUnauthorized,checkServerIdentity:i.checkServerIdentity??QK.checkServerIdentity,ciphers:i.ciphers,honorCipherOrder:i.honorCipherOrder,minVersion:i.minVersion,maxVersion:i.maxVersion,sigalgs:i.signatureAlgorithms,sessionTimeout:i.tlsSessionLifetime,dhparam:i.dhparam,ecdhCurve:i.ecdhCurve,crl:i.certificateRevocationLists,lookup:t.dnsLookup??t.dnsCache?.lookup,family:t.dnsLookupIpVersion,agent:n,setHost:t.setHost,method:t.method,maxHeaderSize:t.maxHeaderSize,localAddress:t.localAddress,headers:t.headers,createConnection:t.createConnection,timeout:t.http2?LK(t):void 0,h2session:t.h2session}}getRequestFunction(){let t=this._internals.url,{request:r}=this._internals;return!r&&t?this.getFallbackRequestFunction():r}getFallbackRequestFunction(){let t=this._internals.url;if(t){if(t.protocol==="https:"){if(this._internals.http2){if(iD<15||iD===15&&SK<10){let r=new Error("To use the `http2` option, install Node.js 15.10.0 or above");throw r.code="EUNSUPPORTED",r}return wK.default.auto}return bK.default.request}return mK.default.request}}freeze(){let t=this._internals;Object.freeze(t),Object.freeze(t.hooks),Object.freeze(t.hooks.afterResponse),Object.freeze(t.hooks.beforeError),Object.freeze(t.hooks.beforeRedirect),Object.freeze(t.hooks.beforeRequest),Object.freeze(t.hooks.beforeRetry),Object.freeze(t.hooks.init),Object.freeze(t.https),Object.freeze(t.cacheOptions),Object.freeze(t.agent),Object.freeze(t.headers),Object.freeze(t.timeout),Object.freeze(t.retry),Object.freeze(t.retry.errorCodes),Object.freeze(t.retry.methods),Object.freeze(t.retry.statusCodes)}},_E=e=>{let{statusCode:t}=e,r=e.request.options.followRedirect?299:399;return t>=200&&t<=r||t===304},oD=class extends sn{constructor(e,t){let{options:r}=t.request;super(`${e.message} in "${r.url.toString()}"`,e,t.request),this.name="ParseError",this.code="ERR_BODY_PARSE_FAILURE"}},AD=(e,t,r,n)=>{let{rawBody:i}=e;try{if(t==="text")return i.toString(n);if(t==="json")return i.length===0?"":r(i.toString(n));if(t==="buffer")return i}catch(s){throw new oD(s,e)}throw new oD({message:`Unknown body type '${t}'`,name:"Error"},e)};function FK(e){return e.writable&&!e.writableEnded}var UK=FK;function aD(e){return e.protocol==="unix:"||e.hostname==="unix"}var xK=W.string(BT.default.versions.brotli),MK=new Set(["GET","HEAD"]),c0=new CK,OK=new Set([300,301,302,303,304,307,308]),PK=["socket","connect","continue","information","upgrade"],rE=()=>{},bT=class wT extends AK.Duplex{constructor(t,r,n){super({autoDestroy:!1,highWaterMark:0}),Object.defineProperty(this,"constructor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_noPipe",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"requestUrl",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"redirectUrls",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"retryCount",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopRetry",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downloadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_uploadedSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_stopReading",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pipedServerResponses",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_responseSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_bodySize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_unproxyEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isFromCache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cannotHaveBody",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_triggerRead",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cancelTimeouts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_removeListeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_nativeResponse",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_flushed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_aborted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_requestInitialized",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._downloadedSize=0,this._uploadedSize=0,this._stopReading=!1,this._pipedServerResponses=new Set,this._cannotHaveBody=!1,this._unproxyEvents=rE,this._triggerRead=!1,this._cancelTimeouts=rE,this._removeListeners=rE,this._jobs=[],this._flushed=!1,this._requestInitialized=!1,this._aborted=!1,this.redirectUrls=[],this.retryCount=0,this._stopRetry=rE,this.on("pipe",s=>{s.headers&&Object.assign(this.options.headers,s.headers)}),this.on("newListener",s=>{if(s==="retry"&&this.listenerCount("retry")>0)throw new Error("A retry listener has been attached already.")});try{if(this.options=new Nl(t,r,n),!this.options.url){if(this.options.prefixUrl==="")throw new TypeError("Missing `url` property");this.options.url=""}this.requestUrl=this.options.url}catch(s){let{options:a}=s;a&&(this.options=a),this.flush=async()=>{this.flush=async()=>{},this.destroy(s)};return}let{body:i}=this.options;if(W.nodeStream(i)&&i.once("error",s=>{this._flushed?this._beforeError(new eD(s,this)):this.flush=async()=>{this.flush=async()=>{},this._beforeError(new eD(s,this))}}),this.options.signal){let s=()=>{this.destroy(new oK(this))};this.options.signal.aborted?s():(this.options.signal.addEventListener("abort",s),this._removeListeners=()=>{this.options.signal.removeEventListener("abort",s)})}}async flush(){if(!this._flushed){this._flushed=!0;try{if(await this._finalizeBody(),this.destroyed)return;if(await this._makeRequest(),this.destroyed){this._request?.destroy();return}for(let t of this._jobs)t();this._jobs.length=0,this._requestInitialized=!0}catch(t){this._beforeError(t)}}}_beforeError(t){if(this._stopReading)return;let{response:r,options:n}=this,i=this.retryCount+(t.name==="RetryError"?0:1);this._stopReading=!0,t instanceof sn||(t=new sn(t.message,t,this));let s=t;(async()=>{if(r?.readable&&!r.rawBody&&!this._request?.socket?.destroyed&&(r.setEncoding(this.readableEncoding),await this._setRawBody(r)&&(r.body=r.rawBody.toString())),this.listenerCount("retry")!==0){let a;try{let c;r&&"retry-after"in r.headers&&(c=Number(r.headers["retry-after"]),Number.isNaN(c)?(c=Date.parse(r.headers["retry-after"])-Date.now(),c<=0&&(c=1)):c*=1e3);let l=n.retry;a=await l.calculateDelay({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:BK({attemptCount:i,retryOptions:l,error:s,retryAfter:c,computedValue:l.maxRetryAfter??n.timeout.request??Number.POSITIVE_INFINITY})})}catch(c){this._error(new sn(c.message,c,this));return}if(a){if(await new Promise(c=>{let l=setTimeout(c,a);this._stopRetry=()=>{clearTimeout(l),c()}}),this.destroyed)return;try{for(let c of this.options.hooks.beforeRetry)await c(s,this.retryCount+1)}catch(c){this._error(new sn(c.message,t,this));return}if(this.destroyed)return;this.destroy(),this.emit("retry",this.retryCount+1,t,c=>{let l=new wT(n.url,c,n);return l.retryCount=this.retryCount+1,BT.default.nextTick(()=>{l.flush()}),l});return}}this._error(s)})()}_read(){this._triggerRead=!0;let{response:t}=this;if(t&&!this._stopReading){t.readableLength&&(this._triggerRead=!1);let r;for(;(r=t.read())!==null;){this._downloadedSize+=r.length;let n=this.downloadProgress;n.percent<1&&this.emit("downloadProgress",n),this.push(r)}}}_write(t,r,n){let i=()=>{this._writeRequest(t,r,n)};this._requestInitialized?i():this._jobs.push(i)}_final(t){let r=()=>{if(!this._request||this._request.destroyed){t();return}this._request.end(n=>{this._request._writableState?.errored||(n||(this._bodySize=this._uploadedSize,this.emit("uploadProgress",this.uploadProgress),this._request.emit("upload-complete")),t(n))})};this._requestInitialized?r():this._jobs.push(r)}_destroy(t,r){if(this._stopReading=!0,this.flush=async()=>{},this._stopRetry(),this._cancelTimeouts(),this._removeListeners(),this.options){let{body:n}=this.options;W.nodeStream(n)&&n.destroy()}this._request&&this._request.destroy(),t!==null&&!W.undefined(t)&&!(t instanceof sn)&&(t=new sn(t.message,t,this)),r(t)}pipe(t,r){return t instanceof o0.ServerResponse&&this._pipedServerResponses.add(t),super.pipe(t,r)}unpipe(t){return t instanceof o0.ServerResponse&&this._pipedServerResponses.delete(t),super.unpipe(t),this}async _finalizeBody(){let{options:t}=this,{headers:r}=t,n=!W.undefined(t.form),i=!W.undefined(t.json),s=!W.undefined(t.body),a=MK.has(t.method)&&!(t.method==="GET"&&t.allowGetBody);if(this._cannotHaveBody=a,n||i||s){if(a)throw new TypeError(`The \`${t.method}\` method cannot be used with a body`);let c=!W.string(r["content-type"]);if(s){if(qh(t.body)){let A=new nN(t.body);c&&(r["content-type"]=A.headers["Content-Type"]),"Content-Length"in A.headers&&(r["content-length"]=A.headers["Content-Length"]),t.body=A.encode()}yT(t.body)&&c&&(r["content-type"]=`multipart/form-data; boundary=${t.body.getBoundary()}`)}else if(n){c&&(r["content-type"]="application/x-www-form-urlencoded");let{form:A}=t;t.form=void 0,t.body=new rD.URLSearchParams(A).toString()}else{c&&(r["content-type"]="application/json");let{json:A}=t;t.json=void 0,t.body=t.stringifyJson(A)}let l=await hK(t.body,t.headers);W.undefined(r["content-length"])&&W.undefined(r["transfer-encoding"])&&!a&&!W.undefined(l)&&(r["content-length"]=String(l))}t.responseType==="json"&&!("accept"in t.headers)&&(t.headers.accept="application/json"),this._bodySize=Number(r["content-length"])||void 0}async _onResponseBase(t){if(this.isAborted)return;let{options:r}=this,{url:n}=r;this._nativeResponse=t,r.decompress&&(t=(0,aK.default)(t));let i=t.statusCode,s=t;s.statusMessage=s.statusMessage??o0.default.STATUS_CODES[i],s.url=r.url.toString(),s.requestUrl=this.requestUrl,s.redirectUrls=this.redirectUrls,s.request=this,s.isFromCache=this._nativeResponse.fromCache??!1,s.ip=this.ip,s.retryCount=this.retryCount,s.ok=_E(s),this._isFromCache=s.isFromCache,this._responseSize=Number(t.headers["content-length"])||void 0,this.response=s,t.once("end",()=>{this._responseSize=this._downloadedSize,this.emit("downloadProgress",this.downloadProgress)}),t.once("error",c=>{this._aborted=!0,t.destroy(),this._beforeError(new tD(c,this))}),t.once("aborted",()=>{this._aborted=!0,this._beforeError(new tD({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);let a=t.headers["set-cookie"];if(W.object(r.cookieJar)&&a){let c=a.map(async l=>r.cookieJar.setCookie(l,n.toString()));r.ignoreInvalidCookies&&(c=c.map(async l=>{try{await l}catch{}}));try{await Promise.all(c)}catch(l){this._beforeError(l);return}}if(!this.isAborted){if(r.followRedirect&&t.headers.location&&OK.has(i)){if(t.resume(),this._cancelTimeouts(),this._unproxyEvents(),this.redirectUrls.length>=r.maxRedirects){this._beforeError(new rK(this));return}this._request=void 0;let c=new Nl(void 0,void 0,this.options),l=i===303&&c.method!=="GET"&&c.method!=="HEAD",A=i!==307&&i!==308,f=c.methodRewriting&&A;(l||f)&&(c.method="GET",c.body=void 0,c.json=void 0,c.form=void 0,delete c.headers["content-length"]);try{let h=s0.Buffer.from(t.headers.location,"binary").toString(),g=new rD.URL(h,n);if(!aD(n)&&aD(g)){this._beforeError(new sn("Cannot redirect to UNIX socket",{},this));return}g.hostname!==n.hostname||g.port!==n.port?("host"in c.headers&&delete c.headers.host,"cookie"in c.headers&&delete c.headers.cookie,"authorization"in c.headers&&delete c.headers.authorization,(c.username||c.password)&&(c.username="",c.password="")):(g.username=c.username,g.password=c.password),this.redirectUrls.push(g),c.prefixUrl="",c.url=g;for(let b of c.hooks.beforeRedirect)await b(c,s);this.emit("redirect",c,s),this.options=c,await this._makeRequest()}catch(h){this._beforeError(h);return}return}if(r.isStream&&r.throwHttpErrors&&!_E(s)){this._beforeError(new RE(s));return}if(t.on("readable",()=>{this._triggerRead&&this._read()}),this.on("resume",()=>{t.resume()}),this.on("pause",()=>{t.pause()}),t.once("end",()=>{this.push(null)}),this._noPipe){await this._setRawBody()&&this.emit("response",t);return}this.emit("response",t);for(let c of this._pipedServerResponses)if(!c.headersSent){for(let l in t.headers){let A=r.decompress?l!=="content-encoding":!0,f=t.headers[l];A&&c.setHeader(l,f)}c.statusCode=i}}}async _setRawBody(t=this){if(t.readableEnded)return!1;try{let r=await(0,cK.buffer)(t);if(!this.isAborted)return this.response.rawBody=r,!0}catch{}return!1}async _onResponse(t){try{await this._onResponseBase(t)}catch(r){this._beforeError(r)}}_onRequest(t){let{options:r}=this,{timeout:n,url:i}=r;eN(t),this.options.http2&&t.setTimeout(0),this._cancelTimeouts=EK(t,n,i);let s=r.cache?"cacheableResponse":"response";t.once(s,a=>{this._onResponse(a)}),t.once("error",a=>{this._aborted=!0,t.destroy(),a=a instanceof mT?new iK(a,this.timings,this):new sn(a.message,a,this),this._beforeError(a)}),this._unproxyEvents=QT(t,this,PK),this._request=t,this.emit("uploadProgress",this.uploadProgress),this._sendBody(),this.emit("request",t)}async _asyncWrite(t){return new Promise((r,n)=>{super.write(t,i=>{if(i){n(i);return}r()})})}_sendBody(){let{body:t}=this.options,r=this.redirectUrls.length===0?this:this._request??this;W.nodeStream(t)?t.pipe(r):W.generator(t)||W.asyncGenerator(t)?(async()=>{try{for await(let n of t)await this._asyncWrite(n);super.end()}catch(n){this._beforeError(n)}})():W.undefined(t)?(this._cannotHaveBody||this._noPipe)&&r.end():(this._writeRequest(t,void 0,()=>{}),r.end())}_prepareCache(t){if(!c0.has(t)){let r=new rN((n,i)=>{let s=n._request(n,i);return W.promise(s)&&(s.once=(a,c)=>{if(a==="error")(async()=>{try{await s}catch(l){c(l)}})();else if(a==="abort")(async()=>{try{(await s).once("abort",c)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${a}`);return s}),s},t);c0.set(t,r.request())}}async _createCacheableRequest(t,r){return new Promise((n,i)=>{Object.assign(r,pK(t));let s,a=c0.get(r.cache)(r,async c=>{if(c._readableState.autoDestroy=!1,s){let l=()=>{c.req&&(c.complete=c.req.res.complete)};c.prependOnceListener("end",l),l(),(await s).emit("cacheableResponse",c)}n(c)});a.once("error",i),a.once("request",async c=>{s=c,n(s)})})}async _makeRequest(){let{options:t}=this,{headers:r,username:n,password:i}=t,s=t.cookieJar;for(let A in r)if(W.undefined(r[A]))delete r[A];else if(W.null_(r[A]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${A}\` header`);if(t.decompress&&W.undefined(r["accept-encoding"])&&(r["accept-encoding"]=xK?"gzip, deflate, br":"gzip, deflate"),n||i){let A=s0.Buffer.from(`${n}:${i}`).toString("base64");r.authorization=`Basic ${A}`}if(s){let A=await s.getCookieString(t.url.toString());W.nonEmptyString(A)&&(r.cookie=A)}t.prefixUrl="";let a;for(let A of t.hooks.beforeRequest){let f=await A(t);if(!W.undefined(f)){a=()=>f;break}}a||(a=t.getRequestFunction());let c=t.url;this._requestOptions=t.createNativeRequestOptions(),t.cache&&(this._requestOptions._request=a,this._requestOptions.cache=t.cache,this._requestOptions.body=t.body,this._prepareCache(t.cache));let l=t.cache?this._createCacheableRequest:a;try{let A=l(c,this._requestOptions);W.promise(A)&&(A=await A),W.undefined(A)&&(A=t.getFallbackRequestFunction()(c,this._requestOptions),W.promise(A)&&(A=await A)),UK(A)?this._onRequest(A):this.writable?(this.once("finish",()=>{this._onResponse(A)}),this._sendBody()):this._onResponse(A)}catch(A){throw A instanceof wl?new nK(A,this):A}}async _error(t){try{if(!(t instanceof RE&&!this.options.throwHttpErrors))for(let r of this.options.hooks.beforeError)t=await r(t)}catch(r){t=new sn(r.message,r,this)}this.destroy(t)}_writeRequest(t,r,n){!this._request||this._request.destroyed||this._request.write(t,r,i=>{if(!i&&!this._request.destroyed){this._uploadedSize+=s0.Buffer.byteLength(t,r);let s=this.uploadProgress;s.percent<1&&this.emit("uploadProgress",s)}n(i)})}get ip(){return this.socket?.remoteAddress}get isAborted(){return this._aborted}get socket(){return this._request?.socket??void 0}get downloadProgress(){let t;return this._responseSize?t=this._downloadedSize/this._responseSize:this._responseSize===this._downloadedSize?t=1:t=0,{percent:t,transferred:this._downloadedSize,total:this._responseSize}}get uploadProgress(){let t;return this._bodySize?t=this._uploadedSize/this._bodySize:this._bodySize===this._uploadedSize?t=1:t=0,{percent:t,transferred:this._uploadedSize,total:this._bodySize}}get timings(){return this._request?.timings}get isFromCache(){return this._isFromCache}get reusedSocket(){return this._request?.reusedSocket}},qK=class extends sn{constructor(e){super("Promise was canceled",{},e),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}},VK=["request","response","redirect","uploadProgress","downloadProgress"];function cD(e){let t,r,n,i=new eK.EventEmitter,s=new iQ((c,l,A)=>{A(()=>{t.destroy()}),A.shouldReject=!1,A(()=>{l(new qK(t))});let f=h=>{A(()=>{});let g=e??new bT(void 0,void 0,n);g.retryCount=h,g._noPipe=!0,t=g,g.once("response",async p=>{let Q=(p.headers["content-encoding"]??"").toLowerCase(),R=Q==="gzip"||Q==="deflate"||Q==="br",{options:_}=g;if(R&&!_.decompress)p.body=p.rawBody;else try{p.body=AD(p,_.responseType,_.parseJson,_.encoding)}catch(d){if(p.body=p.rawBody.toString(),_E(p)){g._beforeError(d);return}}try{let d=_.hooks.afterResponse;for(let[S,m]of d.entries())if(p=await m(p,async T=>{throw _.merge(T),_.prefixUrl="",T.url&&(_.url=T.url),_.hooks.afterResponse=_.hooks.afterResponse.slice(0,S),new sK(g)}),!(W.object(p)&&W.number(p.statusCode)&&!W.nullOrUndefined(p.body)))throw new TypeError("The `afterResponse` hook returned an invalid value")}catch(d){g._beforeError(d);return}if(r=p,!_E(p)){g._beforeError(new RE(p));return}g.destroy(),c(g.options.resolveBodyOnly?p.body:p)});let b=p=>{if(s.isCanceled)return;let{options:Q}=g;if(p instanceof RE&&!Q.throwHttpErrors){let{response:R}=p;g.destroy(),c(g.options.resolveBodyOnly?R.body:R);return}l(p)};g.once("error",b);let C=g.options?.body;g.once("retry",(p,Q)=>{e=void 0;let R=g.options.body;if(C===R&&W.nodeStream(R)){Q.message="Cannot retry with consumed body stream",b(Q);return}n=g.options,f(p)}),QT(g,i,VK),W.undefined(e)&&g.flush()};f(0)});s.on=(c,l)=>(i.on(c,l),s),s.off=(c,l)=>(i.off(c,l),s);let a=c=>{let l=(async()=>{await s;let{options:A}=r.request;return AD(r,c,A.parseJson,A.encoding)})();return Object.defineProperties(l,Object.getOwnPropertyDescriptors(s)),l};return s.json=()=>{if(t.options){let{headers:c}=t.options;!t.writableFinished&&!("accept"in c)&&(c.accept="application/json")}return a("json")},s.buffer=()=>a("buffer"),s.text=()=>a("text"),s}var HK=async e=>new Promise(t=>{setTimeout(t,e)}),GK=e=>W.function_(e),YK=["get","post","put","patch","head","delete"],vT=e=>{e={options:new Nl(void 0,void 0,e.options),handlers:[...e.handlers],mutableDefaults:e.mutableDefaults},Object.defineProperty(e,"mutableDefaults",{enumerable:!0,configurable:!1,writable:!1});let t=(n,i,s=e.options)=>{let a=new bT(n,i,s),c,l=h=>(a.options=h,a._noPipe=!h.isStream,a.flush(),h.isStream?a:(c||(c=cD(a)),c)),A=0,f=h=>{let g=(e.handlers[A++]??l)(h,f);if(W.promise(g)&&!a.options.isStream&&(c||(c=cD(a)),g!==c)){let b=Object.getOwnPropertyDescriptors(c);for(let C in b)C in g&&delete b[C];Object.defineProperties(g,b),g.cancel=c.cancel}return g};return f(a.options)};t.extend=(...n)=>{let i=new Nl(void 0,void 0,e.options),s=[...e.handlers],a;for(let c of n)GK(c)?(i.merge(c.defaults.options),s.push(...c.defaults.handlers),a=c.defaults.mutableDefaults):(i.merge(c),c.handlers&&s.push(...c.handlers),a=c.mutableDefaults);return vT({options:i,handlers:s,mutableDefaults:!!a})};let r=async function*(n,i){let s=new Nl(n,i,e.options);s.resolveBodyOnly=!1;let{pagination:a}=s;ae.function_(a.transform),ae.function_(a.shouldContinue),ae.function_(a.filter),ae.function_(a.paginate),ae.number(a.countLimit),ae.number(a.requestLimit),ae.number(a.backoff);let c=[],{countLimit:l}=a,A=0;for(;A{let s=[];for await(let a of r(n,i))s.push(a);return s},t.paginate.each=r,t.stream=(n,i)=>t(n,{...i,isStream:!0});for(let n of YK)t[n]=(i,s)=>t(i,{...s,method:n}),t.stream[n]=(i,s)=>t(i,{...s,method:n,isStream:!0});return e.mutableDefaults||(Object.freeze(e.handlers),e.options.freeze()),Object.defineProperty(t,"defaults",{value:e,writable:!1,configurable:!1,enumerable:!0}),t},JK=vT,WK={options:new Nl,handlers:[],mutableDefaults:!1},jK=JK(WK),T0=jK,zK=require("module"),kE=require("path"),ST=require("crypto"),KK=Object.create,RT=Object.defineProperty,XK=Object.getOwnPropertyDescriptor,$K=Object.getOwnPropertyNames,ZK=Object.getPrototypeOf,eX=Object.prototype.hasOwnProperty,Tl=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),nt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tX=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $K(t))!eX.call(e,i)&&i!==r&&RT(e,i,{get:()=>t[i],enumerable:!(n=XK(t,i))||n.enumerable});return e},ql=(e,t,r)=>(r=e!=null?KK(ZK(e)):{},tX(t||!e||!e.__esModule?RT(r,"default",{value:e,enumerable:!0}):r,e)),rX=nt((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.WebStreamsPolyfill={}))})(e,function(r){"use strict";let n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:y=>`Symbol(${y})`;function i(){}function s(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}let a=s();function c(y){return typeof y=="object"&&y!==null||typeof y=="function"}let l=i,A=Promise,f=Promise.prototype.then,h=Promise.resolve.bind(A),g=Promise.reject.bind(A);function b(y){return new A(y)}function C(y){return h(y)}function p(y){return g(y)}function Q(y,D,Y){return f.call(y,D,Y)}function R(y,D,Y){Q(Q(y,D,Y),void 0,l)}function _(y,D){R(y,D)}function d(y,D){R(y,void 0,D)}function S(y,D,Y){return Q(y,D,Y)}function m(y){Q(y,void 0,l)}let T=(()=>{let y=a&&a.queueMicrotask;if(typeof y=="function")return y;let D=C(void 0);return Y=>Q(D,Y)})();function L(y,D,Y){if(typeof y!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(y,D,Y)}function v(y,D,Y){try{return C(L(y,D,Y))}catch(re){return p(re)}}let I=16384;class E{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(D){let Y=this._back,re=Y;Y._elements.length===I-1&&(re={_elements:[],_next:void 0}),Y._elements.push(D),re!==Y&&(this._back=re,Y._next=re),++this._size}shift(){let D=this._front,Y=D,re=this._cursor,fe=re+1,Ie=D._elements,Ne=Ie[re];return fe===I&&(Y=D._next,fe=0),--this._size,this._cursor=fe,D!==Y&&(this._front=Y),Ie[re]=void 0,Ne}forEach(D){let Y=this._cursor,re=this._front,fe=re._elements;for(;(Y!==fe.length||re._next!==void 0)&&!(Y===fe.length&&(re=re._next,fe=re._elements,Y=0,fe.length===0));)D(fe[Y]),++Y}peek(){let D=this._front,Y=this._cursor;return D._elements[Y]}}function O(y,D){y._ownerReadableStream=D,D._reader=y,D._state==="readable"?N(y):D._state==="closed"?M(y):F(y,D._storedError)}function q(y,D){let Y=y._ownerReadableStream;return ze(Y,D)}function V(y){y._ownerReadableStream._state==="readable"?P(y,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):ee(y,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),y._ownerReadableStream._reader=void 0,y._ownerReadableStream=void 0}function w(y){return new TypeError("Cannot "+y+" a stream using a released reader")}function N(y){y._closedPromise=b((D,Y)=>{y._closedPromise_resolve=D,y._closedPromise_reject=Y})}function F(y,D){N(y),P(y,D)}function M(y){N(y),se(y)}function P(y,D){y._closedPromise_reject!==void 0&&(m(y._closedPromise),y._closedPromise_reject(D),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0)}function ee(y,D){F(y,D)}function se(y){y._closedPromise_resolve!==void 0&&(y._closedPromise_resolve(void 0),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0)}let ce=n("[[AbortSteps]]"),ge=n("[[ErrorSteps]]"),Ee=n("[[CancelSteps]]"),we=n("[[PullSteps]]"),De=Number.isFinite||function(y){return typeof y=="number"&&isFinite(y)},ye=Math.trunc||function(y){return y<0?Math.ceil(y):Math.floor(y)};function Ke(y){return typeof y=="object"||typeof y=="function"}function Se(y,D){if(y!==void 0&&!Ke(y))throw new TypeError(`${D} is not an object.`)}function lt(y,D){if(typeof y!="function")throw new TypeError(`${D} is not a function.`)}function ot(y){return typeof y=="object"&&y!==null||typeof y=="function"}function U(y,D){if(!ot(y))throw new TypeError(`${D} is not an object.`)}function X(y,D,Y){if(y===void 0)throw new TypeError(`Parameter ${D} is required in '${Y}'.`)}function z(y,D,Y){if(y===void 0)throw new TypeError(`${D} is required in '${Y}'.`)}function k(y){return Number(y)}function J(y){return y===0?0:y}function oe(y){return J(ye(y))}function te(y,D){let Y=Number.MAX_SAFE_INTEGER,re=Number(y);if(re=J(re),!De(re))throw new TypeError(`${D} is not a finite number`);if(re=oe(re),re<0||re>Y)throw new TypeError(`${D} is outside the accepted range of 0 to ${Y}, inclusive`);return!De(re)||re===0?0:re}function me(y,D){if(!de(y))throw new TypeError(`${D} is not a ReadableStream.`)}function Oe(y){return new ht(y)}function Ve(y,D){y._reader._readRequests.push(D)}function pe(y,D,Y){let re=y._reader._readRequests.shift();Y?re._closeSteps():re._chunkSteps(D)}function Ue(y){return y._reader._readRequests.length}function Xe(y){let D=y._reader;return!(D===void 0||!je(D))}class ht{constructor(D){if(X(D,1,"ReadableStreamDefaultReader"),me(D,"First parameter"),Pe(D))throw new TypeError("This stream has already been locked for exclusive reading by another reader");O(this,D),this._readRequests=new E}get closed(){return je(this)?this._closedPromise:p(Mt("closed"))}cancel(D=void 0){return je(this)?this._ownerReadableStream===void 0?p(w("cancel")):q(this,D):p(Mt("cancel"))}read(){if(!je(this))return p(Mt("read"));if(this._ownerReadableStream===void 0)return p(w("read from"));let D,Y,re=b((fe,Ie)=>{D=fe,Y=Ie});return Yt(this,{_chunkSteps:fe=>D({value:fe,done:!1}),_closeSteps:()=>D({value:void 0,done:!0}),_errorSteps:fe=>Y(fe)}),re}releaseLock(){if(!je(this))throw Mt("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");V(this)}}}Object.defineProperties(ht.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(ht.prototype,n.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function je(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_readRequests")?!1:y instanceof ht}function Yt(y,D){let Y=y._ownerReadableStream;Y._disturbed=!0,Y._state==="closed"?D._closeSteps():Y._state==="errored"?D._errorSteps(Y._storedError):Y._readableStreamController[we](D)}function Mt(y){return new TypeError(`ReadableStreamDefaultReader.prototype.${y} can only be used on a ReadableStreamDefaultReader`)}let Ot=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class zt{constructor(D,Y){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=D,this._preventCancel=Y}next(){let D=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?S(this._ongoingPromise,D,D):D(),this._ongoingPromise}return(D){let Y=()=>this._returnSteps(D);return this._ongoingPromise?S(this._ongoingPromise,Y,Y):Y()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let D=this._reader;if(D._ownerReadableStream===void 0)return p(w("iterate"));let Y,re,fe=b((Ie,Ne)=>{Y=Ie,re=Ne});return Yt(D,{_chunkSteps:Ie=>{this._ongoingPromise=void 0,T(()=>Y({value:Ie,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,V(D),Y({value:void 0,done:!0})},_errorSteps:Ie=>{this._ongoingPromise=void 0,this._isFinished=!0,V(D),re(Ie)}}),fe}_returnSteps(D){if(this._isFinished)return Promise.resolve({value:D,done:!0});this._isFinished=!0;let Y=this._reader;if(Y._ownerReadableStream===void 0)return p(w("finish iterating"));if(!this._preventCancel){let re=q(Y,D);return V(Y),S(re,()=>({value:D,done:!0}))}return V(Y),C({value:D,done:!0})}}let Jt={next(){return fr(this)?this._asyncIteratorImpl.next():p(mr("next"))},return(y){return fr(this)?this._asyncIteratorImpl.return(y):p(mr("return"))}};Ot!==void 0&&Object.setPrototypeOf(Jt,Ot);function Kt(y,D){let Y=Oe(y),re=new zt(Y,D),fe=Object.create(Jt);return fe._asyncIteratorImpl=re,fe}function fr(y){if(!c(y)||!Object.prototype.hasOwnProperty.call(y,"_asyncIteratorImpl"))return!1;try{return y._asyncIteratorImpl instanceof zt}catch{return!1}}function mr(y){return new TypeError(`ReadableStreamAsyncIterator.${y} can only be used on a ReadableSteamAsyncIterator`)}let gr=Number.isNaN||function(y){return y!==y};function dr(y){return y.slice()}function xr(y,D,Y,re,fe){new Uint8Array(y).set(new Uint8Array(Y,re,fe),D)}function on(y){return y}function zr(y){return!1}function vn(y,D,Y){if(y.slice)return y.slice(D,Y);let re=Y-D,fe=new ArrayBuffer(re);return xr(fe,0,y,D,re),fe}function ii(y){return!(typeof y!="number"||gr(y)||y<0)}function Pn(y){let D=vn(y.buffer,y.byteOffset,y.byteOffset+y.byteLength);return new Uint8Array(D)}function qn(y){let D=y._queue.shift();return y._queueTotalSize-=D.size,y._queueTotalSize<0&&(y._queueTotalSize=0),D.value}function Qi(y,D,Y){if(!ii(Y)||Y===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");y._queue.push({value:D,size:Y}),y._queueTotalSize+=Y}function Ns(y){return y._queue.peek().value}function Sn(y){y._queue=new E,y._queueTotalSize=0}class Yi{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!br(this))throw cA("view");return this._view}respond(D){if(!br(this))throw cA("respond");if(X(D,1,"respond"),D=te(D,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");zr(this._view.buffer),AA(this._associatedReadableByteStreamController,D)}respondWithNewView(D){if(!br(this))throw cA("respondWithNewView");if(X(D,1,"respondWithNewView"),!ArrayBuffer.isView(D))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");zr(D.buffer),aA(this._associatedReadableByteStreamController,D)}}Object.defineProperties(Yi.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Yi.prototype,n.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class Zt{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!er(this))throw en("byobRequest");return jA(this)}get desiredSize(){if(!er(this))throw en("desiredSize");return fo(this)}close(){if(!er(this))throw en("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let D=this._controlledReadableByteStream._state;if(D!=="readable")throw new TypeError(`The stream (in ${D} state) is not in the readable state and cannot be closed`);ho(this)}enqueue(D){if(!er(this))throw en("enqueue");if(X(D,1,"enqueue"),!ArrayBuffer.isView(D))throw new TypeError("chunk must be an array buffer view");if(D.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(D.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 Y=this._controlledReadableByteStream._state;if(Y!=="readable")throw new TypeError(`The stream (in ${Y} state) is not in the readable state and cannot be enqueued to`);mi(this,D)}error(D=void 0){if(!er(this))throw en("error");An(this,D)}[Ee](D){Er(this),Sn(this);let Y=this._cancelAlgorithm(D);return oA(this),Y}[we](D){let Y=this._controlledReadableByteStream;if(this._queueTotalSize>0){let fe=this._queue.shift();this._queueTotalSize-=fe.byteLength,Dr(this);let Ie=new Uint8Array(fe.buffer,fe.byteOffset,fe.byteLength);D._chunkSteps(Ie);return}let re=this._autoAllocateChunkSize;if(re!==void 0){let fe;try{fe=new ArrayBuffer(re)}catch(Ne){D._errorSteps(Ne);return}let Ie={buffer:fe,bufferByteLength:re,byteOffset:0,byteLength:re,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(Ie)}Ve(Y,D),tr(this)}}Object.defineProperties(Zt.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Zt.prototype,n.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function er(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledReadableByteStream")?!1:y instanceof Zt}function br(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_associatedReadableByteStreamController")?!1:y instanceof Yi}function tr(y){if(!Hl(y))return;if(y._pulling){y._pullAgain=!0;return}y._pulling=!0;let D=y._pullAlgorithm();R(D,()=>{y._pulling=!1,y._pullAgain&&(y._pullAgain=!1,tr(y))},Y=>{An(y,Y)})}function Er(y){vr(y),y._pendingPullIntos=new E}function wr(y,D){let Y=!1;y._state==="closed"&&(Y=!0);let re=pr(D);D.readerType==="default"?pe(y,re,Y):Gl(y,re,Y)}function pr(y){let D=y.bytesFilled,Y=y.elementSize;return new y.viewConstructor(y.buffer,y.byteOffset,D/Y)}function Cr(y,D,Y,re){y._queue.push({buffer:D,byteOffset:Y,byteLength:re}),y._queueTotalSize+=re}function _r(y,D){let Y=D.elementSize,re=D.bytesFilled-D.bytesFilled%Y,fe=Math.min(y._queueTotalSize,D.byteLength-D.bytesFilled),Ie=D.bytesFilled+fe,Ne=Ie-Ie%Y,Ge=fe,ft=!1;Ne>re&&(Ge=Ne-D.bytesFilled,ft=!0);let Ct=y._queue;for(;Ge>0;){let mt=Ct.peek(),vt=Math.min(Ge,mt.byteLength),or=D.byteOffset+D.bytesFilled;xr(D.buffer,or,mt.buffer,mt.byteOffset,vt),mt.byteLength===vt?Ct.shift():(mt.byteOffset+=vt,mt.byteLength-=vt),y._queueTotalSize-=vt,kr(y,vt,D),Ge-=vt}return ft}function kr(y,D,Y){Y.bytesFilled+=D}function Dr(y){y._queueTotalSize===0&&y._closeRequested?(oA(y),bt(y._controlledReadableByteStream)):tr(y)}function vr(y){y._byobRequest!==null&&(y._byobRequest._associatedReadableByteStreamController=void 0,y._byobRequest._view=null,y._byobRequest=null)}function Nr(y){for(;y._pendingPullIntos.length>0;){if(y._queueTotalSize===0)return;let D=y._pendingPullIntos.peek();_r(y,D)&&(sA(y),wr(y._controlledReadableByteStream,D))}}function Mr(y,D,Y){let re=y._controlledReadableByteStream,fe=1;D.constructor!==DataView&&(fe=D.constructor.BYTES_PER_ELEMENT);let Ie=D.constructor,Ne=D.buffer,Ge={buffer:Ne,bufferByteLength:Ne.byteLength,byteOffset:D.byteOffset,byteLength:D.byteLength,bytesFilled:0,elementSize:fe,viewConstructor:Ie,readerType:"byob"};if(y._pendingPullIntos.length>0){y._pendingPullIntos.push(Ge),Ac(re,Y);return}if(re._state==="closed"){let ft=new Ie(Ge.buffer,Ge.byteOffset,0);Y._closeSteps(ft);return}if(y._queueTotalSize>0){if(_r(y,Ge)){let ft=pr(Ge);Dr(y),Y._chunkSteps(ft);return}if(y._closeRequested){let ft=new TypeError("Insufficient bytes to fill elements in the given buffer");An(y,ft),Y._errorSteps(ft);return}}y._pendingPullIntos.push(Ge),Ac(re,Y),tr(y)}function cr(y,D){let Y=y._controlledReadableByteStream;if(G(Y))for(;zA(Y)>0;){let re=sA(y);wr(Y,re)}}function Sr(y,D,Y){if(kr(y,D,Y),Y.bytesFilled0){let fe=Y.byteOffset+Y.bytesFilled,Ie=vn(Y.buffer,fe-re,fe);Cr(y,Ie,0,Ie.byteLength)}Y.bytesFilled-=re,wr(y._controlledReadableByteStream,Y),Nr(y)}function rc(y,D){let Y=y._pendingPullIntos.peek();vr(y),y._controlledReadableByteStream._state==="closed"?cr(y):Sr(y,D,Y),tr(y)}function sA(y){return y._pendingPullIntos.shift()}function Hl(y){let D=y._controlledReadableByteStream;return D._state!=="readable"||y._closeRequested||!y._started?!1:!!(Xe(D)&&Ue(D)>0||G(D)&&zA(D)>0||fo(y)>0)}function oA(y){y._pullAlgorithm=void 0,y._cancelAlgorithm=void 0}function ho(y){let D=y._controlledReadableByteStream;if(!(y._closeRequested||D._state!=="readable")){if(y._queueTotalSize>0){y._closeRequested=!0;return}if(y._pendingPullIntos.length>0&&y._pendingPullIntos.peek().bytesFilled>0){let Y=new TypeError("Insufficient bytes to fill elements in the given buffer");throw An(y,Y),Y}oA(y),bt(D)}}function mi(y,D){let Y=y._controlledReadableByteStream;if(y._closeRequested||Y._state!=="readable")return;let re=D.buffer,fe=D.byteOffset,Ie=D.byteLength,Ne=re;if(y._pendingPullIntos.length>0){let Ge=y._pendingPullIntos.peek();zr(Ge.buffer),Ge.buffer=Ge.buffer}if(vr(y),Xe(Y))if(Ue(Y)===0)Cr(y,Ne,fe,Ie);else{y._pendingPullIntos.length>0&&sA(y);let Ge=new Uint8Array(Ne,fe,Ie);pe(Y,Ge,!1)}else G(Y)?(Cr(y,Ne,fe,Ie),Nr(y)):Cr(y,Ne,fe,Ie);tr(y)}function An(y,D){let Y=y._controlledReadableByteStream;Y._state==="readable"&&(Er(y),Sn(y),oA(y),Or(Y,D))}function jA(y){if(y._byobRequest===null&&y._pendingPullIntos.length>0){let D=y._pendingPullIntos.peek(),Y=new Uint8Array(D.buffer,D.byteOffset+D.bytesFilled,D.byteLength-D.bytesFilled),re=Object.create(Yi.prototype);sc(re,y,Y),y._byobRequest=re}return y._byobRequest}function fo(y){let D=y._controlledReadableByteStream._state;return D==="errored"?null:D==="closed"?0:y._strategyHWM-y._queueTotalSize}function AA(y,D){let Y=y._pendingPullIntos.peek();if(y._controlledReadableByteStream._state==="closed"){if(D!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(D===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(Y.bytesFilled+D>Y.byteLength)throw new RangeError("bytesWritten out of range")}Y.buffer=Y.buffer,rc(y,D)}function aA(y,D){let Y=y._pendingPullIntos.peek();if(y._controlledReadableByteStream._state==="closed"){if(D.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(D.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(Y.byteOffset+Y.bytesFilled!==D.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(Y.bufferByteLength!==D.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(Y.bytesFilled+D.byteLength>Y.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let re=D.byteLength;Y.buffer=D.buffer,rc(y,re)}function nc(y,D,Y,re,fe,Ie,Ne){D._controlledReadableByteStream=y,D._pullAgain=!1,D._pulling=!1,D._byobRequest=null,D._queue=D._queueTotalSize=void 0,Sn(D),D._closeRequested=!1,D._started=!1,D._strategyHWM=Ie,D._pullAlgorithm=re,D._cancelAlgorithm=fe,D._autoAllocateChunkSize=Ne,D._pendingPullIntos=new E,y._readableStreamController=D;let Ge=Y();R(C(Ge),()=>{D._started=!0,tr(D)},ft=>{An(D,ft)})}function ic(y,D,Y){let re=Object.create(Zt.prototype),fe=()=>{},Ie=()=>C(void 0),Ne=()=>C(void 0);D.start!==void 0&&(fe=()=>D.start(re)),D.pull!==void 0&&(Ie=()=>D.pull(re)),D.cancel!==void 0&&(Ne=ft=>D.cancel(ft));let Ge=D.autoAllocateChunkSize;if(Ge===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");nc(y,re,fe,Ie,Ne,Y,Ge)}function sc(y,D,Y){y._associatedReadableByteStreamController=D,y._view=Y}function cA(y){return new TypeError(`ReadableStreamBYOBRequest.prototype.${y} can only be used on a ReadableStreamBYOBRequest`)}function en(y){return new TypeError(`ReadableByteStreamController.prototype.${y} can only be used on a ReadableByteStreamController`)}function oc(y){return new j(y)}function Ac(y,D){y._reader._readIntoRequests.push(D)}function Gl(y,D,Y){let re=y._reader._readIntoRequests.shift();Y?re._closeSteps(D):re._chunkSteps(D)}function zA(y){return y._reader._readIntoRequests.length}function G(y){let D=y._reader;return!(D===void 0||!Z(D))}class j{constructor(D){if(X(D,1,"ReadableStreamBYOBReader"),me(D,"First parameter"),Pe(D))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!er(D._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");O(this,D),this._readIntoRequests=new E}get closed(){return Z(this)?this._closedPromise:p(Be("closed"))}cancel(D=void 0){return Z(this)?this._ownerReadableStream===void 0?p(w("cancel")):q(this,D):p(Be("cancel"))}read(D){if(!Z(this))return p(Be("read"));if(!ArrayBuffer.isView(D))return p(new TypeError("view must be an array buffer view"));if(D.byteLength===0)return p(new TypeError("view must have non-zero byteLength"));if(D.buffer.byteLength===0)return p(new TypeError("view's buffer must have non-zero byteLength"));if(zr(D.buffer),this._ownerReadableStream===void 0)return p(w("read from"));let Y,re,fe=b((Ie,Ne)=>{Y=Ie,re=Ne});return le(this,D,{_chunkSteps:Ie=>Y({value:Ie,done:!1}),_closeSteps:Ie=>Y({value:Ie,done:!0}),_errorSteps:Ie=>re(Ie)}),fe}releaseLock(){if(!Z(this))throw Be("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");V(this)}}}Object.defineProperties(j.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(j.prototype,n.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function Z(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_readIntoRequests")?!1:y instanceof j}function le(y,D,Y){let re=y._ownerReadableStream;re._disturbed=!0,re._state==="errored"?Y._errorSteps(re._storedError):Mr(re._readableStreamController,D,Y)}function Be(y){return new TypeError(`ReadableStreamBYOBReader.prototype.${y} can only be used on a ReadableStreamBYOBReader`)}function ve(y,D){let{highWaterMark:Y}=y;if(Y===void 0)return D;if(gr(Y)||Y<0)throw new RangeError("Invalid highWaterMark");return Y}function Me(y){let{size:D}=y;return D||(()=>1)}function Fe(y,D){Se(y,D);let Y=y?.highWaterMark,re=y?.size;return{highWaterMark:Y===void 0?void 0:k(Y),size:re===void 0?void 0:Lt(re,`${D} has member 'size' that`)}}function Lt(y,D){return lt(y,D),Y=>k(y(Y))}function Tr(y,D){Se(y,D);let Y=y?.abort,re=y?.close,fe=y?.start,Ie=y?.type,Ne=y?.write;return{abort:Y===void 0?void 0:an(Y,y,`${D} has member 'abort' that`),close:re===void 0?void 0:gn(re,y,`${D} has member 'close' that`),start:fe===void 0?void 0:si(fe,y,`${D} has member 'start' that`),write:Ne===void 0?void 0:Ts(Ne,y,`${D} has member 'write' that`),type:Ie}}function an(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function gn(y,D,Y){return lt(y,Y),()=>v(y,D,[])}function si(y,D,Y){return lt(y,Y),re=>L(y,D,[re])}function Ts(y,D,Y){return lt(y,Y),(re,fe)=>v(y,D,[re,fe])}function cn(y,D){if(!Eo(y))throw new TypeError(`${D} is not a WritableStream.`)}function Kr(y){if(typeof y!="object"||y===null)return!1;try{return typeof y.aborted=="boolean"}catch{return!1}}let go=typeof AbortController=="function";function bi(){if(go)return new AbortController}class hs{constructor(D={},Y={}){D===void 0?D=null:U(D,"First parameter");let re=Fe(Y,"Second parameter"),fe=Tr(D,"First parameter");if(Jl(this),fe.type!==void 0)throw new RangeError("Invalid type is specified");let Ie=Me(re),Ne=ve(re,1);rf(this,fe,Ne,Ie)}get locked(){if(!Eo(this))throw uA("locked");return lA(this)}abort(D=void 0){return Eo(this)?lA(this)?p(new TypeError("Cannot abort a stream that already has a writer")):ac(this,D):p(uA("abort"))}close(){return Eo(this)?lA(this)?p(new TypeError("Cannot close a stream that already has a writer")):Ji(this)?p(new TypeError("Cannot close an already-closing stream")):Xh(this):p(uA("close"))}getWriter(){if(!Eo(this))throw uA("getWriter");return Yl(this)}}Object.defineProperties(hs.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(hs.prototype,n.toStringTag,{value:"WritableStream",configurable:!0});function Yl(y){return new KA(y)}function Kh(y,D,Y,re,fe=1,Ie=()=>1){let Ne=Object.create(hs.prototype);Jl(Ne);let Ge=Object.create(Fs.prototype);return Zl(Ne,Ge,y,D,Y,re,fe,Ie),Ne}function Jl(y){y._state="writable",y._storedError=void 0,y._writer=void 0,y._writableStreamController=void 0,y._writeRequests=new E,y._inFlightWriteRequest=void 0,y._closeRequest=void 0,y._inFlightCloseRequest=void 0,y._pendingAbortRequest=void 0,y._backpressure=!1}function Eo(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_writableStreamController")?!1:y instanceof hs}function lA(y){return y._writer!==void 0}function ac(y,D){var Y;if(y._state==="closed"||y._state==="errored")return C(void 0);y._writableStreamController._abortReason=D,(Y=y._writableStreamController._abortController)===null||Y===void 0||Y.abort();let re=y._state;if(re==="closed"||re==="errored")return C(void 0);if(y._pendingAbortRequest!==void 0)return y._pendingAbortRequest._promise;let fe=!1;re==="erroring"&&(fe=!0,D=void 0);let Ie=b((Ne,Ge)=>{y._pendingAbortRequest={_promise:void 0,_resolve:Ne,_reject:Ge,_reason:D,_wasAlreadyErroring:fe}});return y._pendingAbortRequest._promise=Ie,fe||jl(y,D),Ie}function Xh(y){let D=y._state;if(D==="closed"||D==="errored")return p(new TypeError(`The stream (in ${D} state) is not in the writable state and cannot be closed`));let Y=b((fe,Ie)=>{let Ne={_resolve:fe,_reject:Ie};y._closeRequest=Ne}),re=y._writer;return re!==void 0&&y._backpressure&&D==="writable"&&ZA(re),nf(y._writableStreamController),Y}function $h(y){return b((D,Y)=>{let re={_resolve:D,_reject:Y};y._writeRequests.push(re)})}function Wl(y,D){if(y._state==="writable"){jl(y,D);return}zl(y)}function jl(y,D){let Y=y._writableStreamController;y._state="erroring",y._storedError=D;let re=y._writer;re!==void 0&&tf(re,D),!np(y)&&Y._started&&zl(y)}function zl(y){y._state="errored",y._writableStreamController[ge]();let D=y._storedError;if(y._writeRequests.forEach(fe=>{fe._reject(D)}),y._writeRequests=new E,y._pendingAbortRequest===void 0){Pt(y);return}let Y=y._pendingAbortRequest;if(y._pendingAbortRequest=void 0,Y._wasAlreadyErroring){Y._reject(D),Pt(y);return}let re=y._writableStreamController[ce](Y._reason);R(re,()=>{Y._resolve(),Pt(y)},fe=>{Y._reject(fe),Pt(y)})}function ep(y){y._inFlightWriteRequest._resolve(void 0),y._inFlightWriteRequest=void 0}function Kl(y,D){y._inFlightWriteRequest._reject(D),y._inFlightWriteRequest=void 0,Wl(y,D)}function tp(y){y._inFlightCloseRequest._resolve(void 0),y._inFlightCloseRequest=void 0,y._state==="erroring"&&(y._storedError=void 0,y._pendingAbortRequest!==void 0&&(y._pendingAbortRequest._resolve(),y._pendingAbortRequest=void 0)),y._state="closed";let D=y._writer;D!==void 0&&ru(D)}function rp(y,D){y._inFlightCloseRequest._reject(D),y._inFlightCloseRequest=void 0,y._pendingAbortRequest!==void 0&&(y._pendingAbortRequest._reject(D),y._pendingAbortRequest=void 0),Wl(y,D)}function Ji(y){return!(y._closeRequest===void 0&&y._inFlightCloseRequest===void 0)}function np(y){return!(y._inFlightWriteRequest===void 0&&y._inFlightCloseRequest===void 0)}function ip(y){y._inFlightCloseRequest=y._closeRequest,y._closeRequest=void 0}function sr(y){y._inFlightWriteRequest=y._writeRequests.shift()}function Pt(y){y._closeRequest!==void 0&&(y._closeRequest._reject(y._storedError),y._closeRequest=void 0);let D=y._writer;D!==void 0&&tu(D,y._storedError)}function Xl(y,D){let Y=y._writer;Y!==void 0&&D!==y._backpressure&&(D?af(Y):ZA(Y)),y._backpressure=D}class KA{constructor(D){if(X(D,1,"WritableStreamDefaultWriter"),cn(D,"First parameter"),lA(D))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=D,D._writer=this;let Y=D._state;if(Y==="writable")!Ji(D)&&D._backpressure?Io(this):Af(this),uc(this);else if(Y==="erroring")Us(this,D._storedError),uc(this);else if(Y==="closed")Af(this),ap(this);else{let re=D._storedError;Us(this,re),hc(this,re)}}get closed(){return po(this)?this._closedPromise:p(kn("closed"))}get desiredSize(){if(!po(this))throw kn("desiredSize");if(this._ownerWritableStream===void 0)throw Co("desiredSize");return Xr(this)}get ready(){return po(this)?this._readyPromise:p(kn("ready"))}abort(D=void 0){return po(this)?this._ownerWritableStream===void 0?p(Co("abort")):sp(this,D):p(kn("abort"))}close(){if(!po(this))return p(kn("close"));let D=this._ownerWritableStream;return D===void 0?p(Co("close")):Ji(D)?p(new TypeError("Cannot close an already-closing stream")):Zh(this)}releaseLock(){if(!po(this))throw kn("releaseLock");this._ownerWritableStream!==void 0&&cc(this)}write(D=void 0){return po(this)?this._ownerWritableStream===void 0?p(Co("write to")):Ls(this,D):p(kn("write"))}}Object.defineProperties(KA.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(KA.prototype,n.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function po(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_ownerWritableStream")?!1:y instanceof KA}function sp(y,D){let Y=y._ownerWritableStream;return ac(Y,D)}function Zh(y){let D=y._ownerWritableStream;return Xh(D)}function op(y){let D=y._ownerWritableStream,Y=D._state;return Ji(D)||Y==="closed"?C(void 0):Y==="errored"?p(D._storedError):Zh(y)}function ef(y,D){y._closedPromiseState==="pending"?tu(y,D):cp(y,D)}function tf(y,D){y._readyPromiseState==="pending"?nu(y,D):iu(y,D)}function Xr(y){let D=y._ownerWritableStream,Y=D._state;return Y==="errored"||Y==="erroring"?null:Y==="closed"?0:eu(D._writableStreamController)}function cc(y){let D=y._ownerWritableStream,Y=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");tf(y,Y),ef(y,Y),D._writer=void 0,y._ownerWritableStream=void 0}function Ls(y,D){let Y=y._ownerWritableStream,re=Y._writableStreamController,fe=sf(re,D);if(Y!==y._ownerWritableStream)return p(Co("write to"));let Ie=Y._state;if(Ie==="errored")return p(Y._storedError);if(Ji(Y)||Ie==="closed")return p(new TypeError("The stream is closing or closed and cannot be written to"));if(Ie==="erroring")return p(Y._storedError);let Ne=$h(Y);return Vn(re,D,fe),Ne}let $l={};class Fs{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Rn(this))throw rr("abortReason");return this._abortReason}get signal(){if(!Rn(this))throw rr("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(D=void 0){if(!Rn(this))throw rr("error");this._controlledWritableStream._state==="writable"&&$A(this,D)}[ce](D){let Y=this._abortAlgorithm(D);return XA(this),Y}[ge](){Sn(this)}}Object.defineProperties(Fs.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Fs.prototype,n.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function Rn(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledWritableStream")?!1:y instanceof Fs}function Zl(y,D,Y,re,fe,Ie,Ne,Ge){D._controlledWritableStream=y,y._writableStreamController=D,D._queue=void 0,D._queueTotalSize=void 0,Sn(D),D._abortReason=void 0,D._abortController=bi(),D._started=!1,D._strategySizeAlgorithm=Ge,D._strategyHWM=Ne,D._writeAlgorithm=re,D._closeAlgorithm=fe,D._abortAlgorithm=Ie;let ft=Wi(D);Xl(y,ft);let Ct=Y(),mt=C(Ct);R(mt,()=>{D._started=!0,lc(D)},vt=>{D._started=!0,Wl(y,vt)})}function rf(y,D,Y,re){let fe=Object.create(Fs.prototype),Ie=()=>{},Ne=()=>C(void 0),Ge=()=>C(void 0),ft=()=>C(void 0);D.start!==void 0&&(Ie=()=>D.start(fe)),D.write!==void 0&&(Ne=Ct=>D.write(Ct,fe)),D.close!==void 0&&(Ge=()=>D.close()),D.abort!==void 0&&(ft=Ct=>D.abort(Ct)),Zl(y,fe,Ie,Ne,Ge,ft,Y,re)}function XA(y){y._writeAlgorithm=void 0,y._closeAlgorithm=void 0,y._abortAlgorithm=void 0,y._strategySizeAlgorithm=void 0}function nf(y){Qi(y,$l,0),lc(y)}function sf(y,D){try{return y._strategySizeAlgorithm(D)}catch(Y){return _n(y,Y),1}}function eu(y){return y._strategyHWM-y._queueTotalSize}function Vn(y,D,Y){try{Qi(y,D,Y)}catch(fe){_n(y,fe);return}let re=y._controlledWritableStream;if(!Ji(re)&&re._state==="writable"){let fe=Wi(y);Xl(re,fe)}lc(y)}function lc(y){let D=y._controlledWritableStream;if(!y._started||D._inFlightWriteRequest!==void 0)return;if(D._state==="erroring"){zl(D);return}if(y._queue.length===0)return;let Y=Ns(y);Y===$l?Ap(y):of(y,Y)}function _n(y,D){y._controlledWritableStream._state==="writable"&&$A(y,D)}function Ap(y){let D=y._controlledWritableStream;ip(D),qn(y);let Y=y._closeAlgorithm();XA(y),R(Y,()=>{tp(D)},re=>{rp(D,re)})}function of(y,D){let Y=y._controlledWritableStream;sr(Y);let re=y._writeAlgorithm(D);R(re,()=>{ep(Y);let fe=Y._state;if(qn(y),!Ji(Y)&&fe==="writable"){let Ie=Wi(y);Xl(Y,Ie)}lc(y)},fe=>{Y._state==="writable"&&XA(y),Kl(Y,fe)})}function Wi(y){return eu(y)<=0}function $A(y,D){let Y=y._controlledWritableStream;XA(y),jl(Y,D)}function uA(y){return new TypeError(`WritableStream.prototype.${y} can only be used on a WritableStream`)}function rr(y){return new TypeError(`WritableStreamDefaultController.prototype.${y} can only be used on a WritableStreamDefaultController`)}function kn(y){return new TypeError(`WritableStreamDefaultWriter.prototype.${y} can only be used on a WritableStreamDefaultWriter`)}function Co(y){return new TypeError("Cannot "+y+" a stream using a released writer")}function uc(y){y._closedPromise=b((D,Y)=>{y._closedPromise_resolve=D,y._closedPromise_reject=Y,y._closedPromiseState="pending"})}function hc(y,D){uc(y),tu(y,D)}function ap(y){uc(y),ru(y)}function tu(y,D){y._closedPromise_reject!==void 0&&(m(y._closedPromise),y._closedPromise_reject(D),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0,y._closedPromiseState="rejected")}function cp(y,D){hc(y,D)}function ru(y){y._closedPromise_resolve!==void 0&&(y._closedPromise_resolve(void 0),y._closedPromise_resolve=void 0,y._closedPromise_reject=void 0,y._closedPromiseState="resolved")}function Io(y){y._readyPromise=b((D,Y)=>{y._readyPromise_resolve=D,y._readyPromise_reject=Y}),y._readyPromiseState="pending"}function Us(y,D){Io(y),nu(y,D)}function Af(y){Io(y),ZA(y)}function nu(y,D){y._readyPromise_reject!==void 0&&(m(y._readyPromise),y._readyPromise_reject(D),y._readyPromise_resolve=void 0,y._readyPromise_reject=void 0,y._readyPromiseState="rejected")}function af(y){Io(y)}function iu(y,D){Us(y,D)}function ZA(y){y._readyPromise_resolve!==void 0&&(y._readyPromise_resolve(void 0),y._readyPromise_resolve=void 0,y._readyPromise_reject=void 0,y._readyPromiseState="fulfilled")}let su=typeof DOMException<"u"?DOMException:void 0;function lp(y){if(!(typeof y=="function"||typeof y=="object"))return!1;try{return new y,!0}catch{return!1}}function ou(){let y=function(D,Y){this.message=D||"",this.name=Y||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return y.prototype=Object.create(Error.prototype),Object.defineProperty(y.prototype,"constructor",{value:y,writable:!0,configurable:!0}),y}let Au=lp(su)?su:ou();function cf(y,D,Y,re,fe,Ie){let Ne=Oe(y),Ge=Yl(D);y._disturbed=!0;let ft=!1,Ct=C(void 0);return b((mt,vt)=>{let or;if(Ie!==void 0){if(or=()=>{let We=new Au("Aborted","AbortError"),It=[];re||It.push(()=>D._state==="writable"?ac(D,We):C(void 0)),fe||It.push(()=>y._state==="readable"?ze(y,We):C(void 0)),Hn(()=>Promise.all(It.map(Tt=>Tt())),!0,We)},Ie.aborted){or();return}Ie.addEventListener("abort",or)}function En(){return b((We,It)=>{function Tt(pn){pn?We():Q(zi(),Tt,It)}Tt(!1)})}function zi(){return ft?C(!0):Q(Ge._readyPromise,()=>b((We,It)=>{Yt(Ne,{_chunkSteps:Tt=>{Ct=Q(Ls(Ge,Tt),void 0,i),We(!1)},_closeSteps:()=>We(!0),_errorSteps:It})}))}if(Dn(y,Ne._closedPromise,We=>{re?oi(!0,We):Hn(()=>ac(D,We),!0,We)}),Dn(D,Ge._closedPromise,We=>{fe?oi(!0,We):Hn(()=>ze(y,We),!0,We)}),tn(y,Ne._closedPromise,()=>{Y?oi():Hn(()=>op(Ge))}),Ji(D)||D._state==="closed"){let We=new TypeError("the destination writable stream closed before all data could be piped to it");fe?oi(!0,We):Hn(()=>ze(y,We),!0,We)}m(En());function Si(){let We=Ct;return Q(Ct,()=>We!==Ct?Si():void 0)}function Dn(We,It,Tt){We._state==="errored"?Tt(We._storedError):d(It,Tt)}function tn(We,It,Tt){We._state==="closed"?Tt():_(It,Tt)}function Hn(We,It,Tt){if(ft)return;ft=!0,D._state==="writable"&&!Ji(D)?_(Si(),pn):pn();function pn(){R(We(),()=>So(It,Tt),K=>So(!0,K))}}function oi(We,It){ft||(ft=!0,D._state==="writable"&&!Ji(D)?_(Si(),()=>So(We,It)):So(We,It))}function So(We,It){cc(Ge),V(Ne),Ie!==void 0&&Ie.removeEventListener("abort",or),We?vt(It):mt(void 0)}})}class Bo{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!ln(this))throw gc("desiredSize");return au(this)}close(){if(!ln(this))throw gc("close");if(!gA(this))throw new TypeError("The stream is not in a state that permits close");fA(this)}enqueue(D=void 0){if(!ln(this))throw gc("enqueue");if(!gA(this))throw new TypeError("The stream is not in a state that permits enqueue");return fc(this,D)}error(D=void 0){if(!ln(this))throw gc("error");xs(this,D)}[Ee](D){Sn(this);let Y=this._cancelAlgorithm(D);return ea(this),Y}[we](D){let Y=this._controlledReadableStream;if(this._queue.length>0){let re=qn(this);this._closeRequested&&this._queue.length===0?(ea(this),bt(Y)):yo(this),D._chunkSteps(re)}else Ve(Y,D),yo(this)}}Object.defineProperties(Bo.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Bo.prototype,n.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function ln(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledReadableStream")?!1:y instanceof Bo}function yo(y){if(!hA(y))return;if(y._pulling){y._pullAgain=!0;return}y._pulling=!0;let D=y._pullAlgorithm();R(D,()=>{y._pulling=!1,y._pullAgain&&(y._pullAgain=!1,yo(y))},Y=>{xs(y,Y)})}function hA(y){let D=y._controlledReadableStream;return!gA(y)||!y._started?!1:!!(Pe(D)&&Ue(D)>0||au(y)>0)}function ea(y){y._pullAlgorithm=void 0,y._cancelAlgorithm=void 0,y._strategySizeAlgorithm=void 0}function fA(y){if(!gA(y))return;let D=y._controlledReadableStream;y._closeRequested=!0,y._queue.length===0&&(ea(y),bt(D))}function fc(y,D){if(!gA(y))return;let Y=y._controlledReadableStream;if(Pe(Y)&&Ue(Y)>0)pe(Y,D,!1);else{let re;try{re=y._strategySizeAlgorithm(D)}catch(fe){throw xs(y,fe),fe}try{Qi(y,D,re)}catch(fe){throw xs(y,fe),fe}}yo(y)}function xs(y,D){let Y=y._controlledReadableStream;Y._state==="readable"&&(Sn(y),ea(y),Or(Y,D))}function au(y){let D=y._controlledReadableStream._state;return D==="errored"?null:D==="closed"?0:y._strategyHWM-y._queueTotalSize}function up(y){return!hA(y)}function gA(y){let D=y._controlledReadableStream._state;return!y._closeRequested&&D==="readable"}function Qo(y,D,Y,re,fe,Ie,Ne){D._controlledReadableStream=y,D._queue=void 0,D._queueTotalSize=void 0,Sn(D),D._started=!1,D._closeRequested=!1,D._pullAgain=!1,D._pulling=!1,D._strategySizeAlgorithm=Ne,D._strategyHWM=Ie,D._pullAlgorithm=re,D._cancelAlgorithm=fe,y._readableStreamController=D;let Ge=Y();R(C(Ge),()=>{D._started=!0,yo(D)},ft=>{xs(D,ft)})}function hp(y,D,Y,re){let fe=Object.create(Bo.prototype),Ie=()=>{},Ne=()=>C(void 0),Ge=()=>C(void 0);D.start!==void 0&&(Ie=()=>D.start(fe)),D.pull!==void 0&&(Ne=()=>D.pull(fe)),D.cancel!==void 0&&(Ge=ft=>D.cancel(ft)),Qo(y,fe,Ie,Ne,Ge,Y,re)}function gc(y){return new TypeError(`ReadableStreamDefaultController.prototype.${y} can only be used on a ReadableStreamDefaultController`)}function cu(y,D){return er(y._readableStreamController)?Ms(y):lf(y)}function lf(y,D){let Y=Oe(y),re=!1,fe=!1,Ie=!1,Ne=!1,Ge,ft,Ct,mt,vt,or=b(tn=>{vt=tn});function En(){return re?(fe=!0,C(void 0)):(re=!0,Yt(Y,{_chunkSteps:tn=>{T(()=>{fe=!1;let Hn=tn,oi=tn;Ie||fc(Ct._readableStreamController,Hn),Ne||fc(mt._readableStreamController,oi),re=!1,fe&&En()})},_closeSteps:()=>{re=!1,Ie||fA(Ct._readableStreamController),Ne||fA(mt._readableStreamController),(!Ie||!Ne)&&vt(void 0)},_errorSteps:()=>{re=!1}}),C(void 0))}function zi(tn){if(Ie=!0,Ge=tn,Ne){let Hn=dr([Ge,ft]),oi=ze(y,Hn);vt(oi)}return or}function Si(tn){if(Ne=!0,ft=tn,Ie){let Hn=dr([Ge,ft]),oi=ze(y,Hn);vt(oi)}return or}function Dn(){}return Ct=ji(Dn,En,zi),mt=ji(Dn,En,Si),d(Y._closedPromise,tn=>{xs(Ct._readableStreamController,tn),xs(mt._readableStreamController,tn),(!Ie||!Ne)&&vt(void 0)}),[Ct,mt]}function Ms(y){let D=Oe(y),Y=!1,re=!1,fe=!1,Ie=!1,Ne=!1,Ge,ft,Ct,mt,vt,or=b(We=>{vt=We});function En(We){d(We._closedPromise,It=>{We===D&&(An(Ct._readableStreamController,It),An(mt._readableStreamController,It),(!Ie||!Ne)&&vt(void 0))})}function zi(){Z(D)&&(V(D),D=Oe(y),En(D)),Yt(D,{_chunkSteps:We=>{T(()=>{re=!1,fe=!1;let It=We,Tt=We;if(!Ie&&!Ne)try{Tt=Pn(We)}catch(pn){An(Ct._readableStreamController,pn),An(mt._readableStreamController,pn),vt(ze(y,pn));return}Ie||mi(Ct._readableStreamController,It),Ne||mi(mt._readableStreamController,Tt),Y=!1,re?Dn():fe&&tn()})},_closeSteps:()=>{Y=!1,Ie||ho(Ct._readableStreamController),Ne||ho(mt._readableStreamController),Ct._readableStreamController._pendingPullIntos.length>0&&AA(Ct._readableStreamController,0),mt._readableStreamController._pendingPullIntos.length>0&&AA(mt._readableStreamController,0),(!Ie||!Ne)&&vt(void 0)},_errorSteps:()=>{Y=!1}})}function Si(We,It){je(D)&&(V(D),D=oc(y),En(D));let Tt=It?mt:Ct,pn=It?Ct:mt;le(D,We,{_chunkSteps:K=>{T(()=>{re=!1,fe=!1;let Ri=It?Ne:Ie;if(It?Ie:Ne)Ri||aA(Tt._readableStreamController,K);else{let fs;try{fs=Pn(K)}catch(Nn){An(Tt._readableStreamController,Nn),An(pn._readableStreamController,Nn),vt(ze(y,Nn));return}Ri||aA(Tt._readableStreamController,K),mi(pn._readableStreamController,fs)}Y=!1,re?Dn():fe&&tn()})},_closeSteps:K=>{Y=!1;let Ri=It?Ne:Ie,fs=It?Ie:Ne;Ri||ho(Tt._readableStreamController),fs||ho(pn._readableStreamController),K!==void 0&&(Ri||aA(Tt._readableStreamController,K),!fs&&pn._readableStreamController._pendingPullIntos.length>0&&AA(pn._readableStreamController,0)),(!Ri||!fs)&&vt(void 0)},_errorSteps:()=>{Y=!1}})}function Dn(){if(Y)return re=!0,C(void 0);Y=!0;let We=jA(Ct._readableStreamController);return We===null?zi():Si(We._view,!1),C(void 0)}function tn(){if(Y)return fe=!0,C(void 0);Y=!0;let We=jA(mt._readableStreamController);return We===null?zi():Si(We._view,!0),C(void 0)}function Hn(We){if(Ie=!0,Ge=We,Ne){let It=dr([Ge,ft]),Tt=ze(y,It);vt(Tt)}return or}function oi(We){if(Ne=!0,ft=We,Ie){let It=dr([Ge,ft]),Tt=ze(y,It);vt(Tt)}return or}function So(){}return Ct=ue(So,Dn,Hn),mt=ue(So,tn,oi),En(D),[Ct,mt]}function dc(y,D){Se(y,D);let Y=y,re=Y?.autoAllocateChunkSize,fe=Y?.cancel,Ie=Y?.pull,Ne=Y?.start,Ge=Y?.type;return{autoAllocateChunkSize:re===void 0?void 0:te(re,`${D} has member 'autoAllocateChunkSize' that`),cancel:fe===void 0?void 0:fp(fe,Y,`${D} has member 'cancel' that`),pull:Ie===void 0?void 0:gp(Ie,Y,`${D} has member 'pull' that`),start:Ne===void 0?void 0:dp(Ne,Y,`${D} has member 'start' that`),type:Ge===void 0?void 0:dA(Ge,`${D} has member 'type' that`)}}function fp(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function gp(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function dp(y,D,Y){return lt(y,Y),re=>L(y,D,[re])}function dA(y,D){if(y=`${y}`,y!=="bytes")throw new TypeError(`${D} '${y}' is not a valid enumeration value for ReadableStreamType`);return y}function wi(y,D){Se(y,D);let Y=y?.mode;return{mode:Y===void 0?void 0:uf(Y,`${D} has member 'mode' that`)}}function uf(y,D){if(y=`${y}`,y!=="byob")throw new TypeError(`${D} '${y}' is not a valid enumeration value for ReadableStreamReaderMode`);return y}function Ep(y,D){return Se(y,D),{preventCancel:!!y?.preventCancel}}function hf(y,D){Se(y,D);let Y=y?.preventAbort,re=y?.preventCancel,fe=y?.preventClose,Ie=y?.signal;return Ie!==void 0&&pp(Ie,`${D} has member 'signal' that`),{preventAbort:!!Y,preventCancel:!!re,preventClose:!!fe,signal:Ie}}function pp(y,D){if(!Kr(y))throw new TypeError(`${D} is not an AbortSignal.`)}function Cp(y,D){Se(y,D);let Y=y?.readable;z(Y,"readable","ReadableWritablePair"),me(Y,`${D} has member 'readable' that`);let re=y?.writable;return z(re,"writable","ReadableWritablePair"),cn(re,`${D} has member 'writable' that`),{readable:Y,writable:re}}class Os{constructor(D={},Y={}){D===void 0?D=null:U(D,"First parameter");let re=Fe(Y,"Second parameter"),fe=dc(D,"First parameter");if(Ce(this),fe.type==="bytes"){if(re.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let Ie=ve(re,0);ic(this,fe,Ie)}else{let Ie=Me(re),Ne=ve(re,1);hp(this,fe,Ne,Ie)}}get locked(){if(!de(this))throw _t("locked");return Pe(this)}cancel(D=void 0){return de(this)?Pe(this)?p(new TypeError("Cannot cancel a stream that already has a reader")):ze(this,D):p(_t("cancel"))}getReader(D=void 0){if(!de(this))throw _t("getReader");return wi(D,"First parameter").mode===void 0?Oe(this):oc(this)}pipeThrough(D,Y={}){if(!de(this))throw _t("pipeThrough");X(D,1,"pipeThrough");let re=Cp(D,"First parameter"),fe=hf(Y,"Second parameter");if(Pe(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(lA(re.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let Ie=cf(this,re.writable,fe.preventClose,fe.preventAbort,fe.preventCancel,fe.signal);return m(Ie),re.readable}pipeTo(D,Y={}){if(!de(this))return p(_t("pipeTo"));if(D===void 0)return p("Parameter 1 is required in 'pipeTo'.");if(!Eo(D))return p(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let re;try{re=hf(Y,"Second parameter")}catch(fe){return p(fe)}return Pe(this)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):lA(D)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):cf(this,D,re.preventClose,re.preventAbort,re.preventCancel,re.signal)}tee(){if(!de(this))throw _t("tee");let D=cu(this);return dr(D)}values(D=void 0){if(!de(this))throw _t("values");let Y=Ep(D,"First parameter");return Kt(this,Y.preventCancel)}}Object.defineProperties(Os.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Os.prototype,n.toStringTag,{value:"ReadableStream",configurable:!0}),typeof n.asyncIterator=="symbol"&&Object.defineProperty(Os.prototype,n.asyncIterator,{value:Os.prototype.values,writable:!0,configurable:!0});function ji(y,D,Y,re=1,fe=()=>1){let Ie=Object.create(Os.prototype);Ce(Ie);let Ne=Object.create(Bo.prototype);return Qo(Ie,Ne,y,D,Y,re,fe),Ie}function ue(y,D,Y){let re=Object.create(Os.prototype);Ce(re);let fe=Object.create(Zt.prototype);return nc(re,fe,y,D,Y,0,void 0),re}function Ce(y){y._state="readable",y._reader=void 0,y._storedError=void 0,y._disturbed=!1}function de(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_readableStreamController")?!1:y instanceof Os}function Pe(y){return y._reader!==void 0}function ze(y,D){if(y._disturbed=!0,y._state==="closed")return C(void 0);if(y._state==="errored")return p(y._storedError);bt(y);let Y=y._reader;Y!==void 0&&Z(Y)&&(Y._readIntoRequests.forEach(fe=>{fe._closeSteps(void 0)}),Y._readIntoRequests=new E);let re=y._readableStreamController[Ee](D);return S(re,i)}function bt(y){y._state="closed";let D=y._reader;D!==void 0&&(se(D),je(D)&&(D._readRequests.forEach(Y=>{Y._closeSteps()}),D._readRequests=new E))}function Or(y,D){y._state="errored",y._storedError=D;let Y=y._reader;Y!==void 0&&(P(Y,D),je(Y)?(Y._readRequests.forEach(re=>{re._errorSteps(D)}),Y._readRequests=new E):(Y._readIntoRequests.forEach(re=>{re._errorSteps(D)}),Y._readIntoRequests=new E))}function _t(y){return new TypeError(`ReadableStream.prototype.${y} can only be used on a ReadableStream`)}function Ec(y,D){Se(y,D);let Y=y?.highWaterMark;return z(Y,"highWaterMark","QueuingStrategyInit"),{highWaterMark:k(Y)}}let ff=y=>y.byteLength;try{Object.defineProperty(ff,"name",{value:"size",configurable:!0})}catch{}class dn{constructor(D){X(D,1,"ByteLengthQueuingStrategy"),D=Ec(D,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=D.highWaterMark}get highWaterMark(){if(!gf(this))throw ta("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!gf(this))throw ta("size");return ff}}Object.defineProperties(dn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(dn.prototype,n.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function ta(y){return new TypeError(`ByteLengthQueuingStrategy.prototype.${y} can only be used on a ByteLengthQueuingStrategy`)}function gf(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_byteLengthQueuingStrategyHighWaterMark")?!1:y instanceof dn}let mo=()=>1;try{Object.defineProperty(mo,"name",{value:"size",configurable:!0})}catch{}class bo{constructor(D){X(D,1,"CountQueuingStrategy"),D=Ec(D,"First parameter"),this._countQueuingStrategyHighWaterMark=D.highWaterMark}get highWaterMark(){if(!Ft(this))throw ra("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Ft(this))throw ra("size");return mo}}Object.defineProperties(bo.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(bo.prototype,n.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function ra(y){return new TypeError(`CountQueuingStrategy.prototype.${y} can only be used on a CountQueuingStrategy`)}function Ft(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_countQueuingStrategyHighWaterMark")?!1:y instanceof bo}function Ip(y,D){Se(y,D);let Y=y?.flush,re=y?.readableType,fe=y?.start,Ie=y?.transform,Ne=y?.writableType;return{flush:Y===void 0?void 0:df(Y,y,`${D} has member 'flush' that`),readableType:re,start:fe===void 0?void 0:pc(fe,y,`${D} has member 'start' that`),transform:Ie===void 0?void 0:Bp(Ie,y,`${D} has member 'transform' that`),writableType:Ne}}function df(y,D,Y){return lt(y,Y),re=>v(y,D,[re])}function pc(y,D,Y){return lt(y,Y),re=>L(y,D,[re])}function Bp(y,D,Y){return lt(y,Y),(re,fe)=>v(y,D,[re,fe])}class Cc{constructor(D={},Y={},re={}){D===void 0&&(D=null);let fe=Fe(Y,"Second parameter"),Ie=Fe(re,"Third parameter"),Ne=Ip(D,"First parameter");if(Ne.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(Ne.writableType!==void 0)throw new RangeError("Invalid writableType specified");let Ge=ve(Ie,0),ft=Me(Ie),Ct=ve(fe,1),mt=Me(fe),vt,or=b(En=>{vt=En});yp(this,or,Ct,mt,Ge,ft),Ic(this,Ne),Ne.start!==void 0?vt(Ne.start(this._transformStreamController)):vt(void 0)}get readable(){if(!na(this))throw pf("readable");return this._readable}get writable(){if(!na(this))throw pf("writable");return this._writable}}Object.defineProperties(Cc.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Cc.prototype,n.toStringTag,{value:"TransformStream",configurable:!0});function yp(y,D,Y,re,fe,Ie){function Ne(){return D}function Ge(or){return mp(y,or)}function ft(or){return bp(y,or)}function Ct(){return Bc(y)}y._writable=Kh(Ne,Ge,Ct,ft,Y,re);function mt(){return yc(y)}function vt(or){return wo(y,or),C(void 0)}y._readable=ji(Ne,mt,vt,fe,Ie),y._backpressure=void 0,y._backpressureChangePromise=void 0,y._backpressureChangePromise_resolve=void 0,ia(y,!0),y._transformStreamController=void 0}function na(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_transformStreamController")?!1:y instanceof Cc}function vi(y,D){xs(y._readable._readableStreamController,D),wo(y,D)}function wo(y,D){lu(y._transformStreamController),_n(y._writable._writableStreamController,D),y._backpressure&&ia(y,!1)}function ia(y,D){y._backpressureChangePromise!==void 0&&y._backpressureChangePromise_resolve(),y._backpressureChangePromise=b(Y=>{y._backpressureChangePromise_resolve=Y}),y._backpressure=D}class Ps{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!sa(this))throw pA("desiredSize");let D=this._controlledTransformStream._readable._readableStreamController;return au(D)}enqueue(D=void 0){if(!sa(this))throw pA("enqueue");EA(this,D)}error(D=void 0){if(!sa(this))throw pA("error");vo(this,D)}terminate(){if(!sa(this))throw pA("terminate");Qp(this)}}Object.defineProperties(Ps.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),typeof n.toStringTag=="symbol"&&Object.defineProperty(Ps.prototype,n.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function sa(y){return!c(y)||!Object.prototype.hasOwnProperty.call(y,"_controlledTransformStream")?!1:y instanceof Ps}function Ef(y,D,Y,re){D._controlledTransformStream=y,y._transformStreamController=D,D._transformAlgorithm=Y,D._flushAlgorithm=re}function Ic(y,D){let Y=Object.create(Ps.prototype),re=Ie=>{try{return EA(Y,Ie),C(void 0)}catch(Ne){return p(Ne)}},fe=()=>C(void 0);D.transform!==void 0&&(re=Ie=>D.transform(Ie,Y)),D.flush!==void 0&&(fe=()=>D.flush(Y)),Ef(y,Y,re,fe)}function lu(y){y._transformAlgorithm=void 0,y._flushAlgorithm=void 0}function EA(y,D){let Y=y._controlledTransformStream,re=Y._readable._readableStreamController;if(!gA(re))throw new TypeError("Readable side is not in a state that permits enqueue");try{fc(re,D)}catch(fe){throw wo(Y,fe),Y._readable._storedError}up(re)!==Y._backpressure&&ia(Y,!0)}function vo(y,D){vi(y._controlledTransformStream,D)}function oa(y,D){let Y=y._transformAlgorithm(D);return S(Y,void 0,re=>{throw vi(y._controlledTransformStream,re),re})}function Qp(y){let D=y._controlledTransformStream,Y=D._readable._readableStreamController;fA(Y);let re=new TypeError("TransformStream terminated");wo(D,re)}function mp(y,D){let Y=y._transformStreamController;if(y._backpressure){let re=y._backpressureChangePromise;return S(re,()=>{let fe=y._writable;if(fe._state==="erroring")throw fe._storedError;return oa(Y,D)})}return oa(Y,D)}function bp(y,D){return vi(y,D),C(void 0)}function Bc(y){let D=y._readable,Y=y._transformStreamController,re=Y._flushAlgorithm();return lu(Y),S(re,()=>{if(D._state==="errored")throw D._storedError;fA(D._readableStreamController)},fe=>{throw vi(y,fe),D._storedError})}function yc(y){return ia(y,!1),y._backpressureChangePromise}function pA(y){return new TypeError(`TransformStreamDefaultController.prototype.${y} can only be used on a TransformStreamDefaultController`)}function pf(y){return new TypeError(`TransformStream.prototype.${y} can only be used on a TransformStream`)}r.ByteLengthQueuingStrategy=dn,r.CountQueuingStrategy=bo,r.ReadableByteStreamController=Zt,r.ReadableStream=Os,r.ReadableStreamBYOBReader=j,r.ReadableStreamBYOBRequest=Yi,r.ReadableStreamDefaultController=Bo,r.ReadableStreamDefaultReader=ht,r.TransformStream=Cc,r.TransformStreamDefaultController=Ps,r.WritableStream=hs,r.WritableStreamDefaultController=Fs,r.WritableStreamDefaultWriter=KA,Object.defineProperty(r,"__esModule",{value:!0})})}),nX=nt(()=>{if(!globalThis.ReadableStream)try{let e=Tl("process"),{emitWarning:t}=e;try{e.emitWarning=()=>{},Object.assign(globalThis,Tl("stream/web")),e.emitWarning=t}catch(r){throw e.emitWarning=t,r}}catch{Object.assign(globalThis,rX())}try{let{Blob:e}=Tl("buffer");e&&!e.prototype.stream&&(e.prototype.stream=function(t){let r=0,n=this;return new ReadableStream({type:"bytes",async pull(i){let s=await n.slice(r,Math.min(n.size,r+65536)).arrayBuffer();r+=s.byteLength,i.enqueue(new Uint8Array(s)),r===n.size&&i.close()}})})}catch{}}),iX=nt(e=>{e.read=function(t,r,n,i,s){var a,c,l=s*8-i-1,A=(1<>1,h=-7,g=n?s-1:0,b=n?-1:1,C=t[r+g];for(g+=b,a=C&(1<<-h)-1,C>>=-h,h+=l;h>0;a=a*256+t[r+g],g+=b,h-=8);for(c=a&(1<<-h)-1,a>>=-h,h+=i;h>0;c=c*256+t[r+g],g+=b,h-=8);if(a===0)a=1-f;else{if(a===A)return c?NaN:(C?-1:1)*(1/0);c=c+Math.pow(2,i),a=a-f}return(C?-1:1)*c*Math.pow(2,a-i)},e.write=function(t,r,n,i,s,a){var c,l,A,f=a*8-s-1,h=(1<>1,b=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=i?0:a-1,p=i?1:-1,Q=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(l=isNaN(r)?1:0,c=h):(c=Math.floor(Math.log(r)/Math.LN2),r*(A=Math.pow(2,-c))<1&&(c--,A*=2),c+g>=1?r+=b/A:r+=b*Math.pow(2,1-g),r*A>=2&&(c++,A/=2),c+g>=h?(l=0,c=h):c+g>=1?(l=(r*A-1)*Math.pow(2,s),c=c+g):(l=r*Math.pow(2,g-1)*Math.pow(2,s),c=0));s>=8;t[n+C]=l&255,C+=p,l/=256,s-=8);for(c=c<0;t[n+C]=c&255,C+=p,c/=256,f-=8);t[n+C-p]|=Q*128}}),sX=nt((e,t)=>{"use strict";t.exports=n;var r=iX();function n(w){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(w)?w:new Uint8Array(w||0),this.pos=0,this.type=0,this.length=this.buf.length}n.Varint=0,n.Fixed64=1,n.Bytes=2,n.Fixed32=5;var i=65536*65536,s=1/i,a=12,c=typeof TextDecoder>"u"?null:new TextDecoder("utf8");n.prototype={destroy:function(){this.buf=null},readFields:function(w,N,F){for(F=F||this.length;this.pos>3,ee=this.pos;this.type=M&7,w(P,N,this),this.pos===ee&&this.skip(M)}return N},readMessage:function(w,N){return this.readFields(w,N,this.readVarint()+this.pos)},readFixed32:function(){var w=v(this.buf,this.pos);return this.pos+=4,w},readSFixed32:function(){var w=E(this.buf,this.pos);return this.pos+=4,w},readFixed64:function(){var w=v(this.buf,this.pos)+v(this.buf,this.pos+4)*i;return this.pos+=8,w},readSFixed64:function(){var w=v(this.buf,this.pos)+E(this.buf,this.pos+4)*i;return this.pos+=8,w},readFloat:function(){var w=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,w},readDouble:function(){var w=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,w},readVarint:function(w){var N=this.buf,F,M;return M=N[this.pos++],F=M&127,M<128||(M=N[this.pos++],F|=(M&127)<<7,M<128)||(M=N[this.pos++],F|=(M&127)<<14,M<128)||(M=N[this.pos++],F|=(M&127)<<21,M<128)?F:(M=N[this.pos],F|=(M&15)<<28,l(F,w,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var w=this.readVarint();return w%2===1?(w+1)/-2:w/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var w=this.readVarint()+this.pos,N=this.pos;return this.pos=w,w-N>=a&&c?q(this.buf,N,w):O(this.buf,N,w)},readBytes:function(){var w=this.readVarint()+this.pos,N=this.buf.subarray(this.pos,w);return this.pos=w,N},readPackedVarint:function(w,N){if(this.type!==n.Bytes)return w.push(this.readVarint(N));var F=A(this);for(w=w||[];this.pos127;);else if(N===n.Bytes)this.pos=this.readVarint()+this.pos;else if(N===n.Fixed32)this.pos+=4;else if(N===n.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+N)},writeTag:function(w,N){this.writeVarint(w<<3|N)},realloc:function(w){for(var N=this.length||16;N268435455||w<0){h(w,this);return}this.realloc(4),this.buf[this.pos++]=w&127|(w>127?128:0),!(w<=127)&&(this.buf[this.pos++]=(w>>>=7)&127|(w>127?128:0),!(w<=127)&&(this.buf[this.pos++]=(w>>>=7)&127|(w>127?128:0),!(w<=127)&&(this.buf[this.pos++]=w>>>7&127)))},writeSVarint:function(w){this.writeVarint(w<0?-w*2-1:w*2)},writeBoolean:function(w){this.writeVarint(!!w)},writeString:function(w){w=String(w),this.realloc(w.length*4),this.pos++;var N=this.pos;this.pos=V(this.buf,w,this.pos);var F=this.pos-N;F>=128&&C(N,F,this),this.pos=N-1,this.writeVarint(F),this.pos+=F},writeFloat:function(w){this.realloc(4),r.write(this.buf,w,this.pos,!0,23,4),this.pos+=4},writeDouble:function(w){this.realloc(8),r.write(this.buf,w,this.pos,!0,52,8),this.pos+=8},writeBytes:function(w){var N=w.length;this.writeVarint(N),this.realloc(N);for(var F=0;F=128&&C(F,M,this),this.pos=F-1,this.writeVarint(M),this.pos+=M},writeMessage:function(w,N,F){this.writeTag(w,n.Bytes),this.writeRawMessage(N,F)},writePackedVarint:function(w,N){N.length&&this.writeMessage(w,p,N)},writePackedSVarint:function(w,N){N.length&&this.writeMessage(w,Q,N)},writePackedBoolean:function(w,N){N.length&&this.writeMessage(w,d,N)},writePackedFloat:function(w,N){N.length&&this.writeMessage(w,R,N)},writePackedDouble:function(w,N){N.length&&this.writeMessage(w,_,N)},writePackedFixed32:function(w,N){N.length&&this.writeMessage(w,S,N)},writePackedSFixed32:function(w,N){N.length&&this.writeMessage(w,m,N)},writePackedFixed64:function(w,N){N.length&&this.writeMessage(w,T,N)},writePackedSFixed64:function(w,N){N.length&&this.writeMessage(w,L,N)},writeBytesField:function(w,N){this.writeTag(w,n.Bytes),this.writeBytes(N)},writeFixed32Field:function(w,N){this.writeTag(w,n.Fixed32),this.writeFixed32(N)},writeSFixed32Field:function(w,N){this.writeTag(w,n.Fixed32),this.writeSFixed32(N)},writeFixed64Field:function(w,N){this.writeTag(w,n.Fixed64),this.writeFixed64(N)},writeSFixed64Field:function(w,N){this.writeTag(w,n.Fixed64),this.writeSFixed64(N)},writeVarintField:function(w,N){this.writeTag(w,n.Varint),this.writeVarint(N)},writeSVarintField:function(w,N){this.writeTag(w,n.Varint),this.writeSVarint(N)},writeStringField:function(w,N){this.writeTag(w,n.Bytes),this.writeString(N)},writeFloatField:function(w,N){this.writeTag(w,n.Fixed32),this.writeFloat(N)},writeDoubleField:function(w,N){this.writeTag(w,n.Fixed64),this.writeDouble(N)},writeBooleanField:function(w,N){this.writeVarintField(w,!!N)}};function l(w,N,F){var M=F.buf,P,ee;if(ee=M[F.pos++],P=(ee&112)>>4,ee<128||(ee=M[F.pos++],P|=(ee&127)<<3,ee<128)||(ee=M[F.pos++],P|=(ee&127)<<10,ee<128)||(ee=M[F.pos++],P|=(ee&127)<<17,ee<128)||(ee=M[F.pos++],P|=(ee&127)<<24,ee<128)||(ee=M[F.pos++],P|=(ee&1)<<31,ee<128))return f(w,P,N);throw new Error("Expected varint not more than 10 bytes")}function A(w){return w.type===n.Bytes?w.readVarint()+w.pos:w.pos+1}function f(w,N,F){return F?N*4294967296+(w>>>0):(N>>>0)*4294967296+(w>>>0)}function h(w,N){var F,M;if(w>=0?(F=w%4294967296|0,M=w/4294967296|0):(F=~(-w%4294967296),M=~(-w/4294967296),F^4294967295?F=F+1|0:(F=0,M=M+1|0)),w>=18446744073709552e3||w<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");N.realloc(10),g(F,M,N),b(M,N)}function g(w,N,F){F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos++]=w&127|128,w>>>=7,F.buf[F.pos]=w&127}function b(w,N){var F=(w&7)<<4;N.buf[N.pos++]|=F|((w>>>=3)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127|((w>>>=7)?128:0),w&&(N.buf[N.pos++]=w&127)))))}function C(w,N,F){var M=N<=16383?1:N<=2097151?2:N<=268435455?3:Math.floor(Math.log(N)/(Math.LN2*7));F.realloc(M);for(var P=F.pos-1;P>=w;P--)F.buf[P+M]=F.buf[P]}function p(w,N){for(var F=0;F>>8,w[F+2]=N>>>16,w[F+3]=N>>>24}function E(w,N){return(w[N]|w[N+1]<<8|w[N+2]<<16)+(w[N+3]<<24)}function O(w,N,F){for(var M="",P=N;P239?4:ee>223?3:ee>191?2:1;if(P+ce>F)break;var ge,Ee,we;ce===1?ee<128&&(se=ee):ce===2?(ge=w[P+1],(ge&192)===128&&(se=(ee&31)<<6|ge&63,se<=127&&(se=null))):ce===3?(ge=w[P+1],Ee=w[P+2],(ge&192)===128&&(Ee&192)===128&&(se=(ee&15)<<12|(ge&63)<<6|Ee&63,(se<=2047||se>=55296&&se<=57343)&&(se=null))):ce===4&&(ge=w[P+1],Ee=w[P+2],we=w[P+3],(ge&192)===128&&(Ee&192)===128&&(we&192)===128&&(se=(ee&15)<<18|(ge&63)<<12|(Ee&63)<<6|we&63,(se<=65535||se>=1114112)&&(se=null))),se===null?(se=65533,ce=1):se>65535&&(se-=65536,M+=String.fromCharCode(se>>>10&1023|55296),se=56320|se&1023),M+=String.fromCharCode(se),P+=ce}return M}function q(w,N,F){return c.decode(w.subarray(N,F))}function V(w,N,F){for(var M=0,P,ee;M55295&&P<57344)if(ee)if(P<56320){w[F++]=239,w[F++]=191,w[F++]=189,ee=P;continue}else P=ee-55296<<10|P-56320|65536,ee=null;else{P>56319||M+1===N.length?(w[F++]=239,w[F++]=191,w[F++]=189):ee=P;continue}else ee&&(w[F++]=239,w[F++]=191,w[F++]=189,ee=null);P<128?w[F++]=P:(P<2048?w[F++]=P>>6|192:(P<65536?w[F++]=P>>12|224:(w[F++]=P>>18|240,w[F++]=P>>12&63|128),w[F++]=P>>6&63|128),w[F++]=P&63|128)}return F}}),oX=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(c){var l=c+48;return l+=9-c>>>8&-48+65-10,String.fromCharCode(l)}function r(c){var l=c+48;return l+=9-c>>>8&-48+97-10,String.fromCharCode(l)}var n=256;function i(c){var l=n;return l+=(47-c&c-58)>>8&-n+c-48,l+=(64-c&c-71)>>8&-n+c-65+10,l+=(96-c&c-103)>>8&-n+c-97+10,l}function s(c,l){l===void 0&&(l=!1);for(var A=l?r:t,f="",h=0;h>>4),f+=A(c[h]&15);return f}e.encode=s;function a(c){if(c.length===0)return new Uint8Array(0);if(c.length%2!==0)throw new Error("hex: input string must be divisible by two");for(var l=new Uint8Array(c.length/2),A=0,f=0;f{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(c,l){var A=c>>>16&65535,f=c&65535,h=l>>>16&65535,g=l&65535;return f*g+(A*g+f*h<<16>>>0)|0}e.mul=Math.imul||t;function r(c,l){return c+l|0}e.add=r;function n(c,l){return c-l|0}e.sub=n;function i(c,l){return c<>>32-l}e.rotl=i;function s(c,l){return c<<32-l|c>>>l}e.rotr=s;function a(c){return typeof c=="number"&&isFinite(c)&&Math.floor(c)===c}e.isInteger=Number.isInteger||a,e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(c){return e.isInteger(c)&&c>=-e.MAX_SAFE_INTEGER&&c<=e.MAX_SAFE_INTEGER}}),aX=nt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=AX();function r(F,M){return M===void 0&&(M=0),(F[M+0]<<8|F[M+1])<<16>>16}e.readInt16BE=r;function n(F,M){return M===void 0&&(M=0),(F[M+0]<<8|F[M+1])>>>0}e.readUint16BE=n;function i(F,M){return M===void 0&&(M=0),(F[M+1]<<8|F[M])<<16>>16}e.readInt16LE=i;function s(F,M){return M===void 0&&(M=0),(F[M+1]<<8|F[M])>>>0}e.readUint16LE=s;function a(F,M,P){return M===void 0&&(M=new Uint8Array(2)),P===void 0&&(P=0),M[P+0]=F>>>8,M[P+1]=F>>>0,M}e.writeUint16BE=a,e.writeInt16BE=a;function c(F,M,P){return M===void 0&&(M=new Uint8Array(2)),P===void 0&&(P=0),M[P+0]=F>>>0,M[P+1]=F>>>8,M}e.writeUint16LE=c,e.writeInt16LE=c;function l(F,M){return M===void 0&&(M=0),F[M]<<24|F[M+1]<<16|F[M+2]<<8|F[M+3]}e.readInt32BE=l;function A(F,M){return M===void 0&&(M=0),(F[M]<<24|F[M+1]<<16|F[M+2]<<8|F[M+3])>>>0}e.readUint32BE=A;function f(F,M){return M===void 0&&(M=0),F[M+3]<<24|F[M+2]<<16|F[M+1]<<8|F[M]}e.readInt32LE=f;function h(F,M){return M===void 0&&(M=0),(F[M+3]<<24|F[M+2]<<16|F[M+1]<<8|F[M])>>>0}e.readUint32LE=h;function g(F,M,P){return M===void 0&&(M=new Uint8Array(4)),P===void 0&&(P=0),M[P+0]=F>>>24,M[P+1]=F>>>16,M[P+2]=F>>>8,M[P+3]=F>>>0,M}e.writeUint32BE=g,e.writeInt32BE=g;function b(F,M,P){return M===void 0&&(M=new Uint8Array(4)),P===void 0&&(P=0),M[P+0]=F>>>0,M[P+1]=F>>>8,M[P+2]=F>>>16,M[P+3]=F>>>24,M}e.writeUint32LE=b,e.writeInt32LE=b;function C(F,M){M===void 0&&(M=0);var P=l(F,M),ee=l(F,M+4);return P*4294967296+ee-(ee>>31)*4294967296}e.readInt64BE=C;function p(F,M){M===void 0&&(M=0);var P=A(F,M),ee=A(F,M+4);return P*4294967296+ee}e.readUint64BE=p;function Q(F,M){M===void 0&&(M=0);var P=f(F,M),ee=f(F,M+4);return ee*4294967296+P-(P>>31)*4294967296}e.readInt64LE=Q;function R(F,M){M===void 0&&(M=0);var P=h(F,M),ee=h(F,M+4);return ee*4294967296+P}e.readUint64LE=R;function _(F,M,P){return M===void 0&&(M=new Uint8Array(8)),P===void 0&&(P=0),g(F/4294967296>>>0,M,P),g(F>>>0,M,P+4),M}e.writeUint64BE=_,e.writeInt64BE=_;function d(F,M,P){return M===void 0&&(M=new Uint8Array(8)),P===void 0&&(P=0),b(F>>>0,M,P),b(F/4294967296>>>0,M,P+4),M}e.writeUint64LE=d,e.writeInt64LE=d;function S(F,M,P){if(P===void 0&&(P=0),F%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(F/8>M.length-P)throw new Error("readUintBE: array is too short for the given bitLength");for(var ee=0,se=1,ce=F/8+P-1;ce>=P;ce--)ee+=M[ce]*se,se*=256;return ee}e.readUintBE=S;function m(F,M,P){if(P===void 0&&(P=0),F%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(F/8>M.length-P)throw new Error("readUintLE: array is too short for the given bitLength");for(var ee=0,se=1,ce=P;ce=ee;ce--)P[ce]=M/se&255,se*=256;return P}e.writeUintBE=T;function L(F,M,P,ee){if(P===void 0&&(P=new Uint8Array(F/8)),ee===void 0&&(ee=0),F%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!t.isSafeInteger(M))throw new Error("writeUintLE value must be an integer");for(var se=1,ce=ee;ce{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function t(r){for(var n=0;n{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=aX(),r=cX();e.DIGEST_LENGTH=32,e.BLOCK_SIZE=64;var n=function(){function c(){this.digestLength=e.DIGEST_LENGTH,this.blockSize=e.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return c.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},c.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},c.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._temp),this.reset()},c.prototype.update=function(l,A){if(A===void 0&&(A=l.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var f=0;if(this._bytesHashed+=A,this._bufferLength>0){for(;this._bufferLength0;)this._buffer[this._bufferLength++]=l[f++],A--;this._bufferLength===this.blockSize&&(s(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(A>=this.blockSize&&(f=s(this._temp,this._state,l,f,A),A%=this.blockSize);A>0;)this._buffer[this._bufferLength++]=l[f++],A--;return this},c.prototype.finish=function(l){if(!this._finished){var A=this._bytesHashed,f=this._bufferLength,h=A/536870912|0,g=A<<3,b=A%64<56?64:128;this._buffer[f]=128;for(var C=f+1;C0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},c.prototype.restoreState=function(l){return this._state.set(l.state),this._bufferLength=l.bufferLength,l.buffer&&this._buffer.set(l.buffer),this._bytesHashed=l.bytesHashed,this._finished=!1,this},c.prototype.cleanSavedState=function(l){r.wipe(l.state),l.buffer&&r.wipe(l.buffer),l.bufferLength=0,l.bytesHashed=0},c}();e.SHA256=n;var i=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s(c,l,A,f,h){for(;h>=64;){for(var g=l[0],b=l[1],C=l[2],p=l[3],Q=l[4],R=l[5],_=l[6],d=l[7],S=0;S<16;S++){var m=f+S*4;c[S]=t.readUint32BE(A,m)}for(var S=16;S<64;S++){var T=c[S-2],L=(T>>>17|T<<32-17)^(T>>>19|T<<32-19)^T>>>10;T=c[S-15];var v=(T>>>7|T<<32-7)^(T>>>18|T<<32-18)^T>>>3;c[S]=(L+c[S-7]|0)+(v+c[S-16]|0)}for(var S=0;S<64;S++){var L=(((Q>>>6|Q<<26)^(Q>>>11|Q<<21)^(Q>>>25|Q<<7))+(Q&R^~Q&_)|0)+(d+(i[S]+c[S]|0)|0)|0,v=((g>>>2|g<<32-2)^(g>>>13|g<<32-13)^(g>>>22|g<<32-22))+(g&b^g&C^b&C)|0;d=_,_=R,R=Q,Q=p+L|0,p=C,C=b,b=g,g=L+v|0}l[0]+=g,l[1]+=b,l[2]+=C,l[3]+=p,l[4]+=Q,l[5]+=R,l[6]+=_,l[7]+=d,f+=64,h-=64}return f}function a(c){var l=new n;l.update(c);var A=l.digest();return l.clean(),A}e.hash=a}),Qt=nt((e,t)=>{t.exports={options:{usePureJavaScript:!1}}}),uX=nt((e,t)=>{var r={};t.exports=r;var n={};r.encode=function(s,a,c){if(typeof a!="string")throw new TypeError('"alphabet" must be a string.');if(c!==void 0&&typeof c!="number")throw new TypeError('"maxline" must be a number.');var l="";if(!(s instanceof Uint8Array))l=i(s,a);else{var A=0,f=a.length,h=a.charAt(0),g=[0];for(A=0;A0;)g.push(C%f),C=C/f|0}for(A=0;s[A]===0&&A=0;--A)l+=a[g[A]]}if(c){var p=new RegExp(".{1,"+c+"}","g");l=l.match(p).join(`\r `)}return l},r.decode=function(s,a){if(typeof s!="string")throw new TypeError('"input" must be a string.');if(typeof a!="string")throw new TypeError('"alphabet" must be a string.');var c=n[a];if(!c){c=n[a]=[];for(var l=0;l>=8;for(;C>0;)h.push(C&255),C>>=8}for(var p=0;s[p]===f&&p0;)f.push(g%l),g=g/l|0}var b="";for(c=0;s.at(c)===0&&c=0;--c)b+=a[f[c]];return b}}),xt=nt((e,t)=>{var r=Qt(),n=uX(),i=t.exports=r.util=r.util||{};(function(){if(typeof process<"u"&&process.nextTick&&!process.browser){i.nextTick=process.nextTick,typeof setImmediate=="function"?i.setImmediate=setImmediate:i.setImmediate=i.nextTick;return}if(typeof setImmediate=="function"){i.setImmediate=function(){return setImmediate.apply(void 0,arguments)},i.nextTick=function(E){return setImmediate(E)};return}if(i.setImmediate=function(E){setTimeout(E,0)},typeof window<"u"&&typeof window.postMessage=="function"){let E=function(O){if(O.source===window&&O.data===S){O.stopPropagation();var q=m.slice();m.length=0,q.forEach(function(V){V()})}};var d=E,S="forge.setImmediate",m=[];i.setImmediate=function(O){m.push(O),m.length===1&&window.postMessage(S,"*")},window.addEventListener("message",E,!0)}if(typeof MutationObserver<"u"){var T=Date.now(),L=!0,v=document.createElement("div"),m=[];new MutationObserver(function(){var O=m.slice();m.length=0,O.forEach(function(q){q()})}).observe(v,{attributes:!0});var I=i.setImmediate;i.setImmediate=function(O){Date.now()-T>15?(T=Date.now(),I(O)):(m.push(O),m.length===1&&v.setAttribute("a",L=!L))}}i.nextTick=i.setImmediate})(),i.isNodejs=typeof process<"u"&&process.versions&&process.versions.node,i.globalScope=function(){return i.isNodejs?global:typeof self>"u"?window:self}(),i.isArray=Array.isArray||function(d){return Object.prototype.toString.call(d)==="[object Array]"},i.isArrayBuffer=function(d){return typeof ArrayBuffer<"u"&&d instanceof ArrayBuffer},i.isArrayBufferView=function(d){return d&&i.isArrayBuffer(d.buffer)&&d.byteLength!==void 0};function s(d){if(!(d===8||d===16||d===24||d===32))throw new Error("Only 8, 16, 24, or 32 bits supported: "+d)}i.ByteBuffer=a;function a(d){if(this.data="",this.read=0,typeof d=="string")this.data=d;else if(i.isArrayBuffer(d)||i.isArrayBufferView(d))if(typeof Buffer<"u"&&d instanceof Buffer)this.data=d.toString("binary");else{var S=new Uint8Array(d);try{this.data=String.fromCharCode.apply(null,S)}catch{for(var m=0;mc&&(this.data.substr(0,1),this._constructedStringLength=0)},i.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},i.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},i.ByteStringBuffer.prototype.putByte=function(d){return this.putBytes(String.fromCharCode(d))},i.ByteStringBuffer.prototype.fillWithByte=function(d,S){d=String.fromCharCode(d);for(var m=this.data;S>0;)S&1&&(m+=d),S>>>=1,S>0&&(d+=d);return this.data=m,this._optimizeConstructedString(S),this},i.ByteStringBuffer.prototype.putBytes=function(d){return this.data+=d,this._optimizeConstructedString(d.length),this},i.ByteStringBuffer.prototype.putString=function(d){return this.putBytes(i.encodeUtf8(d))},i.ByteStringBuffer.prototype.putInt16=function(d){return this.putBytes(String.fromCharCode(d>>8&255)+String.fromCharCode(d&255))},i.ByteStringBuffer.prototype.putInt24=function(d){return this.putBytes(String.fromCharCode(d>>16&255)+String.fromCharCode(d>>8&255)+String.fromCharCode(d&255))},i.ByteStringBuffer.prototype.putInt32=function(d){return this.putBytes(String.fromCharCode(d>>24&255)+String.fromCharCode(d>>16&255)+String.fromCharCode(d>>8&255)+String.fromCharCode(d&255))},i.ByteStringBuffer.prototype.putInt16Le=function(d){return this.putBytes(String.fromCharCode(d&255)+String.fromCharCode(d>>8&255))},i.ByteStringBuffer.prototype.putInt24Le=function(d){return this.putBytes(String.fromCharCode(d&255)+String.fromCharCode(d>>8&255)+String.fromCharCode(d>>16&255))},i.ByteStringBuffer.prototype.putInt32Le=function(d){return this.putBytes(String.fromCharCode(d&255)+String.fromCharCode(d>>8&255)+String.fromCharCode(d>>16&255)+String.fromCharCode(d>>24&255))},i.ByteStringBuffer.prototype.putInt=function(d,S){s(S);var m="";do S-=8,m+=String.fromCharCode(d>>S&255);while(S>0);return this.putBytes(m)},i.ByteStringBuffer.prototype.putSignedInt=function(d,S){return d<0&&(d+=2<0);return S},i.ByteStringBuffer.prototype.getSignedInt=function(d){var S=this.getInt(d),m=2<=m&&(S-=m<<1),S},i.ByteStringBuffer.prototype.getBytes=function(d){var S;return d?(d=Math.min(this.length(),d),S=this.data.slice(this.read,this.read+d),this.read+=d):d===0?S="":(S=this.read===0?this.data:this.data.slice(this.read),this.clear()),S},i.ByteStringBuffer.prototype.bytes=function(d){return typeof d>"u"?this.data.slice(this.read):this.data.slice(this.read,this.read+d)},i.ByteStringBuffer.prototype.at=function(d){return this.data.charCodeAt(this.read+d)},i.ByteStringBuffer.prototype.setAt=function(d,S){return this.data=this.data.substr(0,this.read+d)+String.fromCharCode(S)+this.data.substr(this.read+d+1),this},i.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},i.ByteStringBuffer.prototype.copy=function(){var d=i.createBuffer(this.data);return d.read=this.read,d},i.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},i.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},i.ByteStringBuffer.prototype.truncate=function(d){var S=Math.max(0,this.length()-d);return this.data=this.data.substr(this.read,S),this.read=0,this},i.ByteStringBuffer.prototype.toHex=function(){for(var d="",S=this.read;S=d)return this;S=Math.max(S||this.growSize,d);var m=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),T=new Uint8Array(this.length()+S);return T.set(m),this.data=new DataView(T.buffer),this},i.DataBuffer.prototype.putByte=function(d){return this.accommodate(1),this.data.setUint8(this.write++,d),this},i.DataBuffer.prototype.fillWithByte=function(d,S){this.accommodate(S);for(var m=0;m>8&65535),this.data.setInt8(this.write,d>>16&255),this.write+=3,this},i.DataBuffer.prototype.putInt32=function(d){return this.accommodate(4),this.data.setInt32(this.write,d),this.write+=4,this},i.DataBuffer.prototype.putInt16Le=function(d){return this.accommodate(2),this.data.setInt16(this.write,d,!0),this.write+=2,this},i.DataBuffer.prototype.putInt24Le=function(d){return this.accommodate(3),this.data.setInt8(this.write,d>>16&255),this.data.setInt16(this.write,d>>8&65535,!0),this.write+=3,this},i.DataBuffer.prototype.putInt32Le=function(d){return this.accommodate(4),this.data.setInt32(this.write,d,!0),this.write+=4,this},i.DataBuffer.prototype.putInt=function(d,S){s(S),this.accommodate(S/8);do S-=8,this.data.setInt8(this.write++,d>>S&255);while(S>0);return this},i.DataBuffer.prototype.putSignedInt=function(d,S){return s(S),this.accommodate(S/8),d<0&&(d+=2<0);return S},i.DataBuffer.prototype.getSignedInt=function(d){var S=this.getInt(d),m=2<=m&&(S-=m<<1),S},i.DataBuffer.prototype.getBytes=function(d){var S;return d?(d=Math.min(this.length(),d),S=this.data.slice(this.read,this.read+d),this.read+=d):d===0?S="":(S=this.read===0?this.data:this.data.slice(this.read),this.clear()),S},i.DataBuffer.prototype.bytes=function(d){return typeof d>"u"?this.data.slice(this.read):this.data.slice(this.read,this.read+d)},i.DataBuffer.prototype.at=function(d){return this.data.getUint8(this.read+d)},i.DataBuffer.prototype.setAt=function(d,S){return this.data.setUint8(d,S),this},i.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},i.DataBuffer.prototype.copy=function(){return new i.DataBuffer(this)},i.DataBuffer.prototype.compact=function(){if(this.read>0){var d=new Uint8Array(this.data.buffer,this.read),S=new Uint8Array(d.byteLength);S.set(d),this.data=new DataView(S),this.write-=this.read,this.read=0}return this},i.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},i.DataBuffer.prototype.truncate=function(d){return this.write=Math.max(0,this.length()-d),this.read=Math.min(this.read,this.write),this},i.DataBuffer.prototype.toHex=function(){for(var d="",S=this.read;S0;)S&1&&(m+=d),S>>>=1,S>0&&(d+=d);return m},i.xorBytes=function(d,S,m){for(var T="",L="",v="",I=0,E=0;m>0;--m,++I)L=d.charCodeAt(I)^S.charCodeAt(I),E>=10&&(T+=v,v="",E=0),v+=String.fromCharCode(L),++E;return T+=v,T},i.hexToBytes=function(d){var S="",m=0;for(d.length&!0&&(m=1,S+=String.fromCharCode(parseInt(d[0],16)));m>24&255)+String.fromCharCode(d>>16&255)+String.fromCharCode(d>>8&255)+String.fromCharCode(d&255)};var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],h="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";i.encode64=function(d,S){for(var m="",T="",L,v,I,E=0;E>2),m+=A.charAt((L&3)<<4|v>>4),isNaN(v)?m+="==":(m+=A.charAt((v&15)<<2|I>>6),m+=isNaN(I)?"=":A.charAt(I&63)),S&&m.length>S&&(T+=m.substr(0,S)+`\r `,m=m.substr(S));return T+=m,T},i.decode64=function(d){d=d.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var S="",m,T,L,v,I=0;I>4),L!==64&&(S+=String.fromCharCode((T&15)<<4|L>>2),v!==64&&(S+=String.fromCharCode((L&3)<<6|v)));return S},i.encodeUtf8=function(d){return unescape(encodeURIComponent(d))},i.decodeUtf8=function(d){return decodeURIComponent(escape(d))},i.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:n.encode,decode:n.decode}},i.binary.raw.encode=function(d){return String.fromCharCode.apply(null,d)},i.binary.raw.decode=function(d,S,m){var T=S;T||(T=new Uint8Array(d.length)),m=m||0;for(var L=m,v=0;v>2),m+=A.charAt((L&3)<<4|v>>4),isNaN(v)?m+="==":(m+=A.charAt((v&15)<<2|I>>6),m+=isNaN(I)?"=":A.charAt(I&63)),S&&m.length>S&&(T+=m.substr(0,S)+`\r -`,m=m.substr(S));return T+=m,T},i.binary.base64.decode=function(d,S,m){var T=S;T||(T=new Uint8Array(Math.ceil(d.length/4)*3)),d=d.replace(/[^A-Za-z0-9\+\/\=]/g,""),m=m||0;for(var L,v,I,E,O=0,q=m;O>4,I!==64&&(T[q++]=(v&15)<<4|I>>2,E!==64&&(T[q++]=(I&3)<<6|E));return S?q-m:T.subarray(0,q)},i.binary.base58.encode=function(d,S){return i.binary.baseN.encode(d,h,S)},i.binary.base58.decode=function(d,S){return i.binary.baseN.decode(d,h,S)},i.text={utf8:{},utf16:{}},i.text.utf8.encode=function(d,S,m){d=i.encodeUtf8(d);var T=S;T||(T=new Uint8Array(d.length)),m=m||0;for(var L=m,v=0;v"u"&&(m=["web","flash"]);var L,v=!1,I=null;for(var E in m){L=m[E];try{if(L==="flash"||L==="both"){if(S[0]===null)throw new Error("Flash local storage not available.");T=d.apply(this,S),v=L==="flash"}(L==="web"||L==="both")&&(S[0]=localStorage,T=d.apply(this,S),v=!0)}catch(O){I=O}if(v)break}if(!v)throw I;return T};i.setItem=function(d,S,m,T,L){_(C,arguments,L)},i.getItem=function(d,S,m,T){return _(p,arguments,T)},i.removeItem=function(d,S,m,T){_(Q,arguments,T)},i.clearItems=function(d,S,m){_(R,arguments,m)},i.isEmpty=function(d){for(var S in d)if(d.hasOwnProperty(S))return!1;return!0},i.format=function(d){for(var S=/%./g,m,T,L=0,v=[],I=0;m=S.exec(d);){T=d.substring(I,S.lastIndex-2),T.length>0&&v.push(T),I=S.lastIndex;var E=m[0][1];switch(E){case"s":case"o":L");break;case"%":v.push("%");break;default:v.push("<%"+E+"?>")}}return v.push(d.substring(I)),v.join("")},i.formatNumber=function(d,S,m,T){var L=d,v=isNaN(S=Math.abs(S))?2:S,I=m===void 0?",":m,E=T===void 0?".":T,O=L<0?"-":"",q=parseInt(L=Math.abs(+L||0).toFixed(v),10)+"",V=q.length>3?q.length%3:0;return O+(V?q.substr(0,V)+E:"")+q.substr(V).replace(/(\d{3})(?=\d)/g,"$1"+E)+(v?I+Math.abs(L-q).toFixed(v).slice(2):"")},i.formatSize=function(d){return d>=1073741824?d=i.formatNumber(d/1073741824,2,".","")+" GiB":d>=1048576?d=i.formatNumber(d/1048576,2,".","")+" MiB":d>=1024?d=i.formatNumber(d/1024,0)+" KiB":d=i.formatNumber(d,0)+" bytes",d},i.bytesFromIP=function(d){return d.indexOf(".")!==-1?i.bytesFromIPv4(d):d.indexOf(":")!==-1?i.bytesFromIPv6(d):null},i.bytesFromIPv4=function(d){if(d=d.split("."),d.length!==4)return null;for(var S=i.createBuffer(),m=0;mm[T].end-m[T].start&&(T=m.length-1))}S.push(v)}if(m.length>0){var O=m[T];O.end-O.start>0&&(S.splice(O.start,O.end-O.start+1,""),O.start===0&&S.unshift(""),O.end===7&&S.push(""))}return S.join(":")},i.estimateCores=function(d,S){if(typeof d=="function"&&(S=d,d={}),d=d||{},"cores"in i&&!d.update)return S(null,i.cores);if(typeof navigator<"u"&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return i.cores=navigator.hardwareConcurrency,S(null,i.cores);if(typeof Worker>"u")return i.cores=1,S(null,i.cores);if(typeof Blob>"u")return i.cores=2,S(null,i.cores);var m=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",function(I){for(var E=Date.now(),O=E+4;Date.now()F.st&&V.stV.st&&F.st{var r=Qt();xt(),t.exports=r.cipher=r.cipher||{},r.cipher.algorithms=r.cipher.algorithms||{},r.cipher.createCipher=function(i,s){var a=i;if(typeof a=="string"&&(a=r.cipher.getAlgorithm(a),a&&(a=a())),!a)throw new Error("Unsupported algorithm: "+i);return new r.cipher.BlockCipher({algorithm:a,key:s,decrypt:!1})},r.cipher.createDecipher=function(i,s){var a=i;if(typeof a=="string"&&(a=r.cipher.getAlgorithm(a),a&&(a=a())),!a)throw new Error("Unsupported algorithm: "+i);return new r.cipher.BlockCipher({algorithm:a,key:s,decrypt:!0})},r.cipher.registerAlgorithm=function(i,s){i=i.toUpperCase(),r.cipher.algorithms[i]=s},r.cipher.getAlgorithm=function(i){return i=i.toUpperCase(),i in r.cipher.algorithms?r.cipher.algorithms[i]:null};var n=r.cipher.BlockCipher=function(i){this.algorithm=i.algorithm,this.mode=this.algorithm.mode,this.blockSize=this.mode.blockSize,this._finish=!1,this._input=null,this.output=null,this._op=i.decrypt?this.mode.decrypt:this.mode.encrypt,this._decrypt=i.decrypt,this.algorithm.initialize(i)};n.prototype.start=function(i){i=i||{};var s={};for(var a in i)s[a]=i[a];s.decrypt=this._decrypt,this._finish=!1,this._input=r.util.createBuffer(),this.output=i.output||r.util.createBuffer(),this.mode.start(s)},n.prototype.update=function(i){for(i&&this._input.putBuffer(i);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()},n.prototype.finish=function(i){i&&(this.mode.name==="ECB"||this.mode.name==="CBC")&&(this.mode.pad=function(a){return i(this.blockSize,a,!1)},this.mode.unpad=function(a){return i(this.blockSize,a,!0)});var s={};return s.decrypt=this._decrypt,s.overflow=this._input.length()%this.blockSize,!(!this._decrypt&&this.mode.pad&&!this.mode.pad(this._input,s)||(this._finish=!0,this.update(),this._decrypt&&this.mode.unpad&&!this.mode.unpad(this.output,s))||this.mode.afterFinish&&!this.mode.afterFinish(this.output,s))}}),RT=nt((e,t)=>{var r=Qt();xt(),r.cipher=r.cipher||{};var n=t.exports=r.cipher.modes=r.cipher.modes||{};n.ecb=function(c){c=c||{},this.name="ECB",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},n.ecb.prototype.start=function(c){},n.ecb.prototype.encrypt=function(c,l,A){if(c.length()0))return!0;for(var f=0;f0))return!0;for(var f=0;f0)return!1;var A=c.length(),f=c.at(A-1);return f>this.blockSize<<2?!1:(c.truncate(f),!0)},n.cbc=function(c){c=c||{},this.name="CBC",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},n.cbc.prototype.start=function(c){if(c.iv===null){if(!this._prev)throw new Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else if("iv"in c)this._iv=i(c.iv,this.blockSize),this._prev=this._iv.slice(0);else throw new Error("Invalid IV parameter.")},n.cbc.prototype.encrypt=function(c,l,A){if(c.length()0))return!0;for(var f=0;f0))return!0;for(var f=0;f0)return!1;var A=c.length(),f=c.at(A-1);return f>this.blockSize<<2?!1:(c.truncate(f),!0)},n.cfb=function(c){c=c||{},this.name="CFB",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0},n.cfb.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");this._iv=i(c.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},n.cfb.prototype.encrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0)c.read-=this.blockSize;else for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0},n.cfb.prototype.decrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0)c.read-=this.blockSize;else for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0},n.ofb=function(c){c=c||{},this.name="OFB",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0},n.ofb.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");this._iv=i(c.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},n.ofb.prototype.encrypt=function(c,l,A){var f=c.length();if(c.length()===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0)c.read-=this.blockSize;else for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0},n.ofb.prototype.decrypt=n.ofb.prototype.encrypt,n.ctr=function(c){c=c||{},this.name="CTR",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0},n.ctr.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");this._iv=i(c.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},n.ctr.prototype.encrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize)for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0&&(c.read-=this.blockSize),this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0}s(this._inBlock)},n.ctr.prototype.decrypt=n.ctr.prototype.encrypt,n.gcm=function(c){c=c||{},this.name="GCM",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0,this._R=3774873600},n.gcm.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");var l=r.util.createBuffer(c.iv);this._cipherLength=0;var A;if("additionalData"in c?A=r.util.createBuffer(c.additionalData):A=r.util.createBuffer(),"tagLength"in c?this._tagLength=c.tagLength:this._tagLength=128,this._tag=null,c.decrypt&&(this._tag=r.util.createBuffer(c.tag).getBytes(),this._tag.length!==this._tagLength/8))throw new Error("Authentication tag does not match tag length.");this._hashBlock=new Array(this._ints),this.tag=null,this._hashSubkey=new Array(this._ints),this.cipher.encrypt([0,0,0,0],this._hashSubkey),this.componentBits=4,this._m=this.generateHashTable(this._hashSubkey,this.componentBits);var f=l.length();if(f===12)this._j0=[l.getInt32(),l.getInt32(),l.getInt32(),1];else{for(this._j0=[0,0,0,0];l.length()>0;)this._j0=this.ghash(this._hashSubkey,this._j0,[l.getInt32(),l.getInt32(),l.getInt32(),l.getInt32()]);this._j0=this.ghash(this._hashSubkey,this._j0,[0,0].concat(a(f*8)))}this._inBlock=this._j0.slice(0),s(this._inBlock),this._partialBytes=0,A=r.util.createBuffer(A),this._aDataLength=a(A.length()*8);var h=A.length()%this.blockSize;for(h&&A.fillWithByte(0,this.blockSize-h),this._s=[0,0,0,0];A.length()>0;)this._s=this.ghash(this._hashSubkey,this._s,[A.getInt32(),A.getInt32(),A.getInt32(),A.getInt32()])},n.gcm.prototype.encrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return c.read-=this.blockSize,l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0}this._s=this.ghash(this._hashSubkey,this._s,this._outBlock),s(this._inBlock)},n.gcm.prototype.decrypt=function(c,l,A){var f=c.length();if(f0))return!0;this.cipher.encrypt(this._inBlock,this._outBlock),s(this._inBlock),this._hashBlock[0]=c.getInt32(),this._hashBlock[1]=c.getInt32(),this._hashBlock[2]=c.getInt32(),this._hashBlock[3]=c.getInt32(),this._s=this.ghash(this._hashSubkey,this._s,this._hashBlock);for(var h=0;h0;--f)l[f]=c[f]>>>1|(c[f-1]&1)<<31;l[0]=c[0]>>>1,A&&(l[0]^=this._R)},n.gcm.prototype.tableMultiply=function(c){for(var l=[0,0,0,0],A=0;A<32;++A){var f=A/8|0,h=c[f]>>>(7-A%8)*4&15,g=this._m[A][h];l[0]^=g[0],l[1]^=g[1],l[2]^=g[2],l[3]^=g[3]}return l},n.gcm.prototype.ghash=function(c,l,A){return l[0]^=A[0],l[1]^=A[1],l[2]^=A[2],l[3]^=A[3],this.tableMultiply(l)},n.gcm.prototype.generateHashTable=function(c,l){for(var A=8/l,f=4*A,h=16*A,g=new Array(h),b=0;b>>1,h=new Array(A);h[f]=c.slice(0);for(var g=f>>>1;g>0;)this.pow(h[2*g],h[g]=[]),g>>=1;for(g=2;g4){var A=c;c=r.util.createBuffer();for(var f=0;f{var r=Qt();RQ(),RT(),xt(),t.exports=r.aes=r.aes||{},r.aes.startEncrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!1,mode:_});return d.start(Q),d},r.aes.createEncryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!1,mode:Q})},r.aes.startDecrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!0,mode:_});return d.start(Q),d},r.aes.createDecryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!0,mode:Q})},r.aes.Algorithm=function(p,Q){i||h();var R=this;R.name=p,R.mode=new Q({blockSize:16,cipher:{encrypt:function(_,d){return b(R._w,_,d,!1)},decrypt:function(_,d){return b(R._w,_,d,!0)}}}),R._init=!1},r.aes.Algorithm.prototype.initialize=function(p){if(!this._init){var Q=p.key,R;if(typeof Q=="string"&&(Q.length===16||Q.length===24||Q.length===32))Q=r.util.createBuffer(Q);else if(r.util.isArray(Q)&&(Q.length===16||Q.length===24||Q.length===32)){R=Q,Q=r.util.createBuffer();for(var _=0;_>>2;for(var _=0;_>8^T&255^99,a[R]=T,c[T]=R,L=p[T],d=p[R],S=p[d],m=p[S],v=L<<24^T<<16^T<<8^(T^L),I=(d^S^m)<<24^(R^m)<<16^(R^S^m)<<8^(R^d^m);for(var E=0;E<4;++E)A[E][R]=v,f[E][T]=I,v=v<<24|v>>>8,I=I<<24|I>>>8;R===0?R=_=1:(R=d^p[p[p[d^m]]],_^=p[p[_]])}}function g(p,Q){for(var R=p.slice(0),_,d=1,S=R.length,m=S+6+1,T=s*m,L=S;L>>16&255]<<24^a[_>>>8&255]<<16^a[_&255]<<8^a[_>>>24]^l[d]<<24,d++):S>6&&L%S===4&&(_=a[_>>>24]<<24^a[_>>>16&255]<<16^a[_>>>8&255]<<8^a[_&255]),R[L]=R[L-S]^_;if(Q){var v,I=f[0],E=f[1],O=f[2],q=f[3],V=R.slice(0);T=R.length;for(var L=0,w=T-s;L>>24]]^E[a[v>>>16&255]]^O[a[v>>>8&255]]^q[a[v&255]];R=V}return R}function b(p,Q,R,_){var d=p.length/4-1,S,m,T,L,v;_?(S=f[0],m=f[1],T=f[2],L=f[3],v=c):(S=A[0],m=A[1],T=A[2],L=A[3],v=a);var I,E,O,q,V,w,N;I=Q[0]^p[0],E=Q[_?3:1]^p[1],O=Q[2]^p[2],q=Q[_?1:3]^p[3];for(var F=3,M=1;M>>24]^m[E>>>16&255]^T[O>>>8&255]^L[q&255]^p[++F],w=S[E>>>24]^m[O>>>16&255]^T[q>>>8&255]^L[I&255]^p[++F],N=S[O>>>24]^m[q>>>16&255]^T[I>>>8&255]^L[E&255]^p[++F],q=S[q>>>24]^m[I>>>16&255]^T[E>>>8&255]^L[O&255]^p[++F],I=V,E=w,O=N;R[0]=v[I>>>24]<<24^v[E>>>16&255]<<16^v[O>>>8&255]<<8^v[q&255]^p[++F],R[_?3:1]=v[E>>>24]<<24^v[O>>>16&255]<<16^v[q>>>8&255]<<8^v[I&255]^p[++F],R[2]=v[O>>>24]<<24^v[q>>>16&255]<<16^v[I>>>8&255]<<8^v[E&255]^p[++F],R[_?1:3]=v[q>>>24]<<24^v[I>>>16&255]<<16^v[E>>>8&255]<<8^v[O&255]^p[++F]}function C(p){p=p||{};var Q=(p.mode||"CBC").toUpperCase(),R="AES-"+Q,_;p.decrypt?_=r.cipher.createDecipher(R,p.key):_=r.cipher.createCipher(R,p.key);var d=_.start;return _.start=function(S,m){var T=null;m instanceof r.util.ByteBuffer&&(T=m,m={}),m=m||{},m.output=T,m.iv=S,d.call(_,m)},_}}),tc=nt((e,t)=>{var r=Qt();r.pki=r.pki||{};var n=t.exports=r.pki.oids=r.oids=r.oids||{};function i(a,c){n[a]=c,n[c]=a}function s(a,c){n[a]=c}i("1.2.840.113549.1.1.1","rsaEncryption"),i("1.2.840.113549.1.1.4","md5WithRSAEncryption"),i("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),i("1.2.840.113549.1.1.7","RSAES-OAEP"),i("1.2.840.113549.1.1.8","mgf1"),i("1.2.840.113549.1.1.9","pSpecified"),i("1.2.840.113549.1.1.10","RSASSA-PSS"),i("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),i("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),i("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),i("1.3.101.112","EdDSA25519"),i("1.2.840.10040.4.3","dsa-with-sha1"),i("1.3.14.3.2.7","desCBC"),i("1.3.14.3.2.26","sha1"),i("1.3.14.3.2.29","sha1WithRSASignature"),i("2.16.840.1.101.3.4.2.1","sha256"),i("2.16.840.1.101.3.4.2.2","sha384"),i("2.16.840.1.101.3.4.2.3","sha512"),i("2.16.840.1.101.3.4.2.4","sha224"),i("2.16.840.1.101.3.4.2.5","sha512-224"),i("2.16.840.1.101.3.4.2.6","sha512-256"),i("1.2.840.113549.2.2","md2"),i("1.2.840.113549.2.5","md5"),i("1.2.840.113549.1.7.1","data"),i("1.2.840.113549.1.7.2","signedData"),i("1.2.840.113549.1.7.3","envelopedData"),i("1.2.840.113549.1.7.4","signedAndEnvelopedData"),i("1.2.840.113549.1.7.5","digestedData"),i("1.2.840.113549.1.7.6","encryptedData"),i("1.2.840.113549.1.9.1","emailAddress"),i("1.2.840.113549.1.9.2","unstructuredName"),i("1.2.840.113549.1.9.3","contentType"),i("1.2.840.113549.1.9.4","messageDigest"),i("1.2.840.113549.1.9.5","signingTime"),i("1.2.840.113549.1.9.6","counterSignature"),i("1.2.840.113549.1.9.7","challengePassword"),i("1.2.840.113549.1.9.8","unstructuredAddress"),i("1.2.840.113549.1.9.14","extensionRequest"),i("1.2.840.113549.1.9.20","friendlyName"),i("1.2.840.113549.1.9.21","localKeyId"),i("1.2.840.113549.1.9.22.1","x509Certificate"),i("1.2.840.113549.1.12.10.1.1","keyBag"),i("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),i("1.2.840.113549.1.12.10.1.3","certBag"),i("1.2.840.113549.1.12.10.1.4","crlBag"),i("1.2.840.113549.1.12.10.1.5","secretBag"),i("1.2.840.113549.1.12.10.1.6","safeContentsBag"),i("1.2.840.113549.1.5.13","pkcs5PBES2"),i("1.2.840.113549.1.5.12","pkcs5PBKDF2"),i("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),i("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),i("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),i("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),i("1.2.840.113549.2.7","hmacWithSHA1"),i("1.2.840.113549.2.8","hmacWithSHA224"),i("1.2.840.113549.2.9","hmacWithSHA256"),i("1.2.840.113549.2.10","hmacWithSHA384"),i("1.2.840.113549.2.11","hmacWithSHA512"),i("1.2.840.113549.3.7","des-EDE3-CBC"),i("2.16.840.1.101.3.4.1.2","aes128-CBC"),i("2.16.840.1.101.3.4.1.22","aes192-CBC"),i("2.16.840.1.101.3.4.1.42","aes256-CBC"),i("2.5.4.3","commonName"),i("2.5.4.4","surname"),i("2.5.4.5","serialNumber"),i("2.5.4.6","countryName"),i("2.5.4.7","localityName"),i("2.5.4.8","stateOrProvinceName"),i("2.5.4.9","streetAddress"),i("2.5.4.10","organizationName"),i("2.5.4.11","organizationalUnitName"),i("2.5.4.12","title"),i("2.5.4.13","description"),i("2.5.4.15","businessCategory"),i("2.5.4.17","postalCode"),i("2.5.4.42","givenName"),i("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),i("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),i("2.16.840.1.113730.1.1","nsCertType"),i("2.16.840.1.113730.1.13","nsComment"),s("2.5.29.1","authorityKeyIdentifier"),s("2.5.29.2","keyAttributes"),s("2.5.29.3","certificatePolicies"),s("2.5.29.4","keyUsageRestriction"),s("2.5.29.5","policyMapping"),s("2.5.29.6","subtreesConstraint"),s("2.5.29.7","subjectAltName"),s("2.5.29.8","issuerAltName"),s("2.5.29.9","subjectDirectoryAttributes"),s("2.5.29.10","basicConstraints"),s("2.5.29.11","nameConstraints"),s("2.5.29.12","policyConstraints"),s("2.5.29.13","basicConstraints"),i("2.5.29.14","subjectKeyIdentifier"),i("2.5.29.15","keyUsage"),s("2.5.29.16","privateKeyUsagePeriod"),i("2.5.29.17","subjectAltName"),i("2.5.29.18","issuerAltName"),i("2.5.29.19","basicConstraints"),s("2.5.29.20","cRLNumber"),s("2.5.29.21","cRLReason"),s("2.5.29.22","expirationDate"),s("2.5.29.23","instructionCode"),s("2.5.29.24","invalidityDate"),s("2.5.29.25","cRLDistributionPoints"),s("2.5.29.26","issuingDistributionPoint"),s("2.5.29.27","deltaCRLIndicator"),s("2.5.29.28","issuingDistributionPoint"),s("2.5.29.29","certificateIssuer"),s("2.5.29.30","nameConstraints"),i("2.5.29.31","cRLDistributionPoints"),i("2.5.29.32","certificatePolicies"),s("2.5.29.33","policyMappings"),s("2.5.29.34","policyConstraints"),i("2.5.29.35","authorityKeyIdentifier"),s("2.5.29.36","policyConstraints"),i("2.5.29.37","extKeyUsage"),s("2.5.29.46","freshestCRL"),s("2.5.29.54","inhibitAnyPolicy"),i("1.3.6.1.4.1.11129.2.4.2","timestampList"),i("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),i("1.3.6.1.5.5.7.3.1","serverAuth"),i("1.3.6.1.5.5.7.3.2","clientAuth"),i("1.3.6.1.5.5.7.3.3","codeSigning"),i("1.3.6.1.5.5.7.3.4","emailProtection"),i("1.3.6.1.5.5.7.3.8","timeStamping")}),uo=nt((e,t)=>{var r=Qt();xt(),tc();var n=t.exports=r.asn1=r.asn1||{};n.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},n.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},n.create=function(l,A,f,h,g){if(r.util.isArray(h)){for(var b=[],C=0;CA){var h=new Error("Too few bytes to parse DER.");throw h.available=l.length(),h.remaining=A,h.requested=f,h}}var s=function(l,A){var f=l.getByte();if(A--,f!==128){var h,g=f&128;if(!g)h=f;else{var b=f&127;i(l,A,b),h=l.getInt(b<<3)}if(h<0)throw new Error("Negative length: "+h);return h}};n.fromDer=function(l,A){A===void 0&&(A={strict:!0,parseAllBytes:!0,decodeBitStrings:!0}),typeof A=="boolean"&&(A={strict:A,parseAllBytes:!0,decodeBitStrings:!0}),"strict"in A||(A.strict=!0),"parseAllBytes"in A||(A.parseAllBytes=!0),"decodeBitStrings"in A||(A.decodeBitStrings=!0),typeof l=="string"&&(l=r.util.createBuffer(l));var f=l.length(),h=a(l,l.length(),0,A);if(A.parseAllBytes&&l.length()!==0){var g=new Error("Unparsed DER bytes remain after ASN.1 parsing.");throw g.byteCount=f,g.remaining=l.length(),g}return h};function a(l,A,f,h){var g;i(l,A,2);var b=l.getByte();A--;var C=b&192,p=b&31;g=l.length();var Q=s(l,A);if(A-=g-l.length(),Q!==void 0&&Q>A){if(h.strict){var R=new Error("Too few bytes to read ASN.1 value.");throw R.available=l.length(),R.remaining=A,R.requested=Q,R}Q=A}var _,d,S=(b&32)===32;if(S)if(_=[],Q===void 0)for(;;){if(i(l,A,2),l.bytes(2)===String.fromCharCode(0,0)){l.getBytes(2),A-=2;break}g=l.length(),_.push(a(l,A,f+1,h)),A-=g-l.length()}else for(;Q>0;)g=l.length(),_.push(a(l,Q,f+1,h)),A-=g-l.length(),Q-=g-l.length();if(_===void 0&&C===n.Class.UNIVERSAL&&p===n.Type.BITSTRING&&(d=l.bytes(Q)),_===void 0&&h.decodeBitStrings&&C===n.Class.UNIVERSAL&&p===n.Type.BITSTRING&&Q>1){var m=l.read,T=A,L=0;if(p===n.Type.BITSTRING&&(i(l,A,1),L=l.getByte(),A--),L===0)try{g=l.length();var v={strict:!0,decodeBitStrings:!0},I=a(l,A,f+1,v),E=g-l.length();A-=E,p==n.Type.BITSTRING&&E++;var O=I.tagClass;E===Q&&(O===n.Class.UNIVERSAL||O===n.Class.CONTEXT_SPECIFIC)&&(_=[I])}catch{}_===void 0&&(l.read=m,A=T)}if(_===void 0){if(Q===void 0){if(h.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");Q=A}if(p===n.Type.BMPSTRING)for(_="";Q>0;Q-=2)i(l,A,2),_+=String.fromCharCode(l.getInt16()),A-=2;else _=l.getBytes(Q),A-=Q}var q=d===void 0?null:{bitStringContents:d};return n.create(C,p,S,_,q)}n.toDer=function(l){var A=r.util.createBuffer(),f=l.tagClass|l.type,h=r.util.createBuffer(),g=!1;if("bitStringContents"in l&&(g=!0,l.original&&(g=n.equals(l,l.original))),g)h.putBytes(l.bitStringContents);else if(l.composed){l.constructed?f|=32:h.putByte(0);for(var b=0;b1&&(l.value.charCodeAt(0)===0&&!(l.value.charCodeAt(1)&128)||l.value.charCodeAt(0)===255&&(l.value.charCodeAt(1)&128)===128)?h.putBytes(l.value.substr(1)):h.putBytes(l.value);if(A.putByte(f),h.length()<=127)A.putByte(h.length()&127);else{var C=h.length(),p="";do p+=String.fromCharCode(C&255),C=C>>>8;while(C>0);A.putByte(p.length|128);for(var b=p.length-1;b>=0;--b)A.putByte(p.charCodeAt(b))}return A.putBuffer(h),A},n.oidToDer=function(l){var A=l.split("."),f=r.util.createBuffer();f.putByte(40*parseInt(A[0],10)+parseInt(A[1],10));for(var h,g,b,C,p=2;p>>7,h||(C|=128),g.push(C),h=!1;while(b>0);for(var Q=g.length-1;Q>=0;--Q)f.putByte(g[Q])}return f},n.derToOid=function(l){var A;typeof l=="string"&&(l=r.util.createBuffer(l));var f=l.getByte();A=Math.floor(f/40)+"."+f%40;for(var h=0;l.length()>0;)f=l.getByte(),h=h<<7,f&128?h+=f&127:(A+="."+(h+f),h=0);return A},n.utcTimeToDate=function(l){var A=new Date,f=parseInt(l.substr(0,2),10);f=f>=50?1900+f:2e3+f;var h=parseInt(l.substr(2,2),10)-1,g=parseInt(l.substr(4,2),10),b=parseInt(l.substr(6,2),10),C=parseInt(l.substr(8,2),10),p=0;if(l.length>11){var Q=l.charAt(10),R=10;Q!=="+"&&Q!=="-"&&(p=parseInt(l.substr(10,2),10),R+=2)}if(A.setUTCFullYear(f,h,g),A.setUTCHours(b,C,p,0),R&&(Q=l.charAt(R),Q==="+"||Q==="-")){var _=parseInt(l.substr(R+1,2),10),d=parseInt(l.substr(R+4,2),10),S=_*60+d;S*=6e4,Q==="+"?A.setTime(+A-S):A.setTime(+A+S)}return A},n.generalizedTimeToDate=function(l){var A=new Date,f=parseInt(l.substr(0,4),10),h=parseInt(l.substr(4,2),10)-1,g=parseInt(l.substr(6,2),10),b=parseInt(l.substr(8,2),10),C=parseInt(l.substr(10,2),10),p=parseInt(l.substr(12,2),10),Q=0,R=0,_=!1;l.charAt(l.length-1)==="Z"&&(_=!0);var d=l.length-5,S=l.charAt(d);if(S==="+"||S==="-"){var m=parseInt(l.substr(d+1,2),10),T=parseInt(l.substr(d+4,2),10);R=m*60+T,R*=6e4,S==="+"&&(R*=-1),_=!0}return l.charAt(14)==="."&&(Q=parseFloat(l.substr(14),10)*1e3),_?(A.setUTCFullYear(f,h,g),A.setUTCHours(b,C,p,Q),A.setTime(+A+R)):(A.setFullYear(f,h,g),A.setHours(b,C,p,Q)),A},n.dateToUtcTime=function(l){if(typeof l=="string")return l;var A="",f=[];f.push((""+l.getUTCFullYear()).substr(2)),f.push(""+(l.getUTCMonth()+1)),f.push(""+l.getUTCDate()),f.push(""+l.getUTCHours()),f.push(""+l.getUTCMinutes()),f.push(""+l.getUTCSeconds());for(var h=0;h=-128&&l<128)return A.putSignedInt(l,8);if(l>=-32768&&l<32768)return A.putSignedInt(l,16);if(l>=-8388608&&l<8388608)return A.putSignedInt(l,24);if(l>=-2147483648&&l<2147483648)return A.putSignedInt(l,32);var f=new Error("Integer too large; max is 32-bits.");throw f.integer=l,f},n.derToInteger=function(l){typeof l=="string"&&(l=r.util.createBuffer(l));var A=l.length()*8;if(A>32)throw new Error("Integer too large; max is 32-bits.");return l.getSignedInt(A)},n.validate=function(l,A,f,h){var g=!1;if((l.tagClass===A.tagClass||typeof A.tagClass>"u")&&(l.type===A.type||typeof A.type>"u"))if(l.constructed===A.constructed||typeof A.constructed>"u"){if(g=!0,A.value&&r.util.isArray(A.value))for(var b=0,C=0;g&&C0&&(h+=` +`,m=m.substr(S));return T+=m,T},i.binary.base64.decode=function(d,S,m){var T=S;T||(T=new Uint8Array(Math.ceil(d.length/4)*3)),d=d.replace(/[^A-Za-z0-9\+\/\=]/g,""),m=m||0;for(var L,v,I,E,O=0,q=m;O>4,I!==64&&(T[q++]=(v&15)<<4|I>>2,E!==64&&(T[q++]=(I&3)<<6|E));return S?q-m:T.subarray(0,q)},i.binary.base58.encode=function(d,S){return i.binary.baseN.encode(d,h,S)},i.binary.base58.decode=function(d,S){return i.binary.baseN.decode(d,h,S)},i.text={utf8:{},utf16:{}},i.text.utf8.encode=function(d,S,m){d=i.encodeUtf8(d);var T=S;T||(T=new Uint8Array(d.length)),m=m||0;for(var L=m,v=0;v"u"&&(m=["web","flash"]);var L,v=!1,I=null;for(var E in m){L=m[E];try{if(L==="flash"||L==="both"){if(S[0]===null)throw new Error("Flash local storage not available.");T=d.apply(this,S),v=L==="flash"}(L==="web"||L==="both")&&(S[0]=localStorage,T=d.apply(this,S),v=!0)}catch(O){I=O}if(v)break}if(!v)throw I;return T};i.setItem=function(d,S,m,T,L){_(C,arguments,L)},i.getItem=function(d,S,m,T){return _(p,arguments,T)},i.removeItem=function(d,S,m,T){_(Q,arguments,T)},i.clearItems=function(d,S,m){_(R,arguments,m)},i.isEmpty=function(d){for(var S in d)if(d.hasOwnProperty(S))return!1;return!0},i.format=function(d){for(var S=/%./g,m,T,L=0,v=[],I=0;m=S.exec(d);){T=d.substring(I,S.lastIndex-2),T.length>0&&v.push(T),I=S.lastIndex;var E=m[0][1];switch(E){case"s":case"o":L");break;case"%":v.push("%");break;default:v.push("<%"+E+"?>")}}return v.push(d.substring(I)),v.join("")},i.formatNumber=function(d,S,m,T){var L=d,v=isNaN(S=Math.abs(S))?2:S,I=m===void 0?",":m,E=T===void 0?".":T,O=L<0?"-":"",q=parseInt(L=Math.abs(+L||0).toFixed(v),10)+"",V=q.length>3?q.length%3:0;return O+(V?q.substr(0,V)+E:"")+q.substr(V).replace(/(\d{3})(?=\d)/g,"$1"+E)+(v?I+Math.abs(L-q).toFixed(v).slice(2):"")},i.formatSize=function(d){return d>=1073741824?d=i.formatNumber(d/1073741824,2,".","")+" GiB":d>=1048576?d=i.formatNumber(d/1048576,2,".","")+" MiB":d>=1024?d=i.formatNumber(d/1024,0)+" KiB":d=i.formatNumber(d,0)+" bytes",d},i.bytesFromIP=function(d){return d.indexOf(".")!==-1?i.bytesFromIPv4(d):d.indexOf(":")!==-1?i.bytesFromIPv6(d):null},i.bytesFromIPv4=function(d){if(d=d.split("."),d.length!==4)return null;for(var S=i.createBuffer(),m=0;mm[T].end-m[T].start&&(T=m.length-1))}S.push(v)}if(m.length>0){var O=m[T];O.end-O.start>0&&(S.splice(O.start,O.end-O.start+1,""),O.start===0&&S.unshift(""),O.end===7&&S.push(""))}return S.join(":")},i.estimateCores=function(d,S){if(typeof d=="function"&&(S=d,d={}),d=d||{},"cores"in i&&!d.update)return S(null,i.cores);if(typeof navigator<"u"&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return i.cores=navigator.hardwareConcurrency,S(null,i.cores);if(typeof Worker>"u")return i.cores=1,S(null,i.cores);if(typeof Blob>"u")return i.cores=2,S(null,i.cores);var m=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",function(I){for(var E=Date.now(),O=E+4;Date.now()F.st&&V.stV.st&&F.st{var r=Qt();xt(),t.exports=r.cipher=r.cipher||{},r.cipher.algorithms=r.cipher.algorithms||{},r.cipher.createCipher=function(i,s){var a=i;if(typeof a=="string"&&(a=r.cipher.getAlgorithm(a),a&&(a=a())),!a)throw new Error("Unsupported algorithm: "+i);return new r.cipher.BlockCipher({algorithm:a,key:s,decrypt:!1})},r.cipher.createDecipher=function(i,s){var a=i;if(typeof a=="string"&&(a=r.cipher.getAlgorithm(a),a&&(a=a())),!a)throw new Error("Unsupported algorithm: "+i);return new r.cipher.BlockCipher({algorithm:a,key:s,decrypt:!0})},r.cipher.registerAlgorithm=function(i,s){i=i.toUpperCase(),r.cipher.algorithms[i]=s},r.cipher.getAlgorithm=function(i){return i=i.toUpperCase(),i in r.cipher.algorithms?r.cipher.algorithms[i]:null};var n=r.cipher.BlockCipher=function(i){this.algorithm=i.algorithm,this.mode=this.algorithm.mode,this.blockSize=this.mode.blockSize,this._finish=!1,this._input=null,this.output=null,this._op=i.decrypt?this.mode.decrypt:this.mode.encrypt,this._decrypt=i.decrypt,this.algorithm.initialize(i)};n.prototype.start=function(i){i=i||{};var s={};for(var a in i)s[a]=i[a];s.decrypt=this._decrypt,this._finish=!1,this._input=r.util.createBuffer(),this.output=i.output||r.util.createBuffer(),this.mode.start(s)},n.prototype.update=function(i){for(i&&this._input.putBuffer(i);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()},n.prototype.finish=function(i){i&&(this.mode.name==="ECB"||this.mode.name==="CBC")&&(this.mode.pad=function(a){return i(this.blockSize,a,!1)},this.mode.unpad=function(a){return i(this.blockSize,a,!0)});var s={};return s.decrypt=this._decrypt,s.overflow=this._input.length()%this.blockSize,!(!this._decrypt&&this.mode.pad&&!this.mode.pad(this._input,s)||(this._finish=!0,this.update(),this._decrypt&&this.mode.unpad&&!this.mode.unpad(this.output,s))||this.mode.afterFinish&&!this.mode.afterFinish(this.output,s))}}),_T=nt((e,t)=>{var r=Qt();xt(),r.cipher=r.cipher||{};var n=t.exports=r.cipher.modes=r.cipher.modes||{};n.ecb=function(c){c=c||{},this.name="ECB",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},n.ecb.prototype.start=function(c){},n.ecb.prototype.encrypt=function(c,l,A){if(c.length()0))return!0;for(var f=0;f0))return!0;for(var f=0;f0)return!1;var A=c.length(),f=c.at(A-1);return f>this.blockSize<<2?!1:(c.truncate(f),!0)},n.cbc=function(c){c=c||{},this.name="CBC",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},n.cbc.prototype.start=function(c){if(c.iv===null){if(!this._prev)throw new Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else if("iv"in c)this._iv=i(c.iv,this.blockSize),this._prev=this._iv.slice(0);else throw new Error("Invalid IV parameter.")},n.cbc.prototype.encrypt=function(c,l,A){if(c.length()0))return!0;for(var f=0;f0))return!0;for(var f=0;f0)return!1;var A=c.length(),f=c.at(A-1);return f>this.blockSize<<2?!1:(c.truncate(f),!0)},n.cfb=function(c){c=c||{},this.name="CFB",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0},n.cfb.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");this._iv=i(c.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},n.cfb.prototype.encrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0)c.read-=this.blockSize;else for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0},n.cfb.prototype.decrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0)c.read-=this.blockSize;else for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0},n.ofb=function(c){c=c||{},this.name="OFB",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0},n.ofb.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");this._iv=i(c.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},n.ofb.prototype.encrypt=function(c,l,A){var f=c.length();if(c.length()===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0)c.read-=this.blockSize;else for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0},n.ofb.prototype.decrypt=n.ofb.prototype.encrypt,n.ctr=function(c){c=c||{},this.name="CTR",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0},n.ctr.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");this._iv=i(c.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},n.ctr.prototype.encrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize)for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0&&(c.read-=this.blockSize),this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0}s(this._inBlock)},n.ctr.prototype.decrypt=n.ctr.prototype.encrypt,n.gcm=function(c){c=c||{},this.name="GCM",this.cipher=c.cipher,this.blockSize=c.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints),this._partialOutput=r.util.createBuffer(),this._partialBytes=0,this._R=3774873600},n.gcm.prototype.start=function(c){if(!("iv"in c))throw new Error("Invalid IV parameter.");var l=r.util.createBuffer(c.iv);this._cipherLength=0;var A;if("additionalData"in c?A=r.util.createBuffer(c.additionalData):A=r.util.createBuffer(),"tagLength"in c?this._tagLength=c.tagLength:this._tagLength=128,this._tag=null,c.decrypt&&(this._tag=r.util.createBuffer(c.tag).getBytes(),this._tag.length!==this._tagLength/8))throw new Error("Authentication tag does not match tag length.");this._hashBlock=new Array(this._ints),this.tag=null,this._hashSubkey=new Array(this._ints),this.cipher.encrypt([0,0,0,0],this._hashSubkey),this.componentBits=4,this._m=this.generateHashTable(this._hashSubkey,this.componentBits);var f=l.length();if(f===12)this._j0=[l.getInt32(),l.getInt32(),l.getInt32(),1];else{for(this._j0=[0,0,0,0];l.length()>0;)this._j0=this.ghash(this._hashSubkey,this._j0,[l.getInt32(),l.getInt32(),l.getInt32(),l.getInt32()]);this._j0=this.ghash(this._hashSubkey,this._j0,[0,0].concat(a(f*8)))}this._inBlock=this._j0.slice(0),s(this._inBlock),this._partialBytes=0,A=r.util.createBuffer(A),this._aDataLength=a(A.length()*8);var h=A.length()%this.blockSize;for(h&&A.fillWithByte(0,this.blockSize-h),this._s=[0,0,0,0];A.length()>0;)this._s=this.ghash(this._hashSubkey,this._s,[A.getInt32(),A.getInt32(),A.getInt32(),A.getInt32()])},n.gcm.prototype.encrypt=function(c,l,A){var f=c.length();if(f===0)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),this._partialBytes===0&&f>=this.blockSize){for(var h=0;h0&&(g=this.blockSize-g),this._partialOutput.clear();for(var h=0;h0&&this._partialOutput.getBytes(this._partialBytes),g>0&&!A)return c.read-=this.blockSize,l.putBytes(this._partialOutput.getBytes(g-this._partialBytes)),this._partialBytes=g,!0;l.putBytes(this._partialOutput.getBytes(f-this._partialBytes)),this._partialBytes=0}this._s=this.ghash(this._hashSubkey,this._s,this._outBlock),s(this._inBlock)},n.gcm.prototype.decrypt=function(c,l,A){var f=c.length();if(f0))return!0;this.cipher.encrypt(this._inBlock,this._outBlock),s(this._inBlock),this._hashBlock[0]=c.getInt32(),this._hashBlock[1]=c.getInt32(),this._hashBlock[2]=c.getInt32(),this._hashBlock[3]=c.getInt32(),this._s=this.ghash(this._hashSubkey,this._s,this._hashBlock);for(var h=0;h0;--f)l[f]=c[f]>>>1|(c[f-1]&1)<<31;l[0]=c[0]>>>1,A&&(l[0]^=this._R)},n.gcm.prototype.tableMultiply=function(c){for(var l=[0,0,0,0],A=0;A<32;++A){var f=A/8|0,h=c[f]>>>(7-A%8)*4&15,g=this._m[A][h];l[0]^=g[0],l[1]^=g[1],l[2]^=g[2],l[3]^=g[3]}return l},n.gcm.prototype.ghash=function(c,l,A){return l[0]^=A[0],l[1]^=A[1],l[2]^=A[2],l[3]^=A[3],this.tableMultiply(l)},n.gcm.prototype.generateHashTable=function(c,l){for(var A=8/l,f=4*A,h=16*A,g=new Array(h),b=0;b>>1,h=new Array(A);h[f]=c.slice(0);for(var g=f>>>1;g>0;)this.pow(h[2*g],h[g]=[]),g>>=1;for(g=2;g4){var A=c;c=r.util.createBuffer();for(var f=0;f{var r=Qt();RQ(),_T(),xt(),t.exports=r.aes=r.aes||{},r.aes.startEncrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!1,mode:_});return d.start(Q),d},r.aes.createEncryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!1,mode:Q})},r.aes.startDecrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!0,mode:_});return d.start(Q),d},r.aes.createDecryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!0,mode:Q})},r.aes.Algorithm=function(p,Q){i||h();var R=this;R.name=p,R.mode=new Q({blockSize:16,cipher:{encrypt:function(_,d){return b(R._w,_,d,!1)},decrypt:function(_,d){return b(R._w,_,d,!0)}}}),R._init=!1},r.aes.Algorithm.prototype.initialize=function(p){if(!this._init){var Q=p.key,R;if(typeof Q=="string"&&(Q.length===16||Q.length===24||Q.length===32))Q=r.util.createBuffer(Q);else if(r.util.isArray(Q)&&(Q.length===16||Q.length===24||Q.length===32)){R=Q,Q=r.util.createBuffer();for(var _=0;_>>2;for(var _=0;_>8^T&255^99,a[R]=T,c[T]=R,L=p[T],d=p[R],S=p[d],m=p[S],v=L<<24^T<<16^T<<8^(T^L),I=(d^S^m)<<24^(R^m)<<16^(R^S^m)<<8^(R^d^m);for(var E=0;E<4;++E)A[E][R]=v,f[E][T]=I,v=v<<24|v>>>8,I=I<<24|I>>>8;R===0?R=_=1:(R=d^p[p[p[d^m]]],_^=p[p[_]])}}function g(p,Q){for(var R=p.slice(0),_,d=1,S=R.length,m=S+6+1,T=s*m,L=S;L>>16&255]<<24^a[_>>>8&255]<<16^a[_&255]<<8^a[_>>>24]^l[d]<<24,d++):S>6&&L%S===4&&(_=a[_>>>24]<<24^a[_>>>16&255]<<16^a[_>>>8&255]<<8^a[_&255]),R[L]=R[L-S]^_;if(Q){var v,I=f[0],E=f[1],O=f[2],q=f[3],V=R.slice(0);T=R.length;for(var L=0,w=T-s;L>>24]]^E[a[v>>>16&255]]^O[a[v>>>8&255]]^q[a[v&255]];R=V}return R}function b(p,Q,R,_){var d=p.length/4-1,S,m,T,L,v;_?(S=f[0],m=f[1],T=f[2],L=f[3],v=c):(S=A[0],m=A[1],T=A[2],L=A[3],v=a);var I,E,O,q,V,w,N;I=Q[0]^p[0],E=Q[_?3:1]^p[1],O=Q[2]^p[2],q=Q[_?1:3]^p[3];for(var F=3,M=1;M>>24]^m[E>>>16&255]^T[O>>>8&255]^L[q&255]^p[++F],w=S[E>>>24]^m[O>>>16&255]^T[q>>>8&255]^L[I&255]^p[++F],N=S[O>>>24]^m[q>>>16&255]^T[I>>>8&255]^L[E&255]^p[++F],q=S[q>>>24]^m[I>>>16&255]^T[E>>>8&255]^L[O&255]^p[++F],I=V,E=w,O=N;R[0]=v[I>>>24]<<24^v[E>>>16&255]<<16^v[O>>>8&255]<<8^v[q&255]^p[++F],R[_?3:1]=v[E>>>24]<<24^v[O>>>16&255]<<16^v[q>>>8&255]<<8^v[I&255]^p[++F],R[2]=v[O>>>24]<<24^v[q>>>16&255]<<16^v[I>>>8&255]<<8^v[E&255]^p[++F],R[_?1:3]=v[q>>>24]<<24^v[I>>>16&255]<<16^v[E>>>8&255]<<8^v[O&255]^p[++F]}function C(p){p=p||{};var Q=(p.mode||"CBC").toUpperCase(),R="AES-"+Q,_;p.decrypt?_=r.cipher.createDecipher(R,p.key):_=r.cipher.createCipher(R,p.key);var d=_.start;return _.start=function(S,m){var T=null;m instanceof r.util.ByteBuffer&&(T=m,m={}),m=m||{},m.output=T,m.iv=S,d.call(_,m)},_}}),tc=nt((e,t)=>{var r=Qt();r.pki=r.pki||{};var n=t.exports=r.pki.oids=r.oids=r.oids||{};function i(a,c){n[a]=c,n[c]=a}function s(a,c){n[a]=c}i("1.2.840.113549.1.1.1","rsaEncryption"),i("1.2.840.113549.1.1.4","md5WithRSAEncryption"),i("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),i("1.2.840.113549.1.1.7","RSAES-OAEP"),i("1.2.840.113549.1.1.8","mgf1"),i("1.2.840.113549.1.1.9","pSpecified"),i("1.2.840.113549.1.1.10","RSASSA-PSS"),i("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),i("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),i("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),i("1.3.101.112","EdDSA25519"),i("1.2.840.10040.4.3","dsa-with-sha1"),i("1.3.14.3.2.7","desCBC"),i("1.3.14.3.2.26","sha1"),i("1.3.14.3.2.29","sha1WithRSASignature"),i("2.16.840.1.101.3.4.2.1","sha256"),i("2.16.840.1.101.3.4.2.2","sha384"),i("2.16.840.1.101.3.4.2.3","sha512"),i("2.16.840.1.101.3.4.2.4","sha224"),i("2.16.840.1.101.3.4.2.5","sha512-224"),i("2.16.840.1.101.3.4.2.6","sha512-256"),i("1.2.840.113549.2.2","md2"),i("1.2.840.113549.2.5","md5"),i("1.2.840.113549.1.7.1","data"),i("1.2.840.113549.1.7.2","signedData"),i("1.2.840.113549.1.7.3","envelopedData"),i("1.2.840.113549.1.7.4","signedAndEnvelopedData"),i("1.2.840.113549.1.7.5","digestedData"),i("1.2.840.113549.1.7.6","encryptedData"),i("1.2.840.113549.1.9.1","emailAddress"),i("1.2.840.113549.1.9.2","unstructuredName"),i("1.2.840.113549.1.9.3","contentType"),i("1.2.840.113549.1.9.4","messageDigest"),i("1.2.840.113549.1.9.5","signingTime"),i("1.2.840.113549.1.9.6","counterSignature"),i("1.2.840.113549.1.9.7","challengePassword"),i("1.2.840.113549.1.9.8","unstructuredAddress"),i("1.2.840.113549.1.9.14","extensionRequest"),i("1.2.840.113549.1.9.20","friendlyName"),i("1.2.840.113549.1.9.21","localKeyId"),i("1.2.840.113549.1.9.22.1","x509Certificate"),i("1.2.840.113549.1.12.10.1.1","keyBag"),i("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),i("1.2.840.113549.1.12.10.1.3","certBag"),i("1.2.840.113549.1.12.10.1.4","crlBag"),i("1.2.840.113549.1.12.10.1.5","secretBag"),i("1.2.840.113549.1.12.10.1.6","safeContentsBag"),i("1.2.840.113549.1.5.13","pkcs5PBES2"),i("1.2.840.113549.1.5.12","pkcs5PBKDF2"),i("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),i("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),i("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),i("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),i("1.2.840.113549.2.7","hmacWithSHA1"),i("1.2.840.113549.2.8","hmacWithSHA224"),i("1.2.840.113549.2.9","hmacWithSHA256"),i("1.2.840.113549.2.10","hmacWithSHA384"),i("1.2.840.113549.2.11","hmacWithSHA512"),i("1.2.840.113549.3.7","des-EDE3-CBC"),i("2.16.840.1.101.3.4.1.2","aes128-CBC"),i("2.16.840.1.101.3.4.1.22","aes192-CBC"),i("2.16.840.1.101.3.4.1.42","aes256-CBC"),i("2.5.4.3","commonName"),i("2.5.4.4","surname"),i("2.5.4.5","serialNumber"),i("2.5.4.6","countryName"),i("2.5.4.7","localityName"),i("2.5.4.8","stateOrProvinceName"),i("2.5.4.9","streetAddress"),i("2.5.4.10","organizationName"),i("2.5.4.11","organizationalUnitName"),i("2.5.4.12","title"),i("2.5.4.13","description"),i("2.5.4.15","businessCategory"),i("2.5.4.17","postalCode"),i("2.5.4.42","givenName"),i("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),i("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),i("2.16.840.1.113730.1.1","nsCertType"),i("2.16.840.1.113730.1.13","nsComment"),s("2.5.29.1","authorityKeyIdentifier"),s("2.5.29.2","keyAttributes"),s("2.5.29.3","certificatePolicies"),s("2.5.29.4","keyUsageRestriction"),s("2.5.29.5","policyMapping"),s("2.5.29.6","subtreesConstraint"),s("2.5.29.7","subjectAltName"),s("2.5.29.8","issuerAltName"),s("2.5.29.9","subjectDirectoryAttributes"),s("2.5.29.10","basicConstraints"),s("2.5.29.11","nameConstraints"),s("2.5.29.12","policyConstraints"),s("2.5.29.13","basicConstraints"),i("2.5.29.14","subjectKeyIdentifier"),i("2.5.29.15","keyUsage"),s("2.5.29.16","privateKeyUsagePeriod"),i("2.5.29.17","subjectAltName"),i("2.5.29.18","issuerAltName"),i("2.5.29.19","basicConstraints"),s("2.5.29.20","cRLNumber"),s("2.5.29.21","cRLReason"),s("2.5.29.22","expirationDate"),s("2.5.29.23","instructionCode"),s("2.5.29.24","invalidityDate"),s("2.5.29.25","cRLDistributionPoints"),s("2.5.29.26","issuingDistributionPoint"),s("2.5.29.27","deltaCRLIndicator"),s("2.5.29.28","issuingDistributionPoint"),s("2.5.29.29","certificateIssuer"),s("2.5.29.30","nameConstraints"),i("2.5.29.31","cRLDistributionPoints"),i("2.5.29.32","certificatePolicies"),s("2.5.29.33","policyMappings"),s("2.5.29.34","policyConstraints"),i("2.5.29.35","authorityKeyIdentifier"),s("2.5.29.36","policyConstraints"),i("2.5.29.37","extKeyUsage"),s("2.5.29.46","freshestCRL"),s("2.5.29.54","inhibitAnyPolicy"),i("1.3.6.1.4.1.11129.2.4.2","timestampList"),i("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),i("1.3.6.1.5.5.7.3.1","serverAuth"),i("1.3.6.1.5.5.7.3.2","clientAuth"),i("1.3.6.1.5.5.7.3.3","codeSigning"),i("1.3.6.1.5.5.7.3.4","emailProtection"),i("1.3.6.1.5.5.7.3.8","timeStamping")}),uo=nt((e,t)=>{var r=Qt();xt(),tc();var n=t.exports=r.asn1=r.asn1||{};n.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},n.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},n.create=function(l,A,f,h,g){if(r.util.isArray(h)){for(var b=[],C=0;CA){var h=new Error("Too few bytes to parse DER.");throw h.available=l.length(),h.remaining=A,h.requested=f,h}}var s=function(l,A){var f=l.getByte();if(A--,f!==128){var h,g=f&128;if(!g)h=f;else{var b=f&127;i(l,A,b),h=l.getInt(b<<3)}if(h<0)throw new Error("Negative length: "+h);return h}};n.fromDer=function(l,A){A===void 0&&(A={strict:!0,parseAllBytes:!0,decodeBitStrings:!0}),typeof A=="boolean"&&(A={strict:A,parseAllBytes:!0,decodeBitStrings:!0}),"strict"in A||(A.strict=!0),"parseAllBytes"in A||(A.parseAllBytes=!0),"decodeBitStrings"in A||(A.decodeBitStrings=!0),typeof l=="string"&&(l=r.util.createBuffer(l));var f=l.length(),h=a(l,l.length(),0,A);if(A.parseAllBytes&&l.length()!==0){var g=new Error("Unparsed DER bytes remain after ASN.1 parsing.");throw g.byteCount=f,g.remaining=l.length(),g}return h};function a(l,A,f,h){var g;i(l,A,2);var b=l.getByte();A--;var C=b&192,p=b&31;g=l.length();var Q=s(l,A);if(A-=g-l.length(),Q!==void 0&&Q>A){if(h.strict){var R=new Error("Too few bytes to read ASN.1 value.");throw R.available=l.length(),R.remaining=A,R.requested=Q,R}Q=A}var _,d,S=(b&32)===32;if(S)if(_=[],Q===void 0)for(;;){if(i(l,A,2),l.bytes(2)===String.fromCharCode(0,0)){l.getBytes(2),A-=2;break}g=l.length(),_.push(a(l,A,f+1,h)),A-=g-l.length()}else for(;Q>0;)g=l.length(),_.push(a(l,Q,f+1,h)),A-=g-l.length(),Q-=g-l.length();if(_===void 0&&C===n.Class.UNIVERSAL&&p===n.Type.BITSTRING&&(d=l.bytes(Q)),_===void 0&&h.decodeBitStrings&&C===n.Class.UNIVERSAL&&p===n.Type.BITSTRING&&Q>1){var m=l.read,T=A,L=0;if(p===n.Type.BITSTRING&&(i(l,A,1),L=l.getByte(),A--),L===0)try{g=l.length();var v={strict:!0,decodeBitStrings:!0},I=a(l,A,f+1,v),E=g-l.length();A-=E,p==n.Type.BITSTRING&&E++;var O=I.tagClass;E===Q&&(O===n.Class.UNIVERSAL||O===n.Class.CONTEXT_SPECIFIC)&&(_=[I])}catch{}_===void 0&&(l.read=m,A=T)}if(_===void 0){if(Q===void 0){if(h.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");Q=A}if(p===n.Type.BMPSTRING)for(_="";Q>0;Q-=2)i(l,A,2),_+=String.fromCharCode(l.getInt16()),A-=2;else _=l.getBytes(Q),A-=Q}var q=d===void 0?null:{bitStringContents:d};return n.create(C,p,S,_,q)}n.toDer=function(l){var A=r.util.createBuffer(),f=l.tagClass|l.type,h=r.util.createBuffer(),g=!1;if("bitStringContents"in l&&(g=!0,l.original&&(g=n.equals(l,l.original))),g)h.putBytes(l.bitStringContents);else if(l.composed){l.constructed?f|=32:h.putByte(0);for(var b=0;b1&&(l.value.charCodeAt(0)===0&&!(l.value.charCodeAt(1)&128)||l.value.charCodeAt(0)===255&&(l.value.charCodeAt(1)&128)===128)?h.putBytes(l.value.substr(1)):h.putBytes(l.value);if(A.putByte(f),h.length()<=127)A.putByte(h.length()&127);else{var C=h.length(),p="";do p+=String.fromCharCode(C&255),C=C>>>8;while(C>0);A.putByte(p.length|128);for(var b=p.length-1;b>=0;--b)A.putByte(p.charCodeAt(b))}return A.putBuffer(h),A},n.oidToDer=function(l){var A=l.split("."),f=r.util.createBuffer();f.putByte(40*parseInt(A[0],10)+parseInt(A[1],10));for(var h,g,b,C,p=2;p>>7,h||(C|=128),g.push(C),h=!1;while(b>0);for(var Q=g.length-1;Q>=0;--Q)f.putByte(g[Q])}return f},n.derToOid=function(l){var A;typeof l=="string"&&(l=r.util.createBuffer(l));var f=l.getByte();A=Math.floor(f/40)+"."+f%40;for(var h=0;l.length()>0;)f=l.getByte(),h=h<<7,f&128?h+=f&127:(A+="."+(h+f),h=0);return A},n.utcTimeToDate=function(l){var A=new Date,f=parseInt(l.substr(0,2),10);f=f>=50?1900+f:2e3+f;var h=parseInt(l.substr(2,2),10)-1,g=parseInt(l.substr(4,2),10),b=parseInt(l.substr(6,2),10),C=parseInt(l.substr(8,2),10),p=0;if(l.length>11){var Q=l.charAt(10),R=10;Q!=="+"&&Q!=="-"&&(p=parseInt(l.substr(10,2),10),R+=2)}if(A.setUTCFullYear(f,h,g),A.setUTCHours(b,C,p,0),R&&(Q=l.charAt(R),Q==="+"||Q==="-")){var _=parseInt(l.substr(R+1,2),10),d=parseInt(l.substr(R+4,2),10),S=_*60+d;S*=6e4,Q==="+"?A.setTime(+A-S):A.setTime(+A+S)}return A},n.generalizedTimeToDate=function(l){var A=new Date,f=parseInt(l.substr(0,4),10),h=parseInt(l.substr(4,2),10)-1,g=parseInt(l.substr(6,2),10),b=parseInt(l.substr(8,2),10),C=parseInt(l.substr(10,2),10),p=parseInt(l.substr(12,2),10),Q=0,R=0,_=!1;l.charAt(l.length-1)==="Z"&&(_=!0);var d=l.length-5,S=l.charAt(d);if(S==="+"||S==="-"){var m=parseInt(l.substr(d+1,2),10),T=parseInt(l.substr(d+4,2),10);R=m*60+T,R*=6e4,S==="+"&&(R*=-1),_=!0}return l.charAt(14)==="."&&(Q=parseFloat(l.substr(14),10)*1e3),_?(A.setUTCFullYear(f,h,g),A.setUTCHours(b,C,p,Q),A.setTime(+A+R)):(A.setFullYear(f,h,g),A.setHours(b,C,p,Q)),A},n.dateToUtcTime=function(l){if(typeof l=="string")return l;var A="",f=[];f.push((""+l.getUTCFullYear()).substr(2)),f.push(""+(l.getUTCMonth()+1)),f.push(""+l.getUTCDate()),f.push(""+l.getUTCHours()),f.push(""+l.getUTCMinutes()),f.push(""+l.getUTCSeconds());for(var h=0;h=-128&&l<128)return A.putSignedInt(l,8);if(l>=-32768&&l<32768)return A.putSignedInt(l,16);if(l>=-8388608&&l<8388608)return A.putSignedInt(l,24);if(l>=-2147483648&&l<2147483648)return A.putSignedInt(l,32);var f=new Error("Integer too large; max is 32-bits.");throw f.integer=l,f},n.derToInteger=function(l){typeof l=="string"&&(l=r.util.createBuffer(l));var A=l.length()*8;if(A>32)throw new Error("Integer too large; max is 32-bits.");return l.getSignedInt(A)},n.validate=function(l,A,f,h){var g=!1;if((l.tagClass===A.tagClass||typeof A.tagClass>"u")&&(l.type===A.type||typeof A.type>"u"))if(l.constructed===A.constructed||typeof A.constructed>"u"){if(g=!0,A.value&&r.util.isArray(A.value))for(var b=0,C=0;g&&C0&&(h+=` `);for(var g="",b=0;b1?h+="0x"+r.util.bytesToHex(l.value.slice(1)):h+="(none)",l.value.length>0){var R=l.value.charCodeAt(0);R==1?h+=" (1 unused bit shown)":R>1&&(h+=" ("+R+" unused bits shown)")}}else if(l.type===n.Type.OCTETSTRING)c.test(l.value)||(h+="("+l.value+") "),h+="0x"+r.util.bytesToHex(l.value);else if(l.type===n.Type.UTF8)try{h+=r.util.decodeUtf8(l.value)}catch(_){if(_.message==="URI malformed")h+="0x"+r.util.bytesToHex(l.value)+" (malformed UTF8)";else throw _}else l.type===n.Type.PRINTABLESTRING||l.type===n.Type.IA5String?h+=l.value:c.test(l.value)?h+="0x"+r.util.bytesToHex(l.value):l.value.length===0?h+="[null]":h+=l.value}return h}}),iA=nt((e,t)=>{var r=Qt();t.exports=r.md=r.md||{},r.md.algorithms=r.md.algorithms||{}}),Jh=nt((e,t)=>{var r=Qt();iA(),xt();var n=t.exports=r.hmac=r.hmac||{};n.create=function(){var i=null,s=null,a=null,c=null,l={};return l.start=function(A,f){if(A!==null)if(typeof A=="string")if(A=A.toLowerCase(),A in r.md.algorithms)s=r.md.algorithms[A].create();else throw new Error('Unknown hash algorithm "'+A+'"');else s=A;if(f===null)f=i;else{if(typeof f=="string")f=r.util.createBuffer(f);else if(r.util.isArray(f)){var h=f;f=r.util.createBuffer();for(var g=0;gs.blockLength&&(s.start(),s.update(f.bytes()),f=s.digest()),a=r.util.createBuffer(),c=r.util.createBuffer(),b=f.length();for(var g=0;g{var r=Qt();iA(),xt();var n=t.exports=r.md5=r.md5||{};r.md.md5=r.md.algorithms.md5=n,n.create=function(){l||A();var h=null,g=r.util.createBuffer(),b=new Array(16),C={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0,fullMessageLength:null,messageLengthSize:8};return C.start=function(){C.messageLength=0,C.fullMessageLength=C.messageLength64=[];for(var p=C.messageLengthSize/4,Q=0;Q>>0,R>>>0];for(var _=C.fullMessageLength.length-1;_>=0;--_)C.fullMessageLength[_]+=R[1],R[1]=R[0]+(C.fullMessageLength[_]/4294967296>>>0),C.fullMessageLength[_]=C.fullMessageLength[_]>>>0,R[0]=R[1]/4294967296>>>0;return g.putBytes(p),f(h,b,g),(g.read>2048||g.length()===0)&&g.compact(),C},C.digest=function(){var p=r.util.createBuffer();p.putBytes(g.bytes());var Q=C.fullMessageLength[C.fullMessageLength.length-1]+C.messageLengthSize,R=Q&C.blockLength-1;p.putBytes(i.substr(0,C.blockLength-R));for(var _,d=0,S=C.fullMessageLength.length-1;S>=0;--S)_=C.fullMessageLength[S]*8+d,d=_/4294967296>>>0,p.putInt32Le(_>>>0);var m={h0:h.h0,h1:h.h1,h2:h.h2,h3:h.h3};f(m,b,p);var T=r.util.createBuffer();return T.putInt32Le(m.h0),T.putInt32Le(m.h1),T.putInt32Le(m.h2),T.putInt32Le(m.h3),T},C};var i=null,s=null,a=null,c=null,l=!1;function A(){i=String.fromCharCode(128),i+=r.util.fillString(String.fromCharCode(0),64),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,6,11,0,5,10,15,4,9,14,3,8,13,2,7,12,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,0,7,14,5,12,3,10,1,8,15,6,13,4,11,2,9],a=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],c=new Array(64);for(var h=0;h<64;++h)c[h]=Math.floor(Math.abs(Math.sin(h+1))*4294967296);l=!0}function f(h,g,b){for(var C,p,Q,R,_,d,S,m,T=b.length();T>=64;){for(p=h.h0,Q=h.h1,R=h.h2,_=h.h3,m=0;m<16;++m)g[m]=b.getInt32Le(),d=_^Q&(R^_),C=p+d+c[m]+g[m],S=a[m],p=_,_=R,R=Q,Q+=C<>>32-S;for(;m<32;++m)d=R^_&(Q^R),C=p+d+c[m]+g[s[m]],S=a[m],p=_,_=R,R=Q,Q+=C<>>32-S;for(;m<48;++m)d=Q^R^_,C=p+d+c[m]+g[s[m]],S=a[m],p=_,_=R,R=Q,Q+=C<>>32-S;for(;m<64;++m)d=R^(Q|~_),C=p+d+c[m]+g[s[m]],S=a[m],p=_,_=R,R=Q,Q+=C<>>32-S;h.h0=h.h0+p|0,h.h1=h.h1+Q|0,h.h2=h.h2+R|0,h.h3=h.h3+_|0,T-=64}}}),Vl=nt((e,t)=>{var r=Qt();xt();var n=t.exports=r.pem=r.pem||{};n.encode=function(a,c){c=c||{};var l="-----BEGIN "+a.type+`-----\r @@ -107,7 +107,7 @@ web-ext-deploy --get-cookies=opera`},$k="opera";async function $z(e){throw e.zip `,l},n.decode=function(a){for(var c=[],l=/\s*-----BEGIN ([A-Z0-9- ]+)-----\r?\n?([\x21-\x7e\s]+?(?:\r?\n\r?\n))?([:A-Za-z0-9+\/=\s]+?)-----END \1-----/g,A=/([\x21-\x7e]+):\s*([\x21-\x7e\s^:]+)/,f=/\r?\n/,h;h=l.exec(a),!!h;){var g=h[1];g==="NEW CERTIFICATE REQUEST"&&(g="CERTIFICATE REQUEST");var b={type:g,procType:null,contentDomain:null,dekInfo:null,headers:[],body:r.util.decode64(h[3])};if(c.push(b),!!h[2]){for(var C=h[2].split(f),p=0;h&&p65&&g!==-1){var b=c[g];b===","?(++g,c=c.substr(0,g)+`\r `+c.substr(g)):c=c.substr(0,g)+`\r -`+b+c.substr(g+1),h=f-g-1,g=-1,++f}else(c[f]===" "||c[f]===" "||c[f]===",")&&(g=f);return c}function s(a){return a.replace(/^\s+/,"")}}),jE=nt((e,t)=>{var r=Qt();RQ(),RT(),xt(),t.exports=r.des=r.des||{},r.des.startEncrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!1,mode:_||(Q===null?"ECB":"CBC")});return d.start(Q),d},r.des.createEncryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!1,mode:Q})},r.des.startDecrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!0,mode:_||(Q===null?"ECB":"CBC")});return d.start(Q),d},r.des.createDecryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!0,mode:Q})},r.des.Algorithm=function(p,Q){var R=this;R.name=p,R.mode=new Q({blockSize:8,cipher:{encrypt:function(_,d){return b(R._keys,_,d,!1)},decrypt:function(_,d){return b(R._keys,_,d,!0)}}}),R._init=!1},r.des.Algorithm.prototype.initialize=function(p){if(!this._init){var Q=r.util.createBuffer(p.key);if(this.name.indexOf("3DES")===0&&Q.length()!==24)throw new Error("Invalid Triple-DES key size: "+Q.length()*8);this._keys=g(Q),this._init=!0}},n("DES-ECB",r.cipher.modes.ecb),n("DES-CBC",r.cipher.modes.cbc),n("DES-CFB",r.cipher.modes.cfb),n("DES-OFB",r.cipher.modes.ofb),n("DES-CTR",r.cipher.modes.ctr),n("3DES-ECB",r.cipher.modes.ecb),n("3DES-CBC",r.cipher.modes.cbc),n("3DES-CFB",r.cipher.modes.cfb),n("3DES-OFB",r.cipher.modes.ofb),n("3DES-CTR",r.cipher.modes.ctr);function n(p,Q){var R=function(){return new r.des.Algorithm(p,Q)};r.cipher.registerAlgorithm(p,R)}var i=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],s=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],a=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],c=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],A=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],f=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],h=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];function g(p){for(var Q=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],R=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],_=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],d=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],S=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],m=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],T=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],L=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],v=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],I=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],E=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],O=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],q=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],V=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],w=p.length()>8?3:1,N=[],F=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0],M=0,P,ee=0;ee>>4^ce)&252645135,ce^=P,se^=P<<4,P=(ce>>>-16^se)&65535,se^=P,ce^=P<<-16,P=(se>>>2^ce)&858993459,ce^=P,se^=P<<2,P=(ce>>>-16^se)&65535,se^=P,ce^=P<<-16,P=(se>>>1^ce)&1431655765,ce^=P,se^=P<<1,P=(ce>>>8^se)&16711935,se^=P,ce^=P<<8,P=(se>>>1^ce)&1431655765,ce^=P,se^=P<<1,P=se<<8|ce>>>20&240,se=ce<<24|ce<<8&16711680|ce>>>8&65280|ce>>>24&240,ce=P;for(var ge=0;ge>>26,ce=ce<<2|ce>>>26):(se=se<<1|se>>>27,ce=ce<<1|ce>>>27),se&=-15,ce&=-15;var Ee=Q[se>>>28]|R[se>>>24&15]|_[se>>>20&15]|d[se>>>16&15]|S[se>>>12&15]|m[se>>>8&15]|T[se>>>4&15],we=L[ce>>>28]|v[ce>>>24&15]|I[ce>>>20&15]|E[ce>>>16&15]|O[ce>>>12&15]|q[ce>>>8&15]|V[ce>>>4&15];P=(we>>>16^Ee)&65535,N[M++]=Ee^P,N[M++]=we^P<<16}}return N}function b(p,Q,R,_){var d=p.length===32?3:9,S;d===3?S=_?[30,-2,-2]:[0,32,2]:S=_?[94,62,-2,32,64,2,30,-2,-2]:[0,32,2,62,30,-2,64,96,2];var m,T=Q[0],L=Q[1];m=(T>>>4^L)&252645135,L^=m,T^=m<<4,m=(T>>>16^L)&65535,L^=m,T^=m<<16,m=(L>>>2^T)&858993459,T^=m,L^=m<<2,m=(L>>>8^T)&16711935,T^=m,L^=m<<8,m=(T>>>1^L)&1431655765,L^=m,T^=m<<1,T=T<<1|T>>>31,L=L<<1|L>>>31;for(var v=0;v>>4|L<<28)^p[O+1];m=T,T=L,L=m^(s[q>>>24&63]|c[q>>>16&63]|A[q>>>8&63]|h[q&63]|i[V>>>24&63]|a[V>>>16&63]|l[V>>>8&63]|f[V&63])}m=T,T=L,L=m}T=T>>>1|T<<31,L=L>>>1|L<<31,m=(T>>>1^L)&1431655765,L^=m,T^=m<<1,m=(L>>>8^T)&16711935,T^=m,L^=m<<8,m=(L>>>2^T)&858993459,T^=m,L^=m<<2,m=(T>>>16^L)&65535,L^=m,T^=m<<16,m=(T>>>4^L)&252645135,L^=m,T^=m<<4,R[0]=T,R[1]=L}function C(p){p=p||{};var Q=(p.mode||"CBC").toUpperCase(),R="DES-"+Q,_;p.decrypt?_=r.cipher.createDecipher(R,p.key):_=r.cipher.createCipher(R,p.key);var d=_.start;return _.start=function(S,m){var T=null;m instanceof r.util.ByteBuffer&&(T=m,m={}),m=m||{},m.output=T,m.iv=S,d.call(_,m)},_}}),kQ=nt((e,t)=>{var r=Qt();Jh(),iA(),xt();var n=r.pkcs5=r.pkcs5||{},i;r.util.isNodejs&&!r.options.usePureJavaScript&&(i=Tl("crypto")),t.exports=r.pbkdf2=n.pbkdf2=function(s,a,c,l,A,f){if(typeof A=="function"&&(f=A,A=null),r.util.isNodejs&&!r.options.usePureJavaScript&&i.pbkdf2&&(A===null||typeof A!="object")&&(i.pbkdf2Sync.length>4||!A||A==="sha1"))return typeof A!="string"&&(A="sha1"),s=Buffer.from(s,"binary"),a=Buffer.from(a,"binary"),f?i.pbkdf2Sync.length===4?i.pbkdf2(s,a,c,l,function(v,I){if(v)return f(v);f(null,I.toString("binary"))}):i.pbkdf2(s,a,c,l,A,function(v,I){if(v)return f(v);f(null,I.toString("binary"))}):i.pbkdf2Sync.length===4?i.pbkdf2Sync(s,a,c,l).toString("binary"):i.pbkdf2Sync(s,a,c,l,A).toString("binary");if((typeof A>"u"||A===null)&&(A="sha1"),typeof A=="string"){if(!(A in r.md.algorithms))throw new Error("Unknown hash algorithm: "+A);A=r.md[A].create()}var h=A.digestLength;if(l>4294967295*h){var g=new Error("Derived key is too long.");if(f)return f(g);throw g}var b=Math.ceil(l/h),C=l-(b-1)*h,p=r.hmac.create();p.start(A,s);var Q="",R,_,d;if(!f){for(var S=1;S<=b;++S){p.start(null,null),p.update(a),p.update(r.util.int32ToBytes(S)),R=d=p.digest().getBytes();for(var m=2;m<=c;++m)p.start(null,null),p.update(d),_=p.digest().getBytes(),R=r.util.xorBytes(R,_,h),d=_;Q+=Sb)return f(null,Q);p.start(null,null),p.update(a),p.update(r.util.int32ToBytes(S)),R=d=p.digest().getBytes(),m=2,L()}function L(){if(m<=c)return p.start(null,null),p.update(d),_=p.digest().getBytes(),R=r.util.xorBytes(R,_,h),d=_,++m,r.util.setImmediate(L);Q+=S{var r=Qt();iA(),xt();var n=t.exports=r.sha256=r.sha256||{};r.md.sha256=r.md.algorithms.sha256=n,n.create=function(){s||c();var A=null,f=r.util.createBuffer(),h=new Array(64),g={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,fullMessageLength:null,messageLengthSize:8};return g.start=function(){g.messageLength=0,g.fullMessageLength=g.messageLength64=[];for(var b=g.messageLengthSize/4,C=0;C>>0,p>>>0];for(var Q=g.fullMessageLength.length-1;Q>=0;--Q)g.fullMessageLength[Q]+=p[1],p[1]=p[0]+(g.fullMessageLength[Q]/4294967296>>>0),g.fullMessageLength[Q]=g.fullMessageLength[Q]>>>0,p[0]=p[1]/4294967296>>>0;return f.putBytes(b),l(A,h,f),(f.read>2048||f.length()===0)&&f.compact(),g},g.digest=function(){var b=r.util.createBuffer();b.putBytes(f.bytes());var C=g.fullMessageLength[g.fullMessageLength.length-1]+g.messageLengthSize,p=C&g.blockLength-1;b.putBytes(i.substr(0,g.blockLength-p));for(var Q,R,_=g.fullMessageLength[0]*8,d=0;d>>0,_+=R,b.putInt32(_>>>0),_=Q>>>0;b.putInt32(_);var S={h0:A.h0,h1:A.h1,h2:A.h2,h3:A.h3,h4:A.h4,h5:A.h5,h6:A.h6,h7:A.h7};l(S,h,b);var m=r.util.createBuffer();return m.putInt32(S.h0),m.putInt32(S.h1),m.putInt32(S.h2),m.putInt32(S.h3),m.putInt32(S.h4),m.putInt32(S.h5),m.putInt32(S.h6),m.putInt32(S.h7),m},g};var i=null,s=!1,a=null;function c(){i=String.fromCharCode(128),i+=r.util.fillString(String.fromCharCode(0),64),a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=!0}function l(A,f,h){for(var g,b,C,p,Q,R,_,d,S,m,T,L,v,I,E,O=h.length();O>=64;){for(_=0;_<16;++_)f[_]=h.getInt32();for(;_<64;++_)g=f[_-2],g=(g>>>17|g<<15)^(g>>>19|g<<13)^g>>>10,b=f[_-15],b=(b>>>7|b<<25)^(b>>>18|b<<14)^b>>>3,f[_]=g+f[_-7]+b+f[_-16]|0;for(d=A.h0,S=A.h1,m=A.h2,T=A.h3,L=A.h4,v=A.h5,I=A.h6,E=A.h7,_=0;_<64;++_)p=(L>>>6|L<<26)^(L>>>11|L<<21)^(L>>>25|L<<7),Q=I^L&(v^I),C=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),R=d&S|m&(d^S),g=E+p+Q+a[_]+f[_],b=C+R,E=I,I=v,v=L,L=T+g>>>0,T=m,m=S,S=d,d=g+b>>>0;A.h0=A.h0+d|0,A.h1=A.h1+S|0,A.h2=A.h2+m|0,A.h3=A.h3+T|0,A.h4=A.h4+L|0,A.h5=A.h5+v|0,A.h6=A.h6+I|0,A.h7=A.h7+E|0,O-=64}}}),kT=nt((e,t)=>{var r=Qt();xt();var n=null;r.util.isNodejs&&!r.options.usePureJavaScript&&!process.versions["node-webkit"]&&(n=Tl("crypto"));var i=t.exports=r.prng=r.prng||{};i.create=function(s){for(var a={plugin:s,key:null,seed:null,time:null,reseeds:0,generated:0,keyBytes:""},c=s.md,l=new Array(32),A=0;A<32;++A)l[A]=c.create();a.pools=l,a.pool=0,a.generate=function(C,p){if(!p)return a.generateSync(C);var Q=a.plugin.cipher,R=a.plugin.increment,_=a.plugin.formatKey,d=a.plugin.formatSeed,S=r.util.createBuffer();a.key=null,m();function m(T){if(T)return p(T);if(S.length()>=C)return p(null,S.getBytes(C));if(a.generated>1048575&&(a.key=null),a.key===null)return r.util.nextTick(function(){f(m)});var L=Q(a.key,a.seed);a.generated+=L.length,S.putBytes(L),a.key=_(Q(a.key,R(a.seed))),a.seed=d(Q(a.key,a.seed)),r.util.setImmediate(m)}},a.generateSync=function(C){var p=a.plugin.cipher,Q=a.plugin.increment,R=a.plugin.formatKey,_=a.plugin.formatSeed;a.key=null;for(var d=r.util.createBuffer();d.length()1048575&&(a.key=null),a.key===null&&h();var S=p(a.key,a.seed);a.generated+=S.length,d.putBytes(S),a.key=R(p(a.key,Q(a.seed))),a.seed=_(p(a.key,a.seed))}return d.getBytes(C)};function f(C){if(a.pools[0].messageLength>=32)return g(),C();var p=32-a.pools[0].messageLength<<5;a.seedFile(p,function(Q,R){if(Q)return C(Q);a.collect(R),g(),C()})}function h(){if(a.pools[0].messageLength>=32)return g();var C=32-a.pools[0].messageLength<<5;a.collect(a.seedFileSync(C)),g()}function g(){a.reseeds=a.reseeds===4294967295?0:a.reseeds+1;var C=a.plugin.md.create();C.update(a.keyBytes);for(var p=1,Q=0;Q<32;++Q)a.reseeds%p===0&&(C.update(a.pools[Q].digest().getBytes()),a.pools[Q].start()),p=p<<1;a.keyBytes=C.digest().getBytes(),C.start(),C.update(a.keyBytes);var R=C.digest().getBytes();a.key=a.plugin.formatKey(a.keyBytes),a.seed=a.plugin.formatSeed(R),a.generated=0}function b(C){var p=null,Q=r.util.globalScope,R=Q.crypto||Q.msCrypto;R&&R.getRandomValues&&(p=function(E){return R.getRandomValues(E)});var _=r.util.createBuffer();if(p)for(;_.length()>16),L+=(T&32767)<<16,L+=T>>15,L=(L&2147483647)+(L>>31),I=L&4294967295;for(var m=0;m<3;++m)v=I>>>(m<<3),v^=Math.floor(Math.random()*256),_.putByte(v&255)}return _.getBytes(C)}return n?(a.seedFile=function(C,p){n.randomBytes(C,function(Q,R){if(Q)return p(Q);p(null,R.toString())})},a.seedFileSync=function(C){return n.randomBytes(C).toString()}):(a.seedFile=function(C,p){try{p(null,b(C))}catch(Q){p(Q)}},a.seedFileSync=b),a.collect=function(C){for(var p=C.length,Q=0;Q>R&255);a.collect(Q)},a.registerWorker=function(C){if(C===self)a.seedFile=function(Q,R){function _(d){var S=d.data;S.forge&&S.forge.prng&&(self.removeEventListener("message",_),R(S.forge.prng.err,S.forge.prng.bytes))}self.addEventListener("message",_),self.postMessage({forge:{prng:{needed:Q}}})};else{var p=function(Q){var R=Q.data;R.forge&&R.forge.prng&&a.seedFile(R.forge.prng.needed,function(_,d){C.postMessage({forge:{prng:{err:_,bytes:d}}})})};C.addEventListener("message",p)}},a}}),Ds=nt((e,t)=>{var r=Qt();ec(),_T(),kT(),xt(),function(){if(r.random&&r.random.getBytes){t.exports=r.random;return}(function(n){var i={},s=new Array(4),a=r.util.createBuffer();i.formatKey=function(C){var p=r.util.createBuffer(C);return C=new Array(4),C[0]=p.getInt32(),C[1]=p.getInt32(),C[2]=p.getInt32(),C[3]=p.getInt32(),r.aes._expandKey(C,!1)},i.formatSeed=function(C){var p=r.util.createBuffer(C);return C=new Array(4),C[0]=p.getInt32(),C[1]=p.getInt32(),C[2]=p.getInt32(),C[3]=p.getInt32(),C},i.cipher=function(C,p){return r.aes._updateBlock(C,p,s,!1),a.putInt32(s[0]),a.putInt32(s[1]),a.putInt32(s[2]),a.putInt32(s[3]),a.getBytes()},i.increment=function(C){return++C[3],C},i.md=r.md.sha256;function c(){var C=r.prng.create(i);return C.getBytes=function(p,Q){return C.generate(p,Q)},C.getBytesSync=function(p){return C.generate(p)},C}var l=c(),A=null,f=r.util.globalScope,h=f.crypto||f.msCrypto;if(h&&h.getRandomValues&&(A=function(C){return h.getRandomValues(C)}),r.options.usePureJavaScript||!r.util.isNodejs&&!A){if(typeof window>"u"||window.document,l.collectInt(+new Date,32),typeof navigator<"u"){var g="";for(var b in navigator)try{typeof navigator[b]=="string"&&(g+=navigator[b])}catch{}l.collect(g),g=null}n&&(n().mousemove(function(C){l.collectInt(C.clientX,16),l.collectInt(C.clientY,16)}),n().keypress(function(C){l.collectInt(C.charCode,8)}))}if(!r.random)r.random=l;else for(var b in l)r.random[b]=l[b];r.random.createInstance=c,t.exports=r.random})(typeof jQuery<"u"?jQuery:null)}()}),DT=nt((e,t)=>{var r=Qt();xt();var n=[217,120,249,196,25,221,181,237,40,233,253,121,74,160,216,157,198,126,55,131,43,118,83,142,98,76,100,136,68,139,251,162,23,154,89,245,135,179,79,19,97,69,109,141,9,129,125,50,189,143,64,235,134,183,123,11,240,149,33,34,92,107,78,130,84,214,101,147,206,96,178,28,115,86,192,20,167,140,241,220,18,117,202,31,59,190,228,209,66,61,212,48,163,60,182,38,111,191,14,218,70,105,7,87,39,242,29,155,188,148,67,3,248,17,199,246,144,239,62,231,6,195,213,47,200,102,30,215,8,232,234,222,128,82,238,247,132,170,114,172,53,77,106,42,150,26,210,113,90,21,73,116,75,159,208,94,4,24,164,236,194,224,65,110,15,81,203,204,36,145,175,80,161,244,112,57,153,124,58,133,35,184,180,122,252,2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],i=[1,2,3,5],s=function(l,A){return l<>16-A},a=function(l,A){return(l&65535)>>A|l<<16-A&65535};t.exports=r.rc2=r.rc2||{},r.rc2.expandKey=function(l,A){typeof l=="string"&&(l=r.util.createBuffer(l)),A=A||128;var f=l,h=l.length(),g=A,b=Math.ceil(g/8),C=255>>(g&7),p;for(p=h;p<128;p++)f.putByte(n[f.at(p-1)+f.at(p-h)&255]);for(f.setAt(128-b,n[f.at(128-b)&C]),p=127-b;p>=0;p--)f.setAt(p,n[f.at(p+1)^f.at(p+b)]);return f};var c=function(l,A,f){var h=!1,g=null,b=null,C=null,p,Q,R,_,d=[];for(l=r.rc2.expandKey(l,A),R=0;R<64;R++)d.push(l.getInt16Le());f?(p=function(T){for(R=0;R<4;R++)T[R]+=d[_]+(T[(R+3)%4]&T[(R+2)%4])+(~T[(R+3)%4]&T[(R+1)%4]),T[R]=s(T[R],i[R]),_++},Q=function(T){for(R=0;R<4;R++)T[R]+=d[T[(R+3)%4]&63]}):(p=function(T){for(R=3;R>=0;R--)T[R]=a(T[R],i[R]),T[R]-=d[_]+(T[(R+3)%4]&T[(R+2)%4])+(~T[(R+3)%4]&T[(R+1)%4]),_--},Q=function(T){for(R=3;R>=0;R--)T[R]-=d[T[(R+3)%4]&63]});var S=function(T){var L=[];for(R=0;R<4;R++){var v=g.getInt16Le();C!==null&&(f?v^=C.getInt16Le():C.putInt16Le(v)),L.push(v&65535)}_=f?0:63;for(var I=0;I=8;)S([[5,p],[1,Q],[6,p],[1,Q],[5,p]])},finish:function(T){var L=!0;if(f)if(T)L=T(8,g,!f);else{var v=g.length()===8?8:8-g.length();g.fillWithByte(v,v)}if(L&&(h=!0,m.update()),!f&&(L=g.length()===0,L))if(T)L=T(8,b,!f);else{var I=b.length(),E=b.at(I-1);E>I?L=!1:b.truncate(E)}return L}},m};r.rc2.startEncrypting=function(l,A,f){var h=r.rc2.createEncryptionCipher(l,128);return h.start(A,f),h},r.rc2.createEncryptionCipher=function(l,A){return c(l,A,!0)},r.rc2.startDecrypting=function(l,A,f){var h=r.rc2.createDecryptionCipher(l,128);return h.start(A,f),h},r.rc2.createDecryptionCipher=function(l,A){return c(l,A,!1)}}),zE=nt((e,t)=>{var r=Qt();t.exports=r.jsbn=r.jsbn||{};var n,i=0xdeadbeefcafe,s=(i&16777215)==15715070;function a(G,j,Z){this.data=[],G!=null&&(typeof G=="number"?this.fromNumber(G,j,Z):j==null&&typeof G!="string"?this.fromString(G,256):this.fromString(G,j))}r.jsbn.BigInteger=a;function c(){return new a(null)}function l(G,j,Z,le,Be,ve){for(;--ve>=0;){var Me=j*this.data[G++]+Z.data[le]+Be;Be=Math.floor(Me/67108864),Z.data[le++]=Me&67108863}return Be}function A(G,j,Z,le,Be,ve){for(var Me=j&32767,Fe=j>>15;--ve>=0;){var Lt=this.data[G]&32767,Tr=this.data[G++]>>15,an=Fe*Lt+Tr*Me;Lt=Me*Lt+((an&32767)<<15)+Z.data[le]+(Be&1073741823),Be=(Lt>>>30)+(an>>>15)+Fe*Tr+(Be>>>30),Z.data[le++]=Lt&1073741823}return Be}function f(G,j,Z,le,Be,ve){for(var Me=j&16383,Fe=j>>14;--ve>=0;){var Lt=this.data[G]&16383,Tr=this.data[G++]>>14,an=Fe*Lt+Tr*Me;Lt=Me*Lt+((an&16383)<<14)+Z.data[le]+Be,Be=(Lt>>28)+(an>>14)+Fe*Tr,Z.data[le++]=Lt&268435455}return Be}typeof navigator>"u"?(a.prototype.am=f,n=28):s&&navigator.appName=="Microsoft Internet Explorer"?(a.prototype.am=A,n=30):s&&navigator.appName!="Netscape"?(a.prototype.am=l,n=26):(a.prototype.am=f,n=28),a.prototype.DB=n,a.prototype.DM=(1<=0;--j)G.data[j]=this.data[j];G.t=this.t,G.s=this.s}function d(G){this.t=1,this.s=G<0?-1:0,G>0?this.data[0]=G:G<-1?this.data[0]=G+this.DV:this.t=0}function S(G){var j=c();return j.fromInt(G),j}function m(G,j){var Z;if(j==16)Z=4;else if(j==8)Z=3;else if(j==256)Z=8;else if(j==2)Z=1;else if(j==32)Z=5;else if(j==4)Z=2;else{this.fromRadix(G,j);return}this.t=0,this.s=0;for(var le=G.length,Be=!1,ve=0;--le>=0;){var Me=Z==8?G[le]&255:R(G,le);if(Me<0){G.charAt(le)=="-"&&(Be=!0);continue}Be=!1,ve==0?this.data[this.t++]=Me:ve+Z>this.DB?(this.data[this.t-1]|=(Me&(1<>this.DB-ve):this.data[this.t-1]|=Me<=this.DB&&(ve-=this.DB)}Z==8&&G[0]&128&&(this.s=-1,ve>0&&(this.data[this.t-1]|=(1<0&&this.data[this.t-1]==G;)--this.t}function L(G){if(this.s<0)return"-"+this.negate().toString(G);var j;if(G==16)j=4;else if(G==8)j=3;else if(G==2)j=1;else if(G==32)j=5;else if(G==4)j=2;else return this.toRadix(G);var Z=(1<0)for(Fe>Fe)>0&&(Be=!0,ve=Q(le));Me>=0;)Fe>(Fe+=this.DB-j)):(le=this.data[Me]>>(Fe-=j)&Z,Fe<=0&&(Fe+=this.DB,--Me)),le>0&&(Be=!0),Be&&(ve+=Q(le));return Be?ve:"0"}function v(){var G=c();return a.ZERO.subTo(this,G),G}function I(){return this.s<0?this.negate():this}function E(G){var j=this.s-G.s;if(j!=0)return j;var Z=this.t;if(j=Z-G.t,j!=0)return this.s<0?-j:j;for(;--Z>=0;)if((j=this.data[Z]-G.data[Z])!=0)return j;return 0}function O(G){var j=1,Z;return(Z=G>>>16)!=0&&(G=Z,j+=16),(Z=G>>8)!=0&&(G=Z,j+=8),(Z=G>>4)!=0&&(G=Z,j+=4),(Z=G>>2)!=0&&(G=Z,j+=2),(Z=G>>1)!=0&&(G=Z,j+=1),j}function q(){return this.t<=0?0:this.DB*(this.t-1)+O(this.data[this.t-1]^this.s&this.DM)}function V(G,j){var Z;for(Z=this.t-1;Z>=0;--Z)j.data[Z+G]=this.data[Z];for(Z=G-1;Z>=0;--Z)j.data[Z]=0;j.t=this.t+G,j.s=this.s}function w(G,j){for(var Z=G;Z=0;--Fe)j.data[Fe+ve+1]=this.data[Fe]>>le|Me,Me=(this.data[Fe]&Be)<=0;--Fe)j.data[Fe]=0;j.data[ve]=Me,j.t=this.t+ve+1,j.s=this.s,j.clamp()}function F(G,j){j.s=this.s;var Z=Math.floor(G/this.DB);if(Z>=this.t){j.t=0;return}var le=G%this.DB,Be=this.DB-le,ve=(1<>le;for(var Me=Z+1;Me>le;le>0&&(j.data[this.t-Z-1]|=(this.s&ve)<>=this.DB;if(G.t>=this.DB;le+=this.s}else{for(le+=this.s;Z>=this.DB;le-=G.s}j.s=le<0?-1:0,le<-1?j.data[Z++]=this.DV+le:le>0&&(j.data[Z++]=le),j.t=Z,j.clamp()}function P(G,j){var Z=this.abs(),le=G.abs(),Be=Z.t;for(j.t=Be+le.t;--Be>=0;)j.data[Be]=0;for(Be=0;Be=0;)G.data[Z]=0;for(Z=0;Z=j.DV&&(G.data[Z+j.t]-=j.DV,G.data[Z+j.t+1]=1)}G.t>0&&(G.data[G.t-1]+=j.am(Z,j.data[Z],G,2*Z,0,1)),G.s=0,G.clamp()}function se(G,j,Z){var le=G.abs();if(!(le.t<=0)){var Be=this.abs();if(Be.t0?(le.lShiftTo(Lt,ve),Be.lShiftTo(Lt,Z)):(le.copyTo(ve),Be.copyTo(Z));var Tr=ve.t,an=ve.data[Tr-1];if(an!=0){var gn=an*(1<1?ve.data[Tr-2]>>this.F2:0),si=this.FV/gn,Ts=(1<=0&&(Z.data[Z.t++]=1,Z.subTo(bi,Z)),a.ONE.dlShiftTo(Tr,bi),bi.subTo(ve,ve);ve.t=0;){var hs=Z.data[--Kr]==an?this.DM:Math.floor(Z.data[Kr]*si+(Z.data[Kr-1]+cn)*Ts);if((Z.data[Kr]+=ve.am(0,hs,Z,go,0,Tr))0&&Z.rShiftTo(Lt,Z),Me<0&&a.ZERO.subTo(Z,Z)}}}function ce(G){var j=c();return this.abs().divRemTo(G,null,j),this.s<0&&j.compareTo(a.ZERO)>0&&G.subTo(j,j),j}function ge(G){this.m=G}function Ee(G){return G.s<0||G.compareTo(this.m)>=0?G.mod(this.m):G}function we(G){return G}function De(G){G.divRemTo(this.m,null,G)}function ye(G,j,Z){G.multiplyTo(j,Z),this.reduce(Z)}function Ke(G,j){G.squareTo(j),this.reduce(j)}ge.prototype.convert=Ee,ge.prototype.revert=we,ge.prototype.reduce=De,ge.prototype.mulTo=ye,ge.prototype.sqrTo=Ke;function Se(){if(this.t<1)return 0;var G=this.data[0];if(!(G&1))return 0;var j=G&3;return j=j*(2-(G&15)*j)&15,j=j*(2-(G&255)*j)&255,j=j*(2-((G&65535)*j&65535))&65535,j=j*(2-G*j%this.DV)%this.DV,j>0?this.DV-j:-j}function lt(G){this.m=G,this.mp=G.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(j,j),j}function U(G){var j=c();return G.copyTo(j),this.reduce(j),j}function X(G){for(;G.t<=this.mt2;)G.data[G.t++]=0;for(var j=0;j>15)*this.mpl&this.um)<<15)&G.DM;for(Z=j+this.m.t,G.data[Z]+=this.m.am(0,le,G,j,0,this.m.t);G.data[Z]>=G.DV;)G.data[Z]-=G.DV,G.data[++Z]++}G.clamp(),G.drShiftTo(this.m.t,G),G.compareTo(this.m)>=0&&G.subTo(this.m,G)}function z(G,j){G.squareTo(j),this.reduce(j)}function k(G,j,Z){G.multiplyTo(j,Z),this.reduce(Z)}lt.prototype.convert=ot,lt.prototype.revert=U,lt.prototype.reduce=X,lt.prototype.mulTo=k,lt.prototype.sqrTo=z;function J(){return(this.t>0?this.data[0]&1:this.s)==0}function oe(G,j){if(G>4294967295||G<1)return a.ONE;var Z=c(),le=c(),Be=j.convert(this),ve=O(G)-1;for(Be.copyTo(Z);--ve>=0;)if(j.sqrTo(Z,le),(G&1<0)j.mulTo(le,Be,Z);else{var Me=Z;Z=le,le=Me}return j.revert(Z)}function te(G,j){var Z;return G<256||j.isEven()?Z=new ge(j):Z=new lt(j),this.exp(G,Z)}a.prototype.copyTo=_,a.prototype.fromInt=d,a.prototype.fromString=m,a.prototype.clamp=T,a.prototype.dlShiftTo=V,a.prototype.drShiftTo=w,a.prototype.lShiftTo=N,a.prototype.rShiftTo=F,a.prototype.subTo=M,a.prototype.multiplyTo=P,a.prototype.squareTo=ee,a.prototype.divRemTo=se,a.prototype.invDigit=Se,a.prototype.isEven=J,a.prototype.exp=oe,a.prototype.toString=L,a.prototype.negate=v,a.prototype.abs=I,a.prototype.compareTo=E,a.prototype.bitLength=q,a.prototype.mod=ce,a.prototype.modPowInt=te,a.ZERO=S(0),a.ONE=S(1);function me(){var G=c();return this.copyTo(G),G}function Oe(){if(this.s<0){if(this.t==1)return this.data[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this.data[0];if(this.t==0)return 0}return(this.data[1]&(1<<32-this.DB)-1)<>24}function pe(){return this.t==0?this.s:this.data[0]<<16>>16}function Ue(G){return Math.floor(Math.LN2*this.DB/Math.log(G))}function Xe(){return this.s<0?-1:this.t<=0||this.t==1&&this.data[0]<=0?0:1}function ht(G){if(G==null&&(G=10),this.signum()==0||G<2||G>36)return"0";var j=this.chunkSize(G),Z=Math.pow(G,j),le=S(Z),Be=c(),ve=c(),Me="";for(this.divRemTo(le,Be,ve);Be.signum()>0;)Me=(Z+ve.intValue()).toString(G).substr(1)+Me,Be.divRemTo(le,Be,ve);return ve.intValue().toString(G)+Me}function je(G,j){this.fromInt(0),j==null&&(j=10);for(var Z=this.chunkSize(j),le=Math.pow(j,Z),Be=!1,ve=0,Me=0,Fe=0;Fe=Z&&(this.dMultiply(le),this.dAddOffset(Me,0),ve=0,Me=0)}ve>0&&(this.dMultiply(Math.pow(j,ve)),this.dAddOffset(Me,0)),Be&&a.ZERO.subTo(this,this)}function Yt(G,j,Z){if(typeof j=="number")if(G<2)this.fromInt(1);else for(this.fromNumber(G,Z),this.testBit(G-1)||this.bitwiseTo(a.ONE.shiftLeft(G-1),gr,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(j);)this.dAddOffset(2,0),this.bitLength()>G&&this.subTo(a.ONE.shiftLeft(G-1),this);else{var le=new Array,Be=G&7;le.length=(G>>3)+1,j.nextBytes(le),Be>0?le[0]&=(1<0)for(Z>Z)!=(this.s&this.DM)>>Z&&(j[Be++]=le|this.s<=0;)Z<8?(le=(this.data[G]&(1<>(Z+=this.DB-8)):(le=this.data[G]>>(Z-=8)&255,Z<=0&&(Z+=this.DB,--G)),le&128&&(le|=-256),Be==0&&(this.s&128)!=(le&128)&&++Be,(Be>0||le!=this.s)&&(j[Be++]=le);return j}function Ot(G){return this.compareTo(G)==0}function zt(G){return this.compareTo(G)<0?this:G}function Jt(G){return this.compareTo(G)>0?this:G}function Kt(G,j,Z){var le,Be,ve=Math.min(G.t,this.t);for(le=0;le>=16,j+=16),G&255||(G>>=8,j+=8),G&15||(G>>=4,j+=4),G&3||(G>>=2,j+=2),G&1||++j,j}function Ns(){for(var G=0;G=this.t?this.s!=0:(this.data[j]&1<>=this.DB;if(G.t>=this.DB;le+=this.s}else{for(le+=this.s;Z>=this.DB;le+=G.s}j.s=le<0?-1:0,le>0?j.data[Z++]=le:le<-1&&(j.data[Z++]=this.DV+le),j.t=Z,j.clamp()}function pr(G){var j=c();return this.addTo(G,j),j}function Cr(G){var j=c();return this.subTo(G,j),j}function _r(G){var j=c();return this.multiplyTo(G,j),j}function kr(G){var j=c();return this.divRemTo(G,j,null),j}function Dr(G){var j=c();return this.divRemTo(G,null,j),j}function vr(G){var j=c(),Z=c();return this.divRemTo(G,j,Z),new Array(j,Z)}function Nr(G){this.data[this.t]=this.am(0,G-1,this,0,0,this.t),++this.t,this.clamp()}function Mr(G,j){if(G!=0){for(;this.t<=j;)this.data[this.t++]=0;for(this.data[j]+=G;this.data[j]>=this.DV;)this.data[j]-=this.DV,++j>=this.t&&(this.data[this.t++]=0),++this.data[j]}}function cr(){}function Sr(G){return G}function rc(G,j,Z){G.multiplyTo(j,Z)}function sA(G,j){G.squareTo(j)}cr.prototype.convert=Sr,cr.prototype.revert=Sr,cr.prototype.mulTo=rc,cr.prototype.sqrTo=sA;function Hl(G){return this.exp(G,new cr)}function oA(G,j,Z){var le=Math.min(this.t+G.t,j);for(Z.s=0,Z.t=le;le>0;)Z.data[--le]=0;var Be;for(Be=Z.t-this.t;le=0;)Z.data[le]=0;for(le=Math.max(j-this.t,0);le2*this.m.t)return G.mod(this.m);if(G.compareTo(this.m)<0)return G;var j=c();return G.copyTo(j),this.reduce(j),j}function jA(G){return G}function fo(G){for(G.drShiftTo(this.m.t-1,this.r2),G.t>this.m.t+1&&(G.t=this.m.t+1,G.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);G.compareTo(this.r2)<0;)G.dAddOffset(1,this.m.t+1);for(G.subTo(this.r2,G);G.compareTo(this.m)>=0;)G.subTo(this.m,G)}function AA(G,j){G.squareTo(j),this.reduce(j)}function aA(G,j,Z){G.multiplyTo(j,Z),this.reduce(Z)}mi.prototype.convert=An,mi.prototype.revert=jA,mi.prototype.reduce=fo,mi.prototype.mulTo=aA,mi.prototype.sqrTo=AA;function nc(G,j){var Z=G.bitLength(),le,Be=S(1),ve;if(Z<=0)return Be;Z<18?le=1:Z<48?le=3:Z<144?le=4:Z<768?le=5:le=6,Z<8?ve=new ge(j):j.isEven()?ve=new mi(j):ve=new lt(j);var Me=new Array,Fe=3,Lt=le-1,Tr=(1<1){var an=c();for(ve.sqrTo(Me[1],an);Fe<=Tr;)Me[Fe]=c(),ve.mulTo(an,Me[Fe-2],Me[Fe]),Fe+=2}var gn=G.t-1,si,Ts=!0,cn=c(),Kr;for(Z=O(G.data[gn])-1;gn>=0;){for(Z>=Lt?si=G.data[gn]>>Z-Lt&Tr:(si=(G.data[gn]&(1<0&&(si|=G.data[gn-1]>>this.DB+Z-Lt)),Fe=le;!(si&1);)si>>=1,--Fe;if((Z-=Fe)<0&&(Z+=this.DB,--gn),Ts)Me[si].copyTo(Be),Ts=!1;else{for(;Fe>1;)ve.sqrTo(Be,cn),ve.sqrTo(cn,Be),Fe-=2;Fe>0?ve.sqrTo(Be,cn):(Kr=Be,Be=cn,cn=Kr),ve.mulTo(cn,Me[si],Be)}for(;gn>=0&&!(G.data[gn]&1<0&&(j.rShiftTo(ve,j),Z.rShiftTo(ve,Z));j.signum()>0;)(Be=j.getLowestSetBit())>0&&j.rShiftTo(Be,j),(Be=Z.getLowestSetBit())>0&&Z.rShiftTo(Be,Z),j.compareTo(Z)>=0?(j.subTo(Z,j),j.rShiftTo(1,j)):(Z.subTo(j,Z),Z.rShiftTo(1,Z));return ve>0&&Z.lShiftTo(ve,Z),Z}function sc(G){if(G<=0)return 0;var j=this.DV%G,Z=this.s<0?G-1:0;if(this.t>0)if(j==0)Z=this.data[0]%G;else for(var le=this.t-1;le>=0;--le)Z=(j*Z+this.data[le])%G;return Z}function cA(G){var j=G.isEven();if(this.isEven()&&j||G.signum()==0)return a.ZERO;for(var Z=G.clone(),le=this.clone(),Be=S(1),ve=S(0),Me=S(0),Fe=S(1);Z.signum()!=0;){for(;Z.isEven();)Z.rShiftTo(1,Z),j?((!Be.isEven()||!ve.isEven())&&(Be.addTo(this,Be),ve.subTo(G,ve)),Be.rShiftTo(1,Be)):ve.isEven()||ve.subTo(G,ve),ve.rShiftTo(1,ve);for(;le.isEven();)le.rShiftTo(1,le),j?((!Me.isEven()||!Fe.isEven())&&(Me.addTo(this,Me),Fe.subTo(G,Fe)),Me.rShiftTo(1,Me)):Fe.isEven()||Fe.subTo(G,Fe),Fe.rShiftTo(1,Fe);Z.compareTo(le)>=0?(Z.subTo(le,Z),j&&Be.subTo(Me,Be),ve.subTo(Fe,ve)):(le.subTo(Z,le),j&&Me.subTo(Be,Me),Fe.subTo(ve,Fe))}if(le.compareTo(a.ONE)!=0)return a.ZERO;if(Fe.compareTo(G)>=0)return Fe.subtract(G);if(Fe.signum()<0)Fe.addTo(G,Fe);else return Fe;return Fe.signum()<0?Fe.add(G):Fe}var en=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],oc=(1<<26)/en[en.length-1];function Ac(G){var j,Z=this.abs();if(Z.t==1&&Z.data[0]<=en[en.length-1]){for(j=0;j=0);var Fe=ve.modPow(le,this);if(Fe.compareTo(a.ONE)!=0&&Fe.compareTo(j)!=0){for(var Lt=1;Lt++{var r=Qt();iA(),xt();var n=t.exports=r.sha1=r.sha1||{};r.md.sha1=r.md.algorithms.sha1=n,n.create=function(){s||a();var l=null,A=r.util.createBuffer(),f=new Array(80),h={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8};return h.start=function(){h.messageLength=0,h.fullMessageLength=h.messageLength64=[];for(var g=h.messageLengthSize/4,b=0;b>>0,C>>>0];for(var p=h.fullMessageLength.length-1;p>=0;--p)h.fullMessageLength[p]+=C[1],C[1]=C[0]+(h.fullMessageLength[p]/4294967296>>>0),h.fullMessageLength[p]=h.fullMessageLength[p]>>>0,C[0]=C[1]/4294967296>>>0;return A.putBytes(g),c(l,f,A),(A.read>2048||A.length()===0)&&A.compact(),h},h.digest=function(){var g=r.util.createBuffer();g.putBytes(A.bytes());var b=h.fullMessageLength[h.fullMessageLength.length-1]+h.messageLengthSize,C=b&h.blockLength-1;g.putBytes(i.substr(0,h.blockLength-C));for(var p,Q,R=h.fullMessageLength[0]*8,_=0;_>>0,R+=Q,g.putInt32(R>>>0),R=p>>>0;g.putInt32(R);var d={h0:l.h0,h1:l.h1,h2:l.h2,h3:l.h3,h4:l.h4};c(d,f,g);var S=r.util.createBuffer();return S.putInt32(d.h0),S.putInt32(d.h1),S.putInt32(d.h2),S.putInt32(d.h3),S.putInt32(d.h4),S},h};var i=null,s=!1;function a(){i=String.fromCharCode(128),i+=r.util.fillString(String.fromCharCode(0),64),s=!0}function c(l,A,f){for(var h,g,b,C,p,Q,R,_,d=f.length();d>=64;){for(g=l.h0,b=l.h1,C=l.h2,p=l.h3,Q=l.h4,_=0;_<16;++_)h=f.getInt32(),A[_]=h,R=p^b&(C^p),h=(g<<5|g>>>27)+R+Q+1518500249+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<20;++_)h=A[_-3]^A[_-8]^A[_-14]^A[_-16],h=h<<1|h>>>31,A[_]=h,R=p^b&(C^p),h=(g<<5|g>>>27)+R+Q+1518500249+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<32;++_)h=A[_-3]^A[_-8]^A[_-14]^A[_-16],h=h<<1|h>>>31,A[_]=h,R=b^C^p,h=(g<<5|g>>>27)+R+Q+1859775393+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<40;++_)h=A[_-6]^A[_-16]^A[_-28]^A[_-32],h=h<<2|h>>>30,A[_]=h,R=b^C^p,h=(g<<5|g>>>27)+R+Q+1859775393+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<60;++_)h=A[_-6]^A[_-16]^A[_-28]^A[_-32],h=h<<2|h>>>30,A[_]=h,R=b&C|p&(b^C),h=(g<<5|g>>>27)+R+Q+2400959708+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<80;++_)h=A[_-6]^A[_-16]^A[_-28]^A[_-32],h=h<<2|h>>>30,A[_]=h,R=b^C^p,h=(g<<5|g>>>27)+R+Q+3395469782+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;l.h0=l.h0+g|0,l.h1=l.h1+b|0,l.h2=l.h2+C|0,l.h3=l.h3+p|0,l.h4=l.h4+Q|0,d-=64}}}),NT=nt((e,t)=>{var r=Qt();xt(),Ds(),Wh();var n=t.exports=r.pkcs1=r.pkcs1||{};n.encode_rsa_oaep=function(s,a,c){var l,A,f,h;typeof c=="string"?(l=c,A=arguments[3]||void 0,f=arguments[4]||void 0):c&&(l=c.label||void 0,A=c.seed||void 0,f=c.md||void 0,c.mgf1&&c.mgf1.md&&(h=c.mgf1.md)),f?f.start():f=r.md.sha1.create(),h||(h=f);var g=Math.ceil(s.n.bitLength()/8),b=g-2*f.digestLength-2;if(a.length>b){var C=new Error("RSAES-OAEP input message length is too long.");throw C.length=a.length,C.maxLength=b,C}l||(l=""),f.update(l,"raw");for(var p=f.digest(),Q="",R=b-a.length,_=0;_>24&255,f>>16&255,f>>8&255,f&255);c.start(),c.update(s+h),l+=c.digest().getBytes()}return l.substring(0,a)}}),TT=nt((e,t)=>{var r=Qt();xt(),zE(),Ds(),function(){if(r.prime){t.exports=r.prime;return}var n=t.exports=r.prime=r.prime||{},i=r.jsbn.BigInteger,s=[6,4,2,4,2,4,6,2],a=new i(null);a.fromInt(30);var c=function(C,p){return C|p};n.generateProbablePrime=function(C,p,Q){typeof p=="function"&&(Q=p,p={}),p=p||{};var R=p.algorithm||"PRIMEINC";typeof R=="string"&&(R={name:R}),R.options=R.options||{};var _=p.prng||r.random,d={nextBytes:function(S){for(var m=_.getBytesSync(S.length),T=0;Tp&&(C=g(p,Q)),C.isProbablePrime(_))return S(null,C);C.dAddOffset(s[R++%8],0)}while(d<0||+new Date-m"u")return A(C,p,Q,R);var _=g(C,p),d=Q.workers,S=Q.workLoad||100,m=S*30/8,T=Q.workerScript||"forge/prime.worker.js";if(d===-1)return r.util.estimateCores(function(v,I){v&&(I=2),d=I-1,L()});L();function L(){d=Math.max(1,d);for(var v=[],I=0;IC&&(_=g(C,p));var F=_.toString(16);V.target.postMessage({hex:F,workLoad:S}),_.dAddOffset(m,0)}}}}function g(C,p){var Q=new i(C,p),R=C-1;return Q.testBit(R)||Q.bitwiseTo(i.ONE.shiftLeft(R),c,Q),Q.dAddOffset(31-Q.mod(a).byteValue(),0),Q}function b(C){return C<=100?27:C<=150?18:C<=200?15:C<=250?12:C<=300?9:C<=350?8:C<=400?7:C<=500?6:C<=600?5:C<=800?4:C<=1250?3:2}}()}),KE=nt((e,t)=>{var r=Qt();uo(),zE(),tc(),NT(),TT(),Ds(),xt(),typeof n>"u"&&(n=r.jsbn.BigInteger);var n,i=r.util.isNodejs?Tl("crypto"):null,s=r.asn1,a=r.util;r.pki=r.pki||{},t.exports=r.pki.rsa=r.rsa=r.rsa||{};var c=r.pki,l=[6,4,2,4,2,4,6,2],A={name:"PrivateKeyInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},f={name:"RSAPrivateKey",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"},{name:"RSAPrivateKey.privateExponent",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},h={name:"RSAPublicKey",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"publicKeyExponent"}]},g=r.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:s.Class.UNIVERSAL,type:s.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},b={name:"DigestInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm.algorithmIdentifier",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"algorithmIdentifier"},{name:"DigestInfo.DigestAlgorithm.parameters",tagClass:s.Class.UNIVERSAL,type:s.Type.NULL,capture:"parameters",optional:!0,constructed:!1}]},{name:"DigestInfo.digest",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"digest"}]},C=function(I){var E;if(I.algorithm in c.oids)E=c.oids[I.algorithm];else{var O=new Error("Unknown message digest algorithm.");throw O.algorithm=I.algorithm,O}var q=s.oidToDer(E).getBytes(),V=s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[]),w=s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[]);w.value.push(s.create(s.Class.UNIVERSAL,s.Type.OID,!1,q)),w.value.push(s.create(s.Class.UNIVERSAL,s.Type.NULL,!1,""));var N=s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,I.digest().getBytes());return V.value.push(w),V.value.push(N),s.toDer(V).getBytes()},p=function(I,E,O){if(O)return I.modPow(E.e,E.n);if(!E.p||!E.q)return I.modPow(E.d,E.n);E.dP||(E.dP=E.d.mod(E.p.subtract(n.ONE))),E.dQ||(E.dQ=E.d.mod(E.q.subtract(n.ONE))),E.qInv||(E.qInv=E.q.modInverse(E.p));var q;do q=new n(r.util.bytesToHex(r.random.getBytes(E.n.bitLength()/8)),16);while(q.compareTo(E.n)>=0||!q.gcd(E.n).equals(n.ONE));I=I.multiply(q.modPow(E.e,E.n)).mod(E.n);for(var V=I.mod(E.p).modPow(E.dP,E.p),w=I.mod(E.q).modPow(E.dQ,E.q);V.compareTo(w)<0;)V=V.add(E.p);var N=V.subtract(w).multiply(E.qInv).mod(E.p).multiply(E.q).add(w);return N=N.multiply(q.modInverse(E.n)).mod(E.n),N};c.rsa.encrypt=function(I,E,O){var q=O,V,w=Math.ceil(E.n.bitLength()/8);O!==!1&&O!==!0?(q=O===2,V=Q(I,E,O)):(V=r.util.createBuffer(),V.putBytes(I));for(var N=new n(V.toHex(),16),F=p(N,E,q),M=F.toString(16),P=r.util.createBuffer(),ee=w-Math.ceil(M.length/2);ee>0;)P.putByte(0),--ee;return P.putBytes(r.util.hexToBytes(M)),P.getBytes()},c.rsa.decrypt=function(I,E,O,q){var V=Math.ceil(E.n.bitLength()/8);if(I.length!==V){var w=new Error("Encrypted message length is invalid.");throw w.length=I.length,w.expected=V,w}var N=new n(r.util.createBuffer(I).toHex(),16);if(N.compareTo(E.n)>=0)throw new Error("Encrypted message is invalid.");for(var F=p(N,E,O),M=F.toString(16),P=r.util.createBuffer(),ee=V-Math.ceil(M.length/2);ee>0;)P.putByte(0),--ee;return P.putBytes(r.util.hexToBytes(M)),q!==!1?R(P.getBytes(),E,O):P.getBytes()},c.rsa.createKeyPairGenerationState=function(I,E,O){typeof I=="string"&&(I=parseInt(I,10)),I=I||2048,O=O||{};var q=O.prng||r.random,V={nextBytes:function(F){for(var M=q.getBytesSync(F.length),P=0;P>1,pBits:I-(I>>1),pqState:0,num:null,keys:null},N.e.fromInt(N.eInt);else throw new Error("Invalid key generation algorithm: "+w);return N},c.rsa.stepKeyPairGenerationState=function(I,E){"algorithm"in I||(I.algorithm="PRIMEINC");var O=new n(null);O.fromInt(30);for(var q=0,V=function(se,ce){return se|ce},w=+new Date,N,F=0;I.keys===null&&(E<=0||FM?I.pqState=0:I.num.isProbablePrime(S(I.num.bitLength()))?++I.pqState:I.num.dAddOffset(l[q++%8],0):I.pqState===2?I.pqState=I.num.subtract(n.ONE).gcd(I.e).compareTo(n.ONE)===0?3:0:I.pqState===3&&(I.pqState=0,I.p===null?I.p=I.num:I.q=I.num,I.p!==null&&I.q!==null&&++I.state,I.num=null)}else if(I.state===1)I.p.compareTo(I.q)<0&&(I.num=I.p,I.p=I.q,I.q=I.num),++I.state;else if(I.state===2)I.p1=I.p.subtract(n.ONE),I.q1=I.q.subtract(n.ONE),I.phi=I.p1.multiply(I.q1),++I.state;else if(I.state===3)I.phi.gcd(I.e).compareTo(n.ONE)===0?++I.state:(I.p=null,I.q=null,I.state=0);else if(I.state===4)I.n=I.p.multiply(I.q),I.n.bitLength()===I.bits?++I.state:(I.q=null,I.state=0);else if(I.state===5){var ee=I.e.modInverse(I.phi);I.keys={privateKey:c.rsa.setPrivateKey(I.n,I.e,ee,I.p,I.q,ee.mod(I.p1),ee.mod(I.q1),I.q.modInverse(I.p)),publicKey:c.rsa.setPublicKey(I.n,I.e)}}N=+new Date,F+=N-w,w=N}return I.keys!==null},c.rsa.generateKeyPair=function(I,E,O,q){if(arguments.length===1?typeof I=="object"?(O=I,I=void 0):typeof I=="function"&&(q=I,I=void 0):arguments.length===2?typeof I=="number"?typeof E=="function"?(q=E,E=void 0):typeof E!="number"&&(O=E,E=void 0):(O=I,q=E,I=void 0,E=void 0):arguments.length===3&&(typeof E=="number"?typeof O=="function"&&(q=O,O=void 0):(q=O,O=E,E=void 0)),O=O||{},I===void 0&&(I=O.bits||2048),E===void 0&&(E=O.e||65537),!r.options.usePureJavaScript&&!O.prng&&I>=256&&I<=16384&&(E===65537||E===3)){if(q){if(m("generateKeyPair"))return i.generateKeyPair("rsa",{modulusLength:I,publicExponent:E,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}},function(F,M,P){if(F)return q(F);q(null,{privateKey:c.privateKeyFromPem(P),publicKey:c.publicKeyFromPem(M)})});if(T("generateKey")&&T("exportKey"))return a.globalScope.crypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:I,publicExponent:v(E),hash:{name:"SHA-256"}},!0,["sign","verify"]).then(function(F){return a.globalScope.crypto.subtle.exportKey("pkcs8",F.privateKey)}).then(void 0,function(F){q(F)}).then(function(F){if(F){var M=c.privateKeyFromAsn1(s.fromDer(r.util.createBuffer(F)));q(null,{privateKey:M,publicKey:c.setRsaPublicKey(M.n,M.e)})}});if(L("generateKey")&&L("exportKey")){var V=a.globalScope.msCrypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:I,publicExponent:v(E),hash:{name:"SHA-256"}},!0,["sign","verify"]);V.oncomplete=function(F){var M=F.target.result,P=a.globalScope.msCrypto.subtle.exportKey("pkcs8",M.privateKey);P.oncomplete=function(ee){var se=ee.target.result,ce=c.privateKeyFromAsn1(s.fromDer(r.util.createBuffer(se)));q(null,{privateKey:ce,publicKey:c.setRsaPublicKey(ce.n,ce.e)})},P.onerror=function(ee){q(ee)}},V.onerror=function(F){q(F)};return}}else if(m("generateKeyPairSync")){var w=i.generateKeyPairSync("rsa",{modulusLength:I,publicExponent:E,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}});return{privateKey:c.privateKeyFromPem(w.privateKey),publicKey:c.publicKeyFromPem(w.publicKey)}}}var N=c.rsa.createKeyPairGenerationState(I,E,O);if(!q)return c.rsa.stepKeyPairGenerationState(N,0),N.keys;_(N,O,q)},c.setRsaPublicKey=c.rsa.setPublicKey=function(I,E){var O={n:I,e:E};return O.encrypt=function(q,V,w){if(typeof V=="string"?V=V.toUpperCase():V===void 0&&(V="RSAES-PKCS1-V1_5"),V==="RSAES-PKCS1-V1_5")V={encode:function(F,M,P){return Q(F,M,2).getBytes()}};else if(V==="RSA-OAEP"||V==="RSAES-OAEP")V={encode:function(F,M){return r.pkcs1.encode_rsa_oaep(M,F,w)}};else if(["RAW","NONE","NULL",null].indexOf(V)!==-1)V={encode:function(F){return F}};else if(typeof V=="string")throw new Error('Unsupported encryption scheme: "'+V+'".');var N=V.encode(q,O,!0);return c.rsa.encrypt(N,O,!0)},O.verify=function(q,V,w,N){typeof w=="string"?w=w.toUpperCase():w===void 0&&(w="RSASSA-PKCS1-V1_5"),N===void 0&&(N={_parseAllDigestBytes:!0}),"_parseAllDigestBytes"in N||(N._parseAllDigestBytes=!0),w==="RSASSA-PKCS1-V1_5"?w={verify:function(M,P){P=R(P,O,!0);var ee=s.fromDer(P,{parseAllBytes:N._parseAllDigestBytes}),se={},ce=[];if(!s.validate(ee,b,se,ce)){var ge=new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.");throw ge.errors=ce,ge}var Ee=s.derToOid(se.algorithmIdentifier);if(!(Ee===r.oids.md2||Ee===r.oids.md5||Ee===r.oids.sha1||Ee===r.oids.sha224||Ee===r.oids.sha256||Ee===r.oids.sha384||Ee===r.oids.sha512||Ee===r.oids["sha512-224"]||Ee===r.oids["sha512-256"])){var ge=new Error("Unknown RSASSA-PKCS1-v1_5 DigestAlgorithm identifier.");throw ge.oid=Ee,ge}if((Ee===r.oids.md2||Ee===r.oids.md5)&&!("parameters"in se))throw new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifer NULL parameters.");return M===se.digest}}:(w==="NONE"||w==="NULL"||w===null)&&(w={verify:function(M,P){return P=R(P,O,!0),M===P}});var F=c.rsa.decrypt(V,O,!0,!1);return w.verify(q,F,O.n.bitLength())},O},c.setRsaPrivateKey=c.rsa.setPrivateKey=function(I,E,O,q,V,w,N,F){var M={n:I,e:E,d:O,p:q,q:V,dP:w,dQ:N,qInv:F};return M.decrypt=function(P,ee,se){typeof ee=="string"?ee=ee.toUpperCase():ee===void 0&&(ee="RSAES-PKCS1-V1_5");var ce=c.rsa.decrypt(P,M,!1,!1);if(ee==="RSAES-PKCS1-V1_5")ee={decode:R};else if(ee==="RSA-OAEP"||ee==="RSAES-OAEP")ee={decode:function(ge,Ee){return r.pkcs1.decode_rsa_oaep(Ee,ge,se)}};else if(["RAW","NONE","NULL",null].indexOf(ee)!==-1)ee={decode:function(ge){return ge}};else throw new Error('Unsupported encryption scheme: "'+ee+'".');return ee.decode(ce,M,!1)},M.sign=function(P,ee){var se=!1;typeof ee=="string"&&(ee=ee.toUpperCase()),ee===void 0||ee==="RSASSA-PKCS1-V1_5"?(ee={encode:C},se=1):(ee==="NONE"||ee==="NULL"||ee===null)&&(ee={encode:function(){return P}},se=1);var ce=ee.encode(P,M.n.bitLength());return c.rsa.encrypt(ce,M,se)},M},c.wrapRsaPrivateKey=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,s.integerToDer(0).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(c.oids.rsaEncryption).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.NULL,!1,"")]),s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,s.toDer(I).getBytes())])},c.privateKeyFromAsn1=function(I){var E={},O=[];if(s.validate(I,A,E,O)&&(I=s.fromDer(r.util.createBuffer(E.privateKey))),E={},O=[],!s.validate(I,f,E,O)){var q=new Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey.");throw q.errors=O,q}var V,w,N,F,M,P,ee,se;return V=r.util.createBuffer(E.privateKeyModulus).toHex(),w=r.util.createBuffer(E.privateKeyPublicExponent).toHex(),N=r.util.createBuffer(E.privateKeyPrivateExponent).toHex(),F=r.util.createBuffer(E.privateKeyPrime1).toHex(),M=r.util.createBuffer(E.privateKeyPrime2).toHex(),P=r.util.createBuffer(E.privateKeyExponent1).toHex(),ee=r.util.createBuffer(E.privateKeyExponent2).toHex(),se=r.util.createBuffer(E.privateKeyCoefficient).toHex(),c.setRsaPrivateKey(new n(V,16),new n(w,16),new n(N,16),new n(F,16),new n(M,16),new n(P,16),new n(ee,16),new n(se,16))},c.privateKeyToAsn1=c.privateKeyToRSAPrivateKey=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,s.integerToDer(0).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.n)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.e)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.d)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.p)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.q)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.dP)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.dQ)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.qInv))])},c.publicKeyFromAsn1=function(I){var E={},O=[];if(s.validate(I,g,E,O)){var q=s.derToOid(E.publicKeyOid);if(q!==c.oids.rsaEncryption){var V=new Error("Cannot read public key. Unknown OID.");throw V.oid=q,V}I=E.rsaPublicKey}if(O=[],!s.validate(I,h,E,O)){var V=new Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey.");throw V.errors=O,V}var w=r.util.createBuffer(E.publicKeyModulus).toHex(),N=r.util.createBuffer(E.publicKeyExponent).toHex();return c.setRsaPublicKey(new n(w,16),new n(N,16))},c.publicKeyToAsn1=c.publicKeyToSubjectPublicKeyInfo=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(c.oids.rsaEncryption).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.NULL,!1,"")]),s.create(s.Class.UNIVERSAL,s.Type.BITSTRING,!1,[c.publicKeyToRSAPublicKey(I)])])},c.publicKeyToRSAPublicKey=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.n)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.e))])};function Q(I,E,O){var q=r.util.createBuffer(),V=Math.ceil(E.n.bitLength()/8);if(I.length>V-11){var w=new Error("Message is too long for PKCS#1 v1.5 padding.");throw w.length=I.length,w.max=V-11,w}q.putByte(0),q.putByte(O);var N=V-3-I.length,F;if(O===0||O===1){F=O===0?0:255;for(var M=0;M0;){for(var P=0,ee=r.random.getBytes(N),M=0;M"u")throw new Error("Encryption block is invalid.");var M=0;if(F===0){M=V-3-q;for(var P=0;P1;){if(w.getByte()!==255){--w.read;break}++M}else if(F===2)for(M=0;w.length()>1;){if(w.getByte()===0){--w.read;break}++M}var ee=w.getByte();if(ee!==0||M!==V-3-w.length())throw new Error("Encryption block is invalid.");return w.getBytes()}function _(I,E,O){typeof E=="function"&&(O=E,E={}),E=E||{};var q={algorithm:{name:E.algorithm||"PRIMEINC",options:{workers:E.workers||2,workLoad:E.workLoad||100,workerScript:E.workerScript}}};"prng"in E&&(q.prng=E.prng),V();function V(){w(I.pBits,function(F,M){if(F)return O(F);if(I.p=M,I.q!==null)return N(F,I.q);w(I.qBits,N)})}function w(F,M){r.prime.generateProbablePrime(F,q,M)}function N(F,M){if(F)return O(F);if(I.q=M,I.p.compareTo(I.q)<0){var P=I.p;I.p=I.q,I.q=P}if(I.p.subtract(n.ONE).gcd(I.e).compareTo(n.ONE)!==0){I.p=null,V();return}if(I.q.subtract(n.ONE).gcd(I.e).compareTo(n.ONE)!==0){I.q=null,w(I.qBits,N);return}if(I.p1=I.p.subtract(n.ONE),I.q1=I.q.subtract(n.ONE),I.phi=I.p1.multiply(I.q1),I.phi.gcd(I.e).compareTo(n.ONE)!==0){I.p=I.q=null,V();return}if(I.n=I.p.multiply(I.q),I.n.bitLength()!==I.bits){I.q=null,w(I.qBits,N);return}var ee=I.e.modInverse(I.phi);I.keys={privateKey:c.rsa.setPrivateKey(I.n,I.e,ee,I.p,I.q,ee.mod(I.p1),ee.mod(I.q1),I.q.modInverse(I.p)),publicKey:c.rsa.setPublicKey(I.n,I.e)},O(null,I.keys)}}function d(I){var E=I.toString(16);E[0]>="8"&&(E="00"+E);var O=r.util.hexToBytes(E);return O.length>1&&(O.charCodeAt(0)===0&&!(O.charCodeAt(1)&128)||O.charCodeAt(0)===255&&(O.charCodeAt(1)&128)===128)?O.substr(1):O}function S(I){return I<=100?27:I<=150?18:I<=200?15:I<=250?12:I<=300?9:I<=350?8:I<=400?7:I<=500?6:I<=600?5:I<=800?4:I<=1250?3:2}function m(I){return r.util.isNodejs&&typeof i[I]=="function"}function T(I){return typeof a.globalScope<"u"&&typeof a.globalScope.crypto=="object"&&typeof a.globalScope.crypto.subtle=="object"&&typeof a.globalScope.crypto.subtle[I]=="function"}function L(I){return typeof a.globalScope<"u"&&typeof a.globalScope.msCrypto=="object"&&typeof a.globalScope.msCrypto.subtle=="object"&&typeof a.globalScope.msCrypto.subtle[I]=="function"}function v(I){for(var E=r.util.hexToBytes(I.toString(16)),O=new Uint8Array(E.length),q=0;q{var r=Qt();ec(),uo(),jE(),iA(),tc(),kQ(),Vl(),Ds(),DT(),KE(),xt(),typeof n>"u"&&(n=r.jsbn.BigInteger);var n,i=r.asn1,s=r.pki=r.pki||{};t.exports=s.pbe=r.pbe=r.pbe||{};var a=s.oids,c={name:"EncryptedPrivateKeyInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedPrivateKeyInfo.encryptionAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encryptionOid"},{name:"AlgorithmIdentifier.parameters",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"encryptionParams"}]},{name:"EncryptedPrivateKeyInfo.encryptedData",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encryptedData"}]},l={name:"PBES2Algorithms",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"kdfOid"},{name:"PBES2Algorithms.params",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.params.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"kdfSalt"},{name:"PBES2Algorithms.params.iterationCount",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"kdfIterationCount"},{name:"PBES2Algorithms.params.keyLength",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,optional:!0,capture:"keyLength"},{name:"PBES2Algorithms.params.prf",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,optional:!0,value:[{name:"PBES2Algorithms.params.prf.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"prfOid"}]}]}]},{name:"PBES2Algorithms.encryptionScheme",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.encryptionScheme.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encOid"},{name:"PBES2Algorithms.encryptionScheme.iv",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encIv"}]}]},A={name:"pkcs-12PbeParams",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"pkcs-12PbeParams.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"salt"},{name:"pkcs-12PbeParams.iterations",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"iterations"}]};s.encryptPrivateKeyInfo=function(C,p,Q){Q=Q||{},Q.saltSize=Q.saltSize||8,Q.count=Q.count||2048,Q.algorithm=Q.algorithm||"aes128",Q.prfAlgorithm=Q.prfAlgorithm||"sha1";var R=r.random.getBytesSync(Q.saltSize),_=Q.count,d=i.integerToDer(_),S,m,T;if(Q.algorithm.indexOf("aes")===0||Q.algorithm==="des"){var L,v,I;switch(Q.algorithm){case"aes128":S=16,L=16,v=a["aes128-CBC"],I=r.aes.createEncryptionCipher;break;case"aes192":S=24,L=16,v=a["aes192-CBC"],I=r.aes.createEncryptionCipher;break;case"aes256":S=32,L=16,v=a["aes256-CBC"],I=r.aes.createEncryptionCipher;break;case"des":S=8,L=8,v=a.desCBC,I=r.des.createEncryptionCipher;break;default:var E=new Error("Cannot encrypt private key. Unknown encryption algorithm.");throw E.algorithm=Q.algorithm,E}var O="hmacWith"+Q.prfAlgorithm.toUpperCase(),q=g(O),V=r.pkcs5.pbkdf2(p,R,_,S,q),w=r.random.getBytesSync(L),N=I(V);N.start(w),N.update(i.toDer(C)),N.finish(),T=N.output.getBytes();var F=b(R,d,S,O);m=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a.pkcs5PBES2).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a.pkcs5PBKDF2).getBytes()),F]),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(v).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,w)])])])}else if(Q.algorithm==="3des"){S=24;var M=new r.util.ByteBuffer(R),V=s.pbe.generatePkcs12Key(p,M,1,_,S),w=s.pbe.generatePkcs12Key(p,M,2,_,S),N=r.des.createEncryptionCipher(V);N.start(w),N.update(i.toDer(C)),N.finish(),T=N.output.getBytes(),m=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a["pbeWithSHAAnd3-KeyTripleDES-CBC"]).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,R),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,d.getBytes())])])}else{var E=new Error("Cannot encrypt private key. Unknown encryption algorithm.");throw E.algorithm=Q.algorithm,E}var P=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[m,i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,T)]);return P},s.decryptPrivateKeyInfo=function(C,p){var Q=null,R={},_=[];if(!i.validate(C,c,R,_)){var d=new Error("Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw d.errors=_,d}var S=i.derToOid(R.encryptionOid),m=s.pbe.getCipher(S,R.encryptionParams,p),T=r.util.createBuffer(R.encryptedData);return m.update(T),m.finish()&&(Q=i.fromDer(m.output)),Q},s.encryptedPrivateKeyToPem=function(C,p){var Q={type:"ENCRYPTED PRIVATE KEY",body:i.toDer(C).getBytes()};return r.pem.encode(Q,{maxline:p})},s.encryptedPrivateKeyFromPem=function(C){var p=r.pem.decode(C)[0];if(p.type!=="ENCRYPTED PRIVATE KEY"){var Q=new Error('Could not convert encrypted private key from PEM; PEM header type is "ENCRYPTED PRIVATE KEY".');throw Q.headerType=p.type,Q}if(p.procType&&p.procType.type==="ENCRYPTED")throw new Error("Could not convert encrypted private key from PEM; PEM is encrypted.");return i.fromDer(p.body)},s.encryptRsaPrivateKey=function(C,p,Q){if(Q=Q||{},!Q.legacy){var R=s.wrapRsaPrivateKey(s.privateKeyToAsn1(C));return R=s.encryptPrivateKeyInfo(R,p,Q),s.encryptedPrivateKeyToPem(R)}var _,d,S,m;switch(Q.algorithm){case"aes128":_="AES-128-CBC",S=16,d=r.random.getBytesSync(16),m=r.aes.createEncryptionCipher;break;case"aes192":_="AES-192-CBC",S=24,d=r.random.getBytesSync(16),m=r.aes.createEncryptionCipher;break;case"aes256":_="AES-256-CBC",S=32,d=r.random.getBytesSync(16),m=r.aes.createEncryptionCipher;break;case"3des":_="DES-EDE3-CBC",S=24,d=r.random.getBytesSync(8),m=r.des.createEncryptionCipher;break;case"des":_="DES-CBC",S=8,d=r.random.getBytesSync(8),m=r.des.createEncryptionCipher;break;default:var T=new Error('Could not encrypt RSA private key; unsupported encryption algorithm "'+Q.algorithm+'".');throw T.algorithm=Q.algorithm,T}var L=r.pbe.opensslDeriveBytes(p,d.substr(0,8),S),v=m(L);v.start(d),v.update(i.toDer(s.privateKeyToAsn1(C))),v.finish();var I={type:"RSA PRIVATE KEY",procType:{version:"4",type:"ENCRYPTED"},dekInfo:{algorithm:_,parameters:r.util.bytesToHex(d).toUpperCase()},body:v.output.getBytes()};return r.pem.encode(I)},s.decryptRsaPrivateKey=function(C,p){var Q=null,R=r.pem.decode(C)[0];if(R.type!=="ENCRYPTED PRIVATE KEY"&&R.type!=="PRIVATE KEY"&&R.type!=="RSA PRIVATE KEY"){var _=new Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".');throw _.headerType=_,_}if(R.procType&&R.procType.type==="ENCRYPTED"){var d,S;switch(R.dekInfo.algorithm){case"DES-CBC":d=8,S=r.des.createDecryptionCipher;break;case"DES-EDE3-CBC":d=24,S=r.des.createDecryptionCipher;break;case"AES-128-CBC":d=16,S=r.aes.createDecryptionCipher;break;case"AES-192-CBC":d=24,S=r.aes.createDecryptionCipher;break;case"AES-256-CBC":d=32,S=r.aes.createDecryptionCipher;break;case"RC2-40-CBC":d=5,S=function(I){return r.rc2.createDecryptionCipher(I,40)};break;case"RC2-64-CBC":d=8,S=function(I){return r.rc2.createDecryptionCipher(I,64)};break;case"RC2-128-CBC":d=16,S=function(I){return r.rc2.createDecryptionCipher(I,128)};break;default:var _=new Error('Could not decrypt private key; unsupported encryption algorithm "'+R.dekInfo.algorithm+'".');throw _.algorithm=R.dekInfo.algorithm,_}var m=r.util.hexToBytes(R.dekInfo.parameters),T=r.pbe.opensslDeriveBytes(p,m.substr(0,8),d),L=S(T);if(L.start(m),L.update(r.util.createBuffer(R.body)),L.finish())Q=L.output.getBytes();else return Q}else Q=R.body;return R.type==="ENCRYPTED PRIVATE KEY"?Q=s.decryptPrivateKeyInfo(i.fromDer(Q),p):Q=i.fromDer(Q),Q!==null&&(Q=s.privateKeyFromAsn1(Q)),Q},s.pbe.generatePkcs12Key=function(C,p,Q,R,_,d){var S,m;if(typeof d>"u"||d===null){if(!("sha1"in r.md))throw new Error('"sha1" hash algorithm unavailable.');d=r.md.sha1.create()}var T=d.digestLength,L=d.blockLength,v=new r.util.ByteBuffer,I=new r.util.ByteBuffer;if(C!=null){for(m=0;m=0;m--)ye=ye>>8,ye+=ge.at(m)+De.at(m),De.setAt(m,ye&255);we.putBuffer(De)}M=we,v.putBuffer(se)}return v.truncate(v.length()-_),v},s.pbe.getCipher=function(C,p,Q){switch(C){case s.oids.pkcs5PBES2:return s.pbe.getCipherForPBES2(C,p,Q);case s.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case s.oids["pbewithSHAAnd40BitRC2-CBC"]:return s.pbe.getCipherForPKCS12PBE(C,p,Q);default:var R=new Error("Cannot read encrypted PBE data block. Unsupported OID.");throw R.oid=C,R.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],R}},s.pbe.getCipherForPBES2=function(C,p,Q){var R={},_=[];if(!i.validate(p,l,R,_)){var d=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw d.errors=_,d}if(C=i.derToOid(R.kdfOid),C!==s.oids.pkcs5PBKDF2){var d=new Error("Cannot read encrypted private key. Unsupported key derivation function OID.");throw d.oid=C,d.supportedOids=["pkcs5PBKDF2"],d}if(C=i.derToOid(R.encOid),C!==s.oids["aes128-CBC"]&&C!==s.oids["aes192-CBC"]&&C!==s.oids["aes256-CBC"]&&C!==s.oids["des-EDE3-CBC"]&&C!==s.oids.desCBC){var d=new Error("Cannot read encrypted private key. Unsupported encryption scheme OID.");throw d.oid=C,d.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],d}var S=R.kdfSalt,m=r.util.createBuffer(R.kdfIterationCount);m=m.getInt(m.length()<<3);var T,L;switch(s.oids[C]){case"aes128-CBC":T=16,L=r.aes.createDecryptionCipher;break;case"aes192-CBC":T=24,L=r.aes.createDecryptionCipher;break;case"aes256-CBC":T=32,L=r.aes.createDecryptionCipher;break;case"des-EDE3-CBC":T=24,L=r.des.createDecryptionCipher;break;case"desCBC":T=8,L=r.des.createDecryptionCipher;break}var v=h(R.prfOid),I=r.pkcs5.pbkdf2(Q,S,m,T,v),E=R.encIv,O=L(I);return O.start(E),O},s.pbe.getCipherForPKCS12PBE=function(C,p,Q){var R={},_=[];if(!i.validate(p,A,R,_)){var d=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw d.errors=_,d}var S=r.util.createBuffer(R.salt),m=r.util.createBuffer(R.iterations);m=m.getInt(m.length()<<3);var T,L,v;switch(C){case s.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:T=24,L=8,v=r.des.startDecrypting;break;case s.oids["pbewithSHAAnd40BitRC2-CBC"]:T=5,L=8,v=function(V,w){var N=r.rc2.createDecryptionCipher(V,40);return N.start(w,null),N};break;default:var d=new Error("Cannot read PKCS #12 PBE data block. Unsupported OID.");throw d.oid=C,d}var I=h(R.prfOid),E=s.pbe.generatePkcs12Key(Q,S,1,m,T,I);I.start();var O=s.pbe.generatePkcs12Key(Q,S,2,m,L,I);return v(E,O)},s.pbe.opensslDeriveBytes=function(C,p,Q,R){if(typeof R>"u"||R===null){if(!("md5"in r.md))throw new Error('"md5" hash algorithm unavailable.');R=r.md.md5.create()}p===null&&(p="");for(var _=[f(R,C+p)],d=16,S=1;d{var r=Qt();uo(),xt();var n=r.asn1,i=t.exports=r.pkcs7asn1=r.pkcs7asn1||{};r.pkcs7=r.pkcs7||{},r.pkcs7.asn1=i;var s={name:"ContentInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.ContentType",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,captureAsn1:"content"}]};i.contentInfoValidator=s;var a={name:"EncryptedContentInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentType",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"contentType"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentEncryptionAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm.parameter",tagClass:n.Class.UNIVERSAL,captureAsn1:"encParameter"}]},{name:"EncryptedContentInfo.encryptedContent",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,capture:"encryptedContent",captureAsn1:"encryptedContentAsn1"}]};i.envelopedDataValidator={name:"EnvelopedData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EnvelopedData.Version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},{name:"EnvelopedData.RecipientInfos",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,captureAsn1:"recipientInfos"}].concat(a)},i.encryptedDataValidator={name:"EncryptedData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedData.Version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"}].concat(a)};var c={name:"SignerInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1},{name:"SignerInfo.issuerAndSerialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.issuerAndSerialNumber.issuer",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"SignerInfo.issuerAndSerialNumber.serialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"SignerInfo.digestAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.digestAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"digestAlgorithm"},{name:"SignerInfo.digestAlgorithm.parameter",tagClass:n.Class.UNIVERSAL,constructed:!1,captureAsn1:"digestParameter",optional:!0}]},{name:"SignerInfo.authenticatedAttributes",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"authenticatedAttributes"},{name:"SignerInfo.digestEncryptionAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,capture:"signatureAlgorithm"},{name:"SignerInfo.encryptedDigest",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"signature"},{name:"SignerInfo.unauthenticatedAttributes",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,capture:"unauthenticatedAttributes"}]};i.signedDataValidator={name:"SignedData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignedData.Version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},{name:"SignedData.DigestAlgorithms",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,captureAsn1:"digestAlgorithms"},s,{name:"SignedData.Certificates",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,optional:!0,captureAsn1:"certificates"},{name:"SignedData.CertificateRevocationLists",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,optional:!0,captureAsn1:"crls"},{name:"SignedData.SignerInfos",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,capture:"signerInfos",optional:!0,value:[c]}]},i.recipientInfoValidator={name:"RecipientInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},{name:"RecipientInfo.issuerAndSerial",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.issuerAndSerial.issuer",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"RecipientInfo.issuerAndSerial.serialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"RecipientInfo.keyEncryptionAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.keyEncryptionAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"RecipientInfo.keyEncryptionAlgorithm.parameter",tagClass:n.Class.UNIVERSAL,constructed:!1,captureAsn1:"encParameter",optional:!0}]},{name:"RecipientInfo.encryptedKey",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"encKey"}]}}),UT=nt((e,t)=>{var r=Qt();xt(),r.mgf=r.mgf||{};var n=t.exports=r.mgf.mgf1=r.mgf1=r.mgf1||{};n.create=function(i){var s={generate:function(a,c){for(var l=new r.util.ByteBuffer,A=Math.ceil(c/i.digestLength),f=0;f{var r=Qt();UT(),t.exports=r.mgf=r.mgf||{},r.mgf.mgf1=r.mgf1}),DQ=nt((e,t)=>{var r=Qt();Ds(),xt();var n=t.exports=r.pss=r.pss||{};n.create=function(i){arguments.length===3&&(i={md:arguments[0],mgf:arguments[1],saltLength:arguments[2]});var s=i.md,a=i.mgf,c=s.digestLength,l=i.salt||null;typeof l=="string"&&(l=r.util.createBuffer(l));var A;if("saltLength"in i)A=i.saltLength;else if(l!==null)A=l.length();else throw new Error("Salt length not specified or specific salt not given.");if(l!==null&&l.length()!==A)throw new Error("Given salt length does not match length of given salt.");var f=i.prng||r.random,h={};return h.encode=function(g,b){var C,p=b-1,Q=Math.ceil(p/8),R=g.digest().getBytes();if(Q>8*Q-p&255;return I=String.fromCharCode(I.charCodeAt(0)&~E)+I.substr(1),I+S+String.fromCharCode(188)},h.verify=function(g,b,C){var p,Q=C-1,R=Math.ceil(Q/8);if(b=b.substr(-R),R>8*R-Q&255;if(d.charCodeAt(0)&m)throw new Error("Bits beyond keysize not zero as expected.");var T=a.generate(S,_),L="";for(p=0;p<_;p++)L+=String.fromCharCode(d.charCodeAt(p)^T.charCodeAt(p));L=String.fromCharCode(L.charCodeAt(0)&~m)+L.substr(1);var v=R-c-A-2;for(p=0;p{var r=Qt();ec(),uo(),jE(),iA(),hX(),tc(),Vl(),DQ(),KE(),xt();var n=r.asn1,i=t.exports=r.pki=r.pki||{},s=i.oids,a={};a.CN=s.commonName,a.commonName="CN",a.C=s.countryName,a.countryName="C",a.L=s.localityName,a.localityName="L",a.ST=s.stateOrProvinceName,a.stateOrProvinceName="ST",a.O=s.organizationName,a.organizationName="O",a.OU=s.organizationalUnitName,a.organizationalUnitName="OU",a.E=s.emailAddress,a.emailAddress="E";var c=r.pki.rsa.publicKeyValidator,l={name:"Certificate",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"tbsCertificate",value:[{name:"Certificate.TBSCertificate.version",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.version.integer",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"certVersion"}]},{name:"Certificate.TBSCertificate.serialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"certSerialNumber"},{name:"Certificate.TBSCertificate.signature",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.signature.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"certinfoSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:n.Class.UNIVERSAL,optional:!0,captureAsn1:"certinfoSignatureParams"}]},{name:"Certificate.TBSCertificate.issuer",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certIssuer"},{name:"Certificate.TBSCertificate.validity",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.validity.notBefore (utc)",tagClass:n.Class.UNIVERSAL,type:n.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity1UTCTime"},{name:"Certificate.TBSCertificate.validity.notBefore (generalized)",tagClass:n.Class.UNIVERSAL,type:n.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity2GeneralizedTime"},{name:"Certificate.TBSCertificate.validity.notAfter (utc)",tagClass:n.Class.UNIVERSAL,type:n.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity3UTCTime"},{name:"Certificate.TBSCertificate.validity.notAfter (generalized)",tagClass:n.Class.UNIVERSAL,type:n.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity4GeneralizedTime"}]},{name:"Certificate.TBSCertificate.subject",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certSubject"},c,{name:"Certificate.TBSCertificate.issuerUniqueID",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.issuerUniqueID.id",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"certIssuerUniqueId"}]},{name:"Certificate.TBSCertificate.subjectUniqueID",tagClass:n.Class.CONTEXT_SPECIFIC,type:2,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.subjectUniqueID.id",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSubjectUniqueId"}]},{name:"Certificate.TBSCertificate.extensions",tagClass:n.Class.CONTEXT_SPECIFIC,type:3,constructed:!0,captureAsn1:"certExtensions",optional:!0}]},{name:"Certificate.signatureAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.signatureAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"certSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:n.Class.UNIVERSAL,optional:!0,captureAsn1:"certSignatureParams"}]},{name:"Certificate.signatureValue",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSignature"}]},A={name:"rsapss",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.hashAlgorithm",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier",tagClass:n.Class.UNIVERSAL,type:n.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"hashOid"}]}]},{name:"rsapss.maskGenAlgorithm",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier",tagClass:n.Class.UNIVERSAL,type:n.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"maskGenOid"},{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"maskGenHashOid"}]}]}]},{name:"rsapss.saltLength",tagClass:n.Class.CONTEXT_SPECIFIC,type:2,optional:!0,value:[{name:"rsapss.saltLength.saltLength",tagClass:n.Class.UNIVERSAL,type:n.Class.INTEGER,constructed:!1,capture:"saltLength"}]},{name:"rsapss.trailerField",tagClass:n.Class.CONTEXT_SPECIFIC,type:3,optional:!0,value:[{name:"rsapss.trailer.trailer",tagClass:n.Class.UNIVERSAL,type:n.Class.INTEGER,constructed:!1,capture:"trailer"}]}]},f={name:"CertificationRequestInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfo",value:[{name:"CertificationRequestInfo.integer",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"certificationRequestInfoVersion"},{name:"CertificationRequestInfo.subject",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfoSubject"},c,{name:"CertificationRequestInfo.attributes",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"certificationRequestInfoAttributes",value:[{name:"CertificationRequestInfo.attributes",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequestInfo.attributes.type",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1},{name:"CertificationRequestInfo.attributes.value",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0}]}]}]},h={name:"CertificationRequest",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"csr",value:[f,{name:"CertificationRequest.signatureAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequest.signatureAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"csrSignatureOid"},{name:"CertificationRequest.signatureAlgorithm.parameters",tagClass:n.Class.UNIVERSAL,optional:!0,captureAsn1:"csrSignatureParams"}]},{name:"CertificationRequest.signature",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"csrSignature"}]};i.RDNAttributesAsArray=function(v,I){for(var E=[],O,q,V,w=0;w2)throw new Error("Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.");if(F.length<2)throw new Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.");if(w.validity.notBefore=F[0],w.validity.notAfter=F[1],w.tbsCertificate=E.tbsCertificate,I){w.md=C({signatureOid:w.signatureOid,type:"certificate"});var M=n.toDer(w.tbsCertificate);w.md.update(M.getBytes())}var P=r.md.sha1.create(),ee=n.toDer(E.certIssuer);P.update(ee.getBytes()),w.issuer.getField=function(ge){return g(w.issuer,ge)},w.issuer.addField=function(ge){R([ge]),w.issuer.attributes.push(ge)},w.issuer.attributes=i.RDNAttributesAsArray(E.certIssuer),E.certIssuerUniqueId&&(w.issuer.uniqueId=E.certIssuerUniqueId),w.issuer.hash=P.digest().toHex();var se=r.md.sha1.create(),ce=n.toDer(E.certSubject);return se.update(ce.getBytes()),w.subject.getField=function(ge){return g(w.subject,ge)},w.subject.addField=function(ge){R([ge]),w.subject.attributes.push(ge)},w.subject.attributes=i.RDNAttributesAsArray(E.certSubject),E.certSubjectUniqueId&&(w.subject.uniqueId=E.certSubjectUniqueId),w.subject.hash=se.digest().toHex(),E.certExtensions?w.extensions=i.certificateExtensionsFromAsn1(E.certExtensions):w.extensions=[],w.publicKey=i.publicKeyFromAsn1(E.subjectPublicKeyInfo),w},i.certificateExtensionsFromAsn1=function(v){for(var I=[],E=0;E1&&(O=E.value.charCodeAt(1),q=E.value.length>2?E.value.charCodeAt(2):0),I.digitalSignature=(O&128)===128,I.nonRepudiation=(O&64)===64,I.keyEncipherment=(O&32)===32,I.dataEncipherment=(O&16)===16,I.keyAgreement=(O&8)===8,I.keyCertSign=(O&4)===4,I.cRLSign=(O&2)===2,I.encipherOnly=(O&1)===1,I.decipherOnly=(q&128)===128}else if(I.name==="basicConstraints"){var E=n.fromDer(I.value);E.value.length>0&&E.value[0].type===n.Type.BOOLEAN?I.cA=E.value[0].value.charCodeAt(0)!==0:I.cA=!1;var V=null;E.value.length>0&&E.value[0].type===n.Type.INTEGER?V=E.value[0].value:E.value.length>1&&(V=E.value[1].value),V!==null&&(I.pathLenConstraint=n.derToInteger(V))}else if(I.name==="extKeyUsage")for(var E=n.fromDer(I.value),w=0;w1&&(O=E.value.charCodeAt(1)),I.client=(O&128)===128,I.server=(O&64)===64,I.email=(O&32)===32,I.objsign=(O&16)===16,I.reserved=(O&8)===8,I.sslCA=(O&4)===4,I.emailCA=(O&2)===2,I.objCA=(O&1)===1}else if(I.name==="subjectAltName"||I.name==="issuerAltName"){I.altNames=[];for(var F,E=n.fromDer(I.value),M=0;M"u"&&(I.type&&I.type in i.oids?I.name=i.oids[I.type]:I.shortName&&I.shortName in a&&(I.name=i.oids[a[I.shortName]])),typeof I.type>"u")if(I.name&&I.name in i.oids)I.type=i.oids[I.name];else{var O=new Error("Attribute type not specified.");throw O.attribute=I,O}if(typeof I.shortName>"u"&&I.name&&I.name in a&&(I.shortName=a[I.name]),I.type===s.extensionRequest&&(I.valueConstructed=!0,I.valueTagClass=n.Type.SEQUENCE,!I.value&&I.extensions)){I.value=[];for(var q=0;q"u"){var O=new Error("Attribute value not specified.");throw O.attribute=I,O}}}function _(v,I){if(I=I||{},typeof v.name>"u"&&v.id&&v.id in i.oids&&(v.name=i.oids[v.id]),typeof v.id>"u")if(v.name&&v.name in i.oids)v.id=i.oids[v.name];else{var E=new Error("Extension ID not specified.");throw E.extension=v,E}if(typeof v.value<"u")return v;if(v.name==="keyUsage"){var O=0,q=0,V=0;v.digitalSignature&&(q|=128,O=7),v.nonRepudiation&&(q|=64,O=6),v.keyEncipherment&&(q|=32,O=5),v.dataEncipherment&&(q|=16,O=4),v.keyAgreement&&(q|=8,O=3),v.keyCertSign&&(q|=4,O=2),v.cRLSign&&(q|=2,O=1),v.encipherOnly&&(q|=1,O=0),v.decipherOnly&&(V|=128,O=7);var w=String.fromCharCode(O);V!==0?w+=String.fromCharCode(q)+String.fromCharCode(V):q!==0&&(w+=String.fromCharCode(q)),v.value=n.create(n.Class.UNIVERSAL,n.Type.BITSTRING,!1,w)}else if(v.name==="basicConstraints")v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]),v.cA&&v.value.value.push(n.create(n.Class.UNIVERSAL,n.Type.BOOLEAN,!1,String.fromCharCode(255))),"pathLenConstraint"in v&&v.value.value.push(n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(v.pathLenConstraint).getBytes()));else if(v.name==="extKeyUsage"){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);var N=v.value.value;for(var F in v)v[F]===!0&&(F in s?N.push(n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(s[F]).getBytes())):F.indexOf(".")!==-1&&N.push(n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(F).getBytes())))}else if(v.name==="nsCertType"){var O=0,q=0;v.client&&(q|=128,O=7),v.server&&(q|=64,O=6),v.email&&(q|=32,O=5),v.objsign&&(q|=16,O=4),v.reserved&&(q|=8,O=3),v.sslCA&&(q|=4,O=2),v.emailCA&&(q|=2,O=1),v.objCA&&(q|=1,O=0);var w=String.fromCharCode(O);q!==0&&(w+=String.fromCharCode(q)),v.value=n.create(n.Class.UNIVERSAL,n.Type.BITSTRING,!1,w)}else if(v.name==="subjectAltName"||v.name==="issuerAltName"){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);for(var M,P=0;P128)throw new Error('Invalid "nsComment" content.');v.value=n.create(n.Class.UNIVERSAL,n.Type.IA5STRING,!1,v.comment)}else if(v.name==="subjectKeyIdentifier"&&I.cert){var ee=I.cert.generateSubjectKeyIdentifier();v.subjectKeyIdentifier=ee.toHex(),v.value=n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,ee.getBytes())}else if(v.name==="authorityKeyIdentifier"&&I.cert){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);var N=v.value.value;if(v.keyIdentifier){var se=v.keyIdentifier===!0?I.cert.generateSubjectKeyIdentifier().getBytes():v.keyIdentifier;N.push(n.create(n.Class.CONTEXT_SPECIFIC,0,!1,se))}if(v.authorityCertIssuer){var ce=[n.create(n.Class.CONTEXT_SPECIFIC,4,!0,[Q(v.authorityCertIssuer===!0?I.cert.issuer:v.authorityCertIssuer)])];N.push(n.create(n.Class.CONTEXT_SPECIFIC,1,!0,ce))}if(v.serialNumber){var ge=r.util.hexToBytes(v.serialNumber===!0?I.cert.serialNumber:v.serialNumber);N.push(n.create(n.Class.CONTEXT_SPECIFIC,2,!1,ge))}}else if(v.name==="cRLDistributionPoints"){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);for(var N=v.value.value,Ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]),we=n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[]),M,P=0;P"u"){var E=new Error("Extension value not specified.");throw E.extension=v,E}return v}function d(v,I){switch(v){case s["RSASSA-PSS"]:var E=[];return I.hash.algorithmOid!==void 0&&E.push(n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(I.hash.algorithmOid).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")])])),I.mgf.algorithmOid!==void 0&&E.push(n.create(n.Class.CONTEXT_SPECIFIC,1,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(I.mgf.algorithmOid).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(I.mgf.hash.algorithmOid).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")])])])),I.saltLength!==void 0&&E.push(n.create(n.Class.CONTEXT_SPECIFIC,2,!0,[n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(I.saltLength).getBytes())])),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,E);default:return n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")}}function S(v){var I=n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[]);if(v.attributes.length===0)return I;for(var E=v.attributes,O=0;O=m&&v0&&O.value.push(i.certificateExtensionsToAsn1(v.extensions)),O},i.getCertificationRequestInfo=function(v){var I=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(v.version).getBytes()),Q(v.subject),i.publicKeyToAsn1(v.publicKey),S(v)]);return I},i.distinguishedNameToAsn1=function(v){return Q(v)},i.certificateToAsn1=function(v){var I=v.tbsCertificate||i.getTBSCertificate(v);return n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[I,n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(v.signatureOid).getBytes()),d(v.signatureOid,v.signatureParameters)]),n.create(n.Class.UNIVERSAL,n.Type.BITSTRING,!1,String.fromCharCode(0)+v.signature)])},i.certificateExtensionsToAsn1=function(v){var I=n.create(n.Class.CONTEXT_SPECIFIC,3,!0,[]),E=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);I.value.push(E);for(var O=0;O"u"&&(q=new Date);var V=!0,w=null,N=0;do{var F=I.shift(),M=null,P=!1;if(q&&(qF.validity.notAfter)&&(w={message:"Certificate is not valid yet or has expired.",error:i.certificateError.certificate_expired,notBefore:F.validity.notBefore,notAfter:F.validity.notAfter,now:q}),w===null){if(M=I[0]||v.getIssuer(F),M===null&&F.isIssuer(F)&&(P=!0,M=F),M){var ee=M;r.util.isArray(ee)||(ee=[ee]);for(var se=!1;!se&&ee.length>0;){M=ee.shift();try{se=M.verify(F)}catch{}}se||(w={message:"Certificate signature is invalid.",error:i.certificateError.bad_certificate})}w===null&&(!M||P)&&!v.hasCertificate(F)&&(w={message:"Certificate is not trusted.",error:i.certificateError.unknown_ca})}if(w===null&&M&&!F.isIssuer(M)&&(w={message:"Certificate issuer is invalid.",error:i.certificateError.bad_certificate}),w===null)for(var ce={keyUsage:!0,basicConstraints:!0},ge=0;w===null&&gewe.pathLenConstraint&&(w={message:"Certificate basicConstraints pathLenConstraint violated.",error:i.certificateError.bad_certificate})}}var Ke=w===null?!0:w.error,Se=E.verify?E.verify(Ke,N,O):Ke;if(Se===!0)w=null;else throw Ke===!0&&(w={message:"The application rejected the certificate.",error:i.certificateError.bad_certificate}),(Se||Se===0)&&(typeof Se=="object"&&!r.util.isArray(Se)?(Se.message&&(w.message=Se.message),Se.error&&(w.error=Se.error)):typeof Se=="string"&&(w.error=Se)),w;V=!1,++N}while(I.length>0);return!0}}),xT=nt((e,t)=>{var r=Qt();uo(),Jh(),tc(),FT(),LT(),Ds(),KE(),Wh(),xt(),NQ();var n=r.asn1,i=r.pki,s=t.exports=r.pkcs12=r.pkcs12||{},a={name:"ContentInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.contentType",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:n.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"content"}]},c={name:"PFX",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},a,{name:"PFX.macData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"mac",value:[{name:"PFX.macData.mac",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"macAlgorithm"},{name:"PFX.macData.mac.digestAlgorithm.parameters",tagClass:n.Class.UNIVERSAL,captureAsn1:"macAlgorithmParameters"}]},{name:"PFX.macData.mac.digest",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"macDigest"}]},{name:"PFX.macData.macSalt",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"macSalt"},{name:"PFX.macData.iterations",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,optional:!0,capture:"macIterations"}]}]},l={name:"SafeBag",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SafeBag.bagId",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"bagId"},{name:"SafeBag.bagValue",tagClass:n.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"bagValue"},{name:"SafeBag.bagAttributes",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,optional:!0,capture:"bagAttributes"}]},A={name:"Attribute",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Attribute.attrId",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"oid"},{name:"Attribute.attrValues",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,capture:"values"}]},f={name:"CertBag",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"CertBag.certId",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"certId"},{name:"CertBag.certValue",tagClass:n.Class.CONTEXT_SPECIFIC,constructed:!0,value:[{name:"CertBag.certValue[0]",tagClass:n.Class.UNIVERSAL,type:n.Class.OCTETSTRING,constructed:!1,capture:"cert"}]}]};function h(R,_,d,S){for(var m=[],T=0;T=0&&m.push(v)}}return m}s.pkcs12FromAsn1=function(R,_,d){typeof _=="string"?(d=_,_=!0):_===void 0&&(_=!0);var S={},m=[];if(!n.validate(R,c,S,m)){var T=new Error("Cannot read PKCS#12 PFX. ASN.1 object is not an PKCS#12 PFX.");throw T.errors=T,T}var L={version:S.version.charCodeAt(0),safeContents:[],getBags:function(M){var P={},ee;return"localKeyId"in M?ee=M.localKeyId:"localKeyIdHex"in M&&(ee=r.util.hexToBytes(M.localKeyIdHex)),ee===void 0&&!("friendlyName"in M)&&"bagType"in M&&(P[M.bagType]=h(L.safeContents,null,null,M.bagType)),ee!==void 0&&(P.localKeyId=h(L.safeContents,"localKeyId",ee,M.bagType)),"friendlyName"in M&&(P.friendlyName=h(L.safeContents,"friendlyName",M.friendlyName,M.bagType)),P},getBagsByFriendlyName:function(M,P){return h(L.safeContents,"friendlyName",M,P)},getBagsByLocalKeyId:function(M,P){return h(L.safeContents,"localKeyId",M,P)}};if(S.version.charCodeAt(0)!==3){var T=new Error("PKCS#12 PFX of version other than 3 not supported.");throw T.version=S.version.charCodeAt(0),T}if(n.derToOid(S.contentType)!==i.oids.data){var T=new Error("Only PKCS#12 PFX in password integrity mode supported.");throw T.oid=n.derToOid(S.contentType),T}var v=S.content.value[0];if(v.tagClass!==n.Class.UNIVERSAL||v.type!==n.Type.OCTETSTRING)throw new Error("PKCS#12 authSafe content data is not an OCTET STRING.");if(v=g(v),S.mac){var I=null,E=0,O=n.derToOid(S.macAlgorithm);switch(O){case i.oids.sha1:I=r.md.sha1.create(),E=20;break;case i.oids.sha256:I=r.md.sha256.create(),E=32;break;case i.oids.sha384:I=r.md.sha384.create(),E=48;break;case i.oids.sha512:I=r.md.sha512.create(),E=64;break;case i.oids.md5:I=r.md.md5.create(),E=16;break}if(I===null)throw new Error("PKCS#12 uses unsupported MAC algorithm: "+O);var q=new r.util.ByteBuffer(S.macSalt),V="macIterations"in S?parseInt(r.util.bytesToHex(S.macIterations),16):1,w=s.generateKey(d,q,3,V,E,I),N=r.hmac.create();N.start(I,w),N.update(v.value);var F=N.getMac();if(F.getBytes()!==S.macDigest)throw new Error("PKCS#12 MAC could not be verified. Invalid password?")}return b(L,v.value,_,d),L};function g(R){if(R.composed||R.constructed){for(var _=r.util.createBuffer(),d=0;d0&&(T=n.create(n.Class.UNIVERSAL,n.Type.SET,!0,I));var E=[],O=[];_!==null&&(r.util.isArray(_)?O=_:O=[_]);for(var q=[],V=0;V0){var M=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,q),P=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.data).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,n.toDer(M).getBytes())])]);E.push(P)}var ee=null;if(R!==null){var se=i.wrapRsaPrivateKey(i.privateKeyToAsn1(R));d===null?ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.keyBag).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[se]),T]):ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.pkcs8ShroudedKeyBag).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[i.encryptPrivateKeyInfo(se,d,S)]),T]);var ce=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[ee]),ge=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.data).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,n.toDer(ce).getBytes())])]);E.push(ge)}var Ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,E),we;if(S.useMac){var v=r.md.sha1.create(),De=new r.util.ByteBuffer(r.random.getBytes(S.saltSize)),ye=S.count,R=s.generateKey(d,De,3,ye,20),Ke=r.hmac.create();Ke.start(v,R),Ke.update(n.toDer(Ee).getBytes());var Se=Ke.getMac();we=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.sha1).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")]),n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,Se.getBytes())]),n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,De.getBytes()),n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(ye).getBytes())])}return n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(3).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.data).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,n.toDer(Ee).getBytes())])]),we])},s.generateKey=r.pbe.generatePkcs12Key}),MT=nt((e,t)=>{var r=Qt();uo(),tc(),LT(),Vl(),kQ(),xT(),DQ(),KE(),xt(),NQ();var n=r.asn1,i=t.exports=r.pki=r.pki||{};i.pemToDer=function(s){var a=r.pem.decode(s)[0];if(a.procType&&a.procType.type==="ENCRYPTED")throw new Error("Could not convert PEM to DER; PEM is encrypted.");return r.util.createBuffer(a.body)},i.privateKeyFromPem=function(s){var a=r.pem.decode(s)[0];if(a.type!=="PRIVATE KEY"&&a.type!=="RSA PRIVATE KEY"){var c=new Error('Could not convert private key from PEM; PEM header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".');throw c.headerType=a.type,c}if(a.procType&&a.procType.type==="ENCRYPTED")throw new Error("Could not convert private key from PEM; PEM is encrypted.");var l=n.fromDer(a.body);return i.privateKeyFromAsn1(l)},i.privateKeyToPem=function(s,a){var c={type:"RSA PRIVATE KEY",body:n.toDer(i.privateKeyToAsn1(s)).getBytes()};return r.pem.encode(c,{maxline:a})},i.privateKeyInfoToPem=function(s,a){var c={type:"PRIVATE KEY",body:n.toDer(s).getBytes()};return r.pem.encode(c,{maxline:a})}}),OT=nt((e,t)=>{var r=Qt();uo(),Jh(),_Q(),Vl(),MT(),Ds(),Wh(),xt();var n=function(U,X,z,k){var J=r.util.createBuffer(),oe=U.length>>1,te=oe+(U.length&1),me=U.substr(0,te),Oe=U.substr(oe,te),Ve=r.util.createBuffer(),pe=r.hmac.create();z=X+z;var Ue=Math.ceil(k/16),Xe=Math.ceil(k/20);pe.start("MD5",me);var ht=r.util.createBuffer();Ve.putBytes(z);for(var je=0;je0&&(A.queue(U,A.createAlert(U,{level:A.Alert.Level.warning,description:A.Alert.Description.no_renegotiation})),A.flush(U)),U.process()},A.parseHelloMessage=function(U,X,z){var k=null,J=U.entity===A.ConnectionEnd.client;if(z<38)U.error(U,{message:J?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});else{var oe=X.fragment,te=oe.length();if(k={version:{major:oe.getByte(),minor:oe.getByte()},random:r.util.createBuffer(oe.getBytes(32)),session_id:c(oe,1),extensions:[]},J?(k.cipher_suite=oe.getBytes(2),k.compression_method=oe.getByte()):(k.cipher_suites=c(oe,2),k.compression_methods=c(oe,1)),te=z-(te-oe.length()),te>0){for(var me=c(oe,2);me.length()>0;)k.extensions.push({type:[me.getByte(),me.getByte()],data:c(me,2)});if(!J)for(var Oe=0;Oe0;){var Ue=pe.getByte();if(Ue!==0)break;U.session.extensions.server_name.serverNameList.push(c(pe,2).getBytes())}}}if(U.session.version&&(k.version.major!==U.session.version.major||k.version.minor!==U.session.version.minor))return U.error(U,{message:"TLS version change is disallowed during renegotiation.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.protocol_version}});if(J)U.session.cipherSuite=A.getCipherSuite(k.cipher_suite);else for(var Xe=r.util.createBuffer(k.cipher_suites.bytes());Xe.length()>0&&(U.session.cipherSuite=A.getCipherSuite(Xe.getBytes(2)),U.session.cipherSuite===null););if(U.session.cipherSuite===null)return U.error(U,{message:"No cipher suites in common.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.handshake_failure},cipherSuite:r.util.bytesToHex(k.cipher_suite)});J?U.session.compressionMethod=k.compression_method:U.session.compressionMethod=A.CompressionMethod.none}return k},A.createSecurityParameters=function(U,X){var z=U.entity===A.ConnectionEnd.client,k=X.random.bytes(),J=z?U.session.sp.client_random:k,oe=z?k:A.createRandom().getBytes();U.session.sp={entity:U.entity,prf_algorithm:A.PRFAlgorithm.tls_prf_sha256,bulk_cipher_algorithm:null,cipher_type:null,enc_key_length:null,block_length:null,fixed_iv_length:null,record_iv_length:null,mac_algorithm:null,mac_length:null,mac_key_length:null,compression_algorithm:U.session.compressionMethod,pre_master_secret:null,master_secret:null,client_random:J,server_random:oe}},A.handleServerHello=function(U,X,z){var k=A.parseHelloMessage(U,X,z);if(!U.fail){if(k.version.minor<=U.version.minor)U.version.minor=k.version.minor;else return U.error(U,{message:"Incompatible TLS version.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.protocol_version}});U.session.version=U.version;var J=k.session_id.bytes();J.length>0&&J===U.session.id?(U.expect=p,U.session.resuming=!0,U.session.sp.server_random=k.random.bytes()):(U.expect=h,U.session.resuming=!1,A.createSecurityParameters(U,k)),U.session.id=J,U.process()}},A.handleClientHello=function(U,X,z){var k=A.parseHelloMessage(U,X,z);if(!U.fail){var J=k.session_id.bytes(),oe=null;if(U.sessionCache&&(oe=U.sessionCache.getSession(J),oe===null?J="":(oe.version.major!==k.version.major||oe.version.minor>k.version.minor)&&(oe=null,J="")),J.length===0&&(J=r.random.getBytes(32)),U.session.id=J,U.session.clientHelloVersion=k.version,U.session.sp={},oe)U.version=U.session.version=oe.version,U.session.sp=oe.sp;else{for(var te,me=1;me0;)oe=c(J.certificate_list,3),te=r.asn1.fromDer(oe),oe=r.pki.certificateFromAsn1(te,!0),me.push(oe)}catch(Ve){return U.error(U,{message:"Could not parse certificate list.",cause:Ve,send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.bad_certificate}})}var Oe=U.entity===A.ConnectionEnd.client;(Oe||U.verifyClient===!0)&&me.length===0?U.error(U,{message:Oe?"No server certificate provided.":"No client certificate provided.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}}):me.length===0?U.expect=Oe?g:m:(Oe?U.session.serverCertificate=me[0]:U.session.clientCertificate=me[0],A.verifyCertificateChain(U,me)&&(U.expect=Oe?g:m)),U.process()},A.handleServerKeyExchange=function(U,X,z){if(z>0)return U.error(U,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.unsupported_certificate}});U.expect=b,U.process()},A.handleClientKeyExchange=function(U,X,z){if(z<48)return U.error(U,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.unsupported_certificate}});var k=X.fragment,J={enc_pre_master_secret:c(k,2).getBytes()},oe=null;if(U.getPrivateKey)try{oe=U.getPrivateKey(U,U.session.serverCertificate),oe=r.pki.privateKeyFromPem(oe)}catch(Oe){U.error(U,{message:"Could not get private key.",cause:Oe,send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}})}if(oe===null)return U.error(U,{message:"No private key set.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}});try{var te=U.session.sp;te.pre_master_secret=oe.decrypt(J.enc_pre_master_secret);var me=U.session.clientHelloVersion;if(me.major!==te.pre_master_secret.charCodeAt(0)||me.minor!==te.pre_master_secret.charCodeAt(1))throw new Error("TLS version rollback attack detected.")}catch{te.pre_master_secret=r.random.getBytes(48)}U.expect=L,U.session.clientCertificate!==null&&(U.expect=T),U.process()},A.handleCertificateRequest=function(U,X,z){if(z<3)return U.error(U,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});var k=X.fragment,J={certificate_types:c(k,1),certificate_authorities:c(k,2)};U.session.certificateRequest=J,U.expect=C,U.process()},A.handleCertificateVerify=function(U,X,z){if(z<2)return U.error(U,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});var k=X.fragment;k.read-=4;var J=k.bytes();k.read+=4;var oe={signature:c(k,2).getBytes()},te=r.util.createBuffer();te.putBuffer(U.session.md5.digest()),te.putBuffer(U.session.sha1.digest()),te=te.getBytes();try{var me=U.session.clientCertificate;if(!me.publicKey.verify(te,oe.signature,"NONE"))throw new Error("CertificateVerify signature does not match.");U.session.md5.update(J),U.session.sha1.update(J)}catch{return U.error(U,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.handshake_failure}})}U.expect=L,U.process()},A.handleServerHelloDone=function(U,X,z){if(z>0)return U.error(U,{message:"Invalid ServerHelloDone message. Invalid length.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.record_overflow}});if(U.serverCertificate===null){var k={message:"No server certificate provided. Not enough security.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.insufficient_security}},J=0,oe=U.verify(U,k.alert.description,J,[]);if(oe!==!0)return(oe||oe===0)&&(typeof oe=="object"&&!r.util.isArray(oe)?(oe.message&&(k.message=oe.message),oe.alert&&(k.alert.description=oe.alert)):typeof oe=="number"&&(k.alert.description=oe)),U.error(U,k)}U.session.certificateRequest!==null&&(X=A.createRecord(U,{type:A.ContentType.handshake,data:A.createCertificate(U)}),A.queue(U,X)),X=A.createRecord(U,{type:A.ContentType.handshake,data:A.createClientKeyExchange(U)}),A.queue(U,X),U.expect=_;var te=function(me,Oe){me.session.certificateRequest!==null&&me.session.clientCertificate!==null&&A.queue(me,A.createRecord(me,{type:A.ContentType.handshake,data:A.createCertificateVerify(me,Oe)})),A.queue(me,A.createRecord(me,{type:A.ContentType.change_cipher_spec,data:A.createChangeCipherSpec()})),me.state.pending=A.createConnectionState(me),me.state.current.write=me.state.pending.write,A.queue(me,A.createRecord(me,{type:A.ContentType.handshake,data:A.createFinished(me)})),me.expect=p,A.flush(me),me.process()};if(U.session.certificateRequest===null||U.session.clientCertificate===null)return te(U,null);A.getClientSignature(U,te)},A.handleChangeCipherSpec=function(U,X){if(X.fragment.getByte()!==1)return U.error(U,{message:"Invalid ChangeCipherSpec message received.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});var z=U.entity===A.ConnectionEnd.client;(U.session.resuming&&z||!U.session.resuming&&!z)&&(U.state.pending=A.createConnectionState(U)),U.state.current.read=U.state.pending.read,(!U.session.resuming&&z||U.session.resuming&&!z)&&(U.state.pending=null),U.expect=z?Q:v,U.process()},A.handleFinished=function(U,X,z){var k=X.fragment;k.read-=4;var J=k.bytes();k.read+=4;var oe=X.fragment.getBytes();k=r.util.createBuffer(),k.putBuffer(U.session.md5.digest()),k.putBuffer(U.session.sha1.digest());var te=U.entity===A.ConnectionEnd.client,me=te?"server finished":"client finished",Oe=U.session.sp,Ve=12,pe=n;if(k=pe(Oe.master_secret,me,k.getBytes(),Ve),k.getBytes()!==oe)return U.error(U,{message:"Invalid verify_data in Finished message.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.decrypt_error}});U.session.md5.update(J),U.session.sha1.update(J),(U.session.resuming&&te||!U.session.resuming&&!te)&&(A.queue(U,A.createRecord(U,{type:A.ContentType.change_cipher_spec,data:A.createChangeCipherSpec()})),U.state.current.write=U.state.pending.write,U.state.pending=null,A.queue(U,A.createRecord(U,{type:A.ContentType.handshake,data:A.createFinished(U)}))),U.expect=te?R:I,U.handshaking=!1,++U.handshakes,U.peerCertificate=te?U.session.serverCertificate:U.session.clientCertificate,A.flush(U),U.isConnected=!0,U.connected(U),U.process()},A.handleAlert=function(U,X){var z=X.fragment,k={level:z.getByte(),description:z.getByte()},J;switch(k.description){case A.Alert.Description.close_notify:J="Connection closed.";break;case A.Alert.Description.unexpected_message:J="Unexpected message.";break;case A.Alert.Description.bad_record_mac:J="Bad record MAC.";break;case A.Alert.Description.decryption_failed:J="Decryption failed.";break;case A.Alert.Description.record_overflow:J="Record overflow.";break;case A.Alert.Description.decompression_failure:J="Decompression failed.";break;case A.Alert.Description.handshake_failure:J="Handshake failure.";break;case A.Alert.Description.bad_certificate:J="Bad certificate.";break;case A.Alert.Description.unsupported_certificate:J="Unsupported certificate.";break;case A.Alert.Description.certificate_revoked:J="Certificate revoked.";break;case A.Alert.Description.certificate_expired:J="Certificate expired.";break;case A.Alert.Description.certificate_unknown:J="Certificate unknown.";break;case A.Alert.Description.illegal_parameter:J="Illegal parameter.";break;case A.Alert.Description.unknown_ca:J="Unknown certificate authority.";break;case A.Alert.Description.access_denied:J="Access denied.";break;case A.Alert.Description.decode_error:J="Decode error.";break;case A.Alert.Description.decrypt_error:J="Decrypt error.";break;case A.Alert.Description.export_restriction:J="Export restriction.";break;case A.Alert.Description.protocol_version:J="Unsupported protocol version.";break;case A.Alert.Description.insufficient_security:J="Insufficient security.";break;case A.Alert.Description.internal_error:J="Internal error.";break;case A.Alert.Description.user_canceled:J="User canceled.";break;case A.Alert.Description.no_renegotiation:J="Renegotiation not supported.";break;default:J="Unknown error.";break}if(k.description===A.Alert.Description.close_notify)return U.close();U.error(U,{message:J,send:!1,origin:U.entity===A.ConnectionEnd.client?"server":"client",alert:k}),U.process()},A.handleHandshake=function(U,X){var z=X.fragment,k=z.getByte(),J=z.getInt24();if(J>z.length())return U.fragmented=X,X.fragment=r.util.createBuffer(),z.read-=4,U.process();U.fragmented=null,z.read-=4;var oe=z.bytes(J+4);z.read+=4,k in we[U.entity][U.expect]?(U.entity===A.ConnectionEnd.server&&!U.open&&!U.fail&&(U.handshaking=!0,U.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:r.md.md5.create(),sha1:r.md.sha1.create()}),k!==A.HandshakeType.hello_request&&k!==A.HandshakeType.certificate_verify&&k!==A.HandshakeType.finished&&(U.session.md5.update(oe),U.session.sha1.update(oe)),we[U.entity][U.expect][k](U,X,J)):A.handleUnexpected(U,X)},A.handleApplicationData=function(U,X){U.data.putBuffer(X.fragment),U.dataReady(U),U.process()},A.handleHeartbeat=function(U,X){var z=X.fragment,k=z.getByte(),J=z.getInt16(),oe=z.getBytes(J);if(k===A.HeartbeatMessageType.heartbeat_request){if(U.handshaking||J>oe.length)return U.process();A.queue(U,A.createRecord(U,{type:A.ContentType.heartbeat,data:A.createHeartbeat(A.HeartbeatMessageType.heartbeat_response,oe)})),A.flush(U)}else if(k===A.HeartbeatMessageType.heartbeat_response){if(oe!==U.expectedHeartbeatPayload)return U.process();U.heartbeatReceived&&U.heartbeatReceived(U,r.util.createBuffer(oe))}U.process()};var f=0,h=1,g=2,b=3,C=4,p=5,Q=6,R=7,_=8,d=0,S=1,m=2,T=3,L=4,v=5,I=6,E=A.handleUnexpected,O=A.handleChangeCipherSpec,q=A.handleAlert,V=A.handleHandshake,w=A.handleApplicationData,N=A.handleHeartbeat,F=[];F[A.ConnectionEnd.client]=[[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[O,q,E,E,N],[E,q,V,E,N],[E,q,V,w,N],[E,q,V,E,N]],F[A.ConnectionEnd.server]=[[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[O,q,E,E,N],[E,q,V,E,N],[E,q,V,w,N],[E,q,V,E,N]];var M=A.handleHelloRequest,P=A.handleServerHello,ee=A.handleCertificate,se=A.handleServerKeyExchange,ce=A.handleCertificateRequest,ge=A.handleServerHelloDone,Ee=A.handleFinished,we=[];we[A.ConnectionEnd.client]=[[E,E,P,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,ee,se,ce,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,se,ce,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,ce,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,Ee],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E]];var De=A.handleClientHello,ye=A.handleClientKeyExchange,Ke=A.handleCertificateVerify;we[A.ConnectionEnd.server]=[[E,De,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,ee,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,ye,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,Ke,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,Ee],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E]],A.generateKeys=function(U,X){var z=n,k=X.client_random+X.server_random;U.session.resuming||(X.master_secret=z(X.pre_master_secret,"master secret",k,48).bytes(),X.pre_master_secret=null),k=X.server_random+X.client_random;var J=2*X.mac_key_length+2*X.enc_key_length,oe=U.version.major===A.Versions.TLS_1_0.major&&U.version.minor===A.Versions.TLS_1_0.minor;oe&&(J+=2*X.fixed_iv_length);var te=z(X.master_secret,"key expansion",k,J),me={client_write_MAC_key:te.getBytes(X.mac_key_length),server_write_MAC_key:te.getBytes(X.mac_key_length),client_write_key:te.getBytes(X.enc_key_length),server_write_key:te.getBytes(X.enc_key_length)};return oe&&(me.client_write_IV=te.getBytes(X.fixed_iv_length),me.server_write_IV=te.getBytes(X.fixed_iv_length)),me},A.createConnectionState=function(U){var X=U.entity===A.ConnectionEnd.client,z=function(){var oe={sequenceNumber:[0,0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(te){return!0},compressionState:null,compressFunction:function(te){return!0},updateSequenceNumber:function(){oe.sequenceNumber[1]===4294967295?(oe.sequenceNumber[1]=0,++oe.sequenceNumber[0]):++oe.sequenceNumber[1]}};return oe},k={read:z(),write:z()};if(k.read.update=function(oe,te){return k.read.cipherFunction(te,k.read)?k.read.compressFunction(oe,te,k.read)||oe.error(oe,{message:"Could not decompress record.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.decompression_failure}}):oe.error(oe,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.bad_record_mac}}),!oe.fail},k.write.update=function(oe,te){return k.write.compressFunction(oe,te,k.write)?k.write.cipherFunction(te,k.write)||oe.error(oe,{message:"Could not encrypt record.",send:!1,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}}):oe.error(oe,{message:"Could not compress record.",send:!1,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}}),!oe.fail},U.session){var J=U.session.sp;switch(U.session.cipherSuite.initSecurityParameters(J),J.keys=A.generateKeys(U,J),k.read.macKey=X?J.keys.server_write_MAC_key:J.keys.client_write_MAC_key,k.write.macKey=X?J.keys.client_write_MAC_key:J.keys.server_write_MAC_key,U.session.cipherSuite.initConnectionState(k,U,J),J.compression_algorithm){case A.CompressionMethod.none:break;case A.CompressionMethod.deflate:k.read.compressFunction=a,k.write.compressFunction=s;break;default:throw new Error("Unsupported compression algorithm.")}}return k},A.createRandom=function(){var U=new Date,X=+U+U.getTimezoneOffset()*6e4,z=r.util.createBuffer();return z.putInt32(X),z.putBytes(r.random.getBytes(28)),z},A.createRecord=function(U,X){if(!X.data)return null;var z={type:X.type,version:{major:U.version.major,minor:U.version.minor},length:X.data.length(),fragment:X.data};return z},A.createAlert=function(U,X){var z=r.util.createBuffer();return z.putByte(X.level),z.putByte(X.description),A.createRecord(U,{type:A.ContentType.alert,data:z})},A.createClientHello=function(U){U.session.clientHelloVersion={major:U.version.major,minor:U.version.minor};for(var X=r.util.createBuffer(),z=0;z0&&(Ue+=2);var Xe=U.session.id,ht=Xe.length+1+2+4+28+2+J+1+te+Ue,je=r.util.createBuffer();return je.putByte(A.HandshakeType.client_hello),je.putInt24(ht),je.putByte(U.version.major),je.putByte(U.version.minor),je.putBytes(U.session.sp.client_random),l(je,1,r.util.createBuffer(Xe)),l(je,2,X),l(je,1,oe),Ue>0&&l(je,2,me),je},A.createServerHello=function(U){var X=U.session.id,z=X.length+1+2+4+28+2+1,k=r.util.createBuffer();return k.putByte(A.HandshakeType.server_hello),k.putInt24(z),k.putByte(U.version.major),k.putByte(U.version.minor),k.putBytes(U.session.sp.server_random),l(k,1,r.util.createBuffer(X)),k.putByte(U.session.cipherSuite.id[0]),k.putByte(U.session.cipherSuite.id[1]),k.putByte(U.session.compressionMethod),k},A.createCertificate=function(U){var X=U.entity===A.ConnectionEnd.client,z=null;if(U.getCertificate){var k;X?k=U.session.certificateRequest:k=U.session.extensions.server_name.serverNameList,z=U.getCertificate(U,k)}var J=r.util.createBuffer();if(z!==null)try{r.util.isArray(z)||(z=[z]);for(var oe=null,te=0;te0&&(z.putByte(A.HandshakeType.server_key_exchange),z.putInt24(X)),z},A.getClientSignature=function(U,X){var z=r.util.createBuffer();z.putBuffer(U.session.md5.digest()),z.putBuffer(U.session.sha1.digest()),z=z.getBytes(),U.getSignature=U.getSignature||function(k,J,oe){var te=null;if(k.getPrivateKey)try{te=k.getPrivateKey(k,k.session.clientCertificate),te=r.pki.privateKeyFromPem(te)}catch(me){k.error(k,{message:"Could not get private key.",cause:me,send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}})}te===null?k.error(k,{message:"No private key set.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}}):J=te.sign(J,null),oe(k,J)},U.getSignature(U,z,X)},A.createCertificateVerify=function(U,X){var z=X.length+2,k=r.util.createBuffer();return k.putByte(A.HandshakeType.certificate_verify),k.putInt24(z),k.putInt16(X.length),k.putBytes(X),k},A.createCertificateRequest=function(U){var X=r.util.createBuffer();X.putByte(1);var z=r.util.createBuffer();for(var k in U.caStore.certs){var J=U.caStore.certs[k],oe=r.pki.distinguishedNameToAsn1(J.subject),te=r.asn1.toDer(oe);z.putInt16(te.length()),z.putBuffer(te)}var me=1+X.length()+2+z.length(),Oe=r.util.createBuffer();return Oe.putByte(A.HandshakeType.certificate_request),Oe.putInt24(me),l(Oe,1,X),l(Oe,2,z),Oe},A.createServerHelloDone=function(U){var X=r.util.createBuffer();return X.putByte(A.HandshakeType.server_hello_done),X.putInt24(0),X},A.createChangeCipherSpec=function(){var U=r.util.createBuffer();return U.putByte(1),U},A.createFinished=function(U){var X=r.util.createBuffer();X.putBuffer(U.session.md5.digest()),X.putBuffer(U.session.sha1.digest());var z=U.entity===A.ConnectionEnd.client,k=U.session.sp,J=12,oe=n,te=z?"client finished":"server finished";X=oe(k.master_secret,te,X.getBytes(),J);var me=r.util.createBuffer();return me.putByte(A.HandshakeType.finished),me.putInt24(X.length()),me.putBuffer(X),me},A.createHeartbeat=function(U,X,z){typeof z>"u"&&(z=X.length);var k=r.util.createBuffer();k.putByte(U),k.putInt16(z),k.putBytes(X);var J=k.length(),oe=Math.max(16,J-z-3);return k.putBytes(r.random.getBytes(oe)),k},A.queue=function(U,X){if(X&&!(X.fragment.length()===0&&(X.type===A.ContentType.handshake||X.type===A.ContentType.alert||X.type===A.ContentType.change_cipher_spec))){if(X.type===A.ContentType.handshake){var z=X.fragment.bytes();U.session.md5.update(z),U.session.sha1.update(z),z=null}var k;if(X.fragment.length()<=A.MaxFragment)k=[X];else{k=[];for(var J=X.fragment.bytes();J.length>A.MaxFragment;)k.push(A.createRecord(U,{type:X.type,data:r.util.createBuffer(J.slice(0,A.MaxFragment))})),J=J.slice(A.MaxFragment);J.length>0&&k.push(A.createRecord(U,{type:X.type,data:r.util.createBuffer(J)}))}for(var oe=0;oe0&&(te=z.order[0]),te!==null&&te in z.cache){oe=z.cache[te],delete z.cache[te];for(var me in z.order)if(z.order[me]===te){z.order.splice(me,1);break}}return oe},z.setSession=function(J,oe){if(z.order.length===z.capacity){var te=z.order.shift();delete z.cache[te]}var te=r.util.bytesToHex(J);z.order.push(te),z.cache[te]=oe}}return z},A.createConnection=function(U){var X=null;U.caStore?r.util.isArray(U.caStore)?X=r.pki.createCaStore(U.caStore):X=U.caStore:X=r.pki.createCaStore();var z=U.cipherSuites||null;if(z===null){z=[];for(var k in A.CipherSuites)z.push(A.CipherSuites[k])}var J=U.server?A.ConnectionEnd.server:A.ConnectionEnd.client,oe=U.sessionCache?A.createSessionCache(U.sessionCache):null,te={version:{major:A.Version.major,minor:A.Version.minor},entity:J,sessionId:U.sessionId,caStore:X,sessionCache:oe,cipherSuites:z,connected:U.connected,virtualHost:U.virtualHost||null,verifyClient:U.verifyClient||!1,verify:U.verify||function(pe,Ue,Xe,ht){return Ue},verifyOptions:U.verifyOptions||{},getCertificate:U.getCertificate||null,getPrivateKey:U.getPrivateKey||null,getSignature:U.getSignature||null,input:r.util.createBuffer(),tlsData:r.util.createBuffer(),data:r.util.createBuffer(),tlsDataReady:U.tlsDataReady,dataReady:U.dataReady,heartbeatReceived:U.heartbeatReceived,closed:U.closed,error:function(pe,Ue){Ue.origin=Ue.origin||(pe.entity===A.ConnectionEnd.client?"client":"server"),Ue.send&&(A.queue(pe,A.createAlert(pe,Ue.alert)),A.flush(pe));var Xe=Ue.fatal!==!1;Xe&&(pe.fail=!0),U.error(pe,Ue),Xe&&pe.close(!1)},deflate:U.deflate||null,inflate:U.inflate||null};te.reset=function(pe){te.version={major:A.Version.major,minor:A.Version.minor},te.record=null,te.session=null,te.peerCertificate=null,te.state={pending:null,current:null},te.expect=te.entity===A.ConnectionEnd.client?f:d,te.fragmented=null,te.records=[],te.open=!1,te.handshakes=0,te.handshaking=!1,te.isConnected=!1,te.fail=!(pe||typeof pe>"u"),te.input.clear(),te.tlsData.clear(),te.data.clear(),te.state.current=A.createConnectionState(te)},te.reset();var me=function(pe,Ue){var Xe=Ue.type-A.ContentType.change_cipher_spec,ht=F[pe.entity][pe.expect];Xe in ht?ht[Xe](pe,Ue):A.handleUnexpected(pe,Ue)},Oe=function(pe){var Ue=0,Xe=pe.input,ht=Xe.length();if(ht<5)Ue=5-ht;else{pe.record={type:Xe.getByte(),version:{major:Xe.getByte(),minor:Xe.getByte()},length:Xe.getInt16(),fragment:r.util.createBuffer(),ready:!1};var je=pe.record.version.major===pe.version.major;je&&pe.session&&pe.session.version&&(je=pe.record.version.minor===pe.version.minor),je||pe.error(pe,{message:"Incompatible TLS version.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.protocol_version}})}return Ue},Ve=function(pe){var Ue=0,Xe=pe.input,ht=Xe.length();if(ht0&&(te.sessionCache&&(Ue=te.sessionCache.getSession(pe)),Ue===null&&(pe="")),pe.length===0&&te.sessionCache&&(Ue=te.sessionCache.getSession(),Ue!==null&&(pe=Ue.id)),te.session={id:pe,version:null,cipherSuite:null,compressionMethod:null,serverCertificate:null,certificateRequest:null,clientCertificate:null,sp:{},md5:r.md.md5.create(),sha1:r.md.sha1.create()},Ue&&(te.version=Ue.version,te.session.sp=Ue.sp),te.session.sp.client_random=A.createRandom().getBytes(),te.open=!0,A.queue(te,A.createRecord(te,{type:A.ContentType.handshake,data:A.createClientHello(te)})),A.flush(te)}},te.process=function(pe){var Ue=0;return pe&&te.input.putBytes(pe),te.fail||(te.record!==null&&te.record.ready&&te.record.fragment.isEmpty()&&(te.record=null),te.record===null&&(Ue=Oe(te)),!te.fail&&te.record!==null&&!te.record.ready&&(Ue=Ve(te)),!te.fail&&te.record!==null&&te.record.ready&&me(te,te.record)),Ue},te.prepare=function(pe){return A.queue(te,A.createRecord(te,{type:A.ContentType.application_data,data:r.util.createBuffer(pe)})),A.flush(te)},te.prepareHeartbeatRequest=function(pe,Ue){return pe instanceof r.util.ByteBuffer&&(pe=pe.bytes()),typeof Ue>"u"&&(Ue=pe.length),te.expectedHeartbeatPayload=pe,A.queue(te,A.createRecord(te,{type:A.ContentType.heartbeat,data:A.createHeartbeat(A.HeartbeatMessageType.heartbeat_request,pe,Ue)})),A.flush(te)},te.close=function(pe){if(!te.fail&&te.sessionCache&&te.session){var Ue={id:te.session.id,version:te.session.version,sp:te.session.sp};Ue.sp.keys=null,te.sessionCache.setSession(Ue.id,Ue)}te.open&&(te.open=!1,te.input.clear(),(te.isConnected||te.handshaking)&&(te.isConnected=te.handshaking=!1,A.queue(te,A.createAlert(te,{level:A.Alert.Level.warning,description:A.Alert.Description.close_notify})),A.flush(te)),te.closed(te)),te.reset(pe)},te},t.exports=r.tls=r.tls||{};for(ot in A)typeof A[ot]!="function"&&(r.tls[ot]=A[ot]);var ot;r.tls.prf_tls1=n,r.tls.hmac_sha1=i,r.tls.createSessionCache=A.createSessionCache,r.tls.createConnection=A.createConnection}),fX=nt((e,t)=>{var r=Qt();ec(),OT();var n=t.exports=r.tls;n.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(f){f.bulk_cipher_algorithm=n.BulkCipherAlgorithm.aes,f.cipher_type=n.CipherType.block,f.enc_key_length=16,f.block_length=16,f.fixed_iv_length=16,f.record_iv_length=16,f.mac_algorithm=n.MACAlgorithm.hmac_sha1,f.mac_length=20,f.mac_key_length=20},initConnectionState:i},n.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(f){f.bulk_cipher_algorithm=n.BulkCipherAlgorithm.aes,f.cipher_type=n.CipherType.block,f.enc_key_length=32,f.block_length=16,f.fixed_iv_length=16,f.record_iv_length=16,f.mac_algorithm=n.MACAlgorithm.hmac_sha1,f.mac_length=20,f.mac_key_length=20},initConnectionState:i};function i(f,h,g){var b=h.entity===r.tls.ConnectionEnd.client;f.read.cipherState={init:!1,cipher:r.cipher.createDecipher("AES-CBC",b?g.keys.server_write_key:g.keys.client_write_key),iv:b?g.keys.server_write_IV:g.keys.client_write_IV},f.write.cipherState={init:!1,cipher:r.cipher.createCipher("AES-CBC",b?g.keys.client_write_key:g.keys.server_write_key),iv:b?g.keys.client_write_IV:g.keys.server_write_IV},f.read.cipherFunction=l,f.write.cipherFunction=s,f.read.macLength=f.write.macLength=g.mac_length,f.read.macFunction=f.write.macFunction=n.hmac_sha1}function s(f,h){var g=!1,b=h.macFunction(h.macKey,h.sequenceNumber,f);f.fragment.putBytes(b),h.updateSequenceNumber();var C;f.version.minor===n.Versions.TLS_1_0.minor?C=h.cipherState.init?null:h.cipherState.iv:C=r.random.getBytesSync(16),h.cipherState.init=!0;var p=h.cipherState.cipher;return p.start({iv:C}),f.version.minor>=n.Versions.TLS_1_1.minor&&p.output.putBytes(C),p.update(f.fragment),p.finish(a)&&(f.fragment=p.output,f.length=f.fragment.length(),g=!0),g}function a(f,h,g){if(!g){var b=f-h.length()%f;h.fillWithByte(b-1,b)}return!0}function c(f,h,g){var b=!0;if(g){for(var C=h.length(),p=h.last(),Q=C-1-p;Q=p?(f.fragment=C.output.getBytes(R-p),Q=C.output.getBytes(p)):f.fragment=C.output.getBytes(),f.fragment=r.util.createBuffer(f.fragment),f.length=f.fragment.length();var _=h.macFunction(h.macKey,h.sequenceNumber,f);return h.updateSequenceNumber(),g=A(h.macKey,Q,_)&&g,g}function A(f,h,g){var b=r.hmac.create();return b.start("SHA1",f),b.update(h),h=b.digest().getBytes(),b.start(null,null),b.update(g),g=b.digest().getBytes(),h===g}}),PT=nt((e,t)=>{var r=Qt();iA(),xt();var n=t.exports=r.sha512=r.sha512||{};r.md.sha512=r.md.algorithms.sha512=n;var i=r.sha384=r.sha512.sha384=r.sha512.sha384||{};i.create=function(){return n.create("SHA-384")},r.md.sha384=r.md.algorithms.sha384=i,r.sha512.sha256=r.sha512.sha256||{create:function(){return n.create("SHA-512/256")}},r.md["sha512/256"]=r.md.algorithms["sha512/256"]=r.sha512.sha256,r.sha512.sha224=r.sha512.sha224||{create:function(){return n.create("SHA-512/224")}},r.md["sha512/224"]=r.md.algorithms["sha512/224"]=r.sha512.sha224,n.create=function(h){if(a||A(),typeof h>"u"&&(h="SHA-512"),!(h in l))throw new Error("Invalid SHA-512 algorithm: "+h);for(var g=l[h],b=null,C=r.util.createBuffer(),p=new Array(80),Q=0;Q<80;++Q)p[Q]=new Array(2);var R=64;switch(h){case"SHA-384":R=48;break;case"SHA-512/256":R=32;break;case"SHA-512/224":R=28;break}var _={algorithm:h.replace("-","").toLowerCase(),blockLength:128,digestLength:R,messageLength:0,fullMessageLength:null,messageLengthSize:16};return _.start=function(){_.messageLength=0,_.fullMessageLength=_.messageLength128=[];for(var d=_.messageLengthSize/4,S=0;S>>0,m>>>0];for(var T=_.fullMessageLength.length-1;T>=0;--T)_.fullMessageLength[T]+=m[1],m[1]=m[0]+(_.fullMessageLength[T]/4294967296>>>0),_.fullMessageLength[T]=_.fullMessageLength[T]>>>0,m[0]=m[1]/4294967296>>>0;return C.putBytes(d),f(b,p,C),(C.read>2048||C.length()===0)&&C.compact(),_},_.digest=function(){var d=r.util.createBuffer();d.putBytes(C.bytes());var S=_.fullMessageLength[_.fullMessageLength.length-1]+_.messageLengthSize,m=S&_.blockLength-1;d.putBytes(s.substr(0,_.blockLength-m));for(var T,L,v=_.fullMessageLength[0]*8,I=0;I<_.fullMessageLength.length-1;++I)T=_.fullMessageLength[I+1]*8,L=T/4294967296>>>0,v+=L,d.putInt32(v>>>0),v=T>>>0;d.putInt32(v);for(var E=new Array(b.length),I=0;I=128;){for(ye=0;ye<16;++ye)g[ye][0]=b.getInt32()>>>0,g[ye][1]=b.getInt32()>>>0;for(;ye<80;++ye)lt=g[ye-2],Ke=lt[0],Se=lt[1],C=((Ke>>>19|Se<<13)^(Se>>>29|Ke<<3)^Ke>>>6)>>>0,p=((Ke<<13|Se>>>19)^(Se<<3|Ke>>>29)^(Ke<<26|Se>>>6))>>>0,U=g[ye-15],Ke=U[0],Se=U[1],Q=((Ke>>>1|Se<<31)^(Ke>>>8|Se<<24)^Ke>>>7)>>>0,R=((Ke<<31|Se>>>1)^(Ke<<24|Se>>>8)^(Ke<<25|Se>>>7))>>>0,ot=g[ye-7],X=g[ye-16],Se=p+ot[1]+R+X[1],g[ye][0]=C+ot[0]+Q+X[0]+(Se/4294967296>>>0)>>>0,g[ye][1]=Se>>>0;for(E=h[0][0],O=h[0][1],q=h[1][0],V=h[1][1],w=h[2][0],N=h[2][1],F=h[3][0],M=h[3][1],P=h[4][0],ee=h[4][1],se=h[5][0],ce=h[5][1],ge=h[6][0],Ee=h[6][1],we=h[7][0],De=h[7][1],ye=0;ye<80;++ye)S=((P>>>14|ee<<18)^(P>>>18|ee<<14)^(ee>>>9|P<<23))>>>0,m=((P<<18|ee>>>14)^(P<<14|ee>>>18)^(ee<<23|P>>>9))>>>0,T=(ge^P&(se^ge))>>>0,L=(Ee^ee&(ce^Ee))>>>0,_=((E>>>28|O<<4)^(O>>>2|E<<30)^(O>>>7|E<<25))>>>0,d=((E<<4|O>>>28)^(O<<30|E>>>2)^(O<<25|E>>>7))>>>0,v=(E&q|w&(E^q))>>>0,I=(O&V|N&(O^V))>>>0,Se=De+m+L+c[ye][1]+g[ye][1],C=we+S+T+c[ye][0]+g[ye][0]+(Se/4294967296>>>0)>>>0,p=Se>>>0,Se=d+I,Q=_+v+(Se/4294967296>>>0)>>>0,R=Se>>>0,we=ge,De=Ee,ge=se,Ee=ce,se=P,ce=ee,Se=M+p,P=F+C+(Se/4294967296>>>0)>>>0,ee=Se>>>0,F=w,M=N,w=q,N=V,q=E,V=O,Se=p+R,E=C+Q+(Se/4294967296>>>0)>>>0,O=Se>>>0;Se=h[0][1]+O,h[0][0]=h[0][0]+E+(Se/4294967296>>>0)>>>0,h[0][1]=Se>>>0,Se=h[1][1]+V,h[1][0]=h[1][0]+q+(Se/4294967296>>>0)>>>0,h[1][1]=Se>>>0,Se=h[2][1]+N,h[2][0]=h[2][0]+w+(Se/4294967296>>>0)>>>0,h[2][1]=Se>>>0,Se=h[3][1]+M,h[3][0]=h[3][0]+F+(Se/4294967296>>>0)>>>0,h[3][1]=Se>>>0,Se=h[4][1]+ee,h[4][0]=h[4][0]+P+(Se/4294967296>>>0)>>>0,h[4][1]=Se>>>0,Se=h[5][1]+ce,h[5][0]=h[5][0]+se+(Se/4294967296>>>0)>>>0,h[5][1]=Se>>>0,Se=h[6][1]+Ee,h[6][0]=h[6][0]+ge+(Se/4294967296>>>0)>>>0,h[6][1]=Se>>>0,Se=h[7][1]+De,h[7][0]=h[7][0]+we+(Se/4294967296>>>0)>>>0,h[7][1]=Se>>>0,z-=128}}}),gX=nt(e=>{var t=Qt();uo();var r=t.asn1;e.privateKeyValidator={name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},e.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,composed:!0,captureBitStringValue:"ed25519PublicKey"}]}}),dX=nt((e,t)=>{var r=Qt();zE(),Ds(),PT(),xt();var n=gX(),i=n.publicKeyValidator,s=n.privateKeyValidator;typeof a>"u"&&(a=r.jsbn.BigInteger);var a,c=r.util.ByteBuffer,l=typeof Buffer>"u"?Uint8Array:Buffer;r.pki=r.pki||{},t.exports=r.pki.ed25519=r.ed25519=r.ed25519||{};var A=r.ed25519;A.constants={},A.constants.PUBLIC_KEY_BYTE_LENGTH=32,A.constants.PRIVATE_KEY_BYTE_LENGTH=64,A.constants.SEED_BYTE_LENGTH=32,A.constants.SIGN_BYTE_LENGTH=64,A.constants.HASH_BYTE_LENGTH=64,A.generateKeyPair=function(U){U=U||{};var X=U.seed;if(X===void 0)X=r.random.getBytesSync(A.constants.SEED_BYTE_LENGTH);else if(typeof X=="string"){if(X.length!==A.constants.SEED_BYTE_LENGTH)throw new TypeError('"seed" must be '+A.constants.SEED_BYTE_LENGTH+" bytes in length.")}else if(!(X instanceof Uint8Array))throw new TypeError('"seed" must be a node.js Buffer, Uint8Array, or a binary string.');X=f({message:X,encoding:"binary"});for(var z=new l(A.constants.PUBLIC_KEY_BYTE_LENGTH),k=new l(A.constants.PRIVATE_KEY_BYTE_LENGTH),J=0;J<32;++J)k[J]=X[J];return S(z,k),{publicKey:z,privateKey:k}},A.privateKeyFromAsn1=function(U){var X={},z=[],k=r.asn1.validate(U,s,X,z);if(!k){var J=new Error("Invalid Key.");throw J.errors=z,J}var oe=r.asn1.derToOid(X.privateKeyOid),te=r.oids.EdDSA25519;if(oe!==te)throw new Error('Invalid OID "'+oe+'"; OID must be "'+te+'".');var me=X.privateKey,Oe=f({message:r.asn1.fromDer(me).value,encoding:"binary"});return{privateKeyBytes:Oe}},A.publicKeyFromAsn1=function(U){var X={},z=[],k=r.asn1.validate(U,i,X,z);if(!k){var J=new Error("Invalid Key.");throw J.errors=z,J}var oe=r.asn1.derToOid(X.publicKeyOid),te=r.oids.EdDSA25519;if(oe!==te)throw new Error('Invalid OID "'+oe+'"; OID must be "'+te+'".');var me=X.ed25519PublicKey;if(me.length!==A.constants.PUBLIC_KEY_BYTE_LENGTH)throw new Error("Key length is invalid.");return f({message:me,encoding:"binary"})},A.publicKeyFromPrivateKey=function(U){U=U||{};var X=f({message:U.privateKey,encoding:"binary"});if(X.length!==A.constants.PRIVATE_KEY_BYTE_LENGTH)throw new TypeError('"options.privateKey" must have a byte length of '+A.constants.PRIVATE_KEY_BYTE_LENGTH);for(var z=new l(A.constants.PUBLIC_KEY_BYTE_LENGTH),k=0;k=0};function f(U){var X=U.message;if(X instanceof Uint8Array||X instanceof l)return X;var z=U.encoding;if(X===void 0)if(U.md)X=U.md.digest().getBytes(),z="binary";else throw new TypeError('"options.message" or "options.md" not specified.');if(typeof X=="string"&&!z)throw new TypeError('"options.encoding" must be "binary" or "utf8".');if(typeof X=="string"){if(typeof Buffer<"u")return Buffer.from(X,z);X=new c(X,z)}else if(!(X instanceof c))throw new TypeError('"options.message" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with "options.encoding" specifying its encoding.');for(var k=new l(X.length()),J=0;J=32;--k){for(z=0,J=k-32,oe=k-12;J>8,X[J]-=z*256;X[J]+=z,X[k]=0}for(z=0,J=0;J<32;++J)X[J]+=z-(X[31]>>4)*R[J],z=X[J]>>8,X[J]&=255;for(J=0;J<32;++J)X[J]-=z*R[J];for(k=0;k<32;++k)X[k+1]+=X[k]>>8,U[k]=X[k]&255}function v(U){for(var X=new Float64Array(64),z=0;z<64;++z)X[z]=U[z],U[z]=0;L(U,X)}function I(U,X){var z=ye(),k=ye(),J=ye(),oe=ye(),te=ye(),me=ye(),Oe=ye(),Ve=ye(),pe=ye();Se(z,U[1],U[0]),Se(pe,X[1],X[0]),ot(z,z,pe),Ke(k,U[0],U[1]),Ke(pe,X[0],X[1]),ot(k,k,pe),ot(J,U[3],X[3]),ot(J,J,C),ot(oe,U[2],X[2]),Ke(oe,oe,oe),Se(te,k,z),Se(me,oe,J),Ke(Oe,oe,J),Ke(Ve,k,z),ot(U[0],te,me),ot(U[1],Ve,Oe),ot(U[2],Oe,me),ot(U[3],te,Ve)}function E(U,X,z){for(var k=0;k<4;++k)De(U[k],X[k],z)}function O(U,X){var z=ye(),k=ye(),J=ye();Ee(J,X[2]),ot(z,X[0],J),ot(k,X[1],J),q(U,k),U[31]^=ee(z)<<7}function q(U,X){var z,k,J,oe=ye(),te=ye();for(z=0;z<16;++z)te[z]=X[z];for(we(te),we(te),we(te),k=0;k<2;++k){for(oe[0]=te[0]-65517,z=1;z<15;++z)oe[z]=te[z]-65535-(oe[z-1]>>16&1),oe[z-1]&=65535;oe[15]=te[15]-32767-(oe[14]>>16&1),J=oe[15]>>16&1,oe[14]&=65535,De(te,oe,1-J)}for(z=0;z<16;z++)U[2*z]=te[z]&255,U[2*z+1]=te[z]>>8}function V(U,X){var z=ye(),k=ye(),J=ye(),oe=ye(),te=ye(),me=ye(),Oe=ye();return ge(U[2],g),w(U[1],X),lt(J,U[1]),ot(oe,J,b),Se(J,J,U[2]),Ke(oe,U[2],oe),lt(te,oe),lt(me,te),ot(Oe,me,te),ot(z,Oe,J),ot(z,z,oe),N(z,z),ot(z,z,J),ot(z,z,oe),ot(z,z,oe),ot(U[0],z,oe),lt(k,U[0]),ot(k,k,oe),F(k,J)&&ot(U[0],U[0],_),lt(k,U[0]),ot(k,k,oe),F(k,J)?-1:(ee(U[0])===X[31]>>7&&Se(U[0],h,U[0]),ot(U[3],U[0],U[1]),0)}function w(U,X){var z;for(z=0;z<16;++z)U[z]=X[2*z]+(X[2*z+1]<<8);U[15]&=32767}function N(U,X){var z=ye(),k;for(k=0;k<16;++k)z[k]=X[k];for(k=250;k>=0;--k)lt(z,z),k!==1&&ot(z,z,X);for(k=0;k<16;++k)U[k]=z[k]}function F(U,X){var z=new l(32),k=new l(32);return q(z,U),q(k,X),M(z,0,k,0)}function M(U,X,z,k){return P(U,X,z,k,32)}function P(U,X,z,k,J){var oe,te=0;for(oe=0;oe>>8)-1}function ee(U){var X=new l(32);return q(X,U),X[0]&1}function se(U,X,z){var k,J;for(ge(U[0],h),ge(U[1],g),ge(U[2],g),ge(U[3],h),J=255;J>=0;--J)k=z[J/8|0]>>(J&7)&1,E(U,X,k),I(X,U),I(U,U),E(U,X,k)}function ce(U,X){var z=[ye(),ye(),ye(),ye()];ge(z[0],p),ge(z[1],Q),ge(z[2],g),ot(z[3],p,Q),se(U,z,X)}function ge(U,X){var z;for(z=0;z<16;z++)U[z]=X[z]|0}function Ee(U,X){var z=ye(),k;for(k=0;k<16;++k)z[k]=X[k];for(k=253;k>=0;--k)lt(z,z),k!==2&&k!==4&&ot(z,z,X);for(k=0;k<16;++k)U[k]=z[k]}function we(U){var X,z,k=1;for(X=0;X<16;++X)z=U[X]+k+65535,k=Math.floor(z/65536),U[X]=z-k*65536;U[0]+=k-1+37*(k-1)}function De(U,X,z){for(var k,J=~(z-1),oe=0;oe<16;++oe)k=J&(U[oe]^X[oe]),U[oe]^=k,X[oe]^=k}function ye(U){var X,z=new Float64Array(16);if(U)for(X=0;X{var r=Qt();xt(),Ds(),zE(),t.exports=r.kem=r.kem||{};var n=r.jsbn.BigInteger;r.kem.rsa={},r.kem.rsa.create=function(s,a){a=a||{};var c=a.prng||r.random,l={};return l.encrypt=function(A,f){var h=Math.ceil(A.n.bitLength()/8),g;do g=new n(r.util.bytesToHex(c.getBytesSync(h)),16).mod(A.n);while(g.compareTo(n.ONE)<=0);g=r.util.hexToBytes(g.toString(16));var b=h-g.length;b>0&&(g=r.util.fillString(String.fromCharCode(0),b)+g);var C=A.encrypt(g,"NONE"),p=s.generate(g,f);return{encapsulation:C,key:p}},l.decrypt=function(A,f,h){var g=A.decrypt(f,"NONE");return s.generate(g,h)},l},r.kem.kdf1=function(s,a){i(this,s,0,a||s.digestLength)},r.kem.kdf2=function(s,a){i(this,s,1,a||s.digestLength)};function i(s,a,c,l){s.generate=function(A,f){for(var h=new r.util.ByteBuffer,g=Math.ceil(f/l)+c,b=new r.util.ByteBuffer,C=c;C{var r=Qt();xt(),t.exports=r.log=r.log||{},r.log.levels=["none","error","warning","info","debug","verbose","max"];var n={},i=[],s=null;for(r.log.LEVEL_LOCKED=2,r.log.NO_LEVEL_CHECK=4,r.log.INTERPOLATE=8,l=0;l"u"||p?C.flags|=r.log.LEVEL_LOCKED:C.flags&=~r.log.LEVEL_LOCKED},r.log.addLogger=function(C){i.push(C)},typeof console<"u"&&"log"in console?(console.error&&console.warn&&console.info&&console.debug?(f={error:console.error,warning:console.warn,info:console.info,debug:console.debug,verbose:console.debug},h=function(C,p){r.log.prepareStandard(p);var Q=f[p.level],R=[p.standard];R=R.concat(p.arguments.slice()),Q.apply(console,R)},A=r.log.makeLogger(h)):(h=function(C,p){r.log.prepareStandardFull(p),console.log(p.standardFull)},A=r.log.makeLogger(h)),r.log.setLevel(A,"debug"),r.log.addLogger(A),s=A):console={log:function(){}};var A,f,h;s!==null&&typeof window<"u"&&window.location&&(g=new URL(window.location.href).searchParams,g.has("console.level")&&r.log.setLevel(s,g.get("console.level").slice(-1)[0]),g.has("console.lock")&&(b=g.get("console.lock").slice(-1)[0],b=="true"&&r.log.lock(s)));var g,b;r.log.consoleLogger=s}),CX=nt((e,t)=>{t.exports=iA(),_Q(),Wh(),_T(),PT()}),IX=nt((e,t)=>{var r=Qt();ec(),uo(),jE(),tc(),Vl(),FT(),Ds(),xt(),NQ();var n=r.asn1,i=t.exports=r.pkcs7=r.pkcs7||{};i.messageFromPem=function(p){var Q=r.pem.decode(p)[0];if(Q.type!=="PKCS7"){var R=new Error('Could not convert PKCS#7 message from PEM; PEM header type is not "PKCS#7".');throw R.headerType=Q.type,R}if(Q.procType&&Q.procType.type==="ENCRYPTED")throw new Error("Could not convert PKCS#7 message from PEM; PEM is encrypted.");var _=n.fromDer(Q.body);return i.messageFromAsn1(_)},i.messageToPem=function(p,Q){var R={type:"PKCS7",body:n.toDer(p.toAsn1()).getBytes()};return r.pem.encode(R,{maxline:Q})},i.messageFromAsn1=function(p){var Q={},R=[];if(!n.validate(p,i.asn1.contentInfoValidator,Q,R)){var _=new Error("Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 ContentInfo.");throw _.errors=R,_}var d=n.derToOid(Q.contentType),S;switch(d){case r.pki.oids.envelopedData:S=i.createEnvelopedData();break;case r.pki.oids.encryptedData:S=i.createEncryptedData();break;case r.pki.oids.signedData:S=i.createSignedData();break;default:throw new Error("Cannot read PKCS#7 message. ContentType with OID "+d+" is not (yet) supported.")}return S.fromAsn1(Q.content.value[0]),S},i.createSignedData=function(){var p=null;return p={type:r.pki.oids.signedData,version:1,certificates:[],crls:[],signers:[],digestAlgorithmIdentifiers:[],contentInfo:null,signerInfos:[],fromAsn1:function(_){if(b(p,_,i.asn1.signedDataValidator),p.certificates=[],p.crls=[],p.digestAlgorithmIdentifiers=[],p.contentInfo=null,p.signerInfos=[],p.rawCapture.certificates)for(var d=p.rawCapture.certificates.value,S=0;S0&&m.value[0].value.push(n.create(n.Class.CONTEXT_SPECIFIC,0,!0,_)),S.length>0&&m.value[0].value.push(n.create(n.Class.CONTEXT_SPECIFIC,1,!0,S)),m.value[0].value.push(n.create(n.Class.UNIVERSAL,n.Type.SET,!0,p.signerInfos)),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(p.type).getBytes()),m])},addSigner:function(_){var d=_.issuer,S=_.serialNumber;if(_.certificate){var m=_.certificate;typeof m=="string"&&(m=r.pki.certificateFromPem(m)),d=m.issuer.attributes,S=m.serialNumber}var T=_.key;if(!T)throw new Error("Could not add PKCS#7 signer; no private key specified.");typeof T=="string"&&(T=r.pki.privateKeyFromPem(T));var L=_.digestAlgorithm||r.pki.oids.sha1;switch(L){case r.pki.oids.sha1:case r.pki.oids.sha256:case r.pki.oids.sha384:case r.pki.oids.sha512:case r.pki.oids.md5:break;default:throw new Error("Could not add PKCS#7 signer; unknown message digest algorithm: "+L)}var v=_.authenticatedAttributes||[];if(v.length>0){for(var I=!1,E=!1,O=0;O0){for(var R=n.create(n.Class.CONTEXT_SPECIFIC,1,!0,[]),_=0;_=R&&d<_?Q=n.create(n.Class.UNIVERSAL,n.Type.UTCTIME,!1,n.dateToUtcTime(d)):Q=n.create(n.Class.UNIVERSAL,n.Type.GENERALIZEDTIME,!1,n.dateToGeneralizedTime(d))}return n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(p.type).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SET,!0,[Q])])}function g(p){return[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(r.pki.oids.data).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(p.algorithm).getBytes()),p.parameter?n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,p.parameter.getBytes()):void 0]),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,p.content.getBytes())])]}function b(p,Q,R){var _={},d=[];if(!n.validate(Q,R,_,d)){var S=new Error("Cannot read PKCS#7 message. ASN.1 object is not a supported PKCS#7 message.");throw S.errors=S,S}var m=n.derToOid(_.contentType);if(m!==r.pki.oids.data)throw new Error("Unsupported PKCS#7 message. Only wrapped ContentType Data supported.");if(_.encryptedContent){var T="";if(r.util.isArray(_.encryptedContent))for(var L=0;L<_.encryptedContent.length;++L){if(_.encryptedContent[L].type!==n.Type.OCTETSTRING)throw new Error("Malformed PKCS#7 message, expecting encrypted content constructed of only OCTET STRING objects.");T+=_.encryptedContent[L].value}else T=_.encryptedContent;p.encryptedContent={algorithm:n.derToOid(_.encAlgorithm),parameter:r.util.createBuffer(_.encParameter.value),content:r.util.createBuffer(T)}}if(_.content){var T="";if(r.util.isArray(_.content))for(var L=0;L<_.content.length;++L){if(_.content[L].type!==n.Type.OCTETSTRING)throw new Error("Malformed PKCS#7 message, expecting content constructed of only OCTET STRING objects.");T+=_.content[L].value}else T=_.content;p.content=r.util.createBuffer(T)}return p.version=_.version.charCodeAt(0),p.rawCapture=_,_}function C(p){if(p.encryptedContent.key===void 0)throw new Error("Symmetric key not available.");if(p.content===void 0){var Q;switch(p.encryptedContent.algorithm){case r.pki.oids["aes128-CBC"]:case r.pki.oids["aes192-CBC"]:case r.pki.oids["aes256-CBC"]:Q=r.aes.createDecryptionCipher(p.encryptedContent.key);break;case r.pki.oids.desCBC:case r.pki.oids["des-EDE3-CBC"]:Q=r.des.createDecryptionCipher(p.encryptedContent.key);break;default:throw new Error("Unsupported symmetric cipher, OID "+p.encryptedContent.algorithm)}if(Q.start(p.encryptedContent.parameter),Q.update(p.encryptedContent.content),!Q.finish())throw new Error("Symmetric decryption failed.");p.content=Q.output}}}),BX=nt((e,t)=>{var r=Qt();ec(),Jh(),_Q(),Wh(),xt();var n=t.exports=r.ssh=r.ssh||{};n.privateKeyToPutty=function(c,l,A){A=A||"",l=l||"";var f="ssh-rsa",h=l===""?"none":"aes256-cbc",g="PuTTY-User-Key-File-2: "+f+`\r +`+b+c.substr(g+1),h=f-g-1,g=-1,++f}else(c[f]===" "||c[f]===" "||c[f]===",")&&(g=f);return c}function s(a){return a.replace(/^\s+/,"")}}),jE=nt((e,t)=>{var r=Qt();RQ(),_T(),xt(),t.exports=r.des=r.des||{},r.des.startEncrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!1,mode:_||(Q===null?"ECB":"CBC")});return d.start(Q),d},r.des.createEncryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!1,mode:Q})},r.des.startDecrypting=function(p,Q,R,_){var d=C({key:p,output:R,decrypt:!0,mode:_||(Q===null?"ECB":"CBC")});return d.start(Q),d},r.des.createDecryptionCipher=function(p,Q){return C({key:p,output:null,decrypt:!0,mode:Q})},r.des.Algorithm=function(p,Q){var R=this;R.name=p,R.mode=new Q({blockSize:8,cipher:{encrypt:function(_,d){return b(R._keys,_,d,!1)},decrypt:function(_,d){return b(R._keys,_,d,!0)}}}),R._init=!1},r.des.Algorithm.prototype.initialize=function(p){if(!this._init){var Q=r.util.createBuffer(p.key);if(this.name.indexOf("3DES")===0&&Q.length()!==24)throw new Error("Invalid Triple-DES key size: "+Q.length()*8);this._keys=g(Q),this._init=!0}},n("DES-ECB",r.cipher.modes.ecb),n("DES-CBC",r.cipher.modes.cbc),n("DES-CFB",r.cipher.modes.cfb),n("DES-OFB",r.cipher.modes.ofb),n("DES-CTR",r.cipher.modes.ctr),n("3DES-ECB",r.cipher.modes.ecb),n("3DES-CBC",r.cipher.modes.cbc),n("3DES-CFB",r.cipher.modes.cfb),n("3DES-OFB",r.cipher.modes.ofb),n("3DES-CTR",r.cipher.modes.ctr);function n(p,Q){var R=function(){return new r.des.Algorithm(p,Q)};r.cipher.registerAlgorithm(p,R)}var i=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],s=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],a=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],c=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],A=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],f=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],h=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];function g(p){for(var Q=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],R=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],_=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],d=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],S=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],m=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],T=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],L=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],v=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],I=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],E=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],O=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],q=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],V=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],w=p.length()>8?3:1,N=[],F=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0],M=0,P,ee=0;ee>>4^ce)&252645135,ce^=P,se^=P<<4,P=(ce>>>-16^se)&65535,se^=P,ce^=P<<-16,P=(se>>>2^ce)&858993459,ce^=P,se^=P<<2,P=(ce>>>-16^se)&65535,se^=P,ce^=P<<-16,P=(se>>>1^ce)&1431655765,ce^=P,se^=P<<1,P=(ce>>>8^se)&16711935,se^=P,ce^=P<<8,P=(se>>>1^ce)&1431655765,ce^=P,se^=P<<1,P=se<<8|ce>>>20&240,se=ce<<24|ce<<8&16711680|ce>>>8&65280|ce>>>24&240,ce=P;for(var ge=0;ge>>26,ce=ce<<2|ce>>>26):(se=se<<1|se>>>27,ce=ce<<1|ce>>>27),se&=-15,ce&=-15;var Ee=Q[se>>>28]|R[se>>>24&15]|_[se>>>20&15]|d[se>>>16&15]|S[se>>>12&15]|m[se>>>8&15]|T[se>>>4&15],we=L[ce>>>28]|v[ce>>>24&15]|I[ce>>>20&15]|E[ce>>>16&15]|O[ce>>>12&15]|q[ce>>>8&15]|V[ce>>>4&15];P=(we>>>16^Ee)&65535,N[M++]=Ee^P,N[M++]=we^P<<16}}return N}function b(p,Q,R,_){var d=p.length===32?3:9,S;d===3?S=_?[30,-2,-2]:[0,32,2]:S=_?[94,62,-2,32,64,2,30,-2,-2]:[0,32,2,62,30,-2,64,96,2];var m,T=Q[0],L=Q[1];m=(T>>>4^L)&252645135,L^=m,T^=m<<4,m=(T>>>16^L)&65535,L^=m,T^=m<<16,m=(L>>>2^T)&858993459,T^=m,L^=m<<2,m=(L>>>8^T)&16711935,T^=m,L^=m<<8,m=(T>>>1^L)&1431655765,L^=m,T^=m<<1,T=T<<1|T>>>31,L=L<<1|L>>>31;for(var v=0;v>>4|L<<28)^p[O+1];m=T,T=L,L=m^(s[q>>>24&63]|c[q>>>16&63]|A[q>>>8&63]|h[q&63]|i[V>>>24&63]|a[V>>>16&63]|l[V>>>8&63]|f[V&63])}m=T,T=L,L=m}T=T>>>1|T<<31,L=L>>>1|L<<31,m=(T>>>1^L)&1431655765,L^=m,T^=m<<1,m=(L>>>8^T)&16711935,T^=m,L^=m<<8,m=(L>>>2^T)&858993459,T^=m,L^=m<<2,m=(T>>>16^L)&65535,L^=m,T^=m<<16,m=(T>>>4^L)&252645135,L^=m,T^=m<<4,R[0]=T,R[1]=L}function C(p){p=p||{};var Q=(p.mode||"CBC").toUpperCase(),R="DES-"+Q,_;p.decrypt?_=r.cipher.createDecipher(R,p.key):_=r.cipher.createCipher(R,p.key);var d=_.start;return _.start=function(S,m){var T=null;m instanceof r.util.ByteBuffer&&(T=m,m={}),m=m||{},m.output=T,m.iv=S,d.call(_,m)},_}}),kQ=nt((e,t)=>{var r=Qt();Jh(),iA(),xt();var n=r.pkcs5=r.pkcs5||{},i;r.util.isNodejs&&!r.options.usePureJavaScript&&(i=Tl("crypto")),t.exports=r.pbkdf2=n.pbkdf2=function(s,a,c,l,A,f){if(typeof A=="function"&&(f=A,A=null),r.util.isNodejs&&!r.options.usePureJavaScript&&i.pbkdf2&&(A===null||typeof A!="object")&&(i.pbkdf2Sync.length>4||!A||A==="sha1"))return typeof A!="string"&&(A="sha1"),s=Buffer.from(s,"binary"),a=Buffer.from(a,"binary"),f?i.pbkdf2Sync.length===4?i.pbkdf2(s,a,c,l,function(v,I){if(v)return f(v);f(null,I.toString("binary"))}):i.pbkdf2(s,a,c,l,A,function(v,I){if(v)return f(v);f(null,I.toString("binary"))}):i.pbkdf2Sync.length===4?i.pbkdf2Sync(s,a,c,l).toString("binary"):i.pbkdf2Sync(s,a,c,l,A).toString("binary");if((typeof A>"u"||A===null)&&(A="sha1"),typeof A=="string"){if(!(A in r.md.algorithms))throw new Error("Unknown hash algorithm: "+A);A=r.md[A].create()}var h=A.digestLength;if(l>4294967295*h){var g=new Error("Derived key is too long.");if(f)return f(g);throw g}var b=Math.ceil(l/h),C=l-(b-1)*h,p=r.hmac.create();p.start(A,s);var Q="",R,_,d;if(!f){for(var S=1;S<=b;++S){p.start(null,null),p.update(a),p.update(r.util.int32ToBytes(S)),R=d=p.digest().getBytes();for(var m=2;m<=c;++m)p.start(null,null),p.update(d),_=p.digest().getBytes(),R=r.util.xorBytes(R,_,h),d=_;Q+=Sb)return f(null,Q);p.start(null,null),p.update(a),p.update(r.util.int32ToBytes(S)),R=d=p.digest().getBytes(),m=2,L()}function L(){if(m<=c)return p.start(null,null),p.update(d),_=p.digest().getBytes(),R=r.util.xorBytes(R,_,h),d=_,++m,r.util.setImmediate(L);Q+=S{var r=Qt();iA(),xt();var n=t.exports=r.sha256=r.sha256||{};r.md.sha256=r.md.algorithms.sha256=n,n.create=function(){s||c();var A=null,f=r.util.createBuffer(),h=new Array(64),g={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,fullMessageLength:null,messageLengthSize:8};return g.start=function(){g.messageLength=0,g.fullMessageLength=g.messageLength64=[];for(var b=g.messageLengthSize/4,C=0;C>>0,p>>>0];for(var Q=g.fullMessageLength.length-1;Q>=0;--Q)g.fullMessageLength[Q]+=p[1],p[1]=p[0]+(g.fullMessageLength[Q]/4294967296>>>0),g.fullMessageLength[Q]=g.fullMessageLength[Q]>>>0,p[0]=p[1]/4294967296>>>0;return f.putBytes(b),l(A,h,f),(f.read>2048||f.length()===0)&&f.compact(),g},g.digest=function(){var b=r.util.createBuffer();b.putBytes(f.bytes());var C=g.fullMessageLength[g.fullMessageLength.length-1]+g.messageLengthSize,p=C&g.blockLength-1;b.putBytes(i.substr(0,g.blockLength-p));for(var Q,R,_=g.fullMessageLength[0]*8,d=0;d>>0,_+=R,b.putInt32(_>>>0),_=Q>>>0;b.putInt32(_);var S={h0:A.h0,h1:A.h1,h2:A.h2,h3:A.h3,h4:A.h4,h5:A.h5,h6:A.h6,h7:A.h7};l(S,h,b);var m=r.util.createBuffer();return m.putInt32(S.h0),m.putInt32(S.h1),m.putInt32(S.h2),m.putInt32(S.h3),m.putInt32(S.h4),m.putInt32(S.h5),m.putInt32(S.h6),m.putInt32(S.h7),m},g};var i=null,s=!1,a=null;function c(){i=String.fromCharCode(128),i+=r.util.fillString(String.fromCharCode(0),64),a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=!0}function l(A,f,h){for(var g,b,C,p,Q,R,_,d,S,m,T,L,v,I,E,O=h.length();O>=64;){for(_=0;_<16;++_)f[_]=h.getInt32();for(;_<64;++_)g=f[_-2],g=(g>>>17|g<<15)^(g>>>19|g<<13)^g>>>10,b=f[_-15],b=(b>>>7|b<<25)^(b>>>18|b<<14)^b>>>3,f[_]=g+f[_-7]+b+f[_-16]|0;for(d=A.h0,S=A.h1,m=A.h2,T=A.h3,L=A.h4,v=A.h5,I=A.h6,E=A.h7,_=0;_<64;++_)p=(L>>>6|L<<26)^(L>>>11|L<<21)^(L>>>25|L<<7),Q=I^L&(v^I),C=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),R=d&S|m&(d^S),g=E+p+Q+a[_]+f[_],b=C+R,E=I,I=v,v=L,L=T+g>>>0,T=m,m=S,S=d,d=g+b>>>0;A.h0=A.h0+d|0,A.h1=A.h1+S|0,A.h2=A.h2+m|0,A.h3=A.h3+T|0,A.h4=A.h4+L|0,A.h5=A.h5+v|0,A.h6=A.h6+I|0,A.h7=A.h7+E|0,O-=64}}}),DT=nt((e,t)=>{var r=Qt();xt();var n=null;r.util.isNodejs&&!r.options.usePureJavaScript&&!process.versions["node-webkit"]&&(n=Tl("crypto"));var i=t.exports=r.prng=r.prng||{};i.create=function(s){for(var a={plugin:s,key:null,seed:null,time:null,reseeds:0,generated:0,keyBytes:""},c=s.md,l=new Array(32),A=0;A<32;++A)l[A]=c.create();a.pools=l,a.pool=0,a.generate=function(C,p){if(!p)return a.generateSync(C);var Q=a.plugin.cipher,R=a.plugin.increment,_=a.plugin.formatKey,d=a.plugin.formatSeed,S=r.util.createBuffer();a.key=null,m();function m(T){if(T)return p(T);if(S.length()>=C)return p(null,S.getBytes(C));if(a.generated>1048575&&(a.key=null),a.key===null)return r.util.nextTick(function(){f(m)});var L=Q(a.key,a.seed);a.generated+=L.length,S.putBytes(L),a.key=_(Q(a.key,R(a.seed))),a.seed=d(Q(a.key,a.seed)),r.util.setImmediate(m)}},a.generateSync=function(C){var p=a.plugin.cipher,Q=a.plugin.increment,R=a.plugin.formatKey,_=a.plugin.formatSeed;a.key=null;for(var d=r.util.createBuffer();d.length()1048575&&(a.key=null),a.key===null&&h();var S=p(a.key,a.seed);a.generated+=S.length,d.putBytes(S),a.key=R(p(a.key,Q(a.seed))),a.seed=_(p(a.key,a.seed))}return d.getBytes(C)};function f(C){if(a.pools[0].messageLength>=32)return g(),C();var p=32-a.pools[0].messageLength<<5;a.seedFile(p,function(Q,R){if(Q)return C(Q);a.collect(R),g(),C()})}function h(){if(a.pools[0].messageLength>=32)return g();var C=32-a.pools[0].messageLength<<5;a.collect(a.seedFileSync(C)),g()}function g(){a.reseeds=a.reseeds===4294967295?0:a.reseeds+1;var C=a.plugin.md.create();C.update(a.keyBytes);for(var p=1,Q=0;Q<32;++Q)a.reseeds%p===0&&(C.update(a.pools[Q].digest().getBytes()),a.pools[Q].start()),p=p<<1;a.keyBytes=C.digest().getBytes(),C.start(),C.update(a.keyBytes);var R=C.digest().getBytes();a.key=a.plugin.formatKey(a.keyBytes),a.seed=a.plugin.formatSeed(R),a.generated=0}function b(C){var p=null,Q=r.util.globalScope,R=Q.crypto||Q.msCrypto;R&&R.getRandomValues&&(p=function(E){return R.getRandomValues(E)});var _=r.util.createBuffer();if(p)for(;_.length()>16),L+=(T&32767)<<16,L+=T>>15,L=(L&2147483647)+(L>>31),I=L&4294967295;for(var m=0;m<3;++m)v=I>>>(m<<3),v^=Math.floor(Math.random()*256),_.putByte(v&255)}return _.getBytes(C)}return n?(a.seedFile=function(C,p){n.randomBytes(C,function(Q,R){if(Q)return p(Q);p(null,R.toString())})},a.seedFileSync=function(C){return n.randomBytes(C).toString()}):(a.seedFile=function(C,p){try{p(null,b(C))}catch(Q){p(Q)}},a.seedFileSync=b),a.collect=function(C){for(var p=C.length,Q=0;Q>R&255);a.collect(Q)},a.registerWorker=function(C){if(C===self)a.seedFile=function(Q,R){function _(d){var S=d.data;S.forge&&S.forge.prng&&(self.removeEventListener("message",_),R(S.forge.prng.err,S.forge.prng.bytes))}self.addEventListener("message",_),self.postMessage({forge:{prng:{needed:Q}}})};else{var p=function(Q){var R=Q.data;R.forge&&R.forge.prng&&a.seedFile(R.forge.prng.needed,function(_,d){C.postMessage({forge:{prng:{err:_,bytes:d}}})})};C.addEventListener("message",p)}},a}}),Ds=nt((e,t)=>{var r=Qt();ec(),kT(),DT(),xt(),function(){if(r.random&&r.random.getBytes){t.exports=r.random;return}(function(n){var i={},s=new Array(4),a=r.util.createBuffer();i.formatKey=function(C){var p=r.util.createBuffer(C);return C=new Array(4),C[0]=p.getInt32(),C[1]=p.getInt32(),C[2]=p.getInt32(),C[3]=p.getInt32(),r.aes._expandKey(C,!1)},i.formatSeed=function(C){var p=r.util.createBuffer(C);return C=new Array(4),C[0]=p.getInt32(),C[1]=p.getInt32(),C[2]=p.getInt32(),C[3]=p.getInt32(),C},i.cipher=function(C,p){return r.aes._updateBlock(C,p,s,!1),a.putInt32(s[0]),a.putInt32(s[1]),a.putInt32(s[2]),a.putInt32(s[3]),a.getBytes()},i.increment=function(C){return++C[3],C},i.md=r.md.sha256;function c(){var C=r.prng.create(i);return C.getBytes=function(p,Q){return C.generate(p,Q)},C.getBytesSync=function(p){return C.generate(p)},C}var l=c(),A=null,f=r.util.globalScope,h=f.crypto||f.msCrypto;if(h&&h.getRandomValues&&(A=function(C){return h.getRandomValues(C)}),r.options.usePureJavaScript||!r.util.isNodejs&&!A){if(typeof window>"u"||window.document,l.collectInt(+new Date,32),typeof navigator<"u"){var g="";for(var b in navigator)try{typeof navigator[b]=="string"&&(g+=navigator[b])}catch{}l.collect(g),g=null}n&&(n().mousemove(function(C){l.collectInt(C.clientX,16),l.collectInt(C.clientY,16)}),n().keypress(function(C){l.collectInt(C.charCode,8)}))}if(!r.random)r.random=l;else for(var b in l)r.random[b]=l[b];r.random.createInstance=c,t.exports=r.random})(typeof jQuery<"u"?jQuery:null)}()}),NT=nt((e,t)=>{var r=Qt();xt();var n=[217,120,249,196,25,221,181,237,40,233,253,121,74,160,216,157,198,126,55,131,43,118,83,142,98,76,100,136,68,139,251,162,23,154,89,245,135,179,79,19,97,69,109,141,9,129,125,50,189,143,64,235,134,183,123,11,240,149,33,34,92,107,78,130,84,214,101,147,206,96,178,28,115,86,192,20,167,140,241,220,18,117,202,31,59,190,228,209,66,61,212,48,163,60,182,38,111,191,14,218,70,105,7,87,39,242,29,155,188,148,67,3,248,17,199,246,144,239,62,231,6,195,213,47,200,102,30,215,8,232,234,222,128,82,238,247,132,170,114,172,53,77,106,42,150,26,210,113,90,21,73,116,75,159,208,94,4,24,164,236,194,224,65,110,15,81,203,204,36,145,175,80,161,244,112,57,153,124,58,133,35,184,180,122,252,2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],i=[1,2,3,5],s=function(l,A){return l<>16-A},a=function(l,A){return(l&65535)>>A|l<<16-A&65535};t.exports=r.rc2=r.rc2||{},r.rc2.expandKey=function(l,A){typeof l=="string"&&(l=r.util.createBuffer(l)),A=A||128;var f=l,h=l.length(),g=A,b=Math.ceil(g/8),C=255>>(g&7),p;for(p=h;p<128;p++)f.putByte(n[f.at(p-1)+f.at(p-h)&255]);for(f.setAt(128-b,n[f.at(128-b)&C]),p=127-b;p>=0;p--)f.setAt(p,n[f.at(p+1)^f.at(p+b)]);return f};var c=function(l,A,f){var h=!1,g=null,b=null,C=null,p,Q,R,_,d=[];for(l=r.rc2.expandKey(l,A),R=0;R<64;R++)d.push(l.getInt16Le());f?(p=function(T){for(R=0;R<4;R++)T[R]+=d[_]+(T[(R+3)%4]&T[(R+2)%4])+(~T[(R+3)%4]&T[(R+1)%4]),T[R]=s(T[R],i[R]),_++},Q=function(T){for(R=0;R<4;R++)T[R]+=d[T[(R+3)%4]&63]}):(p=function(T){for(R=3;R>=0;R--)T[R]=a(T[R],i[R]),T[R]-=d[_]+(T[(R+3)%4]&T[(R+2)%4])+(~T[(R+3)%4]&T[(R+1)%4]),_--},Q=function(T){for(R=3;R>=0;R--)T[R]-=d[T[(R+3)%4]&63]});var S=function(T){var L=[];for(R=0;R<4;R++){var v=g.getInt16Le();C!==null&&(f?v^=C.getInt16Le():C.putInt16Le(v)),L.push(v&65535)}_=f?0:63;for(var I=0;I=8;)S([[5,p],[1,Q],[6,p],[1,Q],[5,p]])},finish:function(T){var L=!0;if(f)if(T)L=T(8,g,!f);else{var v=g.length()===8?8:8-g.length();g.fillWithByte(v,v)}if(L&&(h=!0,m.update()),!f&&(L=g.length()===0,L))if(T)L=T(8,b,!f);else{var I=b.length(),E=b.at(I-1);E>I?L=!1:b.truncate(E)}return L}},m};r.rc2.startEncrypting=function(l,A,f){var h=r.rc2.createEncryptionCipher(l,128);return h.start(A,f),h},r.rc2.createEncryptionCipher=function(l,A){return c(l,A,!0)},r.rc2.startDecrypting=function(l,A,f){var h=r.rc2.createDecryptionCipher(l,128);return h.start(A,f),h},r.rc2.createDecryptionCipher=function(l,A){return c(l,A,!1)}}),zE=nt((e,t)=>{var r=Qt();t.exports=r.jsbn=r.jsbn||{};var n,i=0xdeadbeefcafe,s=(i&16777215)==15715070;function a(G,j,Z){this.data=[],G!=null&&(typeof G=="number"?this.fromNumber(G,j,Z):j==null&&typeof G!="string"?this.fromString(G,256):this.fromString(G,j))}r.jsbn.BigInteger=a;function c(){return new a(null)}function l(G,j,Z,le,Be,ve){for(;--ve>=0;){var Me=j*this.data[G++]+Z.data[le]+Be;Be=Math.floor(Me/67108864),Z.data[le++]=Me&67108863}return Be}function A(G,j,Z,le,Be,ve){for(var Me=j&32767,Fe=j>>15;--ve>=0;){var Lt=this.data[G]&32767,Tr=this.data[G++]>>15,an=Fe*Lt+Tr*Me;Lt=Me*Lt+((an&32767)<<15)+Z.data[le]+(Be&1073741823),Be=(Lt>>>30)+(an>>>15)+Fe*Tr+(Be>>>30),Z.data[le++]=Lt&1073741823}return Be}function f(G,j,Z,le,Be,ve){for(var Me=j&16383,Fe=j>>14;--ve>=0;){var Lt=this.data[G]&16383,Tr=this.data[G++]>>14,an=Fe*Lt+Tr*Me;Lt=Me*Lt+((an&16383)<<14)+Z.data[le]+Be,Be=(Lt>>28)+(an>>14)+Fe*Tr,Z.data[le++]=Lt&268435455}return Be}typeof navigator>"u"?(a.prototype.am=f,n=28):s&&navigator.appName=="Microsoft Internet Explorer"?(a.prototype.am=A,n=30):s&&navigator.appName!="Netscape"?(a.prototype.am=l,n=26):(a.prototype.am=f,n=28),a.prototype.DB=n,a.prototype.DM=(1<=0;--j)G.data[j]=this.data[j];G.t=this.t,G.s=this.s}function d(G){this.t=1,this.s=G<0?-1:0,G>0?this.data[0]=G:G<-1?this.data[0]=G+this.DV:this.t=0}function S(G){var j=c();return j.fromInt(G),j}function m(G,j){var Z;if(j==16)Z=4;else if(j==8)Z=3;else if(j==256)Z=8;else if(j==2)Z=1;else if(j==32)Z=5;else if(j==4)Z=2;else{this.fromRadix(G,j);return}this.t=0,this.s=0;for(var le=G.length,Be=!1,ve=0;--le>=0;){var Me=Z==8?G[le]&255:R(G,le);if(Me<0){G.charAt(le)=="-"&&(Be=!0);continue}Be=!1,ve==0?this.data[this.t++]=Me:ve+Z>this.DB?(this.data[this.t-1]|=(Me&(1<>this.DB-ve):this.data[this.t-1]|=Me<=this.DB&&(ve-=this.DB)}Z==8&&G[0]&128&&(this.s=-1,ve>0&&(this.data[this.t-1]|=(1<0&&this.data[this.t-1]==G;)--this.t}function L(G){if(this.s<0)return"-"+this.negate().toString(G);var j;if(G==16)j=4;else if(G==8)j=3;else if(G==2)j=1;else if(G==32)j=5;else if(G==4)j=2;else return this.toRadix(G);var Z=(1<0)for(Fe>Fe)>0&&(Be=!0,ve=Q(le));Me>=0;)Fe>(Fe+=this.DB-j)):(le=this.data[Me]>>(Fe-=j)&Z,Fe<=0&&(Fe+=this.DB,--Me)),le>0&&(Be=!0),Be&&(ve+=Q(le));return Be?ve:"0"}function v(){var G=c();return a.ZERO.subTo(this,G),G}function I(){return this.s<0?this.negate():this}function E(G){var j=this.s-G.s;if(j!=0)return j;var Z=this.t;if(j=Z-G.t,j!=0)return this.s<0?-j:j;for(;--Z>=0;)if((j=this.data[Z]-G.data[Z])!=0)return j;return 0}function O(G){var j=1,Z;return(Z=G>>>16)!=0&&(G=Z,j+=16),(Z=G>>8)!=0&&(G=Z,j+=8),(Z=G>>4)!=0&&(G=Z,j+=4),(Z=G>>2)!=0&&(G=Z,j+=2),(Z=G>>1)!=0&&(G=Z,j+=1),j}function q(){return this.t<=0?0:this.DB*(this.t-1)+O(this.data[this.t-1]^this.s&this.DM)}function V(G,j){var Z;for(Z=this.t-1;Z>=0;--Z)j.data[Z+G]=this.data[Z];for(Z=G-1;Z>=0;--Z)j.data[Z]=0;j.t=this.t+G,j.s=this.s}function w(G,j){for(var Z=G;Z=0;--Fe)j.data[Fe+ve+1]=this.data[Fe]>>le|Me,Me=(this.data[Fe]&Be)<=0;--Fe)j.data[Fe]=0;j.data[ve]=Me,j.t=this.t+ve+1,j.s=this.s,j.clamp()}function F(G,j){j.s=this.s;var Z=Math.floor(G/this.DB);if(Z>=this.t){j.t=0;return}var le=G%this.DB,Be=this.DB-le,ve=(1<>le;for(var Me=Z+1;Me>le;le>0&&(j.data[this.t-Z-1]|=(this.s&ve)<>=this.DB;if(G.t>=this.DB;le+=this.s}else{for(le+=this.s;Z>=this.DB;le-=G.s}j.s=le<0?-1:0,le<-1?j.data[Z++]=this.DV+le:le>0&&(j.data[Z++]=le),j.t=Z,j.clamp()}function P(G,j){var Z=this.abs(),le=G.abs(),Be=Z.t;for(j.t=Be+le.t;--Be>=0;)j.data[Be]=0;for(Be=0;Be=0;)G.data[Z]=0;for(Z=0;Z=j.DV&&(G.data[Z+j.t]-=j.DV,G.data[Z+j.t+1]=1)}G.t>0&&(G.data[G.t-1]+=j.am(Z,j.data[Z],G,2*Z,0,1)),G.s=0,G.clamp()}function se(G,j,Z){var le=G.abs();if(!(le.t<=0)){var Be=this.abs();if(Be.t0?(le.lShiftTo(Lt,ve),Be.lShiftTo(Lt,Z)):(le.copyTo(ve),Be.copyTo(Z));var Tr=ve.t,an=ve.data[Tr-1];if(an!=0){var gn=an*(1<1?ve.data[Tr-2]>>this.F2:0),si=this.FV/gn,Ts=(1<=0&&(Z.data[Z.t++]=1,Z.subTo(bi,Z)),a.ONE.dlShiftTo(Tr,bi),bi.subTo(ve,ve);ve.t=0;){var hs=Z.data[--Kr]==an?this.DM:Math.floor(Z.data[Kr]*si+(Z.data[Kr-1]+cn)*Ts);if((Z.data[Kr]+=ve.am(0,hs,Z,go,0,Tr))0&&Z.rShiftTo(Lt,Z),Me<0&&a.ZERO.subTo(Z,Z)}}}function ce(G){var j=c();return this.abs().divRemTo(G,null,j),this.s<0&&j.compareTo(a.ZERO)>0&&G.subTo(j,j),j}function ge(G){this.m=G}function Ee(G){return G.s<0||G.compareTo(this.m)>=0?G.mod(this.m):G}function we(G){return G}function De(G){G.divRemTo(this.m,null,G)}function ye(G,j,Z){G.multiplyTo(j,Z),this.reduce(Z)}function Ke(G,j){G.squareTo(j),this.reduce(j)}ge.prototype.convert=Ee,ge.prototype.revert=we,ge.prototype.reduce=De,ge.prototype.mulTo=ye,ge.prototype.sqrTo=Ke;function Se(){if(this.t<1)return 0;var G=this.data[0];if(!(G&1))return 0;var j=G&3;return j=j*(2-(G&15)*j)&15,j=j*(2-(G&255)*j)&255,j=j*(2-((G&65535)*j&65535))&65535,j=j*(2-G*j%this.DV)%this.DV,j>0?this.DV-j:-j}function lt(G){this.m=G,this.mp=G.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(j,j),j}function U(G){var j=c();return G.copyTo(j),this.reduce(j),j}function X(G){for(;G.t<=this.mt2;)G.data[G.t++]=0;for(var j=0;j>15)*this.mpl&this.um)<<15)&G.DM;for(Z=j+this.m.t,G.data[Z]+=this.m.am(0,le,G,j,0,this.m.t);G.data[Z]>=G.DV;)G.data[Z]-=G.DV,G.data[++Z]++}G.clamp(),G.drShiftTo(this.m.t,G),G.compareTo(this.m)>=0&&G.subTo(this.m,G)}function z(G,j){G.squareTo(j),this.reduce(j)}function k(G,j,Z){G.multiplyTo(j,Z),this.reduce(Z)}lt.prototype.convert=ot,lt.prototype.revert=U,lt.prototype.reduce=X,lt.prototype.mulTo=k,lt.prototype.sqrTo=z;function J(){return(this.t>0?this.data[0]&1:this.s)==0}function oe(G,j){if(G>4294967295||G<1)return a.ONE;var Z=c(),le=c(),Be=j.convert(this),ve=O(G)-1;for(Be.copyTo(Z);--ve>=0;)if(j.sqrTo(Z,le),(G&1<0)j.mulTo(le,Be,Z);else{var Me=Z;Z=le,le=Me}return j.revert(Z)}function te(G,j){var Z;return G<256||j.isEven()?Z=new ge(j):Z=new lt(j),this.exp(G,Z)}a.prototype.copyTo=_,a.prototype.fromInt=d,a.prototype.fromString=m,a.prototype.clamp=T,a.prototype.dlShiftTo=V,a.prototype.drShiftTo=w,a.prototype.lShiftTo=N,a.prototype.rShiftTo=F,a.prototype.subTo=M,a.prototype.multiplyTo=P,a.prototype.squareTo=ee,a.prototype.divRemTo=se,a.prototype.invDigit=Se,a.prototype.isEven=J,a.prototype.exp=oe,a.prototype.toString=L,a.prototype.negate=v,a.prototype.abs=I,a.prototype.compareTo=E,a.prototype.bitLength=q,a.prototype.mod=ce,a.prototype.modPowInt=te,a.ZERO=S(0),a.ONE=S(1);function me(){var G=c();return this.copyTo(G),G}function Oe(){if(this.s<0){if(this.t==1)return this.data[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this.data[0];if(this.t==0)return 0}return(this.data[1]&(1<<32-this.DB)-1)<>24}function pe(){return this.t==0?this.s:this.data[0]<<16>>16}function Ue(G){return Math.floor(Math.LN2*this.DB/Math.log(G))}function Xe(){return this.s<0?-1:this.t<=0||this.t==1&&this.data[0]<=0?0:1}function ht(G){if(G==null&&(G=10),this.signum()==0||G<2||G>36)return"0";var j=this.chunkSize(G),Z=Math.pow(G,j),le=S(Z),Be=c(),ve=c(),Me="";for(this.divRemTo(le,Be,ve);Be.signum()>0;)Me=(Z+ve.intValue()).toString(G).substr(1)+Me,Be.divRemTo(le,Be,ve);return ve.intValue().toString(G)+Me}function je(G,j){this.fromInt(0),j==null&&(j=10);for(var Z=this.chunkSize(j),le=Math.pow(j,Z),Be=!1,ve=0,Me=0,Fe=0;Fe=Z&&(this.dMultiply(le),this.dAddOffset(Me,0),ve=0,Me=0)}ve>0&&(this.dMultiply(Math.pow(j,ve)),this.dAddOffset(Me,0)),Be&&a.ZERO.subTo(this,this)}function Yt(G,j,Z){if(typeof j=="number")if(G<2)this.fromInt(1);else for(this.fromNumber(G,Z),this.testBit(G-1)||this.bitwiseTo(a.ONE.shiftLeft(G-1),gr,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(j);)this.dAddOffset(2,0),this.bitLength()>G&&this.subTo(a.ONE.shiftLeft(G-1),this);else{var le=new Array,Be=G&7;le.length=(G>>3)+1,j.nextBytes(le),Be>0?le[0]&=(1<0)for(Z>Z)!=(this.s&this.DM)>>Z&&(j[Be++]=le|this.s<=0;)Z<8?(le=(this.data[G]&(1<>(Z+=this.DB-8)):(le=this.data[G]>>(Z-=8)&255,Z<=0&&(Z+=this.DB,--G)),le&128&&(le|=-256),Be==0&&(this.s&128)!=(le&128)&&++Be,(Be>0||le!=this.s)&&(j[Be++]=le);return j}function Ot(G){return this.compareTo(G)==0}function zt(G){return this.compareTo(G)<0?this:G}function Jt(G){return this.compareTo(G)>0?this:G}function Kt(G,j,Z){var le,Be,ve=Math.min(G.t,this.t);for(le=0;le>=16,j+=16),G&255||(G>>=8,j+=8),G&15||(G>>=4,j+=4),G&3||(G>>=2,j+=2),G&1||++j,j}function Ns(){for(var G=0;G=this.t?this.s!=0:(this.data[j]&1<>=this.DB;if(G.t>=this.DB;le+=this.s}else{for(le+=this.s;Z>=this.DB;le+=G.s}j.s=le<0?-1:0,le>0?j.data[Z++]=le:le<-1&&(j.data[Z++]=this.DV+le),j.t=Z,j.clamp()}function pr(G){var j=c();return this.addTo(G,j),j}function Cr(G){var j=c();return this.subTo(G,j),j}function _r(G){var j=c();return this.multiplyTo(G,j),j}function kr(G){var j=c();return this.divRemTo(G,j,null),j}function Dr(G){var j=c();return this.divRemTo(G,null,j),j}function vr(G){var j=c(),Z=c();return this.divRemTo(G,j,Z),new Array(j,Z)}function Nr(G){this.data[this.t]=this.am(0,G-1,this,0,0,this.t),++this.t,this.clamp()}function Mr(G,j){if(G!=0){for(;this.t<=j;)this.data[this.t++]=0;for(this.data[j]+=G;this.data[j]>=this.DV;)this.data[j]-=this.DV,++j>=this.t&&(this.data[this.t++]=0),++this.data[j]}}function cr(){}function Sr(G){return G}function rc(G,j,Z){G.multiplyTo(j,Z)}function sA(G,j){G.squareTo(j)}cr.prototype.convert=Sr,cr.prototype.revert=Sr,cr.prototype.mulTo=rc,cr.prototype.sqrTo=sA;function Hl(G){return this.exp(G,new cr)}function oA(G,j,Z){var le=Math.min(this.t+G.t,j);for(Z.s=0,Z.t=le;le>0;)Z.data[--le]=0;var Be;for(Be=Z.t-this.t;le=0;)Z.data[le]=0;for(le=Math.max(j-this.t,0);le2*this.m.t)return G.mod(this.m);if(G.compareTo(this.m)<0)return G;var j=c();return G.copyTo(j),this.reduce(j),j}function jA(G){return G}function fo(G){for(G.drShiftTo(this.m.t-1,this.r2),G.t>this.m.t+1&&(G.t=this.m.t+1,G.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);G.compareTo(this.r2)<0;)G.dAddOffset(1,this.m.t+1);for(G.subTo(this.r2,G);G.compareTo(this.m)>=0;)G.subTo(this.m,G)}function AA(G,j){G.squareTo(j),this.reduce(j)}function aA(G,j,Z){G.multiplyTo(j,Z),this.reduce(Z)}mi.prototype.convert=An,mi.prototype.revert=jA,mi.prototype.reduce=fo,mi.prototype.mulTo=aA,mi.prototype.sqrTo=AA;function nc(G,j){var Z=G.bitLength(),le,Be=S(1),ve;if(Z<=0)return Be;Z<18?le=1:Z<48?le=3:Z<144?le=4:Z<768?le=5:le=6,Z<8?ve=new ge(j):j.isEven()?ve=new mi(j):ve=new lt(j);var Me=new Array,Fe=3,Lt=le-1,Tr=(1<1){var an=c();for(ve.sqrTo(Me[1],an);Fe<=Tr;)Me[Fe]=c(),ve.mulTo(an,Me[Fe-2],Me[Fe]),Fe+=2}var gn=G.t-1,si,Ts=!0,cn=c(),Kr;for(Z=O(G.data[gn])-1;gn>=0;){for(Z>=Lt?si=G.data[gn]>>Z-Lt&Tr:(si=(G.data[gn]&(1<0&&(si|=G.data[gn-1]>>this.DB+Z-Lt)),Fe=le;!(si&1);)si>>=1,--Fe;if((Z-=Fe)<0&&(Z+=this.DB,--gn),Ts)Me[si].copyTo(Be),Ts=!1;else{for(;Fe>1;)ve.sqrTo(Be,cn),ve.sqrTo(cn,Be),Fe-=2;Fe>0?ve.sqrTo(Be,cn):(Kr=Be,Be=cn,cn=Kr),ve.mulTo(cn,Me[si],Be)}for(;gn>=0&&!(G.data[gn]&1<0&&(j.rShiftTo(ve,j),Z.rShiftTo(ve,Z));j.signum()>0;)(Be=j.getLowestSetBit())>0&&j.rShiftTo(Be,j),(Be=Z.getLowestSetBit())>0&&Z.rShiftTo(Be,Z),j.compareTo(Z)>=0?(j.subTo(Z,j),j.rShiftTo(1,j)):(Z.subTo(j,Z),Z.rShiftTo(1,Z));return ve>0&&Z.lShiftTo(ve,Z),Z}function sc(G){if(G<=0)return 0;var j=this.DV%G,Z=this.s<0?G-1:0;if(this.t>0)if(j==0)Z=this.data[0]%G;else for(var le=this.t-1;le>=0;--le)Z=(j*Z+this.data[le])%G;return Z}function cA(G){var j=G.isEven();if(this.isEven()&&j||G.signum()==0)return a.ZERO;for(var Z=G.clone(),le=this.clone(),Be=S(1),ve=S(0),Me=S(0),Fe=S(1);Z.signum()!=0;){for(;Z.isEven();)Z.rShiftTo(1,Z),j?((!Be.isEven()||!ve.isEven())&&(Be.addTo(this,Be),ve.subTo(G,ve)),Be.rShiftTo(1,Be)):ve.isEven()||ve.subTo(G,ve),ve.rShiftTo(1,ve);for(;le.isEven();)le.rShiftTo(1,le),j?((!Me.isEven()||!Fe.isEven())&&(Me.addTo(this,Me),Fe.subTo(G,Fe)),Me.rShiftTo(1,Me)):Fe.isEven()||Fe.subTo(G,Fe),Fe.rShiftTo(1,Fe);Z.compareTo(le)>=0?(Z.subTo(le,Z),j&&Be.subTo(Me,Be),ve.subTo(Fe,ve)):(le.subTo(Z,le),j&&Me.subTo(Be,Me),Fe.subTo(ve,Fe))}if(le.compareTo(a.ONE)!=0)return a.ZERO;if(Fe.compareTo(G)>=0)return Fe.subtract(G);if(Fe.signum()<0)Fe.addTo(G,Fe);else return Fe;return Fe.signum()<0?Fe.add(G):Fe}var en=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],oc=(1<<26)/en[en.length-1];function Ac(G){var j,Z=this.abs();if(Z.t==1&&Z.data[0]<=en[en.length-1]){for(j=0;j=0);var Fe=ve.modPow(le,this);if(Fe.compareTo(a.ONE)!=0&&Fe.compareTo(j)!=0){for(var Lt=1;Lt++{var r=Qt();iA(),xt();var n=t.exports=r.sha1=r.sha1||{};r.md.sha1=r.md.algorithms.sha1=n,n.create=function(){s||a();var l=null,A=r.util.createBuffer(),f=new Array(80),h={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8};return h.start=function(){h.messageLength=0,h.fullMessageLength=h.messageLength64=[];for(var g=h.messageLengthSize/4,b=0;b>>0,C>>>0];for(var p=h.fullMessageLength.length-1;p>=0;--p)h.fullMessageLength[p]+=C[1],C[1]=C[0]+(h.fullMessageLength[p]/4294967296>>>0),h.fullMessageLength[p]=h.fullMessageLength[p]>>>0,C[0]=C[1]/4294967296>>>0;return A.putBytes(g),c(l,f,A),(A.read>2048||A.length()===0)&&A.compact(),h},h.digest=function(){var g=r.util.createBuffer();g.putBytes(A.bytes());var b=h.fullMessageLength[h.fullMessageLength.length-1]+h.messageLengthSize,C=b&h.blockLength-1;g.putBytes(i.substr(0,h.blockLength-C));for(var p,Q,R=h.fullMessageLength[0]*8,_=0;_>>0,R+=Q,g.putInt32(R>>>0),R=p>>>0;g.putInt32(R);var d={h0:l.h0,h1:l.h1,h2:l.h2,h3:l.h3,h4:l.h4};c(d,f,g);var S=r.util.createBuffer();return S.putInt32(d.h0),S.putInt32(d.h1),S.putInt32(d.h2),S.putInt32(d.h3),S.putInt32(d.h4),S},h};var i=null,s=!1;function a(){i=String.fromCharCode(128),i+=r.util.fillString(String.fromCharCode(0),64),s=!0}function c(l,A,f){for(var h,g,b,C,p,Q,R,_,d=f.length();d>=64;){for(g=l.h0,b=l.h1,C=l.h2,p=l.h3,Q=l.h4,_=0;_<16;++_)h=f.getInt32(),A[_]=h,R=p^b&(C^p),h=(g<<5|g>>>27)+R+Q+1518500249+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<20;++_)h=A[_-3]^A[_-8]^A[_-14]^A[_-16],h=h<<1|h>>>31,A[_]=h,R=p^b&(C^p),h=(g<<5|g>>>27)+R+Q+1518500249+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<32;++_)h=A[_-3]^A[_-8]^A[_-14]^A[_-16],h=h<<1|h>>>31,A[_]=h,R=b^C^p,h=(g<<5|g>>>27)+R+Q+1859775393+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<40;++_)h=A[_-6]^A[_-16]^A[_-28]^A[_-32],h=h<<2|h>>>30,A[_]=h,R=b^C^p,h=(g<<5|g>>>27)+R+Q+1859775393+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<60;++_)h=A[_-6]^A[_-16]^A[_-28]^A[_-32],h=h<<2|h>>>30,A[_]=h,R=b&C|p&(b^C),h=(g<<5|g>>>27)+R+Q+2400959708+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;for(;_<80;++_)h=A[_-6]^A[_-16]^A[_-28]^A[_-32],h=h<<2|h>>>30,A[_]=h,R=b^C^p,h=(g<<5|g>>>27)+R+Q+3395469782+h,Q=p,p=C,C=(b<<30|b>>>2)>>>0,b=g,g=h;l.h0=l.h0+g|0,l.h1=l.h1+b|0,l.h2=l.h2+C|0,l.h3=l.h3+p|0,l.h4=l.h4+Q|0,d-=64}}}),TT=nt((e,t)=>{var r=Qt();xt(),Ds(),Wh();var n=t.exports=r.pkcs1=r.pkcs1||{};n.encode_rsa_oaep=function(s,a,c){var l,A,f,h;typeof c=="string"?(l=c,A=arguments[3]||void 0,f=arguments[4]||void 0):c&&(l=c.label||void 0,A=c.seed||void 0,f=c.md||void 0,c.mgf1&&c.mgf1.md&&(h=c.mgf1.md)),f?f.start():f=r.md.sha1.create(),h||(h=f);var g=Math.ceil(s.n.bitLength()/8),b=g-2*f.digestLength-2;if(a.length>b){var C=new Error("RSAES-OAEP input message length is too long.");throw C.length=a.length,C.maxLength=b,C}l||(l=""),f.update(l,"raw");for(var p=f.digest(),Q="",R=b-a.length,_=0;_>24&255,f>>16&255,f>>8&255,f&255);c.start(),c.update(s+h),l+=c.digest().getBytes()}return l.substring(0,a)}}),LT=nt((e,t)=>{var r=Qt();xt(),zE(),Ds(),function(){if(r.prime){t.exports=r.prime;return}var n=t.exports=r.prime=r.prime||{},i=r.jsbn.BigInteger,s=[6,4,2,4,2,4,6,2],a=new i(null);a.fromInt(30);var c=function(C,p){return C|p};n.generateProbablePrime=function(C,p,Q){typeof p=="function"&&(Q=p,p={}),p=p||{};var R=p.algorithm||"PRIMEINC";typeof R=="string"&&(R={name:R}),R.options=R.options||{};var _=p.prng||r.random,d={nextBytes:function(S){for(var m=_.getBytesSync(S.length),T=0;Tp&&(C=g(p,Q)),C.isProbablePrime(_))return S(null,C);C.dAddOffset(s[R++%8],0)}while(d<0||+new Date-m"u")return A(C,p,Q,R);var _=g(C,p),d=Q.workers,S=Q.workLoad||100,m=S*30/8,T=Q.workerScript||"forge/prime.worker.js";if(d===-1)return r.util.estimateCores(function(v,I){v&&(I=2),d=I-1,L()});L();function L(){d=Math.max(1,d);for(var v=[],I=0;IC&&(_=g(C,p));var F=_.toString(16);V.target.postMessage({hex:F,workLoad:S}),_.dAddOffset(m,0)}}}}function g(C,p){var Q=new i(C,p),R=C-1;return Q.testBit(R)||Q.bitwiseTo(i.ONE.shiftLeft(R),c,Q),Q.dAddOffset(31-Q.mod(a).byteValue(),0),Q}function b(C){return C<=100?27:C<=150?18:C<=200?15:C<=250?12:C<=300?9:C<=350?8:C<=400?7:C<=500?6:C<=600?5:C<=800?4:C<=1250?3:2}}()}),KE=nt((e,t)=>{var r=Qt();uo(),zE(),tc(),TT(),LT(),Ds(),xt(),typeof n>"u"&&(n=r.jsbn.BigInteger);var n,i=r.util.isNodejs?Tl("crypto"):null,s=r.asn1,a=r.util;r.pki=r.pki||{},t.exports=r.pki.rsa=r.rsa=r.rsa||{};var c=r.pki,l=[6,4,2,4,2,4,6,2],A={name:"PrivateKeyInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},f={name:"RSAPrivateKey",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"},{name:"RSAPrivateKey.privateExponent",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},h={name:"RSAPublicKey",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"publicKeyExponent"}]},g=r.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:s.Class.UNIVERSAL,type:s.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},b={name:"DigestInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm.algorithmIdentifier",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"algorithmIdentifier"},{name:"DigestInfo.DigestAlgorithm.parameters",tagClass:s.Class.UNIVERSAL,type:s.Type.NULL,capture:"parameters",optional:!0,constructed:!1}]},{name:"DigestInfo.digest",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"digest"}]},C=function(I){var E;if(I.algorithm in c.oids)E=c.oids[I.algorithm];else{var O=new Error("Unknown message digest algorithm.");throw O.algorithm=I.algorithm,O}var q=s.oidToDer(E).getBytes(),V=s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[]),w=s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[]);w.value.push(s.create(s.Class.UNIVERSAL,s.Type.OID,!1,q)),w.value.push(s.create(s.Class.UNIVERSAL,s.Type.NULL,!1,""));var N=s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,I.digest().getBytes());return V.value.push(w),V.value.push(N),s.toDer(V).getBytes()},p=function(I,E,O){if(O)return I.modPow(E.e,E.n);if(!E.p||!E.q)return I.modPow(E.d,E.n);E.dP||(E.dP=E.d.mod(E.p.subtract(n.ONE))),E.dQ||(E.dQ=E.d.mod(E.q.subtract(n.ONE))),E.qInv||(E.qInv=E.q.modInverse(E.p));var q;do q=new n(r.util.bytesToHex(r.random.getBytes(E.n.bitLength()/8)),16);while(q.compareTo(E.n)>=0||!q.gcd(E.n).equals(n.ONE));I=I.multiply(q.modPow(E.e,E.n)).mod(E.n);for(var V=I.mod(E.p).modPow(E.dP,E.p),w=I.mod(E.q).modPow(E.dQ,E.q);V.compareTo(w)<0;)V=V.add(E.p);var N=V.subtract(w).multiply(E.qInv).mod(E.p).multiply(E.q).add(w);return N=N.multiply(q.modInverse(E.n)).mod(E.n),N};c.rsa.encrypt=function(I,E,O){var q=O,V,w=Math.ceil(E.n.bitLength()/8);O!==!1&&O!==!0?(q=O===2,V=Q(I,E,O)):(V=r.util.createBuffer(),V.putBytes(I));for(var N=new n(V.toHex(),16),F=p(N,E,q),M=F.toString(16),P=r.util.createBuffer(),ee=w-Math.ceil(M.length/2);ee>0;)P.putByte(0),--ee;return P.putBytes(r.util.hexToBytes(M)),P.getBytes()},c.rsa.decrypt=function(I,E,O,q){var V=Math.ceil(E.n.bitLength()/8);if(I.length!==V){var w=new Error("Encrypted message length is invalid.");throw w.length=I.length,w.expected=V,w}var N=new n(r.util.createBuffer(I).toHex(),16);if(N.compareTo(E.n)>=0)throw new Error("Encrypted message is invalid.");for(var F=p(N,E,O),M=F.toString(16),P=r.util.createBuffer(),ee=V-Math.ceil(M.length/2);ee>0;)P.putByte(0),--ee;return P.putBytes(r.util.hexToBytes(M)),q!==!1?R(P.getBytes(),E,O):P.getBytes()},c.rsa.createKeyPairGenerationState=function(I,E,O){typeof I=="string"&&(I=parseInt(I,10)),I=I||2048,O=O||{};var q=O.prng||r.random,V={nextBytes:function(F){for(var M=q.getBytesSync(F.length),P=0;P>1,pBits:I-(I>>1),pqState:0,num:null,keys:null},N.e.fromInt(N.eInt);else throw new Error("Invalid key generation algorithm: "+w);return N},c.rsa.stepKeyPairGenerationState=function(I,E){"algorithm"in I||(I.algorithm="PRIMEINC");var O=new n(null);O.fromInt(30);for(var q=0,V=function(se,ce){return se|ce},w=+new Date,N,F=0;I.keys===null&&(E<=0||FM?I.pqState=0:I.num.isProbablePrime(S(I.num.bitLength()))?++I.pqState:I.num.dAddOffset(l[q++%8],0):I.pqState===2?I.pqState=I.num.subtract(n.ONE).gcd(I.e).compareTo(n.ONE)===0?3:0:I.pqState===3&&(I.pqState=0,I.p===null?I.p=I.num:I.q=I.num,I.p!==null&&I.q!==null&&++I.state,I.num=null)}else if(I.state===1)I.p.compareTo(I.q)<0&&(I.num=I.p,I.p=I.q,I.q=I.num),++I.state;else if(I.state===2)I.p1=I.p.subtract(n.ONE),I.q1=I.q.subtract(n.ONE),I.phi=I.p1.multiply(I.q1),++I.state;else if(I.state===3)I.phi.gcd(I.e).compareTo(n.ONE)===0?++I.state:(I.p=null,I.q=null,I.state=0);else if(I.state===4)I.n=I.p.multiply(I.q),I.n.bitLength()===I.bits?++I.state:(I.q=null,I.state=0);else if(I.state===5){var ee=I.e.modInverse(I.phi);I.keys={privateKey:c.rsa.setPrivateKey(I.n,I.e,ee,I.p,I.q,ee.mod(I.p1),ee.mod(I.q1),I.q.modInverse(I.p)),publicKey:c.rsa.setPublicKey(I.n,I.e)}}N=+new Date,F+=N-w,w=N}return I.keys!==null},c.rsa.generateKeyPair=function(I,E,O,q){if(arguments.length===1?typeof I=="object"?(O=I,I=void 0):typeof I=="function"&&(q=I,I=void 0):arguments.length===2?typeof I=="number"?typeof E=="function"?(q=E,E=void 0):typeof E!="number"&&(O=E,E=void 0):(O=I,q=E,I=void 0,E=void 0):arguments.length===3&&(typeof E=="number"?typeof O=="function"&&(q=O,O=void 0):(q=O,O=E,E=void 0)),O=O||{},I===void 0&&(I=O.bits||2048),E===void 0&&(E=O.e||65537),!r.options.usePureJavaScript&&!O.prng&&I>=256&&I<=16384&&(E===65537||E===3)){if(q){if(m("generateKeyPair"))return i.generateKeyPair("rsa",{modulusLength:I,publicExponent:E,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}},function(F,M,P){if(F)return q(F);q(null,{privateKey:c.privateKeyFromPem(P),publicKey:c.publicKeyFromPem(M)})});if(T("generateKey")&&T("exportKey"))return a.globalScope.crypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:I,publicExponent:v(E),hash:{name:"SHA-256"}},!0,["sign","verify"]).then(function(F){return a.globalScope.crypto.subtle.exportKey("pkcs8",F.privateKey)}).then(void 0,function(F){q(F)}).then(function(F){if(F){var M=c.privateKeyFromAsn1(s.fromDer(r.util.createBuffer(F)));q(null,{privateKey:M,publicKey:c.setRsaPublicKey(M.n,M.e)})}});if(L("generateKey")&&L("exportKey")){var V=a.globalScope.msCrypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:I,publicExponent:v(E),hash:{name:"SHA-256"}},!0,["sign","verify"]);V.oncomplete=function(F){var M=F.target.result,P=a.globalScope.msCrypto.subtle.exportKey("pkcs8",M.privateKey);P.oncomplete=function(ee){var se=ee.target.result,ce=c.privateKeyFromAsn1(s.fromDer(r.util.createBuffer(se)));q(null,{privateKey:ce,publicKey:c.setRsaPublicKey(ce.n,ce.e)})},P.onerror=function(ee){q(ee)}},V.onerror=function(F){q(F)};return}}else if(m("generateKeyPairSync")){var w=i.generateKeyPairSync("rsa",{modulusLength:I,publicExponent:E,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}});return{privateKey:c.privateKeyFromPem(w.privateKey),publicKey:c.publicKeyFromPem(w.publicKey)}}}var N=c.rsa.createKeyPairGenerationState(I,E,O);if(!q)return c.rsa.stepKeyPairGenerationState(N,0),N.keys;_(N,O,q)},c.setRsaPublicKey=c.rsa.setPublicKey=function(I,E){var O={n:I,e:E};return O.encrypt=function(q,V,w){if(typeof V=="string"?V=V.toUpperCase():V===void 0&&(V="RSAES-PKCS1-V1_5"),V==="RSAES-PKCS1-V1_5")V={encode:function(F,M,P){return Q(F,M,2).getBytes()}};else if(V==="RSA-OAEP"||V==="RSAES-OAEP")V={encode:function(F,M){return r.pkcs1.encode_rsa_oaep(M,F,w)}};else if(["RAW","NONE","NULL",null].indexOf(V)!==-1)V={encode:function(F){return F}};else if(typeof V=="string")throw new Error('Unsupported encryption scheme: "'+V+'".');var N=V.encode(q,O,!0);return c.rsa.encrypt(N,O,!0)},O.verify=function(q,V,w,N){typeof w=="string"?w=w.toUpperCase():w===void 0&&(w="RSASSA-PKCS1-V1_5"),N===void 0&&(N={_parseAllDigestBytes:!0}),"_parseAllDigestBytes"in N||(N._parseAllDigestBytes=!0),w==="RSASSA-PKCS1-V1_5"?w={verify:function(M,P){P=R(P,O,!0);var ee=s.fromDer(P,{parseAllBytes:N._parseAllDigestBytes}),se={},ce=[];if(!s.validate(ee,b,se,ce)){var ge=new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.");throw ge.errors=ce,ge}var Ee=s.derToOid(se.algorithmIdentifier);if(!(Ee===r.oids.md2||Ee===r.oids.md5||Ee===r.oids.sha1||Ee===r.oids.sha224||Ee===r.oids.sha256||Ee===r.oids.sha384||Ee===r.oids.sha512||Ee===r.oids["sha512-224"]||Ee===r.oids["sha512-256"])){var ge=new Error("Unknown RSASSA-PKCS1-v1_5 DigestAlgorithm identifier.");throw ge.oid=Ee,ge}if((Ee===r.oids.md2||Ee===r.oids.md5)&&!("parameters"in se))throw new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifer NULL parameters.");return M===se.digest}}:(w==="NONE"||w==="NULL"||w===null)&&(w={verify:function(M,P){return P=R(P,O,!0),M===P}});var F=c.rsa.decrypt(V,O,!0,!1);return w.verify(q,F,O.n.bitLength())},O},c.setRsaPrivateKey=c.rsa.setPrivateKey=function(I,E,O,q,V,w,N,F){var M={n:I,e:E,d:O,p:q,q:V,dP:w,dQ:N,qInv:F};return M.decrypt=function(P,ee,se){typeof ee=="string"?ee=ee.toUpperCase():ee===void 0&&(ee="RSAES-PKCS1-V1_5");var ce=c.rsa.decrypt(P,M,!1,!1);if(ee==="RSAES-PKCS1-V1_5")ee={decode:R};else if(ee==="RSA-OAEP"||ee==="RSAES-OAEP")ee={decode:function(ge,Ee){return r.pkcs1.decode_rsa_oaep(Ee,ge,se)}};else if(["RAW","NONE","NULL",null].indexOf(ee)!==-1)ee={decode:function(ge){return ge}};else throw new Error('Unsupported encryption scheme: "'+ee+'".');return ee.decode(ce,M,!1)},M.sign=function(P,ee){var se=!1;typeof ee=="string"&&(ee=ee.toUpperCase()),ee===void 0||ee==="RSASSA-PKCS1-V1_5"?(ee={encode:C},se=1):(ee==="NONE"||ee==="NULL"||ee===null)&&(ee={encode:function(){return P}},se=1);var ce=ee.encode(P,M.n.bitLength());return c.rsa.encrypt(ce,M,se)},M},c.wrapRsaPrivateKey=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,s.integerToDer(0).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(c.oids.rsaEncryption).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.NULL,!1,"")]),s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,s.toDer(I).getBytes())])},c.privateKeyFromAsn1=function(I){var E={},O=[];if(s.validate(I,A,E,O)&&(I=s.fromDer(r.util.createBuffer(E.privateKey))),E={},O=[],!s.validate(I,f,E,O)){var q=new Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey.");throw q.errors=O,q}var V,w,N,F,M,P,ee,se;return V=r.util.createBuffer(E.privateKeyModulus).toHex(),w=r.util.createBuffer(E.privateKeyPublicExponent).toHex(),N=r.util.createBuffer(E.privateKeyPrivateExponent).toHex(),F=r.util.createBuffer(E.privateKeyPrime1).toHex(),M=r.util.createBuffer(E.privateKeyPrime2).toHex(),P=r.util.createBuffer(E.privateKeyExponent1).toHex(),ee=r.util.createBuffer(E.privateKeyExponent2).toHex(),se=r.util.createBuffer(E.privateKeyCoefficient).toHex(),c.setRsaPrivateKey(new n(V,16),new n(w,16),new n(N,16),new n(F,16),new n(M,16),new n(P,16),new n(ee,16),new n(se,16))},c.privateKeyToAsn1=c.privateKeyToRSAPrivateKey=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,s.integerToDer(0).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.n)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.e)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.d)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.p)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.q)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.dP)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.dQ)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.qInv))])},c.publicKeyFromAsn1=function(I){var E={},O=[];if(s.validate(I,g,E,O)){var q=s.derToOid(E.publicKeyOid);if(q!==c.oids.rsaEncryption){var V=new Error("Cannot read public key. Unknown OID.");throw V.oid=q,V}I=E.rsaPublicKey}if(O=[],!s.validate(I,h,E,O)){var V=new Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey.");throw V.errors=O,V}var w=r.util.createBuffer(E.publicKeyModulus).toHex(),N=r.util.createBuffer(E.publicKeyExponent).toHex();return c.setRsaPublicKey(new n(w,16),new n(N,16))},c.publicKeyToAsn1=c.publicKeyToSubjectPublicKeyInfo=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(c.oids.rsaEncryption).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.NULL,!1,"")]),s.create(s.Class.UNIVERSAL,s.Type.BITSTRING,!1,[c.publicKeyToRSAPublicKey(I)])])},c.publicKeyToRSAPublicKey=function(I){return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.n)),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,d(I.e))])};function Q(I,E,O){var q=r.util.createBuffer(),V=Math.ceil(E.n.bitLength()/8);if(I.length>V-11){var w=new Error("Message is too long for PKCS#1 v1.5 padding.");throw w.length=I.length,w.max=V-11,w}q.putByte(0),q.putByte(O);var N=V-3-I.length,F;if(O===0||O===1){F=O===0?0:255;for(var M=0;M0;){for(var P=0,ee=r.random.getBytes(N),M=0;M"u")throw new Error("Encryption block is invalid.");var M=0;if(F===0){M=V-3-q;for(var P=0;P1;){if(w.getByte()!==255){--w.read;break}++M}else if(F===2)for(M=0;w.length()>1;){if(w.getByte()===0){--w.read;break}++M}var ee=w.getByte();if(ee!==0||M!==V-3-w.length())throw new Error("Encryption block is invalid.");return w.getBytes()}function _(I,E,O){typeof E=="function"&&(O=E,E={}),E=E||{};var q={algorithm:{name:E.algorithm||"PRIMEINC",options:{workers:E.workers||2,workLoad:E.workLoad||100,workerScript:E.workerScript}}};"prng"in E&&(q.prng=E.prng),V();function V(){w(I.pBits,function(F,M){if(F)return O(F);if(I.p=M,I.q!==null)return N(F,I.q);w(I.qBits,N)})}function w(F,M){r.prime.generateProbablePrime(F,q,M)}function N(F,M){if(F)return O(F);if(I.q=M,I.p.compareTo(I.q)<0){var P=I.p;I.p=I.q,I.q=P}if(I.p.subtract(n.ONE).gcd(I.e).compareTo(n.ONE)!==0){I.p=null,V();return}if(I.q.subtract(n.ONE).gcd(I.e).compareTo(n.ONE)!==0){I.q=null,w(I.qBits,N);return}if(I.p1=I.p.subtract(n.ONE),I.q1=I.q.subtract(n.ONE),I.phi=I.p1.multiply(I.q1),I.phi.gcd(I.e).compareTo(n.ONE)!==0){I.p=I.q=null,V();return}if(I.n=I.p.multiply(I.q),I.n.bitLength()!==I.bits){I.q=null,w(I.qBits,N);return}var ee=I.e.modInverse(I.phi);I.keys={privateKey:c.rsa.setPrivateKey(I.n,I.e,ee,I.p,I.q,ee.mod(I.p1),ee.mod(I.q1),I.q.modInverse(I.p)),publicKey:c.rsa.setPublicKey(I.n,I.e)},O(null,I.keys)}}function d(I){var E=I.toString(16);E[0]>="8"&&(E="00"+E);var O=r.util.hexToBytes(E);return O.length>1&&(O.charCodeAt(0)===0&&!(O.charCodeAt(1)&128)||O.charCodeAt(0)===255&&(O.charCodeAt(1)&128)===128)?O.substr(1):O}function S(I){return I<=100?27:I<=150?18:I<=200?15:I<=250?12:I<=300?9:I<=350?8:I<=400?7:I<=500?6:I<=600?5:I<=800?4:I<=1250?3:2}function m(I){return r.util.isNodejs&&typeof i[I]=="function"}function T(I){return typeof a.globalScope<"u"&&typeof a.globalScope.crypto=="object"&&typeof a.globalScope.crypto.subtle=="object"&&typeof a.globalScope.crypto.subtle[I]=="function"}function L(I){return typeof a.globalScope<"u"&&typeof a.globalScope.msCrypto=="object"&&typeof a.globalScope.msCrypto.subtle=="object"&&typeof a.globalScope.msCrypto.subtle[I]=="function"}function v(I){for(var E=r.util.hexToBytes(I.toString(16)),O=new Uint8Array(E.length),q=0;q{var r=Qt();ec(),uo(),jE(),iA(),tc(),kQ(),Vl(),Ds(),NT(),KE(),xt(),typeof n>"u"&&(n=r.jsbn.BigInteger);var n,i=r.asn1,s=r.pki=r.pki||{};t.exports=s.pbe=r.pbe=r.pbe||{};var a=s.oids,c={name:"EncryptedPrivateKeyInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedPrivateKeyInfo.encryptionAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encryptionOid"},{name:"AlgorithmIdentifier.parameters",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"encryptionParams"}]},{name:"EncryptedPrivateKeyInfo.encryptedData",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encryptedData"}]},l={name:"PBES2Algorithms",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"kdfOid"},{name:"PBES2Algorithms.params",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.params.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"kdfSalt"},{name:"PBES2Algorithms.params.iterationCount",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"kdfIterationCount"},{name:"PBES2Algorithms.params.keyLength",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,optional:!0,capture:"keyLength"},{name:"PBES2Algorithms.params.prf",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,optional:!0,value:[{name:"PBES2Algorithms.params.prf.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"prfOid"}]}]}]},{name:"PBES2Algorithms.encryptionScheme",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.encryptionScheme.oid",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"encOid"},{name:"PBES2Algorithms.encryptionScheme.iv",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"encIv"}]}]},A={name:"pkcs-12PbeParams",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"pkcs-12PbeParams.salt",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"salt"},{name:"pkcs-12PbeParams.iterations",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"iterations"}]};s.encryptPrivateKeyInfo=function(C,p,Q){Q=Q||{},Q.saltSize=Q.saltSize||8,Q.count=Q.count||2048,Q.algorithm=Q.algorithm||"aes128",Q.prfAlgorithm=Q.prfAlgorithm||"sha1";var R=r.random.getBytesSync(Q.saltSize),_=Q.count,d=i.integerToDer(_),S,m,T;if(Q.algorithm.indexOf("aes")===0||Q.algorithm==="des"){var L,v,I;switch(Q.algorithm){case"aes128":S=16,L=16,v=a["aes128-CBC"],I=r.aes.createEncryptionCipher;break;case"aes192":S=24,L=16,v=a["aes192-CBC"],I=r.aes.createEncryptionCipher;break;case"aes256":S=32,L=16,v=a["aes256-CBC"],I=r.aes.createEncryptionCipher;break;case"des":S=8,L=8,v=a.desCBC,I=r.des.createEncryptionCipher;break;default:var E=new Error("Cannot encrypt private key. Unknown encryption algorithm.");throw E.algorithm=Q.algorithm,E}var O="hmacWith"+Q.prfAlgorithm.toUpperCase(),q=g(O),V=r.pkcs5.pbkdf2(p,R,_,S,q),w=r.random.getBytesSync(L),N=I(V);N.start(w),N.update(i.toDer(C)),N.finish(),T=N.output.getBytes();var F=b(R,d,S,O);m=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a.pkcs5PBES2).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a.pkcs5PBKDF2).getBytes()),F]),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(v).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,w)])])])}else if(Q.algorithm==="3des"){S=24;var M=new r.util.ByteBuffer(R),V=s.pbe.generatePkcs12Key(p,M,1,_,S),w=s.pbe.generatePkcs12Key(p,M,2,_,S),N=r.des.createEncryptionCipher(V);N.start(w),N.update(i.toDer(C)),N.finish(),T=N.output.getBytes(),m=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(a["pbeWithSHAAnd3-KeyTripleDES-CBC"]).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,R),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,d.getBytes())])])}else{var E=new Error("Cannot encrypt private key. Unknown encryption algorithm.");throw E.algorithm=Q.algorithm,E}var P=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[m,i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,T)]);return P},s.decryptPrivateKeyInfo=function(C,p){var Q=null,R={},_=[];if(!i.validate(C,c,R,_)){var d=new Error("Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw d.errors=_,d}var S=i.derToOid(R.encryptionOid),m=s.pbe.getCipher(S,R.encryptionParams,p),T=r.util.createBuffer(R.encryptedData);return m.update(T),m.finish()&&(Q=i.fromDer(m.output)),Q},s.encryptedPrivateKeyToPem=function(C,p){var Q={type:"ENCRYPTED PRIVATE KEY",body:i.toDer(C).getBytes()};return r.pem.encode(Q,{maxline:p})},s.encryptedPrivateKeyFromPem=function(C){var p=r.pem.decode(C)[0];if(p.type!=="ENCRYPTED PRIVATE KEY"){var Q=new Error('Could not convert encrypted private key from PEM; PEM header type is "ENCRYPTED PRIVATE KEY".');throw Q.headerType=p.type,Q}if(p.procType&&p.procType.type==="ENCRYPTED")throw new Error("Could not convert encrypted private key from PEM; PEM is encrypted.");return i.fromDer(p.body)},s.encryptRsaPrivateKey=function(C,p,Q){if(Q=Q||{},!Q.legacy){var R=s.wrapRsaPrivateKey(s.privateKeyToAsn1(C));return R=s.encryptPrivateKeyInfo(R,p,Q),s.encryptedPrivateKeyToPem(R)}var _,d,S,m;switch(Q.algorithm){case"aes128":_="AES-128-CBC",S=16,d=r.random.getBytesSync(16),m=r.aes.createEncryptionCipher;break;case"aes192":_="AES-192-CBC",S=24,d=r.random.getBytesSync(16),m=r.aes.createEncryptionCipher;break;case"aes256":_="AES-256-CBC",S=32,d=r.random.getBytesSync(16),m=r.aes.createEncryptionCipher;break;case"3des":_="DES-EDE3-CBC",S=24,d=r.random.getBytesSync(8),m=r.des.createEncryptionCipher;break;case"des":_="DES-CBC",S=8,d=r.random.getBytesSync(8),m=r.des.createEncryptionCipher;break;default:var T=new Error('Could not encrypt RSA private key; unsupported encryption algorithm "'+Q.algorithm+'".');throw T.algorithm=Q.algorithm,T}var L=r.pbe.opensslDeriveBytes(p,d.substr(0,8),S),v=m(L);v.start(d),v.update(i.toDer(s.privateKeyToAsn1(C))),v.finish();var I={type:"RSA PRIVATE KEY",procType:{version:"4",type:"ENCRYPTED"},dekInfo:{algorithm:_,parameters:r.util.bytesToHex(d).toUpperCase()},body:v.output.getBytes()};return r.pem.encode(I)},s.decryptRsaPrivateKey=function(C,p){var Q=null,R=r.pem.decode(C)[0];if(R.type!=="ENCRYPTED PRIVATE KEY"&&R.type!=="PRIVATE KEY"&&R.type!=="RSA PRIVATE KEY"){var _=new Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".');throw _.headerType=_,_}if(R.procType&&R.procType.type==="ENCRYPTED"){var d,S;switch(R.dekInfo.algorithm){case"DES-CBC":d=8,S=r.des.createDecryptionCipher;break;case"DES-EDE3-CBC":d=24,S=r.des.createDecryptionCipher;break;case"AES-128-CBC":d=16,S=r.aes.createDecryptionCipher;break;case"AES-192-CBC":d=24,S=r.aes.createDecryptionCipher;break;case"AES-256-CBC":d=32,S=r.aes.createDecryptionCipher;break;case"RC2-40-CBC":d=5,S=function(I){return r.rc2.createDecryptionCipher(I,40)};break;case"RC2-64-CBC":d=8,S=function(I){return r.rc2.createDecryptionCipher(I,64)};break;case"RC2-128-CBC":d=16,S=function(I){return r.rc2.createDecryptionCipher(I,128)};break;default:var _=new Error('Could not decrypt private key; unsupported encryption algorithm "'+R.dekInfo.algorithm+'".');throw _.algorithm=R.dekInfo.algorithm,_}var m=r.util.hexToBytes(R.dekInfo.parameters),T=r.pbe.opensslDeriveBytes(p,m.substr(0,8),d),L=S(T);if(L.start(m),L.update(r.util.createBuffer(R.body)),L.finish())Q=L.output.getBytes();else return Q}else Q=R.body;return R.type==="ENCRYPTED PRIVATE KEY"?Q=s.decryptPrivateKeyInfo(i.fromDer(Q),p):Q=i.fromDer(Q),Q!==null&&(Q=s.privateKeyFromAsn1(Q)),Q},s.pbe.generatePkcs12Key=function(C,p,Q,R,_,d){var S,m;if(typeof d>"u"||d===null){if(!("sha1"in r.md))throw new Error('"sha1" hash algorithm unavailable.');d=r.md.sha1.create()}var T=d.digestLength,L=d.blockLength,v=new r.util.ByteBuffer,I=new r.util.ByteBuffer;if(C!=null){for(m=0;m=0;m--)ye=ye>>8,ye+=ge.at(m)+De.at(m),De.setAt(m,ye&255);we.putBuffer(De)}M=we,v.putBuffer(se)}return v.truncate(v.length()-_),v},s.pbe.getCipher=function(C,p,Q){switch(C){case s.oids.pkcs5PBES2:return s.pbe.getCipherForPBES2(C,p,Q);case s.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case s.oids["pbewithSHAAnd40BitRC2-CBC"]:return s.pbe.getCipherForPKCS12PBE(C,p,Q);default:var R=new Error("Cannot read encrypted PBE data block. Unsupported OID.");throw R.oid=C,R.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],R}},s.pbe.getCipherForPBES2=function(C,p,Q){var R={},_=[];if(!i.validate(p,l,R,_)){var d=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw d.errors=_,d}if(C=i.derToOid(R.kdfOid),C!==s.oids.pkcs5PBKDF2){var d=new Error("Cannot read encrypted private key. Unsupported key derivation function OID.");throw d.oid=C,d.supportedOids=["pkcs5PBKDF2"],d}if(C=i.derToOid(R.encOid),C!==s.oids["aes128-CBC"]&&C!==s.oids["aes192-CBC"]&&C!==s.oids["aes256-CBC"]&&C!==s.oids["des-EDE3-CBC"]&&C!==s.oids.desCBC){var d=new Error("Cannot read encrypted private key. Unsupported encryption scheme OID.");throw d.oid=C,d.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],d}var S=R.kdfSalt,m=r.util.createBuffer(R.kdfIterationCount);m=m.getInt(m.length()<<3);var T,L;switch(s.oids[C]){case"aes128-CBC":T=16,L=r.aes.createDecryptionCipher;break;case"aes192-CBC":T=24,L=r.aes.createDecryptionCipher;break;case"aes256-CBC":T=32,L=r.aes.createDecryptionCipher;break;case"des-EDE3-CBC":T=24,L=r.des.createDecryptionCipher;break;case"desCBC":T=8,L=r.des.createDecryptionCipher;break}var v=h(R.prfOid),I=r.pkcs5.pbkdf2(Q,S,m,T,v),E=R.encIv,O=L(I);return O.start(E),O},s.pbe.getCipherForPKCS12PBE=function(C,p,Q){var R={},_=[];if(!i.validate(p,A,R,_)){var d=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw d.errors=_,d}var S=r.util.createBuffer(R.salt),m=r.util.createBuffer(R.iterations);m=m.getInt(m.length()<<3);var T,L,v;switch(C){case s.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:T=24,L=8,v=r.des.startDecrypting;break;case s.oids["pbewithSHAAnd40BitRC2-CBC"]:T=5,L=8,v=function(V,w){var N=r.rc2.createDecryptionCipher(V,40);return N.start(w,null),N};break;default:var d=new Error("Cannot read PKCS #12 PBE data block. Unsupported OID.");throw d.oid=C,d}var I=h(R.prfOid),E=s.pbe.generatePkcs12Key(Q,S,1,m,T,I);I.start();var O=s.pbe.generatePkcs12Key(Q,S,2,m,L,I);return v(E,O)},s.pbe.opensslDeriveBytes=function(C,p,Q,R){if(typeof R>"u"||R===null){if(!("md5"in r.md))throw new Error('"md5" hash algorithm unavailable.');R=r.md.md5.create()}p===null&&(p="");for(var _=[f(R,C+p)],d=16,S=1;d{var r=Qt();uo(),xt();var n=r.asn1,i=t.exports=r.pkcs7asn1=r.pkcs7asn1||{};r.pkcs7=r.pkcs7||{},r.pkcs7.asn1=i;var s={name:"ContentInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.ContentType",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,captureAsn1:"content"}]};i.contentInfoValidator=s;var a={name:"EncryptedContentInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentType",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"contentType"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentEncryptionAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm.parameter",tagClass:n.Class.UNIVERSAL,captureAsn1:"encParameter"}]},{name:"EncryptedContentInfo.encryptedContent",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,capture:"encryptedContent",captureAsn1:"encryptedContentAsn1"}]};i.envelopedDataValidator={name:"EnvelopedData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EnvelopedData.Version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},{name:"EnvelopedData.RecipientInfos",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,captureAsn1:"recipientInfos"}].concat(a)},i.encryptedDataValidator={name:"EncryptedData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedData.Version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"}].concat(a)};var c={name:"SignerInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1},{name:"SignerInfo.issuerAndSerialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.issuerAndSerialNumber.issuer",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"SignerInfo.issuerAndSerialNumber.serialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"SignerInfo.digestAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.digestAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"digestAlgorithm"},{name:"SignerInfo.digestAlgorithm.parameter",tagClass:n.Class.UNIVERSAL,constructed:!1,captureAsn1:"digestParameter",optional:!0}]},{name:"SignerInfo.authenticatedAttributes",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"authenticatedAttributes"},{name:"SignerInfo.digestEncryptionAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,capture:"signatureAlgorithm"},{name:"SignerInfo.encryptedDigest",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"signature"},{name:"SignerInfo.unauthenticatedAttributes",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,capture:"unauthenticatedAttributes"}]};i.signedDataValidator={name:"SignedData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SignedData.Version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},{name:"SignedData.DigestAlgorithms",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,captureAsn1:"digestAlgorithms"},s,{name:"SignedData.Certificates",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,optional:!0,captureAsn1:"certificates"},{name:"SignedData.CertificateRevocationLists",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,optional:!0,captureAsn1:"crls"},{name:"SignedData.SignerInfos",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,capture:"signerInfos",optional:!0,value:[c]}]},i.recipientInfoValidator={name:"RecipientInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},{name:"RecipientInfo.issuerAndSerial",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.issuerAndSerial.issuer",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"RecipientInfo.issuerAndSerial.serialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"RecipientInfo.keyEncryptionAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.keyEncryptionAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"RecipientInfo.keyEncryptionAlgorithm.parameter",tagClass:n.Class.UNIVERSAL,constructed:!1,captureAsn1:"encParameter",optional:!0}]},{name:"RecipientInfo.encryptedKey",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"encKey"}]}}),xT=nt((e,t)=>{var r=Qt();xt(),r.mgf=r.mgf||{};var n=t.exports=r.mgf.mgf1=r.mgf1=r.mgf1||{};n.create=function(i){var s={generate:function(a,c){for(var l=new r.util.ByteBuffer,A=Math.ceil(c/i.digestLength),f=0;f{var r=Qt();xT(),t.exports=r.mgf=r.mgf||{},r.mgf.mgf1=r.mgf1}),DQ=nt((e,t)=>{var r=Qt();Ds(),xt();var n=t.exports=r.pss=r.pss||{};n.create=function(i){arguments.length===3&&(i={md:arguments[0],mgf:arguments[1],saltLength:arguments[2]});var s=i.md,a=i.mgf,c=s.digestLength,l=i.salt||null;typeof l=="string"&&(l=r.util.createBuffer(l));var A;if("saltLength"in i)A=i.saltLength;else if(l!==null)A=l.length();else throw new Error("Salt length not specified or specific salt not given.");if(l!==null&&l.length()!==A)throw new Error("Given salt length does not match length of given salt.");var f=i.prng||r.random,h={};return h.encode=function(g,b){var C,p=b-1,Q=Math.ceil(p/8),R=g.digest().getBytes();if(Q>8*Q-p&255;return I=String.fromCharCode(I.charCodeAt(0)&~E)+I.substr(1),I+S+String.fromCharCode(188)},h.verify=function(g,b,C){var p,Q=C-1,R=Math.ceil(Q/8);if(b=b.substr(-R),R>8*R-Q&255;if(d.charCodeAt(0)&m)throw new Error("Bits beyond keysize not zero as expected.");var T=a.generate(S,_),L="";for(p=0;p<_;p++)L+=String.fromCharCode(d.charCodeAt(p)^T.charCodeAt(p));L=String.fromCharCode(L.charCodeAt(0)&~m)+L.substr(1);var v=R-c-A-2;for(p=0;p{var r=Qt();ec(),uo(),jE(),iA(),hX(),tc(),Vl(),DQ(),KE(),xt();var n=r.asn1,i=t.exports=r.pki=r.pki||{},s=i.oids,a={};a.CN=s.commonName,a.commonName="CN",a.C=s.countryName,a.countryName="C",a.L=s.localityName,a.localityName="L",a.ST=s.stateOrProvinceName,a.stateOrProvinceName="ST",a.O=s.organizationName,a.organizationName="O",a.OU=s.organizationalUnitName,a.organizationalUnitName="OU",a.E=s.emailAddress,a.emailAddress="E";var c=r.pki.rsa.publicKeyValidator,l={name:"Certificate",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"tbsCertificate",value:[{name:"Certificate.TBSCertificate.version",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.version.integer",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"certVersion"}]},{name:"Certificate.TBSCertificate.serialNumber",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"certSerialNumber"},{name:"Certificate.TBSCertificate.signature",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.signature.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"certinfoSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:n.Class.UNIVERSAL,optional:!0,captureAsn1:"certinfoSignatureParams"}]},{name:"Certificate.TBSCertificate.issuer",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certIssuer"},{name:"Certificate.TBSCertificate.validity",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.validity.notBefore (utc)",tagClass:n.Class.UNIVERSAL,type:n.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity1UTCTime"},{name:"Certificate.TBSCertificate.validity.notBefore (generalized)",tagClass:n.Class.UNIVERSAL,type:n.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity2GeneralizedTime"},{name:"Certificate.TBSCertificate.validity.notAfter (utc)",tagClass:n.Class.UNIVERSAL,type:n.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity3UTCTime"},{name:"Certificate.TBSCertificate.validity.notAfter (generalized)",tagClass:n.Class.UNIVERSAL,type:n.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity4GeneralizedTime"}]},{name:"Certificate.TBSCertificate.subject",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certSubject"},c,{name:"Certificate.TBSCertificate.issuerUniqueID",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.issuerUniqueID.id",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"certIssuerUniqueId"}]},{name:"Certificate.TBSCertificate.subjectUniqueID",tagClass:n.Class.CONTEXT_SPECIFIC,type:2,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.subjectUniqueID.id",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSubjectUniqueId"}]},{name:"Certificate.TBSCertificate.extensions",tagClass:n.Class.CONTEXT_SPECIFIC,type:3,constructed:!0,captureAsn1:"certExtensions",optional:!0}]},{name:"Certificate.signatureAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.signatureAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"certSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:n.Class.UNIVERSAL,optional:!0,captureAsn1:"certSignatureParams"}]},{name:"Certificate.signatureValue",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSignature"}]},A={name:"rsapss",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.hashAlgorithm",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier",tagClass:n.Class.UNIVERSAL,type:n.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"hashOid"}]}]},{name:"rsapss.maskGenAlgorithm",tagClass:n.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier",tagClass:n.Class.UNIVERSAL,type:n.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"maskGenOid"},{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"maskGenHashOid"}]}]}]},{name:"rsapss.saltLength",tagClass:n.Class.CONTEXT_SPECIFIC,type:2,optional:!0,value:[{name:"rsapss.saltLength.saltLength",tagClass:n.Class.UNIVERSAL,type:n.Class.INTEGER,constructed:!1,capture:"saltLength"}]},{name:"rsapss.trailerField",tagClass:n.Class.CONTEXT_SPECIFIC,type:3,optional:!0,value:[{name:"rsapss.trailer.trailer",tagClass:n.Class.UNIVERSAL,type:n.Class.INTEGER,constructed:!1,capture:"trailer"}]}]},f={name:"CertificationRequestInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfo",value:[{name:"CertificationRequestInfo.integer",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"certificationRequestInfoVersion"},{name:"CertificationRequestInfo.subject",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfoSubject"},c,{name:"CertificationRequestInfo.attributes",tagClass:n.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"certificationRequestInfoAttributes",value:[{name:"CertificationRequestInfo.attributes",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequestInfo.attributes.type",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1},{name:"CertificationRequestInfo.attributes.value",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0}]}]}]},h={name:"CertificationRequest",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,captureAsn1:"csr",value:[f,{name:"CertificationRequest.signatureAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequest.signatureAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"csrSignatureOid"},{name:"CertificationRequest.signatureAlgorithm.parameters",tagClass:n.Class.UNIVERSAL,optional:!0,captureAsn1:"csrSignatureParams"}]},{name:"CertificationRequest.signature",tagClass:n.Class.UNIVERSAL,type:n.Type.BITSTRING,constructed:!1,captureBitStringValue:"csrSignature"}]};i.RDNAttributesAsArray=function(v,I){for(var E=[],O,q,V,w=0;w2)throw new Error("Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.");if(F.length<2)throw new Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.");if(w.validity.notBefore=F[0],w.validity.notAfter=F[1],w.tbsCertificate=E.tbsCertificate,I){w.md=C({signatureOid:w.signatureOid,type:"certificate"});var M=n.toDer(w.tbsCertificate);w.md.update(M.getBytes())}var P=r.md.sha1.create(),ee=n.toDer(E.certIssuer);P.update(ee.getBytes()),w.issuer.getField=function(ge){return g(w.issuer,ge)},w.issuer.addField=function(ge){R([ge]),w.issuer.attributes.push(ge)},w.issuer.attributes=i.RDNAttributesAsArray(E.certIssuer),E.certIssuerUniqueId&&(w.issuer.uniqueId=E.certIssuerUniqueId),w.issuer.hash=P.digest().toHex();var se=r.md.sha1.create(),ce=n.toDer(E.certSubject);return se.update(ce.getBytes()),w.subject.getField=function(ge){return g(w.subject,ge)},w.subject.addField=function(ge){R([ge]),w.subject.attributes.push(ge)},w.subject.attributes=i.RDNAttributesAsArray(E.certSubject),E.certSubjectUniqueId&&(w.subject.uniqueId=E.certSubjectUniqueId),w.subject.hash=se.digest().toHex(),E.certExtensions?w.extensions=i.certificateExtensionsFromAsn1(E.certExtensions):w.extensions=[],w.publicKey=i.publicKeyFromAsn1(E.subjectPublicKeyInfo),w},i.certificateExtensionsFromAsn1=function(v){for(var I=[],E=0;E1&&(O=E.value.charCodeAt(1),q=E.value.length>2?E.value.charCodeAt(2):0),I.digitalSignature=(O&128)===128,I.nonRepudiation=(O&64)===64,I.keyEncipherment=(O&32)===32,I.dataEncipherment=(O&16)===16,I.keyAgreement=(O&8)===8,I.keyCertSign=(O&4)===4,I.cRLSign=(O&2)===2,I.encipherOnly=(O&1)===1,I.decipherOnly=(q&128)===128}else if(I.name==="basicConstraints"){var E=n.fromDer(I.value);E.value.length>0&&E.value[0].type===n.Type.BOOLEAN?I.cA=E.value[0].value.charCodeAt(0)!==0:I.cA=!1;var V=null;E.value.length>0&&E.value[0].type===n.Type.INTEGER?V=E.value[0].value:E.value.length>1&&(V=E.value[1].value),V!==null&&(I.pathLenConstraint=n.derToInteger(V))}else if(I.name==="extKeyUsage")for(var E=n.fromDer(I.value),w=0;w1&&(O=E.value.charCodeAt(1)),I.client=(O&128)===128,I.server=(O&64)===64,I.email=(O&32)===32,I.objsign=(O&16)===16,I.reserved=(O&8)===8,I.sslCA=(O&4)===4,I.emailCA=(O&2)===2,I.objCA=(O&1)===1}else if(I.name==="subjectAltName"||I.name==="issuerAltName"){I.altNames=[];for(var F,E=n.fromDer(I.value),M=0;M"u"&&(I.type&&I.type in i.oids?I.name=i.oids[I.type]:I.shortName&&I.shortName in a&&(I.name=i.oids[a[I.shortName]])),typeof I.type>"u")if(I.name&&I.name in i.oids)I.type=i.oids[I.name];else{var O=new Error("Attribute type not specified.");throw O.attribute=I,O}if(typeof I.shortName>"u"&&I.name&&I.name in a&&(I.shortName=a[I.name]),I.type===s.extensionRequest&&(I.valueConstructed=!0,I.valueTagClass=n.Type.SEQUENCE,!I.value&&I.extensions)){I.value=[];for(var q=0;q"u"){var O=new Error("Attribute value not specified.");throw O.attribute=I,O}}}function _(v,I){if(I=I||{},typeof v.name>"u"&&v.id&&v.id in i.oids&&(v.name=i.oids[v.id]),typeof v.id>"u")if(v.name&&v.name in i.oids)v.id=i.oids[v.name];else{var E=new Error("Extension ID not specified.");throw E.extension=v,E}if(typeof v.value<"u")return v;if(v.name==="keyUsage"){var O=0,q=0,V=0;v.digitalSignature&&(q|=128,O=7),v.nonRepudiation&&(q|=64,O=6),v.keyEncipherment&&(q|=32,O=5),v.dataEncipherment&&(q|=16,O=4),v.keyAgreement&&(q|=8,O=3),v.keyCertSign&&(q|=4,O=2),v.cRLSign&&(q|=2,O=1),v.encipherOnly&&(q|=1,O=0),v.decipherOnly&&(V|=128,O=7);var w=String.fromCharCode(O);V!==0?w+=String.fromCharCode(q)+String.fromCharCode(V):q!==0&&(w+=String.fromCharCode(q)),v.value=n.create(n.Class.UNIVERSAL,n.Type.BITSTRING,!1,w)}else if(v.name==="basicConstraints")v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]),v.cA&&v.value.value.push(n.create(n.Class.UNIVERSAL,n.Type.BOOLEAN,!1,String.fromCharCode(255))),"pathLenConstraint"in v&&v.value.value.push(n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(v.pathLenConstraint).getBytes()));else if(v.name==="extKeyUsage"){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);var N=v.value.value;for(var F in v)v[F]===!0&&(F in s?N.push(n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(s[F]).getBytes())):F.indexOf(".")!==-1&&N.push(n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(F).getBytes())))}else if(v.name==="nsCertType"){var O=0,q=0;v.client&&(q|=128,O=7),v.server&&(q|=64,O=6),v.email&&(q|=32,O=5),v.objsign&&(q|=16,O=4),v.reserved&&(q|=8,O=3),v.sslCA&&(q|=4,O=2),v.emailCA&&(q|=2,O=1),v.objCA&&(q|=1,O=0);var w=String.fromCharCode(O);q!==0&&(w+=String.fromCharCode(q)),v.value=n.create(n.Class.UNIVERSAL,n.Type.BITSTRING,!1,w)}else if(v.name==="subjectAltName"||v.name==="issuerAltName"){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);for(var M,P=0;P128)throw new Error('Invalid "nsComment" content.');v.value=n.create(n.Class.UNIVERSAL,n.Type.IA5STRING,!1,v.comment)}else if(v.name==="subjectKeyIdentifier"&&I.cert){var ee=I.cert.generateSubjectKeyIdentifier();v.subjectKeyIdentifier=ee.toHex(),v.value=n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,ee.getBytes())}else if(v.name==="authorityKeyIdentifier"&&I.cert){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);var N=v.value.value;if(v.keyIdentifier){var se=v.keyIdentifier===!0?I.cert.generateSubjectKeyIdentifier().getBytes():v.keyIdentifier;N.push(n.create(n.Class.CONTEXT_SPECIFIC,0,!1,se))}if(v.authorityCertIssuer){var ce=[n.create(n.Class.CONTEXT_SPECIFIC,4,!0,[Q(v.authorityCertIssuer===!0?I.cert.issuer:v.authorityCertIssuer)])];N.push(n.create(n.Class.CONTEXT_SPECIFIC,1,!0,ce))}if(v.serialNumber){var ge=r.util.hexToBytes(v.serialNumber===!0?I.cert.serialNumber:v.serialNumber);N.push(n.create(n.Class.CONTEXT_SPECIFIC,2,!1,ge))}}else if(v.name==="cRLDistributionPoints"){v.value=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);for(var N=v.value.value,Ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]),we=n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[]),M,P=0;P"u"){var E=new Error("Extension value not specified.");throw E.extension=v,E}return v}function d(v,I){switch(v){case s["RSASSA-PSS"]:var E=[];return I.hash.algorithmOid!==void 0&&E.push(n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(I.hash.algorithmOid).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")])])),I.mgf.algorithmOid!==void 0&&E.push(n.create(n.Class.CONTEXT_SPECIFIC,1,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(I.mgf.algorithmOid).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(I.mgf.hash.algorithmOid).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")])])])),I.saltLength!==void 0&&E.push(n.create(n.Class.CONTEXT_SPECIFIC,2,!0,[n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(I.saltLength).getBytes())])),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,E);default:return n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")}}function S(v){var I=n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[]);if(v.attributes.length===0)return I;for(var E=v.attributes,O=0;O=m&&v0&&O.value.push(i.certificateExtensionsToAsn1(v.extensions)),O},i.getCertificationRequestInfo=function(v){var I=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(v.version).getBytes()),Q(v.subject),i.publicKeyToAsn1(v.publicKey),S(v)]);return I},i.distinguishedNameToAsn1=function(v){return Q(v)},i.certificateToAsn1=function(v){var I=v.tbsCertificate||i.getTBSCertificate(v);return n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[I,n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(v.signatureOid).getBytes()),d(v.signatureOid,v.signatureParameters)]),n.create(n.Class.UNIVERSAL,n.Type.BITSTRING,!1,String.fromCharCode(0)+v.signature)])},i.certificateExtensionsToAsn1=function(v){var I=n.create(n.Class.CONTEXT_SPECIFIC,3,!0,[]),E=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[]);I.value.push(E);for(var O=0;O"u"&&(q=new Date);var V=!0,w=null,N=0;do{var F=I.shift(),M=null,P=!1;if(q&&(qF.validity.notAfter)&&(w={message:"Certificate is not valid yet or has expired.",error:i.certificateError.certificate_expired,notBefore:F.validity.notBefore,notAfter:F.validity.notAfter,now:q}),w===null){if(M=I[0]||v.getIssuer(F),M===null&&F.isIssuer(F)&&(P=!0,M=F),M){var ee=M;r.util.isArray(ee)||(ee=[ee]);for(var se=!1;!se&&ee.length>0;){M=ee.shift();try{se=M.verify(F)}catch{}}se||(w={message:"Certificate signature is invalid.",error:i.certificateError.bad_certificate})}w===null&&(!M||P)&&!v.hasCertificate(F)&&(w={message:"Certificate is not trusted.",error:i.certificateError.unknown_ca})}if(w===null&&M&&!F.isIssuer(M)&&(w={message:"Certificate issuer is invalid.",error:i.certificateError.bad_certificate}),w===null)for(var ce={keyUsage:!0,basicConstraints:!0},ge=0;w===null&&gewe.pathLenConstraint&&(w={message:"Certificate basicConstraints pathLenConstraint violated.",error:i.certificateError.bad_certificate})}}var Ke=w===null?!0:w.error,Se=E.verify?E.verify(Ke,N,O):Ke;if(Se===!0)w=null;else throw Ke===!0&&(w={message:"The application rejected the certificate.",error:i.certificateError.bad_certificate}),(Se||Se===0)&&(typeof Se=="object"&&!r.util.isArray(Se)?(Se.message&&(w.message=Se.message),Se.error&&(w.error=Se.error)):typeof Se=="string"&&(w.error=Se)),w;V=!1,++N}while(I.length>0);return!0}}),MT=nt((e,t)=>{var r=Qt();uo(),Jh(),tc(),UT(),FT(),Ds(),KE(),Wh(),xt(),NQ();var n=r.asn1,i=r.pki,s=t.exports=r.pkcs12=r.pkcs12||{},a={name:"ContentInfo",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.contentType",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:n.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"content"}]},c={name:"PFX",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.version",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,capture:"version"},a,{name:"PFX.macData",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"mac",value:[{name:"PFX.macData.mac",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm.algorithm",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"macAlgorithm"},{name:"PFX.macData.mac.digestAlgorithm.parameters",tagClass:n.Class.UNIVERSAL,captureAsn1:"macAlgorithmParameters"}]},{name:"PFX.macData.mac.digest",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"macDigest"}]},{name:"PFX.macData.macSalt",tagClass:n.Class.UNIVERSAL,type:n.Type.OCTETSTRING,constructed:!1,capture:"macSalt"},{name:"PFX.macData.iterations",tagClass:n.Class.UNIVERSAL,type:n.Type.INTEGER,constructed:!1,optional:!0,capture:"macIterations"}]}]},l={name:"SafeBag",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"SafeBag.bagId",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"bagId"},{name:"SafeBag.bagValue",tagClass:n.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"bagValue"},{name:"SafeBag.bagAttributes",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,optional:!0,capture:"bagAttributes"}]},A={name:"Attribute",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"Attribute.attrId",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"oid"},{name:"Attribute.attrValues",tagClass:n.Class.UNIVERSAL,type:n.Type.SET,constructed:!0,capture:"values"}]},f={name:"CertBag",tagClass:n.Class.UNIVERSAL,type:n.Type.SEQUENCE,constructed:!0,value:[{name:"CertBag.certId",tagClass:n.Class.UNIVERSAL,type:n.Type.OID,constructed:!1,capture:"certId"},{name:"CertBag.certValue",tagClass:n.Class.CONTEXT_SPECIFIC,constructed:!0,value:[{name:"CertBag.certValue[0]",tagClass:n.Class.UNIVERSAL,type:n.Class.OCTETSTRING,constructed:!1,capture:"cert"}]}]};function h(R,_,d,S){for(var m=[],T=0;T=0&&m.push(v)}}return m}s.pkcs12FromAsn1=function(R,_,d){typeof _=="string"?(d=_,_=!0):_===void 0&&(_=!0);var S={},m=[];if(!n.validate(R,c,S,m)){var T=new Error("Cannot read PKCS#12 PFX. ASN.1 object is not an PKCS#12 PFX.");throw T.errors=T,T}var L={version:S.version.charCodeAt(0),safeContents:[],getBags:function(M){var P={},ee;return"localKeyId"in M?ee=M.localKeyId:"localKeyIdHex"in M&&(ee=r.util.hexToBytes(M.localKeyIdHex)),ee===void 0&&!("friendlyName"in M)&&"bagType"in M&&(P[M.bagType]=h(L.safeContents,null,null,M.bagType)),ee!==void 0&&(P.localKeyId=h(L.safeContents,"localKeyId",ee,M.bagType)),"friendlyName"in M&&(P.friendlyName=h(L.safeContents,"friendlyName",M.friendlyName,M.bagType)),P},getBagsByFriendlyName:function(M,P){return h(L.safeContents,"friendlyName",M,P)},getBagsByLocalKeyId:function(M,P){return h(L.safeContents,"localKeyId",M,P)}};if(S.version.charCodeAt(0)!==3){var T=new Error("PKCS#12 PFX of version other than 3 not supported.");throw T.version=S.version.charCodeAt(0),T}if(n.derToOid(S.contentType)!==i.oids.data){var T=new Error("Only PKCS#12 PFX in password integrity mode supported.");throw T.oid=n.derToOid(S.contentType),T}var v=S.content.value[0];if(v.tagClass!==n.Class.UNIVERSAL||v.type!==n.Type.OCTETSTRING)throw new Error("PKCS#12 authSafe content data is not an OCTET STRING.");if(v=g(v),S.mac){var I=null,E=0,O=n.derToOid(S.macAlgorithm);switch(O){case i.oids.sha1:I=r.md.sha1.create(),E=20;break;case i.oids.sha256:I=r.md.sha256.create(),E=32;break;case i.oids.sha384:I=r.md.sha384.create(),E=48;break;case i.oids.sha512:I=r.md.sha512.create(),E=64;break;case i.oids.md5:I=r.md.md5.create(),E=16;break}if(I===null)throw new Error("PKCS#12 uses unsupported MAC algorithm: "+O);var q=new r.util.ByteBuffer(S.macSalt),V="macIterations"in S?parseInt(r.util.bytesToHex(S.macIterations),16):1,w=s.generateKey(d,q,3,V,E,I),N=r.hmac.create();N.start(I,w),N.update(v.value);var F=N.getMac();if(F.getBytes()!==S.macDigest)throw new Error("PKCS#12 MAC could not be verified. Invalid password?")}return b(L,v.value,_,d),L};function g(R){if(R.composed||R.constructed){for(var _=r.util.createBuffer(),d=0;d0&&(T=n.create(n.Class.UNIVERSAL,n.Type.SET,!0,I));var E=[],O=[];_!==null&&(r.util.isArray(_)?O=_:O=[_]);for(var q=[],V=0;V0){var M=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,q),P=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.data).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,n.toDer(M).getBytes())])]);E.push(P)}var ee=null;if(R!==null){var se=i.wrapRsaPrivateKey(i.privateKeyToAsn1(R));d===null?ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.keyBag).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[se]),T]):ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.pkcs8ShroudedKeyBag).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[i.encryptPrivateKeyInfo(se,d,S)]),T]);var ce=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[ee]),ge=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.data).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,n.toDer(ce).getBytes())])]);E.push(ge)}var Ee=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,E),we;if(S.useMac){var v=r.md.sha1.create(),De=new r.util.ByteBuffer(r.random.getBytes(S.saltSize)),ye=S.count,R=s.generateKey(d,De,3,ye,20),Ke=r.hmac.create();Ke.start(v,R),Ke.update(n.toDer(Ee).getBytes());var Se=Ke.getMac();we=n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.sha1).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.NULL,!1,"")]),n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,Se.getBytes())]),n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,De.getBytes()),n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(ye).getBytes())])}return n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.INTEGER,!1,n.integerToDer(3).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(i.oids.data).getBytes()),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,n.toDer(Ee).getBytes())])]),we])},s.generateKey=r.pbe.generatePkcs12Key}),OT=nt((e,t)=>{var r=Qt();uo(),tc(),FT(),Vl(),kQ(),MT(),DQ(),KE(),xt(),NQ();var n=r.asn1,i=t.exports=r.pki=r.pki||{};i.pemToDer=function(s){var a=r.pem.decode(s)[0];if(a.procType&&a.procType.type==="ENCRYPTED")throw new Error("Could not convert PEM to DER; PEM is encrypted.");return r.util.createBuffer(a.body)},i.privateKeyFromPem=function(s){var a=r.pem.decode(s)[0];if(a.type!=="PRIVATE KEY"&&a.type!=="RSA PRIVATE KEY"){var c=new Error('Could not convert private key from PEM; PEM header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".');throw c.headerType=a.type,c}if(a.procType&&a.procType.type==="ENCRYPTED")throw new Error("Could not convert private key from PEM; PEM is encrypted.");var l=n.fromDer(a.body);return i.privateKeyFromAsn1(l)},i.privateKeyToPem=function(s,a){var c={type:"RSA PRIVATE KEY",body:n.toDer(i.privateKeyToAsn1(s)).getBytes()};return r.pem.encode(c,{maxline:a})},i.privateKeyInfoToPem=function(s,a){var c={type:"PRIVATE KEY",body:n.toDer(s).getBytes()};return r.pem.encode(c,{maxline:a})}}),PT=nt((e,t)=>{var r=Qt();uo(),Jh(),_Q(),Vl(),OT(),Ds(),Wh(),xt();var n=function(U,X,z,k){var J=r.util.createBuffer(),oe=U.length>>1,te=oe+(U.length&1),me=U.substr(0,te),Oe=U.substr(oe,te),Ve=r.util.createBuffer(),pe=r.hmac.create();z=X+z;var Ue=Math.ceil(k/16),Xe=Math.ceil(k/20);pe.start("MD5",me);var ht=r.util.createBuffer();Ve.putBytes(z);for(var je=0;je0&&(A.queue(U,A.createAlert(U,{level:A.Alert.Level.warning,description:A.Alert.Description.no_renegotiation})),A.flush(U)),U.process()},A.parseHelloMessage=function(U,X,z){var k=null,J=U.entity===A.ConnectionEnd.client;if(z<38)U.error(U,{message:J?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});else{var oe=X.fragment,te=oe.length();if(k={version:{major:oe.getByte(),minor:oe.getByte()},random:r.util.createBuffer(oe.getBytes(32)),session_id:c(oe,1),extensions:[]},J?(k.cipher_suite=oe.getBytes(2),k.compression_method=oe.getByte()):(k.cipher_suites=c(oe,2),k.compression_methods=c(oe,1)),te=z-(te-oe.length()),te>0){for(var me=c(oe,2);me.length()>0;)k.extensions.push({type:[me.getByte(),me.getByte()],data:c(me,2)});if(!J)for(var Oe=0;Oe0;){var Ue=pe.getByte();if(Ue!==0)break;U.session.extensions.server_name.serverNameList.push(c(pe,2).getBytes())}}}if(U.session.version&&(k.version.major!==U.session.version.major||k.version.minor!==U.session.version.minor))return U.error(U,{message:"TLS version change is disallowed during renegotiation.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.protocol_version}});if(J)U.session.cipherSuite=A.getCipherSuite(k.cipher_suite);else for(var Xe=r.util.createBuffer(k.cipher_suites.bytes());Xe.length()>0&&(U.session.cipherSuite=A.getCipherSuite(Xe.getBytes(2)),U.session.cipherSuite===null););if(U.session.cipherSuite===null)return U.error(U,{message:"No cipher suites in common.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.handshake_failure},cipherSuite:r.util.bytesToHex(k.cipher_suite)});J?U.session.compressionMethod=k.compression_method:U.session.compressionMethod=A.CompressionMethod.none}return k},A.createSecurityParameters=function(U,X){var z=U.entity===A.ConnectionEnd.client,k=X.random.bytes(),J=z?U.session.sp.client_random:k,oe=z?k:A.createRandom().getBytes();U.session.sp={entity:U.entity,prf_algorithm:A.PRFAlgorithm.tls_prf_sha256,bulk_cipher_algorithm:null,cipher_type:null,enc_key_length:null,block_length:null,fixed_iv_length:null,record_iv_length:null,mac_algorithm:null,mac_length:null,mac_key_length:null,compression_algorithm:U.session.compressionMethod,pre_master_secret:null,master_secret:null,client_random:J,server_random:oe}},A.handleServerHello=function(U,X,z){var k=A.parseHelloMessage(U,X,z);if(!U.fail){if(k.version.minor<=U.version.minor)U.version.minor=k.version.minor;else return U.error(U,{message:"Incompatible TLS version.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.protocol_version}});U.session.version=U.version;var J=k.session_id.bytes();J.length>0&&J===U.session.id?(U.expect=p,U.session.resuming=!0,U.session.sp.server_random=k.random.bytes()):(U.expect=h,U.session.resuming=!1,A.createSecurityParameters(U,k)),U.session.id=J,U.process()}},A.handleClientHello=function(U,X,z){var k=A.parseHelloMessage(U,X,z);if(!U.fail){var J=k.session_id.bytes(),oe=null;if(U.sessionCache&&(oe=U.sessionCache.getSession(J),oe===null?J="":(oe.version.major!==k.version.major||oe.version.minor>k.version.minor)&&(oe=null,J="")),J.length===0&&(J=r.random.getBytes(32)),U.session.id=J,U.session.clientHelloVersion=k.version,U.session.sp={},oe)U.version=U.session.version=oe.version,U.session.sp=oe.sp;else{for(var te,me=1;me0;)oe=c(J.certificate_list,3),te=r.asn1.fromDer(oe),oe=r.pki.certificateFromAsn1(te,!0),me.push(oe)}catch(Ve){return U.error(U,{message:"Could not parse certificate list.",cause:Ve,send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.bad_certificate}})}var Oe=U.entity===A.ConnectionEnd.client;(Oe||U.verifyClient===!0)&&me.length===0?U.error(U,{message:Oe?"No server certificate provided.":"No client certificate provided.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}}):me.length===0?U.expect=Oe?g:m:(Oe?U.session.serverCertificate=me[0]:U.session.clientCertificate=me[0],A.verifyCertificateChain(U,me)&&(U.expect=Oe?g:m)),U.process()},A.handleServerKeyExchange=function(U,X,z){if(z>0)return U.error(U,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.unsupported_certificate}});U.expect=b,U.process()},A.handleClientKeyExchange=function(U,X,z){if(z<48)return U.error(U,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.unsupported_certificate}});var k=X.fragment,J={enc_pre_master_secret:c(k,2).getBytes()},oe=null;if(U.getPrivateKey)try{oe=U.getPrivateKey(U,U.session.serverCertificate),oe=r.pki.privateKeyFromPem(oe)}catch(Oe){U.error(U,{message:"Could not get private key.",cause:Oe,send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}})}if(oe===null)return U.error(U,{message:"No private key set.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}});try{var te=U.session.sp;te.pre_master_secret=oe.decrypt(J.enc_pre_master_secret);var me=U.session.clientHelloVersion;if(me.major!==te.pre_master_secret.charCodeAt(0)||me.minor!==te.pre_master_secret.charCodeAt(1))throw new Error("TLS version rollback attack detected.")}catch{te.pre_master_secret=r.random.getBytes(48)}U.expect=L,U.session.clientCertificate!==null&&(U.expect=T),U.process()},A.handleCertificateRequest=function(U,X,z){if(z<3)return U.error(U,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});var k=X.fragment,J={certificate_types:c(k,1),certificate_authorities:c(k,2)};U.session.certificateRequest=J,U.expect=C,U.process()},A.handleCertificateVerify=function(U,X,z){if(z<2)return U.error(U,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});var k=X.fragment;k.read-=4;var J=k.bytes();k.read+=4;var oe={signature:c(k,2).getBytes()},te=r.util.createBuffer();te.putBuffer(U.session.md5.digest()),te.putBuffer(U.session.sha1.digest()),te=te.getBytes();try{var me=U.session.clientCertificate;if(!me.publicKey.verify(te,oe.signature,"NONE"))throw new Error("CertificateVerify signature does not match.");U.session.md5.update(J),U.session.sha1.update(J)}catch{return U.error(U,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.handshake_failure}})}U.expect=L,U.process()},A.handleServerHelloDone=function(U,X,z){if(z>0)return U.error(U,{message:"Invalid ServerHelloDone message. Invalid length.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.record_overflow}});if(U.serverCertificate===null){var k={message:"No server certificate provided. Not enough security.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.insufficient_security}},J=0,oe=U.verify(U,k.alert.description,J,[]);if(oe!==!0)return(oe||oe===0)&&(typeof oe=="object"&&!r.util.isArray(oe)?(oe.message&&(k.message=oe.message),oe.alert&&(k.alert.description=oe.alert)):typeof oe=="number"&&(k.alert.description=oe)),U.error(U,k)}U.session.certificateRequest!==null&&(X=A.createRecord(U,{type:A.ContentType.handshake,data:A.createCertificate(U)}),A.queue(U,X)),X=A.createRecord(U,{type:A.ContentType.handshake,data:A.createClientKeyExchange(U)}),A.queue(U,X),U.expect=_;var te=function(me,Oe){me.session.certificateRequest!==null&&me.session.clientCertificate!==null&&A.queue(me,A.createRecord(me,{type:A.ContentType.handshake,data:A.createCertificateVerify(me,Oe)})),A.queue(me,A.createRecord(me,{type:A.ContentType.change_cipher_spec,data:A.createChangeCipherSpec()})),me.state.pending=A.createConnectionState(me),me.state.current.write=me.state.pending.write,A.queue(me,A.createRecord(me,{type:A.ContentType.handshake,data:A.createFinished(me)})),me.expect=p,A.flush(me),me.process()};if(U.session.certificateRequest===null||U.session.clientCertificate===null)return te(U,null);A.getClientSignature(U,te)},A.handleChangeCipherSpec=function(U,X){if(X.fragment.getByte()!==1)return U.error(U,{message:"Invalid ChangeCipherSpec message received.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.illegal_parameter}});var z=U.entity===A.ConnectionEnd.client;(U.session.resuming&&z||!U.session.resuming&&!z)&&(U.state.pending=A.createConnectionState(U)),U.state.current.read=U.state.pending.read,(!U.session.resuming&&z||U.session.resuming&&!z)&&(U.state.pending=null),U.expect=z?Q:v,U.process()},A.handleFinished=function(U,X,z){var k=X.fragment;k.read-=4;var J=k.bytes();k.read+=4;var oe=X.fragment.getBytes();k=r.util.createBuffer(),k.putBuffer(U.session.md5.digest()),k.putBuffer(U.session.sha1.digest());var te=U.entity===A.ConnectionEnd.client,me=te?"server finished":"client finished",Oe=U.session.sp,Ve=12,pe=n;if(k=pe(Oe.master_secret,me,k.getBytes(),Ve),k.getBytes()!==oe)return U.error(U,{message:"Invalid verify_data in Finished message.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.decrypt_error}});U.session.md5.update(J),U.session.sha1.update(J),(U.session.resuming&&te||!U.session.resuming&&!te)&&(A.queue(U,A.createRecord(U,{type:A.ContentType.change_cipher_spec,data:A.createChangeCipherSpec()})),U.state.current.write=U.state.pending.write,U.state.pending=null,A.queue(U,A.createRecord(U,{type:A.ContentType.handshake,data:A.createFinished(U)}))),U.expect=te?R:I,U.handshaking=!1,++U.handshakes,U.peerCertificate=te?U.session.serverCertificate:U.session.clientCertificate,A.flush(U),U.isConnected=!0,U.connected(U),U.process()},A.handleAlert=function(U,X){var z=X.fragment,k={level:z.getByte(),description:z.getByte()},J;switch(k.description){case A.Alert.Description.close_notify:J="Connection closed.";break;case A.Alert.Description.unexpected_message:J="Unexpected message.";break;case A.Alert.Description.bad_record_mac:J="Bad record MAC.";break;case A.Alert.Description.decryption_failed:J="Decryption failed.";break;case A.Alert.Description.record_overflow:J="Record overflow.";break;case A.Alert.Description.decompression_failure:J="Decompression failed.";break;case A.Alert.Description.handshake_failure:J="Handshake failure.";break;case A.Alert.Description.bad_certificate:J="Bad certificate.";break;case A.Alert.Description.unsupported_certificate:J="Unsupported certificate.";break;case A.Alert.Description.certificate_revoked:J="Certificate revoked.";break;case A.Alert.Description.certificate_expired:J="Certificate expired.";break;case A.Alert.Description.certificate_unknown:J="Certificate unknown.";break;case A.Alert.Description.illegal_parameter:J="Illegal parameter.";break;case A.Alert.Description.unknown_ca:J="Unknown certificate authority.";break;case A.Alert.Description.access_denied:J="Access denied.";break;case A.Alert.Description.decode_error:J="Decode error.";break;case A.Alert.Description.decrypt_error:J="Decrypt error.";break;case A.Alert.Description.export_restriction:J="Export restriction.";break;case A.Alert.Description.protocol_version:J="Unsupported protocol version.";break;case A.Alert.Description.insufficient_security:J="Insufficient security.";break;case A.Alert.Description.internal_error:J="Internal error.";break;case A.Alert.Description.user_canceled:J="User canceled.";break;case A.Alert.Description.no_renegotiation:J="Renegotiation not supported.";break;default:J="Unknown error.";break}if(k.description===A.Alert.Description.close_notify)return U.close();U.error(U,{message:J,send:!1,origin:U.entity===A.ConnectionEnd.client?"server":"client",alert:k}),U.process()},A.handleHandshake=function(U,X){var z=X.fragment,k=z.getByte(),J=z.getInt24();if(J>z.length())return U.fragmented=X,X.fragment=r.util.createBuffer(),z.read-=4,U.process();U.fragmented=null,z.read-=4;var oe=z.bytes(J+4);z.read+=4,k in we[U.entity][U.expect]?(U.entity===A.ConnectionEnd.server&&!U.open&&!U.fail&&(U.handshaking=!0,U.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:r.md.md5.create(),sha1:r.md.sha1.create()}),k!==A.HandshakeType.hello_request&&k!==A.HandshakeType.certificate_verify&&k!==A.HandshakeType.finished&&(U.session.md5.update(oe),U.session.sha1.update(oe)),we[U.entity][U.expect][k](U,X,J)):A.handleUnexpected(U,X)},A.handleApplicationData=function(U,X){U.data.putBuffer(X.fragment),U.dataReady(U),U.process()},A.handleHeartbeat=function(U,X){var z=X.fragment,k=z.getByte(),J=z.getInt16(),oe=z.getBytes(J);if(k===A.HeartbeatMessageType.heartbeat_request){if(U.handshaking||J>oe.length)return U.process();A.queue(U,A.createRecord(U,{type:A.ContentType.heartbeat,data:A.createHeartbeat(A.HeartbeatMessageType.heartbeat_response,oe)})),A.flush(U)}else if(k===A.HeartbeatMessageType.heartbeat_response){if(oe!==U.expectedHeartbeatPayload)return U.process();U.heartbeatReceived&&U.heartbeatReceived(U,r.util.createBuffer(oe))}U.process()};var f=0,h=1,g=2,b=3,C=4,p=5,Q=6,R=7,_=8,d=0,S=1,m=2,T=3,L=4,v=5,I=6,E=A.handleUnexpected,O=A.handleChangeCipherSpec,q=A.handleAlert,V=A.handleHandshake,w=A.handleApplicationData,N=A.handleHeartbeat,F=[];F[A.ConnectionEnd.client]=[[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[O,q,E,E,N],[E,q,V,E,N],[E,q,V,w,N],[E,q,V,E,N]],F[A.ConnectionEnd.server]=[[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[E,q,V,E,N],[O,q,E,E,N],[E,q,V,E,N],[E,q,V,w,N],[E,q,V,E,N]];var M=A.handleHelloRequest,P=A.handleServerHello,ee=A.handleCertificate,se=A.handleServerKeyExchange,ce=A.handleCertificateRequest,ge=A.handleServerHelloDone,Ee=A.handleFinished,we=[];we[A.ConnectionEnd.client]=[[E,E,P,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,ee,se,ce,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,se,ce,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,ce,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,ge,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,Ee],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[M,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E]];var De=A.handleClientHello,ye=A.handleClientKeyExchange,Ke=A.handleCertificateVerify;we[A.ConnectionEnd.server]=[[E,De,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,ee,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,ye,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,Ke,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,Ee],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E],[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E]],A.generateKeys=function(U,X){var z=n,k=X.client_random+X.server_random;U.session.resuming||(X.master_secret=z(X.pre_master_secret,"master secret",k,48).bytes(),X.pre_master_secret=null),k=X.server_random+X.client_random;var J=2*X.mac_key_length+2*X.enc_key_length,oe=U.version.major===A.Versions.TLS_1_0.major&&U.version.minor===A.Versions.TLS_1_0.minor;oe&&(J+=2*X.fixed_iv_length);var te=z(X.master_secret,"key expansion",k,J),me={client_write_MAC_key:te.getBytes(X.mac_key_length),server_write_MAC_key:te.getBytes(X.mac_key_length),client_write_key:te.getBytes(X.enc_key_length),server_write_key:te.getBytes(X.enc_key_length)};return oe&&(me.client_write_IV=te.getBytes(X.fixed_iv_length),me.server_write_IV=te.getBytes(X.fixed_iv_length)),me},A.createConnectionState=function(U){var X=U.entity===A.ConnectionEnd.client,z=function(){var oe={sequenceNumber:[0,0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(te){return!0},compressionState:null,compressFunction:function(te){return!0},updateSequenceNumber:function(){oe.sequenceNumber[1]===4294967295?(oe.sequenceNumber[1]=0,++oe.sequenceNumber[0]):++oe.sequenceNumber[1]}};return oe},k={read:z(),write:z()};if(k.read.update=function(oe,te){return k.read.cipherFunction(te,k.read)?k.read.compressFunction(oe,te,k.read)||oe.error(oe,{message:"Could not decompress record.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.decompression_failure}}):oe.error(oe,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.bad_record_mac}}),!oe.fail},k.write.update=function(oe,te){return k.write.compressFunction(oe,te,k.write)?k.write.cipherFunction(te,k.write)||oe.error(oe,{message:"Could not encrypt record.",send:!1,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}}):oe.error(oe,{message:"Could not compress record.",send:!1,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}}),!oe.fail},U.session){var J=U.session.sp;switch(U.session.cipherSuite.initSecurityParameters(J),J.keys=A.generateKeys(U,J),k.read.macKey=X?J.keys.server_write_MAC_key:J.keys.client_write_MAC_key,k.write.macKey=X?J.keys.client_write_MAC_key:J.keys.server_write_MAC_key,U.session.cipherSuite.initConnectionState(k,U,J),J.compression_algorithm){case A.CompressionMethod.none:break;case A.CompressionMethod.deflate:k.read.compressFunction=a,k.write.compressFunction=s;break;default:throw new Error("Unsupported compression algorithm.")}}return k},A.createRandom=function(){var U=new Date,X=+U+U.getTimezoneOffset()*6e4,z=r.util.createBuffer();return z.putInt32(X),z.putBytes(r.random.getBytes(28)),z},A.createRecord=function(U,X){if(!X.data)return null;var z={type:X.type,version:{major:U.version.major,minor:U.version.minor},length:X.data.length(),fragment:X.data};return z},A.createAlert=function(U,X){var z=r.util.createBuffer();return z.putByte(X.level),z.putByte(X.description),A.createRecord(U,{type:A.ContentType.alert,data:z})},A.createClientHello=function(U){U.session.clientHelloVersion={major:U.version.major,minor:U.version.minor};for(var X=r.util.createBuffer(),z=0;z0&&(Ue+=2);var Xe=U.session.id,ht=Xe.length+1+2+4+28+2+J+1+te+Ue,je=r.util.createBuffer();return je.putByte(A.HandshakeType.client_hello),je.putInt24(ht),je.putByte(U.version.major),je.putByte(U.version.minor),je.putBytes(U.session.sp.client_random),l(je,1,r.util.createBuffer(Xe)),l(je,2,X),l(je,1,oe),Ue>0&&l(je,2,me),je},A.createServerHello=function(U){var X=U.session.id,z=X.length+1+2+4+28+2+1,k=r.util.createBuffer();return k.putByte(A.HandshakeType.server_hello),k.putInt24(z),k.putByte(U.version.major),k.putByte(U.version.minor),k.putBytes(U.session.sp.server_random),l(k,1,r.util.createBuffer(X)),k.putByte(U.session.cipherSuite.id[0]),k.putByte(U.session.cipherSuite.id[1]),k.putByte(U.session.compressionMethod),k},A.createCertificate=function(U){var X=U.entity===A.ConnectionEnd.client,z=null;if(U.getCertificate){var k;X?k=U.session.certificateRequest:k=U.session.extensions.server_name.serverNameList,z=U.getCertificate(U,k)}var J=r.util.createBuffer();if(z!==null)try{r.util.isArray(z)||(z=[z]);for(var oe=null,te=0;te0&&(z.putByte(A.HandshakeType.server_key_exchange),z.putInt24(X)),z},A.getClientSignature=function(U,X){var z=r.util.createBuffer();z.putBuffer(U.session.md5.digest()),z.putBuffer(U.session.sha1.digest()),z=z.getBytes(),U.getSignature=U.getSignature||function(k,J,oe){var te=null;if(k.getPrivateKey)try{te=k.getPrivateKey(k,k.session.clientCertificate),te=r.pki.privateKeyFromPem(te)}catch(me){k.error(k,{message:"Could not get private key.",cause:me,send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}})}te===null?k.error(k,{message:"No private key set.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.internal_error}}):J=te.sign(J,null),oe(k,J)},U.getSignature(U,z,X)},A.createCertificateVerify=function(U,X){var z=X.length+2,k=r.util.createBuffer();return k.putByte(A.HandshakeType.certificate_verify),k.putInt24(z),k.putInt16(X.length),k.putBytes(X),k},A.createCertificateRequest=function(U){var X=r.util.createBuffer();X.putByte(1);var z=r.util.createBuffer();for(var k in U.caStore.certs){var J=U.caStore.certs[k],oe=r.pki.distinguishedNameToAsn1(J.subject),te=r.asn1.toDer(oe);z.putInt16(te.length()),z.putBuffer(te)}var me=1+X.length()+2+z.length(),Oe=r.util.createBuffer();return Oe.putByte(A.HandshakeType.certificate_request),Oe.putInt24(me),l(Oe,1,X),l(Oe,2,z),Oe},A.createServerHelloDone=function(U){var X=r.util.createBuffer();return X.putByte(A.HandshakeType.server_hello_done),X.putInt24(0),X},A.createChangeCipherSpec=function(){var U=r.util.createBuffer();return U.putByte(1),U},A.createFinished=function(U){var X=r.util.createBuffer();X.putBuffer(U.session.md5.digest()),X.putBuffer(U.session.sha1.digest());var z=U.entity===A.ConnectionEnd.client,k=U.session.sp,J=12,oe=n,te=z?"client finished":"server finished";X=oe(k.master_secret,te,X.getBytes(),J);var me=r.util.createBuffer();return me.putByte(A.HandshakeType.finished),me.putInt24(X.length()),me.putBuffer(X),me},A.createHeartbeat=function(U,X,z){typeof z>"u"&&(z=X.length);var k=r.util.createBuffer();k.putByte(U),k.putInt16(z),k.putBytes(X);var J=k.length(),oe=Math.max(16,J-z-3);return k.putBytes(r.random.getBytes(oe)),k},A.queue=function(U,X){if(X&&!(X.fragment.length()===0&&(X.type===A.ContentType.handshake||X.type===A.ContentType.alert||X.type===A.ContentType.change_cipher_spec))){if(X.type===A.ContentType.handshake){var z=X.fragment.bytes();U.session.md5.update(z),U.session.sha1.update(z),z=null}var k;if(X.fragment.length()<=A.MaxFragment)k=[X];else{k=[];for(var J=X.fragment.bytes();J.length>A.MaxFragment;)k.push(A.createRecord(U,{type:X.type,data:r.util.createBuffer(J.slice(0,A.MaxFragment))})),J=J.slice(A.MaxFragment);J.length>0&&k.push(A.createRecord(U,{type:X.type,data:r.util.createBuffer(J)}))}for(var oe=0;oe0&&(te=z.order[0]),te!==null&&te in z.cache){oe=z.cache[te],delete z.cache[te];for(var me in z.order)if(z.order[me]===te){z.order.splice(me,1);break}}return oe},z.setSession=function(J,oe){if(z.order.length===z.capacity){var te=z.order.shift();delete z.cache[te]}var te=r.util.bytesToHex(J);z.order.push(te),z.cache[te]=oe}}return z},A.createConnection=function(U){var X=null;U.caStore?r.util.isArray(U.caStore)?X=r.pki.createCaStore(U.caStore):X=U.caStore:X=r.pki.createCaStore();var z=U.cipherSuites||null;if(z===null){z=[];for(var k in A.CipherSuites)z.push(A.CipherSuites[k])}var J=U.server?A.ConnectionEnd.server:A.ConnectionEnd.client,oe=U.sessionCache?A.createSessionCache(U.sessionCache):null,te={version:{major:A.Version.major,minor:A.Version.minor},entity:J,sessionId:U.sessionId,caStore:X,sessionCache:oe,cipherSuites:z,connected:U.connected,virtualHost:U.virtualHost||null,verifyClient:U.verifyClient||!1,verify:U.verify||function(pe,Ue,Xe,ht){return Ue},verifyOptions:U.verifyOptions||{},getCertificate:U.getCertificate||null,getPrivateKey:U.getPrivateKey||null,getSignature:U.getSignature||null,input:r.util.createBuffer(),tlsData:r.util.createBuffer(),data:r.util.createBuffer(),tlsDataReady:U.tlsDataReady,dataReady:U.dataReady,heartbeatReceived:U.heartbeatReceived,closed:U.closed,error:function(pe,Ue){Ue.origin=Ue.origin||(pe.entity===A.ConnectionEnd.client?"client":"server"),Ue.send&&(A.queue(pe,A.createAlert(pe,Ue.alert)),A.flush(pe));var Xe=Ue.fatal!==!1;Xe&&(pe.fail=!0),U.error(pe,Ue),Xe&&pe.close(!1)},deflate:U.deflate||null,inflate:U.inflate||null};te.reset=function(pe){te.version={major:A.Version.major,minor:A.Version.minor},te.record=null,te.session=null,te.peerCertificate=null,te.state={pending:null,current:null},te.expect=te.entity===A.ConnectionEnd.client?f:d,te.fragmented=null,te.records=[],te.open=!1,te.handshakes=0,te.handshaking=!1,te.isConnected=!1,te.fail=!(pe||typeof pe>"u"),te.input.clear(),te.tlsData.clear(),te.data.clear(),te.state.current=A.createConnectionState(te)},te.reset();var me=function(pe,Ue){var Xe=Ue.type-A.ContentType.change_cipher_spec,ht=F[pe.entity][pe.expect];Xe in ht?ht[Xe](pe,Ue):A.handleUnexpected(pe,Ue)},Oe=function(pe){var Ue=0,Xe=pe.input,ht=Xe.length();if(ht<5)Ue=5-ht;else{pe.record={type:Xe.getByte(),version:{major:Xe.getByte(),minor:Xe.getByte()},length:Xe.getInt16(),fragment:r.util.createBuffer(),ready:!1};var je=pe.record.version.major===pe.version.major;je&&pe.session&&pe.session.version&&(je=pe.record.version.minor===pe.version.minor),je||pe.error(pe,{message:"Incompatible TLS version.",send:!0,alert:{level:A.Alert.Level.fatal,description:A.Alert.Description.protocol_version}})}return Ue},Ve=function(pe){var Ue=0,Xe=pe.input,ht=Xe.length();if(ht0&&(te.sessionCache&&(Ue=te.sessionCache.getSession(pe)),Ue===null&&(pe="")),pe.length===0&&te.sessionCache&&(Ue=te.sessionCache.getSession(),Ue!==null&&(pe=Ue.id)),te.session={id:pe,version:null,cipherSuite:null,compressionMethod:null,serverCertificate:null,certificateRequest:null,clientCertificate:null,sp:{},md5:r.md.md5.create(),sha1:r.md.sha1.create()},Ue&&(te.version=Ue.version,te.session.sp=Ue.sp),te.session.sp.client_random=A.createRandom().getBytes(),te.open=!0,A.queue(te,A.createRecord(te,{type:A.ContentType.handshake,data:A.createClientHello(te)})),A.flush(te)}},te.process=function(pe){var Ue=0;return pe&&te.input.putBytes(pe),te.fail||(te.record!==null&&te.record.ready&&te.record.fragment.isEmpty()&&(te.record=null),te.record===null&&(Ue=Oe(te)),!te.fail&&te.record!==null&&!te.record.ready&&(Ue=Ve(te)),!te.fail&&te.record!==null&&te.record.ready&&me(te,te.record)),Ue},te.prepare=function(pe){return A.queue(te,A.createRecord(te,{type:A.ContentType.application_data,data:r.util.createBuffer(pe)})),A.flush(te)},te.prepareHeartbeatRequest=function(pe,Ue){return pe instanceof r.util.ByteBuffer&&(pe=pe.bytes()),typeof Ue>"u"&&(Ue=pe.length),te.expectedHeartbeatPayload=pe,A.queue(te,A.createRecord(te,{type:A.ContentType.heartbeat,data:A.createHeartbeat(A.HeartbeatMessageType.heartbeat_request,pe,Ue)})),A.flush(te)},te.close=function(pe){if(!te.fail&&te.sessionCache&&te.session){var Ue={id:te.session.id,version:te.session.version,sp:te.session.sp};Ue.sp.keys=null,te.sessionCache.setSession(Ue.id,Ue)}te.open&&(te.open=!1,te.input.clear(),(te.isConnected||te.handshaking)&&(te.isConnected=te.handshaking=!1,A.queue(te,A.createAlert(te,{level:A.Alert.Level.warning,description:A.Alert.Description.close_notify})),A.flush(te)),te.closed(te)),te.reset(pe)},te},t.exports=r.tls=r.tls||{};for(ot in A)typeof A[ot]!="function"&&(r.tls[ot]=A[ot]);var ot;r.tls.prf_tls1=n,r.tls.hmac_sha1=i,r.tls.createSessionCache=A.createSessionCache,r.tls.createConnection=A.createConnection}),fX=nt((e,t)=>{var r=Qt();ec(),PT();var n=t.exports=r.tls;n.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(f){f.bulk_cipher_algorithm=n.BulkCipherAlgorithm.aes,f.cipher_type=n.CipherType.block,f.enc_key_length=16,f.block_length=16,f.fixed_iv_length=16,f.record_iv_length=16,f.mac_algorithm=n.MACAlgorithm.hmac_sha1,f.mac_length=20,f.mac_key_length=20},initConnectionState:i},n.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(f){f.bulk_cipher_algorithm=n.BulkCipherAlgorithm.aes,f.cipher_type=n.CipherType.block,f.enc_key_length=32,f.block_length=16,f.fixed_iv_length=16,f.record_iv_length=16,f.mac_algorithm=n.MACAlgorithm.hmac_sha1,f.mac_length=20,f.mac_key_length=20},initConnectionState:i};function i(f,h,g){var b=h.entity===r.tls.ConnectionEnd.client;f.read.cipherState={init:!1,cipher:r.cipher.createDecipher("AES-CBC",b?g.keys.server_write_key:g.keys.client_write_key),iv:b?g.keys.server_write_IV:g.keys.client_write_IV},f.write.cipherState={init:!1,cipher:r.cipher.createCipher("AES-CBC",b?g.keys.client_write_key:g.keys.server_write_key),iv:b?g.keys.client_write_IV:g.keys.server_write_IV},f.read.cipherFunction=l,f.write.cipherFunction=s,f.read.macLength=f.write.macLength=g.mac_length,f.read.macFunction=f.write.macFunction=n.hmac_sha1}function s(f,h){var g=!1,b=h.macFunction(h.macKey,h.sequenceNumber,f);f.fragment.putBytes(b),h.updateSequenceNumber();var C;f.version.minor===n.Versions.TLS_1_0.minor?C=h.cipherState.init?null:h.cipherState.iv:C=r.random.getBytesSync(16),h.cipherState.init=!0;var p=h.cipherState.cipher;return p.start({iv:C}),f.version.minor>=n.Versions.TLS_1_1.minor&&p.output.putBytes(C),p.update(f.fragment),p.finish(a)&&(f.fragment=p.output,f.length=f.fragment.length(),g=!0),g}function a(f,h,g){if(!g){var b=f-h.length()%f;h.fillWithByte(b-1,b)}return!0}function c(f,h,g){var b=!0;if(g){for(var C=h.length(),p=h.last(),Q=C-1-p;Q=p?(f.fragment=C.output.getBytes(R-p),Q=C.output.getBytes(p)):f.fragment=C.output.getBytes(),f.fragment=r.util.createBuffer(f.fragment),f.length=f.fragment.length();var _=h.macFunction(h.macKey,h.sequenceNumber,f);return h.updateSequenceNumber(),g=A(h.macKey,Q,_)&&g,g}function A(f,h,g){var b=r.hmac.create();return b.start("SHA1",f),b.update(h),h=b.digest().getBytes(),b.start(null,null),b.update(g),g=b.digest().getBytes(),h===g}}),qT=nt((e,t)=>{var r=Qt();iA(),xt();var n=t.exports=r.sha512=r.sha512||{};r.md.sha512=r.md.algorithms.sha512=n;var i=r.sha384=r.sha512.sha384=r.sha512.sha384||{};i.create=function(){return n.create("SHA-384")},r.md.sha384=r.md.algorithms.sha384=i,r.sha512.sha256=r.sha512.sha256||{create:function(){return n.create("SHA-512/256")}},r.md["sha512/256"]=r.md.algorithms["sha512/256"]=r.sha512.sha256,r.sha512.sha224=r.sha512.sha224||{create:function(){return n.create("SHA-512/224")}},r.md["sha512/224"]=r.md.algorithms["sha512/224"]=r.sha512.sha224,n.create=function(h){if(a||A(),typeof h>"u"&&(h="SHA-512"),!(h in l))throw new Error("Invalid SHA-512 algorithm: "+h);for(var g=l[h],b=null,C=r.util.createBuffer(),p=new Array(80),Q=0;Q<80;++Q)p[Q]=new Array(2);var R=64;switch(h){case"SHA-384":R=48;break;case"SHA-512/256":R=32;break;case"SHA-512/224":R=28;break}var _={algorithm:h.replace("-","").toLowerCase(),blockLength:128,digestLength:R,messageLength:0,fullMessageLength:null,messageLengthSize:16};return _.start=function(){_.messageLength=0,_.fullMessageLength=_.messageLength128=[];for(var d=_.messageLengthSize/4,S=0;S>>0,m>>>0];for(var T=_.fullMessageLength.length-1;T>=0;--T)_.fullMessageLength[T]+=m[1],m[1]=m[0]+(_.fullMessageLength[T]/4294967296>>>0),_.fullMessageLength[T]=_.fullMessageLength[T]>>>0,m[0]=m[1]/4294967296>>>0;return C.putBytes(d),f(b,p,C),(C.read>2048||C.length()===0)&&C.compact(),_},_.digest=function(){var d=r.util.createBuffer();d.putBytes(C.bytes());var S=_.fullMessageLength[_.fullMessageLength.length-1]+_.messageLengthSize,m=S&_.blockLength-1;d.putBytes(s.substr(0,_.blockLength-m));for(var T,L,v=_.fullMessageLength[0]*8,I=0;I<_.fullMessageLength.length-1;++I)T=_.fullMessageLength[I+1]*8,L=T/4294967296>>>0,v+=L,d.putInt32(v>>>0),v=T>>>0;d.putInt32(v);for(var E=new Array(b.length),I=0;I=128;){for(ye=0;ye<16;++ye)g[ye][0]=b.getInt32()>>>0,g[ye][1]=b.getInt32()>>>0;for(;ye<80;++ye)lt=g[ye-2],Ke=lt[0],Se=lt[1],C=((Ke>>>19|Se<<13)^(Se>>>29|Ke<<3)^Ke>>>6)>>>0,p=((Ke<<13|Se>>>19)^(Se<<3|Ke>>>29)^(Ke<<26|Se>>>6))>>>0,U=g[ye-15],Ke=U[0],Se=U[1],Q=((Ke>>>1|Se<<31)^(Ke>>>8|Se<<24)^Ke>>>7)>>>0,R=((Ke<<31|Se>>>1)^(Ke<<24|Se>>>8)^(Ke<<25|Se>>>7))>>>0,ot=g[ye-7],X=g[ye-16],Se=p+ot[1]+R+X[1],g[ye][0]=C+ot[0]+Q+X[0]+(Se/4294967296>>>0)>>>0,g[ye][1]=Se>>>0;for(E=h[0][0],O=h[0][1],q=h[1][0],V=h[1][1],w=h[2][0],N=h[2][1],F=h[3][0],M=h[3][1],P=h[4][0],ee=h[4][1],se=h[5][0],ce=h[5][1],ge=h[6][0],Ee=h[6][1],we=h[7][0],De=h[7][1],ye=0;ye<80;++ye)S=((P>>>14|ee<<18)^(P>>>18|ee<<14)^(ee>>>9|P<<23))>>>0,m=((P<<18|ee>>>14)^(P<<14|ee>>>18)^(ee<<23|P>>>9))>>>0,T=(ge^P&(se^ge))>>>0,L=(Ee^ee&(ce^Ee))>>>0,_=((E>>>28|O<<4)^(O>>>2|E<<30)^(O>>>7|E<<25))>>>0,d=((E<<4|O>>>28)^(O<<30|E>>>2)^(O<<25|E>>>7))>>>0,v=(E&q|w&(E^q))>>>0,I=(O&V|N&(O^V))>>>0,Se=De+m+L+c[ye][1]+g[ye][1],C=we+S+T+c[ye][0]+g[ye][0]+(Se/4294967296>>>0)>>>0,p=Se>>>0,Se=d+I,Q=_+v+(Se/4294967296>>>0)>>>0,R=Se>>>0,we=ge,De=Ee,ge=se,Ee=ce,se=P,ce=ee,Se=M+p,P=F+C+(Se/4294967296>>>0)>>>0,ee=Se>>>0,F=w,M=N,w=q,N=V,q=E,V=O,Se=p+R,E=C+Q+(Se/4294967296>>>0)>>>0,O=Se>>>0;Se=h[0][1]+O,h[0][0]=h[0][0]+E+(Se/4294967296>>>0)>>>0,h[0][1]=Se>>>0,Se=h[1][1]+V,h[1][0]=h[1][0]+q+(Se/4294967296>>>0)>>>0,h[1][1]=Se>>>0,Se=h[2][1]+N,h[2][0]=h[2][0]+w+(Se/4294967296>>>0)>>>0,h[2][1]=Se>>>0,Se=h[3][1]+M,h[3][0]=h[3][0]+F+(Se/4294967296>>>0)>>>0,h[3][1]=Se>>>0,Se=h[4][1]+ee,h[4][0]=h[4][0]+P+(Se/4294967296>>>0)>>>0,h[4][1]=Se>>>0,Se=h[5][1]+ce,h[5][0]=h[5][0]+se+(Se/4294967296>>>0)>>>0,h[5][1]=Se>>>0,Se=h[6][1]+Ee,h[6][0]=h[6][0]+ge+(Se/4294967296>>>0)>>>0,h[6][1]=Se>>>0,Se=h[7][1]+De,h[7][0]=h[7][0]+we+(Se/4294967296>>>0)>>>0,h[7][1]=Se>>>0,z-=128}}}),gX=nt(e=>{var t=Qt();uo();var r=t.asn1;e.privateKeyValidator={name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:r.Class.UNIVERSAL,type:r.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},e.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:r.Class.UNIVERSAL,type:r.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:r.Class.UNIVERSAL,type:r.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{tagClass:r.Class.UNIVERSAL,type:r.Type.BITSTRING,constructed:!1,composed:!0,captureBitStringValue:"ed25519PublicKey"}]}}),dX=nt((e,t)=>{var r=Qt();zE(),Ds(),qT(),xt();var n=gX(),i=n.publicKeyValidator,s=n.privateKeyValidator;typeof a>"u"&&(a=r.jsbn.BigInteger);var a,c=r.util.ByteBuffer,l=typeof Buffer>"u"?Uint8Array:Buffer;r.pki=r.pki||{},t.exports=r.pki.ed25519=r.ed25519=r.ed25519||{};var A=r.ed25519;A.constants={},A.constants.PUBLIC_KEY_BYTE_LENGTH=32,A.constants.PRIVATE_KEY_BYTE_LENGTH=64,A.constants.SEED_BYTE_LENGTH=32,A.constants.SIGN_BYTE_LENGTH=64,A.constants.HASH_BYTE_LENGTH=64,A.generateKeyPair=function(U){U=U||{};var X=U.seed;if(X===void 0)X=r.random.getBytesSync(A.constants.SEED_BYTE_LENGTH);else if(typeof X=="string"){if(X.length!==A.constants.SEED_BYTE_LENGTH)throw new TypeError('"seed" must be '+A.constants.SEED_BYTE_LENGTH+" bytes in length.")}else if(!(X instanceof Uint8Array))throw new TypeError('"seed" must be a node.js Buffer, Uint8Array, or a binary string.');X=f({message:X,encoding:"binary"});for(var z=new l(A.constants.PUBLIC_KEY_BYTE_LENGTH),k=new l(A.constants.PRIVATE_KEY_BYTE_LENGTH),J=0;J<32;++J)k[J]=X[J];return S(z,k),{publicKey:z,privateKey:k}},A.privateKeyFromAsn1=function(U){var X={},z=[],k=r.asn1.validate(U,s,X,z);if(!k){var J=new Error("Invalid Key.");throw J.errors=z,J}var oe=r.asn1.derToOid(X.privateKeyOid),te=r.oids.EdDSA25519;if(oe!==te)throw new Error('Invalid OID "'+oe+'"; OID must be "'+te+'".');var me=X.privateKey,Oe=f({message:r.asn1.fromDer(me).value,encoding:"binary"});return{privateKeyBytes:Oe}},A.publicKeyFromAsn1=function(U){var X={},z=[],k=r.asn1.validate(U,i,X,z);if(!k){var J=new Error("Invalid Key.");throw J.errors=z,J}var oe=r.asn1.derToOid(X.publicKeyOid),te=r.oids.EdDSA25519;if(oe!==te)throw new Error('Invalid OID "'+oe+'"; OID must be "'+te+'".');var me=X.ed25519PublicKey;if(me.length!==A.constants.PUBLIC_KEY_BYTE_LENGTH)throw new Error("Key length is invalid.");return f({message:me,encoding:"binary"})},A.publicKeyFromPrivateKey=function(U){U=U||{};var X=f({message:U.privateKey,encoding:"binary"});if(X.length!==A.constants.PRIVATE_KEY_BYTE_LENGTH)throw new TypeError('"options.privateKey" must have a byte length of '+A.constants.PRIVATE_KEY_BYTE_LENGTH);for(var z=new l(A.constants.PUBLIC_KEY_BYTE_LENGTH),k=0;k=0};function f(U){var X=U.message;if(X instanceof Uint8Array||X instanceof l)return X;var z=U.encoding;if(X===void 0)if(U.md)X=U.md.digest().getBytes(),z="binary";else throw new TypeError('"options.message" or "options.md" not specified.');if(typeof X=="string"&&!z)throw new TypeError('"options.encoding" must be "binary" or "utf8".');if(typeof X=="string"){if(typeof Buffer<"u")return Buffer.from(X,z);X=new c(X,z)}else if(!(X instanceof c))throw new TypeError('"options.message" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with "options.encoding" specifying its encoding.');for(var k=new l(X.length()),J=0;J=32;--k){for(z=0,J=k-32,oe=k-12;J>8,X[J]-=z*256;X[J]+=z,X[k]=0}for(z=0,J=0;J<32;++J)X[J]+=z-(X[31]>>4)*R[J],z=X[J]>>8,X[J]&=255;for(J=0;J<32;++J)X[J]-=z*R[J];for(k=0;k<32;++k)X[k+1]+=X[k]>>8,U[k]=X[k]&255}function v(U){for(var X=new Float64Array(64),z=0;z<64;++z)X[z]=U[z],U[z]=0;L(U,X)}function I(U,X){var z=ye(),k=ye(),J=ye(),oe=ye(),te=ye(),me=ye(),Oe=ye(),Ve=ye(),pe=ye();Se(z,U[1],U[0]),Se(pe,X[1],X[0]),ot(z,z,pe),Ke(k,U[0],U[1]),Ke(pe,X[0],X[1]),ot(k,k,pe),ot(J,U[3],X[3]),ot(J,J,C),ot(oe,U[2],X[2]),Ke(oe,oe,oe),Se(te,k,z),Se(me,oe,J),Ke(Oe,oe,J),Ke(Ve,k,z),ot(U[0],te,me),ot(U[1],Ve,Oe),ot(U[2],Oe,me),ot(U[3],te,Ve)}function E(U,X,z){for(var k=0;k<4;++k)De(U[k],X[k],z)}function O(U,X){var z=ye(),k=ye(),J=ye();Ee(J,X[2]),ot(z,X[0],J),ot(k,X[1],J),q(U,k),U[31]^=ee(z)<<7}function q(U,X){var z,k,J,oe=ye(),te=ye();for(z=0;z<16;++z)te[z]=X[z];for(we(te),we(te),we(te),k=0;k<2;++k){for(oe[0]=te[0]-65517,z=1;z<15;++z)oe[z]=te[z]-65535-(oe[z-1]>>16&1),oe[z-1]&=65535;oe[15]=te[15]-32767-(oe[14]>>16&1),J=oe[15]>>16&1,oe[14]&=65535,De(te,oe,1-J)}for(z=0;z<16;z++)U[2*z]=te[z]&255,U[2*z+1]=te[z]>>8}function V(U,X){var z=ye(),k=ye(),J=ye(),oe=ye(),te=ye(),me=ye(),Oe=ye();return ge(U[2],g),w(U[1],X),lt(J,U[1]),ot(oe,J,b),Se(J,J,U[2]),Ke(oe,U[2],oe),lt(te,oe),lt(me,te),ot(Oe,me,te),ot(z,Oe,J),ot(z,z,oe),N(z,z),ot(z,z,J),ot(z,z,oe),ot(z,z,oe),ot(U[0],z,oe),lt(k,U[0]),ot(k,k,oe),F(k,J)&&ot(U[0],U[0],_),lt(k,U[0]),ot(k,k,oe),F(k,J)?-1:(ee(U[0])===X[31]>>7&&Se(U[0],h,U[0]),ot(U[3],U[0],U[1]),0)}function w(U,X){var z;for(z=0;z<16;++z)U[z]=X[2*z]+(X[2*z+1]<<8);U[15]&=32767}function N(U,X){var z=ye(),k;for(k=0;k<16;++k)z[k]=X[k];for(k=250;k>=0;--k)lt(z,z),k!==1&&ot(z,z,X);for(k=0;k<16;++k)U[k]=z[k]}function F(U,X){var z=new l(32),k=new l(32);return q(z,U),q(k,X),M(z,0,k,0)}function M(U,X,z,k){return P(U,X,z,k,32)}function P(U,X,z,k,J){var oe,te=0;for(oe=0;oe>>8)-1}function ee(U){var X=new l(32);return q(X,U),X[0]&1}function se(U,X,z){var k,J;for(ge(U[0],h),ge(U[1],g),ge(U[2],g),ge(U[3],h),J=255;J>=0;--J)k=z[J/8|0]>>(J&7)&1,E(U,X,k),I(X,U),I(U,U),E(U,X,k)}function ce(U,X){var z=[ye(),ye(),ye(),ye()];ge(z[0],p),ge(z[1],Q),ge(z[2],g),ot(z[3],p,Q),se(U,z,X)}function ge(U,X){var z;for(z=0;z<16;z++)U[z]=X[z]|0}function Ee(U,X){var z=ye(),k;for(k=0;k<16;++k)z[k]=X[k];for(k=253;k>=0;--k)lt(z,z),k!==2&&k!==4&&ot(z,z,X);for(k=0;k<16;++k)U[k]=z[k]}function we(U){var X,z,k=1;for(X=0;X<16;++X)z=U[X]+k+65535,k=Math.floor(z/65536),U[X]=z-k*65536;U[0]+=k-1+37*(k-1)}function De(U,X,z){for(var k,J=~(z-1),oe=0;oe<16;++oe)k=J&(U[oe]^X[oe]),U[oe]^=k,X[oe]^=k}function ye(U){var X,z=new Float64Array(16);if(U)for(X=0;X{var r=Qt();xt(),Ds(),zE(),t.exports=r.kem=r.kem||{};var n=r.jsbn.BigInteger;r.kem.rsa={},r.kem.rsa.create=function(s,a){a=a||{};var c=a.prng||r.random,l={};return l.encrypt=function(A,f){var h=Math.ceil(A.n.bitLength()/8),g;do g=new n(r.util.bytesToHex(c.getBytesSync(h)),16).mod(A.n);while(g.compareTo(n.ONE)<=0);g=r.util.hexToBytes(g.toString(16));var b=h-g.length;b>0&&(g=r.util.fillString(String.fromCharCode(0),b)+g);var C=A.encrypt(g,"NONE"),p=s.generate(g,f);return{encapsulation:C,key:p}},l.decrypt=function(A,f,h){var g=A.decrypt(f,"NONE");return s.generate(g,h)},l},r.kem.kdf1=function(s,a){i(this,s,0,a||s.digestLength)},r.kem.kdf2=function(s,a){i(this,s,1,a||s.digestLength)};function i(s,a,c,l){s.generate=function(A,f){for(var h=new r.util.ByteBuffer,g=Math.ceil(f/l)+c,b=new r.util.ByteBuffer,C=c;C{var r=Qt();xt(),t.exports=r.log=r.log||{},r.log.levels=["none","error","warning","info","debug","verbose","max"];var n={},i=[],s=null;for(r.log.LEVEL_LOCKED=2,r.log.NO_LEVEL_CHECK=4,r.log.INTERPOLATE=8,l=0;l"u"||p?C.flags|=r.log.LEVEL_LOCKED:C.flags&=~r.log.LEVEL_LOCKED},r.log.addLogger=function(C){i.push(C)},typeof console<"u"&&"log"in console?(console.error&&console.warn&&console.info&&console.debug?(f={error:console.error,warning:console.warn,info:console.info,debug:console.debug,verbose:console.debug},h=function(C,p){r.log.prepareStandard(p);var Q=f[p.level],R=[p.standard];R=R.concat(p.arguments.slice()),Q.apply(console,R)},A=r.log.makeLogger(h)):(h=function(C,p){r.log.prepareStandardFull(p),console.log(p.standardFull)},A=r.log.makeLogger(h)),r.log.setLevel(A,"debug"),r.log.addLogger(A),s=A):console={log:function(){}};var A,f,h;s!==null&&typeof window<"u"&&window.location&&(g=new URL(window.location.href).searchParams,g.has("console.level")&&r.log.setLevel(s,g.get("console.level").slice(-1)[0]),g.has("console.lock")&&(b=g.get("console.lock").slice(-1)[0],b=="true"&&r.log.lock(s)));var g,b;r.log.consoleLogger=s}),CX=nt((e,t)=>{t.exports=iA(),_Q(),Wh(),kT(),qT()}),IX=nt((e,t)=>{var r=Qt();ec(),uo(),jE(),tc(),Vl(),UT(),Ds(),xt(),NQ();var n=r.asn1,i=t.exports=r.pkcs7=r.pkcs7||{};i.messageFromPem=function(p){var Q=r.pem.decode(p)[0];if(Q.type!=="PKCS7"){var R=new Error('Could not convert PKCS#7 message from PEM; PEM header type is not "PKCS#7".');throw R.headerType=Q.type,R}if(Q.procType&&Q.procType.type==="ENCRYPTED")throw new Error("Could not convert PKCS#7 message from PEM; PEM is encrypted.");var _=n.fromDer(Q.body);return i.messageFromAsn1(_)},i.messageToPem=function(p,Q){var R={type:"PKCS7",body:n.toDer(p.toAsn1()).getBytes()};return r.pem.encode(R,{maxline:Q})},i.messageFromAsn1=function(p){var Q={},R=[];if(!n.validate(p,i.asn1.contentInfoValidator,Q,R)){var _=new Error("Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 ContentInfo.");throw _.errors=R,_}var d=n.derToOid(Q.contentType),S;switch(d){case r.pki.oids.envelopedData:S=i.createEnvelopedData();break;case r.pki.oids.encryptedData:S=i.createEncryptedData();break;case r.pki.oids.signedData:S=i.createSignedData();break;default:throw new Error("Cannot read PKCS#7 message. ContentType with OID "+d+" is not (yet) supported.")}return S.fromAsn1(Q.content.value[0]),S},i.createSignedData=function(){var p=null;return p={type:r.pki.oids.signedData,version:1,certificates:[],crls:[],signers:[],digestAlgorithmIdentifiers:[],contentInfo:null,signerInfos:[],fromAsn1:function(_){if(b(p,_,i.asn1.signedDataValidator),p.certificates=[],p.crls=[],p.digestAlgorithmIdentifiers=[],p.contentInfo=null,p.signerInfos=[],p.rawCapture.certificates)for(var d=p.rawCapture.certificates.value,S=0;S0&&m.value[0].value.push(n.create(n.Class.CONTEXT_SPECIFIC,0,!0,_)),S.length>0&&m.value[0].value.push(n.create(n.Class.CONTEXT_SPECIFIC,1,!0,S)),m.value[0].value.push(n.create(n.Class.UNIVERSAL,n.Type.SET,!0,p.signerInfos)),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(p.type).getBytes()),m])},addSigner:function(_){var d=_.issuer,S=_.serialNumber;if(_.certificate){var m=_.certificate;typeof m=="string"&&(m=r.pki.certificateFromPem(m)),d=m.issuer.attributes,S=m.serialNumber}var T=_.key;if(!T)throw new Error("Could not add PKCS#7 signer; no private key specified.");typeof T=="string"&&(T=r.pki.privateKeyFromPem(T));var L=_.digestAlgorithm||r.pki.oids.sha1;switch(L){case r.pki.oids.sha1:case r.pki.oids.sha256:case r.pki.oids.sha384:case r.pki.oids.sha512:case r.pki.oids.md5:break;default:throw new Error("Could not add PKCS#7 signer; unknown message digest algorithm: "+L)}var v=_.authenticatedAttributes||[];if(v.length>0){for(var I=!1,E=!1,O=0;O0){for(var R=n.create(n.Class.CONTEXT_SPECIFIC,1,!0,[]),_=0;_=R&&d<_?Q=n.create(n.Class.UNIVERSAL,n.Type.UTCTIME,!1,n.dateToUtcTime(d)):Q=n.create(n.Class.UNIVERSAL,n.Type.GENERALIZEDTIME,!1,n.dateToGeneralizedTime(d))}return n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(p.type).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SET,!0,[Q])])}function g(p){return[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(r.pki.oids.data).getBytes()),n.create(n.Class.UNIVERSAL,n.Type.SEQUENCE,!0,[n.create(n.Class.UNIVERSAL,n.Type.OID,!1,n.oidToDer(p.algorithm).getBytes()),p.parameter?n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,p.parameter.getBytes()):void 0]),n.create(n.Class.CONTEXT_SPECIFIC,0,!0,[n.create(n.Class.UNIVERSAL,n.Type.OCTETSTRING,!1,p.content.getBytes())])]}function b(p,Q,R){var _={},d=[];if(!n.validate(Q,R,_,d)){var S=new Error("Cannot read PKCS#7 message. ASN.1 object is not a supported PKCS#7 message.");throw S.errors=S,S}var m=n.derToOid(_.contentType);if(m!==r.pki.oids.data)throw new Error("Unsupported PKCS#7 message. Only wrapped ContentType Data supported.");if(_.encryptedContent){var T="";if(r.util.isArray(_.encryptedContent))for(var L=0;L<_.encryptedContent.length;++L){if(_.encryptedContent[L].type!==n.Type.OCTETSTRING)throw new Error("Malformed PKCS#7 message, expecting encrypted content constructed of only OCTET STRING objects.");T+=_.encryptedContent[L].value}else T=_.encryptedContent;p.encryptedContent={algorithm:n.derToOid(_.encAlgorithm),parameter:r.util.createBuffer(_.encParameter.value),content:r.util.createBuffer(T)}}if(_.content){var T="";if(r.util.isArray(_.content))for(var L=0;L<_.content.length;++L){if(_.content[L].type!==n.Type.OCTETSTRING)throw new Error("Malformed PKCS#7 message, expecting content constructed of only OCTET STRING objects.");T+=_.content[L].value}else T=_.content;p.content=r.util.createBuffer(T)}return p.version=_.version.charCodeAt(0),p.rawCapture=_,_}function C(p){if(p.encryptedContent.key===void 0)throw new Error("Symmetric key not available.");if(p.content===void 0){var Q;switch(p.encryptedContent.algorithm){case r.pki.oids["aes128-CBC"]:case r.pki.oids["aes192-CBC"]:case r.pki.oids["aes256-CBC"]:Q=r.aes.createDecryptionCipher(p.encryptedContent.key);break;case r.pki.oids.desCBC:case r.pki.oids["des-EDE3-CBC"]:Q=r.des.createDecryptionCipher(p.encryptedContent.key);break;default:throw new Error("Unsupported symmetric cipher, OID "+p.encryptedContent.algorithm)}if(Q.start(p.encryptedContent.parameter),Q.update(p.encryptedContent.content),!Q.finish())throw new Error("Symmetric decryption failed.");p.content=Q.output}}}),BX=nt((e,t)=>{var r=Qt();ec(),Jh(),_Q(),Wh(),xt();var n=t.exports=r.ssh=r.ssh||{};n.privateKeyToPutty=function(c,l,A){A=A||"",l=l||"";var f="ssh-rsa",h=l===""?"none":"aes256-cbc",g="PuTTY-User-Key-File-2: "+f+`\r `;g+="Encryption: "+h+`\r `,g+="Comment: "+A+`\r `;var b=r.util.createBuffer();s(b,f),i(b,c.e),i(b,c.n);var C=r.util.encode64(b.bytes(),64),p=Math.floor(C.length/66)+1;g+="Public-Lines: "+p+`\r @@ -115,12 +115,12 @@ web-ext-deploy --get-cookies=opera`},$k="opera";async function $z(e){throw e.zip Private-Lines: `+p+`\r `,g+=R;var L=a("putty-private-key-file-mac-key",l),v=r.util.createBuffer();s(v,f),s(v,h),s(v,A),v.putInt32(b.length()),v.putBuffer(b),v.putInt32(Q.length()),v.putBuffer(Q);var I=r.hmac.create();return I.start("sha1",L),I.update(v.bytes()),g+=`\r Private-MAC: `+I.digest().toHex()+`\r -`,g},n.publicKeyToOpenSSH=function(c,l){var A="ssh-rsa";l=l||"";var f=r.util.createBuffer();return s(f,A),i(f,c.e),i(f,c.n),A+" "+r.util.encode64(f.bytes())+" "+l},n.privateKeyToOpenSSH=function(c,l){return l?r.pki.encryptRsaPrivateKey(c,l,{legacy:!0,algorithm:"aes128"}):r.pki.privateKeyToPem(c)},n.getPublicKeyFingerprint=function(c,l){l=l||{};var A=l.md||r.md.md5.create(),f="ssh-rsa",h=r.util.createBuffer();s(h,f),i(h,c.e),i(h,c.n),A.start(),A.update(h.getBytes());var g=A.digest();if(l.encoding==="hex"){var b=g.toHex();return l.delimiter?b.match(/.{2}/g).join(l.delimiter):b}else{if(l.encoding==="binary")return g.getBytes();if(l.encoding)throw new Error('Unknown encoding "'+l.encoding+'".')}return g};function i(c,l){var A=l.toString(16);A[0]>="8"&&(A="00"+A);var f=r.util.hexToBytes(A);c.putInt32(f.length),c.putBytes(f)}function s(c,l){c.putInt32(l.length),c.putString(l)}function a(){for(var c=r.md.sha1.create(),l=arguments.length,A=0;A{t.exports=Qt(),ec(),fX(),uo(),RQ(),jE(),dX(),Jh(),EX(),pX(),CX(),UT(),kQ(),Vl(),NT(),xT(),IX(),MT(),TT(),kT(),DQ(),Ds(),DT(),BX(),OT(),xt()});function yX(e,t){return VT(t,(r,n)=>`${e}/${n}`)}function VT(e,t=(r,n)=>`${r}: ${n}`){return Object.entries(e).reduce((r,[n,i])=>(r[n]=t(n,i),r),{})}var Fh={Itero:"https://itero.plasmo.com"},QX={Base:"/api/chrome-policy",Hash:"/api/chrome-policy/hash"},_te=yX(Fh.Itero,QX),kte=ql(nX(),1),cD=65536;async function*l0(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,i=r.byteOffset+r.byteLength;for(;n!==i;){let s=Math.min(i-n,cD),a=r.buffer.slice(n,n+s);n+=a.byteLength,yield new Uint8Array(a)}}else yield r;else{let n=0,i=r;for(;n!==i.size;){let s=await i.slice(n,Math.min(i.size,n+cD)).arrayBuffer();n+=s.byteLength,yield new Uint8Array(s)}}}var HT=class L0{#e=[];#r="";#n=0;#t="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 L0?a=s:a=n.encode(`${s}`),this.#n+=ArrayBuffer.isView(a)?a.byteLength:a.size,this.#e.push(a)}this.#t=`${r.endings===void 0?"transparent":r.endings}`;let i=r.type===void 0?"":String(r.type);this.#r=/^[\x20-\x7E]*$/.test(i)?i:""}get size(){return this.#n}get type(){return this.#r}async text(){let t=new TextDecoder,r="";for await(let n of l0(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 l0(this.#e,!1))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=l0(this.#e,!0);return new globalThis.ReadableStream({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:i}=this,s=t<0?Math.max(i+t,0):Math.min(t,i),a=r<0?Math.max(i+r,0):Math.min(r,i),c=Math.max(a-s,0),l=this.#e,A=[],f=0;for(let g of l){if(f>=c)break;let b=ArrayBuffer.isView(g)?g.byteLength:g.size;if(s&&b<=s)s-=b,a-=b;else{let C;ArrayBuffer.isView(g)?(C=g.subarray(s,Math.min(b,a)),f+=C.byteLength):(C=g.slice(s,Math.min(b,a)),f+=C.size),a-=b,A.push(C),s=0}}let h=new L0([],{type:String(n).toLowerCase()});return h.#n=c,h.#e=A,h}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(HT.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});var mX=HT,hE=mX,bX=(0,zK.createRequire)("/"),wX;try{wX=bX("worker_threads").Worker}catch{}var Hr=Uint8Array,yi=Uint16Array,XE=Uint32Array,$E=new Hr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ZE=new Hr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),F0=new Hr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),GT=function(e,t){for(var r=new yi(31),n=0;n<31;++n)r[n]=t+=1<>>1|(Gt&21845)<<1,Xo=(Xo&52428)>>>2|(Xo&13107)<<2,Xo=(Xo&61680)>>>4|(Xo&3855)<<4,x0[Gt]=((Xo&65280)>>>8|(Xo&255)<<8)>>>1;var Xo,Gt,co=function(e,t,r){for(var n=e.length,i=0,s=new yi(t);i>>l]=A}else for(c=new yi(n),i=0;i>>15-e[i]);return c},JA=new Hr(288);for(Gt=0;Gt<144;++Gt)JA[Gt]=8;var Gt;for(Gt=144;Gt<256;++Gt)JA[Gt]=9;var Gt;for(Gt=256;Gt<280;++Gt)JA[Gt]=7;var Gt;for(Gt=280;Gt<288;++Gt)JA[Gt]=8;var Gt,Uh=new Hr(32);for(Gt=0;Gt<32;++Gt)Uh[Gt]=5;var Gt,SX=co(JA,9,0),RX=co(JA,9,1),_X=co(Uh,5,0),kX=co(Uh,5,1),u0=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},bs=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(t&7)&r},h0=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(t&7)},TQ=function(e){return(e+7)/8|0},jh=function(e,t,r){(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length);var n=new(e.BYTES_PER_ELEMENT==2?yi:e.BYTES_PER_ELEMENT==4?XE:Hr)(r-t);return n.set(e.subarray(t,r)),n},DX=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Ii=function(e,t,r){var n=new Error(t||DX[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,Ii),!r)throw n;return n},NX=function(e,t,r){var n=e.length;if(!n||r&&r.f&&!r.l)return t||new Hr(0);var i=!t||r,s=!r||r.i;r||(r={}),t||(t=new Hr(n*3));var a=function(ye){var Ke=t.length;if(ye>Ke){var Se=new Hr(Math.max(Ke*2,ye));Se.set(t),t=Se}},c=r.f||0,l=r.p||0,A=r.b||0,f=r.l,h=r.d,g=r.m,b=r.n,C=n*8;do{if(!f){c=bs(e,l,1);var p=bs(e,l+1,3);if(l+=3,p)if(p==1)f=RX,h=kX,g=9,b=5;else if(p==2){var Q=bs(e,l,31)+257,R=bs(e,l+10,15)+4,_=Q+bs(e,l+5,31)+1;l+=14;for(var d=new Hr(_),S=new Hr(19),m=0;m>>4;if(E<16)d[m++]=E;else{var O=0,q=0;for(E==16?(q=3+bs(e,l,3),l+=2,O=d[m-1]):E==17?(q=3+bs(e,l,7),l+=3):E==18&&(q=11+bs(e,l,127),l+=7);q--;)d[m++]=O}}var V=d.subarray(0,Q),w=d.subarray(Q);g=u0(V),b=u0(w),f=co(V,g,1),h=co(w,b,1)}else Ii(1);else{var E=TQ(l)+4,N=e[E-4]|e[E-3]<<8,F=E+N;if(F>n){s&&Ii(0);break}i&&a(A+N),t.set(e.subarray(E,F),A),r.b=A+=N,r.p=l=F*8,r.f=c;continue}if(l>C){s&&Ii(0);break}}i&&a(A+131072);for(var M=(1<>>4;if(l+=O&15,l>C){s&&Ii(0);break}if(O||Ii(2),se<256)t[A++]=se;else if(se==256){ee=l,f=null;break}else{var ce=se-254;if(se>264){var m=se-257,ge=$E[m];ce=bs(e,l,(1<>>4;Ee||Ii(3),l+=Ee&15;var w=vX[we];if(we>3){var ge=ZE[we];w+=h0(e,l)&(1<C){s&&Ii(0);break}i&&a(A+131072);for(var De=A+ce;A>>8},yh=function(e,t,r){r<<=t&7;var n=t/8|0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},f0=function(e,t){for(var r=[],n=0;ng&&(g=s[n].s);var b=new yi(g+1),C=M0(r[f-1],b,0);if(C>t){var n=0,p=0,Q=C-t,R=1<t)p+=R-(1<>>=Q;p>0;){var d=s[n].s;b[d]=0&&p;--n){var S=s[n].s;b[S]==t&&(--b[S],++p)}C=t}return[new Hr(b),C]},M0=function(e,t,r){return e.s==-1?Math.max(M0(e.l,t,r+1),M0(e.r,t,r+1)):t[e.s]=r},uD=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new yi(++t),n=0,i=e[0],s=1,a=function(l){r[n++]=l},c=1;c<=t;++c)if(e[c]==i&&c!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(i),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(i);s=1,i=e[c]}return[r.subarray(0,n),t]},Qh=function(e,t){for(var r=0,n=0;n>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var s=0;s4&&!E[F0[q-1]];--q);var V=A+5<<3,w=Qh(i,JA)+Qh(s,Uh)+a,N=Qh(i,g)+Qh(s,p)+a+14+3*q+Qh(L,E)+(2*L[16]+3*L[17]+7*L[18]);if(V<=w&&V<=N)return O0(t,f,e.subarray(l,l+A));var F,M,P,ee;if($o(t,f,1+(N15&&($o(t,f,Ee[v]>>>5&127),f+=Ee[v]>>>12)}}else F=SX,M=JA,P=_X,ee=Uh;for(var v=0;v255){var we=n[v]>>>18&31;yh(t,f,F[we+257]),f+=M[we+257],we>7&&($o(t,f,n[v]>>>23&31),f+=$E[we]);var De=n[v]&31;yh(t,f,P[De]),f+=ee[De],De>3&&(yh(t,f,n[v]>>>5&8191),f+=ZE[De])}else yh(t,f,F[n[v]]),f+=M[n[v]];return yh(t,f,F[256]),f+M[256]},TX=new XE([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),LQ=new Hr(0),LX=function(e,t,r,n,i,s){var a=e.length,c=new Hr(n+a+5*(1+Math.ceil(a/7e3))+i),l=c.subarray(n,c.length-i),A=0;if(!t||a<8)for(var f=0;f<=a;f+=65535){var h=f+65535;h>=a&&(l[A>>3]=s),A=O0(l,A+1,e.subarray(f,h))}else{for(var g=TX[t-1],b=g>>>13,C=g&8191,p=(1<7e3||E>24576)&&F>423){A=hD(e,l,0,m,T,L,I,E,q,f-q,A),E=v=I=0,q=f;for(var M=0;M<286;++M)T[M]=0;for(var M=0;M<30;++M)L[M]=0}var P=2,ee=0,se=C,ce=w-N&32767;if(F>2&&V==S(f-ce))for(var ge=Math.min(b,F)-1,Ee=Math.min(32767,f),we=Math.min(258,F);ce<=Ee&&--se&&w!=N;){if(e[f+P]==e[f+P-ce]){for(var De=0;DeP){if(P=De,ee=ce,De>ge)break;for(var ye=Math.min(ce,De-2),Ke=0,M=0;MKe&&(Ke=ot,N=Se)}}}w=N,N=Q[w],ce+=w-N+32768&32767}if(ee){m[E++]=268435456|U0[P]<<18|lD[ee];var U=U0[P]&31,X=lD[ee]&31;I+=$E[U]+ZE[X],++T[257+U],++L[X],O=f+P,++v}else m[E++]=e[f],++T[e[f]]}}A=hD(e,l,s,m,T,L,I,E,q,f-q,A),!s&&A&7&&(A=O0(l,A+1,LQ))}return jh(c,0,n+TQ(A)+i)},FX=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(r&1&&-306674912)^r>>>1;e[t]=r}return e}(),UX=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n>>8;e=r},d:function(){return~e}}},xX=function(e,t,r,n,i){return LX(e,t.level==null?6:t.level,t.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):12+t.mem,r,n,!i)},jT=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},Ao=function(e,t){return e[t]|e[t+1]<<8},vs=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},g0=function(e,t){return vs(e,t)+vs(e,t+4)*4294967296},bn=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8};function MX(e,t){return xX(e,t||{},0,0)}function OX(e,t){return NX(e,t)}var zT=function(e,t,r,n){for(var i in e){var s=e[i],a=t+i,c=n;Array.isArray(s)&&(c=jT(n,s[1]),s=s[0]),s instanceof Hr?r[a]=[s,c]:(r[a+="/"]=[new Hr(0),c],zT(s,a,r,n))}},fD=typeof TextEncoder<"u"&&new TextEncoder,P0=typeof TextDecoder<"u"&&new TextDecoder,PX=0;try{P0.decode(LQ,{stream:!0}),PX=1}catch{}var qX=function(e){for(var t="",r=0;;){var n=e[r++],i=(n>127)+(n>223)+(n>239);if(r+i>e.length)return[t,jh(e,r-1)];i?i==3?(n=((n&15)<<18|(e[r++]&63)<<12|(e[r++]&63)<<6|e[r++]&63)-65536,t+=String.fromCharCode(55296|n>>10,56320|n&1023)):i&1?t+=String.fromCharCode((n&31)<<6|e[r++]&63):t+=String.fromCharCode((n&15)<<12|(e[r++]&63)<<6|e[r++]&63):t+=String.fromCharCode(n)}};function q0(e,t){if(t){for(var r=new Hr(e.length),n=0;n>1)),a=0,c=function(h){s[a++]=h},n=0;ns.length){var l=new Hr(a+8+(i-n<<1));l.set(s),s=l}var A=e.charCodeAt(n);A<128||t?c(A):A<2048?(c(192|A>>6),c(128|A&63)):A>55295&&A<57344?(A=65536+(A&1047552)|e.charCodeAt(++n)&1023,c(240|A>>18),c(128|A>>12&63),c(128|A>>6&63),c(128|A&63)):(c(224|A>>12),c(128|A>>6&63),c(128|A&63))}return jh(s,0,a)}function FQ(e,t){if(t){for(var r="",n=0;n65535&&Ii(9),t+=n+4}return t},gD=function(e,t,r,n,i,s,a,c){var l=n.length,A=r.extra,f=c&&c.length,h=V0(A);bn(e,t,a!=null?33639248:67324752),t+=4,a!=null&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(s<0&&8),e[t++]=i&&8,e[t++]=r.compression&255,e[t++]=r.compression>>8;var g=new Date(r.mtime==null?Date.now():r.mtime),b=g.getFullYear()-1980;if((b<0||b>119)&&Ii(10),bn(e,t,b<<25|g.getMonth()+1<<21|g.getDate()<<16|g.getHours()<<11|g.getMinutes()<<5|g.getSeconds()>>>1),t+=4,s!=-1&&(bn(e,t,r.crc),bn(e,t+4,s<0?-s-2:s),bn(e,t+8,r.size)),bn(e,t+12,l),bn(e,t+14,h),t+=16,a!=null&&(bn(e,t,f),bn(e,t+6,r.attrs),bn(e,t+10,a),t+=14),e.set(n,t),t+=l,h)for(var C in A){var p=A[C],Q=p.length;bn(e,t,+C),bn(e,t+2,Q),e.set(p,t+4),t+=4+Q}return f&&(e.set(c,t),t+=f),t},YX=function(e,t,r,n,i){bn(e,t,101010256),bn(e,t+8,r),bn(e,t+10,r),bn(e,t+12,n),bn(e,t+16,i)};function JX(e,t){t||(t={});var r={},n=[];zT(e,"",r,t);var i=0,s=0;for(var a in r){var c=r[a],l=c[0],A=c[1],f=A.level==0?0:8,h=q0(a),g=h.length,b=A.comment,C=b&&q0(b),p=C&&C.length,Q=V0(A.extra);g>65535&&Ii(11);var R=f?MX(l,A):l,_=R.length,d=UX();d.p(l),n.push(jT(A,{size:l.length,crc:d.d(),c:R,f:h,m:C,u:g!=a.length||C&&b.length!=p,o:i,compression:f})),i+=30+g+Q+_,s+=76+2*(g+Q)+(p||0)+_}for(var S=new Hr(s+22),m=i,T=s-i,L=0;L65558)&&Ii(13);var i=Ao(e,n+8);if(!i)return{};var s=vs(e,n+16),a=s==4294967295||i==65535;if(a){var c=vs(e,n-12);a=vs(e,c)==101075792,a&&(i=vs(e,c+32),s=vs(e,c+48))}for(var l=t&&t.filter,A=0;A=0,Y0=VA.indexOf("Macintosh")>=0,e$=(VA.indexOf("Macintosh")>=0||VA.indexOf("iPad")>=0||VA.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,fE=VA.indexOf("Linux")>=0,KT=!0,d0=navigator.language,J0=d0):typeof Hi=="object"?(G0=Hi.platform==="win32",Y0=Hi.platform==="darwin",fE=Hi.platform==="linux",XX=fE&&!!Hi.env.SNAP&&!!Hi.env.SNAP_REVISION,ZX=XT,t$=!!Hi.env.CI||!!Hi.env.BUILD_ARTIFACTSTAGINGDIRECTORY,d0=H0,J0=H0,$X=!0):console.error("Unable to resolve platform.");var ZT={1:"Mac",2:"Linux",3:"Windows"};function r$(e){switch(e){case 0:return"Web";case 1:case 2:case 3:return ZT[e];default:KX(e)}}var gE=0;Y0?gE=1:G0?gE=3:fE&&(gE=2);var Tte=Object.values(ZT),Lte=r$(gE),Fte=KT&&typeof YA.importScripts=="function",lo=VA,qA=J0,n$;(e=>{function t(){return qA}e.value=t;function r(){return qA.length===2?qA==="en":qA.length>=3?qA[0]==="e"&&qA[1]==="n"&&qA[2]==="-":!1}e.isDefaultVariant=r;function n(){return qA==="en"}e.isDefault=n})(n$||={});var Ute=(()=>{if(typeof YA.postMessage=="function"&&!YA.importScripts){let e=[];YA.addEventListener("message",r=>{if(r.data&&r.data.vscodeScheduleAsyncWork)for(let n=0,i=e.length;n{let n=++t;e.push({id:n,callback:r}),YA.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),i$=!!(lo&&lo.indexOf("Chrome")>=0),xte=!!(lo&&lo.indexOf("Firefox")>=0),Mte=!!(!i$&&lo&&lo.indexOf("Safari")>=0),Ote=!!(lo&&lo.indexOf("Edg/")>=0),Pte=!!(lo&&lo.indexOf("Android")>=0),ED=ql(sX()),eL=class{static read(e,t){return e.readFields(eL._readField,{sha256_with_rsa:[],sha256_with_ecdsa:[],signed_header_data:null},t)}static _readField(e,t,r){!t||!r||(e===2?t.sha256_with_rsa?.push(wh.read(r,r.readVarint()+r.pos)):e===3?t.sha256_with_ecdsa?.push(wh.read(r,r.readVarint()+r.pos)):e===1e4&&(t.signed_header_data=r.readBytes()))}static write(e,t){if(!(!e||!t)){if(e.sha256_with_rsa)for(var r=0;rA$(e,t),u$=ql(oX()),h$=ql(lX()),f$=ql(qT()),g$={0:"a",1:"b",2:"c",3:"d",4:"e",5:"f",6:"g",7:"h",8:"i",9:"j",a:"k",b:"l",c:"m",d:"n",e:"o",f:"p",g:"q",h:"r",i:"s",j:"t",k:"u",l:"v",m:"w",n:"x",o:"y",p:"z"},d$=e=>e.replace(/[0-9a-f]/gi,t=>g$[t]),E$=e=>d$(u$.encode(h$.hash(f$.default.util.binary.base64.decode(e)),!0).slice(0,32)),p$=(e,t,r)=>` +`,g},n.publicKeyToOpenSSH=function(c,l){var A="ssh-rsa";l=l||"";var f=r.util.createBuffer();return s(f,A),i(f,c.e),i(f,c.n),A+" "+r.util.encode64(f.bytes())+" "+l},n.privateKeyToOpenSSH=function(c,l){return l?r.pki.encryptRsaPrivateKey(c,l,{legacy:!0,algorithm:"aes128"}):r.pki.privateKeyToPem(c)},n.getPublicKeyFingerprint=function(c,l){l=l||{};var A=l.md||r.md.md5.create(),f="ssh-rsa",h=r.util.createBuffer();s(h,f),i(h,c.e),i(h,c.n),A.start(),A.update(h.getBytes());var g=A.digest();if(l.encoding==="hex"){var b=g.toHex();return l.delimiter?b.match(/.{2}/g).join(l.delimiter):b}else{if(l.encoding==="binary")return g.getBytes();if(l.encoding)throw new Error('Unknown encoding "'+l.encoding+'".')}return g};function i(c,l){var A=l.toString(16);A[0]>="8"&&(A="00"+A);var f=r.util.hexToBytes(A);c.putInt32(f.length),c.putBytes(f)}function s(c,l){c.putInt32(l.length),c.putString(l)}function a(){for(var c=r.md.sha1.create(),l=arguments.length,A=0;A{t.exports=Qt(),ec(),fX(),uo(),RQ(),jE(),dX(),Jh(),EX(),pX(),CX(),xT(),kQ(),Vl(),TT(),MT(),IX(),OT(),LT(),DT(),DQ(),Ds(),NT(),BX(),PT(),xt()});function yX(e,t){return HT(t,(r,n)=>`${e}/${n}`)}function HT(e,t=(r,n)=>`${r}: ${n}`){return Object.entries(e).reduce((r,[n,i])=>(r[n]=t(n,i),r),{})}var Fh={Itero:"https://itero.plasmo.com"},QX={Base:"/api/chrome-policy",Hash:"/api/chrome-policy/hash"},_te=yX(Fh.Itero,QX),kte=ql(nX(),1),lD=65536;async function*l0(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,i=r.byteOffset+r.byteLength;for(;n!==i;){let s=Math.min(i-n,lD),a=r.buffer.slice(n,n+s);n+=a.byteLength,yield new Uint8Array(a)}}else yield r;else{let n=0,i=r;for(;n!==i.size;){let s=await i.slice(n,Math.min(i.size,n+lD)).arrayBuffer();n+=s.byteLength,yield new Uint8Array(s)}}}var GT=class L0{#e=[];#r="";#n=0;#t="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 L0?a=s:a=n.encode(`${s}`),this.#n+=ArrayBuffer.isView(a)?a.byteLength:a.size,this.#e.push(a)}this.#t=`${r.endings===void 0?"transparent":r.endings}`;let i=r.type===void 0?"":String(r.type);this.#r=/^[\x20-\x7E]*$/.test(i)?i:""}get size(){return this.#n}get type(){return this.#r}async text(){let t=new TextDecoder,r="";for await(let n of l0(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 l0(this.#e,!1))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=l0(this.#e,!0);return new globalThis.ReadableStream({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:i}=this,s=t<0?Math.max(i+t,0):Math.min(t,i),a=r<0?Math.max(i+r,0):Math.min(r,i),c=Math.max(a-s,0),l=this.#e,A=[],f=0;for(let g of l){if(f>=c)break;let b=ArrayBuffer.isView(g)?g.byteLength:g.size;if(s&&b<=s)s-=b,a-=b;else{let C;ArrayBuffer.isView(g)?(C=g.subarray(s,Math.min(b,a)),f+=C.byteLength):(C=g.slice(s,Math.min(b,a)),f+=C.size),a-=b,A.push(C),s=0}}let h=new L0([],{type:String(n).toLowerCase()});return h.#n=c,h.#e=A,h}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(GT.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});var mX=GT,hE=mX,bX=(0,zK.createRequire)("/"),wX;try{wX=bX("worker_threads").Worker}catch{}var Hr=Uint8Array,yi=Uint16Array,XE=Uint32Array,$E=new Hr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ZE=new Hr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),F0=new Hr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),YT=function(e,t){for(var r=new yi(31),n=0;n<31;++n)r[n]=t+=1<>>1|(Gt&21845)<<1,Xo=(Xo&52428)>>>2|(Xo&13107)<<2,Xo=(Xo&61680)>>>4|(Xo&3855)<<4,x0[Gt]=((Xo&65280)>>>8|(Xo&255)<<8)>>>1;var Xo,Gt,co=function(e,t,r){for(var n=e.length,i=0,s=new yi(t);i>>l]=A}else for(c=new yi(n),i=0;i>>15-e[i]);return c},JA=new Hr(288);for(Gt=0;Gt<144;++Gt)JA[Gt]=8;var Gt;for(Gt=144;Gt<256;++Gt)JA[Gt]=9;var Gt;for(Gt=256;Gt<280;++Gt)JA[Gt]=7;var Gt;for(Gt=280;Gt<288;++Gt)JA[Gt]=8;var Gt,Uh=new Hr(32);for(Gt=0;Gt<32;++Gt)Uh[Gt]=5;var Gt,SX=co(JA,9,0),RX=co(JA,9,1),_X=co(Uh,5,0),kX=co(Uh,5,1),u0=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},bs=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(t&7)&r},h0=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(t&7)},TQ=function(e){return(e+7)/8|0},jh=function(e,t,r){(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length);var n=new(e.BYTES_PER_ELEMENT==2?yi:e.BYTES_PER_ELEMENT==4?XE:Hr)(r-t);return n.set(e.subarray(t,r)),n},DX=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Ii=function(e,t,r){var n=new Error(t||DX[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,Ii),!r)throw n;return n},NX=function(e,t,r){var n=e.length;if(!n||r&&r.f&&!r.l)return t||new Hr(0);var i=!t||r,s=!r||r.i;r||(r={}),t||(t=new Hr(n*3));var a=function(ye){var Ke=t.length;if(ye>Ke){var Se=new Hr(Math.max(Ke*2,ye));Se.set(t),t=Se}},c=r.f||0,l=r.p||0,A=r.b||0,f=r.l,h=r.d,g=r.m,b=r.n,C=n*8;do{if(!f){c=bs(e,l,1);var p=bs(e,l+1,3);if(l+=3,p)if(p==1)f=RX,h=kX,g=9,b=5;else if(p==2){var Q=bs(e,l,31)+257,R=bs(e,l+10,15)+4,_=Q+bs(e,l+5,31)+1;l+=14;for(var d=new Hr(_),S=new Hr(19),m=0;m>>4;if(E<16)d[m++]=E;else{var O=0,q=0;for(E==16?(q=3+bs(e,l,3),l+=2,O=d[m-1]):E==17?(q=3+bs(e,l,7),l+=3):E==18&&(q=11+bs(e,l,127),l+=7);q--;)d[m++]=O}}var V=d.subarray(0,Q),w=d.subarray(Q);g=u0(V),b=u0(w),f=co(V,g,1),h=co(w,b,1)}else Ii(1);else{var E=TQ(l)+4,N=e[E-4]|e[E-3]<<8,F=E+N;if(F>n){s&&Ii(0);break}i&&a(A+N),t.set(e.subarray(E,F),A),r.b=A+=N,r.p=l=F*8,r.f=c;continue}if(l>C){s&&Ii(0);break}}i&&a(A+131072);for(var M=(1<>>4;if(l+=O&15,l>C){s&&Ii(0);break}if(O||Ii(2),se<256)t[A++]=se;else if(se==256){ee=l,f=null;break}else{var ce=se-254;if(se>264){var m=se-257,ge=$E[m];ce=bs(e,l,(1<>>4;Ee||Ii(3),l+=Ee&15;var w=vX[we];if(we>3){var ge=ZE[we];w+=h0(e,l)&(1<C){s&&Ii(0);break}i&&a(A+131072);for(var De=A+ce;A>>8},yh=function(e,t,r){r<<=t&7;var n=t/8|0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},f0=function(e,t){for(var r=[],n=0;ng&&(g=s[n].s);var b=new yi(g+1),C=M0(r[f-1],b,0);if(C>t){var n=0,p=0,Q=C-t,R=1<t)p+=R-(1<>>=Q;p>0;){var d=s[n].s;b[d]=0&&p;--n){var S=s[n].s;b[S]==t&&(--b[S],++p)}C=t}return[new Hr(b),C]},M0=function(e,t,r){return e.s==-1?Math.max(M0(e.l,t,r+1),M0(e.r,t,r+1)):t[e.s]=r},hD=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new yi(++t),n=0,i=e[0],s=1,a=function(l){r[n++]=l},c=1;c<=t;++c)if(e[c]==i&&c!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(i),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(i);s=1,i=e[c]}return[r.subarray(0,n),t]},Qh=function(e,t){for(var r=0,n=0;n>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var s=0;s4&&!E[F0[q-1]];--q);var V=A+5<<3,w=Qh(i,JA)+Qh(s,Uh)+a,N=Qh(i,g)+Qh(s,p)+a+14+3*q+Qh(L,E)+(2*L[16]+3*L[17]+7*L[18]);if(V<=w&&V<=N)return O0(t,f,e.subarray(l,l+A));var F,M,P,ee;if($o(t,f,1+(N15&&($o(t,f,Ee[v]>>>5&127),f+=Ee[v]>>>12)}}else F=SX,M=JA,P=_X,ee=Uh;for(var v=0;v255){var we=n[v]>>>18&31;yh(t,f,F[we+257]),f+=M[we+257],we>7&&($o(t,f,n[v]>>>23&31),f+=$E[we]);var De=n[v]&31;yh(t,f,P[De]),f+=ee[De],De>3&&(yh(t,f,n[v]>>>5&8191),f+=ZE[De])}else yh(t,f,F[n[v]]),f+=M[n[v]];return yh(t,f,F[256]),f+M[256]},TX=new XE([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),LQ=new Hr(0),LX=function(e,t,r,n,i,s){var a=e.length,c=new Hr(n+a+5*(1+Math.ceil(a/7e3))+i),l=c.subarray(n,c.length-i),A=0;if(!t||a<8)for(var f=0;f<=a;f+=65535){var h=f+65535;h>=a&&(l[A>>3]=s),A=O0(l,A+1,e.subarray(f,h))}else{for(var g=TX[t-1],b=g>>>13,C=g&8191,p=(1<7e3||E>24576)&&F>423){A=fD(e,l,0,m,T,L,I,E,q,f-q,A),E=v=I=0,q=f;for(var M=0;M<286;++M)T[M]=0;for(var M=0;M<30;++M)L[M]=0}var P=2,ee=0,se=C,ce=w-N&32767;if(F>2&&V==S(f-ce))for(var ge=Math.min(b,F)-1,Ee=Math.min(32767,f),we=Math.min(258,F);ce<=Ee&&--se&&w!=N;){if(e[f+P]==e[f+P-ce]){for(var De=0;DeP){if(P=De,ee=ce,De>ge)break;for(var ye=Math.min(ce,De-2),Ke=0,M=0;MKe&&(Ke=ot,N=Se)}}}w=N,N=Q[w],ce+=w-N+32768&32767}if(ee){m[E++]=268435456|U0[P]<<18|uD[ee];var U=U0[P]&31,X=uD[ee]&31;I+=$E[U]+ZE[X],++T[257+U],++L[X],O=f+P,++v}else m[E++]=e[f],++T[e[f]]}}A=fD(e,l,s,m,T,L,I,E,q,f-q,A),!s&&A&7&&(A=O0(l,A+1,LQ))}return jh(c,0,n+TQ(A)+i)},FX=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(r&1&&-306674912)^r>>>1;e[t]=r}return e}(),UX=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n>>8;e=r},d:function(){return~e}}},xX=function(e,t,r,n,i){return LX(e,t.level==null?6:t.level,t.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):12+t.mem,r,n,!i)},zT=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},Ao=function(e,t){return e[t]|e[t+1]<<8},vs=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},g0=function(e,t){return vs(e,t)+vs(e,t+4)*4294967296},bn=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8};function MX(e,t){return xX(e,t||{},0,0)}function OX(e,t){return NX(e,t)}var KT=function(e,t,r,n){for(var i in e){var s=e[i],a=t+i,c=n;Array.isArray(s)&&(c=zT(n,s[1]),s=s[0]),s instanceof Hr?r[a]=[s,c]:(r[a+="/"]=[new Hr(0),c],KT(s,a,r,n))}},gD=typeof TextEncoder<"u"&&new TextEncoder,P0=typeof TextDecoder<"u"&&new TextDecoder,PX=0;try{P0.decode(LQ,{stream:!0}),PX=1}catch{}var qX=function(e){for(var t="",r=0;;){var n=e[r++],i=(n>127)+(n>223)+(n>239);if(r+i>e.length)return[t,jh(e,r-1)];i?i==3?(n=((n&15)<<18|(e[r++]&63)<<12|(e[r++]&63)<<6|e[r++]&63)-65536,t+=String.fromCharCode(55296|n>>10,56320|n&1023)):i&1?t+=String.fromCharCode((n&31)<<6|e[r++]&63):t+=String.fromCharCode((n&15)<<12|(e[r++]&63)<<6|e[r++]&63):t+=String.fromCharCode(n)}};function q0(e,t){if(t){for(var r=new Hr(e.length),n=0;n>1)),a=0,c=function(h){s[a++]=h},n=0;ns.length){var l=new Hr(a+8+(i-n<<1));l.set(s),s=l}var A=e.charCodeAt(n);A<128||t?c(A):A<2048?(c(192|A>>6),c(128|A&63)):A>55295&&A<57344?(A=65536+(A&1047552)|e.charCodeAt(++n)&1023,c(240|A>>18),c(128|A>>12&63),c(128|A>>6&63),c(128|A&63)):(c(224|A>>12),c(128|A>>6&63),c(128|A&63))}return jh(s,0,a)}function FQ(e,t){if(t){for(var r="",n=0;n65535&&Ii(9),t+=n+4}return t},dD=function(e,t,r,n,i,s,a,c){var l=n.length,A=r.extra,f=c&&c.length,h=V0(A);bn(e,t,a!=null?33639248:67324752),t+=4,a!=null&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(s<0&&8),e[t++]=i&&8,e[t++]=r.compression&255,e[t++]=r.compression>>8;var g=new Date(r.mtime==null?Date.now():r.mtime),b=g.getFullYear()-1980;if((b<0||b>119)&&Ii(10),bn(e,t,b<<25|g.getMonth()+1<<21|g.getDate()<<16|g.getHours()<<11|g.getMinutes()<<5|g.getSeconds()>>>1),t+=4,s!=-1&&(bn(e,t,r.crc),bn(e,t+4,s<0?-s-2:s),bn(e,t+8,r.size)),bn(e,t+12,l),bn(e,t+14,h),t+=16,a!=null&&(bn(e,t,f),bn(e,t+6,r.attrs),bn(e,t+10,a),t+=14),e.set(n,t),t+=l,h)for(var C in A){var p=A[C],Q=p.length;bn(e,t,+C),bn(e,t+2,Q),e.set(p,t+4),t+=4+Q}return f&&(e.set(c,t),t+=f),t},YX=function(e,t,r,n,i){bn(e,t,101010256),bn(e,t+8,r),bn(e,t+10,r),bn(e,t+12,n),bn(e,t+16,i)};function JX(e,t){t||(t={});var r={},n=[];KT(e,"",r,t);var i=0,s=0;for(var a in r){var c=r[a],l=c[0],A=c[1],f=A.level==0?0:8,h=q0(a),g=h.length,b=A.comment,C=b&&q0(b),p=C&&C.length,Q=V0(A.extra);g>65535&&Ii(11);var R=f?MX(l,A):l,_=R.length,d=UX();d.p(l),n.push(zT(A,{size:l.length,crc:d.d(),c:R,f:h,m:C,u:g!=a.length||C&&b.length!=p,o:i,compression:f})),i+=30+g+Q+_,s+=76+2*(g+Q)+(p||0)+_}for(var S=new Hr(s+22),m=i,T=s-i,L=0;L65558)&&Ii(13);var i=Ao(e,n+8);if(!i)return{};var s=vs(e,n+16),a=s==4294967295||i==65535;if(a){var c=vs(e,n-12);a=vs(e,c)==101075792,a&&(i=vs(e,c+32),s=vs(e,c+48))}for(var l=t&&t.filter,A=0;A=0,Y0=VA.indexOf("Macintosh")>=0,e$=(VA.indexOf("Macintosh")>=0||VA.indexOf("iPad")>=0||VA.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,fE=VA.indexOf("Linux")>=0,XT=!0,d0=navigator.language,J0=d0):typeof Hi=="object"?(G0=Hi.platform==="win32",Y0=Hi.platform==="darwin",fE=Hi.platform==="linux",XX=fE&&!!Hi.env.SNAP&&!!Hi.env.SNAP_REVISION,ZX=$T,t$=!!Hi.env.CI||!!Hi.env.BUILD_ARTIFACTSTAGINGDIRECTORY,d0=H0,J0=H0,$X=!0):console.error("Unable to resolve platform.");var eL={1:"Mac",2:"Linux",3:"Windows"};function r$(e){switch(e){case 0:return"Web";case 1:case 2:case 3:return eL[e];default:KX(e)}}var gE=0;Y0?gE=1:G0?gE=3:fE&&(gE=2);var Tte=Object.values(eL),Lte=r$(gE),Fte=XT&&typeof YA.importScripts=="function",lo=VA,qA=J0,n$;(e=>{function t(){return qA}e.value=t;function r(){return qA.length===2?qA==="en":qA.length>=3?qA[0]==="e"&&qA[1]==="n"&&qA[2]==="-":!1}e.isDefaultVariant=r;function n(){return qA==="en"}e.isDefault=n})(n$||={});var Ute=(()=>{if(typeof YA.postMessage=="function"&&!YA.importScripts){let e=[];YA.addEventListener("message",r=>{if(r.data&&r.data.vscodeScheduleAsyncWork)for(let n=0,i=e.length;n{let n=++t;e.push({id:n,callback:r}),YA.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),i$=!!(lo&&lo.indexOf("Chrome")>=0),xte=!!(lo&&lo.indexOf("Firefox")>=0),Mte=!!(!i$&&lo&&lo.indexOf("Safari")>=0),Ote=!!(lo&&lo.indexOf("Edg/")>=0),Pte=!!(lo&&lo.indexOf("Android")>=0),pD=ql(sX()),tL=class{static read(e,t){return e.readFields(tL._readField,{sha256_with_rsa:[],sha256_with_ecdsa:[],signed_header_data:null},t)}static _readField(e,t,r){!t||!r||(e===2?t.sha256_with_rsa?.push(wh.read(r,r.readVarint()+r.pos)):e===3?t.sha256_with_ecdsa?.push(wh.read(r,r.readVarint()+r.pos)):e===1e4&&(t.signed_header_data=r.readBytes()))}static write(e,t){if(!(!e||!t)){if(e.sha256_with_rsa)for(var r=0;rA$(e,t),u$=ql(oX()),h$=ql(lX()),f$=ql(VT()),g$={0:"a",1:"b",2:"c",3:"d",4:"e",5:"f",6:"g",7:"h",8:"i",9:"j",a:"k",b:"l",c:"m",d:"n",e:"o",f:"p",g:"q",h:"r",i:"s",j:"t",k:"u",l:"v",m:"w",n:"x",o:"y",p:"z"},d$=e=>e.replace(/[0-9a-f]/gi,t=>g$[t]),E$=e=>d$(u$.encode(h$.hash(f$.default.util.binary.base64.decode(e)),!0).slice(0,32)),p$=(e,t,r)=>` -`,C$=e=>`${Fh.Itero}/api/ext/update/${e}`,I$=e=>`${Fh.Itero}/api/ext/install/${e}`,B$=ql(qT()),{pki:rA,asn1:pD}=B$.default,y$=(e="")=>new Promise((t,r)=>{try{if(e){let n=rA.privateKeyFromPem(e),i=rA.rsa.setPublicKey(n.n,n.e);t({privateKey:n,publicKey:i})}else rA.rsa.generateKeyPair({bits:2048,workers:2},(n,i)=>{t(i)})}catch(n){r(n)}}),Q$=e=>{let t=rA.privateKeyToAsn1(e),r=rA.wrapRsaPrivateKey(t);return rA.privateKeyInfoToPem(r)},m$=async(e="")=>{let{publicKey:t,privateKey:r}=await y$(e);return{text:{public:()=>{let n=rA.publicKeyToPem(t),i=b$(n);return console.log({publicKey:t,untrimmedKey:n,trimmedKey:i}),i},private:()=>Q$(r)},binary:{public:()=>Buffer.from(pD.toDer(rA.publicKeyToAsn1(t)).getBytes(),"binary"),private:()=>Buffer.from(pD.toDer(rA.privateKeyToAsn1(r)).getBytes(),"binary")}}},b$=(e,t=!1)=>{let r=t?"PRIVATE":"PUBLIC";return e.replace(`-----BEGIN ${r} KEY-----`,"").replace(`-----END ${r} KEY-----`,"").replace(/\n|\r/g,"").trim()},w$=(e,t)=>{if(!e.icons)throw new Error("No icons found in manifest");let r=Object.keys(e.icons).reduce((l,A)=>Math.max(l,parseInt(A)),0);if(!r)throw new Error("Invalid icon sizes, must be a number");let n=(0,kE.normalize)(e.icons[r]),i=(0,kE.extname)(n).slice(1);if(!dD.has(i))throw new Error("Invalid icon type. Valid types are: "+[...dD].join(", "));let s=UQ[i];if(!t[n])throw new Error("Could not find extension icon. Please ensure the icon paths are correct in your manifest.json");let a=Buffer.from(t[n]),c=new hE([a],{type:s});return{path:n,type:s,blob:c}},C0=/__MSG_(?.*)__/gm,v$=e=>new Promise((t,r)=>{let n,i=WX(e);if(i["manifest.json"])n=i;else{let a=Object.keys(i),c=a.find(A=>A.endsWith("manifest.json"));if(!c){r(new Error("Cannot locate manifest.json"));return}let l=(0,kE.dirname)(c);n=a.reduce((A,f)=>{if(f.startsWith(l)){let h=(0,kE.relative)(l,f);h&&(A[h+(f.endsWith("/")?"/":"")]=i[f])}return A},{})}let s=JSON.parse(FQ(n["manifest.json"]));t({unzip:n,manifestData:s})}),S$=class{manifest;displayManifest;iconData;#e;get submitManifest(){return{...this.manifest,...this.displayManifest}}loadManifest=async e=>{let{unzip:t,manifestData:r}=await v$(e);this.#e=t,this.manifest=r,this.displayManifest=this.getDisplayManifest(),this.iconData=w$(this.manifest,t)};getDisplayManifest(){let e={name:this.manifest.name,version:this.manifest.version,description:this.manifest.description||"",version_name:this.manifest.version_name||""};try{if(this.manifest.default_locale){let t=this.manifest.default_locale,r=JSON.parse(FQ(this.#e[`_locales/${t}/messages.json`]));e.name=e.name.replace(C0,(n,i)=>r[i].message),e.description=e.description.replace(C0,(n,i)=>r[i].message),e.version_name=e.version_name.replace(C0,(n,i)=>r[i].message)}}catch{throw new Error("default_locale is defined, but no locale data is found")}return e}#r;#n;loadKey=async e=>{if(!e)throw new Error("Missing private key?!");this.#r=await m$(e);let t=this.#r.text.public();this.manifest.key=t,this.#n=E$(this.manifest.key),this.manifest.update_url=C$(this.#n)};generateResources=async()=>{if(!this.#r||!this.#n||!this.manifest.key)throw new Error("Key not loaded");this.#e["manifest.json"]=q0(JSON.stringify(this.manifest));let e=Buffer.from(JX(this.#e)),t=l$(this.#r,Buffer.from(e));return{icon:this.iconData.blob,crx:new hE([t],{type:"application/x-chrome-extension"}),zip:new hE([e],{type:"application/zip"}),xml:new hE([p$(this.#n,I$(this.#n),this.manifest.version)],{type:"text/xml"})}}},rL=typeof globalThis.process<"u"?globalThis.process.argv:[],R$=()=>typeof globalThis.process<"u"?globalThis.process.env:{},_$=new Set(rL),nL=e=>_$.has(e),qte=rL.filter(e=>e.startsWith("--")&&e.includes("=")).map(e=>e.split("=")).reduce((e,[t,r])=>(e[t]=r,e),{}),Vte=nL("--dry-run"),iL=()=>nL("--verbose")||R$().VERBOSE==="true",Hte=iL(),k$=(e="",...t)=>console.log(e.padEnd(9),"|",...t),D$=0,N$=(...e)=>iL()&&k$(`\u{1F7E1} ${D$++}`,...e),T$=async(e,t)=>{let r=Buffer.from(await t.arrayBuffer());return T0.put(e,{headers:{"Content-Type":t.type},body:r})},L$={privateKey:"",token:"",entityId:"",extensionId:""},xQ=VT(L$,e=>`Missing ${e}`),F$=Object.keys(xQ),U$=class{options={};constructor(e){for(let t of F$){if(!e[t])throw new Error(xQ[t]);this.options[t]=e[t]}}async submit({filePath:e=""}){let t=await(0,Zz.readFile)(e),r=new S$;await r.loadManifest(t),await r.loadKey(this.options.privateKey);let{version:n,...i}=await T0.post(`${Fh.Itero}/api/submit`,{json:{token:this.options.token,entityId:this.options.entityId,manifest:r.submitManifest,iconContentType:r.iconData.type}}).json();N$(`New version: ${n}`),r.manifest.version=n;let s=await r.generateResources(),a={xml:i.uploadXmlUrl,crx:i.crxFileUrl,zip:i.zipUrl,icon:i.iconUrl};await Promise.all(Object.entries(a).map(([c,l])=>T$(l,s[c]))),await T0.put(`${Fh.Itero}/api/submit`,{json:{token:this.options.token,entityId:this.options.entityId,extensionId:this.options.extensionId}})}},xh="itero",x$=qE(xh);async function M$({zip:e,dryRun:t,...r}){let n=new U$({...r});if(x$("Updating extension to Itero TestBed"),t)return!0;try{return await n.submit({filePath:e}),PE({market:xh,zip:e}),!0}catch(i){throw VE(i,xh)}}async function O$(e){return e.zip=Hh(e),e.verbose&&Gh(xh),Yh({market:xh,options:e,errorMap:xQ}),M$(e)}});var Ur=Bu(_y()),ni=Bu(oL()),zh=e=>`${e.padEnd(9)} |`,aL=e=>e.zip||e.file,AL=e=>!!aL(e);async function P$(){try{(0,Ur.info)("\u{1F7E3} Plasmo Browser Platform Publish v3");let e=JSON.parse((0,Ur.getInput)("keys",{required:!0})),t=(0,Ur.getInput)("file")||(0,Ur.getInput)("zip")||(0,Ur.getInput)("artifact"),r=(0,Ur.getInput)("version-file"),n=(0,Ur.getInput)("notes")||(0,Ur.getInput)("edge-notes"),i=!!(0,Ur.getInput)("verbose");i&&(console.log=Ur.info);let s=Object.keys(e).filter(A=>ni.supportedBrowserSet.has(A));if(s.length===0)throw new Error("No supported browser found");for(let A of s){let f=(0,Ur.getInput)(`${A}-file`),h=aL(e[A]);f?e[A].zip=f:h?e[A].zip=h:t?e[A].zip=t:(0,Ur.warning)(`${zh("\u{1F7E1} SKIP")} No artifact available to submit for ${A}`),i&&(e[A].verbose=i),r&&(e[A].versionFile=r)}if(!s.some(A=>AL(e[A])))throw new Error("No artifact found for deployment");if(e.edge&&n&&(e.edge.notes=n),process.env.NODE_ENV==="test"){(0,Ur.debug)(JSON.stringify({artifact:t,versionFile:r,verbose:i})),(0,Ur.debug)(s.join(","));return}let c=s.map(A=>{if(!AL(e[A]))return!1;switch((0,Ur.info)(`${zh("\u{1F7E1} QUEUE")} Prepare for ${A} submission`),A){case ni.BrowserName.Chrome:return(0,ni.submitChrome)(e[A]);case ni.BrowserName.Firefox:return(0,ni.submitFirefox)(e[A]);case ni.BrowserName.Edge:return(0,ni.submitEdge)(e[A]);case ni.BrowserName.Itero:return(0,ni.submitItero)(e[A])}});(await Promise.allSettled(c)).forEach((A,f)=>{A.status==="rejected"?(0,Ur.setFailed)(`${zh("\u{1F534} ERROR")} ${A.reason}`):A.value&&(0,Ur.info)(`${zh("\u{1F7E2} DONE")} ${s[f]} submission successful`)})}catch(e){e instanceof Error&&(0,Ur.setFailed)(`${zh("\u{1F534} ERROR")} ${e.message}`)}}P$(); +`,C$=e=>`${Fh.Itero}/api/ext/update/${e}`,I$=e=>`${Fh.Itero}/api/ext/install/${e}`,B$=ql(VT()),{pki:rA,asn1:CD}=B$.default,y$=(e="")=>new Promise((t,r)=>{try{if(e){let n=rA.privateKeyFromPem(e),i=rA.rsa.setPublicKey(n.n,n.e);t({privateKey:n,publicKey:i})}else rA.rsa.generateKeyPair({bits:2048,workers:2},(n,i)=>{t(i)})}catch(n){r(n)}}),Q$=e=>{let t=rA.privateKeyToAsn1(e),r=rA.wrapRsaPrivateKey(t);return rA.privateKeyInfoToPem(r)},m$=async(e="")=>{let{publicKey:t,privateKey:r}=await y$(e);return{text:{public:()=>{let n=rA.publicKeyToPem(t),i=b$(n);return console.log({publicKey:t,untrimmedKey:n,trimmedKey:i}),i},private:()=>Q$(r)},binary:{public:()=>Buffer.from(CD.toDer(rA.publicKeyToAsn1(t)).getBytes(),"binary"),private:()=>Buffer.from(CD.toDer(rA.privateKeyToAsn1(r)).getBytes(),"binary")}}},b$=(e,t=!1)=>{let r=t?"PRIVATE":"PUBLIC";return e.replace(`-----BEGIN ${r} KEY-----`,"").replace(`-----END ${r} KEY-----`,"").replace(/\n|\r/g,"").trim()},w$=(e,t)=>{if(!e.icons)throw new Error("No icons found in manifest");let r=Object.keys(e.icons).reduce((l,A)=>Math.max(l,parseInt(A)),0);if(!r)throw new Error("Invalid icon sizes, must be a number");let n=(0,kE.normalize)(e.icons[r]),i=(0,kE.extname)(n).slice(1);if(!ED.has(i))throw new Error("Invalid icon type. Valid types are: "+[...ED].join(", "));let s=UQ[i];if(!t[n])throw new Error("Could not find extension icon. Please ensure the icon paths are correct in your manifest.json");let a=Buffer.from(t[n]),c=new hE([a],{type:s});return{path:n,type:s,blob:c}},C0=/__MSG_(?.*)__/gm,v$=e=>new Promise((t,r)=>{let n,i=WX(e);if(i["manifest.json"])n=i;else{let a=Object.keys(i),c=a.find(A=>A.endsWith("manifest.json"));if(!c){r(new Error("Cannot locate manifest.json"));return}let l=(0,kE.dirname)(c);n=a.reduce((A,f)=>{if(f.startsWith(l)){let h=(0,kE.relative)(l,f);h&&(A[h+(f.endsWith("/")?"/":"")]=i[f])}return A},{})}let s=JSON.parse(FQ(n["manifest.json"]));t({unzip:n,manifestData:s})}),S$=class{manifest;displayManifest;iconData;#e;get submitManifest(){return{...this.manifest,...this.displayManifest}}loadManifest=async e=>{let{unzip:t,manifestData:r}=await v$(e);this.#e=t,this.manifest=r,this.displayManifest=this.getDisplayManifest(),this.iconData=w$(this.manifest,t)};getDisplayManifest(){let e={name:this.manifest.name,version:this.manifest.version,description:this.manifest.description||"",version_name:this.manifest.version_name||""};try{if(this.manifest.default_locale){let t=this.manifest.default_locale,r=JSON.parse(FQ(this.#e[`_locales/${t}/messages.json`]));e.name=e.name.replace(C0,(n,i)=>r[i].message),e.description=e.description.replace(C0,(n,i)=>r[i].message),e.version_name=e.version_name.replace(C0,(n,i)=>r[i].message)}}catch{throw new Error("default_locale is defined, but no locale data is found")}return e}#r;#n;loadKey=async e=>{if(!e)throw new Error("Missing private key?!");this.#r=await m$(e);let t=this.#r.text.public();this.manifest.key=t,this.#n=E$(this.manifest.key),this.manifest.update_url=C$(this.#n)};generateResources=async()=>{if(!this.#r||!this.#n||!this.manifest.key)throw new Error("Key not loaded");this.#e["manifest.json"]=q0(JSON.stringify(this.manifest));let e=Buffer.from(JX(this.#e)),t=l$(this.#r,Buffer.from(e));return{icon:this.iconData.blob,crx:new hE([t],{type:"application/x-chrome-extension"}),zip:new hE([e],{type:"application/zip"}),xml:new hE([p$(this.#n,I$(this.#n),this.manifest.version)],{type:"text/xml"})}}},nL=typeof globalThis.process<"u"?globalThis.process.argv:[],R$=()=>typeof globalThis.process<"u"?globalThis.process.env:{},_$=new Set(nL),iL=e=>_$.has(e),qte=nL.filter(e=>e.startsWith("--")&&e.includes("=")).map(e=>e.split("=")).reduce((e,[t,r])=>(e[t]=r,e),{}),Vte=iL("--dry-run"),sL=()=>iL("--verbose")||R$().VERBOSE==="true",Hte=sL(),k$=(e="",...t)=>console.log(e.padEnd(9),"|",...t),D$=0,N$=(...e)=>sL()&&k$(`\u{1F7E1} ${D$++}`,...e),T$=async(e,t)=>{let r=Buffer.from(await t.arrayBuffer());return T0.put(e,{headers:{"Content-Type":t.type},body:r})},L$={privateKey:"",token:"",entityId:"",extensionId:""},xQ=HT(L$,e=>`Missing ${e}`),F$=Object.keys(xQ),U$=class{options={};constructor(e){for(let t of F$){if(!e[t])throw new Error(xQ[t]);this.options[t]=e[t]}}async submit({filePath:e=""}){let t=await(0,Zz.readFile)(e),r=new S$;await r.loadManifest(t),await r.loadKey(this.options.privateKey);let{version:n,...i}=await T0.post(`${Fh.Itero}/api/submit`,{json:{token:this.options.token,entityId:this.options.entityId,manifest:r.submitManifest,iconContentType:r.iconData.type}}).json();N$(`New version: ${n}`),r.manifest.version=n;let s=await r.generateResources(),a={xml:i.uploadXmlUrl,crx:i.crxFileUrl,zip:i.zipUrl,icon:i.iconUrl};await Promise.all(Object.entries(a).map(([c,l])=>T$(l,s[c]))),await T0.put(`${Fh.Itero}/api/submit`,{json:{token:this.options.token,entityId:this.options.entityId,extensionId:this.options.extensionId}})}},xh="itero",x$=qE(xh);async function M$({zip:e,dryRun:t,...r}){let n=new U$({...r});if(x$("Updating extension to Itero TestBed"),t)return!0;try{return await n.submit({filePath:e}),PE({market:xh,zip:e}),!0}catch(i){throw VE(i,xh)}}async function O$(e){return e.zip=Hh(e),e.verbose&&Gh(xh),Yh({market:xh,options:e,errorMap:xQ}),M$(e)}});var Ur=Bu(_y()),ni=Bu(AL()),zh=e=>`${e.padEnd(9)} |`,cL=e=>e.zip||e.file,aL=e=>!!cL(e);async function P$(){try{(0,Ur.info)("\u{1F7E3} Plasmo Browser Platform Publish v3");let e=JSON.parse((0,Ur.getInput)("keys",{required:!0})),t=(0,Ur.getInput)("file")||(0,Ur.getInput)("zip")||(0,Ur.getInput)("artifact"),r=(0,Ur.getInput)("version-file"),n=(0,Ur.getInput)("notes")||(0,Ur.getInput)("edge-notes"),i=!!(0,Ur.getInput)("verbose");i&&(console.log=Ur.info);let s=Object.keys(e).filter(A=>ni.supportedBrowserSet.has(A));if(s.length===0)throw new Error("No supported browser found");for(let A of s){let f=(0,Ur.getInput)(`${A}-file`),h=cL(e[A]);f?e[A].zip=f:h?e[A].zip=h:t?e[A].zip=t:(0,Ur.warning)(`${zh("\u{1F7E1} SKIP")} No artifact available to submit for ${A}`),i&&(e[A].verbose=i),r&&(e[A].versionFile=r)}if(!s.some(A=>aL(e[A])))throw new Error("No artifact found for deployment");if(e.edge&&n&&(e.edge.notes=n),process.env.NODE_ENV==="test"){(0,Ur.debug)(JSON.stringify({artifact:t,versionFile:r,verbose:i})),(0,Ur.debug)(s.join(","));return}let c=s.map(A=>{if(!aL(e[A]))return!1;switch((0,Ur.info)(`${zh("\u{1F7E1} QUEUE")} Prepare for ${A} submission`),A){case ni.BrowserName.Chrome:return(0,ni.submitChrome)(e[A]);case ni.BrowserName.Firefox:return(0,ni.submitFirefox)(e[A]);case ni.BrowserName.Edge:return(0,ni.submitEdge)(e[A]);case ni.BrowserName.Itero:return(0,ni.submitItero)(e[A])}});(await Promise.allSettled(c)).forEach((A,f)=>{A.status==="rejected"?(0,Ur.setFailed)(`${zh("\u{1F534} ERROR")} ${A.reason}`):A.value&&(0,Ur.info)(`${zh("\u{1F7E2} DONE")} ${s[f]} submission successful`)})}catch(e){e instanceof Error&&(0,Ur.setFailed)(`${zh("\u{1F534} ERROR")} ${e.message}`)}}P$(); /*! Bundled license information: node-domexception/index.js: