From 77c8292f13ee1f94d7eb9c4b5b0a3b60b43759a1 Mon Sep 17 00:00:00 2001 From: Julian Liebig Date: Wed, 10 Jun 2026 18:46:01 +0200 Subject: [PATCH 1/4] Split main into multiple functions Signed-off-by: Julian Liebig --- subaction/matrix/src/main.ts | 99 ++++++++++++++++++++---------------- 1 file changed, 54 insertions(+), 45 deletions(-) diff --git a/subaction/matrix/src/main.ts b/subaction/matrix/src/main.ts index 44826f6..5d4e5f8 100644 --- a/subaction/matrix/src/main.ts +++ b/subaction/matrix/src/main.ts @@ -16,60 +16,69 @@ actionsToolkit.run( const fields = Util.getInputList('fields'); const def = await core.group(`Parsing definition`, async () => { - const args = ['buildx', 'bake']; - for (const file of files) { - args.push('--file', file); - } - if (target) { - args.push(target); - } - args.push('--print'); - const res = await exec.getExecOutput('docker', args, { - ignoreReturnCode: true, - silent: true, - cwd: workdir - }); - if (res.exitCode !== 0) { - throw new Error(`buildx bake failed with: ${Buildx.getErrorMessage(res.stderr)}`); - } - const def: BakeDefinition = JSON.parse(res.stdout.trim()); + const def: BakeDefinition = await getBakeDefinition(workdir, files, target); core.info(JSON.stringify(def, null, 2)); return def; }); await core.group(`Generating matrix`, async () => { - const result: Array = []; - for (const [targetName, target] of Object.entries(def.target)) { - const entry: MatrixConfigEntry = {target: targetName}; - if (fields.length === 0) { - result.push(entry); - continue; - } - let fieldFound = false; - Object.keys(target).forEach(field => { - if (fields.includes(field)) { - fieldFound = true; - const value = target[field]; - if (Array.isArray(value)) { - value.forEach(v => { - entry[field] = v; - result.push({...entry}); - }); - } else { - entry[field] = value; - result.push({...entry}); - } - } - }); - if (!fieldFound) { - result.push(entry); + const matrix: Array = generateDefaultMatrix(def, fields); + core.info(JSON.stringify(matrix, null, 2)); + core.setOutput('matrix', JSON.stringify(matrix)); + }); + } +); + +async function getBakeDefinition(workdir: string, files: Array, target: string): Promise { + const args = ['buildx', 'bake']; + for (const file of files) { + args.push('--file', file); + } + if (target) { + args.push(target); + } + args.push('--print'); + const res = await exec.getExecOutput('docker', args, { + ignoreReturnCode: true, + silent: true, + cwd: workdir + }); + if (res.exitCode !== 0) { + throw new Error(`buildx bake failed with: ${Buildx.getErrorMessage(res.stderr)}`); + } + return JSON.parse(res.stdout.trim()); +} + +function generateDefaultMatrix(definition: BakeDefinition, fields: Array) { + const result: Array = []; + for (const [targetName, target] of Object.entries(definition.target)) { + const entry: MatrixConfigEntry = {target: targetName}; + if (fields.length === 0) { + result.push(entry); + continue; + } + let fieldFound = false; + Object.keys(target).forEach(field => { + if (fields.includes(field)) { + fieldFound = true; + const value = target[field]; + if (Array.isArray(value)) { + value.forEach(v => { + entry[field] = v; + result.push({...entry}); + }); + } else { + entry[field] = value; + result.push({...entry}); } } - core.info(JSON.stringify(result, null, 2)); - core.setOutput('matrix', JSON.stringify(result)); }); + if (!fieldFound) { + result.push(entry); + } } -); + return result; +} type ArrayToSingleEntry = { [Property in keyof Type]: Type[Property] extends Array ? Entry : Type[Property]; From 10a232589987db51a9120aed1341ec559730b451 Mon Sep 17 00:00:00 2001 From: Julian Liebig Date: Wed, 10 Jun 2026 21:16:42 +0200 Subject: [PATCH 2/4] Generate layered matrix Signed-off-by: Julian Liebig --- subaction/matrix/action.yml | 6 + subaction/matrix/dist/index.cjs | 144 +++++++++++------------ subaction/matrix/dist/index.cjs.map | 8 +- subaction/matrix/src/dependency-graph.ts | 94 +++++++++++++++ subaction/matrix/src/main.ts | 78 ++++++++---- 5 files changed, 230 insertions(+), 100 deletions(-) create mode 100644 subaction/matrix/src/dependency-graph.ts diff --git a/subaction/matrix/action.yml b/subaction/matrix/action.yml index ce71831..4165b4e 100644 --- a/subaction/matrix/action.yml +++ b/subaction/matrix/action.yml @@ -20,6 +20,12 @@ inputs: outputs: matrix: description: Matrix configuration + max-layers: + description: Max amount of layers in the layered Matrix configuration + layers: + description: Current amount of layers in the layered Matrix configuration + layered-matrix: + description: Layered Matrix configuration runs: using: 'node24' diff --git a/subaction/matrix/dist/index.cjs b/subaction/matrix/dist/index.cjs index 1a73f09..9cee826 100644 --- a/subaction/matrix/dist/index.cjs +++ b/subaction/matrix/dist/index.cjs @@ -1,32 +1,32 @@ -var XX=Object.create;var Vm=Object.defineProperty;var ZX=Object.getOwnPropertyDescriptor;var eZ=Object.getOwnPropertyNames;var tZ=Object.getPrototypeOf,rZ=Object.prototype.hasOwnProperty;var o=(t,e)=>Vm(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),sZ=(t,e)=>{for(var r in e)Vm(t,r,{get:e[r],enumerable:!0})},nZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of eZ(e))!rZ.call(t,n)&&n!==r&&Vm(t,n,{get:()=>e[n],enumerable:!(s=ZX(e,n))||s.enumerable});return t};var b=(t,e,r)=>(r=t!=null?XX(tZ(t)):{},nZ(e||!t||!t.__esModule?Vm(r,"default",{value:t,enumerable:!0}):r,t));var E_=g(Hc=>{"use strict";var DMe=require("net"),cZ=require("tls"),BB=require("http"),h_=require("https"),lZ=require("events"),_Me=require("assert"),uZ=require("util");Hc.httpOverHttp=AZ;Hc.httpsOverHttp=dZ;Hc.httpOverHttps=pZ;Hc.httpsOverHttps=mZ;function AZ(t){var e=new bi(t);return e.request=BB.request,e}o(AZ,"httpOverHttp");function dZ(t){var e=new bi(t);return e.request=BB.request,e.createSocket=f_,e.defaultPort=443,e}o(dZ,"httpsOverHttp");function pZ(t){var e=new bi(t);return e.request=h_.request,e}o(pZ,"httpOverHttps");function mZ(t){var e=new bi(t);return e.request=h_.request,e.createSocket=f_,e.defaultPort=443,e}o(mZ,"httpsOverHttps");function bi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||BB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=g_(n,i,a),l=0,u=e.requests.length;l=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function u(A){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");bi.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=wB({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),mo("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,p,m){process.nextTick(function(){u(d,p,m)})}o(l,"onUpgrade");function u(d,p,m){if(a.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){mo("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}if(m.length>0){mo("got illegal response body from proxy"),p.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}return mo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),mo(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(A,"onError")},"createSocket");bi.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function f_(t,e){var r=this;bi.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=wB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=cZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(f_,"createSecureSocket");function g_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(g_,"toOptions");function wB(t){for(var e=1,r=arguments.length;e{y_.exports=E_()});var Ge=g((FMe,C_)=>{C_.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"),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"),kBody:Symbol("abstracted request body"),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"),kResume:Symbol("resume"),kOnError:Symbol("on error"),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"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var Ce=g((UMe,V_)=>{"use strict";var I_=Symbol.for("undici.error.UND_ERR"),He=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[I_]===!0}[I_]=!0},B_=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),bB=class extends He{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[B_]===!0}[B_]=!0},w_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),QB=class extends He{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[w_]===!0}[w_]=!0},b_=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),xB=class extends He{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[b_]===!0}[b_]=!0},Q_=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),NB=class extends He{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[Q_]===!0}[Q_]=!0},x_=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),SB=class extends He{static{o(this,"ResponseStatusCodeError")}constructor(e,r,s,n){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=n,this.status=r,this.statusCode=r,this.headers=s}static[Symbol.hasInstance](e){return e&&e[x_]===!0}[x_]=!0},N_=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),RB=class extends He{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[N_]===!0}[N_]=!0},S_=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),TB=class extends He{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[S_]===!0}[S_]=!0},R_=Symbol.for("undici.error.UND_ERR_ABORT"),Jm=class extends He{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[R_]===!0}[R_]=!0},T_=Symbol.for("undici.error.UND_ERR_ABORTED"),PB=class extends Jm{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[T_]===!0}[T_]=!0},P_=Symbol.for("undici.error.UND_ERR_INFO"),vB=class extends He{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[P_]===!0}[P_]=!0},v_=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),kB=class extends He{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[v_]===!0}[v_]=!0},k_=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),DB=class extends He{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[k_]===!0}[k_]=!0},D_=Symbol.for("undici.error.UND_ERR_DESTROYED"),_B=class extends He{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[D_]===!0}[D_]=!0},__=Symbol.for("undici.error.UND_ERR_CLOSED"),LB=class extends He{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[__]===!0}[__]=!0},L_=Symbol.for("undici.error.UND_ERR_SOCKET"),MB=class extends He{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[L_]===!0}[L_]=!0},M_=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),OB=class extends He{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[M_]===!0}[M_]=!0},O_=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),FB=class extends He{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[O_]===!0}[O_]=!0},F_=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),UB=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,s){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=s?s.toString():void 0}static[Symbol.hasInstance](e){return e&&e[F_]===!0}[F_]=!0},U_=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),qB=class extends He{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[U_]===!0}[U_]=!0},q_=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),GB=class extends He{static{o(this,"RequestRetryError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[q_]===!0}[q_]=!0},G_=Symbol.for("undici.error.UND_ERR_RESPONSE"),HB=class extends He{static{o(this,"ResponseError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[G_]===!0}[G_]=!0},H_=Symbol.for("undici.error.UND_ERR_PRX_TLS"),zB=class extends He{static{o(this,"SecureProxyConnectionError")}constructor(e,r,s){super(r,{cause:e,...s??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[H_]===!0}[H_]=!0},z_=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),VB=class extends He{static{o(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[z_]===!0}get[z_](){return!0}};V_.exports={AbortError:Jm,HTTPParserError:UB,UndiciError:He,HeadersTimeoutError:QB,HeadersOverflowError:xB,BodyTimeoutError:NB,RequestContentLengthMismatchError:kB,ConnectTimeoutError:bB,ResponseStatusCodeError:SB,InvalidArgumentError:RB,InvalidReturnValueError:TB,RequestAbortedError:PB,ClientDestroyedError:_B,ClientClosedError:LB,InformationalError:vB,SocketError:MB,NotSupportedError:OB,ResponseContentLengthMismatchError:DB,BalancedPoolMissingUpstreamError:FB,ResponseExceededMaxSizeError:qB,RequestRetryError:GB,ResponseError:HB,SecureProxyConnectionError:zB,MessageSizeExceededError:VB}});var jm=g((GMe,$_)=>{"use strict";var Wm={},$B=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let t=0;t<$B.length;++t){let e=$B[t],r=e.toLowerCase();Wm[e]=Wm[r]=r}Object.setPrototypeOf(Wm,null);$_.exports={wellknownHeaderNames:$B,headerNameLowerCasedRecord:Wm}});var j_=g((HMe,W_)=>{"use strict";var{wellknownHeaderNames:Y_,headerNameLowerCasedRecord:hZ}=jm(),YB=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,s){if(s===void 0||s>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(s))>127)throw new TypeError("key must be ascii string");e.length!==++s?this.middle=new t(e,r,s):this.value=r}add(e,r){let s=e.length;if(s===0)throw new TypeError("Unreachable");let n=0,i=this;for(;;){let a=e.charCodeAt(n);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(s===++n){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,n);break}else if(i.code=65&&(i|=32);n!==null;){if(i===n.code){if(r===++s)return n;n=n.middle;break}n=n.code{"use strict";var IA=require("node:assert"),{kDestroyed:X_,kBodyUsed:zc,kListeners:JB,kBody:K_}=Ge(),{IncomingMessage:fZ}=require("node:http"),eh=require("node:stream"),gZ=require("node:net"),{Blob:EZ}=require("node:buffer"),yZ=require("node:util"),{stringify:CZ}=require("node:querystring"),{EventEmitter:IZ}=require("node:events"),{InvalidArgumentError:Dt}=Ce(),{headerNameLowerCasedRecord:BZ}=jm(),{tree:Z_}=j_(),[wZ,bZ]=process.versions.node.split(".").map(t=>Number(t)),Zm=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[K_]=e,this[zc]=!1}async*[Symbol.asyncIterator](){IA(!this[zc],"disturbed"),this[zc]=!0,yield*this[K_]}};function QZ(t){return th(t)?(nL(t)===0&&t.on("data",function(){IA(!1)}),typeof t.readableDidRead!="boolean"&&(t[zc]=!1,IZ.prototype.on.call(t,"data",function(){this[zc]=!0})),t):t&&typeof t.pipeTo=="function"?new Zm(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&sL(t)?new Zm(t):t}o(QZ,"wrapRequestBody");function xZ(){}o(xZ,"nop");function th(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(th,"isStream");function eL(t){if(t===null)return!1;if(t instanceof EZ)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(eL,"isBlobLike");function NZ(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=CZ(e);return r&&(t+="?"+r),t}o(NZ,"buildURL");function tL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(tL,"isValidPort");function Xm(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Xm,"isHttpOrHttpsPrefixed");function rL(t){if(typeof t=="string"){if(t=new URL(t),!Xm(t.origin||t.protocol))throw new Dt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Dt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&tL(t.port)===!1)throw new Dt("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Dt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Dt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Dt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Dt("Invalid URL origin: the origin must be a string or null/undefined.");if(!Xm(t.origin||t.protocol))throw new Dt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,s=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),s&&s[0]!=="/"&&(s=`/${s}`),new URL(`${r}${s}`)}if(!Xm(t.origin||t.protocol))throw new Dt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(rL,"parseURL");function SZ(t){if(t=rL(t),t.pathname!=="/"||t.search||t.hash)throw new Dt("invalid url");return t}o(SZ,"parseOrigin");function RZ(t){if(t[0]==="["){let r=t.indexOf("]");return IA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(RZ,"getHostname");function TZ(t){if(!t)return null;IA(typeof t=="string");let e=RZ(t);return gZ.isIP(e)?"":e}o(TZ,"getServerName");function PZ(t){return JSON.parse(JSON.stringify(t))}o(PZ,"deepClone");function vZ(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(vZ,"isAsyncIterable");function sL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(sL,"isIterable");function nL(t){if(t==null)return 0;if(th(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(eL(t))return t.size!=null?t.size:null;if(aL(t))return t.byteLength}return null}o(nL,"bodyLength");function iL(t){return t&&!!(t.destroyed||t[X_]||eh.isDestroyed?.(t))}o(iL,"isDestroyed");function kZ(t,e){t==null||!th(t)||iL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===fZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[X_]=!0))}o(kZ,"destroy");var DZ=/timeout=(\d+)/;function _Z(t){let e=t.toString().match(DZ);return e?parseInt(e[1],10)*1e3:null}o(_Z,"parseKeepAliveTimeout");function oL(t){return typeof t=="string"?BZ[t]??t.toLowerCase():Z_.lookup(t)??t.toString("latin1").toLowerCase()}o(oL,"headerNameToString");function LZ(t){return Z_.lookup(t)??t.toString("latin1").toLowerCase()}o(LZ,"bufferToLowerCasedHeaderName");function MZ(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(MZ,"parseHeaders");function OZ(t){let e=t.length,r=new Array(e),s=!1,n=-1,i,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(n)?n:Buffer.from(n);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(zZ,"ReadableStreamFrom");function VZ(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(VZ,"isFormDataLike");function $Z(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o($Z,"addAbortListener");var YZ=typeof String.prototype.toWellFormed=="function",JZ=typeof String.prototype.isWellFormed=="function";function cL(t){return YZ?`${t}`.toWellFormed():yZ.toUSVString(t)}o(cL,"toUSVString");function WZ(t){return JZ?`${t}`.isWellFormed():cL(t)===`${t}`}o(WZ,"isUSVString");function lL(t){switch(t){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 t>=33&&t<=126}}o(lL,"isTokenCharCode");function jZ(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Qe=require("node:diagnostics_channel"),KB=require("node:util"),rh=KB.debuglog("undici"),jB=KB.debuglog("fetch"),ma=KB.debuglog("websocket"),pL=!1,s7={beforeConnect:Qe.channel("undici:client:beforeConnect"),connected:Qe.channel("undici:client:connected"),connectError:Qe.channel("undici:client:connectError"),sendHeaders:Qe.channel("undici:client:sendHeaders"),create:Qe.channel("undici:request:create"),bodySent:Qe.channel("undici:request:bodySent"),headers:Qe.channel("undici:request:headers"),trailers:Qe.channel("undici:request:trailers"),error:Qe.channel("undici:request:error"),open:Qe.channel("undici:websocket:open"),close:Qe.channel("undici:websocket:close"),socketError:Qe.channel("undici:websocket:socket_error"),ping:Qe.channel("undici:websocket:ping"),pong:Qe.channel("undici:websocket:pong")};if(rh.enabled||jB.enabled){let t=jB.enabled?jB:rh;Qe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Qe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Qe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${n?`:${n}`:""}`,s,r,a.message)}),Qe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)}),Qe.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:s,origin:n},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,n,s,i)}),Qe.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("trailers received from %s %s/%s",r,n,s)}),Qe.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:s,origin:n},error:i}=e;t("request to %s %s/%s errored - %s",r,n,s,i.message)}),pL=!0}if(ma.enabled){if(!pL){let t=rh.enabled?rh:ma;Qe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Qe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Qe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,n?`:${n}`:"",s,r,a.message)}),Qe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)})}Qe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;ma("connection opened %s%s",e,r?`:${r}`:"")}),Qe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;ma("closed connection to %s - %s %s",e.url,r,s)}),Qe.channel("undici:websocket:socket_error").subscribe(t=>{ma("connection errored - %s",t.message)}),Qe.channel("undici:websocket:ping").subscribe(t=>{ma("ping received")}),Qe.channel("undici:websocket:pong").subscribe(t=>{ma("pong received")})}mL.exports={channels:s7}});var EL=g((JMe,gL)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:n7}=Ce(),Qi=require("node:assert"),{isValidHTTPToken:fL,isValidHeaderValue:BA,isStream:i7,destroy:o7,isBuffer:a7,isFormDataLike:c7,isIterable:l7,isBlobLike:u7,buildURL:A7,validateHandler:d7,getServerName:p7,normalizedMethodRecords:m7}=Ae(),{channels:Bn}=Vc(),{headerNameLowerCasedRecord:hL}=jm(),h7=/[^\u0021-\u00ff]/,hs=Symbol("handler"),XB=class{static{o(this,"Request")}constructor(e,{path:r,method:s,body:n,headers:i,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:A,bodyTimeout:d,reset:p,throwOnError:m,expectContinue:h,servername:f},C){if(typeof r!="string")throw new Se("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new Se("path must be an absolute URL or start with a slash");if(h7.test(r))throw new Se("invalid request path");if(typeof s!="string")throw new Se("method must be a string");if(m7[s]===void 0&&!fL(s))throw new Se("invalid request method");if(u&&typeof u!="string")throw new Se("upgrade must be a string");if(u&&!BA(u))throw new Se("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new Se("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Se("invalid bodyTimeout");if(p!=null&&typeof p!="boolean")throw new Se("invalid reset");if(h!=null&&typeof h!="boolean")throw new Se("invalid expectContinue");if(this.headersTimeout=A,this.bodyTimeout=d,this.throwOnError=m===!0,this.method=s,this.abort=null,n==null)this.body=null;else if(i7(n)){this.body=n;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=o(function(){o7(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=y=>{this.abort?this.abort(y):this.error=y},this.body.on("error",this.errorHandler)}else if(a7(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if(typeof n=="string")this.body=n.length?Buffer.from(n):null;else if(c7(n)||l7(n)||u7(n))this.body=n;else throw new Se("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=u||null,this.path=a?A7(r,a):r,this.origin=e,this.idempotent=c??(s==="HEAD"||s==="GET"),this.blocking=l??!1,this.reset=p??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=h??!1,Array.isArray(i)){if(i.length%2!==0)throw new Se("headers array must be even");for(let E=0;E{"use strict";var f7=require("node:events"),nh=class extends f7{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,s=this.dispatch.bind(this);for(let n of r)if(n!=null){if(typeof n!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof n}`);if(s=n(s),s==null||typeof s!="function"||s.length!==2)throw new TypeError("invalid interceptor")}return new ZB(this,s)}},ZB=class extends nh{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};yL.exports=nh});var Wc=g((XMe,CL)=>{"use strict";var g7=wA(),{ClientDestroyedError:ew,ClientClosedError:E7,InvalidArgumentError:$c}=Ce(),{kDestroy:y7,kClose:C7,kClosed:bA,kDestroyed:Yc,kDispatch:tw,kInterceptors:ha}=Ge(),xi=Symbol("onDestroyed"),Jc=Symbol("onClosed"),ih=Symbol("Intercepted Dispatch"),rw=Symbol("webSocketOptions"),sw=class extends g7{static{o(this,"DispatcherBase")}constructor(e){super(),this[Yc]=!1,this[xi]=null,this[bA]=!1,this[Jc]=[],this[rw]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[rw].maxFragments??131072,maxPayloadSize:this[rw].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Yc]}get closed(){return this[bA]}get interceptors(){return this[ha]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[ha][r]!="function")throw new $c("interceptor must be an function")}this[ha]=e}close(e){if(e===void 0)return new Promise((s,n)=>{this.close((i,a)=>i?n(i):s(a))});if(typeof e!="function")throw new $c("invalid callback");if(this[Yc]){queueMicrotask(()=>e(new ew,null));return}if(this[bA]){this[Jc]?this[Jc].push(e):queueMicrotask(()=>e(null,null));return}this[bA]=!0,this[Jc].push(e);let r=o(()=>{let s=this[Jc];this[Jc]=null;for(let n=0;nthis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((n,i)=>{this.destroy(e,(a,c)=>a?i(a):n(c))});if(typeof r!="function")throw new $c("invalid callback");if(this[Yc]){this[xi]?this[xi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new ew),this[Yc]=!0,this[xi]=this[xi]||[],this[xi].push(r);let s=o(()=>{let n=this[xi];this[xi]=null;for(let i=0;i{queueMicrotask(s)})}[ih](e,r){if(!this[ha]||this[ha].length===0)return this[ih]=this[tw],this[tw](e,r);let s=this[tw].bind(this);for(let n=this[ha].length-1;n>=0;n--)s=this[ha][n](s);return this[ih]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new $c("handler must be an object");try{if(!e||typeof e!="object")throw new $c("opts must be an object.");if(this[Yc]||this[xi])throw new ew;if(this[bA])throw new E7;return this[ih](e,r)}catch(s){if(typeof r.onError!="function")throw new $c("invalid onError method");return r.onError(s),!1}}};CL.exports=sw});var uw=g((eOe,bL)=>{"use strict";var jc=0,nw=1e3,iw=(nw>>1)-1,Ni,ow=Symbol("kFastTimer"),Si=[],aw=-2,cw=-1,BL=0,IL=1;function lw(){jc+=iw;let t=0,e=Si.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=cw,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===cw?(r._state=aw,--e!==0&&(Si[t]=Si[e])):++t}Si.length=e,Si.length!==0&&wL()}o(lw,"onTick");function wL(){Ni?Ni.refresh():(clearTimeout(Ni),Ni=setTimeout(lw,iw),Ni.unref&&Ni.unref())}o(wL,"refreshTimeout");var oh=class{static{o(this,"FastTimer")}[ow]=!0;_state=aw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===aw&&Si.push(this),(!Ni||Si.length===1)&&wL(),this._state=BL}clear(){this._state=cw,this._idleStart=-1}};bL.exports={setTimeout(t,e,r){return e<=nw?setTimeout(t,e,r):new oh(t,e,r)},clearTimeout(t){t[ow]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new oh(t,e,r)},clearFastTimeout(t){t.clear()},now(){return jc},tick(t=0){jc+=t-nw+1,lw(),lw()},reset(){jc=0,Si.length=0,clearTimeout(Ni),Ni=null},kFastTimer:ow}});var QA=g((nOe,RL)=>{"use strict";var I7=require("node:net"),QL=require("node:assert"),SL=Ae(),{InvalidArgumentError:B7,ConnectTimeoutError:w7}=Ce(),ah=uw();function xL(){}o(xL,"noop");var Aw,dw;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?dw=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:s}=this._sessionCache.keys().next();this._sessionCache.delete(s)}this._sessionCache.set(e,r)}}};function b7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new B7("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new dw(e??100);return s=s??1e4,t=t??!1,o(function({hostname:u,host:A,protocol:d,port:p,servername:m,localAddress:h,httpSocket:f},C){let E;if(d==="https:"){Aw||(Aw=require("node:tls")),m=m||a.servername||SL.getServerName(A)||null;let I=m||u;QL(I);let B=n||c.get(I)||null;p=p||443,E=Aw.connect({highWaterMark:16384,...a,servername:m,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:p,host:u}),E.on("session",function(N){c.set(I,N)})}else QL(!f,"httpSocket can only be sent on TLS update"),p=p||80,E=I7.connect({highWaterMark:64*1024,...a,localAddress:h,port:p,host:u});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;E.setKeepAlive(!0,I)}let y=Q7(new WeakRef(E),{timeout:s,hostname:u,port:p});return E.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(y),C){let I=C;C=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(y),C){let B=C;C=null,B(I)}}),E},"connect")}o(b7,"buildConnector");var Q7=process.platform==="win32"?(t,e)=>{if(!e.timeout)return xL;let r=null,s=null,n=ah.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>NL(t.deref(),e))})},e.timeout);return()=>{ah.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return xL;let r=null,s=ah.setFastTimeout(()=>{r=setImmediate(()=>{NL(t.deref(),e)})},e.timeout);return()=>{ah.clearFastTimeout(s),clearImmediate(r)}};function NL(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,SL.destroy(t,new w7(r))}o(NL,"onConnectTimeout");RL.exports=b7});var TL=g(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.enumToMap=void 0;function x7(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}o(x7,"enumToMap");ch.enumToMap=x7});var PL=g(x=>{"use strict";Object.defineProperty(x,"__esModule",{value:!0});x.SPECIAL_HEADERS=x.HEADER_STATE=x.MINOR=x.MAJOR=x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS=x.TOKEN=x.STRICT_TOKEN=x.HEX=x.URL_CHAR=x.STRICT_URL_CHAR=x.USERINFO_CHARS=x.MARK=x.ALPHANUM=x.NUM=x.HEX_MAP=x.NUM_MAP=x.ALPHA=x.FINISH=x.H_METHOD_MAP=x.METHOD_MAP=x.METHODS_RTSP=x.METHODS_ICE=x.METHODS_HTTP=x.METHODS=x.LENIENT_FLAGS=x.FLAGS=x.TYPE=x.ERROR=void 0;var N7=TL(),S7;(function(t){t[t.OK=0]="OK",t[t.INTERNAL=1]="INTERNAL",t[t.STRICT=2]="STRICT",t[t.LF_EXPECTED=3]="LF_EXPECTED",t[t.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",t[t.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",t[t.INVALID_METHOD=6]="INVALID_METHOD",t[t.INVALID_URL=7]="INVALID_URL",t[t.INVALID_CONSTANT=8]="INVALID_CONSTANT",t[t.INVALID_VERSION=9]="INVALID_VERSION",t[t.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",t[t.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",t[t.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",t[t.INVALID_STATUS=13]="INVALID_STATUS",t[t.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",t[t.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",t[t.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",t[t.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",t[t.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",t[t.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",t[t.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",t[t.PAUSED=21]="PAUSED",t[t.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",t[t.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",t[t.USER=24]="USER"})(S7=x.ERROR||(x.ERROR={}));var R7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(R7=x.TYPE||(x.TYPE={}));var T7;(function(t){t[t.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",t[t.CHUNKED=8]="CHUNKED",t[t.UPGRADE=16]="UPGRADE",t[t.CONTENT_LENGTH=32]="CONTENT_LENGTH",t[t.SKIPBODY=64]="SKIPBODY",t[t.TRAILING=128]="TRAILING",t[t.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(T7=x.FLAGS||(x.FLAGS={}));var P7;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(P7=x.LENIENT_FLAGS||(x.LENIENT_FLAGS={}));var j;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(j=x.METHODS||(x.METHODS={}));x.METHODS_HTTP=[j.DELETE,j.GET,j.HEAD,j.POST,j.PUT,j.CONNECT,j.OPTIONS,j.TRACE,j.COPY,j.LOCK,j.MKCOL,j.MOVE,j.PROPFIND,j.PROPPATCH,j.SEARCH,j.UNLOCK,j.BIND,j.REBIND,j.UNBIND,j.ACL,j.REPORT,j.MKACTIVITY,j.CHECKOUT,j.MERGE,j["M-SEARCH"],j.NOTIFY,j.SUBSCRIBE,j.UNSUBSCRIBE,j.PATCH,j.PURGE,j.MKCALENDAR,j.LINK,j.UNLINK,j.PRI,j.SOURCE];x.METHODS_ICE=[j.SOURCE];x.METHODS_RTSP=[j.OPTIONS,j.DESCRIBE,j.ANNOUNCE,j.SETUP,j.PLAY,j.PAUSE,j.TEARDOWN,j.GET_PARAMETER,j.SET_PARAMETER,j.REDIRECT,j.RECORD,j.FLUSH,j.GET,j.POST];x.METHOD_MAP=N7.enumToMap(j);x.H_METHOD_MAP={};Object.keys(x.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(x.H_METHOD_MAP[t]=x.METHOD_MAP[t])});var v7;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(v7=x.FINISH||(x.FINISH={}));x.ALPHA=[];for(let t=65;t<=90;t++)x.ALPHA.push(String.fromCharCode(t)),x.ALPHA.push(String.fromCharCode(t+32));x.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};x.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};x.NUM=["0","1","2","3","4","5","6","7","8","9"];x.ALPHANUM=x.ALPHA.concat(x.NUM);x.MARK=["-","_",".","!","~","*","'","(",")"];x.USERINFO_CHARS=x.ALPHANUM.concat(x.MARK).concat(["%",";",":","&","=","+","$",","]);x.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(x.ALPHANUM);x.URL_CHAR=x.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)x.URL_CHAR.push(t);x.HEX=x.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);x.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(x.ALPHANUM);x.TOKEN=x.STRICT_TOKEN.concat([" "]);x.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&x.HEADER_CHARS.push(t);x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS.filter(t=>t!==44);x.MAJOR=x.NUM_MAP;x.MINOR=x.MAJOR;var Kc;(function(t){t[t.GENERAL=0]="GENERAL",t[t.CONNECTION=1]="CONNECTION",t[t.CONTENT_LENGTH=2]="CONTENT_LENGTH",t[t.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",t[t.UPGRADE=4]="UPGRADE",t[t.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",t[t.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(Kc=x.HEADER_STATE||(x.HEADER_STATE={}));x.SPECIAL_HEADERS={connection:Kc.CONNECTION,"content-length":Kc.CONTENT_LENGTH,"proxy-connection":Kc.CONNECTION,"transfer-encoding":Kc.TRANSFER_ENCODING,upgrade:Kc.UPGRADE}});var pw=g((lOe,vL)=>{"use strict";var{Buffer:k7}=require("node:buffer");vL.exports=k7.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjd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IgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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gtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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ANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASEDDJoCCyABLQAAQcwARw1bIAFBAWohAUEKDF0LIAEgBEYEQEGUASEDDJkCCw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EMIQtBpAEMIAtBpQEMHwtBpgEMHgtBpwEMHQtBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsg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ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var xA=g((AOe,GL)=>{"use strict";var _L=["GET","HEAD","POST"],_7=new Set(_L),L7=[101,204,205,304],LL=[301,302,303,307,308],M7=new Set(LL),ML=["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","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],O7=new Set(ML),OL=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],F7=new Set(OL),U7=["follow","manual","error"],FL=["GET","HEAD","OPTIONS","TRACE"],q7=new Set(FL),G7=["navigate","same-origin","no-cors","cors"],H7=["omit","same-origin","include"],z7=["default","no-store","reload","no-cache","force-cache","only-if-cached"],V7=["content-encoding","content-language","content-location","content-type","content-length"],$7=["half"],UL=["CONNECT","TRACE","TRACK"],Y7=new Set(UL),qL=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],J7=new Set(qL);GL.exports={subresource:qL,forbiddenMethods:UL,requestBodyHeader:V7,referrerPolicy:OL,requestRedirect:U7,requestMode:G7,requestCredentials:H7,requestCache:z7,redirectStatus:LL,corsSafeListedMethods:_L,nullBodyStatus:L7,safeMethods:FL,badPorts:ML,requestDuplex:$7,subresourceSet:J7,badPortsSet:O7,redirectStatusSet:M7,corsSafeListedMethodsSet:_7,safeMethodsSet:q7,forbiddenMethodsSet:Y7,referrerPolicySet:F7}});var hw=g((dOe,HL)=>{"use strict";var mw=Symbol.for("undici.globalOrigin.1");function W7(){return globalThis[mw]}o(W7,"getGlobalOrigin");function j7(t){if(t===void 0){Object.defineProperty(globalThis,mw,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${e.protocol}`);Object.defineProperty(globalThis,mw,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(j7,"setGlobalOrigin");HL.exports={getGlobalOrigin:W7,setGlobalOrigin:j7}});var Ir=g((mOe,jL)=>{"use strict";var uh=require("node:assert"),K7=new TextEncoder,NA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,X7=/[\u000A\u000D\u0009\u0020]/,Z7=/[\u0009\u000A\u000C\u000D\u0020]/g,eee=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function tee(t){uh(t.protocol==="data:");let e=$L(t,!0);e=e.slice(5);let r={position:0},s=Xc(",",e,r),n=s.length;if(s=aee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),a=YL(i);if(/;(\u0020){0,}base64$/i.test(s)){let l=WL(a);if(a=see(l),a==="failure")return"failure";s=s.slice(0,-6),s=s.replace(/(\u0020)+$/,""),s=s.slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let c=fw(s);return c==="failure"&&(c=fw("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(tee,"dataURLProcessor");function $L(t,e=!1){if(!e)return t.href;let r=t.href,s=t.hash.length,n=s===0?r:r.substring(0,r.length-s);return!s&&r.endsWith("#")?n.slice(0,-1):n}o($L,"URLSerializer");function Ah(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(zL,"isHexCharByte");function VL(t){return t>=48&&t<=57?t-48:(t&223)-55}o(VL,"hexByteToNumber");function ree(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=Xc(";",t,e);if(s=lh(s,!1,!0),s.length===0||!NA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),a={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positionX7.test(u),t,e);let c=Ah(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=JL(t,e,!0),Xc(";",t,e);else if(l=Xc(";",t,e),l=lh(l,!1,!0),l.length===0)continue;c.length!==0&&NA.test(c)&&(l.length===0||eee.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(fw,"parseMIMEType");function see(t){t=t.replace(Z7,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(see,"forgivingBase64");function JL(t,e,r){let s=e.position,n="";for(uh(t[e.position]==='"'),e.position++;n+=Ah(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){n+="\\";break}n+=t[e.position],e.position++}else{uh(i==='"');break}}return r?n:t.slice(s,e.position)}o(JL,"collectAnHTTPQuotedString");function nee(t){uh(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",NA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}o(nee,"serializeAMimeType");function iee(t){return t===13||t===10||t===9||t===32}o(iee,"isHTTPWhiteSpace");function lh(t,e=!0,r=!0){return gw(t,e,r,iee)}o(lh,"removeHTTPWhitespace");function oee(t){return t===13||t===10||t===9||t===12||t===32}o(oee,"isASCIIWhitespace");function aee(t,e=!0,r=!0){return gw(t,e,r,oee)}o(aee,"removeASCIIWhitespace");function gw(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n0&&s(t.charCodeAt(i));)i--;return n===0&&i===t.length-1?t:t.slice(n,i+1)}o(gw,"removeChars");function WL(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",s=0,n=65535;for(;se&&(n=e-s),r+=String.fromCharCode.apply(null,t.subarray(s,s+=n));return r}o(WL,"isomorphicDecode");function cee(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(cee,"minimizeSupportedMimeType");jL.exports={dataURLProcessor:tee,URLSerializer:$L,collectASequenceOfCodePoints:Ah,collectASequenceOfCodePointsFast:Xc,stringPercentDecode:YL,parseMIMEType:fw,collectAnHTTPQuotedString:JL,serializeAMimeType:nee,removeChars:gw,removeHTTPWhitespace:lh,minimizeSupportedMimeType:cee,HTTP_TOKEN_CODEPOINTS:NA,isomorphicDecode:WL}});var Gt=g((fOe,KL)=>{"use strict";var{types:wn,inspect:lee}=require("node:util"),{markAsUncloneable:uee}=require("node:worker_threads"),{toUSVString:Aee}=Ae(),Q={};Q.converters={};Q.util={};Q.errors={};Q.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};Q.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return Q.errors.exception({header:t.prefix,message:r})};Q.errors.invalidArgument=function(t){return Q.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};Q.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}};Q.argumentLengthCheck=function({length:t},e,r){if(t{});Q.util.ConvertToInt=function(t,e,r,s){let n,i;e===64?(n=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,n=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,n=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),s?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw Q.errors.exception({header:"Integer conversion",message:`Could not convert ${Q.util.Stringify(t)} to an integer.`});if(a=Q.util.IntegerPart(a),an)throw Q.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${a}.`});return a}return!Number.isNaN(a)&&s?.clamp===!0?(a=Math.min(Math.max(a,i),n),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=Q.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};Q.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};Q.util.Stringify=function(t){switch(Q.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return lee(t);case"String":return`"${t}"`;default:return`${t}`}};Q.sequenceConverter=function(t){return(e,r,s,n)=>{if(Q.util.Type(e)!=="Object")throw Q.errors.exception({header:r,message:`${s} (${Q.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw Q.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:l,value:u}=i.next();if(l)break;a.push(t(u,r,`${s}[${c++}]`))}return a}};Q.recordConverter=function(t,e){return(r,s,n)=>{if(Q.util.Type(r)!=="Object")throw Q.errors.exception({header:s,message:`${n} ("${Q.util.Type(r)}") is not an Object.`});let i={};if(!wn.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,s,n),A=e(r[l],s,n);i[u]=A}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,s,n),A=e(r[c],s,n);i[u]=A}return i}};Q.interfaceConverter=function(t){return(e,r,s,n)=>{if(n?.strict!==!1&&!(e instanceof t))throw Q.errors.exception({header:r,message:`Expected ${s} ("${Q.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};Q.dictionaryConverter=function(t){return(e,r,s)=>{let n=Q.util.Type(e),i={};if(n==="Null"||n==="Undefined")return i;if(n!=="Object")throw Q.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:u,converter:A}=a;if(u===!0&&!Object.hasOwn(e,c))throw Q.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],p=Object.hasOwn(a,"defaultValue");if(p&&d!==null&&(d??=l()),u||p||d!==void 0){if(d=A(d,r,`${s}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw Q.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};Q.nullableConverter=function(t){return(e,r,s)=>e===null?e:t(e,r,s)};Q.converters.DOMString=function(t,e,r,s){if(t===null&&s?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw Q.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};Q.converters.ByteString=function(t,e,r){let s=Q.converters.DOMString(t,e,r);for(let n=0;n255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${n} has a value of ${s.charCodeAt(n)} which is greater than 255.`);return s};Q.converters.USVString=Aee;Q.converters.boolean=function(t){return!!t};Q.converters.any=function(t){return t};Q.converters["long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"signed",void 0,e,r)};Q.converters["unsigned long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};Q.converters["unsigned long"]=function(t,e,r){return Q.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};Q.converters["unsigned short"]=function(t,e,r,s){return Q.util.ConvertToInt(t,16,"unsigned",s,e,r)};Q.converters.ArrayBuffer=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!wn.isAnyArrayBuffer(t))throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&wn.isSharedArrayBuffer(t))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.TypedArray=function(t,e,r,s,n){if(Q.util.Type(t)!=="Object"||!wn.isTypedArray(t)||t.constructor.name!==e.name)throw Q.errors.conversionFailed({prefix:r,argument:`${s} ("${Q.util.Stringify(t)}")`,types:[e.name]});if(n?.allowShared===!1&&wn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.DataView=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!wn.isDataView(t))throw Q.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&wn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.BufferSource=function(t,e,r,s){if(wn.isAnyArrayBuffer(t))return Q.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(wn.isTypedArray(t))return Q.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(wn.isDataView(t))return Q.converters.DataView(t,e,r,{...s,allowShared:!1});throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["BufferSource"]})};Q.converters["sequence"]=Q.sequenceConverter(Q.converters.ByteString);Q.converters["sequence>"]=Q.sequenceConverter(Q.converters["sequence"]);Q.converters["record"]=Q.recordConverter(Q.converters.ByteString,Q.converters.ByteString);KL.exports={webidl:Q}});var zr=g((gOe,AM)=>{"use strict";var{Transform:dee}=require("node:stream"),XL=require("node:zlib"),{redirectStatusSet:pee,referrerPolicySet:mee,badPortsSet:hee}=xA(),{getGlobalOrigin:ZL}=hw(),{collectASequenceOfCodePoints:fa,collectAnHTTPQuotedString:fee,removeChars:gee,parseMIMEType:Eee}=Ir(),{performance:yee}=require("node:perf_hooks"),{isBlobLike:Cee,ReadableStreamFrom:Iee,isValidHTTPToken:eM,normalizedMethodRecordsBase:Bee}=Ae(),ga=require("node:assert"),{isUint8Array:wee}=require("node:util/types"),{webidl:SA}=Gt(),tM=[],ph;try{ph=require("node:crypto");let t=["sha256","sha384","sha512"];tM=ph.getHashes().filter(e=>t.includes(e))}catch{}function rM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(rM,"responseURL");function bee(t,e){if(!pee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&nM(r)&&(sM(r)||(r=Qee(r)),r=new URL(r,rM(t))),r&&!r.hash&&(r.hash=e),r}o(bee,"responseLocationURL");function sM(t){for(let e=0;e126||r<32)return!1}return!0}o(sM,"isValidEncodedURL");function Qee(t){return Buffer.from(t,"binary").toString("utf8")}o(Qee,"normalizeBinaryStringToUtf8");function TA(t){return t.urlList[t.urlList.length-1]}o(TA,"requestCurrentURL");function xee(t){let e=TA(t);return lM(e)&&hee.has(e.port)?"blocked":"allowed"}o(xee,"requestBadPort");function Nee(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Nee,"isErrorLike");function See(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(See,"isValidReasonPhrase");var Ree=eM;function nM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` -`)||t.includes("\r")||t.includes("\0"))===!1}o(nM,"isValidHeaderValue");function Tee(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(mee.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(Tee,"setRequestReferrerPolicyOnRedirect");function Pee(){return"allowed"}o(Pee,"crossOriginResourcePolicyCheck");function vee(){return"success"}o(vee,"corsCheck");function kee(){return"success"}o(kee,"TAOCheck");function Dee(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Dee,"appendFetchMetadata");function _ee(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&yw(t.origin)&&!yw(TA(t))&&(e=null);break;case"same-origin":mh(t,TA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(_ee,"appendRequestOriginHeader");function Zc(t,e){return t}o(Zc,"coarsenTime");function Lee(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=mh(t,s),a=RA(s)&&!RA(t.url);switch(e){case"origin":return n??Ew(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=TA(t);return mh(s,c)?s:RA(s)&&!RA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(Uee,"determineRequestsReferrer");function Ew(t,e){return ga(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(Ew,"stripURLForReferrer");function RA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(RA,"isURLPotentiallyTrustworthy");function qee(t,e){if(ph===void 0)return!0;let r=oM(e);if(r==="no metadata"||r.length===0)return!0;let s=Hee(r),n=zee(r,s);for(let i of n){let a=i.algo,c=i.hash,l=ph.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),Vee(l,c))return!0}return!1}o(qee,"bytesMatch");var Gee=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function oM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=Gee.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();tM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(oM,"parseMetadata");function Hee(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=s,e=n}),resolve:t,reject:e}}o(Yee,"createDeferredPromise");function Jee(t){return t.controller.state==="aborted"}o(Jee,"isAborted");function Wee(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Wee,"isCancelled");function jee(t){return Bee[t.toLowerCase()]??t}o(jee,"normalizeMethod");function Kee(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return ga(typeof e=="string"),e}o(Kee,"serializeJavascriptValueToJSONString");var Xee=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function aM(t,e,r=0,s=1){class n{static{o(this,"FastIterableIterator")}#e;#t;#s;constructor(a,c){this.#e=a,this.#t=c,this.#s=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#s,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[s]:A}=c[a];this.#s=a+1;let d;switch(this.#t){case"key":d=u;break;case"value":d=A;break;case"key+value":d=[u,A];break}return{value:d,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,Xee),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new n(i,a)}}o(aM,"createIterator");function Zee(t,e,r,s=0,n=1){let i=aM(t,r,s,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return SA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return SA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return SA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(SA.brandCheck(this,e),SA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:A,1:d}of i(this,"key+value"))l.call(u,d,A,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(Zee,"iteratorMixin");async function ete(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(a){n(a);return}try{s(await cM(i))}catch(a){n(a)}}o(ete,"fullyReadBody");function tte(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(tte,"isReadableStreamLike");function rte(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(rte,"readableStreamClose");var ste=/[^\x00-\xFF]/;function dh(t){return ga(!ste.test(t)),t}o(dh,"isomorphicEncode");async function cM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!wee(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}o(cM,"readAllBytes");function nte(t){ga("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(nte,"urlIsLocal");function yw(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(yw,"urlHasHttpsScheme");function lM(t){ga("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(lM,"urlIsHttpHttpsScheme");function ite(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&fa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&fa(l=>l===" "||l===" ",r,s);let n=fa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),i=n.length?Number(n):null;if(e&&fa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&fa(l=>l===" "||l===" ",r,s);let a=fa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),c=a.length?Number(a):null;return s.positionc?"failure":{rangeStartValue:i,rangeEndValue:c}}o(ite,"simpleRangeHeaderValue");function ote(t,e,r){let s="bytes ";return s+=dh(`${t}`),s+="-",s+=dh(`${e}`),s+="/",s+=dh(`${r}`),s}o(ote,"buildContentRange");var Cw=class extends dee{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,s){if(!this._inflateStream){if(e.length===0){s();return}this._inflateStream=(e[0]&15)===8?XL.createInflate(this.#e):XL.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",n=>this.destroy(n))}this._inflateStream.write(e,r,s)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function ate(t){return new Cw(t)}o(ate,"createInflate");function cte(t){let e=null,r=null,s=null,n=uM("content-type",t);if(n===null)return"failure";for(let i of n){let a=Eee(i);a==="failure"||a.essence==="*/*"||(s=a,s.essence!==r?(e=null,s.parameters.has("charset")&&(e=s.parameters.get("charset")),r=s.essence):!s.parameters.has("charset")&&e!==null&&s.parameters.set("charset",e))}return s??"failure"}o(cte,"extractMimeType");function lte(t){let e=t,r={position:0},s=[],n="";for(;r.positioni!=='"'&&i!==",",e,r),r.positioni===9||i===32),s.push(n),n=""}return s}o(lte,"gettingDecodingSplitting");function uM(t,e){let r=e.get(t,!0);return r===null?null:lte(r)}o(uM,"getDecodeSplit");var ute=new TextDecoder;function Ate(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),ute.decode(t))}o(Ate,"utf8DecodeBytes");var Iw=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return ZL()}get origin(){return this.baseUrl?.origin}policyContainer=iM()},Bw=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new Iw},dte=new Bw;AM.exports={isAborted:Jee,isCancelled:Wee,isValidEncodedURL:sM,createDeferredPromise:Yee,ReadableStreamFrom:Iee,tryUpgradeRequestToAPotentiallyTrustworthyURL:$ee,clampAndCoarsenConnectionTimingInfo:Lee,coarsenedSharedCurrentTime:Mee,determineRequestsReferrer:Uee,makePolicyContainer:iM,clonePolicyContainer:Fee,appendFetchMetadata:Dee,appendRequestOriginHeader:_ee,TAOCheck:kee,corsCheck:vee,crossOriginResourcePolicyCheck:Pee,createOpaqueTimingInfo:Oee,setRequestReferrerPolicyOnRedirect:Tee,isValidHTTPToken:eM,requestBadPort:xee,requestCurrentURL:TA,responseURL:rM,responseLocationURL:bee,isBlobLike:Cee,isURLPotentiallyTrustworthy:RA,isValidReasonPhrase:See,sameOrigin:mh,normalizeMethod:jee,serializeJavascriptValueToJSONString:Kee,iteratorMixin:Zee,createIterator:aM,isValidHeaderName:Ree,isValidHeaderValue:nM,isErrorLike:Nee,fullyReadBody:ete,bytesMatch:qee,isReadableStreamLike:tte,readableStreamClose:rte,isomorphicEncode:dh,urlIsLocal:nte,urlHasHttpsScheme:yw,urlIsHttpHttpsScheme:lM,readAllBytes:cM,simpleRangeHeaderValue:ite,buildContentRange:ote,parseMetadata:oM,createInflate:ate,extractMimeType:cte,getDecodeSplit:uM,utf8DecodeBytes:Ate,environmentSettingsObject:dte}});var ho=g((yOe,dM)=>{"use strict";dM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var bw=g((COe,pM)=>{"use strict";var{Blob:pte,File:mte}=require("node:buffer"),{kState:Ri}=ho(),{webidl:bn}=Gt(),ww=class t{static{o(this,"FileLike")}constructor(e,r,s={}){let n=r,i=s.type,a=s.lastModified??Date.now();this[Ri]={blobLike:e,name:n,type:i,lastModified:a}}stream(...e){return bn.brandCheck(this,t),this[Ri].blobLike.stream(...e)}arrayBuffer(...e){return bn.brandCheck(this,t),this[Ri].blobLike.arrayBuffer(...e)}slice(...e){return bn.brandCheck(this,t),this[Ri].blobLike.slice(...e)}text(...e){return bn.brandCheck(this,t),this[Ri].blobLike.text(...e)}get size(){return bn.brandCheck(this,t),this[Ri].blobLike.size}get type(){return bn.brandCheck(this,t),this[Ri].blobLike.type}get name(){return bn.brandCheck(this,t),this[Ri].name}get lastModified(){return bn.brandCheck(this,t),this[Ri].lastModified}get[Symbol.toStringTag](){return"File"}};bn.converters.Blob=bn.interfaceConverter(pte);function hte(t){return t instanceof mte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(hte,"isFileLike");pM.exports={FileLike:ww,isFileLike:hte}});var vA=g((BOe,EM)=>{"use strict";var{isBlobLike:hh,iteratorMixin:fte}=zr(),{kState:nr}=ho(),{kEnumerableProperty:el}=Ae(),{FileLike:mM,isFileLike:gte}=bw(),{webidl:De}=Gt(),{File:gM}=require("node:buffer"),hM=require("node:util"),fM=globalThis.File??gM,PA=class t{static{o(this,"FormData")}constructor(e){if(De.util.markAsUncloneable(this),e!==void 0)throw De.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[nr]=[]}append(e,r,s=void 0){De.brandCheck(this,t);let n="FormData.append";if(De.argumentLengthCheck(arguments,2,n),arguments.length===3&&!hh(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=De.converters.USVString(e,n,"name"),r=hh(r)?De.converters.Blob(r,n,"value",{strict:!1}):De.converters.USVString(r,n,"value"),s=arguments.length===3?De.converters.USVString(s,n,"filename"):void 0;let i=Qw(e,r,s);this[nr].push(i)}delete(e){De.brandCheck(this,t);let r="FormData.delete";De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name"),this[nr]=this[nr].filter(s=>s.name!==e)}get(e){De.brandCheck(this,t);let r="FormData.get";De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name");let s=this[nr].findIndex(n=>n.name===e);return s===-1?null:this[nr][s].value}getAll(e){De.brandCheck(this,t);let r="FormData.getAll";return De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name"),this[nr].filter(s=>s.name===e).map(s=>s.value)}has(e){De.brandCheck(this,t);let r="FormData.has";return De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name"),this[nr].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){De.brandCheck(this,t);let n="FormData.set";if(De.argumentLengthCheck(arguments,2,n),arguments.length===3&&!hh(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=De.converters.USVString(e,n,"name"),r=hh(r)?De.converters.Blob(r,n,"name",{strict:!1}):De.converters.USVString(r,n,"name"),s=arguments.length===3?De.converters.USVString(s,n,"name"):void 0;let i=Qw(e,r,s),a=this[nr].findIndex(c=>c.name===e);a!==-1?this[nr]=[...this[nr].slice(0,a),i,...this[nr].slice(a+1).filter(c=>c.name!==e)]:this[nr].push(i)}[hM.inspect.custom](e,r){let s=this[nr].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let n=hM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};fte("FormData",PA,nr,"name","value");Object.defineProperties(PA.prototype,{append:el,delete:el,get:el,getAll:el,has:el,set:el,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Qw(t,e,r){if(typeof e!="string"){if(gte(e)||(e=e instanceof Blob?new fM([e],"blob",{type:e.type}):new mM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof gM?new fM([e],r,s):new mM(e,r,s)}}return{name:t,value:e}}o(Qw,"makeEntry");EM.exports={FormData:PA,makeEntry:Qw}});var bM=g((bOe,wM)=>{"use strict";var{isUSVString:yM,bufferToLowerCasedHeaderName:Ete}=Ae(),{utf8DecodeBytes:yte}=zr(),{HTTP_TOKEN_CODEPOINTS:Cte,isomorphicDecode:CM}=Ir(),{isFileLike:Ite}=bw(),{makeEntry:Bte}=vA(),fh=require("node:assert"),{File:wte}=require("node:buffer"),bte=globalThis.File??wte,Qte=Buffer.from('form-data; name="'),IM=Buffer.from("; filename"),xte=Buffer.from("--"),Nte=Buffer.from(`--\r -`);function Ste(t){for(let e=0;e70)return!1;for(let r=0;r=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(Rte,"validateBoundary");function Tte(t,e){fh(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&gh(t,xte,i)||i.position===t.length-4&&gh(t,Nte,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=Pte(t,i);if(c==="failure")return"failure";let{name:l,filename:u,contentType:A,encoding:d}=c;i.position+=2;let p;{let h=t.indexOf(s.subarray(2),i.position);if(h===-1)return"failure";p=t.subarray(i.position,h-4),i.position+=p.length,d==="base64"&&(p=Buffer.from(p.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let m;u!==null?(A??="text/plain",Ste(A)||(A=""),m=new bte([p],u,{type:A})):m=yte(Buffer.from(p)),fh(yM(l)),fh(typeof m=="string"&&yM(m)||Ite(m)),n.push(Bte(l,m,u))}}o(Tte,"multipartFormDataParser");function Pte(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=tl(c=>c!==10&&c!==13&&c!==58,t,e);if(a=xw(a,!0,!0,c=>c===9||c===32),!Cte.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,tl(c=>c===32||c===9,t,e),Ete(a)){case"content-disposition":{if(r=s=null,!gh(t,Qte,e)||(e.position+=17,r=BM(t,e),r===null))return"failure";if(gh(t,IM,e)){let c=e.position+IM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=BM(t,e),s===null))return"failure"}break}case"content-type":{let c=tl(l=>l!==10&&l!==13,t,e);c=xw(c,!1,!0,l=>l===9||l===32),n=CM(c);break}case"content-transfer-encoding":{let c=tl(l=>l!==10&&l!==13,t,e);c=xw(c,!1,!0,l=>l===9||l===32),i=CM(c);break}default:tl(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Pte,"parseMultipartFormDataHeaders");function BM(t,e){fh(t[e.position-1]===34);let r=tl(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` -`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(BM,"parseMultipartFormDataName");function tl(t,e,r){let s=r.position;for(;s0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(xw,"removeChars");function gh(t,e,r){if(t.length{"use strict";var kA=Ae(),{ReadableStreamFrom:vte,isBlobLike:QM,isReadableStreamLike:kte,readableStreamClose:Dte,createDeferredPromise:_te,fullyReadBody:Lte,extractMimeType:Mte,utf8DecodeBytes:SM}=zr(),{FormData:xM}=vA(),{kState:sl}=ho(),{webidl:Ote}=Gt(),{Blob:Fte}=require("node:buffer"),Nw=require("node:assert"),{isErrored:RM,isDisturbed:Ute}=require("node:stream"),{isArrayBuffer:qte}=require("node:util/types"),{serializeAMimeType:Gte}=Ir(),{multipartFormDataParser:Hte}=bM(),Sw;try{let t=require("node:crypto");Sw=o(e=>t.randomInt(0,e),"random")}catch{Sw=o(t=>Math.floor(Math.random(t)),"random")}var Eh=new TextEncoder;function zte(){}o(zte,"noop");var TM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,PM;TM&&(PM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Ute(e)&&!RM(e)&&e.cancel("Response object has been garbage collected").catch(zte)}));function vM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:QM(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?Eh.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>Dte(l))},start(){},type:"bytes"}),Nw(kte(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(qte(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(kA.isFormDataLike(t)){let l=`----formdata-undici-0${`${Sw(1e11)}`.padStart(11,"0")}`,u=`--${l}\r +var eZ=Object.create;var $m=Object.defineProperty;var tZ=Object.getOwnPropertyDescriptor;var rZ=Object.getOwnPropertyNames;var sZ=Object.getPrototypeOf,nZ=Object.prototype.hasOwnProperty;var o=(t,e)=>$m(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),iZ=(t,e)=>{for(var r in e)$m(t,r,{get:e[r],enumerable:!0})},oZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of rZ(e))!nZ.call(t,n)&&n!==r&&$m(t,n,{get:()=>e[n],enumerable:!(s=tZ(e,n))||s.enumerable});return t};var b=(t,e,r)=>(r=t!=null?eZ(sZ(t)):{},oZ(e||!t||!t.__esModule?$m(r,"default",{value:t,enumerable:!0}):r,t));var C_=g(Hc=>{"use strict";var FMe=require("net"),uZ=require("tls"),bB=require("http"),g_=require("https"),AZ=require("events"),UMe=require("assert"),dZ=require("util");Hc.httpOverHttp=pZ;Hc.httpsOverHttp=mZ;Hc.httpOverHttps=hZ;Hc.httpsOverHttps=fZ;function pZ(t){var e=new bi(t);return e.request=bB.request,e}o(pZ,"httpOverHttp");function mZ(t){var e=new bi(t);return e.request=bB.request,e.createSocket=E_,e.defaultPort=443,e}o(mZ,"httpsOverHttp");function hZ(t){var e=new bi(t);return e.request=g_.request,e}o(hZ,"httpOverHttps");function fZ(t){var e=new bi(t);return e.request=g_.request,e.createSocket=E_,e.defaultPort=443,e}o(fZ,"httpsOverHttps");function bi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||bB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=y_(n,i,a),l=0,u=e.requests.length;l=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function u(A){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");bi.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=QB({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),mo("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,p,m){process.nextTick(function(){u(d,p,m)})}o(l,"onUpgrade");function u(d,p,m){if(a.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){mo("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}if(m.length>0){mo("got illegal response body from proxy"),p.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}return mo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),mo(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(A,"onError")},"createSocket");bi.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function E_(t,e){var r=this;bi.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=QB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=uZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(E_,"createSecureSocket");function y_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(y_,"toOptions");function QB(t){for(var e=1,r=arguments.length;e{I_.exports=C_()});var Ge=g((zMe,B_)=>{B_.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"),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"),kBody:Symbol("abstracted request body"),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"),kResume:Symbol("resume"),kOnError:Symbol("on error"),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"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var Ce=g((VMe,Y_)=>{"use strict";var w_=Symbol.for("undici.error.UND_ERR"),He=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[w_]===!0}[w_]=!0},b_=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),xB=class extends He{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[b_]===!0}[b_]=!0},Q_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),NB=class extends He{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[Q_]===!0}[Q_]=!0},x_=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),SB=class extends He{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[x_]===!0}[x_]=!0},N_=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),RB=class extends He{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[N_]===!0}[N_]=!0},S_=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),TB=class extends He{static{o(this,"ResponseStatusCodeError")}constructor(e,r,s,n){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=n,this.status=r,this.statusCode=r,this.headers=s}static[Symbol.hasInstance](e){return e&&e[S_]===!0}[S_]=!0},R_=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),PB=class extends He{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[R_]===!0}[R_]=!0},T_=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),vB=class extends He{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[T_]===!0}[T_]=!0},P_=Symbol.for("undici.error.UND_ERR_ABORT"),Wm=class extends He{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[P_]===!0}[P_]=!0},v_=Symbol.for("undici.error.UND_ERR_ABORTED"),kB=class extends Wm{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[v_]===!0}[v_]=!0},k_=Symbol.for("undici.error.UND_ERR_INFO"),DB=class extends He{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[k_]===!0}[k_]=!0},D_=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),_B=class extends He{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[D_]===!0}[D_]=!0},__=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),LB=class extends He{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[__]===!0}[__]=!0},L_=Symbol.for("undici.error.UND_ERR_DESTROYED"),MB=class extends He{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[L_]===!0}[L_]=!0},M_=Symbol.for("undici.error.UND_ERR_CLOSED"),OB=class extends He{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[M_]===!0}[M_]=!0},O_=Symbol.for("undici.error.UND_ERR_SOCKET"),FB=class extends He{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[O_]===!0}[O_]=!0},F_=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),UB=class extends He{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[F_]===!0}[F_]=!0},U_=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),qB=class extends He{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[U_]===!0}[U_]=!0},q_=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),GB=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,s){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=s?s.toString():void 0}static[Symbol.hasInstance](e){return e&&e[q_]===!0}[q_]=!0},G_=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),HB=class extends He{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[G_]===!0}[G_]=!0},H_=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),zB=class extends He{static{o(this,"RequestRetryError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[H_]===!0}[H_]=!0},z_=Symbol.for("undici.error.UND_ERR_RESPONSE"),VB=class extends He{static{o(this,"ResponseError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[z_]===!0}[z_]=!0},V_=Symbol.for("undici.error.UND_ERR_PRX_TLS"),$B=class extends He{static{o(this,"SecureProxyConnectionError")}constructor(e,r,s){super(r,{cause:e,...s??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[V_]===!0}[V_]=!0},$_=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),YB=class extends He{static{o(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[$_]===!0}get[$_](){return!0}};Y_.exports={AbortError:Wm,HTTPParserError:GB,UndiciError:He,HeadersTimeoutError:NB,HeadersOverflowError:SB,BodyTimeoutError:RB,RequestContentLengthMismatchError:_B,ConnectTimeoutError:xB,ResponseStatusCodeError:TB,InvalidArgumentError:PB,InvalidReturnValueError:vB,RequestAbortedError:kB,ClientDestroyedError:MB,ClientClosedError:OB,InformationalError:DB,SocketError:FB,NotSupportedError:UB,ResponseContentLengthMismatchError:LB,BalancedPoolMissingUpstreamError:qB,ResponseExceededMaxSizeError:HB,RequestRetryError:zB,ResponseError:VB,SecureProxyConnectionError:$B,MessageSizeExceededError:YB}});var Km=g((YMe,J_)=>{"use strict";var jm={},JB=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let t=0;t{"use strict";var{wellknownHeaderNames:W_,headerNameLowerCasedRecord:gZ}=Km(),WB=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,s){if(s===void 0||s>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(s))>127)throw new TypeError("key must be ascii string");e.length!==++s?this.middle=new t(e,r,s):this.value=r}add(e,r){let s=e.length;if(s===0)throw new TypeError("Unreachable");let n=0,i=this;for(;;){let a=e.charCodeAt(n);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(s===++n){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,n);break}else if(i.code=65&&(i|=32);n!==null;){if(i===n.code){if(r===++s)return n;n=n.middle;break}n=n.code{"use strict";var BA=require("node:assert"),{kDestroyed:eL,kBodyUsed:zc,kListeners:jB,kBody:Z_}=Ge(),{IncomingMessage:EZ}=require("node:http"),th=require("node:stream"),yZ=require("node:net"),{Blob:CZ}=require("node:buffer"),IZ=require("node:util"),{stringify:BZ}=require("node:querystring"),{EventEmitter:wZ}=require("node:events"),{InvalidArgumentError:Dt}=Ce(),{headerNameLowerCasedRecord:bZ}=Km(),{tree:tL}=X_(),[QZ,xZ]=process.versions.node.split(".").map(t=>Number(t)),eh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Z_]=e,this[zc]=!1}async*[Symbol.asyncIterator](){BA(!this[zc],"disturbed"),this[zc]=!0,yield*this[Z_]}};function NZ(t){return rh(t)?(oL(t)===0&&t.on("data",function(){BA(!1)}),typeof t.readableDidRead!="boolean"&&(t[zc]=!1,wZ.prototype.on.call(t,"data",function(){this[zc]=!0})),t):t&&typeof t.pipeTo=="function"?new eh(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&iL(t)?new eh(t):t}o(NZ,"wrapRequestBody");function SZ(){}o(SZ,"nop");function rh(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(rh,"isStream");function rL(t){if(t===null)return!1;if(t instanceof CZ)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(rL,"isBlobLike");function RZ(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=BZ(e);return r&&(t+="?"+r),t}o(RZ,"buildURL");function sL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(sL,"isValidPort");function Zm(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Zm,"isHttpOrHttpsPrefixed");function nL(t){if(typeof t=="string"){if(t=new URL(t),!Zm(t.origin||t.protocol))throw new Dt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Dt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&sL(t.port)===!1)throw new Dt("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Dt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Dt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Dt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Dt("Invalid URL origin: the origin must be a string or null/undefined.");if(!Zm(t.origin||t.protocol))throw new Dt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,s=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),s&&s[0]!=="/"&&(s=`/${s}`),new URL(`${r}${s}`)}if(!Zm(t.origin||t.protocol))throw new Dt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(nL,"parseURL");function TZ(t){if(t=nL(t),t.pathname!=="/"||t.search||t.hash)throw new Dt("invalid url");return t}o(TZ,"parseOrigin");function PZ(t){if(t[0]==="["){let r=t.indexOf("]");return BA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(PZ,"getHostname");function vZ(t){if(!t)return null;BA(typeof t=="string");let e=PZ(t);return yZ.isIP(e)?"":e}o(vZ,"getServerName");function kZ(t){return JSON.parse(JSON.stringify(t))}o(kZ,"deepClone");function DZ(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(DZ,"isAsyncIterable");function iL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(iL,"isIterable");function oL(t){if(t==null)return 0;if(rh(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(rL(t))return t.size!=null?t.size:null;if(lL(t))return t.byteLength}return null}o(oL,"bodyLength");function aL(t){return t&&!!(t.destroyed||t[eL]||th.isDestroyed?.(t))}o(aL,"isDestroyed");function _Z(t,e){t==null||!rh(t)||aL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===EZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[eL]=!0))}o(_Z,"destroy");var LZ=/timeout=(\d+)/;function MZ(t){let e=t.toString().match(LZ);return e?parseInt(e[1],10)*1e3:null}o(MZ,"parseKeepAliveTimeout");function cL(t){return typeof t=="string"?bZ[t]??t.toLowerCase():tL.lookup(t)??t.toString("latin1").toLowerCase()}o(cL,"headerNameToString");function OZ(t){return tL.lookup(t)??t.toString("latin1").toLowerCase()}o(OZ,"bufferToLowerCasedHeaderName");function FZ(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(FZ,"parseHeaders");function UZ(t){let e=t.length,r=new Array(e),s=!1,n=-1,i,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(n)?n:Buffer.from(n);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o($Z,"ReadableStreamFrom");function YZ(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(YZ,"isFormDataLike");function JZ(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o(JZ,"addAbortListener");var WZ=typeof String.prototype.toWellFormed=="function",jZ=typeof String.prototype.isWellFormed=="function";function uL(t){return WZ?`${t}`.toWellFormed():IZ.toUSVString(t)}o(uL,"toUSVString");function KZ(t){return jZ?`${t}`.isWellFormed():uL(t)===`${t}`}o(KZ,"isUSVString");function AL(t){switch(t){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 t>=33&&t<=126}}o(AL,"isTokenCharCode");function XZ(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Qe=require("node:diagnostics_channel"),ZB=require("node:util"),sh=ZB.debuglog("undici"),XB=ZB.debuglog("fetch"),ma=ZB.debuglog("websocket"),hL=!1,i7={beforeConnect:Qe.channel("undici:client:beforeConnect"),connected:Qe.channel("undici:client:connected"),connectError:Qe.channel("undici:client:connectError"),sendHeaders:Qe.channel("undici:client:sendHeaders"),create:Qe.channel("undici:request:create"),bodySent:Qe.channel("undici:request:bodySent"),headers:Qe.channel("undici:request:headers"),trailers:Qe.channel("undici:request:trailers"),error:Qe.channel("undici:request:error"),open:Qe.channel("undici:websocket:open"),close:Qe.channel("undici:websocket:close"),socketError:Qe.channel("undici:websocket:socket_error"),ping:Qe.channel("undici:websocket:ping"),pong:Qe.channel("undici:websocket:pong")};if(sh.enabled||XB.enabled){let t=XB.enabled?XB:sh;Qe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Qe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Qe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${n?`:${n}`:""}`,s,r,a.message)}),Qe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)}),Qe.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:s,origin:n},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,n,s,i)}),Qe.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("trailers received from %s %s/%s",r,n,s)}),Qe.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:s,origin:n},error:i}=e;t("request to %s %s/%s errored - %s",r,n,s,i.message)}),hL=!0}if(ma.enabled){if(!hL){let t=sh.enabled?sh:ma;Qe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Qe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Qe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,n?`:${n}`:"",s,r,a.message)}),Qe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)})}Qe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;ma("connection opened %s%s",e,r?`:${r}`:"")}),Qe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;ma("closed connection to %s - %s %s",e.url,r,s)}),Qe.channel("undici:websocket:socket_error").subscribe(t=>{ma("connection errored - %s",t.message)}),Qe.channel("undici:websocket:ping").subscribe(t=>{ma("ping received")}),Qe.channel("undici:websocket:pong").subscribe(t=>{ma("pong received")})}fL.exports={channels:i7}});var CL=g((ZMe,yL)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:o7}=Ce(),Qi=require("node:assert"),{isValidHTTPToken:EL,isValidHeaderValue:wA,isStream:a7,destroy:c7,isBuffer:l7,isFormDataLike:u7,isIterable:A7,isBlobLike:d7,buildURL:p7,validateHandler:m7,getServerName:h7,normalizedMethodRecords:f7}=Ae(),{channels:Bn}=Vc(),{headerNameLowerCasedRecord:gL}=Km(),g7=/[^\u0021-\u00ff]/,hs=Symbol("handler"),ew=class{static{o(this,"Request")}constructor(e,{path:r,method:s,body:n,headers:i,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:A,bodyTimeout:d,reset:p,throwOnError:m,expectContinue:h,servername:f},C){if(typeof r!="string")throw new Se("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new Se("path must be an absolute URL or start with a slash");if(g7.test(r))throw new Se("invalid request path");if(typeof s!="string")throw new Se("method must be a string");if(f7[s]===void 0&&!EL(s))throw new Se("invalid request method");if(u&&typeof u!="string")throw new Se("upgrade must be a string");if(u&&!wA(u))throw new Se("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new Se("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Se("invalid bodyTimeout");if(p!=null&&typeof p!="boolean")throw new Se("invalid reset");if(h!=null&&typeof h!="boolean")throw new Se("invalid expectContinue");if(this.headersTimeout=A,this.bodyTimeout=d,this.throwOnError=m===!0,this.method=s,this.abort=null,n==null)this.body=null;else if(a7(n)){this.body=n;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=o(function(){c7(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=y=>{this.abort?this.abort(y):this.error=y},this.body.on("error",this.errorHandler)}else if(l7(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if(typeof n=="string")this.body=n.length?Buffer.from(n):null;else if(u7(n)||A7(n)||d7(n))this.body=n;else throw new Se("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=u||null,this.path=a?p7(r,a):r,this.origin=e,this.idempotent=c??(s==="HEAD"||s==="GET"),this.blocking=l??!1,this.reset=p??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=h??!1,Array.isArray(i)){if(i.length%2!==0)throw new Se("headers array must be even");for(let E=0;E{"use strict";var E7=require("node:events"),ih=class extends E7{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,s=this.dispatch.bind(this);for(let n of r)if(n!=null){if(typeof n!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof n}`);if(s=n(s),s==null||typeof s!="function"||s.length!==2)throw new TypeError("invalid interceptor")}return new tw(this,s)}},tw=class extends ih{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};IL.exports=ih});var Wc=g((sOe,BL)=>{"use strict";var y7=bA(),{ClientDestroyedError:rw,ClientClosedError:C7,InvalidArgumentError:$c}=Ce(),{kDestroy:I7,kClose:B7,kClosed:QA,kDestroyed:Yc,kDispatch:sw,kInterceptors:ha}=Ge(),xi=Symbol("onDestroyed"),Jc=Symbol("onClosed"),oh=Symbol("Intercepted Dispatch"),nw=Symbol("webSocketOptions"),iw=class extends y7{static{o(this,"DispatcherBase")}constructor(e){super(),this[Yc]=!1,this[xi]=null,this[QA]=!1,this[Jc]=[],this[nw]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[nw].maxFragments??131072,maxPayloadSize:this[nw].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Yc]}get closed(){return this[QA]}get interceptors(){return this[ha]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[ha][r]!="function")throw new $c("interceptor must be an function")}this[ha]=e}close(e){if(e===void 0)return new Promise((s,n)=>{this.close((i,a)=>i?n(i):s(a))});if(typeof e!="function")throw new $c("invalid callback");if(this[Yc]){queueMicrotask(()=>e(new rw,null));return}if(this[QA]){this[Jc]?this[Jc].push(e):queueMicrotask(()=>e(null,null));return}this[QA]=!0,this[Jc].push(e);let r=o(()=>{let s=this[Jc];this[Jc]=null;for(let n=0;nthis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((n,i)=>{this.destroy(e,(a,c)=>a?i(a):n(c))});if(typeof r!="function")throw new $c("invalid callback");if(this[Yc]){this[xi]?this[xi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new rw),this[Yc]=!0,this[xi]=this[xi]||[],this[xi].push(r);let s=o(()=>{let n=this[xi];this[xi]=null;for(let i=0;i{queueMicrotask(s)})}[oh](e,r){if(!this[ha]||this[ha].length===0)return this[oh]=this[sw],this[sw](e,r);let s=this[sw].bind(this);for(let n=this[ha].length-1;n>=0;n--)s=this[ha][n](s);return this[oh]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new $c("handler must be an object");try{if(!e||typeof e!="object")throw new $c("opts must be an object.");if(this[Yc]||this[xi])throw new rw;if(this[QA])throw new C7;return this[oh](e,r)}catch(s){if(typeof r.onError!="function")throw new $c("invalid onError method");return r.onError(s),!1}}};BL.exports=iw});var dw=g((iOe,xL)=>{"use strict";var jc=0,ow=1e3,aw=(ow>>1)-1,Ni,cw=Symbol("kFastTimer"),Si=[],lw=-2,uw=-1,bL=0,wL=1;function Aw(){jc+=aw;let t=0,e=Si.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=uw,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===uw?(r._state=lw,--e!==0&&(Si[t]=Si[e])):++t}Si.length=e,Si.length!==0&&QL()}o(Aw,"onTick");function QL(){Ni?Ni.refresh():(clearTimeout(Ni),Ni=setTimeout(Aw,aw),Ni.unref&&Ni.unref())}o(QL,"refreshTimeout");var ah=class{static{o(this,"FastTimer")}[cw]=!0;_state=lw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===lw&&Si.push(this),(!Ni||Si.length===1)&&QL(),this._state=bL}clear(){this._state=uw,this._idleStart=-1}};xL.exports={setTimeout(t,e,r){return e<=ow?setTimeout(t,e,r):new ah(t,e,r)},clearTimeout(t){t[cw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new ah(t,e,r)},clearFastTimeout(t){t.clear()},now(){return jc},tick(t=0){jc+=t-ow+1,Aw(),Aw()},reset(){jc=0,Si.length=0,clearTimeout(Ni),Ni=null},kFastTimer:cw}});var xA=g((lOe,PL)=>{"use strict";var w7=require("node:net"),NL=require("node:assert"),TL=Ae(),{InvalidArgumentError:b7,ConnectTimeoutError:Q7}=Ce(),ch=dw();function SL(){}o(SL,"noop");var pw,mw;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?mw=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:s}=this._sessionCache.keys().next();this._sessionCache.delete(s)}this._sessionCache.set(e,r)}}};function x7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new b7("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new mw(e??100);return s=s??1e4,t=t??!1,o(function({hostname:u,host:A,protocol:d,port:p,servername:m,localAddress:h,httpSocket:f},C){let E;if(d==="https:"){pw||(pw=require("node:tls")),m=m||a.servername||TL.getServerName(A)||null;let I=m||u;NL(I);let B=n||c.get(I)||null;p=p||443,E=pw.connect({highWaterMark:16384,...a,servername:m,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:p,host:u}),E.on("session",function(N){c.set(I,N)})}else NL(!f,"httpSocket can only be sent on TLS update"),p=p||80,E=w7.connect({highWaterMark:64*1024,...a,localAddress:h,port:p,host:u});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;E.setKeepAlive(!0,I)}let y=N7(new WeakRef(E),{timeout:s,hostname:u,port:p});return E.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(y),C){let I=C;C=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(y),C){let B=C;C=null,B(I)}}),E},"connect")}o(x7,"buildConnector");var N7=process.platform==="win32"?(t,e)=>{if(!e.timeout)return SL;let r=null,s=null,n=ch.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>RL(t.deref(),e))})},e.timeout);return()=>{ch.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return SL;let r=null,s=ch.setFastTimeout(()=>{r=setImmediate(()=>{RL(t.deref(),e)})},e.timeout);return()=>{ch.clearFastTimeout(s),clearImmediate(r)}};function RL(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,TL.destroy(t,new Q7(r))}o(RL,"onConnectTimeout");PL.exports=x7});var vL=g(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.enumToMap=void 0;function S7(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}o(S7,"enumToMap");lh.enumToMap=S7});var kL=g(x=>{"use strict";Object.defineProperty(x,"__esModule",{value:!0});x.SPECIAL_HEADERS=x.HEADER_STATE=x.MINOR=x.MAJOR=x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS=x.TOKEN=x.STRICT_TOKEN=x.HEX=x.URL_CHAR=x.STRICT_URL_CHAR=x.USERINFO_CHARS=x.MARK=x.ALPHANUM=x.NUM=x.HEX_MAP=x.NUM_MAP=x.ALPHA=x.FINISH=x.H_METHOD_MAP=x.METHOD_MAP=x.METHODS_RTSP=x.METHODS_ICE=x.METHODS_HTTP=x.METHODS=x.LENIENT_FLAGS=x.FLAGS=x.TYPE=x.ERROR=void 0;var R7=vL(),T7;(function(t){t[t.OK=0]="OK",t[t.INTERNAL=1]="INTERNAL",t[t.STRICT=2]="STRICT",t[t.LF_EXPECTED=3]="LF_EXPECTED",t[t.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",t[t.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",t[t.INVALID_METHOD=6]="INVALID_METHOD",t[t.INVALID_URL=7]="INVALID_URL",t[t.INVALID_CONSTANT=8]="INVALID_CONSTANT",t[t.INVALID_VERSION=9]="INVALID_VERSION",t[t.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",t[t.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",t[t.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",t[t.INVALID_STATUS=13]="INVALID_STATUS",t[t.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",t[t.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",t[t.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",t[t.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",t[t.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",t[t.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",t[t.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",t[t.PAUSED=21]="PAUSED",t[t.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",t[t.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",t[t.USER=24]="USER"})(T7=x.ERROR||(x.ERROR={}));var P7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(P7=x.TYPE||(x.TYPE={}));var v7;(function(t){t[t.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",t[t.CHUNKED=8]="CHUNKED",t[t.UPGRADE=16]="UPGRADE",t[t.CONTENT_LENGTH=32]="CONTENT_LENGTH",t[t.SKIPBODY=64]="SKIPBODY",t[t.TRAILING=128]="TRAILING",t[t.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(v7=x.FLAGS||(x.FLAGS={}));var k7;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(k7=x.LENIENT_FLAGS||(x.LENIENT_FLAGS={}));var j;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(j=x.METHODS||(x.METHODS={}));x.METHODS_HTTP=[j.DELETE,j.GET,j.HEAD,j.POST,j.PUT,j.CONNECT,j.OPTIONS,j.TRACE,j.COPY,j.LOCK,j.MKCOL,j.MOVE,j.PROPFIND,j.PROPPATCH,j.SEARCH,j.UNLOCK,j.BIND,j.REBIND,j.UNBIND,j.ACL,j.REPORT,j.MKACTIVITY,j.CHECKOUT,j.MERGE,j["M-SEARCH"],j.NOTIFY,j.SUBSCRIBE,j.UNSUBSCRIBE,j.PATCH,j.PURGE,j.MKCALENDAR,j.LINK,j.UNLINK,j.PRI,j.SOURCE];x.METHODS_ICE=[j.SOURCE];x.METHODS_RTSP=[j.OPTIONS,j.DESCRIBE,j.ANNOUNCE,j.SETUP,j.PLAY,j.PAUSE,j.TEARDOWN,j.GET_PARAMETER,j.SET_PARAMETER,j.REDIRECT,j.RECORD,j.FLUSH,j.GET,j.POST];x.METHOD_MAP=R7.enumToMap(j);x.H_METHOD_MAP={};Object.keys(x.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(x.H_METHOD_MAP[t]=x.METHOD_MAP[t])});var D7;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(D7=x.FINISH||(x.FINISH={}));x.ALPHA=[];for(let t=65;t<=90;t++)x.ALPHA.push(String.fromCharCode(t)),x.ALPHA.push(String.fromCharCode(t+32));x.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};x.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};x.NUM=["0","1","2","3","4","5","6","7","8","9"];x.ALPHANUM=x.ALPHA.concat(x.NUM);x.MARK=["-","_",".","!","~","*","'","(",")"];x.USERINFO_CHARS=x.ALPHANUM.concat(x.MARK).concat(["%",";",":","&","=","+","$",","]);x.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(x.ALPHANUM);x.URL_CHAR=x.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)x.URL_CHAR.push(t);x.HEX=x.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);x.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(x.ALPHANUM);x.TOKEN=x.STRICT_TOKEN.concat([" "]);x.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&x.HEADER_CHARS.push(t);x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS.filter(t=>t!==44);x.MAJOR=x.NUM_MAP;x.MINOR=x.MAJOR;var Kc;(function(t){t[t.GENERAL=0]="GENERAL",t[t.CONNECTION=1]="CONNECTION",t[t.CONTENT_LENGTH=2]="CONTENT_LENGTH",t[t.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",t[t.UPGRADE=4]="UPGRADE",t[t.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",t[t.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(Kc=x.HEADER_STATE||(x.HEADER_STATE={}));x.SPECIAL_HEADERS={connection:Kc.CONNECTION,"content-length":Kc.CONTENT_LENGTH,"proxy-connection":Kc.CONNECTION,"transfer-encoding":Kc.TRANSFER_ENCODING,upgrade:Kc.UPGRADE}});var hw=g((mOe,DL)=>{"use strict";var{Buffer:_7}=require("node:buffer");DL.exports=_7.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV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AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQ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AHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0hJSs8BzgFLzQFMzAFNTk9QUVJTVFVW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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AbgBuQG6AbsBvAG9Ab4BvwHAAcEBwgHDAcQBxQHG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FIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxg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AIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACE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=["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","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],U7=new Set(FL),UL=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],q7=new Set(UL),G7=["follow","manual","error"],qL=["GET","HEAD","OPTIONS","TRACE"],H7=new Set(qL),z7=["navigate","same-origin","no-cors","cors"],V7=["omit","same-origin","include"],$7=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Y7=["content-encoding","content-language","content-location","content-type","content-length"],J7=["half"],GL=["CONNECT","TRACE","TRACK"],W7=new Set(GL),HL=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],j7=new Set(HL);zL.exports={subresource:HL,forbiddenMethods:GL,requestBodyHeader:Y7,referrerPolicy:UL,requestRedirect:G7,requestMode:z7,requestCredentials:V7,requestCache:$7,redirectStatus:OL,corsSafeListedMethods:ML,nullBodyStatus:O7,safeMethods:qL,badPorts:FL,requestDuplex:J7,subresourceSet:j7,badPortsSet:U7,redirectStatusSet:F7,corsSafeListedMethodsSet:M7,safeMethodsSet:H7,forbiddenMethodsSet:W7,referrerPolicySet:q7}});var gw=g((gOe,VL)=>{"use strict";var fw=Symbol.for("undici.globalOrigin.1");function K7(){return globalThis[fw]}o(K7,"getGlobalOrigin");function X7(t){if(t===void 0){Object.defineProperty(globalThis,fw,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${e.protocol}`);Object.defineProperty(globalThis,fw,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(X7,"setGlobalOrigin");VL.exports={getGlobalOrigin:K7,setGlobalOrigin:X7}});var Ir=g((yOe,XL)=>{"use strict";var Ah=require("node:assert"),Z7=new TextEncoder,SA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,eee=/[\u000A\u000D\u0009\u0020]/,tee=/[\u0009\u000A\u000C\u000D\u0020]/g,ree=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function see(t){Ah(t.protocol==="data:");let e=JL(t,!0);e=e.slice(5);let r={position:0},s=Xc(",",e,r),n=s.length;if(s=lee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),a=WL(i);if(/;(\u0020){0,}base64$/i.test(s)){let l=KL(a);if(a=iee(l),a==="failure")return"failure";s=s.slice(0,-6),s=s.replace(/(\u0020)+$/,""),s=s.slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let c=Ew(s);return c==="failure"&&(c=Ew("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(see,"dataURLProcessor");function JL(t,e=!1){if(!e)return t.href;let r=t.href,s=t.hash.length,n=s===0?r:r.substring(0,r.length-s);return!s&&r.endsWith("#")?n.slice(0,-1):n}o(JL,"URLSerializer");function dh(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o($L,"isHexCharByte");function YL(t){return t>=48&&t<=57?t-48:(t&223)-55}o(YL,"hexByteToNumber");function nee(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=Xc(";",t,e);if(s=uh(s,!1,!0),s.length===0||!SA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),a={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positioneee.test(u),t,e);let c=dh(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=jL(t,e,!0),Xc(";",t,e);else if(l=Xc(";",t,e),l=uh(l,!1,!0),l.length===0)continue;c.length!==0&&SA.test(c)&&(l.length===0||ree.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(Ew,"parseMIMEType");function iee(t){t=t.replace(tee,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(iee,"forgivingBase64");function jL(t,e,r){let s=e.position,n="";for(Ah(t[e.position]==='"'),e.position++;n+=dh(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){n+="\\";break}n+=t[e.position],e.position++}else{Ah(i==='"');break}}return r?n:t.slice(s,e.position)}o(jL,"collectAnHTTPQuotedString");function oee(t){Ah(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",SA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}o(oee,"serializeAMimeType");function aee(t){return t===13||t===10||t===9||t===32}o(aee,"isHTTPWhiteSpace");function uh(t,e=!0,r=!0){return yw(t,e,r,aee)}o(uh,"removeHTTPWhitespace");function cee(t){return t===13||t===10||t===9||t===12||t===32}o(cee,"isASCIIWhitespace");function lee(t,e=!0,r=!0){return yw(t,e,r,cee)}o(lee,"removeASCIIWhitespace");function yw(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n0&&s(t.charCodeAt(i));)i--;return n===0&&i===t.length-1?t:t.slice(n,i+1)}o(yw,"removeChars");function KL(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",s=0,n=65535;for(;se&&(n=e-s),r+=String.fromCharCode.apply(null,t.subarray(s,s+=n));return r}o(KL,"isomorphicDecode");function uee(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(uee,"minimizeSupportedMimeType");XL.exports={dataURLProcessor:see,URLSerializer:JL,collectASequenceOfCodePoints:dh,collectASequenceOfCodePointsFast:Xc,stringPercentDecode:WL,parseMIMEType:Ew,collectAnHTTPQuotedString:jL,serializeAMimeType:oee,removeChars:yw,removeHTTPWhitespace:uh,minimizeSupportedMimeType:uee,HTTP_TOKEN_CODEPOINTS:SA,isomorphicDecode:KL}});var Gt=g((IOe,ZL)=>{"use strict";var{types:wn,inspect:Aee}=require("node:util"),{markAsUncloneable:dee}=require("node:worker_threads"),{toUSVString:pee}=Ae(),Q={};Q.converters={};Q.util={};Q.errors={};Q.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};Q.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return Q.errors.exception({header:t.prefix,message:r})};Q.errors.invalidArgument=function(t){return Q.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};Q.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}};Q.argumentLengthCheck=function({length:t},e,r){if(t{});Q.util.ConvertToInt=function(t,e,r,s){let n,i;e===64?(n=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,n=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,n=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),s?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw Q.errors.exception({header:"Integer conversion",message:`Could not convert ${Q.util.Stringify(t)} to an integer.`});if(a=Q.util.IntegerPart(a),an)throw Q.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${a}.`});return a}return!Number.isNaN(a)&&s?.clamp===!0?(a=Math.min(Math.max(a,i),n),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=Q.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};Q.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};Q.util.Stringify=function(t){switch(Q.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return Aee(t);case"String":return`"${t}"`;default:return`${t}`}};Q.sequenceConverter=function(t){return(e,r,s,n)=>{if(Q.util.Type(e)!=="Object")throw Q.errors.exception({header:r,message:`${s} (${Q.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw Q.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:l,value:u}=i.next();if(l)break;a.push(t(u,r,`${s}[${c++}]`))}return a}};Q.recordConverter=function(t,e){return(r,s,n)=>{if(Q.util.Type(r)!=="Object")throw Q.errors.exception({header:s,message:`${n} ("${Q.util.Type(r)}") is not an Object.`});let i={};if(!wn.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,s,n),A=e(r[l],s,n);i[u]=A}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,s,n),A=e(r[c],s,n);i[u]=A}return i}};Q.interfaceConverter=function(t){return(e,r,s,n)=>{if(n?.strict!==!1&&!(e instanceof t))throw Q.errors.exception({header:r,message:`Expected ${s} ("${Q.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};Q.dictionaryConverter=function(t){return(e,r,s)=>{let n=Q.util.Type(e),i={};if(n==="Null"||n==="Undefined")return i;if(n!=="Object")throw Q.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:u,converter:A}=a;if(u===!0&&!Object.hasOwn(e,c))throw Q.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],p=Object.hasOwn(a,"defaultValue");if(p&&d!==null&&(d??=l()),u||p||d!==void 0){if(d=A(d,r,`${s}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw Q.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};Q.nullableConverter=function(t){return(e,r,s)=>e===null?e:t(e,r,s)};Q.converters.DOMString=function(t,e,r,s){if(t===null&&s?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw Q.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};Q.converters.ByteString=function(t,e,r){let s=Q.converters.DOMString(t,e,r);for(let n=0;n255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${n} has a value of ${s.charCodeAt(n)} which is greater than 255.`);return s};Q.converters.USVString=pee;Q.converters.boolean=function(t){return!!t};Q.converters.any=function(t){return t};Q.converters["long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"signed",void 0,e,r)};Q.converters["unsigned long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};Q.converters["unsigned long"]=function(t,e,r){return Q.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};Q.converters["unsigned short"]=function(t,e,r,s){return Q.util.ConvertToInt(t,16,"unsigned",s,e,r)};Q.converters.ArrayBuffer=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!wn.isAnyArrayBuffer(t))throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&wn.isSharedArrayBuffer(t))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.TypedArray=function(t,e,r,s,n){if(Q.util.Type(t)!=="Object"||!wn.isTypedArray(t)||t.constructor.name!==e.name)throw Q.errors.conversionFailed({prefix:r,argument:`${s} ("${Q.util.Stringify(t)}")`,types:[e.name]});if(n?.allowShared===!1&&wn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.DataView=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!wn.isDataView(t))throw Q.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&wn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.BufferSource=function(t,e,r,s){if(wn.isAnyArrayBuffer(t))return Q.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(wn.isTypedArray(t))return Q.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(wn.isDataView(t))return Q.converters.DataView(t,e,r,{...s,allowShared:!1});throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["BufferSource"]})};Q.converters["sequence"]=Q.sequenceConverter(Q.converters.ByteString);Q.converters["sequence>"]=Q.sequenceConverter(Q.converters["sequence"]);Q.converters["record"]=Q.recordConverter(Q.converters.ByteString,Q.converters.ByteString);ZL.exports={webidl:Q}});var zr=g((BOe,pM)=>{"use strict";var{Transform:mee}=require("node:stream"),eM=require("node:zlib"),{redirectStatusSet:hee,referrerPolicySet:fee,badPortsSet:gee}=NA(),{getGlobalOrigin:tM}=gw(),{collectASequenceOfCodePoints:fa,collectAnHTTPQuotedString:Eee,removeChars:yee,parseMIMEType:Cee}=Ir(),{performance:Iee}=require("node:perf_hooks"),{isBlobLike:Bee,ReadableStreamFrom:wee,isValidHTTPToken:rM,normalizedMethodRecordsBase:bee}=Ae(),ga=require("node:assert"),{isUint8Array:Qee}=require("node:util/types"),{webidl:RA}=Gt(),sM=[],mh;try{mh=require("node:crypto");let t=["sha256","sha384","sha512"];sM=mh.getHashes().filter(e=>t.includes(e))}catch{}function nM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(nM,"responseURL");function xee(t,e){if(!hee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&oM(r)&&(iM(r)||(r=Nee(r)),r=new URL(r,nM(t))),r&&!r.hash&&(r.hash=e),r}o(xee,"responseLocationURL");function iM(t){for(let e=0;e126||r<32)return!1}return!0}o(iM,"isValidEncodedURL");function Nee(t){return Buffer.from(t,"binary").toString("utf8")}o(Nee,"normalizeBinaryStringToUtf8");function PA(t){return t.urlList[t.urlList.length-1]}o(PA,"requestCurrentURL");function See(t){let e=PA(t);return AM(e)&&gee.has(e.port)?"blocked":"allowed"}o(See,"requestBadPort");function Ree(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Ree,"isErrorLike");function Tee(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(Tee,"isValidReasonPhrase");var Pee=rM;function oM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` +`)||t.includes("\r")||t.includes("\0"))===!1}o(oM,"isValidHeaderValue");function vee(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(fee.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(vee,"setRequestReferrerPolicyOnRedirect");function kee(){return"allowed"}o(kee,"crossOriginResourcePolicyCheck");function Dee(){return"success"}o(Dee,"corsCheck");function _ee(){return"success"}o(_ee,"TAOCheck");function Lee(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Lee,"appendFetchMetadata");function Mee(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&Iw(t.origin)&&!Iw(PA(t))&&(e=null);break;case"same-origin":hh(t,PA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(Mee,"appendRequestOriginHeader");function Zc(t,e){return t}o(Zc,"coarsenTime");function Oee(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=hh(t,s),a=TA(s)&&!TA(t.url);switch(e){case"origin":return n??Cw(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=PA(t);return hh(s,c)?s:TA(s)&&!TA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(Gee,"determineRequestsReferrer");function Cw(t,e){return ga(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(Cw,"stripURLForReferrer");function TA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(TA,"isURLPotentiallyTrustworthy");function Hee(t,e){if(mh===void 0)return!0;let r=cM(e);if(r==="no metadata"||r.length===0)return!0;let s=Vee(r),n=$ee(r,s);for(let i of n){let a=i.algo,c=i.hash,l=mh.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),Yee(l,c))return!0}return!1}o(Hee,"bytesMatch");var zee=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function cM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=zee.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();sM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(cM,"parseMetadata");function Vee(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=s,e=n}),resolve:t,reject:e}}o(Wee,"createDeferredPromise");function jee(t){return t.controller.state==="aborted"}o(jee,"isAborted");function Kee(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Kee,"isCancelled");function Xee(t){return bee[t.toLowerCase()]??t}o(Xee,"normalizeMethod");function Zee(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return ga(typeof e=="string"),e}o(Zee,"serializeJavascriptValueToJSONString");var ete=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function lM(t,e,r=0,s=1){class n{static{o(this,"FastIterableIterator")}#e;#t;#s;constructor(a,c){this.#e=a,this.#t=c,this.#s=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#s,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[s]:A}=c[a];this.#s=a+1;let d;switch(this.#t){case"key":d=u;break;case"value":d=A;break;case"key+value":d=[u,A];break}return{value:d,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,ete),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new n(i,a)}}o(lM,"createIterator");function tte(t,e,r,s=0,n=1){let i=lM(t,r,s,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return RA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return RA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return RA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(RA.brandCheck(this,e),RA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:A,1:d}of i(this,"key+value"))l.call(u,d,A,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(tte,"iteratorMixin");async function rte(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(a){n(a);return}try{s(await uM(i))}catch(a){n(a)}}o(rte,"fullyReadBody");function ste(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(ste,"isReadableStreamLike");function nte(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(nte,"readableStreamClose");var ite=/[^\x00-\xFF]/;function ph(t){return ga(!ite.test(t)),t}o(ph,"isomorphicEncode");async function uM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!Qee(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}o(uM,"readAllBytes");function ote(t){ga("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(ote,"urlIsLocal");function Iw(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(Iw,"urlHasHttpsScheme");function AM(t){ga("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(AM,"urlIsHttpHttpsScheme");function ate(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&fa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&fa(l=>l===" "||l===" ",r,s);let n=fa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),i=n.length?Number(n):null;if(e&&fa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&fa(l=>l===" "||l===" ",r,s);let a=fa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),c=a.length?Number(a):null;return s.positionc?"failure":{rangeStartValue:i,rangeEndValue:c}}o(ate,"simpleRangeHeaderValue");function cte(t,e,r){let s="bytes ";return s+=ph(`${t}`),s+="-",s+=ph(`${e}`),s+="/",s+=ph(`${r}`),s}o(cte,"buildContentRange");var Bw=class extends mee{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,s){if(!this._inflateStream){if(e.length===0){s();return}this._inflateStream=(e[0]&15)===8?eM.createInflate(this.#e):eM.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",n=>this.destroy(n))}this._inflateStream.write(e,r,s)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function lte(t){return new Bw(t)}o(lte,"createInflate");function ute(t){let e=null,r=null,s=null,n=dM("content-type",t);if(n===null)return"failure";for(let i of n){let a=Cee(i);a==="failure"||a.essence==="*/*"||(s=a,s.essence!==r?(e=null,s.parameters.has("charset")&&(e=s.parameters.get("charset")),r=s.essence):!s.parameters.has("charset")&&e!==null&&s.parameters.set("charset",e))}return s??"failure"}o(ute,"extractMimeType");function Ate(t){let e=t,r={position:0},s=[],n="";for(;r.positioni!=='"'&&i!==",",e,r),r.positioni===9||i===32),s.push(n),n=""}return s}o(Ate,"gettingDecodingSplitting");function dM(t,e){let r=e.get(t,!0);return r===null?null:Ate(r)}o(dM,"getDecodeSplit");var dte=new TextDecoder;function pte(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),dte.decode(t))}o(pte,"utf8DecodeBytes");var ww=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return tM()}get origin(){return this.baseUrl?.origin}policyContainer=aM()},bw=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new ww},mte=new bw;pM.exports={isAborted:jee,isCancelled:Kee,isValidEncodedURL:iM,createDeferredPromise:Wee,ReadableStreamFrom:wee,tryUpgradeRequestToAPotentiallyTrustworthyURL:Jee,clampAndCoarsenConnectionTimingInfo:Oee,coarsenedSharedCurrentTime:Fee,determineRequestsReferrer:Gee,makePolicyContainer:aM,clonePolicyContainer:qee,appendFetchMetadata:Lee,appendRequestOriginHeader:Mee,TAOCheck:_ee,corsCheck:Dee,crossOriginResourcePolicyCheck:kee,createOpaqueTimingInfo:Uee,setRequestReferrerPolicyOnRedirect:vee,isValidHTTPToken:rM,requestBadPort:See,requestCurrentURL:PA,responseURL:nM,responseLocationURL:xee,isBlobLike:Bee,isURLPotentiallyTrustworthy:TA,isValidReasonPhrase:Tee,sameOrigin:hh,normalizeMethod:Xee,serializeJavascriptValueToJSONString:Zee,iteratorMixin:tte,createIterator:lM,isValidHeaderName:Pee,isValidHeaderValue:oM,isErrorLike:Ree,fullyReadBody:rte,bytesMatch:Hee,isReadableStreamLike:ste,readableStreamClose:nte,isomorphicEncode:ph,urlIsLocal:ote,urlHasHttpsScheme:Iw,urlIsHttpHttpsScheme:AM,readAllBytes:uM,simpleRangeHeaderValue:ate,buildContentRange:cte,parseMetadata:cM,createInflate:lte,extractMimeType:ute,getDecodeSplit:dM,utf8DecodeBytes:pte,environmentSettingsObject:mte}});var ho=g((bOe,mM)=>{"use strict";mM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var xw=g((QOe,hM)=>{"use strict";var{Blob:hte,File:fte}=require("node:buffer"),{kState:Ri}=ho(),{webidl:bn}=Gt(),Qw=class t{static{o(this,"FileLike")}constructor(e,r,s={}){let n=r,i=s.type,a=s.lastModified??Date.now();this[Ri]={blobLike:e,name:n,type:i,lastModified:a}}stream(...e){return bn.brandCheck(this,t),this[Ri].blobLike.stream(...e)}arrayBuffer(...e){return bn.brandCheck(this,t),this[Ri].blobLike.arrayBuffer(...e)}slice(...e){return bn.brandCheck(this,t),this[Ri].blobLike.slice(...e)}text(...e){return bn.brandCheck(this,t),this[Ri].blobLike.text(...e)}get size(){return bn.brandCheck(this,t),this[Ri].blobLike.size}get type(){return bn.brandCheck(this,t),this[Ri].blobLike.type}get name(){return bn.brandCheck(this,t),this[Ri].name}get lastModified(){return bn.brandCheck(this,t),this[Ri].lastModified}get[Symbol.toStringTag](){return"File"}};bn.converters.Blob=bn.interfaceConverter(hte);function gte(t){return t instanceof fte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(gte,"isFileLike");hM.exports={FileLike:Qw,isFileLike:gte}});var kA=g((NOe,CM)=>{"use strict";var{isBlobLike:fh,iteratorMixin:Ete}=zr(),{kState:nr}=ho(),{kEnumerableProperty:el}=Ae(),{FileLike:fM,isFileLike:yte}=xw(),{webidl:De}=Gt(),{File:yM}=require("node:buffer"),gM=require("node:util"),EM=globalThis.File??yM,vA=class t{static{o(this,"FormData")}constructor(e){if(De.util.markAsUncloneable(this),e!==void 0)throw De.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[nr]=[]}append(e,r,s=void 0){De.brandCheck(this,t);let n="FormData.append";if(De.argumentLengthCheck(arguments,2,n),arguments.length===3&&!fh(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=De.converters.USVString(e,n,"name"),r=fh(r)?De.converters.Blob(r,n,"value",{strict:!1}):De.converters.USVString(r,n,"value"),s=arguments.length===3?De.converters.USVString(s,n,"filename"):void 0;let i=Nw(e,r,s);this[nr].push(i)}delete(e){De.brandCheck(this,t);let r="FormData.delete";De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name"),this[nr]=this[nr].filter(s=>s.name!==e)}get(e){De.brandCheck(this,t);let r="FormData.get";De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name");let s=this[nr].findIndex(n=>n.name===e);return s===-1?null:this[nr][s].value}getAll(e){De.brandCheck(this,t);let r="FormData.getAll";return De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name"),this[nr].filter(s=>s.name===e).map(s=>s.value)}has(e){De.brandCheck(this,t);let r="FormData.has";return De.argumentLengthCheck(arguments,1,r),e=De.converters.USVString(e,r,"name"),this[nr].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){De.brandCheck(this,t);let n="FormData.set";if(De.argumentLengthCheck(arguments,2,n),arguments.length===3&&!fh(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=De.converters.USVString(e,n,"name"),r=fh(r)?De.converters.Blob(r,n,"name",{strict:!1}):De.converters.USVString(r,n,"name"),s=arguments.length===3?De.converters.USVString(s,n,"name"):void 0;let i=Nw(e,r,s),a=this[nr].findIndex(c=>c.name===e);a!==-1?this[nr]=[...this[nr].slice(0,a),i,...this[nr].slice(a+1).filter(c=>c.name!==e)]:this[nr].push(i)}[gM.inspect.custom](e,r){let s=this[nr].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let n=gM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};Ete("FormData",vA,nr,"name","value");Object.defineProperties(vA.prototype,{append:el,delete:el,get:el,getAll:el,has:el,set:el,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Nw(t,e,r){if(typeof e!="string"){if(yte(e)||(e=e instanceof Blob?new EM([e],"blob",{type:e.type}):new fM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof yM?new EM([e],r,s):new fM(e,r,s)}}return{name:t,value:e}}o(Nw,"makeEntry");CM.exports={FormData:vA,makeEntry:Nw}});var xM=g((ROe,QM)=>{"use strict";var{isUSVString:IM,bufferToLowerCasedHeaderName:Cte}=Ae(),{utf8DecodeBytes:Ite}=zr(),{HTTP_TOKEN_CODEPOINTS:Bte,isomorphicDecode:BM}=Ir(),{isFileLike:wte}=xw(),{makeEntry:bte}=kA(),gh=require("node:assert"),{File:Qte}=require("node:buffer"),xte=globalThis.File??Qte,Nte=Buffer.from('form-data; name="'),wM=Buffer.from("; filename"),Ste=Buffer.from("--"),Rte=Buffer.from(`--\r +`);function Tte(t){for(let e=0;e70)return!1;for(let r=0;r=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(Pte,"validateBoundary");function vte(t,e){gh(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&Eh(t,Ste,i)||i.position===t.length-4&&Eh(t,Rte,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=kte(t,i);if(c==="failure")return"failure";let{name:l,filename:u,contentType:A,encoding:d}=c;i.position+=2;let p;{let h=t.indexOf(s.subarray(2),i.position);if(h===-1)return"failure";p=t.subarray(i.position,h-4),i.position+=p.length,d==="base64"&&(p=Buffer.from(p.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let m;u!==null?(A??="text/plain",Tte(A)||(A=""),m=new xte([p],u,{type:A})):m=Ite(Buffer.from(p)),gh(IM(l)),gh(typeof m=="string"&&IM(m)||wte(m)),n.push(bte(l,m,u))}}o(vte,"multipartFormDataParser");function kte(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=tl(c=>c!==10&&c!==13&&c!==58,t,e);if(a=Sw(a,!0,!0,c=>c===9||c===32),!Bte.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,tl(c=>c===32||c===9,t,e),Cte(a)){case"content-disposition":{if(r=s=null,!Eh(t,Nte,e)||(e.position+=17,r=bM(t,e),r===null))return"failure";if(Eh(t,wM,e)){let c=e.position+wM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=bM(t,e),s===null))return"failure"}break}case"content-type":{let c=tl(l=>l!==10&&l!==13,t,e);c=Sw(c,!1,!0,l=>l===9||l===32),n=BM(c);break}case"content-transfer-encoding":{let c=tl(l=>l!==10&&l!==13,t,e);c=Sw(c,!1,!0,l=>l===9||l===32),i=BM(c);break}default:tl(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(kte,"parseMultipartFormDataHeaders");function bM(t,e){gh(t[e.position-1]===34);let r=tl(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` +`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(bM,"parseMultipartFormDataName");function tl(t,e,r){let s=r.position;for(;s0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(Sw,"removeChars");function Eh(t,e,r){if(t.length{"use strict";var DA=Ae(),{ReadableStreamFrom:Dte,isBlobLike:NM,isReadableStreamLike:_te,readableStreamClose:Lte,createDeferredPromise:Mte,fullyReadBody:Ote,extractMimeType:Fte,utf8DecodeBytes:TM}=zr(),{FormData:SM}=kA(),{kState:sl}=ho(),{webidl:Ute}=Gt(),{Blob:qte}=require("node:buffer"),Rw=require("node:assert"),{isErrored:PM,isDisturbed:Gte}=require("node:stream"),{isArrayBuffer:Hte}=require("node:util/types"),{serializeAMimeType:zte}=Ir(),{multipartFormDataParser:Vte}=xM(),Tw;try{let t=require("node:crypto");Tw=o(e=>t.randomInt(0,e),"random")}catch{Tw=o(t=>Math.floor(Math.random(t)),"random")}var yh=new TextEncoder;function $te(){}o($te,"noop");var vM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,kM;vM&&(kM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Gte(e)&&!PM(e)&&e.cancel("Response object has been garbage collected").catch($te)}));function DM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:NM(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?yh.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>Lte(l))},start(){},type:"bytes"}),Rw(_te(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(Hte(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(DA.isFormDataLike(t)){let l=`----formdata-undici-0${`${Tw(1e11)}`.padStart(11,"0")}`,u=`--${l}\r Content-Disposition: form-data`;let A=o(C=>C.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(C=>C.replace(/\r?\n|\r/g,`\r -`),"normalizeLinefeeds"),p=[],m=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,E]of t)if(typeof E=="string"){let y=Eh.encode(u+`; name="${A(d(C))}"\r +`),"normalizeLinefeeds"),p=[],m=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,E]of t)if(typeof E=="string"){let y=yh.encode(u+`; name="${A(d(C))}"\r \r ${d(E)}\r -`);p.push(y),i+=y.byteLength}else{let y=Eh.encode(`${u}; name="${A(d(C))}"`+(E.name?`; filename="${A(E.name)}"`:"")+`\r +`);p.push(y),i+=y.byteLength}else{let y=yh.encode(`${u}; name="${A(d(C))}"`+(E.name?`; filename="${A(E.name)}"`:"")+`\r Content-Type: ${E.type||"application/octet-stream"}\r \r -`);p.push(y,E,m),typeof E.size=="number"?i+=y.byteLength+E.size+m.byteLength:h=!0}let f=Eh.encode(`--${l}--\r -`);p.push(f),i+=f.byteLength,h&&(i=null),n=t,s=o(async function*(){for(let C of p)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(QM(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(kA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:vte(t)}if((typeof n=="string"||kA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!RM(r)){let p=new Uint8Array(A);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(vM,"extractBody");function Vte(t,e=!1){return t instanceof ReadableStream&&(Nw(!kA.isDisturbed(t),"The body has already been consumed."),Nw(!t.locked,"The stream is locked.")),vM(t,e)}o(Vte,"safelyExtractBody");function $te(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o($te,"cloneBody");function Yte(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Yte,"throwIfAborted");function Jte(t){return{blob(){return rl(this,r=>{let s=NM(this);return s===null?s="":s&&(s=Gte(s)),new Fte([r],{type:s})},t)},arrayBuffer(){return rl(this,r=>new Uint8Array(r).buffer,t)},text(){return rl(this,SM,t)},json(){return rl(this,jte,t)},formData(){return rl(this,r=>{let s=NM(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=Hte(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new xM;return i[sl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new xM;for(let[a,c]of n)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return rl(this,r=>new Uint8Array(r),t)}}}o(Jte,"bodyMixinMethods");function Wte(t){Object.assign(t.prototype,Jte(t))}o(Wte,"mixinBody");async function rl(t,e,r){if(Ote.brandCheck(t,r),kM(t))throw new TypeError("Body is unusable: Body has already been read");Yte(t[sl]);let s=_te(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[sl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await Lte(t[sl].body,i,n),s.promise)}o(rl,"consumeBody");function kM(t){let e=t[sl].body;return e!=null&&(e.stream.locked||kA.isDisturbed(e.stream))}o(kM,"bodyUnusable");function jte(t){return JSON.parse(SM(t))}o(jte,"parseJSONFromBytes");function NM(t){let e=t[sl].headersList,r=Mte(e);return r==="failure"?null:r}o(NM,"bodyMimeType");DM.exports={extractBody:vM,safelyExtractBody:Vte,cloneBody:$te,mixinBody:Wte,streamRegistry:PM,hasFinalizationRegistry:TM,bodyUnusable:kM}});var jM=g((SOe,WM)=>{"use strict";var J=require("node:assert"),K=Ae(),{channels:_M}=Vc(),Rw=uw(),{RequestContentLengthMismatchError:Ea,ResponseContentLengthMismatchError:LM,RequestAbortedError:zM,InvalidArgumentError:Kte,HeadersTimeoutError:Xte,HeadersOverflowError:Zte,SocketError:il,InformationalError:ol,BodyTimeoutError:ere,HTTPParserError:tre,ResponseExceededMaxSizeError:rre}=Ce(),{kUrl:VM,kReset:Br,kClient:Bh,kParser:Le,kBlocking:LA,kRunning:Et,kPending:$M,kSize:MM,kWriting:fo,kQueue:Ks,kNoRef:DA,kKeepAliveDefaultTimeout:sre,kHostHeader:nre,kPendingIdx:ire,kRunningIdx:fs,kError:ir,kPipelining:wh,kSocket:ya,kKeepAliveTimeoutValue:Qh,kMaxHeadersSize:Tw,kKeepAliveMaxTimeout:ore,kKeepAliveTimeoutThreshold:are,kHeadersTimeout:cre,kBodyTimeout:lre,kStrictContentLength:kw,kMaxRequests:OM,kCounter:ure,kMaxResponseSize:Are,kOnError:FM,kResume:Ti,kHTTPContext:YM}=Ge(),Vr=PL(),UM=Buffer.alloc(0),yh=Buffer[Symbol.species],Ch=K.addListener,dre=K.removeAllListeners,Ca=Symbol("kIdleSocketValidation"),al=Symbol("kIdleSocketValidationTimeout"),Mw=Symbol("kSocketUsed"),Pw;async function pre(){let t=process.env.JEST_WORKER_ID?pw():void 0,e;try{e=await WebAssembly.compile(DL())}catch{e=await WebAssembly.compile(t||pw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onStatus(new yh(Qn.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(J(Ke.ptr===r),Ke.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onHeaderField(new yh(Qn.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onHeaderValue(new yh(Qn.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(J(Ke.ptr===r),Ke.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onBody(new yh(Qn.buffer,i,n))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(J(Ke.ptr===r),Ke.onMessageComplete()||0),"wasm_on_message_complete")}})}o(pre,"lazyllhttp");var vw=null,Dw=pre();Dw.catch();var Ke=null,Qn=null,Ih=0,xn=null,mre=0,_A=1,cl=2|_A,bh=4|_A,_w=8|mre,Lw=class{static{o(this,"Parser")}constructor(e,r,{exports:s}){J(Number.isFinite(e[Tw])&&e[Tw]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(Vr.TYPE.RESPONSE),this.client=e,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=e[Tw],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[Are]}setTimeout(e,r){e!==this.timeoutValue||r&_A^this.timeoutType&_A?(this.timeout&&(Rw.clearTimeout(this.timeout),this.timeout=null),e&&(r&_A?this.timeout=Rw.setFastTimeout(qM,e,new WeakRef(this)):(this.timeout=setTimeout(qM,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(J(this.ptr!=null),J(Ke==null),this.llhttp.llhttp_resume(this.ptr),J(this.timeoutType===bh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||UM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){J(this.ptr!=null),J(Ke==null),J(!this.paused);let{socket:r,llhttp:s}=this;e.length>Ih&&(xn&&s.free(xn),Ih=Math.ceil(e.length/4096)*4096,xn=s.malloc(Ih)),new Uint8Array(s.memory.buffer,xn,Ih).set(e);try{let n;try{Qn=e,Ke=this,n=s.llhttp_execute(this.ptr,xn,e.length)}catch(a){throw a}finally{Ke=null,Qn=null}let i=s.llhttp_get_error_pos(this.ptr)-xn;if(n!==Vr.ERROR.OK){let a=e.subarray(i);if(n===Vr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(n===Vr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(n,a)}}catch(n){K.destroy(r,n)}}finish(){J(Ke===null),J(this.ptr!=null),J(!this.paused);let{llhttp:e}=this,r;try{Ke=this,r=e.llhttp_finish(this.ptr)}finally{Ke=null}return r===Vr.ERROR.OK?null:r===Vr.ERROR.PAUSED||r===Vr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,UM)}createError(e,r){let{llhttp:s,contentLength:n,bytesRead:i}=this;if(n&&i!==parseInt(n,10))return new LM;let a=s.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(s.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,a,l).toString()+")"}return new tre(c,Vr.ERROR[e],r)}destroy(){J(this.ptr!=null),J(Ke==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&Rw.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;if(r[Et]===0)return K.destroy(e,new il("bad response",K.getSocketInfo(e))),-1;let s=r[Ks][r[fs]];if(!s)return-1;s.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let s=this.headers[r-2];if(s.length===10){let n=K.bufferToLowerCasedHeaderName(s);n==="keep-alive"?this.keepAlive+=e.toString():n==="connection"&&(this.connection+=e.toString())}else s.length===14&&K.bufferToLowerCasedHeaderName(s)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&K.destroy(this.socket,new Zte)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:a}=this;J(r),J(s[ya]===n),J(!n.destroyed),J(!this.paused),J((i.length&1)===0);let c=s[Ks][s[fs]];J(c),J(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[Le].destroy(),n[Le]=null,n[Bh]=null,n[ir]=null,dre(n),s[ya]=null,s[YM]=null,s[Ks][s[fs]++]=null,s.emit("disconnect",s[VM],[s],new ol("upgrade"));try{c.onUpgrade(a,i,n)}catch(l){K.destroy(n,l)}s[Ti]()}onHeadersComplete(e,r,s){let{client:n,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(n[Et]===0)return K.destroy(i,new il("bad response",K.getSocketInfo(i))),-1;let l=n[Ks][n[fs]];if(!l)return-1;if(J(!this.upgrade),J(this.statusCode<200),e===100)return K.destroy(i,new il("bad response",K.getSocketInfo(i))),-1;if(r&&!l.upgrade)return K.destroy(i,new il("bad upgrade",K.getSocketInfo(i))),-1;if(J(this.timeoutType===cl),this.statusCode=e,this.shouldKeepAlive=s||l.method==="HEAD"&&!i[Br]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let A=l.bodyTimeout!=null?l.bodyTimeout:n[lre];this.setTimeout(A,bh)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return J(n[Et]===1),this.upgrade=!0,2;if(r)return J(n[Et]===1),this.upgrade=!0,2;if(J((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[wh]){let A=this.keepAlive?K.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-n[are],n[ore]);d<=0?i[Br]=!0:n[Qh]=d}else n[Qh]=n[sre]}else i[Br]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[LA]&&(i[LA]=!1,n[Ti]()),u?Vr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let a=r[Ks][r[fs]];if(J(a),J(this.timeoutType===bh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),J(n>=200),i>-1&&this.bytesRead+e.length>i)return K.destroy(s,new rre),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Vr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:s,upgrade:n,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!s||l))return-1;if(n)return;J(s>=100),J((this.headers.length&1)===0);let u=e[Ks][e[fs]];if(J(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(s<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return K.destroy(r,new LM),-1;if(u.onComplete(i),e[Ks][e[fs]++]=null,r[Mw]=!0,r[fo])return J(e[Et]===0),K.destroy(r,new ol("reset")),Vr.ERROR.PAUSED;if(l){if(r[Br]&&e[Et]===0)return K.destroy(r,new ol("reset")),Vr.ERROR.PAUSED;e[wh]==null||e[wh]===1?setImmediate(()=>e[Ti]()):e[Ti]()}else return K.destroy(r,new ol("reset")),Vr.ERROR.PAUSED}}};function qM(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===cl?(!e[fo]||e.writableNeedDrain||s[Et]>1)&&(J(!n,"cannot be paused while waiting for headers"),K.destroy(e,new Xte)):r===bh?n||K.destroy(e,new ere):r===_w&&(J(s[Et]===0&&s[Qh]),K.destroy(e,new ol("socket idle timeout")))}o(qM,"onParserTimeout");async function hre(t,e){t[ya]=e,vw||(vw=await Dw,Dw=null),e[DA]=!1,e[fo]=!1,e[Br]=!1,e[LA]=!1,e[Ca]=0,e[al]=null,e[Mw]=!1,e[Le]=new Lw(t,e,vw),Ch(e,"error",function(s){J(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[Le];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&(this[ir]=i,this[Bh][FM](i));return}this[ir]=s,this[Bh][FM](s)}),Ch(e,"readable",function(){let s=this[Le];s&&s.readMore()}),Ch(e,"end",function(){let s=this[Le];if(s.statusCode&&!s.shouldKeepAlive){let n=s.finish();n&&K.destroy(this,n);return}K.destroy(this,new il("other side closed",K.getSocketInfo(this)))}),Ch(e,"close",function(){let s=this[Bh],n=this[Le];JM(this),n&&(!this[ir]&&n.statusCode&&!n.shouldKeepAlive&&(this[ir]=n.finish()||this[ir]),this[Le].destroy(),this[Le]=null);let i=this[ir]||new il("closed",K.getSocketInfo(this));if(s[ya]=null,s[YM]=null,s.destroyed){J(s[$M]===0);let a=s[Ks].splice(s[fs]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=s[Ks][s[fs]];s[Ks][s[fs]++]=null,K.errorRequest(s,a,i)}s[ire]=s[fs],J(s[Et]===0),s.emit("disconnect",s[VM],[s],i),s[Ti]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return yre(t,...s)},resume(){gre(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[fo]||e[Br]||e[LA]||e[Ca]===1||s&&(t[Et]>0&&!s.idempotent||t[Et]>0&&(s.upgrade||s.method==="CONNECT")||t[Et]>0&&K.bodyLength(s.body)!==0&&(K.isStream(s.body)||K.isAsyncIterable(s.body)||K.isFormDataLike(s.body))))}}}o(hre,"connectH1");function JM(t){t[al]&&(clearImmediate(t[al]),t[al]=null),t[Ca]=0}o(JM,"clearIdleSocketValidation");function fre(t,e){e[Ca]=1,e[al]=setImmediate(()=>{e[al]=null,e[Ca]=2,t[ya]===e&&!e.destroyed&&t[Ti]()})}o(fre,"scheduleIdleSocketValidation");function gre(t){let e=t[ya];if(e&&!e.destroyed){if(t[MM]===0?!e[DA]&&e.unref&&(e.unref(),e[DA]=!0):e[DA]&&e.ref&&(e.ref(),e[DA]=!1),t[Et]===0&&t[$M]>0&&e[Mw]){if(e[Ca]===0)return fre(t,e),e[Le].readMore(),e.destroyed,void 0;if(e[Ca]===1)return e[Le].readMore(),e.destroyed,void 0}if(t[Et]===0&&(e[Le].readMore(),e.destroyed))return;if(t[MM]===0)e[Le].timeoutType!==_w&&e[Le].setTimeout(t[Qh],_w);else if(t[Et]>0&&e[Le].statusCode<200&&e[Le].timeoutType!==cl){let r=t[Ks][t[fs]],s=r.headersTimeout!=null?r.headersTimeout:t[cre];e[Le].setTimeout(s,cl)}}}o(gre,"resumeH1");function Ere(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(Ere,"shouldSendContentLength");function yre(t,e){let{method:r,path:s,host:n,upgrade:i,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:A}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(K.isFormDataLike(l)){Pw||(Pw=nl().extractBody);let[C,E]=Pw(l);e.contentType==null&&u.push("content-type",E),l=C.stream,A=C.length}else if(K.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let E=`${C}`;if(!K.isValidHeaderValue(E))return K.errorRequest(t,e,new Kte("invalid content-type header")),!1;u.push("content-type",E)}}l&&typeof l.read=="function"&&l.read(0);let p=K.bodyLength(l);if(A=p??A,A===null&&(A=e.contentLength),A===0&&!d&&(A=null),Ere(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[kw])return K.errorRequest(t,e,new Ea),!1;process.emitWarning(new Ea)}let m=t[ya];JM(m);let h=o(C=>{e.aborted||e.completed||(K.errorRequest(t,e,C||new zM),K.destroy(l),K.destroy(m,new ol("aborted")))},"abort");try{e.onConnect(h)}catch(C){K.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(m[Br]=!0),(i||r==="CONNECT")&&(m[Br]=!0),c!=null&&(m[Br]=c),t[OM]&&m[ure]++>=t[OM]&&(m[Br]=!0),a&&(m[LA]=!0);let f=`${r} ${s} HTTP/1.1\r +`);p.push(y,E,m),typeof E.size=="number"?i+=y.byteLength+E.size+m.byteLength:h=!0}let f=yh.encode(`--${l}--\r +`);p.push(f),i+=f.byteLength,h&&(i=null),n=t,s=o(async function*(){for(let C of p)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(NM(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(DA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:Dte(t)}if((typeof n=="string"||DA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!PM(r)){let p=new Uint8Array(A);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(DM,"extractBody");function Yte(t,e=!1){return t instanceof ReadableStream&&(Rw(!DA.isDisturbed(t),"The body has already been consumed."),Rw(!t.locked,"The stream is locked.")),DM(t,e)}o(Yte,"safelyExtractBody");function Jte(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(Jte,"cloneBody");function Wte(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Wte,"throwIfAborted");function jte(t){return{blob(){return rl(this,r=>{let s=RM(this);return s===null?s="":s&&(s=zte(s)),new qte([r],{type:s})},t)},arrayBuffer(){return rl(this,r=>new Uint8Array(r).buffer,t)},text(){return rl(this,TM,t)},json(){return rl(this,Xte,t)},formData(){return rl(this,r=>{let s=RM(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=Vte(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new SM;return i[sl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new SM;for(let[a,c]of n)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return rl(this,r=>new Uint8Array(r),t)}}}o(jte,"bodyMixinMethods");function Kte(t){Object.assign(t.prototype,jte(t))}o(Kte,"mixinBody");async function rl(t,e,r){if(Ute.brandCheck(t,r),_M(t))throw new TypeError("Body is unusable: Body has already been read");Wte(t[sl]);let s=Mte(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[sl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await Ote(t[sl].body,i,n),s.promise)}o(rl,"consumeBody");function _M(t){let e=t[sl].body;return e!=null&&(e.stream.locked||DA.isDisturbed(e.stream))}o(_M,"bodyUnusable");function Xte(t){return JSON.parse(TM(t))}o(Xte,"parseJSONFromBytes");function RM(t){let e=t[sl].headersList,r=Fte(e);return r==="failure"?null:r}o(RM,"bodyMimeType");LM.exports={extractBody:DM,safelyExtractBody:Yte,cloneBody:Jte,mixinBody:Kte,streamRegistry:kM,hasFinalizationRegistry:vM,bodyUnusable:_M}});var XM=g((kOe,KM)=>{"use strict";var J=require("node:assert"),K=Ae(),{channels:MM}=Vc(),Pw=dw(),{RequestContentLengthMismatchError:Ea,ResponseContentLengthMismatchError:OM,RequestAbortedError:$M,InvalidArgumentError:Zte,HeadersTimeoutError:ere,HeadersOverflowError:tre,SocketError:il,InformationalError:ol,BodyTimeoutError:rre,HTTPParserError:sre,ResponseExceededMaxSizeError:nre}=Ce(),{kUrl:YM,kReset:Br,kClient:wh,kParser:Le,kBlocking:MA,kRunning:Et,kPending:JM,kSize:FM,kWriting:fo,kQueue:Ks,kNoRef:_A,kKeepAliveDefaultTimeout:ire,kHostHeader:ore,kPendingIdx:are,kRunningIdx:fs,kError:ir,kPipelining:bh,kSocket:ya,kKeepAliveTimeoutValue:xh,kMaxHeadersSize:vw,kKeepAliveMaxTimeout:cre,kKeepAliveTimeoutThreshold:lre,kHeadersTimeout:ure,kBodyTimeout:Are,kStrictContentLength:_w,kMaxRequests:UM,kCounter:dre,kMaxResponseSize:pre,kOnError:qM,kResume:Ti,kHTTPContext:WM}=Ge(),Vr=kL(),GM=Buffer.alloc(0),Ch=Buffer[Symbol.species],Ih=K.addListener,mre=K.removeAllListeners,Ca=Symbol("kIdleSocketValidation"),al=Symbol("kIdleSocketValidationTimeout"),Fw=Symbol("kSocketUsed"),kw;async function hre(){let t=process.env.JEST_WORKER_ID?hw():void 0,e;try{e=await WebAssembly.compile(LL())}catch{e=await WebAssembly.compile(t||hw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onStatus(new Ch(Qn.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(J(Ke.ptr===r),Ke.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onHeaderField(new Ch(Qn.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onHeaderValue(new Ch(Qn.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(J(Ke.ptr===r),Ke.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{J(Ke.ptr===r);let i=s-xn+Qn.byteOffset;return Ke.onBody(new Ch(Qn.buffer,i,n))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(J(Ke.ptr===r),Ke.onMessageComplete()||0),"wasm_on_message_complete")}})}o(hre,"lazyllhttp");var Dw=null,Lw=hre();Lw.catch();var Ke=null,Qn=null,Bh=0,xn=null,fre=0,LA=1,cl=2|LA,Qh=4|LA,Mw=8|fre,Ow=class{static{o(this,"Parser")}constructor(e,r,{exports:s}){J(Number.isFinite(e[vw])&&e[vw]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(Vr.TYPE.RESPONSE),this.client=e,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=e[vw],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[pre]}setTimeout(e,r){e!==this.timeoutValue||r&LA^this.timeoutType&LA?(this.timeout&&(Pw.clearTimeout(this.timeout),this.timeout=null),e&&(r&LA?this.timeout=Pw.setFastTimeout(HM,e,new WeakRef(this)):(this.timeout=setTimeout(HM,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(J(this.ptr!=null),J(Ke==null),this.llhttp.llhttp_resume(this.ptr),J(this.timeoutType===Qh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||GM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){J(this.ptr!=null),J(Ke==null),J(!this.paused);let{socket:r,llhttp:s}=this;e.length>Bh&&(xn&&s.free(xn),Bh=Math.ceil(e.length/4096)*4096,xn=s.malloc(Bh)),new Uint8Array(s.memory.buffer,xn,Bh).set(e);try{let n;try{Qn=e,Ke=this,n=s.llhttp_execute(this.ptr,xn,e.length)}catch(a){throw a}finally{Ke=null,Qn=null}let i=s.llhttp_get_error_pos(this.ptr)-xn;if(n!==Vr.ERROR.OK){let a=e.subarray(i);if(n===Vr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(n===Vr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(n,a)}}catch(n){K.destroy(r,n)}}finish(){J(Ke===null),J(this.ptr!=null),J(!this.paused);let{llhttp:e}=this,r;try{Ke=this,r=e.llhttp_finish(this.ptr)}finally{Ke=null}return r===Vr.ERROR.OK?null:r===Vr.ERROR.PAUSED||r===Vr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,GM)}createError(e,r){let{llhttp:s,contentLength:n,bytesRead:i}=this;if(n&&i!==parseInt(n,10))return new OM;let a=s.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(s.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,a,l).toString()+")"}return new sre(c,Vr.ERROR[e],r)}destroy(){J(this.ptr!=null),J(Ke==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&Pw.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;if(r[Et]===0)return K.destroy(e,new il("bad response",K.getSocketInfo(e))),-1;let s=r[Ks][r[fs]];if(!s)return-1;s.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let s=this.headers[r-2];if(s.length===10){let n=K.bufferToLowerCasedHeaderName(s);n==="keep-alive"?this.keepAlive+=e.toString():n==="connection"&&(this.connection+=e.toString())}else s.length===14&&K.bufferToLowerCasedHeaderName(s)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&K.destroy(this.socket,new tre)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:a}=this;J(r),J(s[ya]===n),J(!n.destroyed),J(!this.paused),J((i.length&1)===0);let c=s[Ks][s[fs]];J(c),J(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[Le].destroy(),n[Le]=null,n[wh]=null,n[ir]=null,mre(n),s[ya]=null,s[WM]=null,s[Ks][s[fs]++]=null,s.emit("disconnect",s[YM],[s],new ol("upgrade"));try{c.onUpgrade(a,i,n)}catch(l){K.destroy(n,l)}s[Ti]()}onHeadersComplete(e,r,s){let{client:n,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(n[Et]===0)return K.destroy(i,new il("bad response",K.getSocketInfo(i))),-1;let l=n[Ks][n[fs]];if(!l)return-1;if(J(!this.upgrade),J(this.statusCode<200),e===100)return K.destroy(i,new il("bad response",K.getSocketInfo(i))),-1;if(r&&!l.upgrade)return K.destroy(i,new il("bad upgrade",K.getSocketInfo(i))),-1;if(J(this.timeoutType===cl),this.statusCode=e,this.shouldKeepAlive=s||l.method==="HEAD"&&!i[Br]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let A=l.bodyTimeout!=null?l.bodyTimeout:n[Are];this.setTimeout(A,Qh)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return J(n[Et]===1),this.upgrade=!0,2;if(r)return J(n[Et]===1),this.upgrade=!0,2;if(J((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[bh]){let A=this.keepAlive?K.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-n[lre],n[cre]);d<=0?i[Br]=!0:n[xh]=d}else n[xh]=n[ire]}else i[Br]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[MA]&&(i[MA]=!1,n[Ti]()),u?Vr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let a=r[Ks][r[fs]];if(J(a),J(this.timeoutType===Qh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),J(n>=200),i>-1&&this.bytesRead+e.length>i)return K.destroy(s,new nre),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Vr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:s,upgrade:n,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!s||l))return-1;if(n)return;J(s>=100),J((this.headers.length&1)===0);let u=e[Ks][e[fs]];if(J(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(s<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return K.destroy(r,new OM),-1;if(u.onComplete(i),e[Ks][e[fs]++]=null,r[Fw]=!0,r[fo])return J(e[Et]===0),K.destroy(r,new ol("reset")),Vr.ERROR.PAUSED;if(l){if(r[Br]&&e[Et]===0)return K.destroy(r,new ol("reset")),Vr.ERROR.PAUSED;e[bh]==null||e[bh]===1?setImmediate(()=>e[Ti]()):e[Ti]()}else return K.destroy(r,new ol("reset")),Vr.ERROR.PAUSED}}};function HM(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===cl?(!e[fo]||e.writableNeedDrain||s[Et]>1)&&(J(!n,"cannot be paused while waiting for headers"),K.destroy(e,new ere)):r===Qh?n||K.destroy(e,new rre):r===Mw&&(J(s[Et]===0&&s[xh]),K.destroy(e,new ol("socket idle timeout")))}o(HM,"onParserTimeout");async function gre(t,e){t[ya]=e,Dw||(Dw=await Lw,Lw=null),e[_A]=!1,e[fo]=!1,e[Br]=!1,e[MA]=!1,e[Ca]=0,e[al]=null,e[Fw]=!1,e[Le]=new Ow(t,e,Dw),Ih(e,"error",function(s){J(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[Le];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&(this[ir]=i,this[wh][qM](i));return}this[ir]=s,this[wh][qM](s)}),Ih(e,"readable",function(){let s=this[Le];s&&s.readMore()}),Ih(e,"end",function(){let s=this[Le];if(s.statusCode&&!s.shouldKeepAlive){let n=s.finish();n&&K.destroy(this,n);return}K.destroy(this,new il("other side closed",K.getSocketInfo(this)))}),Ih(e,"close",function(){let s=this[wh],n=this[Le];jM(this),n&&(!this[ir]&&n.statusCode&&!n.shouldKeepAlive&&(this[ir]=n.finish()||this[ir]),this[Le].destroy(),this[Le]=null);let i=this[ir]||new il("closed",K.getSocketInfo(this));if(s[ya]=null,s[WM]=null,s.destroyed){J(s[JM]===0);let a=s[Ks].splice(s[fs]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=s[Ks][s[fs]];s[Ks][s[fs]++]=null,K.errorRequest(s,a,i)}s[are]=s[fs],J(s[Et]===0),s.emit("disconnect",s[YM],[s],i),s[Ti]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return Ire(t,...s)},resume(){yre(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[fo]||e[Br]||e[MA]||e[Ca]===1||s&&(t[Et]>0&&!s.idempotent||t[Et]>0&&(s.upgrade||s.method==="CONNECT")||t[Et]>0&&K.bodyLength(s.body)!==0&&(K.isStream(s.body)||K.isAsyncIterable(s.body)||K.isFormDataLike(s.body))))}}}o(gre,"connectH1");function jM(t){t[al]&&(clearImmediate(t[al]),t[al]=null),t[Ca]=0}o(jM,"clearIdleSocketValidation");function Ere(t,e){e[Ca]=1,e[al]=setImmediate(()=>{e[al]=null,e[Ca]=2,t[ya]===e&&!e.destroyed&&t[Ti]()})}o(Ere,"scheduleIdleSocketValidation");function yre(t){let e=t[ya];if(e&&!e.destroyed){if(t[FM]===0?!e[_A]&&e.unref&&(e.unref(),e[_A]=!0):e[_A]&&e.ref&&(e.ref(),e[_A]=!1),t[Et]===0&&t[JM]>0&&e[Fw]){if(e[Ca]===0)return Ere(t,e),e[Le].readMore(),e.destroyed,void 0;if(e[Ca]===1)return e[Le].readMore(),e.destroyed,void 0}if(t[Et]===0&&(e[Le].readMore(),e.destroyed))return;if(t[FM]===0)e[Le].timeoutType!==Mw&&e[Le].setTimeout(t[xh],Mw);else if(t[Et]>0&&e[Le].statusCode<200&&e[Le].timeoutType!==cl){let r=t[Ks][t[fs]],s=r.headersTimeout!=null?r.headersTimeout:t[ure];e[Le].setTimeout(s,cl)}}}o(yre,"resumeH1");function Cre(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(Cre,"shouldSendContentLength");function Ire(t,e){let{method:r,path:s,host:n,upgrade:i,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:A}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(K.isFormDataLike(l)){kw||(kw=nl().extractBody);let[C,E]=kw(l);e.contentType==null&&u.push("content-type",E),l=C.stream,A=C.length}else if(K.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let E=`${C}`;if(!K.isValidHeaderValue(E))return K.errorRequest(t,e,new Zte("invalid content-type header")),!1;u.push("content-type",E)}}l&&typeof l.read=="function"&&l.read(0);let p=K.bodyLength(l);if(A=p??A,A===null&&(A=e.contentLength),A===0&&!d&&(A=null),Cre(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[_w])return K.errorRequest(t,e,new Ea),!1;process.emitWarning(new Ea)}let m=t[ya];jM(m);let h=o(C=>{e.aborted||e.completed||(K.errorRequest(t,e,C||new $M),K.destroy(l),K.destroy(m,new ol("aborted")))},"abort");try{e.onConnect(h)}catch(C){K.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(m[Br]=!0),(i||r==="CONNECT")&&(m[Br]=!0),c!=null&&(m[Br]=c),t[UM]&&m[dre]++>=t[UM]&&(m[Br]=!0),a&&(m[MA]=!0);let f=`${r} ${s} HTTP/1.1\r `;if(typeof n=="string"?f+=`host: ${n}\r -`:f+=t[nre],i?f+=`connection: upgrade\r +`:f+=t[ore],i?f+=`connection: upgrade\r upgrade: ${i}\r -`:t[wh]&&!m[Br]?f+=`connection: keep-alive\r +`:t[bh]&&!m[Br]?f+=`connection: keep-alive\r `:f+=`connection: close\r `,Array.isArray(u))for(let C=0;C{e.removeListener("error",m)}),!l){let h=new zM;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,J(n.destroyed||n[fo]&&r[Et]<=1),n.off("drain",d).off("error",m),e.removeListener("data",A).removeListener("end",m).removeListener("close",p),!h)try{u.end()}catch(f){h=f}u.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?K.destroy(e,h):K.destroy(e)}},"onFinished");e.on("data",A).on("end",m).on("error",m).on("close",p),e.resume&&e.resume(),n.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(p)}o(Cre,"writeStream");function GM(t,e,r,s,n,i,a,c){try{e?K.isBuffer(e)&&(J(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r +`}return MM.sendHeaders.hasSubscribers&&MM.sendHeaders.publish({request:e,headers:f,socket:m}),!l||p===0?zM(h,null,t,e,m,A,f,d):K.isBuffer(l)?zM(h,l,t,e,m,A,f,d):K.isBlobLike(l)?typeof l.stream=="function"?VM(h,l.stream(),t,e,m,A,f,d):wre(h,l,t,e,m,A,f,d):K.isStream(l)?Bre(h,l,t,e,m,A,f,d):K.isIterable(l)?VM(h,l,t,e,m,A,f,d):J(!1),!0}o(Ire,"writeH1");function Bre(t,e,r,s,n,i,a,c){J(i!==0||r[Et]===0,"stream body cannot be pipelined");let l=!1,u=new Nh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a}),A=o(function(h){if(!l)try{!u.write(h)&&this.pause&&this.pause()}catch(f){K.destroy(this,f)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),p=o(function(){if(queueMicrotask(()=>{e.removeListener("error",m)}),!l){let h=new $M;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,J(n.destroyed||n[fo]&&r[Et]<=1),n.off("drain",d).off("error",m),e.removeListener("data",A).removeListener("end",m).removeListener("close",p),!h)try{u.end()}catch(f){h=f}u.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?K.destroy(e,h):K.destroy(e)}},"onFinished");e.on("data",A).on("end",m).on("error",m).on("close",p),e.resume&&e.resume(),n.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(p)}o(Bre,"writeStream");function zM(t,e,r,s,n,i,a,c){try{e?K.isBuffer(e)&&(J(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r \r `,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!c&&s.reset!==!1&&(n[Br]=!0)):i===0?n.write(`${a}content-length: 0\r \r `,"latin1"):(J(i===null,"no body must not have content length"),n.write(`${a}\r -`,"latin1")),s.onRequestSent(),r[Ti]()}catch(l){t(l)}}o(GM,"writeBuffer");async function Ire(t,e,r,s,n,i,a,c){J(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Ea;let l=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r +`,"latin1")),s.onRequestSent(),r[Ti]()}catch(l){t(l)}}o(zM,"writeBuffer");async function wre(t,e,r,s,n,i,a,c){J(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Ea;let l=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r \r -`,"latin1"),n.write(l),n.uncork(),s.onBodySent(l),s.onRequestSent(),!c&&s.reset!==!1&&(n[Br]=!0),r[Ti]()}catch(l){t(l)}}o(Ire,"writeBlob");async function HM(t,e,r,s,n,i,a,c){J(i!==0||r[Et]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let A=o(()=>new Promise((p,m)=>{J(l===null),n[ir]?m(n[ir]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let d=new xh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[ir])throw n[ir];d.write(p)||await A()}d.end()}catch(p){d.destroy(p)}finally{n.off("close",u).off("drain",u)}}o(HM,"writeIterable");var xh=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[fo]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[ir])throw r[ir];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[kw])throw new Ea;process.emitWarning(new Ea)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[Br]=!0),n===null?r.write(`${l}transfer-encoding: chunked\r +`,"latin1"),n.write(l),n.uncork(),s.onBodySent(l),s.onRequestSent(),!c&&s.reset!==!1&&(n[Br]=!0),r[Ti]()}catch(l){t(l)}}o(wre,"writeBlob");async function VM(t,e,r,s,n,i,a,c){J(i!==0||r[Et]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let A=o(()=>new Promise((p,m)=>{J(l===null),n[ir]?m(n[ir]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let d=new Nh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[ir])throw n[ir];d.write(p)||await A()}d.end()}catch(p){d.destroy(p)}finally{n.off("close",u).off("drain",u)}}o(VM,"writeIterable");var Nh=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[fo]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[ir])throw r[ir];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[_w])throw new Ea;process.emitWarning(new Ea)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[Br]=!0),n===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${n}\r \r `,"latin1")),n===null&&r.write(`\r @@ -37,44 +37,44 @@ ${u.toString(16)}\r `,"latin1"):r===null&&e.write(`\r 0\r \r -`,"latin1"),r!==null&&n!==r){if(s[kw])throw new Ea;process.emitWarning(new Ea)}e[Le].timeout&&e[Le].timeoutType===cl&&e[Le].timeout.refresh&&e[Le].timeout.refresh(),s[Ti]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[fo]=!1,e&&(J(s[Et]<=1,"pipeline should only contain this request"),n(e))}};WM.exports=hre});var nO=g((TOe,sO)=>{"use strict";var gs=require("node:assert"),{pipeline:Bre}=require("node:stream"),he=Ae(),{RequestContentLengthMismatchError:Ow,RequestAbortedError:KM,SocketError:MA,InformationalError:Fw}=Ce(),{kUrl:Nh,kReset:Rh,kClient:ll,kRunning:Th,kPending:wre,kQueue:go,kPendingIdx:Uw,kRunningIdx:Xs,kError:en,kSocket:_t,kStrictContentLength:bre,kOnError:qw,kMaxConcurrentStreams:rO,kHTTP2Session:Zs,kResume:Eo,kSize:Qre,kHTTPContext:xre}=Ge(),Pi=Symbol("open streams"),XM,ZM=!1,Sh;try{Sh=require("node:http2")}catch{Sh={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Nre,HTTP2_HEADER_METHOD:Sre,HTTP2_HEADER_PATH:Rre,HTTP2_HEADER_SCHEME:Tre,HTTP2_HEADER_CONTENT_LENGTH:Pre,HTTP2_HEADER_EXPECT:vre,HTTP2_HEADER_STATUS:kre}}=Sh;function Dre(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(Dre,"parseH2Headers");async function _re(t,e){t[_t]=e,ZM||(ZM=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Sh.connect(t[Nh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[rO]});r[Pi]=0,r[ll]=t,r[_t]=e,he.addListener(r,"error",Mre),he.addListener(r,"frameError",Ore),he.addListener(r,"end",Fre),he.addListener(r,"goaway",Ure),he.addListener(r,"close",function(){let{[ll]:n}=this,{[_t]:i}=n,a=this[_t][en]||this[en]||new MA("closed",he.getSocketInfo(i));if(n[Zs]=null,n.destroyed){gs(n[wre]===0);let c=n[go].splice(n[Xs]);for(let l=0;l{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return Gre(t,...n)},resume(){Lre(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(_re,"connectH2");function Lre(t){let e=t[_t];e?.destroyed===!1&&(t[Qre]===0&&t[rO]===0?(e.unref(),t[Zs].unref()):(e.ref(),t[Zs].ref()))}o(Lre,"resumeH2");function Mre(t){gs(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[_t][en]=t,this[ll][qw](t)}o(Mre,"onHttp2SessionError");function Ore(t,e,r){if(r===0){let s=new Fw(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[_t][en]=s,this[ll][qw](s)}}o(Ore,"onHttp2FrameError");function Fre(){let t=new MA("other side closed",he.getSocketInfo(this[_t]));this.destroy(t),he.destroy(this[_t],t)}o(Fre,"onHttp2SessionEnd");function Ure(t){let e=this[en]||new MA(`HTTP/2: "GOAWAY" frame received with code ${t}`,he.getSocketInfo(this)),r=this[ll];if(r[_t]=null,r[xre]=null,this[Zs]!=null&&(this[Zs].destroy(e),this[Zs]=null),he.destroy(this[_t],e),r[Xs]{e.aborted||e.completed||(B=B||new KM,he.errorRequest(t,e,B),p!=null&&he.destroy(p,B),he.destroy(A,B),t[go][t[Xs]++]=null,t[Eo]())},"abort");try{e.onConnect(f)}catch(B){he.errorRequest(t,e,B)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),p=r.request(d,{endStream:!1,signal:l}),p.id&&!p.pending?(e.onUpgrade(null,null,p),++r[Pi],t[go][t[Xs]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Pi],t[go][t[Xs]++]=null}),p.once("close",()=>{r[Pi]-=1,r[Pi]===0&&r.unref()}),!0;d[Rre]=n,d[Tre]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";A&&typeof A.read=="function"&&A.read(0);let E=he.bodyLength(A);if(he.isFormDataLike(A)){XM??=nl().extractBody;let[B,N]=XM(A);d["content-type"]=N,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),qre(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[bre])return he.errorRequest(t,e,new Ow),!1;process.emitWarning(new Ow)}E!=null&&(gs(A,"no body must not have content length"),d[Pre]=`${E}`),r.ref();let y=s==="GET"||s==="HEAD"||A===null;return c?(d[vre]="100-continue",p=r.request(d,{endStream:y,signal:l}),p.once("continue",I)):(p=r.request(d,{endStream:y,signal:l}),I()),++r[Pi],p.once("response",B=>{let{[kre]:N,...S}=B;if(e.onResponseStarted(),e.aborted){let U=new KM;he.errorRequest(t,e,U),he.destroy(p,U);return}e.onHeaders(Number(N),Dre(S),p.resume.bind(p),"")===!1&&p.pause(),p.on("data",U=>{e.onData(U)===!1&&p.pause()})}),p.once("end",()=>{(p.state?.state==null||p.state.state<6)&&e.onComplete([]),r[Pi]===0&&r.unref(),f(new Fw("HTTP/2: stream half-closed (remote)")),t[go][t[Xs]++]=null,t[Uw]=t[Xs],t[Eo]()}),p.once("close",()=>{r[Pi]-=1,r[Pi]===0&&r.unref()}),p.once("error",function(B){f(B)}),p.once("frameError",(B,N)=>{f(new Fw(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!A||E===0?eO(f,p,null,t,e,t[_t],E,C):he.isBuffer(A)?eO(f,p,A,t,e,t[_t],E,C):he.isBlobLike(A)?typeof A.stream=="function"?tO(f,p,A.stream(),t,e,t[_t],E,C):zre(f,p,A,t,e,t[_t],E,C):he.isStream(A)?Hre(f,t[_t],C,p,A,t,e,E):he.isIterable(A)?tO(f,p,A,t,e,t[_t],E,C):gs(!1)}o(I,"writeBodyH2")}o(Gre,"writeH2");function eO(t,e,r,s,n,i,a,c){try{r!=null&&he.isBuffer(r)&&(gs(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),c||(i[Rh]=!0),n.onRequestSent(),s[Eo]()}catch(l){t(l)}}o(eO,"writeBuffer");function Hre(t,e,r,s,n,i,a,c){gs(c!==0||i[Th]===0,"stream body cannot be pipelined");let l=Bre(n,s,A=>{A?(he.destroy(l,A),t(A)):(he.removeAllListeners(l),a.onRequestSent(),r||(e[Rh]=!0),i[Eo]())});he.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(Hre,"writeStream");async function zre(t,e,r,s,n,i,a,c){gs(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new Ow;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),n.onBodySent(l),n.onRequestSent(),c||(i[Rh]=!0),s[Eo]()}catch(l){t(l)}}o(zre,"writeBlob");async function tO(t,e,r,s,n,i,a,c){gs(a!==0||s[Th]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let d=l;l=null,d()}}o(u,"onDrain");let A=o(()=>new Promise((d,p)=>{gs(l===null),i[en]?p(i[en]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(i[en])throw i[en];let p=e.write(d);n.onBodySent(d),p||await A()}e.end(),n.onRequestSent(),c||(i[Rh]=!0),s[Eo]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(tO,"writeIterable");sO.exports=_re});var vh=g((vOe,aO)=>{"use strict";var Nn=Ae(),{kBodyUsed:OA}=Ge(),Hw=require("node:assert"),{InvalidArgumentError:Vre}=Ce(),$re=require("node:events"),Yre=[300,301,302,303,307,308],iO=Symbol("body"),Ph=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[iO]=e,this[OA]=!1}async*[Symbol.asyncIterator](){Hw(!this[OA],"disturbed"),this[OA]=!0,yield*this[iO]}},Gw=class{static{o(this,"RedirectHandler")}constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new Vre("maxRedirections must be a positive number");Nn.validateHandler(n,s.method,s.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...s,maxRedirections:0},this.maxRedirections=r,this.handler=n,this.history=[],this.redirectionLimitReached=!1,Nn.isStream(this.opts.body)?(Nn.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){Hw(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[OA]=!1,$re.prototype.on.call(this.opts.body,"data",function(){this[OA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Ph(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Nn.isIterable(this.opts.body)&&(this.opts.body=new Ph(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,s){this.handler.onUpgrade(e,r,s)}onError(e){this.handler.onError(e)}onHeaders(e,r,s,n){if(this.location=this.history.length>=this.maxRedirections||Nn.isDisturbed(this.opts.body)?null:Jre(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,s,n);let{origin:i,pathname:a,search:c}=Nn.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=Wre(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=l,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function Jre(t,e){if(Yre.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var jre=vh();function Kre({maxRedirections:t}){return e=>o(function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let a=new jre(e,i,s,n);return s={...s,maxRedirections:0},e(s,a)},"Intercept")}o(Kre,"createRedirectInterceptor");cO.exports=Kre});var dl=g((LOe,EO)=>{"use strict";var vi=require("node:assert"),mO=require("node:net"),Xre=require("node:http"),Ia=Ae(),{channels:ul}=Vc(),Zre=EL(),ese=Wc(),{InvalidArgumentError:at,InformationalError:tse,ClientDestroyedError:rse}=Ce(),sse=QA(),{kUrl:Sn,kServerName:yo,kClient:nse,kBusy:zw,kConnect:ise,kResuming:Ba,kRunning:HA,kPending:zA,kSize:GA,kQueue:tn,kConnected:ose,kConnecting:Al,kNeedDrain:Io,kKeepAliveDefaultTimeout:lO,kHostHeader:ase,kPendingIdx:rn,kRunningIdx:ki,kError:cse,kPipelining:Dh,kKeepAliveTimeoutValue:lse,kMaxHeadersSize:use,kKeepAliveMaxTimeout:Ase,kKeepAliveTimeoutThreshold:dse,kHeadersTimeout:pse,kBodyTimeout:mse,kStrictContentLength:hse,kConnector:FA,kMaxRedirections:fse,kMaxRequests:Vw,kCounter:gse,kClose:Ese,kDestroy:yse,kDispatch:Cse,kInterceptors:uO,kLocalAddress:UA,kMaxResponseSize:Ise,kOnError:Bse,kHTTPContext:ct,kMaxConcurrentStreams:wse,kResume:qA}=Ge(),bse=jM(),Qse=nO(),AO=!1,Co=Symbol("kClosedResolve"),dO=o(()=>{},"noop");function hO(t){return t[Dh]??t[ct]?.defaultPipelining??1}o(hO,"getPipelining");var $w=class extends ese{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:s,headersTimeout:n,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:A,keepAliveTimeout:d,maxKeepAliveTimeout:p,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:h,socketPath:f,pipelining:C,tls:E,strictContentLength:y,maxCachedSessions:I,maxRedirections:B,connect:N,maxRequestsPerClient:S,localAddress:U,maxResponseSize:Ie,autoSelectFamily:je,autoSelectFamilyAttemptTimeout:Pe,maxConcurrentStreams:ke,allowH2:de,webSocket:gt}={}){if(super({webSocket:gt}),A!==void 0)throw new at("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new at("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new at("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new at("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new at("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new at("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new at("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new at("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new at("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new at("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new at("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new at("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new at("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new at("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new at("maxRedirections must be a positive number");if(S!=null&&(!Number.isInteger(S)||S<0))throw new at("maxRequestsPerClient must be a positive number");if(U!=null&&(typeof U!="string"||mO.isIP(U)===0))throw new at("localAddress must be valid string IP address");if(Ie!=null&&(!Number.isInteger(Ie)||Ie<-1))throw new at("maxResponseSize must be a positive number");if(Pe!=null&&(!Number.isInteger(Pe)||Pe<-1))throw new at("autoSelectFamilyAttemptTimeout must be a positive number");if(de!=null&&typeof de!="boolean")throw new at("allowH2 must be a valid boolean value");if(ke!=null&&(typeof ke!="number"||ke<1))throw new at("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=sse({...E,maxCachedSessions:I,allowH2:de,socketPath:f,timeout:c,...je?{autoSelectFamily:je,autoSelectFamilyAttemptTimeout:Pe}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[uO]=r.Client,AO||(AO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[uO]=[xse({maxRedirections:B})],this[Sn]=Ia.parseOrigin(e),this[FA]=N,this[Dh]=C??1,this[use]=s||Xre.maxHeaderSize,this[lO]=d??4e3,this[Ase]=m??6e5,this[dse]=h??2e3,this[lse]=this[lO],this[yo]=null,this[UA]=U??null,this[Ba]=0,this[Io]=0,this[ase]=`host: ${this[Sn].hostname}${this[Sn].port?`:${this[Sn].port}`:""}\r -`,this[mse]=l??3e5,this[pse]=n??3e5,this[hse]=y??!0,this[fse]=B,this[Vw]=S,this[Co]=null,this[Ise]=Ie>-1?Ie:-1,this[wse]=ke??100,this[ct]=null,this[tn]=[],this[ki]=0,this[rn]=0,this[qA]=ce=>Yw(this,ce),this[Bse]=ce=>fO(this,ce)}get pipelining(){return this[Dh]}set pipelining(e){this[Dh]=e,this[qA](!0)}get[zA](){return this[tn].length-this[rn]}get[HA](){return this[rn]-this[ki]}get[GA](){return this[tn].length-this[ki]}get[ose](){return!!this[ct]&&!this[Al]&&!this[ct].destroyed}get[zw](){return!!(this[ct]?.busy(null)||this[GA]>=(hO(this)||1)||this[zA]>0)}[ise](e){gO(this),this.once("connect",e)}[Cse](e,r){let s=e.origin||this[Sn].origin,n=new Zre(s,e,r);return this[tn].push(n),this[Ba]||(Ia.bodyLength(n.body)==null&&Ia.isIterable(n.body)?(this[Ba]=1,queueMicrotask(()=>Yw(this))):this[qA](!0)),this[Ba]&&this[Io]!==2&&this[zw]&&(this[Io]=2),this[Io]<2}async[Ese](){return new Promise(e=>{this[GA]?this[Co]=e:e(null)})}async[yse](e){return new Promise(r=>{let s=this[tn].splice(this[rn]);for(let i=0;i{this[Co]&&(this[Co](),this[Co]=null),r(null)},"callback");this[ct]?(this[ct].destroy(e,n),this[ct]=null):queueMicrotask(n),this[qA]()})}},xse=kh();function fO(t,e){if(t[HA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){vi(t[rn]===t[ki]);let r=t[tn].splice(t[ki]);for(let s=0;s{t[FA]({host:e,hostname:r,protocol:s,port:n,servername:t[yo],localAddress:t[UA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Ia.destroy(i.on("error",dO),new rse);return}vi(i);try{t[ct]=i.alpnProtocol==="h2"?await Qse(t,i):await bse(t,i)}catch(a){throw i.destroy().on("error",dO),a}t[Al]=!1,i[gse]=0,i[Vw]=t[Vw],i[nse]=t,i[cse]=null,ul.connected.hasSubscribers&&ul.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ct]?.version,servername:t[yo],localAddress:t[UA]},connector:t[FA],socket:i}),t.emit("connect",t[Sn],[t])}catch(i){if(t.destroyed)return;if(t[Al]=!1,ul.connectError.hasSubscribers&&ul.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ct]?.version,servername:t[yo],localAddress:t[UA]},connector:t[FA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(vi(t[HA]===0);t[zA]>0&&t[tn][t[rn]].servername===t[yo];){let a=t[tn][t[rn]++];Ia.errorRequest(t,a,i)}else fO(t,i);t.emit("connectionError",t[Sn],[t],i)}t[qA]()}o(gO,"connect");function pO(t){t[Io]=0,t.emit("drain",t[Sn],[t])}o(pO,"emitDrain");function Yw(t,e){t[Ba]!==2&&(t[Ba]=2,Nse(t,e),t[Ba]=0,t[ki]>256&&(t[tn].splice(0,t[ki]),t[rn]-=t[ki],t[ki]=0))}o(Yw,"resume");function Nse(t,e){for(;;){if(t.destroyed){vi(t[zA]===0);return}if(t[Co]&&!t[GA]){t[Co](),t[Co]=null;return}if(t[ct]&&t[ct].resume(),t[zw])t[Io]=2;else if(t[Io]===2){e?(t[Io]=1,queueMicrotask(()=>pO(t))):pO(t);continue}if(t[zA]===0||t[HA]>=(hO(t)||1))return;let r=t[tn][t[rn]];if(t[Sn].protocol==="https:"&&t[yo]!==r.servername){if(t[HA]>0)return;t[yo]=r.servername,t[ct]?.destroy(new tse("servername changed"),()=>{t[ct]=null,Yw(t)})}if(t[Al])return;if(!t[ct]){gO(t);return}if(t[ct].destroyed||t[ct].busy(r))return;!r.aborted&&t[ct].write(r)?t[rn]++:t[tn].splice(t[rn],1)}}o(Nse,"_resume");EO.exports=$w});var Jw=g((FOe,yO)=>{"use strict";var _h=class{static{o(this,"FixedCircularBuffer")}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(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};yO.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new _h}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new _h),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var IO=g((qOe,CO)=>{var{kFree:Sse,kConnected:Rse,kPending:Tse,kQueued:Pse,kRunning:vse,kSize:kse}=Ge(),wa=Symbol("pool"),Ww=class{static{o(this,"PoolStats")}constructor(e){this[wa]=e}get connected(){return this[wa][Rse]}get free(){return this[wa][Sse]}get pending(){return this[wa][Tse]}get queued(){return this[wa][Pse]}get running(){return this[wa][vse]}get size(){return this[wa][kse]}};CO.exports=Ww});var tb=g((HOe,PO)=>{"use strict";var Dse=Wc(),_se=Jw(),{kConnected:jw,kSize:BO,kRunning:wO,kPending:bO,kQueued:VA,kBusy:Lse,kFree:Mse,kUrl:Ose,kClose:Fse,kDestroy:Use,kDispatch:qse}=Ge(),Gse=IO(),wr=Symbol("clients"),or=Symbol("needDrain"),$A=Symbol("queue"),Kw=Symbol("closed resolve"),Xw=Symbol("onDrain"),QO=Symbol("onConnect"),xO=Symbol("onDisconnect"),NO=Symbol("onConnectionError"),Zw=Symbol("get dispatcher"),RO=Symbol("add client"),TO=Symbol("remove client"),SO=Symbol("stats"),eb=class extends Dse{static{o(this,"PoolBase")}constructor(e){super(e),this[$A]=new _se,this[wr]=[],this[VA]=0;let r=this;this[Xw]=o(function(n,i){let a=r[$A],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[VA]--,c=!this.dispatch(l.opts,l.handler)}this[or]=c,!this[or]&&r[or]&&(r[or]=!1,r.emit("drain",n,[r,...i])),r[Kw]&&a.isEmpty()&&Promise.all(r[wr].map(l=>l.close())).then(r[Kw])},"onDrain"),this[QO]=(s,n)=>{r.emit("connect",s,[r,...n])},this[xO]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[NO]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[SO]=new Gse(this)}get[Lse](){return this[or]}get[jw](){return this[wr].filter(e=>e[jw]).length}get[Mse](){return this[wr].filter(e=>e[jw]&&!e[or]).length}get[bO](){let e=this[VA];for(let{[bO]:r}of this[wr])e+=r;return e}get[wO](){let e=0;for(let{[wO]:r}of this[wr])e+=r;return e}get[BO](){let e=this[VA];for(let{[BO]:r}of this[wr])e+=r;return e}get stats(){return this[SO]}async[Fse](){this[$A].isEmpty()?await Promise.all(this[wr].map(e=>e.close())):await new Promise(e=>{this[Kw]=e})}async[Use](e){for(;;){let r=this[$A].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[wr].map(r=>r.destroy(e)))}[qse](e,r){let s=this[Zw]();return s?s.dispatch(e,r)||(s[or]=!0,this[or]=!this[Zw]()):(this[or]=!0,this[$A].push({opts:e,handler:r}),this[VA]++),!this[or]}[RO](e){return e.on("drain",this[Xw]).on("connect",this[QO]).on("disconnect",this[xO]).on("connectionError",this[NO]),this[wr].push(e),this[or]&&queueMicrotask(()=>{this[or]&&this[Xw](e[Ose],[this,e])}),this}[TO](e){e.close(()=>{let r=this[wr].indexOf(e);r!==-1&&this[wr].splice(r,1)}),this[or]=this[wr].some(r=>!r[or]&&r.closed!==!0&&r.destroyed!==!0)}};PO.exports={PoolBase:eb,kClients:wr,kNeedDrain:or,kAddClient:RO,kRemoveClient:TO,kGetDispatcher:Zw}});var pl=g((VOe,_O)=>{"use strict";var{PoolBase:Hse,kClients:Lh,kNeedDrain:zse,kAddClient:Vse,kGetDispatcher:$se}=tb(),Yse=dl(),{InvalidArgumentError:rb}=Ce(),vO=Ae(),{kUrl:kO,kInterceptors:Jse}=Ge(),Wse=QA(),sb=Symbol("options"),nb=Symbol("connections"),DO=Symbol("factory");function jse(t,e){return new Yse(t,e)}o(jse,"defaultFactory");var ib=class extends Hse{static{o(this,"Pool")}constructor(e,{connections:r,factory:s=jse,connect:n,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A,allowH2:d,...p}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new rb("invalid connections");if(typeof s!="function")throw new rb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new rb("connect must be a function or an object");typeof n!="function"&&(n=Wse({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...n})),super(p),this[Jse]=p.interceptors?.Pool&&Array.isArray(p.interceptors.Pool)?p.interceptors.Pool:[],this[nb]=r||null,this[kO]=vO.parseOrigin(e),this[sb]={...vO.deepClone(p),connect:n,allowH2:d},this[sb].interceptors=p.interceptors?{...p.interceptors}:void 0,this[DO]=s,this.on("connectionError",(m,h,f)=>{for(let C of h){let E=this[Lh].indexOf(C);E!==-1&&this[Lh].splice(E,1)}})}[$se](){for(let e of this[Lh])if(!e[zse])return e;if(!this[nb]||this[Lh].length{"use strict";var{BalancedPoolMissingUpstreamError:Kse,InvalidArgumentError:Xse}=Ce(),{PoolBase:Zse,kClients:Wt,kNeedDrain:YA,kAddClient:ene,kRemoveClient:tne,kGetDispatcher:rne}=tb(),sne=pl(),{kUrl:ob,kInterceptors:nne}=Ge(),{parseOrigin:LO}=Ae(),MO=Symbol("factory"),Mh=Symbol("options"),OO=Symbol("kGreatestCommonDivisor"),ba=Symbol("kCurrentWeight"),Qa=Symbol("kIndex"),Es=Symbol("kWeight"),Oh=Symbol("kMaxWeightPerServer"),Fh=Symbol("kErrorPenalty");function ine(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(ine,"getGreatestCommonDivisor");function one(t,e){return new sne(t,e)}o(one,"defaultFactory");var ab=class extends Zse{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=one,...s}={}){if(super(),this[Mh]=s,this[Qa]=-1,this[ba]=0,this[Oh]=this[Mh].maxWeightPerServer||100,this[Fh]=this[Mh].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Xse("factory must be a function.");this[nne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[MO]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=LO(e).origin;if(this[Wt].find(n=>n[ob].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[MO](r,Object.assign({},this[Mh]));this[ene](s),s.on("connect",()=>{s[Es]=Math.min(this[Oh],s[Es]+this[Fh])}),s.on("connectionError",()=>{s[Es]=Math.max(1,s[Es]-this[Fh]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[Es]=Math.max(1,s[Es]-this[Fh]),this._updateBalancedPoolStats())});for(let n of this[Wt])n[Es]=this[Oh];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[ob].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[tne](s),this}get upstreams(){return this[Wt].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[ob].origin)}[rne](){if(this[Wt].length===0)throw new Kse;if(!this[Wt].find(i=>!i[YA]&&i.closed!==!0&&i.destroyed!==!0)||this[Wt].map(i=>i[YA]).reduce((i,a)=>i&&a,!0))return;let s=0,n=this[Wt].findIndex(i=>!i[YA]);for(;s++this[Wt][n][Es]&&!i[YA]&&(n=this[Qa]),this[Qa]===0&&(this[ba]=this[ba]-this[OO],this[ba]<=0&&(this[ba]=this[Oh])),i[Es]>=this[ba]&&!i[YA])return i}return this[ba]=this[Wt][n][Es],this[Qa]=n,this[Wt][n]}};FO.exports=ab});var ml=g((WOe,YO)=>{"use strict";var{InvalidArgumentError:Uh}=Ce(),{kClients:Bo,kRunning:qO,kClose:ane,kDestroy:cne,kDispatch:lne,kInterceptors:une}=Ge(),Ane=Wc(),dne=pl(),pne=dl(),mne=Ae(),hne=kh(),GO=Symbol("onConnect"),HO=Symbol("onDisconnect"),zO=Symbol("onConnectionError"),fne=Symbol("maxRedirections"),VO=Symbol("onDrain"),$O=Symbol("factory"),cb=Symbol("options");function gne(t,e){return e&&e.connections===1?new pne(t,e):new dne(t,e)}o(gne,"defaultFactory");var lb=class extends Ane{static{o(this,"Agent")}constructor({factory:e=gne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new Uh("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new Uh("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Uh("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[une]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[hne({maxRedirections:r})],this[cb]={...mne.deepClone(n),connect:s},this[cb].interceptors=n.interceptors?{...n.interceptors}:void 0,this[fne]=r,this[$O]=e,this[Bo]=new Map,this[VO]=(i,a)=>{this.emit("drain",i,[this,...a])},this[GO]=(i,a)=>{this.emit("connect",i,[this,...a])},this[HO]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[zO]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[qO](){let e=0;for(let r of this[Bo].values())e+=r[qO];return e}[lne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new Uh("opts.origin must be a non-empty string or URL.");let n=this[Bo].get(s);return n||(n=this[$O](e.origin,this[cb]).on("drain",this[VO]).on("connect",this[GO]).on("disconnect",this[HO]).on("connectionError",this[zO]),this[Bo].set(s,n)),n.dispatch(e,r)}async[ane](){let e=[];for(let r of this[Bo].values())e.push(r.close());this[Bo].clear(),await Promise.all(e)}async[cne](e){let r=[];for(let s of this[Bo].values())r.push(s.destroy(e));this[Bo].clear(),await Promise.all(r)}};YO.exports=lb});var mb=g((KOe,nF)=>{"use strict";var{kProxy:ub,kClose:ZO,kDestroy:eF,kDispatch:JO,kInterceptors:Ene}=Ge(),{URL:xa}=require("node:url"),yne=ml(),tF=pl(),rF=Wc(),{InvalidArgumentError:hl,RequestAbortedError:Cne,SecureProxyConnectionError:Ine}=Ce(),WO=QA(),sF=dl(),qh=Symbol("proxy agent"),Gh=Symbol("proxy client"),wo=Symbol("proxy headers"),Ab=Symbol("request tls settings"),jO=Symbol("proxy tls settings"),KO=Symbol("connect endpoint function"),XO=Symbol("tunnel proxy");function Bne(t){return t==="https:"?443:80}o(Bne,"defaultProtocolPort");function wne(t,e){return new tF(t,e)}o(wne,"defaultFactory");var bne=o(()=>{},"noop");function Qne(t,e){return e.connections===1?new sF(t,e):new tF(t,e)}o(Qne,"defaultAgentFactory");var db=class extends rF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new hl("Proxy URL is mandatory");this[wo]=r,n?this.#e=n(e,{connect:s}):this.#e=new sF(e,{connect:s})}[JO](e,r){let s=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new hl("Proxy Authentication Required (407)"));return}s&&s.call(this,c,l,u)};let{origin:n,path:i="/",headers:a={}}=e;if(e.path=n+i,!("host"in a)&&!("Host"in a)){let{host:c}=new xa(n);a.host=c}return e.headers={...this[wo],...a},this.#e[JO](e,r)}async[ZO](){return this.#e.close()}async[eF](e){return this.#e.destroy(e)}},pb=class extends rF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof xa)&&!e.uri)throw new hl("Proxy uri is mandatory");let{clientFactory:r=wne}=e;if(typeof r!="function")throw new hl("Proxy opts.clientFactory must be a function.");let{proxyTunnel:s=!0}=e,n=this.#e(e),{href:i,origin:a,port:c,protocol:l,username:u,password:A,hostname:d}=n;if(this[ub]={uri:i,protocol:l},this[Ene]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[Ab]=e.requestTls,this[jO]=e.proxyTls,this[wo]=e.headers||{},this[XO]=s,e.auth&&e.token)throw new hl("opts.auth cannot be used in combination with opts.token");e.auth?this[wo]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[wo]["proxy-authorization"]=e.token:u&&A&&(this[wo]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(A)}`).toString("base64")}`);let p=WO({...e.proxyTls});this[KO]=WO({...e.requestTls});let m=e.factory||Qne,h=o((f,C)=>{let{protocol:E}=new xa(f);return!this[XO]&&E==="http:"&&this[ub].protocol==="http:"?new db(this[ub].uri,{headers:this[wo],connect:p,factory:m}):m(f,C)},"factory");this[Gh]=r(n,{connect:p}),this[qh]=new yne({...e,factory:h,connect:o(async(f,C)=>{let E=f.host;f.port||(E+=`:${Bne(f.protocol)}`);try{let{socket:y,statusCode:I}=await this[Gh].connect({origin:a,port:c,path:E,signal:f.signal,headers:{...this[wo],host:f.host},servername:this[jO]?.servername||d});if(I!==200&&(y.on("error",bne).destroy(),C(new Cne(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,y);return}let B;this[Ab]?B=this[Ab].servername:B=f.servername,this[KO]({...f,servername:B,httpSocket:y},C)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new Ine(y)):C(y)}},"connect")})}dispatch(e,r){let s=xne(e.headers);if(Nne(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new xa(e.origin);s.host=n}return this[qh].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new xa(e):e instanceof xa?e:new xa(e.uri)}async[ZO](){await this[qh].close(),await this[Gh].close()}async[eF](){await this[qh].destroy(),await this[Gh].destroy()}};function xne(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new hl("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Nne,"throwIfProxyAuthIsSent");nF.exports=pb});var uF=g((ZOe,lF)=>{"use strict";var Sne=Wc(),{kClose:Rne,kDestroy:Tne,kClosed:iF,kDestroyed:oF,kDispatch:Pne,kNoProxyAgent:JA,kHttpProxyAgent:bo,kHttpsProxyAgent:Na}=Ge(),aF=mb(),vne=ml(),kne={"http:":80,"https:":443},cF=!1,hb=class extends Sne{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#s=null;constructor(e={}){super(),this.#s=e,cF||(cF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:s,noProxy:n,...i}=e;this[JA]=new vne(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[bo]=new aF({...i,uri:a}):this[bo]=this[JA];let c=s??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Na]=new aF({...i,uri:c}):this[Na]=this[bo],this.#i()}[Pne](e,r){let s=new URL(e.origin);return this.#r(s).dispatch(e,r)}async[Rne](){await this[JA].close(),this[bo][iF]||await this[bo].close(),this[Na][iF]||await this[Na].close()}async[Tne](e){await this[JA].destroy(e),this[bo][oF]||await this[bo].destroy(e),this[Na][oF]||await this[Na].destroy(e)}#r(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||kne[r]||0,this.#n(s,n)?r==="https:"?this[Na]:this[bo]:this[JA]}#n(e,r){if(this.#o&&this.#i(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let s=0;s{"use strict";var WA=require("node:assert"),{kRetryHandlerDefaultRetry:AF}=Ge(),{RequestRetryError:Sa}=Ce(),{isDisturbed:dF,parseHeaders:Dne,parseRangeHeader:pF,wrapRequestBody:_ne}=Ae();function Lne(t){let e=Date.now();return new Date(t).getTime()-e}o(Lne,"calculateRetryAfterHeader");function mF(t,e,r,s){let n=t["content-length"];if(n==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(n),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new Sa("Content-Length mismatch",r,{headers:t,data:{count:s}}):null}o(mF,"validatePartialResponseContentLength");var fb=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:s,...n}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:A,errorCodes:d,retryAfter:p,statusCodes:m}=s??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...n,body:_ne(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[AF],retryAfter:p??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.headersSent=!1,this.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}checkpointResponseEnd(e,r){if(this.end==null&&this.opts.method!=="HEAD"){let s=e["content-length"];this.end=s!=null?Number(s)-1:null,WA(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?r:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,s){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,s)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[AF](e,{state:r,opts:s},n){let{statusCode:i,code:a,headers:c}=e,{method:l,retryOptions:u}=s,{maxRetries:A,minTimeout:d,maxTimeout:p,timeoutFactor:m,statusCodes:h,errorCodes:f,methods:C}=u,{counter:E}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!f.includes(a)){n(e);return}if(Array.isArray(C)&&!C.includes(l)){n(e);return}if(i!=null&&Array.isArray(h)&&!h.includes(i)){n(e);return}if(E>A){n(e);return}let y=c?.["retry-after"];y&&(y=Number(y),y=Number.isNaN(y)?Lne(y):y*1e3);let I=y>0?Math.min(y,p):Math.min(d*m**(E-1),p);setTimeout(()=>n(null),I)}onHeaders(e,r,s,n){let i=Dne(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?(this.headersSent=!0,this.checkpointResponseEnd(i,s),this.handler.onHeaders(e,r,s,n)):(this.abort(new Sa("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new Sa("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=pF(i["content-range"]);if(!c)return this.abort(new Sa("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Sa("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=mF(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;return this.start!==u||this.end!=null&&this.end!==d?(this.abort(new Sa("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=s,!0)}if(this.end==null){if(e===206){let c=pF(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,r,s,n);let l=mF(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;WA(u!=null&&Number.isFinite(u),"content-range mismatch"),WA(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=u,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return WA(Number.isFinite(this.start)),WA(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,s,n)}let a=new Sa("Request failed",e,{headers:i,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||dF(this.opts.body)||this.headersSent&&this.resume==null)return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(s){if(s!=null||this.aborted||dF(this.opts.body))return this.handler.onError(s);if(this.start!==0){let n={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(n["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...n}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(n){this.handler.onError(n)}}o(r,"onRetry")}};hF.exports=fb});var gF=g((sFe,fF)=>{"use strict";var Mne=wA(),One=Hh(),gb=class extends Mne{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let s=new One({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,s)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};fF.exports=gb});var wb=g((iFe,xF)=>{"use strict";var BF=require("node:assert"),{Readable:Fne}=require("node:stream"),{RequestAbortedError:wF,NotSupportedError:Une,InvalidArgumentError:qne,AbortError:Eb}=Ce(),bF=Ae(),{ReadableStreamFrom:Gne}=Ae(),$r=Symbol("kConsume"),jA=Symbol("kReading"),Qo=Symbol("kBody"),EF=Symbol("kAbort"),QF=Symbol("kContentType"),yF=Symbol("kContentLength"),Hne=o(()=>{},"noop"),yb=class extends Fne{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:s="",contentLength:n,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[EF]=r,this[$r]=null,this[Qo]=null,this[QF]=s,this[yF]=n,this[jA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new wF),e&&this[EF](),super.destroy(e)}_destroy(e,r){this[jA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[jA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let s=super.off(e,...r);return(e==="data"||e==="readable")&&(this[jA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[$r]&&e!==null?(Ib(this[$r],e),this[jA]?super.push(e):!0):super.push(e)}async text(){return KA(this,"text")}async json(){return KA(this,"json")}async blob(){return KA(this,"blob")}async bytes(){return KA(this,"bytes")}async arrayBuffer(){return KA(this,"arrayBuffer")}async formData(){throw new Une}get bodyUsed(){return bF.isDisturbed(this)}get body(){return this[Qo]||(this[Qo]=Gne(this),this[$r]&&(this[Qo].getReader(),BF(this[Qo].locked))),this[Qo]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,s=e?.signal;if(s!=null&&(typeof s!="object"||!("aborted"in s)))throw new qne("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[yF]>r&&this.destroy(new Eb);let a=o(()=>{this.destroy(s.reason??new Eb)},"onAbort");s?.addEventListener("abort",a),this.on("close",function(){s?.removeEventListener("abort",a),s?.aborted?i(s.reason??new Eb):n(null)}).on("error",Hne).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function zne(t){return t[Qo]&&t[Qo].locked===!0||t[$r]}o(zne,"isLocked");function Vne(t){return bF.isDisturbed(t)||zne(t)}o(Vne,"isUnusable");async function KA(t,e){return BF(!t[$r]),new Promise((r,s)=>{if(Vne(t)){let n=t._readableState;n.destroyed&&n.closeEmitted===!1?t.on("error",i=>{s(i)}).on("close",()=>{s(new TypeError("unusable"))}):s(n.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[$r]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){Bb(this[$r],n)}).on("close",function(){this[$r].body!==null&&Bb(this[$r],new wF)}),$ne(t[$r])})})}o(KA,"consume");function $ne(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,s=e.buffer.length;for(let n=r;n2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(n,s)}o(Cb,"chunksDecode");function CF(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),s=0;for(let n=0;n{var Yne=require("node:assert"),{ResponseStatusCodeError:NF}=Ce(),{chunksDecode:SF}=wb(),Jne=128*1024;async function Wne({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){Yne(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>Jne){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!c){queueMicrotask(()=>t(new NF(l,s,i)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{RF(r)?A=JSON.parse(SF(a,c)):TF(r)&&(A=SF(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new NF(l,s,i,A)))}o(Wne,"getResolveErrorBodyCallback");var RF=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),TF=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");PF.exports={getResolveErrorBodyCallback:Wne,isContentTypeApplicationJson:RF,isContentTypeText:TF}});var DF=g((lFe,Qb)=>{"use strict";var jne=require("node:assert"),{Readable:Kne}=wb(),{InvalidArgumentError:fl,RequestAbortedError:vF}=Ce(),Yr=Ae(),{getResolveErrorBodyCallback:Xne}=bb(),{AsyncResource:Zne}=require("node:async_hooks"),zh=class extends Zne{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new fl("invalid opts");let{signal:s,method:n,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:A}=e;try{if(typeof r!="function")throw new fl("invalid callback");if(A&&(typeof A!="number"||A<0))throw new fl("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new fl("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new fl("invalid method");if(c&&typeof c!="function")throw new fl("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Yr.isStream(a)&&Yr.destroy(a.on("error",Yr.nop),d),d}this.method=n,this.responseHeaders=l||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=A,this.signal=s,this.reason=null,this.removeAbortListener=null,Yr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new vF:this.removeAbortListener=Yr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new vF,this.res?Yr.destroy(this.res.on("error",Yr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}jne(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:A}=this,d=u==="raw"?Yr.parseRawHeaders(r):Yr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let p=u==="raw"?Yr.parseHeaders(r):d,m=p["content-type"],h=p["content-length"],f=new Kne({resume:s,abort:c,contentType:m,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:A});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(Xne,null,{callback:i,body:f,contentType:m,statusCode:e,statusMessage:n,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:f,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Yr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:s,body:n,opaque:i}=this;s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{Yr.destroy(r,e)})),n&&(this.body=null,Yr.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function kF(t,e){if(e===void 0)return new Promise((r,s)=>{kF.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new zh(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(kF,"request");Qb.exports=kF;Qb.exports.RequestHandler=zh});var XA=g((AFe,MF)=>{var{addAbortListener:eie}=Ae(),{RequestAbortedError:tie}=Ce(),gl=Symbol("kListener"),Rn=Symbol("kSignal");function _F(t){t.abort?t.abort(t[Rn]?.reason):t.reason=t[Rn]?.reason??new tie,LF(t)}o(_F,"abort");function rie(t,e){if(t.reason=null,t[Rn]=null,t[gl]=null,!!e){if(e.aborted){_F(t);return}t[Rn]=e,t[gl]=()=>{_F(t)},eie(t[Rn],t[gl])}}o(rie,"addSignal");function LF(t){t[Rn]&&("removeEventListener"in t[Rn]?t[Rn].removeEventListener("abort",t[gl]):t[Rn].removeListener("abort",t[gl]),t[Rn]=null,t[gl]=null)}o(LF,"removeSignal");MF.exports={addSignal:rie,removeSignal:LF}});var qF=g((pFe,UF)=>{"use strict";var sie=require("node:assert"),{finished:nie,PassThrough:iie}=require("node:stream"),{InvalidArgumentError:El,InvalidReturnValueError:oie}=Ce(),sn=Ae(),{getResolveErrorBodyCallback:aie}=bb(),{AsyncResource:cie}=require("node:async_hooks"),{addSignal:lie,removeSignal:OF}=XA(),xb=class extends cie{static{o(this,"StreamHandler")}constructor(e,r,s){if(!e||typeof e!="object")throw new El("invalid opts");let{signal:n,method:i,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:A}=e;try{if(typeof s!="function")throw new El("invalid callback");if(typeof r!="function")throw new El("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new El("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new El("invalid method");if(l&&typeof l!="function")throw new El("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw sn.isStream(c)&&sn.destroy(c.on("error",sn.nop),d),d}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=s,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=A||!1,sn.isStream(c)&&c.on("error",d=>{this.onError(d)}),lie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}sie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{factory:i,opaque:a,context:c,callback:l,responseHeaders:u}=this,A=u==="raw"?sn.parseRawHeaders(r):sn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let h=(u==="raw"?sn.parseHeaders(r):A)["content-type"];d=new iie,this.callback=null,this.runInAsyncScope(aie,null,{callback:l,body:d,contentType:h,statusCode:e,statusMessage:n,headers:A})}else{if(i===null)return;if(d=this.runInAsyncScope(i,null,{statusCode:e,headers:A,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new oie("expected Writable");nie(d,{readable:!1},m=>{let{callback:h,res:f,opaque:C,trailers:E,abort:y}=this;this.res=null,(m||!f.readable)&&sn.destroy(f,m),this.callback=null,this.runInAsyncScope(h,null,m||null,{opaque:C,trailers:E}),m&&y()})}return d.on("drain",s),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;OF(this),r&&(this.trailers=sn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;OF(this),this.factory=null,r?(this.res=null,sn.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,sn.destroy(i,e))}};function FF(t,e,r){if(r===void 0)return new Promise((s,n)=>{FF.call(this,t,e,(i,a)=>i?n(i):s(a))});try{this.dispatch(t,new xb(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}o(FF,"stream");UF.exports=FF});var VF=g((hFe,zF)=>{"use strict";var{Readable:HF,Duplex:uie,PassThrough:Aie}=require("node:stream"),{InvalidArgumentError:ZA,InvalidReturnValueError:die,RequestAbortedError:Nb}=Ce(),ys=Ae(),{AsyncResource:pie}=require("node:async_hooks"),{addSignal:mie,removeSignal:hie}=XA(),GF=require("node:assert"),yl=Symbol("resume"),Sb=class extends HF{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[yl]=null}_read(){let{[yl]:e}=this;e&&(this[yl]=null,e())}_destroy(e,r){this._read(),r(e)}},Rb=class extends HF{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[yl]=e}_read(){this[yl]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Nb),r(e)}},Tb=class extends pie{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new ZA("invalid opts");if(typeof r!="function")throw new ZA("invalid handler");let{signal:s,method:n,opaque:i,onInfo:a,responseHeaders:c}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new ZA("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new ZA("invalid method");if(a&&typeof a!="function")throw new ZA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new Sb().on("error",ys.nop),this.ret=new uie({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,A)=>{let{req:d}=this;d.push(l,u)||d._readableState.destroyed?A():d[yl]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:p,ret:m,abort:h}=this;!l&&!m._readableState.endEmitted&&(l=new Nb),h&&l&&h(),ys.destroy(A,l),ys.destroy(d,l),ys.destroy(p,l),hie(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,mie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}GF(!n,"pipeline cannot be retried"),GF(!s.destroyed),this.abort=e,this.context=r}onHeaders(e,r,s){let{opaque:n,handler:i,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?ys.parseRawHeaders(r):ys.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new Rb(s);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?ys.parseRawHeaders(r):ys.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:l,opaque:n,body:this.res,context:a})}catch(l){throw this.res.on("error",ys.nop),l}if(!c||typeof c.on!="function")throw new die("expected Readable");c.on("data",l=>{let{ret:u,body:A}=this;!u.push(l)&&A.pause&&A.pause()}).on("error",l=>{let{ret:u}=this;ys.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||ys.destroy(l,new Nb)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,ys.destroy(r,e)}};function fie(t,e){try{let r=new Tb(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Aie().destroy(r)}}o(fie,"pipeline");zF.exports=fie});var KF=g((gFe,jF)=>{"use strict";var{InvalidArgumentError:Pb,SocketError:gie}=Ce(),{AsyncResource:Eie}=require("node:async_hooks"),$F=Ae(),{addSignal:yie,removeSignal:YF}=XA(),JF=require("node:assert"),vb=class extends Eie{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Pb("invalid opts");if(typeof r!="function")throw new Pb("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Pb("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=n||null,this.callback=r,this.abort=null,this.context=null,yie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}JF(this.callback),this.abort=e,this.context=null}onHeaders(){throw new gie("bad upgrade",null)}onUpgrade(e,r,s){JF(e===101);let{callback:n,opaque:i,context:a}=this;YF(this),this.callback=null;let c=this.responseHeaders==="raw"?$F.parseRawHeaders(r):$F.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;YF(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function WF(t,e){if(e===void 0)return new Promise((r,s)=>{WF.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new vb(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(WF,"upgrade");jF.exports=WF});var rU=g((yFe,tU)=>{"use strict";var Cie=require("node:assert"),{AsyncResource:Iie}=require("node:async_hooks"),{InvalidArgumentError:kb,SocketError:Bie}=Ce(),XF=Ae(),{addSignal:wie,removeSignal:ZF}=XA(),Db=class extends Iie{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new kb("invalid opts");if(typeof r!="function")throw new kb("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new kb("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,wie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}Cie(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Bie("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:a}=this;ZF(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?XF.parseRawHeaders(r):XF.parseHeaders(r)),this.runInAsyncScope(n,null,null,{statusCode:e,headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;ZF(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function eU(t,e){if(e===void 0)return new Promise((r,s)=>{eU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new Db(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(eU,"connect");tU.exports=eU});var sU=g((IFe,Cl)=>{"use strict";Cl.exports.request=DF();Cl.exports.stream=qF();Cl.exports.pipeline=VF();Cl.exports.upgrade=KF();Cl.exports.connect=rU()});var Lb=g((BFe,iU)=>{"use strict";var{UndiciError:bie}=Ce(),nU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),_b=class t extends bie{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[nU]===!0}[nU]=!0};iU.exports={MockNotMatchedError:_b}});var Il=g((bFe,oU)=>{"use strict";oU.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 ed=g((QFe,gU)=>{"use strict";var{MockNotMatchedError:Ra}=Lb(),{kDispatches:Vh,kMockAgent:Qie,kOriginalDispatch:xie,kOrigin:Nie,kGetNetConnect:Sie}=Il(),{buildURL:Rie}=Ae(),{STATUS_CODES:Tie}=require("node:http"),{types:{isPromise:Pie}}=require("node:util");function Di(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Di,"matchValue");function cU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(cU,"lowerCaseEntries");function lU(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,s]of Object.entries(t.headers)){let n=lU(e,r);if(!Di(s,n))return!1}return!0}o(uU,"matchHeaders");function aU(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(aU,"safeUrl");function vie(t,{path:e,method:r,body:s,headers:n}){let i=Di(t.path,e),a=Di(t.method,r),c=typeof t.body<"u"?Di(t.body,s):!0,l=uU(t,n);return i&&a&&c&&l}o(vie,"matchKey");function AU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(AU,"getResponseData");function dU(t,e){let r=e.query?Rie(e.path,e.query):e.path,s=typeof r=="string"?aU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>Di(aU(i),s));if(n.length===0)throw new Ra(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>Di(i,e.method)),n.length===0)throw new Ra(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?Di(i,e.body):!0),n.length===0)throw new Ra(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>uU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Ra(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}o(dU,"getMockDispatch");function kie(t,e,r){let s={timesInvoked:0,times:1,persist:!1,consumed:!1},n=typeof r=="function"?{callback:r}:{...r},i={...s,...e,pending:!0,data:{error:null,...n}};return t.push(i),i}o(kie,"addMockDispatch");function Mb(t,e){let r=t.findIndex(s=>s.consumed?vie(s,e):!1);r!==-1&&t.splice(r,1)}o(Mb,"deleteMockDispatch");function pU(t){let{path:e,method:r,body:s,headers:n,query:i}=t;return{path:e,method:r,body:s,headers:n,query:i}}o(pU,"buildKey");function Ob(t){let e=Object.keys(t),r=[];for(let s=0;s=p,s.pending=d0?setTimeout(()=>{m(this[Vh])},u):m(this[Vh]);function m(f,C=i){let E=Array.isArray(t.headers)?Fb(t.headers):t.headers,y=typeof C=="function"?C({...t,headers:E}):C;if(Pie(y)){y.then(S=>m(f,S));return}let I=AU(y),B=Ob(a),N=Ob(c);e.onConnect?.(S=>e.onError(S),null),e.onHeaders?.(n,B,h,mU(n)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),Mb(f,r)}o(m,"handleReply");function h(){}return o(h,"resume"),!0}o(hU,"mockDispatch");function _ie(){let t=this[Qie],e=this[Nie],r=this[xie];return o(function(n,i){if(t.isMockActive)try{hU.call(this,n,i)}catch(a){if(a instanceof Ra){let c=t[Sie]();if(c===!1)throw new Ra(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(fU(c,e))r.call(this,n,i);else throw new Ra(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,n,i)},"dispatch")}o(_ie,"buildMockDispatch");function fU(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>Di(s,r.host)))}o(fU,"checkNetConnect");function Lie(t){if(t){let{agent:e,...r}=t;return r}}o(Lie,"buildMockOptions");gU.exports={getResponseData:AU,getMockDispatch:dU,addMockDispatch:kie,deleteMockDispatch:Mb,buildKey:pU,generateKeyValues:Ob,matchValue:Di,getResponse:Die,getStatusText:mU,mockDispatch:hU,buildMockDispatch:_ie,checkNetConnect:fU,buildMockOptions:Lie,getHeaderByName:lU,buildHeadersFromArray:Fb}});var $b=g((NFe,Vb)=>{"use strict";var{getResponseData:Mie,buildKey:Oie,addMockDispatch:Ub}=ed(),{kDispatches:$h,kDispatchKey:Yh,kDefaultHeaders:qb,kDefaultTrailers:Gb,kContentLength:Hb,kMockDispatch:Jh}=Il(),{InvalidArgumentError:Tn}=Ce(),{buildURL:Fie}=Ae(),Bl=class{static{o(this,"MockScope")}constructor(e){this[Jh]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Tn("waitInMs must be a valid integer > 0");return this[Jh].delay=e,this}persist(){return this[Jh].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Tn("repeatTimes must be a valid integer > 0");return this[Jh].times=e,this}},zb=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Tn("opts must be an object");if(typeof e.path>"u")throw new Tn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Fie(e.path,e.query);else{let s=new URL(e.path,"data://");e.path=s.pathname+s.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Yh]=Oie(e),this[$h]=r,this[qb]={},this[Gb]={},this[Hb]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=Mie(r),i=this[Hb]?{"content-length":n.length}:{},a={...this[qb],...i,...s.headers},c={...this[Gb],...s.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Tn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Tn("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new Tn("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=Ub(this[$h],this[Yh],i);return new Bl(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let s=this.createMockScopeDispatchData(r),n=Ub(this[$h],this[Yh],s);return new Bl(n)}replyWithError(e){if(typeof e>"u")throw new Tn("error must be defined");let r=Ub(this[$h],this[Yh],{error:e});return new Bl(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Tn("headers must be defined");return this[qb]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Tn("trailers must be defined");return this[Gb]=e,this}replyContentLength(){return this[Hb]=!0,this}};Vb.exports.MockInterceptor=zb;Vb.exports.MockScope=Bl});var Wb=g((RFe,bU)=>{"use strict";var{promisify:Uie}=require("node:util"),qie=dl(),{buildMockDispatch:Gie}=ed(),{kDispatches:EU,kMockAgent:yU,kClose:CU,kOriginalClose:IU,kOrigin:BU,kOriginalDispatch:Hie,kConnected:Yb}=Il(),{MockInterceptor:zie}=$b(),wU=Ge(),{InvalidArgumentError:Vie}=Ce(),Jb=class extends qie{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Vie("Argument opts.agent must implement Agent");this[yU]=r.agent,this[BU]=e,this[EU]=[],this[Yb]=1,this[Hie]=this.dispatch,this[IU]=this.close.bind(this),this.dispatch=Gie.call(this),this.close=this[CU]}get[wU.kConnected](){return this[Yb]}intercept(e){return new zie(e,this[EU])}async[CU](){await Uie(this[IU])(),this[Yb]=0,this[yU][wU.kClients].delete(this[BU])}};bU.exports=Jb});var Xb=g((PFe,PU)=>{"use strict";var{promisify:$ie}=require("node:util"),Yie=pl(),{buildMockDispatch:Jie}=ed(),{kDispatches:QU,kMockAgent:xU,kClose:NU,kOriginalClose:SU,kOrigin:RU,kOriginalDispatch:Wie,kConnected:jb}=Il(),{MockInterceptor:jie}=$b(),TU=Ge(),{InvalidArgumentError:Kie}=Ce(),Kb=class extends Yie{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Kie("Argument opts.agent must implement Agent");this[xU]=r.agent,this[RU]=e,this[QU]=[],this[jb]=1,this[Wie]=this.dispatch,this[SU]=this.close.bind(this),this.dispatch=Jie.call(this),this.close=this[NU]}get[TU.kConnected](){return this[jb]}intercept(e){return new jie(e,this[QU])}async[NU](){await $ie(this[SU])(),this[jb]=0,this[xU][TU.kClients].delete(this[RU])}};PU.exports=Kb});var kU=g((DFe,vU)=>{"use strict";var Xie={pronoun:"it",is:"is",was:"was",this:"this"},Zie={pronoun:"they",is:"are",was:"were",this:"these"};vU.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?Xie:Zie,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var _U=g((MFe,DU)=>{"use strict";var{Transform:eoe}=require("node:stream"),{Console:toe}=require("node:console"),roe=process.versions.icu?"\u2705":"Y ",soe=process.versions.icu?"\u274C":"N ";DU.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new eoe({transform(r,s,n){n(null,r)}}),this.logger=new toe({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:s,path:n,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:s,Origin:u,Path:n,"Status code":i,Persistent:a?roe:soe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var FU=g((FFe,OU)=>{"use strict";var{kClients:Ta}=Ge(),noe=ml(),{kAgent:Zb,kMockAgentSet:Wh,kMockAgentGet:LU,kDispatches:eQ,kIsMockActive:jh,kNetConnect:Pa,kGetNetConnect:ioe,kOptions:Kh,kFactory:Xh}=Il(),ooe=Wb(),aoe=Xb(),{matchValue:coe,buildMockOptions:loe}=ed(),{InvalidArgumentError:MU,UndiciError:uoe}=Ce(),Aoe=wA(),doe=kU(),poe=_U(),tQ=class extends Aoe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Pa]=!0,this[jh]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new MU("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new noe(e);this[Zb]=r,this[Ta]=r[Ta],this[Kh]=loe(e)}get(e){let r=this[LU](e);return r||(r=this[Xh](e),this[Wh](e,r)),r}dispatch(e,r){return this.get(e.origin),this[Zb].dispatch(e,r)}async close(){await this[Zb].close(),this[Ta].clear()}deactivate(){this[jh]=!1}activate(){this[jh]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Pa])?this[Pa].push(e):this[Pa]=[e];else if(typeof e>"u")this[Pa]=!0;else throw new MU("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Pa]=!1}get isMockActive(){return this[jh]}[Wh](e,r){this[Ta].set(e,r)}[Xh](e){let r=Object.assign({agent:this},this[Kh]);return this[Kh]&&this[Kh].connections===1?new ooe(e,r):new aoe(e,r)}[LU](e){let r=this[Ta].get(e);if(r)return r;if(typeof e!="string"){let s=this[Xh]("http://localhost:9999");return this[Wh](e,s),s}for(let[s,n]of Array.from(this[Ta]))if(n&&typeof s!="string"&&coe(s,e)){let i=this[Xh](e);return this[Wh](e,i),i[eQ]=n[eQ],i}}[ioe](){return this[Pa]}pendingInterceptors(){let e=this[Ta];return Array.from(e.entries()).flatMap(([r,s])=>s[eQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new poe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new doe("interceptor","interceptors").pluralize(r.length);throw new uoe(` +`,"latin1"),r!==null&&n!==r){if(s[_w])throw new Ea;process.emitWarning(new Ea)}e[Le].timeout&&e[Le].timeoutType===cl&&e[Le].timeout.refresh&&e[Le].timeout.refresh(),s[Ti]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[fo]=!1,e&&(J(s[Et]<=1,"pipeline should only contain this request"),n(e))}};KM.exports=gre});var oO=g((_Oe,iO)=>{"use strict";var gs=require("node:assert"),{pipeline:bre}=require("node:stream"),he=Ae(),{RequestContentLengthMismatchError:Uw,RequestAbortedError:ZM,SocketError:OA,InformationalError:qw}=Ce(),{kUrl:Sh,kReset:Th,kClient:ll,kRunning:Ph,kPending:Qre,kQueue:go,kPendingIdx:Gw,kRunningIdx:Xs,kError:en,kSocket:_t,kStrictContentLength:xre,kOnError:Hw,kMaxConcurrentStreams:nO,kHTTP2Session:Zs,kResume:Eo,kSize:Nre,kHTTPContext:Sre}=Ge(),Pi=Symbol("open streams"),eO,tO=!1,Rh;try{Rh=require("node:http2")}catch{Rh={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Rre,HTTP2_HEADER_METHOD:Tre,HTTP2_HEADER_PATH:Pre,HTTP2_HEADER_SCHEME:vre,HTTP2_HEADER_CONTENT_LENGTH:kre,HTTP2_HEADER_EXPECT:Dre,HTTP2_HEADER_STATUS:_re}}=Rh;function Lre(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(Lre,"parseH2Headers");async function Mre(t,e){t[_t]=e,tO||(tO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Rh.connect(t[Sh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[nO]});r[Pi]=0,r[ll]=t,r[_t]=e,he.addListener(r,"error",Fre),he.addListener(r,"frameError",Ure),he.addListener(r,"end",qre),he.addListener(r,"goaway",Gre),he.addListener(r,"close",function(){let{[ll]:n}=this,{[_t]:i}=n,a=this[_t][en]||this[en]||new OA("closed",he.getSocketInfo(i));if(n[Zs]=null,n.destroyed){gs(n[Qre]===0);let c=n[go].splice(n[Xs]);for(let l=0;l{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return zre(t,...n)},resume(){Ore(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(Mre,"connectH2");function Ore(t){let e=t[_t];e?.destroyed===!1&&(t[Nre]===0&&t[nO]===0?(e.unref(),t[Zs].unref()):(e.ref(),t[Zs].ref()))}o(Ore,"resumeH2");function Fre(t){gs(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[_t][en]=t,this[ll][Hw](t)}o(Fre,"onHttp2SessionError");function Ure(t,e,r){if(r===0){let s=new qw(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[_t][en]=s,this[ll][Hw](s)}}o(Ure,"onHttp2FrameError");function qre(){let t=new OA("other side closed",he.getSocketInfo(this[_t]));this.destroy(t),he.destroy(this[_t],t)}o(qre,"onHttp2SessionEnd");function Gre(t){let e=this[en]||new OA(`HTTP/2: "GOAWAY" frame received with code ${t}`,he.getSocketInfo(this)),r=this[ll];if(r[_t]=null,r[Sre]=null,this[Zs]!=null&&(this[Zs].destroy(e),this[Zs]=null),he.destroy(this[_t],e),r[Xs]{e.aborted||e.completed||(B=B||new ZM,he.errorRequest(t,e,B),p!=null&&he.destroy(p,B),he.destroy(A,B),t[go][t[Xs]++]=null,t[Eo]())},"abort");try{e.onConnect(f)}catch(B){he.errorRequest(t,e,B)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),p=r.request(d,{endStream:!1,signal:l}),p.id&&!p.pending?(e.onUpgrade(null,null,p),++r[Pi],t[go][t[Xs]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Pi],t[go][t[Xs]++]=null}),p.once("close",()=>{r[Pi]-=1,r[Pi]===0&&r.unref()}),!0;d[Pre]=n,d[vre]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";A&&typeof A.read=="function"&&A.read(0);let E=he.bodyLength(A);if(he.isFormDataLike(A)){eO??=nl().extractBody;let[B,N]=eO(A);d["content-type"]=N,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),Hre(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[xre])return he.errorRequest(t,e,new Uw),!1;process.emitWarning(new Uw)}E!=null&&(gs(A,"no body must not have content length"),d[kre]=`${E}`),r.ref();let y=s==="GET"||s==="HEAD"||A===null;return c?(d[Dre]="100-continue",p=r.request(d,{endStream:y,signal:l}),p.once("continue",I)):(p=r.request(d,{endStream:y,signal:l}),I()),++r[Pi],p.once("response",B=>{let{[_re]:N,...S}=B;if(e.onResponseStarted(),e.aborted){let U=new ZM;he.errorRequest(t,e,U),he.destroy(p,U);return}e.onHeaders(Number(N),Lre(S),p.resume.bind(p),"")===!1&&p.pause(),p.on("data",U=>{e.onData(U)===!1&&p.pause()})}),p.once("end",()=>{(p.state?.state==null||p.state.state<6)&&e.onComplete([]),r[Pi]===0&&r.unref(),f(new qw("HTTP/2: stream half-closed (remote)")),t[go][t[Xs]++]=null,t[Gw]=t[Xs],t[Eo]()}),p.once("close",()=>{r[Pi]-=1,r[Pi]===0&&r.unref()}),p.once("error",function(B){f(B)}),p.once("frameError",(B,N)=>{f(new qw(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!A||E===0?rO(f,p,null,t,e,t[_t],E,C):he.isBuffer(A)?rO(f,p,A,t,e,t[_t],E,C):he.isBlobLike(A)?typeof A.stream=="function"?sO(f,p,A.stream(),t,e,t[_t],E,C):$re(f,p,A,t,e,t[_t],E,C):he.isStream(A)?Vre(f,t[_t],C,p,A,t,e,E):he.isIterable(A)?sO(f,p,A,t,e,t[_t],E,C):gs(!1)}o(I,"writeBodyH2")}o(zre,"writeH2");function rO(t,e,r,s,n,i,a,c){try{r!=null&&he.isBuffer(r)&&(gs(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),c||(i[Th]=!0),n.onRequestSent(),s[Eo]()}catch(l){t(l)}}o(rO,"writeBuffer");function Vre(t,e,r,s,n,i,a,c){gs(c!==0||i[Ph]===0,"stream body cannot be pipelined");let l=bre(n,s,A=>{A?(he.destroy(l,A),t(A)):(he.removeAllListeners(l),a.onRequestSent(),r||(e[Th]=!0),i[Eo]())});he.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(Vre,"writeStream");async function $re(t,e,r,s,n,i,a,c){gs(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new Uw;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),n.onBodySent(l),n.onRequestSent(),c||(i[Th]=!0),s[Eo]()}catch(l){t(l)}}o($re,"writeBlob");async function sO(t,e,r,s,n,i,a,c){gs(a!==0||s[Ph]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let d=l;l=null,d()}}o(u,"onDrain");let A=o(()=>new Promise((d,p)=>{gs(l===null),i[en]?p(i[en]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(i[en])throw i[en];let p=e.write(d);n.onBodySent(d),p||await A()}e.end(),n.onRequestSent(),c||(i[Th]=!0),s[Eo]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(sO,"writeIterable");iO.exports=Mre});var kh=g((MOe,lO)=>{"use strict";var Nn=Ae(),{kBodyUsed:FA}=Ge(),Vw=require("node:assert"),{InvalidArgumentError:Yre}=Ce(),Jre=require("node:events"),Wre=[300,301,302,303,307,308],aO=Symbol("body"),vh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[aO]=e,this[FA]=!1}async*[Symbol.asyncIterator](){Vw(!this[FA],"disturbed"),this[FA]=!0,yield*this[aO]}},zw=class{static{o(this,"RedirectHandler")}constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new Yre("maxRedirections must be a positive number");Nn.validateHandler(n,s.method,s.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...s,maxRedirections:0},this.maxRedirections=r,this.handler=n,this.history=[],this.redirectionLimitReached=!1,Nn.isStream(this.opts.body)?(Nn.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){Vw(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[FA]=!1,Jre.prototype.on.call(this.opts.body,"data",function(){this[FA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new vh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Nn.isIterable(this.opts.body)&&(this.opts.body=new vh(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,s){this.handler.onUpgrade(e,r,s)}onError(e){this.handler.onError(e)}onHeaders(e,r,s,n){if(this.location=this.history.length>=this.maxRedirections||Nn.isDisturbed(this.opts.body)?null:jre(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,s,n);let{origin:i,pathname:a,search:c}=Nn.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=Kre(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=l,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function jre(t,e){if(Wre.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var Xre=kh();function Zre({maxRedirections:t}){return e=>o(function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let a=new Xre(e,i,s,n);return s={...s,maxRedirections:0},e(s,a)},"Intercept")}o(Zre,"createRedirectInterceptor");uO.exports=Zre});var dl=g((qOe,CO)=>{"use strict";var vi=require("node:assert"),fO=require("node:net"),ese=require("node:http"),Ia=Ae(),{channels:ul}=Vc(),tse=CL(),rse=Wc(),{InvalidArgumentError:at,InformationalError:sse,ClientDestroyedError:nse}=Ce(),ise=xA(),{kUrl:Sn,kServerName:yo,kClient:ose,kBusy:$w,kConnect:ase,kResuming:Ba,kRunning:zA,kPending:VA,kSize:HA,kQueue:tn,kConnected:cse,kConnecting:Al,kNeedDrain:Io,kKeepAliveDefaultTimeout:AO,kHostHeader:lse,kPendingIdx:rn,kRunningIdx:ki,kError:use,kPipelining:_h,kKeepAliveTimeoutValue:Ase,kMaxHeadersSize:dse,kKeepAliveMaxTimeout:pse,kKeepAliveTimeoutThreshold:mse,kHeadersTimeout:hse,kBodyTimeout:fse,kStrictContentLength:gse,kConnector:UA,kMaxRedirections:Ese,kMaxRequests:Yw,kCounter:yse,kClose:Cse,kDestroy:Ise,kDispatch:Bse,kInterceptors:dO,kLocalAddress:qA,kMaxResponseSize:wse,kOnError:bse,kHTTPContext:ct,kMaxConcurrentStreams:Qse,kResume:GA}=Ge(),xse=XM(),Nse=oO(),pO=!1,Co=Symbol("kClosedResolve"),mO=o(()=>{},"noop");function gO(t){return t[_h]??t[ct]?.defaultPipelining??1}o(gO,"getPipelining");var Jw=class extends rse{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:s,headersTimeout:n,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:A,keepAliveTimeout:d,maxKeepAliveTimeout:p,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:h,socketPath:f,pipelining:C,tls:E,strictContentLength:y,maxCachedSessions:I,maxRedirections:B,connect:N,maxRequestsPerClient:S,localAddress:U,maxResponseSize:Ie,autoSelectFamily:je,autoSelectFamilyAttemptTimeout:Pe,maxConcurrentStreams:ke,allowH2:de,webSocket:gt}={}){if(super({webSocket:gt}),A!==void 0)throw new at("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new at("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new at("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new at("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new at("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new at("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new at("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new at("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new at("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new at("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new at("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new at("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new at("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new at("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new at("maxRedirections must be a positive number");if(S!=null&&(!Number.isInteger(S)||S<0))throw new at("maxRequestsPerClient must be a positive number");if(U!=null&&(typeof U!="string"||fO.isIP(U)===0))throw new at("localAddress must be valid string IP address");if(Ie!=null&&(!Number.isInteger(Ie)||Ie<-1))throw new at("maxResponseSize must be a positive number");if(Pe!=null&&(!Number.isInteger(Pe)||Pe<-1))throw new at("autoSelectFamilyAttemptTimeout must be a positive number");if(de!=null&&typeof de!="boolean")throw new at("allowH2 must be a valid boolean value");if(ke!=null&&(typeof ke!="number"||ke<1))throw new at("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=ise({...E,maxCachedSessions:I,allowH2:de,socketPath:f,timeout:c,...je?{autoSelectFamily:je,autoSelectFamilyAttemptTimeout:Pe}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[dO]=r.Client,pO||(pO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[dO]=[Sse({maxRedirections:B})],this[Sn]=Ia.parseOrigin(e),this[UA]=N,this[_h]=C??1,this[dse]=s||ese.maxHeaderSize,this[AO]=d??4e3,this[pse]=m??6e5,this[mse]=h??2e3,this[Ase]=this[AO],this[yo]=null,this[qA]=U??null,this[Ba]=0,this[Io]=0,this[lse]=`host: ${this[Sn].hostname}${this[Sn].port?`:${this[Sn].port}`:""}\r +`,this[fse]=l??3e5,this[hse]=n??3e5,this[gse]=y??!0,this[Ese]=B,this[Yw]=S,this[Co]=null,this[wse]=Ie>-1?Ie:-1,this[Qse]=ke??100,this[ct]=null,this[tn]=[],this[ki]=0,this[rn]=0,this[GA]=ce=>Ww(this,ce),this[bse]=ce=>EO(this,ce)}get pipelining(){return this[_h]}set pipelining(e){this[_h]=e,this[GA](!0)}get[VA](){return this[tn].length-this[rn]}get[zA](){return this[rn]-this[ki]}get[HA](){return this[tn].length-this[ki]}get[cse](){return!!this[ct]&&!this[Al]&&!this[ct].destroyed}get[$w](){return!!(this[ct]?.busy(null)||this[HA]>=(gO(this)||1)||this[VA]>0)}[ase](e){yO(this),this.once("connect",e)}[Bse](e,r){let s=e.origin||this[Sn].origin,n=new tse(s,e,r);return this[tn].push(n),this[Ba]||(Ia.bodyLength(n.body)==null&&Ia.isIterable(n.body)?(this[Ba]=1,queueMicrotask(()=>Ww(this))):this[GA](!0)),this[Ba]&&this[Io]!==2&&this[$w]&&(this[Io]=2),this[Io]<2}async[Cse](){return new Promise(e=>{this[HA]?this[Co]=e:e(null)})}async[Ise](e){return new Promise(r=>{let s=this[tn].splice(this[rn]);for(let i=0;i{this[Co]&&(this[Co](),this[Co]=null),r(null)},"callback");this[ct]?(this[ct].destroy(e,n),this[ct]=null):queueMicrotask(n),this[GA]()})}},Sse=Dh();function EO(t,e){if(t[zA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){vi(t[rn]===t[ki]);let r=t[tn].splice(t[ki]);for(let s=0;s{t[UA]({host:e,hostname:r,protocol:s,port:n,servername:t[yo],localAddress:t[qA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Ia.destroy(i.on("error",mO),new nse);return}vi(i);try{t[ct]=i.alpnProtocol==="h2"?await Nse(t,i):await xse(t,i)}catch(a){throw i.destroy().on("error",mO),a}t[Al]=!1,i[yse]=0,i[Yw]=t[Yw],i[ose]=t,i[use]=null,ul.connected.hasSubscribers&&ul.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ct]?.version,servername:t[yo],localAddress:t[qA]},connector:t[UA],socket:i}),t.emit("connect",t[Sn],[t])}catch(i){if(t.destroyed)return;if(t[Al]=!1,ul.connectError.hasSubscribers&&ul.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ct]?.version,servername:t[yo],localAddress:t[qA]},connector:t[UA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(vi(t[zA]===0);t[VA]>0&&t[tn][t[rn]].servername===t[yo];){let a=t[tn][t[rn]++];Ia.errorRequest(t,a,i)}else EO(t,i);t.emit("connectionError",t[Sn],[t],i)}t[GA]()}o(yO,"connect");function hO(t){t[Io]=0,t.emit("drain",t[Sn],[t])}o(hO,"emitDrain");function Ww(t,e){t[Ba]!==2&&(t[Ba]=2,Rse(t,e),t[Ba]=0,t[ki]>256&&(t[tn].splice(0,t[ki]),t[rn]-=t[ki],t[ki]=0))}o(Ww,"resume");function Rse(t,e){for(;;){if(t.destroyed){vi(t[VA]===0);return}if(t[Co]&&!t[HA]){t[Co](),t[Co]=null;return}if(t[ct]&&t[ct].resume(),t[$w])t[Io]=2;else if(t[Io]===2){e?(t[Io]=1,queueMicrotask(()=>hO(t))):hO(t);continue}if(t[VA]===0||t[zA]>=(gO(t)||1))return;let r=t[tn][t[rn]];if(t[Sn].protocol==="https:"&&t[yo]!==r.servername){if(t[zA]>0)return;t[yo]=r.servername,t[ct]?.destroy(new sse("servername changed"),()=>{t[ct]=null,Ww(t)})}if(t[Al])return;if(!t[ct]){yO(t);return}if(t[ct].destroyed||t[ct].busy(r))return;!r.aborted&&t[ct].write(r)?t[rn]++:t[tn].splice(t[rn],1)}}o(Rse,"_resume");CO.exports=Jw});var jw=g((zOe,IO)=>{"use strict";var Lh=class{static{o(this,"FixedCircularBuffer")}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(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};IO.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Lh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Lh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var wO=g(($Oe,BO)=>{var{kFree:Tse,kConnected:Pse,kPending:vse,kQueued:kse,kRunning:Dse,kSize:_se}=Ge(),wa=Symbol("pool"),Kw=class{static{o(this,"PoolStats")}constructor(e){this[wa]=e}get connected(){return this[wa][Pse]}get free(){return this[wa][Tse]}get pending(){return this[wa][vse]}get queued(){return this[wa][kse]}get running(){return this[wa][Dse]}get size(){return this[wa][_se]}};BO.exports=Kw});var sb=g((JOe,kO)=>{"use strict";var Lse=Wc(),Mse=jw(),{kConnected:Xw,kSize:bO,kRunning:QO,kPending:xO,kQueued:$A,kBusy:Ose,kFree:Fse,kUrl:Use,kClose:qse,kDestroy:Gse,kDispatch:Hse}=Ge(),zse=wO(),wr=Symbol("clients"),or=Symbol("needDrain"),YA=Symbol("queue"),Zw=Symbol("closed resolve"),eb=Symbol("onDrain"),NO=Symbol("onConnect"),SO=Symbol("onDisconnect"),RO=Symbol("onConnectionError"),tb=Symbol("get dispatcher"),PO=Symbol("add client"),vO=Symbol("remove client"),TO=Symbol("stats"),rb=class extends Lse{static{o(this,"PoolBase")}constructor(e){super(e),this[YA]=new Mse,this[wr]=[],this[$A]=0;let r=this;this[eb]=o(function(n,i){let a=r[YA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[$A]--,c=!this.dispatch(l.opts,l.handler)}this[or]=c,!this[or]&&r[or]&&(r[or]=!1,r.emit("drain",n,[r,...i])),r[Zw]&&a.isEmpty()&&Promise.all(r[wr].map(l=>l.close())).then(r[Zw])},"onDrain"),this[NO]=(s,n)=>{r.emit("connect",s,[r,...n])},this[SO]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[RO]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[TO]=new zse(this)}get[Ose](){return this[or]}get[Xw](){return this[wr].filter(e=>e[Xw]).length}get[Fse](){return this[wr].filter(e=>e[Xw]&&!e[or]).length}get[xO](){let e=this[$A];for(let{[xO]:r}of this[wr])e+=r;return e}get[QO](){let e=0;for(let{[QO]:r}of this[wr])e+=r;return e}get[bO](){let e=this[$A];for(let{[bO]:r}of this[wr])e+=r;return e}get stats(){return this[TO]}async[qse](){this[YA].isEmpty()?await Promise.all(this[wr].map(e=>e.close())):await new Promise(e=>{this[Zw]=e})}async[Gse](e){for(;;){let r=this[YA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[wr].map(r=>r.destroy(e)))}[Hse](e,r){let s=this[tb]();return s?s.dispatch(e,r)||(s[or]=!0,this[or]=!this[tb]()):(this[or]=!0,this[YA].push({opts:e,handler:r}),this[$A]++),!this[or]}[PO](e){return e.on("drain",this[eb]).on("connect",this[NO]).on("disconnect",this[SO]).on("connectionError",this[RO]),this[wr].push(e),this[or]&&queueMicrotask(()=>{this[or]&&this[eb](e[Use],[this,e])}),this}[vO](e){e.close(()=>{let r=this[wr].indexOf(e);r!==-1&&this[wr].splice(r,1)}),this[or]=this[wr].some(r=>!r[or]&&r.closed!==!0&&r.destroyed!==!0)}};kO.exports={PoolBase:rb,kClients:wr,kNeedDrain:or,kAddClient:PO,kRemoveClient:vO,kGetDispatcher:tb}});var pl=g((jOe,MO)=>{"use strict";var{PoolBase:Vse,kClients:Mh,kNeedDrain:$se,kAddClient:Yse,kGetDispatcher:Jse}=sb(),Wse=dl(),{InvalidArgumentError:nb}=Ce(),DO=Ae(),{kUrl:_O,kInterceptors:jse}=Ge(),Kse=xA(),ib=Symbol("options"),ob=Symbol("connections"),LO=Symbol("factory");function Xse(t,e){return new Wse(t,e)}o(Xse,"defaultFactory");var ab=class extends Vse{static{o(this,"Pool")}constructor(e,{connections:r,factory:s=Xse,connect:n,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A,allowH2:d,...p}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new nb("invalid connections");if(typeof s!="function")throw new nb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new nb("connect must be a function or an object");typeof n!="function"&&(n=Kse({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...n})),super(p),this[jse]=p.interceptors?.Pool&&Array.isArray(p.interceptors.Pool)?p.interceptors.Pool:[],this[ob]=r||null,this[_O]=DO.parseOrigin(e),this[ib]={...DO.deepClone(p),connect:n,allowH2:d},this[ib].interceptors=p.interceptors?{...p.interceptors}:void 0,this[LO]=s,this.on("connectionError",(m,h,f)=>{for(let C of h){let E=this[Mh].indexOf(C);E!==-1&&this[Mh].splice(E,1)}})}[Jse](){for(let e of this[Mh])if(!e[$se])return e;if(!this[ob]||this[Mh].length{"use strict";var{BalancedPoolMissingUpstreamError:Zse,InvalidArgumentError:ene}=Ce(),{PoolBase:tne,kClients:Wt,kNeedDrain:JA,kAddClient:rne,kRemoveClient:sne,kGetDispatcher:nne}=sb(),ine=pl(),{kUrl:cb,kInterceptors:one}=Ge(),{parseOrigin:OO}=Ae(),FO=Symbol("factory"),Oh=Symbol("options"),UO=Symbol("kGreatestCommonDivisor"),ba=Symbol("kCurrentWeight"),Qa=Symbol("kIndex"),Es=Symbol("kWeight"),Fh=Symbol("kMaxWeightPerServer"),Uh=Symbol("kErrorPenalty");function ane(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(ane,"getGreatestCommonDivisor");function cne(t,e){return new ine(t,e)}o(cne,"defaultFactory");var lb=class extends tne{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=cne,...s}={}){if(super(),this[Oh]=s,this[Qa]=-1,this[ba]=0,this[Fh]=this[Oh].maxWeightPerServer||100,this[Uh]=this[Oh].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new ene("factory must be a function.");this[one]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[FO]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=OO(e).origin;if(this[Wt].find(n=>n[cb].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[FO](r,Object.assign({},this[Oh]));this[rne](s),s.on("connect",()=>{s[Es]=Math.min(this[Fh],s[Es]+this[Uh])}),s.on("connectionError",()=>{s[Es]=Math.max(1,s[Es]-this[Uh]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[Es]=Math.max(1,s[Es]-this[Uh]),this._updateBalancedPoolStats())});for(let n of this[Wt])n[Es]=this[Fh];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[cb].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[sne](s),this}get upstreams(){return this[Wt].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[cb].origin)}[nne](){if(this[Wt].length===0)throw new Zse;if(!this[Wt].find(i=>!i[JA]&&i.closed!==!0&&i.destroyed!==!0)||this[Wt].map(i=>i[JA]).reduce((i,a)=>i&&a,!0))return;let s=0,n=this[Wt].findIndex(i=>!i[JA]);for(;s++this[Wt][n][Es]&&!i[JA]&&(n=this[Qa]),this[Qa]===0&&(this[ba]=this[ba]-this[UO],this[ba]<=0&&(this[ba]=this[Fh])),i[Es]>=this[ba]&&!i[JA])return i}return this[ba]=this[Wt][n][Es],this[Qa]=n,this[Wt][n]}};qO.exports=lb});var ml=g((eFe,WO)=>{"use strict";var{InvalidArgumentError:qh}=Ce(),{kClients:Bo,kRunning:HO,kClose:lne,kDestroy:une,kDispatch:Ane,kInterceptors:dne}=Ge(),pne=Wc(),mne=pl(),hne=dl(),fne=Ae(),gne=Dh(),zO=Symbol("onConnect"),VO=Symbol("onDisconnect"),$O=Symbol("onConnectionError"),Ene=Symbol("maxRedirections"),YO=Symbol("onDrain"),JO=Symbol("factory"),ub=Symbol("options");function yne(t,e){return e&&e.connections===1?new hne(t,e):new mne(t,e)}o(yne,"defaultFactory");var Ab=class extends pne{static{o(this,"Agent")}constructor({factory:e=yne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new qh("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new qh("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new qh("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[dne]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[gne({maxRedirections:r})],this[ub]={...fne.deepClone(n),connect:s},this[ub].interceptors=n.interceptors?{...n.interceptors}:void 0,this[Ene]=r,this[JO]=e,this[Bo]=new Map,this[YO]=(i,a)=>{this.emit("drain",i,[this,...a])},this[zO]=(i,a)=>{this.emit("connect",i,[this,...a])},this[VO]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[$O]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[HO](){let e=0;for(let r of this[Bo].values())e+=r[HO];return e}[Ane](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new qh("opts.origin must be a non-empty string or URL.");let n=this[Bo].get(s);return n||(n=this[JO](e.origin,this[ub]).on("drain",this[YO]).on("connect",this[zO]).on("disconnect",this[VO]).on("connectionError",this[$O]),this[Bo].set(s,n)),n.dispatch(e,r)}async[lne](){let e=[];for(let r of this[Bo].values())e.push(r.close());this[Bo].clear(),await Promise.all(e)}async[une](e){let r=[];for(let s of this[Bo].values())r.push(s.destroy(e));this[Bo].clear(),await Promise.all(r)}};WO.exports=Ab});var fb=g((rFe,oF)=>{"use strict";var{kProxy:db,kClose:tF,kDestroy:rF,kDispatch:jO,kInterceptors:Cne}=Ge(),{URL:xa}=require("node:url"),Ine=ml(),sF=pl(),nF=Wc(),{InvalidArgumentError:hl,RequestAbortedError:Bne,SecureProxyConnectionError:wne}=Ce(),KO=xA(),iF=dl(),Gh=Symbol("proxy agent"),Hh=Symbol("proxy client"),wo=Symbol("proxy headers"),pb=Symbol("request tls settings"),XO=Symbol("proxy tls settings"),ZO=Symbol("connect endpoint function"),eF=Symbol("tunnel proxy");function bne(t){return t==="https:"?443:80}o(bne,"defaultProtocolPort");function Qne(t,e){return new sF(t,e)}o(Qne,"defaultFactory");var xne=o(()=>{},"noop");function Nne(t,e){return e.connections===1?new iF(t,e):new sF(t,e)}o(Nne,"defaultAgentFactory");var mb=class extends nF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new hl("Proxy URL is mandatory");this[wo]=r,n?this.#e=n(e,{connect:s}):this.#e=new iF(e,{connect:s})}[jO](e,r){let s=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new hl("Proxy Authentication Required (407)"));return}s&&s.call(this,c,l,u)};let{origin:n,path:i="/",headers:a={}}=e;if(e.path=n+i,!("host"in a)&&!("Host"in a)){let{host:c}=new xa(n);a.host=c}return e.headers={...this[wo],...a},this.#e[jO](e,r)}async[tF](){return this.#e.close()}async[rF](e){return this.#e.destroy(e)}},hb=class extends nF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof xa)&&!e.uri)throw new hl("Proxy uri is mandatory");let{clientFactory:r=Qne}=e;if(typeof r!="function")throw new hl("Proxy opts.clientFactory must be a function.");let{proxyTunnel:s=!0}=e,n=this.#e(e),{href:i,origin:a,port:c,protocol:l,username:u,password:A,hostname:d}=n;if(this[db]={uri:i,protocol:l},this[Cne]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[pb]=e.requestTls,this[XO]=e.proxyTls,this[wo]=e.headers||{},this[eF]=s,e.auth&&e.token)throw new hl("opts.auth cannot be used in combination with opts.token");e.auth?this[wo]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[wo]["proxy-authorization"]=e.token:u&&A&&(this[wo]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(A)}`).toString("base64")}`);let p=KO({...e.proxyTls});this[ZO]=KO({...e.requestTls});let m=e.factory||Nne,h=o((f,C)=>{let{protocol:E}=new xa(f);return!this[eF]&&E==="http:"&&this[db].protocol==="http:"?new mb(this[db].uri,{headers:this[wo],connect:p,factory:m}):m(f,C)},"factory");this[Hh]=r(n,{connect:p}),this[Gh]=new Ine({...e,factory:h,connect:o(async(f,C)=>{let E=f.host;f.port||(E+=`:${bne(f.protocol)}`);try{let{socket:y,statusCode:I}=await this[Hh].connect({origin:a,port:c,path:E,signal:f.signal,headers:{...this[wo],host:f.host},servername:this[XO]?.servername||d});if(I!==200&&(y.on("error",xne).destroy(),C(new Bne(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,y);return}let B;this[pb]?B=this[pb].servername:B=f.servername,this[ZO]({...f,servername:B,httpSocket:y},C)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new wne(y)):C(y)}},"connect")})}dispatch(e,r){let s=Sne(e.headers);if(Rne(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new xa(e.origin);s.host=n}return this[Gh].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new xa(e):e instanceof xa?e:new xa(e.uri)}async[tF](){await this[Gh].close(),await this[Hh].close()}async[rF](){await this[Gh].destroy(),await this[Hh].destroy()}};function Sne(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new hl("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Rne,"throwIfProxyAuthIsSent");oF.exports=hb});var dF=g((nFe,AF)=>{"use strict";var Tne=Wc(),{kClose:Pne,kDestroy:vne,kClosed:aF,kDestroyed:cF,kDispatch:kne,kNoProxyAgent:WA,kHttpProxyAgent:bo,kHttpsProxyAgent:Na}=Ge(),lF=fb(),Dne=ml(),_ne={"http:":80,"https:":443},uF=!1,gb=class extends Tne{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#s=null;constructor(e={}){super(),this.#s=e,uF||(uF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:s,noProxy:n,...i}=e;this[WA]=new Dne(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[bo]=new lF({...i,uri:a}):this[bo]=this[WA];let c=s??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Na]=new lF({...i,uri:c}):this[Na]=this[bo],this.#i()}[kne](e,r){let s=new URL(e.origin);return this.#r(s).dispatch(e,r)}async[Pne](){await this[WA].close(),this[bo][aF]||await this[bo].close(),this[Na][aF]||await this[Na].close()}async[vne](e){await this[WA].destroy(e),this[bo][cF]||await this[bo].destroy(e),this[Na][cF]||await this[Na].destroy(e)}#r(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||_ne[r]||0,this.#n(s,n)?r==="https:"?this[Na]:this[bo]:this[WA]}#n(e,r){if(this.#o&&this.#i(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let s=0;s{"use strict";var jA=require("node:assert"),{kRetryHandlerDefaultRetry:pF}=Ge(),{RequestRetryError:Sa}=Ce(),{isDisturbed:mF,parseHeaders:Lne,parseRangeHeader:hF,wrapRequestBody:Mne}=Ae();function One(t){let e=Date.now();return new Date(t).getTime()-e}o(One,"calculateRetryAfterHeader");function fF(t,e,r,s){let n=t["content-length"];if(n==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(n),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new Sa("Content-Length mismatch",r,{headers:t,data:{count:s}}):null}o(fF,"validatePartialResponseContentLength");var Eb=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:s,...n}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:A,errorCodes:d,retryAfter:p,statusCodes:m}=s??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...n,body:Mne(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[pF],retryAfter:p??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.headersSent=!1,this.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}checkpointResponseEnd(e,r){if(this.end==null&&this.opts.method!=="HEAD"){let s=e["content-length"];this.end=s!=null?Number(s)-1:null,jA(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?r:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,s){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,s)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[pF](e,{state:r,opts:s},n){let{statusCode:i,code:a,headers:c}=e,{method:l,retryOptions:u}=s,{maxRetries:A,minTimeout:d,maxTimeout:p,timeoutFactor:m,statusCodes:h,errorCodes:f,methods:C}=u,{counter:E}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!f.includes(a)){n(e);return}if(Array.isArray(C)&&!C.includes(l)){n(e);return}if(i!=null&&Array.isArray(h)&&!h.includes(i)){n(e);return}if(E>A){n(e);return}let y=c?.["retry-after"];y&&(y=Number(y),y=Number.isNaN(y)?One(y):y*1e3);let I=y>0?Math.min(y,p):Math.min(d*m**(E-1),p);setTimeout(()=>n(null),I)}onHeaders(e,r,s,n){let i=Lne(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?(this.headersSent=!0,this.checkpointResponseEnd(i,s),this.handler.onHeaders(e,r,s,n)):(this.abort(new Sa("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new Sa("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=hF(i["content-range"]);if(!c)return this.abort(new Sa("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Sa("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=fF(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;return this.start!==u||this.end!=null&&this.end!==d?(this.abort(new Sa("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=s,!0)}if(this.end==null){if(e===206){let c=hF(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,r,s,n);let l=fF(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;jA(u!=null&&Number.isFinite(u),"content-range mismatch"),jA(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=u,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return jA(Number.isFinite(this.start)),jA(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,s,n)}let a=new Sa("Request failed",e,{headers:i,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||mF(this.opts.body)||this.headersSent&&this.resume==null)return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(s){if(s!=null||this.aborted||mF(this.opts.body))return this.handler.onError(s);if(this.start!==0){let n={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(n["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...n}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(n){this.handler.onError(n)}}o(r,"onRetry")}};gF.exports=Eb});var yF=g((cFe,EF)=>{"use strict";var Fne=bA(),Une=zh(),yb=class extends Fne{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let s=new Une({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,s)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};EF.exports=yb});var Qb=g((uFe,SF)=>{"use strict";var bF=require("node:assert"),{Readable:qne}=require("node:stream"),{RequestAbortedError:QF,NotSupportedError:Gne,InvalidArgumentError:Hne,AbortError:Cb}=Ce(),xF=Ae(),{ReadableStreamFrom:zne}=Ae(),$r=Symbol("kConsume"),KA=Symbol("kReading"),Qo=Symbol("kBody"),CF=Symbol("kAbort"),NF=Symbol("kContentType"),IF=Symbol("kContentLength"),Vne=o(()=>{},"noop"),Ib=class extends qne{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:s="",contentLength:n,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[CF]=r,this[$r]=null,this[Qo]=null,this[NF]=s,this[IF]=n,this[KA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new QF),e&&this[CF](),super.destroy(e)}_destroy(e,r){this[KA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[KA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let s=super.off(e,...r);return(e==="data"||e==="readable")&&(this[KA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[$r]&&e!==null?(wb(this[$r],e),this[KA]?super.push(e):!0):super.push(e)}async text(){return XA(this,"text")}async json(){return XA(this,"json")}async blob(){return XA(this,"blob")}async bytes(){return XA(this,"bytes")}async arrayBuffer(){return XA(this,"arrayBuffer")}async formData(){throw new Gne}get bodyUsed(){return xF.isDisturbed(this)}get body(){return this[Qo]||(this[Qo]=zne(this),this[$r]&&(this[Qo].getReader(),bF(this[Qo].locked))),this[Qo]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,s=e?.signal;if(s!=null&&(typeof s!="object"||!("aborted"in s)))throw new Hne("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[IF]>r&&this.destroy(new Cb);let a=o(()=>{this.destroy(s.reason??new Cb)},"onAbort");s?.addEventListener("abort",a),this.on("close",function(){s?.removeEventListener("abort",a),s?.aborted?i(s.reason??new Cb):n(null)}).on("error",Vne).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function $ne(t){return t[Qo]&&t[Qo].locked===!0||t[$r]}o($ne,"isLocked");function Yne(t){return xF.isDisturbed(t)||$ne(t)}o(Yne,"isUnusable");async function XA(t,e){return bF(!t[$r]),new Promise((r,s)=>{if(Yne(t)){let n=t._readableState;n.destroyed&&n.closeEmitted===!1?t.on("error",i=>{s(i)}).on("close",()=>{s(new TypeError("unusable"))}):s(n.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[$r]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){bb(this[$r],n)}).on("close",function(){this[$r].body!==null&&bb(this[$r],new QF)}),Jne(t[$r])})})}o(XA,"consume");function Jne(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,s=e.buffer.length;for(let n=r;n2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(n,s)}o(Bb,"chunksDecode");function BF(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),s=0;for(let n=0;n{var Wne=require("node:assert"),{ResponseStatusCodeError:RF}=Ce(),{chunksDecode:TF}=Qb(),jne=128*1024;async function Kne({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){Wne(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>jne){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!c){queueMicrotask(()=>t(new RF(l,s,i)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{PF(r)?A=JSON.parse(TF(a,c)):vF(r)&&(A=TF(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new RF(l,s,i,A)))}o(Kne,"getResolveErrorBodyCallback");var PF=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),vF=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");kF.exports={getResolveErrorBodyCallback:Kne,isContentTypeApplicationJson:PF,isContentTypeText:vF}});var LF=g((mFe,Nb)=>{"use strict";var Xne=require("node:assert"),{Readable:Zne}=Qb(),{InvalidArgumentError:fl,RequestAbortedError:DF}=Ce(),Yr=Ae(),{getResolveErrorBodyCallback:eie}=xb(),{AsyncResource:tie}=require("node:async_hooks"),Vh=class extends tie{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new fl("invalid opts");let{signal:s,method:n,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:A}=e;try{if(typeof r!="function")throw new fl("invalid callback");if(A&&(typeof A!="number"||A<0))throw new fl("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new fl("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new fl("invalid method");if(c&&typeof c!="function")throw new fl("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Yr.isStream(a)&&Yr.destroy(a.on("error",Yr.nop),d),d}this.method=n,this.responseHeaders=l||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=A,this.signal=s,this.reason=null,this.removeAbortListener=null,Yr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new DF:this.removeAbortListener=Yr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new DF,this.res?Yr.destroy(this.res.on("error",Yr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}Xne(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:A}=this,d=u==="raw"?Yr.parseRawHeaders(r):Yr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let p=u==="raw"?Yr.parseHeaders(r):d,m=p["content-type"],h=p["content-length"],f=new Zne({resume:s,abort:c,contentType:m,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:A});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(eie,null,{callback:i,body:f,contentType:m,statusCode:e,statusMessage:n,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:f,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Yr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:s,body:n,opaque:i}=this;s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{Yr.destroy(r,e)})),n&&(this.body=null,Yr.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function _F(t,e){if(e===void 0)return new Promise((r,s)=>{_F.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new Vh(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(_F,"request");Nb.exports=_F;Nb.exports.RequestHandler=Vh});var ZA=g((fFe,FF)=>{var{addAbortListener:rie}=Ae(),{RequestAbortedError:sie}=Ce(),gl=Symbol("kListener"),Rn=Symbol("kSignal");function MF(t){t.abort?t.abort(t[Rn]?.reason):t.reason=t[Rn]?.reason??new sie,OF(t)}o(MF,"abort");function nie(t,e){if(t.reason=null,t[Rn]=null,t[gl]=null,!!e){if(e.aborted){MF(t);return}t[Rn]=e,t[gl]=()=>{MF(t)},rie(t[Rn],t[gl])}}o(nie,"addSignal");function OF(t){t[Rn]&&("removeEventListener"in t[Rn]?t[Rn].removeEventListener("abort",t[gl]):t[Rn].removeListener("abort",t[gl]),t[Rn]=null,t[gl]=null)}o(OF,"removeSignal");FF.exports={addSignal:nie,removeSignal:OF}});var HF=g((EFe,GF)=>{"use strict";var iie=require("node:assert"),{finished:oie,PassThrough:aie}=require("node:stream"),{InvalidArgumentError:El,InvalidReturnValueError:cie}=Ce(),sn=Ae(),{getResolveErrorBodyCallback:lie}=xb(),{AsyncResource:uie}=require("node:async_hooks"),{addSignal:Aie,removeSignal:UF}=ZA(),Sb=class extends uie{static{o(this,"StreamHandler")}constructor(e,r,s){if(!e||typeof e!="object")throw new El("invalid opts");let{signal:n,method:i,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:A}=e;try{if(typeof s!="function")throw new El("invalid callback");if(typeof r!="function")throw new El("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new El("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new El("invalid method");if(l&&typeof l!="function")throw new El("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw sn.isStream(c)&&sn.destroy(c.on("error",sn.nop),d),d}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=s,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=A||!1,sn.isStream(c)&&c.on("error",d=>{this.onError(d)}),Aie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}iie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{factory:i,opaque:a,context:c,callback:l,responseHeaders:u}=this,A=u==="raw"?sn.parseRawHeaders(r):sn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let h=(u==="raw"?sn.parseHeaders(r):A)["content-type"];d=new aie,this.callback=null,this.runInAsyncScope(lie,null,{callback:l,body:d,contentType:h,statusCode:e,statusMessage:n,headers:A})}else{if(i===null)return;if(d=this.runInAsyncScope(i,null,{statusCode:e,headers:A,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new cie("expected Writable");oie(d,{readable:!1},m=>{let{callback:h,res:f,opaque:C,trailers:E,abort:y}=this;this.res=null,(m||!f.readable)&&sn.destroy(f,m),this.callback=null,this.runInAsyncScope(h,null,m||null,{opaque:C,trailers:E}),m&&y()})}return d.on("drain",s),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;UF(this),r&&(this.trailers=sn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;UF(this),this.factory=null,r?(this.res=null,sn.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,sn.destroy(i,e))}};function qF(t,e,r){if(r===void 0)return new Promise((s,n)=>{qF.call(this,t,e,(i,a)=>i?n(i):s(a))});try{this.dispatch(t,new Sb(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}o(qF,"stream");GF.exports=qF});var YF=g((CFe,$F)=>{"use strict";var{Readable:VF,Duplex:die,PassThrough:pie}=require("node:stream"),{InvalidArgumentError:ed,InvalidReturnValueError:mie,RequestAbortedError:Rb}=Ce(),ys=Ae(),{AsyncResource:hie}=require("node:async_hooks"),{addSignal:fie,removeSignal:gie}=ZA(),zF=require("node:assert"),yl=Symbol("resume"),Tb=class extends VF{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[yl]=null}_read(){let{[yl]:e}=this;e&&(this[yl]=null,e())}_destroy(e,r){this._read(),r(e)}},Pb=class extends VF{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[yl]=e}_read(){this[yl]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Rb),r(e)}},vb=class extends hie{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new ed("invalid opts");if(typeof r!="function")throw new ed("invalid handler");let{signal:s,method:n,opaque:i,onInfo:a,responseHeaders:c}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new ed("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new ed("invalid method");if(a&&typeof a!="function")throw new ed("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new Tb().on("error",ys.nop),this.ret=new die({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,A)=>{let{req:d}=this;d.push(l,u)||d._readableState.destroyed?A():d[yl]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:p,ret:m,abort:h}=this;!l&&!m._readableState.endEmitted&&(l=new Rb),h&&l&&h(),ys.destroy(A,l),ys.destroy(d,l),ys.destroy(p,l),gie(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,fie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}zF(!n,"pipeline cannot be retried"),zF(!s.destroyed),this.abort=e,this.context=r}onHeaders(e,r,s){let{opaque:n,handler:i,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?ys.parseRawHeaders(r):ys.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new Pb(s);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?ys.parseRawHeaders(r):ys.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:l,opaque:n,body:this.res,context:a})}catch(l){throw this.res.on("error",ys.nop),l}if(!c||typeof c.on!="function")throw new mie("expected Readable");c.on("data",l=>{let{ret:u,body:A}=this;!u.push(l)&&A.pause&&A.pause()}).on("error",l=>{let{ret:u}=this;ys.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||ys.destroy(l,new Rb)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,ys.destroy(r,e)}};function Eie(t,e){try{let r=new vb(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new pie().destroy(r)}}o(Eie,"pipeline");$F.exports=Eie});var ZF=g((BFe,XF)=>{"use strict";var{InvalidArgumentError:kb,SocketError:yie}=Ce(),{AsyncResource:Cie}=require("node:async_hooks"),JF=Ae(),{addSignal:Iie,removeSignal:WF}=ZA(),jF=require("node:assert"),Db=class extends Cie{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new kb("invalid opts");if(typeof r!="function")throw new kb("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new kb("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=n||null,this.callback=r,this.abort=null,this.context=null,Iie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}jF(this.callback),this.abort=e,this.context=null}onHeaders(){throw new yie("bad upgrade",null)}onUpgrade(e,r,s){jF(e===101);let{callback:n,opaque:i,context:a}=this;WF(this),this.callback=null;let c=this.responseHeaders==="raw"?JF.parseRawHeaders(r):JF.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;WF(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function KF(t,e){if(e===void 0)return new Promise((r,s)=>{KF.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new Db(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(KF,"upgrade");XF.exports=KF});var nU=g((bFe,sU)=>{"use strict";var Bie=require("node:assert"),{AsyncResource:wie}=require("node:async_hooks"),{InvalidArgumentError:_b,SocketError:bie}=Ce(),eU=Ae(),{addSignal:Qie,removeSignal:tU}=ZA(),Lb=class extends wie{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new _b("invalid opts");if(typeof r!="function")throw new _b("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new _b("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Qie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}Bie(this.callback),this.abort=e,this.context=r}onHeaders(){throw new bie("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:a}=this;tU(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?eU.parseRawHeaders(r):eU.parseHeaders(r)),this.runInAsyncScope(n,null,null,{statusCode:e,headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;tU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function rU(t,e){if(e===void 0)return new Promise((r,s)=>{rU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new Lb(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(rU,"connect");sU.exports=rU});var iU=g((xFe,Cl)=>{"use strict";Cl.exports.request=LF();Cl.exports.stream=HF();Cl.exports.pipeline=YF();Cl.exports.upgrade=ZF();Cl.exports.connect=nU()});var Ob=g((NFe,aU)=>{"use strict";var{UndiciError:xie}=Ce(),oU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),Mb=class t extends xie{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[oU]===!0}[oU]=!0};aU.exports={MockNotMatchedError:Mb}});var Il=g((RFe,cU)=>{"use strict";cU.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 td=g((TFe,yU)=>{"use strict";var{MockNotMatchedError:Ra}=Ob(),{kDispatches:$h,kMockAgent:Nie,kOriginalDispatch:Sie,kOrigin:Rie,kGetNetConnect:Tie}=Il(),{buildURL:Pie}=Ae(),{STATUS_CODES:vie}=require("node:http"),{types:{isPromise:kie}}=require("node:util");function Di(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Di,"matchValue");function uU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(uU,"lowerCaseEntries");function AU(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,s]of Object.entries(t.headers)){let n=AU(e,r);if(!Di(s,n))return!1}return!0}o(dU,"matchHeaders");function lU(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(lU,"safeUrl");function Die(t,{path:e,method:r,body:s,headers:n}){let i=Di(t.path,e),a=Di(t.method,r),c=typeof t.body<"u"?Di(t.body,s):!0,l=dU(t,n);return i&&a&&c&&l}o(Die,"matchKey");function pU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(pU,"getResponseData");function mU(t,e){let r=e.query?Pie(e.path,e.query):e.path,s=typeof r=="string"?lU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>Di(lU(i),s));if(n.length===0)throw new Ra(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>Di(i,e.method)),n.length===0)throw new Ra(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?Di(i,e.body):!0),n.length===0)throw new Ra(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>dU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Ra(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}o(mU,"getMockDispatch");function _ie(t,e,r){let s={timesInvoked:0,times:1,persist:!1,consumed:!1},n=typeof r=="function"?{callback:r}:{...r},i={...s,...e,pending:!0,data:{error:null,...n}};return t.push(i),i}o(_ie,"addMockDispatch");function Fb(t,e){let r=t.findIndex(s=>s.consumed?Die(s,e):!1);r!==-1&&t.splice(r,1)}o(Fb,"deleteMockDispatch");function hU(t){let{path:e,method:r,body:s,headers:n,query:i}=t;return{path:e,method:r,body:s,headers:n,query:i}}o(hU,"buildKey");function Ub(t){let e=Object.keys(t),r=[];for(let s=0;s=p,s.pending=d0?setTimeout(()=>{m(this[$h])},u):m(this[$h]);function m(f,C=i){let E=Array.isArray(t.headers)?qb(t.headers):t.headers,y=typeof C=="function"?C({...t,headers:E}):C;if(kie(y)){y.then(S=>m(f,S));return}let I=pU(y),B=Ub(a),N=Ub(c);e.onConnect?.(S=>e.onError(S),null),e.onHeaders?.(n,B,h,fU(n)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),Fb(f,r)}o(m,"handleReply");function h(){}return o(h,"resume"),!0}o(gU,"mockDispatch");function Mie(){let t=this[Nie],e=this[Rie],r=this[Sie];return o(function(n,i){if(t.isMockActive)try{gU.call(this,n,i)}catch(a){if(a instanceof Ra){let c=t[Tie]();if(c===!1)throw new Ra(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(EU(c,e))r.call(this,n,i);else throw new Ra(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,n,i)},"dispatch")}o(Mie,"buildMockDispatch");function EU(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>Di(s,r.host)))}o(EU,"checkNetConnect");function Oie(t){if(t){let{agent:e,...r}=t;return r}}o(Oie,"buildMockOptions");yU.exports={getResponseData:pU,getMockDispatch:mU,addMockDispatch:_ie,deleteMockDispatch:Fb,buildKey:hU,generateKeyValues:Ub,matchValue:Di,getResponse:Lie,getStatusText:fU,mockDispatch:gU,buildMockDispatch:Mie,checkNetConnect:EU,buildMockOptions:Oie,getHeaderByName:AU,buildHeadersFromArray:qb}});var Jb=g((vFe,Yb)=>{"use strict";var{getResponseData:Fie,buildKey:Uie,addMockDispatch:Gb}=td(),{kDispatches:Yh,kDispatchKey:Jh,kDefaultHeaders:Hb,kDefaultTrailers:zb,kContentLength:Vb,kMockDispatch:Wh}=Il(),{InvalidArgumentError:Tn}=Ce(),{buildURL:qie}=Ae(),Bl=class{static{o(this,"MockScope")}constructor(e){this[Wh]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Tn("waitInMs must be a valid integer > 0");return this[Wh].delay=e,this}persist(){return this[Wh].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Tn("repeatTimes must be a valid integer > 0");return this[Wh].times=e,this}},$b=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Tn("opts must be an object");if(typeof e.path>"u")throw new Tn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=qie(e.path,e.query);else{let s=new URL(e.path,"data://");e.path=s.pathname+s.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Jh]=Uie(e),this[Yh]=r,this[Hb]={},this[zb]={},this[Vb]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=Fie(r),i=this[Vb]?{"content-length":n.length}:{},a={...this[Hb],...i,...s.headers},c={...this[zb],...s.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Tn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Tn("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new Tn("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=Gb(this[Yh],this[Jh],i);return new Bl(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let s=this.createMockScopeDispatchData(r),n=Gb(this[Yh],this[Jh],s);return new Bl(n)}replyWithError(e){if(typeof e>"u")throw new Tn("error must be defined");let r=Gb(this[Yh],this[Jh],{error:e});return new Bl(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Tn("headers must be defined");return this[Hb]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Tn("trailers must be defined");return this[zb]=e,this}replyContentLength(){return this[Vb]=!0,this}};Yb.exports.MockInterceptor=$b;Yb.exports.MockScope=Bl});var Kb=g((DFe,xU)=>{"use strict";var{promisify:Gie}=require("node:util"),Hie=dl(),{buildMockDispatch:zie}=td(),{kDispatches:CU,kMockAgent:IU,kClose:BU,kOriginalClose:wU,kOrigin:bU,kOriginalDispatch:Vie,kConnected:Wb}=Il(),{MockInterceptor:$ie}=Jb(),QU=Ge(),{InvalidArgumentError:Yie}=Ce(),jb=class extends Hie{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Yie("Argument opts.agent must implement Agent");this[IU]=r.agent,this[bU]=e,this[CU]=[],this[Wb]=1,this[Vie]=this.dispatch,this[wU]=this.close.bind(this),this.dispatch=zie.call(this),this.close=this[BU]}get[QU.kConnected](){return this[Wb]}intercept(e){return new $ie(e,this[CU])}async[BU](){await Gie(this[wU])(),this[Wb]=0,this[IU][QU.kClients].delete(this[bU])}};xU.exports=jb});var eQ=g((LFe,kU)=>{"use strict";var{promisify:Jie}=require("node:util"),Wie=pl(),{buildMockDispatch:jie}=td(),{kDispatches:NU,kMockAgent:SU,kClose:RU,kOriginalClose:TU,kOrigin:PU,kOriginalDispatch:Kie,kConnected:Xb}=Il(),{MockInterceptor:Xie}=Jb(),vU=Ge(),{InvalidArgumentError:Zie}=Ce(),Zb=class extends Wie{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Zie("Argument opts.agent must implement Agent");this[SU]=r.agent,this[PU]=e,this[NU]=[],this[Xb]=1,this[Kie]=this.dispatch,this[TU]=this.close.bind(this),this.dispatch=jie.call(this),this.close=this[RU]}get[vU.kConnected](){return this[Xb]}intercept(e){return new Xie(e,this[NU])}async[RU](){await Jie(this[TU])(),this[Xb]=0,this[SU][vU.kClients].delete(this[PU])}};kU.exports=Zb});var _U=g((FFe,DU)=>{"use strict";var eoe={pronoun:"it",is:"is",was:"was",this:"this"},toe={pronoun:"they",is:"are",was:"were",this:"these"};DU.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?eoe:toe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var MU=g((GFe,LU)=>{"use strict";var{Transform:roe}=require("node:stream"),{Console:soe}=require("node:console"),noe=process.versions.icu?"\u2705":"Y ",ioe=process.versions.icu?"\u274C":"N ";LU.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new roe({transform(r,s,n){n(null,r)}}),this.logger=new soe({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:s,path:n,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:s,Origin:u,Path:n,"Status code":i,Persistent:a?noe:ioe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var qU=g((zFe,UU)=>{"use strict";var{kClients:Ta}=Ge(),ooe=ml(),{kAgent:tQ,kMockAgentSet:jh,kMockAgentGet:OU,kDispatches:rQ,kIsMockActive:Kh,kNetConnect:Pa,kGetNetConnect:aoe,kOptions:Xh,kFactory:Zh}=Il(),coe=Kb(),loe=eQ(),{matchValue:uoe,buildMockOptions:Aoe}=td(),{InvalidArgumentError:FU,UndiciError:doe}=Ce(),poe=bA(),moe=_U(),hoe=MU(),sQ=class extends poe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Pa]=!0,this[Kh]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new FU("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new ooe(e);this[tQ]=r,this[Ta]=r[Ta],this[Xh]=Aoe(e)}get(e){let r=this[OU](e);return r||(r=this[Zh](e),this[jh](e,r)),r}dispatch(e,r){return this.get(e.origin),this[tQ].dispatch(e,r)}async close(){await this[tQ].close(),this[Ta].clear()}deactivate(){this[Kh]=!1}activate(){this[Kh]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Pa])?this[Pa].push(e):this[Pa]=[e];else if(typeof e>"u")this[Pa]=!0;else throw new FU("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Pa]=!1}get isMockActive(){return this[Kh]}[jh](e,r){this[Ta].set(e,r)}[Zh](e){let r=Object.assign({agent:this},this[Xh]);return this[Xh]&&this[Xh].connections===1?new coe(e,r):new loe(e,r)}[OU](e){let r=this[Ta].get(e);if(r)return r;if(typeof e!="string"){let s=this[Zh]("http://localhost:9999");return this[jh](e,s),s}for(let[s,n]of Array.from(this[Ta]))if(n&&typeof s!="string"&&uoe(s,e)){let i=this[Zh](e);return this[jh](e,i),i[rQ]=n[rQ],i}}[aoe](){return this[Pa]}pendingInterceptors(){let e=this[Ta];return Array.from(e.entries()).flatMap(([r,s])=>s[rQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new hoe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new moe("interceptor","interceptors").pluralize(r.length);throw new doe(` ${s.count} ${s.noun} ${s.is} pending: ${e.format(r)} -`.trim())}};OU.exports=tQ});var Zh=g((qFe,HU)=>{"use strict";var UU=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:moe}=Ce(),hoe=ml();GU()===void 0&&qU(new hoe);function qU(t){if(!t||typeof t.dispatch!="function")throw new moe("Argument agent must implement Agent");Object.defineProperty(globalThis,UU,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(qU,"setGlobalDispatcher");function GU(){return globalThis[UU]}o(GU,"getGlobalDispatcher");HU.exports={setGlobalDispatcher:qU,getGlobalDispatcher:GU}});var ef=g((zFe,zU)=>{"use strict";zU.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var $U=g(($Fe,VU)=>{"use strict";var foe=vh();VU.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let l=new foe(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var JU=g((JFe,YU)=>{"use strict";var goe=Hh();YU.exports=t=>e=>o(function(s,n){return e(s,new goe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var jU=g((jFe,WU)=>{"use strict";var Eoe=Ae(),{InvalidArgumentError:yoe,RequestAbortedError:Coe}=Ce(),Ioe=ef(),rQ=class extends Ioe{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#s=!1;#r=!1;#n=0;#i=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new yoe("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#i=e}onHeaders(e,r,s,n){let a=Eoe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new Coe(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#s||(e=this.#i??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#s=!0,this.#r?this.#o.onError(this.#i):this.#o.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function Boe({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new rQ({maxSize:i},n);return e(s,a)},"Intercept")}o(Boe,"createDumpInterceptor");WU.exports=Boe});var ZU=g((XFe,XU)=>{"use strict";var{isIP:woe}=require("node:net"),{lookup:boe}=require("node:dns"),Qoe=ef(),{InvalidArgumentError:wl,InformationalError:xoe}=Ce(),KU=Math.pow(2,31)-1,sQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#s=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#n}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let n=this.#s.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new xoe("No DNS entries found"));return}this.setRecords(e,c);let l=this.#s.get(e.hostname),u=this.pick(e,l,i.affinity),A;typeof u.port=="number"?A=`:${u.port}`:e.port!==""?A=`:${e.port}`:A="",s(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${A}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,s){boe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);s(null,a.values())})}#n(e,r,s){let n=null,{records:i,offset:a}=r,c;if(this.dualStack?(s==null&&(a==null||a===KU?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?c=i[s]:c=i[s===4?6:4]):c=i[s],c==null||c.ips.length===0)return n;c.offset==null||c.offset===KU?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return n=c.ips[l]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(c.ips.splice(l,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=n.records[i.family]??{ips:[]};a.ips.push(i),n.records[i.family]=a}this.#s.set(e.hostname,n)}getHandler(e,r){return new nQ(this,e,r)}},nQ=class extends Qoe{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#s=null;#r=null;#n=null;constructor(e,{origin:r,handler:s,dispatch:n},i){super(s),this.#n=r,this.#r=s,this.#t={...i},this.#e=e,this.#s=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#n,this.#t,(r,s)=>{if(r)return this.#r.onError(r);let n={...this.#t,origin:s};this.#s(n,this)});return}this.#r.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#n);default:this.#r.onError(e);break}}};XU.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new wl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new wl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new wl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new wl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new wl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new wl("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let s={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},n=new sQ(s);return i=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return woe(u.hostname)!==0?i(c,l):(n.runLookup(u,c,(A,d)=>{if(A)return l.onError(A);let p=null;p={...c,servername:u.hostname,origin:d,headers:{host:u.hostname,...c.headers}},i(p,n.getHandler({origin:u,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var va=g((eUe,o1)=>{"use strict";var{kConstruct:Noe}=Ge(),{kEnumerableProperty:bl}=Ae(),{iteratorMixin:Soe,isValidHeaderName:td,isValidHeaderValue:t1}=zr(),{webidl:ge}=Gt(),iQ=require("node:assert"),tf=require("node:util"),yt=Symbol("headers map"),Jr=Symbol("headers map sorted");function e1(t){return t===10||t===13||t===9||t===32}o(e1,"isHTTPWhiteSpaceCharCode");function r1(t){let e=0,r=t.length;for(;r>e&&e1(t.charCodeAt(r-1));)--r;for(;r>e&&e1(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(r1,"headerValueNormalize");function s1(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(s1,"fill");function oQ(t,e,r){if(r=r1(r),td(e)){if(!t1(r))throw ge.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw ge.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(i1(t)==="immutable")throw new TypeError("immutable");return aQ(t).append(e,r,!1)}o(oQ,"appendHeader");function n1(t,e){return t[0]>1),r[u][0]<=A[0]?l=u+1:c=u;if(i!==u){for(a=i;a>l;)r[a]=r[--a];r[l]=A}}if(!s.next().done)throw new TypeError("Unreachable");return r}else{let s=0;for(let{0:n,1:{value:i}}of this[yt])r[s++]=[n,i],iQ(i!==null);return r.sort(n1)}}},nn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){ge.util.markAsUncloneable(this),e!==Noe&&(this.#t=new rf,this.#e="none",e!==void 0&&(e=ge.converters.HeadersInit(e,"Headers contructor","init"),s1(this,e)))}append(e,r){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,2,"Headers.append");let s="Headers.append";return e=ge.converters.ByteString(e,s,"name"),r=ge.converters.ByteString(r,s,"value"),oQ(this,e,r)}delete(e){if(ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,1,"Headers.delete"),e=ge.converters.ByteString(e,"Headers.delete","name"),!td(e))throw ge.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=ge.converters.ByteString(e,r,"name"),!td(e))throw ge.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=ge.converters.ByteString(e,r,"name"),!td(e))throw ge.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,2,"Headers.set");let s="Headers.set";if(e=ge.converters.ByteString(e,s,"name"),r=ge.converters.ByteString(r,s,"value"),r=r1(r),td(e)){if(!t1(r))throw ge.errors.invalidArgument({prefix:s,value:r,type:"header value"})}else throw ge.errors.invalidArgument({prefix:s,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){ge.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Jr](){if(this.#t[Jr])return this.#t[Jr];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[Jr]=r;for(let n=0;n>"](t,e,r,s.bind(t)):ge.converters["record"](t,e,r)}throw ge.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};o1.exports={fill:s1,compareHeaderName:n1,Headers:nn,HeadersList:rf,getHeadersGuard:i1,setHeadersGuard:Roe,setHeadersList:Toe,getHeadersList:aQ}});var sd=g((rUe,E1)=>{"use strict";var{Headers:d1,HeadersList:a1,fill:Poe,getHeadersGuard:voe,setHeadersGuard:p1,setHeadersList:m1}=va(),{extractBody:c1,cloneBody:koe,mixinBody:Doe,hasFinalizationRegistry:h1,streamRegistry:f1,bodyUnusable:_oe}=nl(),cQ=Ae(),l1=require("node:util"),{kEnumerableProperty:Wr}=cQ,{isValidReasonPhrase:Loe,isCancelled:Moe,isAborted:Ooe,isBlobLike:Foe,serializeJavascriptValueToJSONString:Uoe,isErrorLike:qoe,isomorphicEncode:Goe,environmentSettingsObject:Hoe}=zr(),{redirectStatusSet:zoe,nullBodyStatus:Voe}=xA(),{kState:ze,kHeaders:_i}=ho(),{webidl:le}=Gt(),{FormData:$oe}=vA(),{URLSerializer:u1}=Ir(),{kConstruct:nf}=Ge(),lQ=require("node:assert"),{types:Yoe}=require("node:util"),Joe=new TextEncoder("utf-8"),ka=class t{static{o(this,"Response")}static error(){return rd(of(),"immutable")}static json(e,r={}){le.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=le.converters.ResponseInit(r));let s=Joe.encode(Uoe(e)),n=c1(s),i=rd(Ql({}),"response");return A1(i,r,{body:n[0],type:"application/json"}),i}static redirect(e,r=302){le.argumentLengthCheck(arguments,1,"Response.redirect"),e=le.converters.USVString(e),r=le.converters["unsigned short"](r);let s;try{s=new URL(e,Hoe.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!zoe.has(r))throw new RangeError(`Invalid status code ${r}`);let n=rd(Ql({}),"immutable");n[ze].status=r;let i=Goe(u1(s));return n[ze].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(le.util.markAsUncloneable(this),e===nf)return;e!==null&&(e=le.converters.BodyInit(e)),r=le.converters.ResponseInit(r),this[ze]=Ql({}),this[_i]=new d1(nf),p1(this[_i],"response"),m1(this[_i],this[ze].headersList);let s=null;if(e!=null){let[n,i]=c1(e);s={body:n,type:i}}A1(this,r,s)}get type(){return le.brandCheck(this,t),this[ze].type}get url(){le.brandCheck(this,t);let e=this[ze].urlList,r=e[e.length-1]??null;return r===null?"":u1(r,!0)}get redirected(){return le.brandCheck(this,t),this[ze].urlList.length>1}get status(){return le.brandCheck(this,t),this[ze].status}get ok(){return le.brandCheck(this,t),this[ze].status>=200&&this[ze].status<=299}get statusText(){return le.brandCheck(this,t),this[ze].statusText}get headers(){return le.brandCheck(this,t),this[_i]}get body(){return le.brandCheck(this,t),this[ze].body?this[ze].body.stream:null}get bodyUsed(){return le.brandCheck(this,t),!!this[ze].body&&cQ.isDisturbed(this[ze].body.stream)}clone(){if(le.brandCheck(this,t),_oe(this))throw le.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=uQ(this[ze]);return h1&&this[ze].body?.stream&&f1.register(this,new WeakRef(this[ze].body.stream)),rd(e,voe(this[_i]))}[l1.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${l1.formatWithOptions(r,s)}`}};Doe(ka);Object.defineProperties(ka.prototype,{type:Wr,url:Wr,status:Wr,ok:Wr,redirected:Wr,statusText:Wr,headers:Wr,clone:Wr,body:Wr,bodyUsed:Wr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(ka,{json:Wr,redirect:Wr,error:Wr});function uQ(t){if(t.internalResponse)return g1(uQ(t.internalResponse),t.type);let e=Ql({...t,body:null});return t.body!=null&&(e.body=koe(e,t.body)),e}o(uQ,"cloneResponse");function Ql(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new a1(t?.headersList):new a1,urlList:t?.urlList?[...t.urlList]:[]}}o(Ql,"makeResponse");function of(t){let e=qoe(t);return Ql({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(of,"makeNetworkError");function Woe(t){return t.type==="error"&&t.status===0}o(Woe,"isNetworkError");function sf(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,s){return s in e?e[s]:r[s]},set(r,s,n){return lQ(!(s in e)),r[s]=n,!0}})}o(sf,"makeFilteredResponse");function g1(t,e){if(e==="basic")return sf(t,{type:"basic",headersList:t.headersList});if(e==="cors")return sf(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return sf(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return sf(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});lQ(!1)}o(g1,"filterResponse");function joe(t,e=null){return lQ(Moe(t)),Ooe(t)?of(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):of(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(joe,"makeAppropriateNetworkError");function A1(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!Loe(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[ze].status=e.status),"statusText"in e&&e.statusText!=null&&(t[ze].statusText=e.statusText),"headers"in e&&e.headers!=null&&Poe(t[_i],e.headers),r){if(Voe.includes(t.status))throw le.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[ze].body=r.body,r.type!=null&&!t[ze].headersList.contains("content-type",!0)&&t[ze].headersList.append("content-type",r.type,!0)}}o(A1,"initializeResponse");function rd(t,e){let r=new ka(nf);return r[ze]=t,r[_i]=new d1(nf),m1(r[_i],t.headersList),p1(r[_i],e),h1&&t.body?.stream&&f1.register(r,new WeakRef(t.body.stream)),r}o(rd,"fromInnerResponse");le.converters.ReadableStream=le.interfaceConverter(ReadableStream);le.converters.FormData=le.interfaceConverter($oe);le.converters.URLSearchParams=le.interfaceConverter(URLSearchParams);le.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?le.converters.USVString(t,e,r):Foe(t)?le.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Yoe.isArrayBuffer(t)?le.converters.BufferSource(t,e,r):cQ.isFormDataLike(t)?le.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?le.converters.URLSearchParams(t,e,r):le.converters.DOMString(t,e,r)};le.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?le.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:le.converters.XMLHttpRequestBodyInit(t,e,r)};le.converters.ResponseInit=le.dictionaryConverter([{key:"status",converter:le.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:le.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:le.converters.HeadersInit}]);E1.exports={isNetworkError:Woe,makeNetworkError:of,makeResponse:Ql,makeAppropriateNetworkError:joe,filterResponse:g1,Response:ka,cloneResponse:uQ,fromInnerResponse:rd}});var B1=g((nUe,I1)=>{"use strict";var{kConnected:y1,kSize:C1}=Ge(),AQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[y1]===0&&this.value[C1]===0?void 0:this.value}},dQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[y1]===0&&e[C1]===0&&this.finalizer(r)})}unregister(e){}};I1.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:AQ,FinalizationRegistry:dQ}):{WeakRef,FinalizationRegistry}}});var xl=g((oUe,M1)=>{"use strict";var{extractBody:Koe,mixinBody:Xoe,cloneBody:Zoe,bodyUnusable:w1}=nl(),{Headers:v1,fill:eae,HeadersList:uf,setHeadersGuard:mQ,getHeadersGuard:tae,setHeadersList:k1,getHeadersList:b1}=va(),{FinalizationRegistry:rae}=B1()(),cf=Ae(),Q1=require("node:util"),{isValidHTTPToken:sae,sameOrigin:x1,environmentSettingsObject:af}=zr(),{forbiddenMethodsSet:nae,corsSafeListedMethodsSet:iae,referrerPolicy:oae,requestRedirect:aae,requestMode:cae,requestCredentials:lae,requestCache:uae,requestDuplex:Aae}=xA(),{kEnumerableProperty:Ct,normalizedMethodRecordsBase:dae,normalizedMethodRecords:pae}=cf,{kHeaders:jr,kSignal:lf,kState:Me,kDispatcher:pQ}=ho(),{webidl:X}=Gt(),{URLSerializer:mae}=Ir(),{kConstruct:Af}=Ge(),hae=require("node:assert"),{getMaxListeners:N1,setMaxListeners:S1,getEventListeners:fae,defaultMaxListeners:R1}=require("node:events"),gae=Symbol("abortController"),D1=new rae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),df=new WeakMap;function T1(t){return e;function e(){let r=t.deref();if(r!==void 0){D1.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=df.get(r.signal);if(s!==void 0){if(s.size!==0){for(let n of s){let i=n.deref();i!==void 0&&i.abort(this.reason)}s.clear()}df.delete(r.signal)}}}}o(T1,"buildAbort");var P1=!1,xo=class t{static{o(this,"Request")}constructor(e,r={}){if(X.util.markAsUncloneable(this),e===Af)return;let s="Request constructor";X.argumentLengthCheck(arguments,1,s),e=X.converters.RequestInfo(e,s,"input"),r=X.converters.RequestInit(r,s,"init");let n=null,i=null,a=af.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[pQ]=r.dispatcher;let E;try{E=new URL(e,a)}catch(y){throw new TypeError("Failed to parse URL from "+e,{cause:y})}if(E.username||E.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=pf({urlList:[E]}),i="cors"}else this[pQ]=r.dispatcher||e[pQ],hae(e instanceof t),n=e[Me],c=e[lf];let l=af.settingsObject.origin,u="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&x1(n.window,l)&&(u=n.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),n=pf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:af.settingsObject,window:u,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 E=r.referrer;if(E==="")n.referrer="no-referrer";else{let y;try{y=new URL(E,a)}catch(I){throw new TypeError(`Referrer "${E}" is not a valid URL.`,{cause:I})}y.protocol==="about:"&&y.hostname==="client"||l&&!x1(y,af.settingsObject.baseUrl)?n.referrer="client":n.referrer=y}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=i,d==="navigate")throw X.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(n.mode=d),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 E=r.method,y=pae[E];if(y!==void 0)n.method=y;else{if(!sae(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);let I=E.toUpperCase();if(nae.has(I))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=dae[I]??E,n.method=E}!P1&&n.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),P1=!0)}r.signal!==void 0&&(c=r.signal),this[Me]=n;let p=new AbortController;if(this[lf]=p.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)p.abort(c.reason);else{this[gae]=p;let E=new WeakRef(p),y=T1(E);try{(typeof N1=="function"&&N1(c)===R1||fae(c,"abort").length>=R1)&&S1(1500,c)}catch{}cf.addAbortListener(c,y),D1.register(p,{signal:c,abort:y},y)}}if(this[jr]=new v1(Af),k1(this[jr],n.headersList),mQ(this[jr],"request"),d==="no-cors"){if(!iae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);mQ(this[jr],"request-no-cors")}if(A){let E=b1(this[jr]),y=r.headers!==void 0?r.headers:new uf(E);if(E.clear(),y instanceof uf){for(let{name:I,value:B}of y.rawValues())E.append(I,B,!1);E.cookies=y.cookies}else eae(this[jr],y)}let m=e instanceof t?e[Me].body:null;if((r.body!=null||m!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let h=null;if(r.body!=null){let[E,y]=Koe(r.body,n.keepalive);h=E,y&&!b1(this[jr]).contains("content-type",!0)&&this[jr].append("content-type",y)}let f=h??m;if(f!=null&&f.source==null){if(h!=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 C=f;if(h==null&&m!=null){if(w1(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let E=new TransformStream;m.stream.pipeThrough(E),C={source:m.source,length:m.length,stream:E.readable}}this[Me].body=C}get method(){return X.brandCheck(this,t),this[Me].method}get url(){return X.brandCheck(this,t),mae(this[Me].url)}get headers(){return X.brandCheck(this,t),this[jr]}get destination(){return X.brandCheck(this,t),this[Me].destination}get referrer(){return X.brandCheck(this,t),this[Me].referrer==="no-referrer"?"":this[Me].referrer==="client"?"about:client":this[Me].referrer.toString()}get referrerPolicy(){return X.brandCheck(this,t),this[Me].referrerPolicy}get mode(){return X.brandCheck(this,t),this[Me].mode}get credentials(){return this[Me].credentials}get cache(){return X.brandCheck(this,t),this[Me].cache}get redirect(){return X.brandCheck(this,t),this[Me].redirect}get integrity(){return X.brandCheck(this,t),this[Me].integrity}get keepalive(){return X.brandCheck(this,t),this[Me].keepalive}get isReloadNavigation(){return X.brandCheck(this,t),this[Me].reloadNavigation}get isHistoryNavigation(){return X.brandCheck(this,t),this[Me].historyNavigation}get signal(){return X.brandCheck(this,t),this[lf]}get body(){return X.brandCheck(this,t),this[Me].body?this[Me].body.stream:null}get bodyUsed(){return X.brandCheck(this,t),!!this[Me].body&&cf.isDisturbed(this[Me].body.stream)}get duplex(){return X.brandCheck(this,t),"half"}clone(){if(X.brandCheck(this,t),w1(this))throw new TypeError("unusable");let e=_1(this[Me]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=df.get(this.signal);s===void 0&&(s=new Set,df.set(this.signal,s));let n=new WeakRef(r);s.add(n),cf.addAbortListener(r.signal,T1(n))}return L1(e,r.signal,tae(this[jr]))}[Q1.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${Q1.formatWithOptions(r,s)}`}};Xoe(xo);function pf(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new uf(t.headersList):new uf}}o(pf,"makeRequest");function _1(t){let e=pf({...t,body:null});return t.body!=null&&(e.body=Zoe(e,t.body)),e}o(_1,"cloneRequest");function L1(t,e,r){let s=new xo(Af);return s[Me]=t,s[lf]=e,s[jr]=new v1(Af),k1(s[jr],t.headersList),mQ(s[jr],r),s}o(L1,"fromInnerRequest");Object.defineProperties(xo.prototype,{method:Ct,url:Ct,headers:Ct,redirect:Ct,clone:Ct,signal:Ct,duplex:Ct,destination:Ct,body:Ct,bodyUsed:Ct,isHistoryNavigation:Ct,isReloadNavigation:Ct,keepalive:Ct,integrity:Ct,cache:Ct,credentials:Ct,attribute:Ct,referrerPolicy:Ct,referrer:Ct,mode:Ct,[Symbol.toStringTag]:{value:"Request",configurable:!0}});X.converters.Request=X.interfaceConverter(xo);X.converters.RequestInfo=function(t,e,r){return typeof t=="string"?X.converters.USVString(t,e,r):t instanceof xo?X.converters.Request(t,e,r):X.converters.USVString(t,e,r)};X.converters.AbortSignal=X.interfaceConverter(AbortSignal);X.converters.RequestInit=X.dictionaryConverter([{key:"method",converter:X.converters.ByteString},{key:"headers",converter:X.converters.HeadersInit},{key:"body",converter:X.nullableConverter(X.converters.BodyInit)},{key:"referrer",converter:X.converters.USVString},{key:"referrerPolicy",converter:X.converters.DOMString,allowedValues:oae},{key:"mode",converter:X.converters.DOMString,allowedValues:cae},{key:"credentials",converter:X.converters.DOMString,allowedValues:lae},{key:"cache",converter:X.converters.DOMString,allowedValues:uae},{key:"redirect",converter:X.converters.DOMString,allowedValues:aae},{key:"integrity",converter:X.converters.DOMString},{key:"keepalive",converter:X.converters.boolean},{key:"signal",converter:X.nullableConverter(t=>X.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:X.converters.any},{key:"duplex",converter:X.converters.DOMString,allowedValues:Aae},{key:"dispatcher",converter:X.converters.any}]);M1.exports={Request:xo,makeRequest:pf,fromInnerRequest:L1,cloneRequest:_1}});var id=g((cUe,X1)=>{"use strict";var{makeNetworkError:xe,makeAppropriateNetworkError:mf,filterResponse:hQ,makeResponse:hf,fromInnerResponse:Eae}=sd(),{HeadersList:O1}=va(),{Request:yae,cloneRequest:Cae}=xl(),No=require("node:zlib"),{bytesMatch:Iae,makePolicyContainer:Bae,clonePolicyContainer:wae,requestBadPort:bae,TAOCheck:Qae,appendRequestOriginHeader:xae,responseLocationURL:Nae,requestCurrentURL:Pn,setRequestReferrerPolicyOnRedirect:Sae,tryUpgradeRequestToAPotentiallyTrustworthyURL:Rae,createOpaqueTimingInfo:CQ,appendFetchMetadata:Tae,corsCheck:Pae,crossOriginResourcePolicyCheck:vae,determineRequestsReferrer:kae,coarsenedSharedCurrentTime:nd,createDeferredPromise:Dae,isBlobLike:_ae,sameOrigin:yQ,isCancelled:Da,isAborted:F1,isErrorLike:Lae,fullyReadBody:Mae,readableStreamClose:Oae,isomorphicEncode:ff,urlIsLocal:Fae,urlIsHttpHttpsScheme:IQ,urlHasHttpsScheme:Uae,clampAndCoarsenConnectionTimingInfo:qae,simpleRangeHeaderValue:Gae,buildContentRange:Hae,createInflate:zae,extractMimeType:Vae}=zr(),{kState:H1,kDispatcher:$ae}=ho(),_a=require("node:assert"),{safelyExtractBody:BQ,extractBody:U1}=nl(),{redirectStatusSet:z1,nullBodyStatus:V1,safeMethodsSet:Yae,requestBodyHeader:Jae,subresourceSet:Wae}=xA(),jae=require("node:events"),{Readable:Kae,pipeline:Xae,finished:Zae}=require("node:stream"),{addAbortListener:ece,isErrored:tce,isReadable:gf,bufferToLowerCasedHeaderName:q1}=Ae(),{dataURLProcessor:rce,serializeAMimeType:sce,minimizeSupportedMimeType:nce}=Ir(),{getGlobalDispatcher:ice}=Zh(),{webidl:oce}=Gt(),{STATUS_CODES:ace}=require("node:http"),cce=["GET","HEAD"],lce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",fQ,Ef=class extends jae{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function uce(t){$1(t,"fetch")}o(uce,"handleFetchDone");function Ace(t,e=void 0){oce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Dae(),s;try{s=new yae(t,e)}catch(A){return r.reject(A),r.promise}let n=s[H1];if(s.signal.aborted)return gQ(r,n,null,s.signal.reason),r.promise;n.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let a=null,c=!1,l=null;return ece(s.signal,()=>{c=!0,_a(l!=null),l.abort(s.signal.reason);let A=a?.deref();gQ(r,n,A,s.signal.reason)}),l=J1({request:n,processResponseEndOfBody:uce,processResponse:o(A=>{if(!c){if(A.aborted){gQ(r,n,a,l.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}a=new WeakRef(Eae(A,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:s[$ae]}),r.promise}o(Ace,"fetch");function $1(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;IQ(r)&&s!==null&&(t.timingAllowPassed||(s=CQ({startTime:s.startTime}),n=""),s.endTime=nd(),t.timingInfo=s,Y1(s,r.href,e,globalThis,n))}o($1,"finalizeAndReportTiming");var Y1=performance.markResourceTiming;function gQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&gf(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[H1];n.body!=null&&gf(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(gQ,"abortFetch");function J1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=ice()}){_a(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=nd(u),d=CQ({startTime:A}),p={controller:new Ef(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:u};return _a(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=wae(t.client.policyContainer):t.policyContainer=Bae()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Wae.has(t.destination),W1(p).catch(m=>{p.controller.terminate(m)}),p.controller}o(J1,"fetching");async function W1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!Fae(Pn(r))&&(s=xe("local URLs only")),Rae(r),bae(r)==="blocked"&&(s=xe("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=kae(r)),s===null&&(s=await(async()=>{let i=Pn(r);return yQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await G1(t)):r.mode==="same-origin"?xe('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?xe('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await G1(t)):IQ(Pn(r))?(r.responseTainting="cors",await j1(t)):xe("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=hQ(s,"basic"):r.responseTainting==="cors"?s=hQ(s,"cors"):r.responseTainting==="opaque"?s=hQ(s,"opaque"):_a(!1));let n=s.status===0?s:s.internalResponse;if(n.urlList.length===0&&n.urlList.push(...r.urlList),r.timingAllowFailed||(s.timingAllowPassed=!0),s.type==="opaque"&&n.status===206&&n.rangeRequested&&!r.headers.contains("range",!0)&&(s=n=xe()),s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||V1.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>EQ(t,xe(c)),"processBodyError");if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let a=o(c=>{if(!Iae(c,r.integrity)){i("integrity mismatch");return}s.body=BQ(c)[0],EQ(t,s)},"processBody");await Mae(s.body,a,i)}else EQ(t,s)}o(W1,"mainFetch");function G1(t){if(Da(t)&&t.request.redirectCount===0)return Promise.resolve(mf(t));let{request:e}=t,{protocol:r}=Pn(e);switch(r){case"about:":return Promise.resolve(xe("about scheme is not supported"));case"blob:":{fQ||(fQ=require("node:buffer").resolveObjectURL);let s=Pn(e);if(s.search.length!==0)return Promise.resolve(xe("NetworkError when attempting to fetch resource."));let n=fQ(s.toString());if(e.method!=="GET"||!_ae(n))return Promise.resolve(xe("invalid method"));let i=hf(),a=n.size,c=ff(`${a}`),l=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let u=e.headersList.get("range",!0),A=Gae(u,!0);if(A==="failure")return Promise.resolve(xe("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:p}=A;if(d===null)d=a-p,p=d+p-1;else{if(d>=a)return Promise.resolve(xe("Range start is greater than the blob's size."));(p===null||p>=a)&&(p=a-1)}let m=n.slice(d,p,l),h=U1(m);i.body=h[0];let f=ff(`${m.size}`),C=Hae(d,p,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let u=U1(n);i.statusText="OK",i.body=u[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",l,!0)}return Promise.resolve(i)}case"data:":{let s=Pn(e),n=rce(s);if(n==="failure")return Promise.resolve(xe("failed to fetch the data URL"));let i=sce(n.mimeType);return Promise.resolve(hf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:BQ(n.body)[0]}))}case"file:":return Promise.resolve(xe("not implemented... yet..."));case"http:":case"https:":return j1(t).catch(s=>xe(s));default:return Promise.resolve(xe("unknown scheme"))}}o(G1,"schemeFetch");function dce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(dce,"finalizeResponse");function EQ(t,e){let r=t.timingInfo,s=o(()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=i;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=CQ(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=Vae(e.headersList);A!=="failure"&&(l.contentType=nce(A))}t.request.initiatorType!=null&&Y1(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,u)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let n=e.type==="error"?e:e.internalResponse??e;n.body==null?s():Zae(n.body.stream,()=>{s()})}o(EQ,"fetchFinale");async function j1(t){let e=t.request,r=null,s=null,n=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),s=r=await K1(t),e.responseTainting==="cors"&&Pae(e,r)==="failure")return xe("cors failure");Qae(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&vae(e.origin,e.client,e.destination,s)==="blocked"?xe("blocked"):(z1.has(s.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=xe("unexpected redirect"):e.redirect==="manual"?r=s:e.redirect==="follow"?r=await pce(t,r):_a(!1)),r.timingInfo=n,r)}o(j1,"httpFetch");function pce(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=Nae(s,Pn(r).hash),n==null)return e}catch(a){return Promise.resolve(xe(a))}if(!IQ(n))return Promise.resolve(xe("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(xe("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(n.username||n.password)&&!yQ(r,n))return Promise.resolve(xe('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(n.username||n.password))return Promise.resolve(xe('URL cannot contain credentials for request mode "cors"'));if(s.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(xe());if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!cce.includes(r.method)){r.method="GET",r.body=null;for(let a of Jae)r.headersList.delete(a)}yQ(Pn(r),n)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(_a(r.body.source!=null),r.body=BQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=nd(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),Sae(r,s),W1(t,!0)}o(pce,"httpRedirectFetch");async function K1(t,e=!1,r=!1){let s=t.request,n=null,i=null,a=null,c=null,l=!1;s.window==="no-window"&&s.redirect==="error"?(n=t,i=s):(i=Cae(s),n={...t},n.request=i);let u=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic",A=i.body?i.body.length:null,d=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(d="0"),A!=null&&(d=ff(`${A}`)),d!=null&&i.headersList.append("content-length",d,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",ff(i.referrer.href),!0),xae(i),Tae(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",lce),i.cache==="default"&&(i.headersList.contains("if-modified-since",!0)||i.headersList.contains("if-none-match",!0)||i.headersList.contains("if-unmodified-since",!0)||i.headersList.contains("if-match",!0)||i.headersList.contains("if-range",!0))&&(i.cache="no-store"),i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",!0)&&i.headersList.append("cache-control","max-age=0",!0),(i.cache==="no-store"||i.cache==="reload")&&(i.headersList.contains("pragma",!0)||i.headersList.append("pragma","no-cache",!0),i.headersList.contains("cache-control",!0)||i.headersList.append("cache-control","no-cache",!0)),i.headersList.contains("range",!0)&&i.headersList.append("accept-encoding","identity",!0),i.headersList.contains("accept-encoding",!0)||(Uae(Pn(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),c==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,a==null){if(i.cache==="only-if-cached")return xe("only if cached");let p=await mce(n,u,r);!Yae.has(i.method)&&p.status>=200&&p.status<=399,l&&p.status,a==null&&(a=p)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return s.window==="no-window"?xe():Da(t)?mf(t):xe("proxy authentication required");if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(Da(t))return mf(t);t.controller.connection.destroy(),a=await K1(t,e,!0)}return a}o(K1,"httpNetworkOrCacheFetch");async function mce(t,e=!1,r=!1){_a(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let s=t.request,n=null,i=t.timingInfo;null==null&&(s.cache="no-store");let c=r?"yes":"no";s.mode;let l=null;if(s.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(s.body!=null){let h=o(async function*(E){Da(t)||(yield E,t.processRequestBodyChunkLength?.(E.byteLength))},"processBodyChunk"),f=o(()=>{Da(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(E=>{Da(t)||(E.name==="AbortError"?t.controller.abort():t.controller.terminate(E))},"processBodyError");l=(async function*(){try{for await(let E of s.body.stream)yield*h(E);f()}catch(E){C(E)}})()}try{let{body:h,status:f,statusText:C,headersList:E,socket:y}=await m({body:l});if(y)n=hf({status:f,statusText:C,headersList:E,socket:y});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),n=hf({status:f,statusText:C,headersList:E})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),mf(t,h)):xe(h)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(h=>{Da(t)||t.controller.abort(h)},"cancelAlgorithm"),d=new ReadableStream({async start(h){t.controller.controller=h},async pull(h){await u(h)},async cancel(h){await A(h)},type:"bytes"});n.body={stream:d,source:null,length:null},t.controller.onAborted=p,t.controller.on("terminated",p),t.controller.resume=async()=>{for(;;){let h,f;try{let{done:E,value:y}=await t.controller.next();if(F1(t))break;h=E?void 0:y}catch(E){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=E,f=!0)}if(h===void 0){Oae(t.controller.controller),dce(t,n);return}if(i.decodedBodySize+=h?.byteLength??0,f){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),tce(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function p(h){F1(t)?(n.aborted=!0,gf(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):gf(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Lae(h)?h:void 0})),t.controller.connection.destroy()}return o(p,"onAborted"),n;function m({body:h}){let f=Pn(s),C=t.controller.dispatcher;return new Promise((E,y)=>C.dispatch({path:f.pathname+f.search,origin:f.origin,method:s.method,body:C.isMockActive?s.body&&(s.body.source||s.body.stream):h,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;i.finalConnectionTimingInfo=qae(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),i.finalNetworkRequestStartTime=nd(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=nd(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,S){if(I<200)return;let U="",Ie=new O1;for(let de=0;dece)return y(new Error(`too many content-encodings in response: ${gt.length}, maximum allowed is ${ce}`)),!0;for(let js=gt.length-1;js>=0;--js){let z=gt[js].trim();if(z==="x-gzip"||z==="gzip")je.push(No.createGunzip({flush:No.constants.Z_SYNC_FLUSH,finishFlush:No.constants.Z_SYNC_FLUSH}));else if(z==="deflate")je.push(zae({flush:No.constants.Z_SYNC_FLUSH,finishFlush:No.constants.Z_SYNC_FLUSH}));else if(z==="br")je.push(No.createBrotliDecompress({flush:No.constants.BROTLI_OPERATION_FLUSH,finishFlush:No.constants.BROTLI_OPERATION_FLUSH}));else{je.length=0;break}}}let ke=this.onError.bind(this);return E({status:I,statusText:S,headersList:Ie,body:je.length?Xae(this.body,...je,de=>{de&&this.onError(de)}).on("error",ke):this.body.on("error",ke)}),!0},onData(I){if(t.controller.dump)return;let B=I;return i.encodedBodySize+=B.byteLength,this.body.push(B)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(I){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(I),t.controller.terminate(I),y(I)},onUpgrade(I,B,N){if(I!==101)return;let S=new O1;for(let U=0;U{"use strict";Z1.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 t2=g((AUe,e2)=>{"use strict";var{webidl:Kr}=Gt(),yf=Symbol("ProgressEvent state"),bQ=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Kr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Kr.converters.ProgressEventInit(r??{}),super(e,r),this[yf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Kr.brandCheck(this,t),this[yf].lengthComputable}get loaded(){return Kr.brandCheck(this,t),this[yf].loaded}get total(){return Kr.brandCheck(this,t),this[yf].total}};Kr.converters.ProgressEventInit=Kr.dictionaryConverter([{key:"lengthComputable",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Kr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Kr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);e2.exports={ProgressEvent:bQ}});var s2=g((pUe,r2)=>{"use strict";function hce(t){if(!t)return"failure";switch(t.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"}}o(hce,"getEncoding");r2.exports={getEncoding:hce}});var A2=g((hUe,u2)=>{"use strict";var{kState:Nl,kError:QQ,kResult:n2,kAborted:od,kLastProgressEventFired:xQ}=wQ(),{ProgressEvent:fce}=t2(),{getEncoding:i2}=s2(),{serializeAMimeType:gce,parseMIMEType:o2}=Ir(),{types:Ece}=require("node:util"),{StringDecoder:a2}=require("string_decoder"),{btoa:c2}=require("node:buffer"),yce={enumerable:!0,writable:!1,configurable:!1};function Cce(t,e,r,s){if(t[Nl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Nl]="loading",t[n2]=null,t[QQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[od];)try{let{done:u,value:A}=await c;if(l&&!t[od]&&queueMicrotask(()=>{So("loadstart",t)}),l=!1,!u&&Ece.isUint8Array(A))a.push(A),(t[xQ]===void 0||Date.now()-t[xQ]>=50)&&!t[od]&&(t[xQ]=Date.now(),queueMicrotask(()=>{So("progress",t)})),c=i.read();else if(u){queueMicrotask(()=>{t[Nl]="done";try{let d=Ice(a,r,e.type,s);if(t[od])return;t[n2]=d,So("load",t)}catch(d){t[QQ]=d,So("error",t)}t[Nl]!=="loading"&&So("loadend",t)});break}}catch(u){if(t[od])return;queueMicrotask(()=>{t[Nl]="done",t[QQ]=u,So("error",t),t[Nl]!=="loading"&&So("loadend",t)});break}})()}o(Cce,"readOperation");function So(t,e){let r=new fce(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(So,"fireAProgressEvent");function Ice(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=o2(r||"application/octet-stream");i!=="failure"&&(n+=gce(i)),n+=";base64,";let a=new a2("latin1");for(let c of t)n+=c2(a.write(c));return n+=c2(a.end()),n}case"Text":{let n="failure";if(s&&(n=i2(s)),n==="failure"&&r){let i=o2(r);i!=="failure"&&(n=i2(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),Bce(t,n)}case"ArrayBuffer":return l2(t).buffer;case"BinaryString":{let n="",i=new a2("latin1");for(let a of t)n+=i.write(a);return n+=i.end(),n}}}o(Ice,"packageData");function Bce(t,e){let r=l2(t),s=wce(r),n=0;s!==null&&(e=s,n=s==="UTF-8"?3:2);let i=r.slice(n);return new TextDecoder(e).decode(i)}o(Bce,"decode");function wce(t){let[e,r,s]=t;return e===239&&r===187&&s===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(wce,"BOMSniffing");function l2(t){let e=t.reduce((s,n)=>s+n.byteLength,0),r=0;return t.reduce((s,n)=>(s.set(n,r),r+=n.byteLength,s),new Uint8Array(e))}o(l2,"combineByteSequences");u2.exports={staticPropertyDescriptors:yce,readOperation:Cce,fireAProgressEvent:So}});var h2=g((gUe,m2)=>{"use strict";var{staticPropertyDescriptors:Sl,readOperation:Cf,fireAProgressEvent:d2}=A2(),{kState:La,kError:p2,kResult:If,kEvents:Be,kAborted:bce}=wQ(),{webidl:Re}=Gt(),{kEnumerableProperty:br}=Ae(),on=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[La]="empty",this[If]=null,this[p2]=null,this[Be]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Re.converters.Blob(e,{strict:!1}),Cf(this,e,"ArrayBuffer")}readAsBinaryString(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Re.converters.Blob(e,{strict:!1}),Cf(this,e,"BinaryString")}readAsText(e,r=void 0){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Re.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Re.converters.DOMString(r,"FileReader.readAsText","encoding")),Cf(this,e,"Text",r)}readAsDataURL(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Re.converters.Blob(e,{strict:!1}),Cf(this,e,"DataURL")}abort(){if(this[La]==="empty"||this[La]==="done"){this[If]=null;return}this[La]==="loading"&&(this[La]="done",this[If]=null),this[bce]=!0,d2("abort",this),this[La]!=="loading"&&d2("loadend",this)}get readyState(){switch(Re.brandCheck(this,t),this[La]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Re.brandCheck(this,t),this[If]}get error(){return Re.brandCheck(this,t),this[p2]}get onloadend(){return Re.brandCheck(this,t),this[Be].loadend}set onloadend(e){Re.brandCheck(this,t),this[Be].loadend&&this.removeEventListener("loadend",this[Be].loadend),typeof e=="function"?(this[Be].loadend=e,this.addEventListener("loadend",e)):this[Be].loadend=null}get onerror(){return Re.brandCheck(this,t),this[Be].error}set onerror(e){Re.brandCheck(this,t),this[Be].error&&this.removeEventListener("error",this[Be].error),typeof e=="function"?(this[Be].error=e,this.addEventListener("error",e)):this[Be].error=null}get onloadstart(){return Re.brandCheck(this,t),this[Be].loadstart}set onloadstart(e){Re.brandCheck(this,t),this[Be].loadstart&&this.removeEventListener("loadstart",this[Be].loadstart),typeof e=="function"?(this[Be].loadstart=e,this.addEventListener("loadstart",e)):this[Be].loadstart=null}get onprogress(){return Re.brandCheck(this,t),this[Be].progress}set onprogress(e){Re.brandCheck(this,t),this[Be].progress&&this.removeEventListener("progress",this[Be].progress),typeof e=="function"?(this[Be].progress=e,this.addEventListener("progress",e)):this[Be].progress=null}get onload(){return Re.brandCheck(this,t),this[Be].load}set onload(e){Re.brandCheck(this,t),this[Be].load&&this.removeEventListener("load",this[Be].load),typeof e=="function"?(this[Be].load=e,this.addEventListener("load",e)):this[Be].load=null}get onabort(){return Re.brandCheck(this,t),this[Be].abort}set onabort(e){Re.brandCheck(this,t),this[Be].abort&&this.removeEventListener("abort",this[Be].abort),typeof e=="function"?(this[Be].abort=e,this.addEventListener("abort",e)):this[Be].abort=null}};on.EMPTY=on.prototype.EMPTY=0;on.LOADING=on.prototype.LOADING=1;on.DONE=on.prototype.DONE=2;Object.defineProperties(on.prototype,{EMPTY:Sl,LOADING:Sl,DONE:Sl,readAsArrayBuffer:br,readAsBinaryString:br,readAsText:br,readAsDataURL:br,abort:br,readyState:br,result:br,error:br,onloadstart:br,onprogress:br,onload:br,onabort:br,onerror:br,onloadend:br,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(on,{EMPTY:Sl,LOADING:Sl,DONE:Sl});m2.exports={FileReader:on}});var Bf=g((yUe,f2)=>{"use strict";f2.exports={kConstruct:Ge().kConstruct}});var y2=g((CUe,E2)=>{"use strict";var Qce=require("node:assert"),{URLSerializer:g2}=Ir(),{isValidHeaderName:xce}=zr();function Nce(t,e,r=!1){let s=g2(t,r),n=g2(e,r);return s===n}o(Nce,"urlEquals");function Sce(t){Qce(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),xce(r)&&e.push(r);return e}o(Sce,"getFieldValues");E2.exports={urlEquals:Nce,getFieldValues:Sce}});var B2=g((BUe,I2)=>{"use strict";var{kConstruct:Rce}=Bf(),{urlEquals:Tce,getFieldValues:NQ}=y2(),{kEnumerableProperty:Ma,isDisturbed:Pce}=Ae(),{webidl:$}=Gt(),{Response:vce,cloneResponse:kce,fromInnerResponse:Dce}=sd(),{Request:Li,fromInnerRequest:_ce}=xl(),{kState:an}=ho(),{fetching:Lce}=id(),{urlIsHttpHttpsScheme:wf,createDeferredPromise:Rl,readAllBytes:Mce}=zr(),SQ=require("node:assert"),bf=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Rce&&$.illegalConstructor(),$.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){$.brandCheck(this,t);let s="Cache.match";$.argumentLengthCheck(arguments,1,s),e=$.converters.RequestInfo(e,s,"request"),r=$.converters.CacheQueryOptions(r,s,"options");let n=this.#n(e,r,1);if(n.length!==0)return n[0]}async matchAll(e=void 0,r={}){$.brandCheck(this,t);let s="Cache.matchAll";return e!==void 0&&(e=$.converters.RequestInfo(e,s,"request")),r=$.converters.CacheQueryOptions(r,s,"options"),this.#n(e,r)}async add(e){$.brandCheck(this,t);let r="Cache.add";$.argumentLengthCheck(arguments,1,r),e=$.converters.RequestInfo(e,r,"request");let s=[e];return await this.addAll(s)}async addAll(e){$.brandCheck(this,t);let r="Cache.addAll";$.argumentLengthCheck(arguments,1,r);let s=[],n=[];for(let p of e){if(p===void 0)throw $.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(p=$.converters.RequestInfo(p),typeof p=="string")continue;let m=p[an];if(!wf(m.url)||m.method!=="GET")throw $.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let p of e){let m=new Li(p)[an];if(!wf(m.url))throw $.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",n.push(m);let h=Rl();i.push(Lce({request:m,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)h.reject($.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let C=NQ(f.headersList.get("vary"));for(let E of C)if(E==="*"){h.reject($.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let y of i)y.abort();return}}},processResponseEndOfBody(f){if(f.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(f)}})),s.push(h.promise)}let c=await Promise.all(s),l=[],u=0;for(let p of c){let m={type:"put",request:n[u],response:p};l.push(m),u++}let A=Rl(),d=null;try{this.#t(l)}catch(p){d=p}return queueMicrotask(()=>{d===null?A.resolve(void 0):A.reject(d)}),A.promise}async put(e,r){$.brandCheck(this,t);let s="Cache.put";$.argumentLengthCheck(arguments,2,s),e=$.converters.RequestInfo(e,s,"request"),r=$.converters.Response(r,s,"response");let n=null;if(e instanceof Li?n=e[an]:n=new Li(e)[an],!wf(n.url)||n.method!=="GET")throw $.errors.exception({header:s,message:"Expected an http/s scheme when method is not GET"});let i=r[an];if(i.status===206)throw $.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let m=NQ(i.headersList.get("vary"));for(let h of m)if(h==="*")throw $.errors.exception({header:s,message:"Got * vary field value"})}if(i.body&&(Pce(i.body.stream)||i.body.stream.locked))throw $.errors.exception({header:s,message:"Response body is locked or disturbed"});let a=kce(i),c=Rl();if(i.body!=null){let h=i.body.stream.getReader();Mce(h).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:n,response:a};l.push(u);let A=await c.promise;a.body!=null&&(a.body.source=A);let d=Rl(),p=null;try{this.#t(l)}catch(m){p=m}return queueMicrotask(()=>{p===null?d.resolve():d.reject(p)}),d.promise}async delete(e,r={}){$.brandCheck(this,t);let s="Cache.delete";$.argumentLengthCheck(arguments,1,s),e=$.converters.RequestInfo(e,s,"request"),r=$.converters.CacheQueryOptions(r,s,"options");let n=null;if(e instanceof Li){if(n=e[an],n.method!=="GET"&&!r.ignoreMethod)return!1}else SQ(typeof e=="string"),n=new Li(e)[an];let i=[],a={type:"delete",request:n,options:r};i.push(a);let c=Rl(),l=null,u;try{u=this.#t(i)}catch(A){l=A}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){$.brandCheck(this,t);let s="Cache.keys";e!==void 0&&(e=$.converters.RequestInfo(e,s,"request")),r=$.converters.CacheQueryOptions(r,s,"options");let n=null;if(e!==void 0)if(e instanceof Li){if(n=e[an],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Li(e)[an]);let i=Rl(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#s(n,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=_ce(l,new AbortController().signal,"immutable");c.push(u)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let r=this.#e,s=[...r],n=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw $.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#s(a.request,a.options,n).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#s(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);SQ(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!wf(l.url))throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#s(a.request);for(let u of c){let A=r.indexOf(u);SQ(A!==-1),r.splice(A,1)}r.push([a.request,a.response]),n.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=s,a}}#s(e,r,s){let n=[],i=s??this.#e;for(let a of i){let[c,l]=a;this.#r(e,c,l,r)&&n.push(a)}return n}#r(e,r,s=null,n){let i=new URL(e.url),a=new URL(r.url);if(n?.ignoreSearch&&(a.search="",i.search=""),!Tce(i,a,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let c=NQ(s.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),A=e.headersList.get(l);if(u!==A)return!1}return!0}#n(e,r,s=1/0){let n=null;if(e!==void 0)if(e instanceof Li){if(n=e[an],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Li(e)[an]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#s(n,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=Dce(c,"immutable");if(a.push(l.clone()),a.length>=s)break}return Object.freeze(a)}};Object.defineProperties(bf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Ma,matchAll:Ma,add:Ma,addAll:Ma,put:Ma,delete:Ma,keys:Ma});var C2=[{key:"ignoreSearch",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];$.converters.CacheQueryOptions=$.dictionaryConverter(C2);$.converters.MultiCacheQueryOptions=$.dictionaryConverter([...C2,{key:"cacheName",converter:$.converters.DOMString}]);$.converters.Response=$.interfaceConverter(vce);$.converters["sequence"]=$.sequenceConverter($.converters.RequestInfo);I2.exports={Cache:bf}});var b2=g((bUe,w2)=>{"use strict";var{kConstruct:ad}=Bf(),{Cache:Qf}=B2(),{webidl:jt}=Gt(),{kEnumerableProperty:cd}=Ae(),xf=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==ad&&jt.illegalConstructor(),jt.util.markAsUncloneable(this)}async match(e,r={}){if(jt.brandCheck(this,t),jt.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=jt.converters.RequestInfo(e),r=jt.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let s=this.#e.get(r.cacheName);return await new Qf(ad,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new Qf(ad,s).match(e,r);if(i!==void 0)return i}}async has(e){jt.brandCheck(this,t);let r="CacheStorage.has";return jt.argumentLengthCheck(arguments,1,r),e=jt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){jt.brandCheck(this,t);let r="CacheStorage.open";if(jt.argumentLengthCheck(arguments,1,r),e=jt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new Qf(ad,n)}let s=[];return this.#e.set(e,s),new Qf(ad,s)}async delete(e){jt.brandCheck(this,t);let r="CacheStorage.delete";return jt.argumentLengthCheck(arguments,1,r),e=jt.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return jt.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(xf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:cd,has:cd,open:cd,delete:cd,keys:cd});w2.exports={CacheStorage:xf}});var x2=g((xUe,Q2)=>{"use strict";Q2.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var PQ=g((NUe,T2)=>{"use strict";function Oce(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(Oce,"isCTLExcludingHtab");function RQ(t){for(let e=0;e126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(RQ,"validateCookieName");function TQ(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r126||s===34||s===44||s===59||s===92)throw new Error("Invalid cookie value")}}o(TQ,"validateCookieValue");function S2(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(S2,"validateCookiePath");function N2(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(N2,"isLetterOrDigit");function Fce(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(Fce,"validateCookieDomain");var Uce=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],qce=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Nf=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function R2(t){return typeof t=="number"&&(t=new Date(t)),`${Uce[t.getUTCDay()]}, ${Nf[t.getUTCDate()]} ${qce[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Nf[t.getUTCHours()]}:${Nf[t.getUTCMinutes()]}:${Nf[t.getUTCSeconds()]} GMT`}o(R2,"toIMFDate");function Gce(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Gce,"validateCookieMaxAge");function Hce(t){if(t.name.length===0)return null;RQ(t.name),TQ(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(Gce(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Fce(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(S2(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${R2(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[s,...n]=r.split("="),i=s.trim(),a=n.join("=");RQ(i),TQ(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Hce,"stringify");T2.exports={isCTLExcludingHtab:Oce,validateCookieName:RQ,validateCookiePath:S2,validateCookieValue:TQ,toIMFDate:R2,stringify:Hce}});var v2=g((RUe,P2)=>{"use strict";var{maxNameValuePairSize:zce,maxAttributeValueSize:Vce}=x2(),{isCTLExcludingHtab:$ce}=PQ(),{collectASequenceOfCodePointsFast:Sf}=Ir(),Yce=require("node:assert");function Jce(t){if($ce(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=Sf(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=Sf("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>zce?null:{name:s,value:n,...Tl(r)}}o(Jce,"parseSetCookie");function Tl(t,e={}){if(t.length===0)return e;Yce(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Sf(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let a={position:0};s=Sf("=",r,a),n=r.slice(a.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>Vce)return Tl(t,e);let i=s.toLowerCase();if(i==="expires"){let a=new Date(n);e.expires=a}else if(i==="max-age"){let a=n.charCodeAt(0);if((a<48||a>57)&&n[0]!=="-"||!/^\d+$/.test(n))return Tl(t,e);let c=Number(n);e.maxAge=c}else if(i==="domain"){let a=n;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";n.length===0||n[0]!=="/"?a="/":a=n,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=n.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${s}=${n}`);return Tl(t,e)}o(Tl,"parseUnparsedAttributes");P2.exports={parseSetCookie:Jce,parseUnparsedAttributes:Tl}});var _2=g((PUe,D2)=>{"use strict";var{parseSetCookie:Wce}=v2(),{stringify:jce}=PQ(),{webidl:fe}=Gt(),{Headers:Rf}=va();function Kce(t){fe.argumentLengthCheck(arguments,1,"getCookies"),fe.brandCheck(t,Rf,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let s of e.split(";")){let[n,...i]=s.split("=");r[n.trim()]=i.join("=")}return r}o(Kce,"getCookies");function Xce(t,e,r){fe.brandCheck(t,Rf,{strict:!1});let s="deleteCookie";fe.argumentLengthCheck(arguments,2,s),e=fe.converters.DOMString(e,s,"name"),r=fe.converters.DeleteCookieAttributes(r),k2(t,{name:e,value:"",expires:new Date(0),...r})}o(Xce,"deleteCookie");function Zce(t){fe.argumentLengthCheck(arguments,1,"getSetCookies"),fe.brandCheck(t,Rf,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Wce(r)):[]}o(Zce,"getSetCookies");function k2(t,e){fe.argumentLengthCheck(arguments,2,"setCookie"),fe.brandCheck(t,Rf,{strict:!1}),e=fe.converters.Cookie(e);let r=jce(e);r&&t.append("Set-Cookie",r)}o(k2,"setCookie");fe.converters.DeleteCookieAttributes=fe.dictionaryConverter([{converter:fe.nullableConverter(fe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);fe.converters.Cookie=fe.dictionaryConverter([{converter:fe.converters.DOMString,key:"name"},{converter:fe.converters.DOMString,key:"value"},{converter:fe.nullableConverter(t=>typeof t=="number"?fe.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:fe.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:fe.sequenceConverter(fe.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);D2.exports={getCookies:Kce,deleteCookie:Xce,getSetCookies:Zce,setCookie:k2}});var vl=g((kUe,M2)=>{"use strict";var{webidl:V}=Gt(),{kEnumerableProperty:Qr}=Ae(),{kConstruct:L2}=Ge(),{MessagePort:ele}=require("node:worker_threads"),Pl=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===L2){super(arguments[1],arguments[2]),V.util.markAsUncloneable(this);return}let s="MessageEvent constructor";V.argumentLengthCheck(arguments,1,s),e=V.converters.DOMString(e,s,"type"),r=V.converters.MessageEventInit(r,s,"eventInitDict"),super(e,r),this.#e=r,V.util.markAsUncloneable(this)}get data(){return V.brandCheck(this,t),this.#e.data}get origin(){return V.brandCheck(this,t),this.#e.origin}get lastEventId(){return V.brandCheck(this,t),this.#e.lastEventId}get source(){return V.brandCheck(this,t),this.#e.source}get ports(){return V.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,s=!1,n=null,i="",a="",c=null,l=[]){return V.brandCheck(this,t),V.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:s,data:n,origin:i,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let s=new t(L2,e,r);return s.#e=r,s.#e.data??=null,s.#e.origin??="",s.#e.lastEventId??="",s.#e.source??=null,s.#e.ports??=[],s}},{createFastMessageEvent:tle}=Pl;delete Pl.createFastMessageEvent;var Tf=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let s="CloseEvent constructor";V.argumentLengthCheck(arguments,1,s),e=V.converters.DOMString(e,s,"type"),r=V.converters.CloseEventInit(r),super(e,r),this.#e=r,V.util.markAsUncloneable(this)}get wasClean(){return V.brandCheck(this,t),this.#e.wasClean}get code(){return V.brandCheck(this,t),this.#e.code}get reason(){return V.brandCheck(this,t),this.#e.reason}},Pf=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let s="ErrorEvent constructor";V.argumentLengthCheck(arguments,1,s),super(e,r),V.util.markAsUncloneable(this),e=V.converters.DOMString(e,s,"type"),r=V.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return V.brandCheck(this,t),this.#e.message}get filename(){return V.brandCheck(this,t),this.#e.filename}get lineno(){return V.brandCheck(this,t),this.#e.lineno}get colno(){return V.brandCheck(this,t),this.#e.colno}get error(){return V.brandCheck(this,t),this.#e.error}};Object.defineProperties(Pl.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Qr,origin:Qr,lastEventId:Qr,source:Qr,ports:Qr,initMessageEvent:Qr});Object.defineProperties(Tf.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Qr,code:Qr,wasClean:Qr});Object.defineProperties(Pf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Qr,filename:Qr,lineno:Qr,colno:Qr,error:Qr});V.converters.MessagePort=V.interfaceConverter(ele);V.converters["sequence"]=V.sequenceConverter(V.converters.MessagePort);var vQ=[{key:"bubbles",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];V.converters.MessageEventInit=V.dictionaryConverter([...vQ,{key:"data",converter:V.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:V.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:V.nullableConverter(V.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:V.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);V.converters.CloseEventInit=V.dictionaryConverter([...vQ,{key:"wasClean",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:V.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);V.converters.ErrorEventInit=V.dictionaryConverter([...vQ,{key:"message",converter:V.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:V.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:V.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:V.converters.any}]);M2.exports={MessageEvent:Pl,CloseEvent:Tf,ErrorEvent:Pf,createFastMessageEvent:tle}});var Oa=g((_Ue,O2)=>{"use strict";var rle="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sle={enumerable:!0,writable:!1,configurable:!1},nle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},ile={NOT_SENT:0,PROCESSING:1,SENT:2},ole={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},ale=2**16-1,cle={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},lle=Buffer.allocUnsafe(0),ule={string:1,typedArray:2,arrayBuffer:3,blob:4};O2.exports={uid:rle,sentCloseFrameState:ile,staticPropertyDescriptors:sle,states:nle,opcodes:ole,maxUnsigned16Bit:ale,parserStates:cle,emptyBuffer:lle,sendHints:ule}});var ld=g((LUe,F2)=>{"use strict";F2.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 dd=g((MUe,J2)=>{"use strict";var{kReadyState:ud,kController:Ale,kResponse:dle,kBinaryType:ple,kWebSocketURL:mle}=ld(),{states:Ad,opcodes:Ro}=Oa(),{ErrorEvent:hle,createFastMessageEvent:fle}=vl(),{isUtf8:gle}=require("node:buffer"),{collectASequenceOfCodePointsFast:Ele,removeHTTPWhitespace:U2}=Ir();function yle(t){return t[ud]===Ad.CONNECTING}o(yle,"isConnecting");function Cle(t){return t[ud]===Ad.OPEN}o(Cle,"isEstablished");function Ile(t){return t[ud]===Ad.CLOSING}o(Ile,"isClosing");function Ble(t){return t[ud]===Ad.CLOSED}o(Ble,"isClosed");function kQ(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}o(kQ,"fireEvent");function wle(t,e,r){if(t[ud]!==Ad.OPEN)return;let s;if(e===Ro.TEXT)try{s=Y2(r)}catch{G2(t,"Received invalid UTF-8 in text frame.");return}else e===Ro.BINARY&&(t[ple]==="blob"?s=new Blob([r]):s=ble(r));kQ("message",t,fle,{origin:t[mle].origin,data:s})}o(wle,"websocketMessageReceived");function ble(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(ble,"toArrayBuffer");function Qle(t){if(t.length===0)return!1;for(let e=0;e126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(Qle,"isValidSubprotocol");function xle(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(xle,"isValidStatusCode");function G2(t,e){let{[Ale]:r,[dle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&kQ("error",t,(n,i)=>new hle(n,i),{error:new Error(e),message:e})}o(G2,"failWebsocketConnection");function H2(t){return t===Ro.CLOSE||t===Ro.PING||t===Ro.PONG}o(H2,"isControlFrame");function z2(t){return t===Ro.CONTINUATION}o(z2,"isContinuationFrame");function V2(t){return t===Ro.TEXT||t===Ro.BINARY}o(V2,"isTextBinaryFrame");function Nle(t){return V2(t)||z2(t)||H2(t)}o(Nle,"isValidOpcode");function Sle(t){let e={position:0},r=new Map;for(;e.position57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}o(Rle,"isValidClientWindowBits");var $2=typeof process.versions.icu=="string",q2=$2?new TextDecoder("utf-8",{fatal:!0}):void 0,Y2=$2?q2.decode.bind(q2):function(t){if(gle(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};J2.exports={isConnecting:yle,isEstablished:Cle,isClosing:Ile,isClosed:Ble,fireEvent:kQ,isValidSubprotocol:Qle,isValidStatusCode:xle,failWebsocketConnection:G2,websocketMessageReceived:wle,utf8Decode:Y2,isControlFrame:H2,isContinuationFrame:z2,isTextBinaryFrame:V2,isValidOpcode:Nle,parseExtensions:Sle,isValidClientWindowBits:Rle}});var kf=g((FUe,W2)=>{"use strict";var{maxUnsigned16Bit:Tle}=Oa(),vf=16386,DQ,pd=null,kl=vf;try{DQ=require("node:crypto")}catch{DQ={randomFillSync:o(function(e,r,s){for(let n=0;nTle?(a+=8,i=127):n>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(n+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=s[0],c[a-3]=s[1],c[a-2]=s[2],c[a-1]=s[3],c[1]=i,i===126?c.writeUInt16BE(n,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(n,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:vle,states:md,sentCloseFrameState:Df,emptyBuffer:kle,opcodes:Dle}=Oa(),{kReadyState:hd,kSentClose:_f,kByteParser:K2,kReceivedClose:j2,kResponse:X2}=ld(),{fireEvent:_le,failWebsocketConnection:To,isClosing:Lle,isClosed:Mle,isEstablished:Ole,parseExtensions:Fle}=dd(),{channels:Dl}=Vc(),{CloseEvent:Ule}=vl(),{makeRequest:qle}=xl(),{fetching:Gle}=id(),{Headers:Hle,getHeadersList:zle}=va(),{getDecodeSplit:Vle}=zr(),{WebsocketFrameSend:$le}=kf(),LQ;try{LQ=require("node:crypto")}catch{}function Yle(t,e,r,s,n,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=qle({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=zle(new Hle(i.headers));c.headersList=d}let l=LQ.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Gle({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){To(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){To(s,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){To(s,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){To(s,'Server did not set Connection header to "upgrade".');return}let p=d.headersList.get("Sec-WebSocket-Accept"),m=LQ.createHash("sha1").update(l+vle).digest("base64");if(p!==m){To(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),f;if(h!==null&&(f=Fle(h),!f.has("permessage-deflate"))){To(s,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null){let E=Vle("sec-websocket-protocol",c.headersList);if(E===null||!E.includes(C)){To(s,"Protocol was not set in the opening handshake.");return}}d.socket.on("data",Z2),d.socket.on("close",eq),d.socket.on("error",tq),Dl.open.hasSubscribers&&Dl.open.publish({address:d.socket.address(),protocol:C,extensions:h}),n(d,f)}})}o(Yle,"establishWebSocketConnection");function Jle(t,e,r,s){if(!(Lle(t)||Mle(t)))if(!Ole(t))To(t,"Connection was closed before it was established."),t[hd]=md.CLOSING;else if(t[_f]===Df.NOT_SENT){t[_f]=Df.PROCESSING;let n=new $le;e!==void 0&&r===void 0?(n.frameData=Buffer.allocUnsafe(2),n.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(n.frameData=Buffer.allocUnsafe(2+s),n.frameData.writeUInt16BE(e,0),n.frameData.write(r,2,"utf-8")):n.frameData=kle,t[X2].socket.write(n.createFrame(Dle.CLOSE)),t[_f]=Df.SENT,t[hd]=md.CLOSING}else t[hd]=md.CLOSING}o(Jle,"closeWebSocketConnection");function Z2(t){this.ws[K2].write(t)||this.pause()}o(Z2,"onSocketData");function eq(){let{ws:t}=this,{[X2]:e}=t;e.socket.off("data",Z2),e.socket.off("close",eq),e.socket.off("error",tq);let r=t[_f]===Df.SENT&&t[j2],s=1005,n="",i=t[K2].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[j2]||(s=1006),t[hd]=md.CLOSED,_le("close",t,(a,c)=>new Ule(a,c),{wasClean:r,code:s,reason:n}),Dl.close.hasSubscribers&&Dl.close.publish({websocket:t,code:s,reason:n})}o(eq,"onSocketClose");function tq(t){let{ws:e}=this;e[hd]=md.CLOSING,Dl.socketError.hasSubscribers&&Dl.socketError.publish(t),this.destroy()}o(tq,"onSocketError");rq.exports={establishWebSocketConnection:Yle,closeWebSocketConnection:Jle}});var nq=g((HUe,sq)=>{"use strict";var{createInflateRaw:Wle,Z_DEFAULT_WINDOWBITS:jle}=require("node:zlib"),{isValidClientWindowBits:Kle}=dd(),{MessageSizeExceededError:Xle}=Ce(),Zle=Buffer.from([0,0,255,255]),Lf=Symbol("kBuffer"),fd=Symbol("kLength"),OQ=class{static{o(this,"PerMessageDeflate")}#e;#t={};#s=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#s=r.maxPayloadSize}decompress(e,r,s){if(!this.#e){let n=jle;if(this.#t.serverMaxWindowBits){if(!Kle(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Wle({windowBits:n})}catch(i){s(i);return}this.#e[Lf]=[],this.#e[fd]=0,this.#e.on("data",i=>{if(this.#e[fd]+=i.length,this.#s>0&&this.#e[fd]>this.#s){s(new Xle),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[Lf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(Zle),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Lf],this.#e[fd]);this.#e[Lf].length=0,this.#e[fd]=0,s(null,n)})}};sq.exports={PerMessageDeflate:OQ}});var mq=g((VUe,pq)=>{"use strict";var{Writable:eue}=require("node:stream"),tue=require("node:assert"),{parserStates:xr,opcodes:_l,states:rue,emptyBuffer:iq,sentCloseFrameState:oq}=Oa(),{kReadyState:sue,kSentClose:aq,kResponse:cq,kReceivedClose:lq}=ld(),{channels:Mf}=Vc(),{isValidStatusCode:nue,isValidOpcode:iue,failWebsocketConnection:Xr,websocketMessageReceived:uq,utf8Decode:oue,isControlFrame:FQ,isTextBinaryFrame:UQ,isContinuationFrame:aue}=dd(),{WebsocketFrameSend:Aq}=kf(),{closeWebSocketConnection:dq}=MQ(),{PerMessageDeflate:cue}=nq(),{MessageSizeExceededError:qQ}=Ce();function gd(t,e,r){dq(t,e,r,Buffer.byteLength(r)),Xr(t,r)}o(gd,"failWebsocketConnectionWithCode");var GQ=class extends eue{static{o(this,"ByteParser")}#e=[];#t=0;#s=0;#r=!1;#n=xr.INFO;#i={};#o=[];#a;#l;#c;constructor(e,r,s={}){super(),this.ws=e,this.#a=r??new Map,this.#l=s.maxFragments??0,this.#c=s.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new cue(r,s))}_write(e,r,s){this.#e.push(e),this.#s+=e.length,this.#r=!0,this.run(s)}#u(){return this.#c>0&&!FQ(this.#i.opcode)&&this.#i.payloadLength+this.#t>this.#c?(gd(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#r;)if(this.#n===xr.INFO){if(this.#s<2)return e();let r=this.consume(2),s=(r[0]&128)!==0,n=r[0]&15,i=(r[1]&128)===128,a=!s&&n!==_l.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!iue(n))return Xr(this.ws,"Invalid opcode received"),e();if(i)return Xr(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Xr(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){Xr(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!UQ(n)){Xr(this.ws,"Invalid frame type was fragmented.");return}if(UQ(n)&&this.#o.length>0){Xr(this.ws,"Expected continuation frame");return}if(this.#i.fragmented&&a){Xr(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&FQ(n)){Xr(this.ws,"Control frame either too large or fragmented");return}if(aue(n)&&this.#o.length===0&&!this.#i.compressed){Xr(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#i.payloadLength=c,this.#n=xr.READ_DATA,!this.#u())return}else c===126?this.#n=xr.PAYLOADLENGTH_16:c===127&&(this.#n=xr.PAYLOADLENGTH_64);UQ(n)&&(this.#i.binaryType=n,this.#i.compressed=l!==0),this.#i.opcode=n,this.#i.masked=i,this.#i.fin=s,this.#i.fragmented=a}else if(this.#n===xr.PAYLOADLENGTH_16){if(this.#s<2)return e();let r=this.consume(2);if(this.#i.payloadLength=r.readUInt16BE(0),this.#n=xr.READ_DATA,!this.#u())return}else if(this.#n===xr.PAYLOADLENGTH_64){if(this.#s<8)return e();let r=this.consume(8),s=r.readUInt32BE(0),n=r.readUInt32BE(4);if(s!==0||n>2**31-1){Xr(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#i.payloadLength=n,this.#n=xr.READ_DATA,!this.#u())return}else if(this.#n===xr.READ_DATA){if(this.#s{if(s){let i=s instanceof qQ?1009:1007;gd(this.ws,i,s.message);return}if(this.writeFragments(n)){if(this.#c>0&&this.#t>this.#c){gd(this.ws,1009,new qQ().message);return}if(!this.#i.fin){this.#n=xr.INFO,this.#r=!0,this.run(e);return}uq(this.ws,this.#i.binaryType,this.consumeFragments()),this.#r=!0,this.#n=xr.INFO,this.run(e)}}),this.#r=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){gd(this.ws,1009,new qQ().message);return}!this.#i.fragmented&&this.#i.fin&&uq(this.ws,this.#i.binaryType,this.consumeFragments()),this.#n=xr.INFO}}}consume(e){if(e>this.#s)throw new Error("Called consume() before buffers satiated.");if(e===0)return iq;if(this.#e[0].length===e)return this.#s-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),s=0;for(;s!==e;){let n=this.#e[0],{length:i}=n;if(i+s===e){r.set(this.#e.shift(),s);break}else if(i+s>e){r.set(n.subarray(0,e-s),s),this.#e[0]=n.subarray(e-s);break}else r.set(this.#e.shift(),s),s+=n.length}return this.#s-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(gd(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){tue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!nue(r))return{code:1002,reason:"Invalid status code",error:!0};let s=e.subarray(2);s[0]===239&&s[1]===187&&s[2]===191&&(s=s.subarray(3));try{s=oue(s)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:s,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:s}=this.#i;if(r===_l.CLOSE){if(s===1)return Xr(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#i.closeInfo=this.parseCloseBody(e),this.#i.closeInfo.error){let{code:n,reason:i}=this.#i.closeInfo;return dq(this.ws,n,i,i.length),Xr(this.ws,i),!1}if(this.ws[aq]!==oq.SENT){let n=iq;this.#i.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#i.closeInfo.code,0));let i=new Aq(n);this.ws[cq].socket.write(i.createFrame(_l.CLOSE),a=>{a||(this.ws[aq]=oq.SENT)})}return this.ws[sue]=rue.CLOSING,this.ws[lq]=!0,!1}else if(r===_l.PING){if(!this.ws[lq]){let n=new Aq(e);this.ws[cq].socket.write(n.createFrame(_l.PONG)),Mf.ping.hasSubscribers&&Mf.ping.publish({payload:e})}}else r===_l.PONG&&Mf.pong.hasSubscribers&&Mf.pong.publish({payload:e});return!0}get closingInfo(){return this.#i.closeInfo}};pq.exports={ByteParser:GQ}});var yq=g((YUe,Eq)=>{"use strict";var{WebsocketFrameSend:lue}=kf(),{opcodes:hq,sendHints:Ll}=Oa(),uue=Jw(),fq=Buffer[Symbol.species],HQ=class{static{o(this,"SendQueue")}#e=new uue;#t=!1;#s;constructor(e){this.#s=e}add(e,r,s){if(s!==Ll.blob){let i=gq(e,s);if(!this.#t)this.#s.write(i,r);else{let a={promise:null,callback:r,frame:i};this.#e.push(a)}return}let n={promise:e.arrayBuffer().then(i=>{n.promise=null,n.frame=gq(i,s)}),callback:r,frame:null};this.#e.push(n),this.#t||this.#r()}async#r(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#s.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function gq(t,e){return new lue(Aue(t,e)).createFrame(e===Ll.string?hq.TEXT:hq.BINARY)}o(gq,"createFrame");function Aue(t,e){switch(e){case Ll.string:return Buffer.from(t);case Ll.arrayBuffer:case Ll.blob:return new fq(t);case Ll.typedArray:return new fq(t.buffer,t.byteOffset,t.byteLength)}}o(Aue,"toBuffer");Eq.exports={SendQueue:HQ}});var Rq=g((WUe,Sq)=>{"use strict";var{webidl:ee}=Gt(),{URLSerializer:due}=Ir(),{environmentSettingsObject:Cq}=zr(),{staticPropertyDescriptors:Po,states:Ed,sentCloseFrameState:pue,sendHints:Of}=Oa(),{kWebSocketURL:Iq,kReadyState:zQ,kController:Bq,kBinaryType:Ff,kResponse:wq,kSentClose:mue,kByteParser:hue}=ld(),{isConnecting:fue,isEstablished:gue,isClosing:Eue,isValidSubprotocol:yue,fireEvent:bq}=dd(),{establishWebSocketConnection:Cue,closeWebSocketConnection:Qq}=MQ(),{ByteParser:Iue}=mq(),{kEnumerableProperty:Cs,isBlobLike:xq}=Ae(),{getGlobalDispatcher:Bue}=Zh(),{types:Nq}=require("node:util"),{ErrorEvent:wue,CloseEvent:bue}=vl(),{SendQueue:Que}=yq(),Zr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#s="";#r="";#n;constructor(e,r=[]){super(),ee.util.markAsUncloneable(this);let s="WebSocket constructor";ee.argumentLengthCheck(arguments,1,s);let n=ee.converters["DOMString or sequence or WebSocketInit"](r,s,"options");e=ee.converters.USVString(e,s,"url"),r=n.protocols;let i=Cq.settingsObject.baseUrl,a;try{a=new URL(e,i)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>yue(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Iq]=new URL(a.href);let c=Cq.settingsObject;this[Bq]=Cue(a,r,c,this,(l,u)=>this.#i(l,u),n),this[zQ]=t.CONNECTING,this[mue]=pue.NOT_SENT,this[Ff]="blob"}close(e=void 0,r=void 0){ee.brandCheck(this,t);let s="WebSocket.close";if(e!==void 0&&(e=ee.converters["unsigned short"](e,s,"code",{clamp:!0})),r!==void 0&&(r=ee.converters.USVString(r,s,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");Qq(this,e,r,n)}send(e){ee.brandCheck(this,t);let r="WebSocket.send";if(ee.argumentLengthCheck(arguments,1,r),e=ee.converters.WebSocketSendData(e,r,"data"),fue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!gue(this)||Eue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},Of.string)}else Nq.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Of.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Of.typedArray)):xq(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},Of.blob))}get readyState(){return ee.brandCheck(this,t),this[zQ]}get bufferedAmount(){return ee.brandCheck(this,t),this.#t}get url(){return ee.brandCheck(this,t),due(this[Iq])}get extensions(){return ee.brandCheck(this,t),this.#r}get protocol(){return ee.brandCheck(this,t),this.#s}get onopen(){return ee.brandCheck(this,t),this.#e.open}set onopen(e){ee.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return ee.brandCheck(this,t),this.#e.error}set onerror(e){ee.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return ee.brandCheck(this,t),this.#e.close}set onclose(e){ee.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return ee.brandCheck(this,t),this.#e.message}set onmessage(e){ee.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return ee.brandCheck(this,t),this[Ff]}set binaryType(e){ee.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Ff]="blob":this[Ff]=e}#i(e,r){this[wq]=e;let s=this[Bq]?.dispatcher?.webSocketOptions,n=s?.maxFragments,i=s?.maxPayloadSize,a=new Iue(this,r,{maxFragments:n,maxPayloadSize:i});a.on("drain",xue),a.on("error",Nue.bind(this)),e.socket.ws=this,this[hue]=a,this.#n=new Que(e.socket),this[zQ]=Ed.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#r=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#s=l),bq("open",this)}};Zr.CONNECTING=Zr.prototype.CONNECTING=Ed.CONNECTING;Zr.OPEN=Zr.prototype.OPEN=Ed.OPEN;Zr.CLOSING=Zr.prototype.CLOSING=Ed.CLOSING;Zr.CLOSED=Zr.prototype.CLOSED=Ed.CLOSED;Object.defineProperties(Zr.prototype,{CONNECTING:Po,OPEN:Po,CLOSING:Po,CLOSED:Po,url:Cs,readyState:Cs,bufferedAmount:Cs,onopen:Cs,onerror:Cs,onclose:Cs,close:Cs,onmessage:Cs,binaryType:Cs,send:Cs,extensions:Cs,protocol:Cs,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Zr,{CONNECTING:Po,OPEN:Po,CLOSING:Po,CLOSED:Po});ee.converters["sequence"]=ee.sequenceConverter(ee.converters.DOMString);ee.converters["DOMString or sequence"]=function(t,e,r){return ee.util.Type(t)==="Object"&&Symbol.iterator in t?ee.converters["sequence"](t):ee.converters.DOMString(t,e,r)};ee.converters.WebSocketInit=ee.dictionaryConverter([{key:"protocols",converter:ee.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:ee.converters.any,defaultValue:o(()=>Bue(),"defaultValue")},{key:"headers",converter:ee.nullableConverter(ee.converters.HeadersInit)}]);ee.converters["DOMString or sequence or WebSocketInit"]=function(t){return ee.util.Type(t)==="Object"&&!(Symbol.iterator in t)?ee.converters.WebSocketInit(t):{protocols:ee.converters["DOMString or sequence"](t)}};ee.converters.WebSocketSendData=function(t){if(ee.util.Type(t)==="Object"){if(xq(t))return ee.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Nq.isArrayBuffer(t))return ee.converters.BufferSource(t)}return ee.converters.USVString(t)};function xue(){this.ws[wq].socket.resume()}o(xue,"onParserDrain");function Nue(t){let e,r;t instanceof bue?(e=t.reason,r=t.code):e=t.message,bq("error",this,()=>new wue("error",{error:t,message:e})),Qq(this,r)}o(Nue,"onParserError");Sq.exports={WebSocket:Zr}});var VQ=g((KUe,Tq)=>{"use strict";function Sue(t){return t.indexOf("\0")===-1}o(Sue,"isValidLastEventId");function Rue(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(Rue,"isASCIINumber");function Tue(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Tue,"delay");Tq.exports={isValidLastEventId:Sue,isASCIINumber:Rue,delay:Tue}});var vq=g((ZUe,Pq)=>{"use strict";var{Transform:Pue}=require("node:stream"),{isASCIINumber:vue,isValidLastEventId:kue}=VQ(),Ml=[239,187,191],$Q=10,Uf=13,Due=58,_ue=32,Lue=Buffer.from("data"),Mue=Buffer.from("event"),Oue=Buffer.from("id"),Fue=Buffer.from("retry");function Uue(t,e){if(e>=t.length)return!1;for(let r=e;r57)return!1;return!0}o(Uue,"isASCIINumberBytes");function que(t,e){for(let r=e;r0&&(r.event=a)}}processEvent(e){e.retry&&vue(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&kue(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],r=0;for(let s=this.lineChunkIndex;s<=this.chunkIndex;s++){let n=this.chunks[s],i=s===this.lineChunkIndex?this.linePos:0,a=s===this.chunkIndex?this.pos:n.length,c=n.subarray(i,a);r+=c.length,e.push(c)}return Buffer.concat(e,r)}peekBufferedByte(e){let r=this.lineChunkIndex,s=this.linePos;for(;r0&&this.lineChunkIndex{"use strict";var{pipeline:Gue}=require("node:stream"),{fetching:Hue}=id(),{makeRequest:zue}=xl(),{webidl:Mi}=Gt(),{EventSourceStream:Vue}=vq(),{parseMIMEType:$ue}=Ir(),{createFastMessageEvent:Yue}=vl(),{isNetworkError:kq}=sd(),{delay:Jue}=VQ(),{kEnumerableProperty:Fa}=Ae(),{environmentSettingsObject:Dq}=zr(),_q=!1,Lq=3e3,yd=0,Mq=1,Cd=2,Wue="anonymous",jue="use-credentials",Ol=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#s=!1;#r=yd;#n=null;#i=null;#o;#a;constructor(e,r={}){super(),Mi.util.markAsUncloneable(this);let s="EventSource constructor";Mi.argumentLengthCheck(arguments,1,s),_q||(_q=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Mi.converters.USVString(e,s,"url"),r=Mi.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:Lq};let n=Dq,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=Wue;r.withCredentials&&(a=jue,this.#s=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Dq.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=zue(c),this.#l()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#l(){if(this.#r===Cd)return;this.#r=yd;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{kq(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(kq(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=s.headersList.get("content-type",!0),i=n!==null?$ue(n):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=Mq,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new Vue({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(Yue(l.type,l.options))},"push")});Gue(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#i=Hue(e)}async#c(){this.#r!==Cd&&(this.#r=yd,this.dispatchEvent(new Event("error")),await Jue(this.#a.reconnectionTime),this.#r===yd&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Mi.brandCheck(this,t),this.#r!==Cd&&(this.#r=Cd,this.#i.abort(),this.#n=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},Oq={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:yd,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Mq,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Cd,writable:!1}};Object.defineProperties(Ol,Oq);Object.defineProperties(Ol.prototype,Oq);Object.defineProperties(Ol.prototype,{close:Fa,onerror:Fa,onmessage:Fa,onopen:Fa,readyState:Fa,url:Fa,withCredentials:Fa});Mi.converters.EventSourceInitDict=Mi.dictionaryConverter([{key:"withCredentials",converter:Mi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Mi.converters.any}]);Fq.exports={EventSource:Ol,defaultReconnectionTime:Lq}});var Ul=g((s1e,Z)=>{"use strict";var Kue=dl(),qq=wA(),Xue=pl(),Zue=UO(),eAe=ml(),tAe=mb(),rAe=uF(),sAe=gF(),Gq=Ce(),Hf=Ae(),{InvalidArgumentError:Gf}=Gq,Fl=sU(),nAe=QA(),iAe=Wb(),oAe=FU(),aAe=Xb(),cAe=Lb(),lAe=Hh(),{getGlobalDispatcher:Hq,setGlobalDispatcher:uAe}=Zh(),AAe=ef(),dAe=vh(),pAe=kh();Object.assign(qq.prototype,Fl);Z.exports.Dispatcher=qq;Z.exports.Client=Kue;Z.exports.Pool=Xue;Z.exports.BalancedPool=Zue;Z.exports.Agent=eAe;Z.exports.ProxyAgent=tAe;Z.exports.EnvHttpProxyAgent=rAe;Z.exports.RetryAgent=sAe;Z.exports.RetryHandler=lAe;Z.exports.DecoratorHandler=AAe;Z.exports.RedirectHandler=dAe;Z.exports.createRedirectInterceptor=pAe;Z.exports.interceptors={redirect:$U(),retry:JU(),dump:jU(),dns:ZU()};Z.exports.buildConnector=nAe;Z.exports.errors=Gq;Z.exports.util={parseHeaders:Hf.parseHeaders,headerNameToString:Hf.headerNameToString};function Id(t){return(e,r,s)=>{if(typeof r=="function"&&(s=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Gf("invalid url");if(r!=null&&typeof r!="object")throw new Gf("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Gf("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Hf.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Hf.parseURL(e);let{agent:n,dispatcher:i=Hq()}=r;if(n)throw new Gf("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}o(Id,"makeDispatcher");Z.exports.setGlobalDispatcher=uAe;Z.exports.getGlobalDispatcher=Hq;var mAe=id().fetch;Z.exports.fetch=o(async function(e,r=void 0){try{return await mAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}},"fetch");Z.exports.Headers=va().Headers;Z.exports.Response=sd().Response;Z.exports.Request=xl().Request;Z.exports.FormData=vA().FormData;Z.exports.File=globalThis.File??require("node:buffer").File;Z.exports.FileReader=h2().FileReader;var{setGlobalOrigin:hAe,getGlobalOrigin:fAe}=hw();Z.exports.setGlobalOrigin=hAe;Z.exports.getGlobalOrigin=fAe;var{CacheStorage:gAe}=b2(),{kConstruct:EAe}=Bf();Z.exports.caches=new gAe(EAe);var{deleteCookie:yAe,getCookies:CAe,getSetCookies:IAe,setCookie:BAe}=_2();Z.exports.deleteCookie=yAe;Z.exports.getCookies=CAe;Z.exports.getSetCookies=IAe;Z.exports.setCookie=BAe;var{parseMIMEType:wAe,serializeAMimeType:bAe}=Ir();Z.exports.parseMIMEType=wAe;Z.exports.serializeAMimeType=bAe;var{CloseEvent:QAe,ErrorEvent:xAe,MessageEvent:NAe}=vl();Z.exports.WebSocket=Rq().WebSocket;Z.exports.CloseEvent=QAe;Z.exports.ErrorEvent=xAe;Z.exports.MessageEvent=NAe;Z.exports.request=Id(Fl.request);Z.exports.stream=Id(Fl.stream);Z.exports.pipeline=Id(Fl.pipeline);Z.exports.connect=Id(Fl.connect);Z.exports.upgrade=Id(Fl.upgrade);Z.exports.MockClient=iAe;Z.exports.MockPool=aAe;Z.exports.MockAgent=oAe;Z.exports.mockErrors=cAe;var{EventSource:SAe}=Uq();Z.exports.EventSource=SAe});var Rd=g((v2e,BG)=>{"use strict";var WAe="2.0.0",jAe=Number.MAX_SAFE_INTEGER||9007199254740991,KAe=16,XAe=250,ZAe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];BG.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:KAe,MAX_SAFE_BUILD_LENGTH:XAe,MAX_SAFE_INTEGER:jAe,RELEASE_TYPES:ZAe,SEMVER_SPEC_VERSION:WAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Td=g((k2e,wG)=>{"use strict";var ede=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};wG.exports=ede});var Yl=g((Dn,bG)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:dx,MAX_SAFE_BUILD_LENGTH:tde,MAX_LENGTH:rde}=Rd(),sde=Td();Dn=bG.exports={};var nde=Dn.re=[],ide=Dn.safeRe=[],D=Dn.src=[],ode=Dn.safeSrc=[],_=Dn.t={},ade=0,px="[a-zA-Z0-9-]",cde=[["\\s",1],["\\d",rde],[px,tde]],lde=o(t=>{for(let[e,r]of cde)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),se=o((t,e,r)=>{let s=lde(e),n=ade++;sde(t,n,e),_[t]=n,D[n]=e,ode[n]=s,nde[n]=new RegExp(e,r?"g":void 0),ide[n]=new RegExp(s,r?"g":void 0)},"createToken");se("NUMERICIDENTIFIER","0|[1-9]\\d*");se("NUMERICIDENTIFIERLOOSE","\\d+");se("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${px}*`);se("MAINVERSION",`(${D[_.NUMERICIDENTIFIER]})\\.(${D[_.NUMERICIDENTIFIER]})\\.(${D[_.NUMERICIDENTIFIER]})`);se("MAINVERSIONLOOSE",`(${D[_.NUMERICIDENTIFIERLOOSE]})\\.(${D[_.NUMERICIDENTIFIERLOOSE]})\\.(${D[_.NUMERICIDENTIFIERLOOSE]})`);se("PRERELEASEIDENTIFIER",`(?:${D[_.NONNUMERICIDENTIFIER]}|${D[_.NUMERICIDENTIFIER]})`);se("PRERELEASEIDENTIFIERLOOSE",`(?:${D[_.NONNUMERICIDENTIFIER]}|${D[_.NUMERICIDENTIFIERLOOSE]})`);se("PRERELEASE",`(?:-(${D[_.PRERELEASEIDENTIFIER]}(?:\\.${D[_.PRERELEASEIDENTIFIER]})*))`);se("PRERELEASELOOSE",`(?:-?(${D[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${D[_.PRERELEASEIDENTIFIERLOOSE]})*))`);se("BUILDIDENTIFIER",`${px}+`);se("BUILD",`(?:\\+(${D[_.BUILDIDENTIFIER]}(?:\\.${D[_.BUILDIDENTIFIER]})*))`);se("FULLPLAIN",`v?${D[_.MAINVERSION]}${D[_.PRERELEASE]}?${D[_.BUILD]}?`);se("FULL",`^${D[_.FULLPLAIN]}$`);se("LOOSEPLAIN",`[v=\\s]*${D[_.MAINVERSIONLOOSE]}${D[_.PRERELEASELOOSE]}?${D[_.BUILD]}?`);se("LOOSE",`^${D[_.LOOSEPLAIN]}$`);se("GTLT","((?:<|>)?=?)");se("XRANGEIDENTIFIERLOOSE",`${D[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);se("XRANGEIDENTIFIER",`${D[_.NUMERICIDENTIFIER]}|x|X|\\*`);se("XRANGEPLAIN",`[v=\\s]*(${D[_.XRANGEIDENTIFIER]})(?:\\.(${D[_.XRANGEIDENTIFIER]})(?:\\.(${D[_.XRANGEIDENTIFIER]})(?:${D[_.PRERELEASE]})?${D[_.BUILD]}?)?)?`);se("XRANGEPLAINLOOSE",`[v=\\s]*(${D[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[_.XRANGEIDENTIFIERLOOSE]})(?:${D[_.PRERELEASELOOSE]})?${D[_.BUILD]}?)?)?`);se("XRANGE",`^${D[_.GTLT]}\\s*${D[_.XRANGEPLAIN]}$`);se("XRANGELOOSE",`^${D[_.GTLT]}\\s*${D[_.XRANGEPLAINLOOSE]}$`);se("COERCEPLAIN",`(^|[^\\d])(\\d{1,${dx}})(?:\\.(\\d{1,${dx}}))?(?:\\.(\\d{1,${dx}}))?`);se("COERCE",`${D[_.COERCEPLAIN]}(?:$|[^\\d])`);se("COERCEFULL",D[_.COERCEPLAIN]+`(?:${D[_.PRERELEASE]})?(?:${D[_.BUILD]})?(?:$|[^\\d])`);se("COERCERTL",D[_.COERCE],!0);se("COERCERTLFULL",D[_.COERCEFULL],!0);se("LONETILDE","(?:~>?)");se("TILDETRIM",`(\\s*)${D[_.LONETILDE]}\\s+`,!0);Dn.tildeTrimReplace="$1~";se("TILDE",`^${D[_.LONETILDE]}${D[_.XRANGEPLAIN]}$`);se("TILDELOOSE",`^${D[_.LONETILDE]}${D[_.XRANGEPLAINLOOSE]}$`);se("LONECARET","(?:\\^)");se("CARETTRIM",`(\\s*)${D[_.LONECARET]}\\s+`,!0);Dn.caretTrimReplace="$1^";se("CARET",`^${D[_.LONECARET]}${D[_.XRANGEPLAIN]}$`);se("CARETLOOSE",`^${D[_.LONECARET]}${D[_.XRANGEPLAINLOOSE]}$`);se("COMPARATORLOOSE",`^${D[_.GTLT]}\\s*(${D[_.LOOSEPLAIN]})$|^$`);se("COMPARATOR",`^${D[_.GTLT]}\\s*(${D[_.FULLPLAIN]})$|^$`);se("COMPARATORTRIM",`(\\s*)${D[_.GTLT]}\\s*(${D[_.LOOSEPLAIN]}|${D[_.XRANGEPLAIN]})`,!0);Dn.comparatorTrimReplace="$1$2$3";se("HYPHENRANGE",`^\\s*(${D[_.XRANGEPLAIN]})\\s+-\\s+(${D[_.XRANGEPLAIN]})\\s*$`);se("HYPHENRANGELOOSE",`^\\s*(${D[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${D[_.XRANGEPLAINLOOSE]})\\s*$`);se("STAR","(<|>)?=?\\s*\\*");se("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");se("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var jf=g((_2e,QG)=>{"use strict";var ude=Object.freeze({loose:!0}),Ade=Object.freeze({}),dde=o(t=>t?typeof t!="object"?ude:t:Ade,"parseOptions");QG.exports=dde});var mx=g((M2e,SG)=>{"use strict";var xG=/^[0-9]+$/,NG=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tNG(e,t),"rcompareIdentifiers");SG.exports={compareIdentifiers:NG,rcompareIdentifiers:pde}});var Xt=g((F2e,TG)=>{"use strict";var Kf=Td(),{MAX_LENGTH:RG,MAX_SAFE_INTEGER:Xf}=Rd(),{safeRe:Zf,t:eg}=Yl(),mde=jf(),{compareIdentifiers:hx}=mx(),fx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=mde(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>RG)throw new TypeError(`version is longer than ${RG} characters`);Kf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Zf[eg.LOOSE]:Zf[eg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Xf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Xf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Xf||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(Kf("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return hx(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(Kf("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return hx(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?Zf[eg.PRERELEASELOOSE]:Zf[eg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),hx(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};TG.exports=fx});var Va=g((q2e,vG)=>{"use strict";var PG=Xt(),hde=o((t,e,r=!1)=>{if(t instanceof PG)return t;try{return new PG(t,e)}catch(s){if(!r)return null;throw s}},"parse");vG.exports=hde});var DG=g((H2e,kG)=>{"use strict";var fde=Va(),gde=o((t,e)=>{let r=fde(t,e);return r?r.version:null},"valid");kG.exports=gde});var LG=g((V2e,_G)=>{"use strict";var Ede=Va(),yde=o((t,e)=>{let r=Ede(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");_G.exports=yde});var FG=g((Y2e,OG)=>{"use strict";var MG=Xt(),Cde=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new MG(t instanceof MG?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");OG.exports=Cde});var GG=g((W2e,qG)=>{"use strict";var UG=Va(),Ide=o((t,e)=>{let r=UG(t,null,!0),s=UG(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");qG.exports=Ide});var zG=g((K2e,HG)=>{"use strict";var Bde=Xt(),wde=o((t,e)=>new Bde(t,e).major,"major");HG.exports=wde});var $G=g((Z2e,VG)=>{"use strict";var bde=Xt(),Qde=o((t,e)=>new bde(t,e).minor,"minor");VG.exports=Qde});var JG=g((tqe,YG)=>{"use strict";var xde=Xt(),Nde=o((t,e)=>new xde(t,e).patch,"patch");YG.exports=Nde});var jG=g((sqe,WG)=>{"use strict";var Sde=Va(),Rde=o((t,e)=>{let r=Sde(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");WG.exports=Rde});var Is=g((iqe,XG)=>{"use strict";var KG=Xt(),Tde=o((t,e,r)=>new KG(t,r).compare(new KG(e,r)),"compare");XG.exports=Tde});var eH=g((aqe,ZG)=>{"use strict";var Pde=Is(),vde=o((t,e,r)=>Pde(e,t,r),"rcompare");ZG.exports=vde});var rH=g((lqe,tH)=>{"use strict";var kde=Is(),Dde=o((t,e)=>kde(t,e,!0),"compareLoose");tH.exports=Dde});var tg=g((Aqe,nH)=>{"use strict";var sH=Xt(),_de=o((t,e,r)=>{let s=new sH(t,r),n=new sH(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");nH.exports=_de});var oH=g((pqe,iH)=>{"use strict";var Lde=tg(),Mde=o((t,e)=>t.sort((r,s)=>Lde(r,s,e)),"sort");iH.exports=Mde});var cH=g((hqe,aH)=>{"use strict";var Ode=tg(),Fde=o((t,e)=>t.sort((r,s)=>Ode(s,r,e)),"rsort");aH.exports=Fde});var Pd=g((gqe,lH)=>{"use strict";var Ude=Is(),qde=o((t,e,r)=>Ude(t,e,r)>0,"gt");lH.exports=qde});var rg=g((yqe,uH)=>{"use strict";var Gde=Is(),Hde=o((t,e,r)=>Gde(t,e,r)<0,"lt");uH.exports=Hde});var gx=g((Iqe,AH)=>{"use strict";var zde=Is(),Vde=o((t,e,r)=>zde(t,e,r)===0,"eq");AH.exports=Vde});var Ex=g((wqe,dH)=>{"use strict";var $de=Is(),Yde=o((t,e,r)=>$de(t,e,r)!==0,"neq");dH.exports=Yde});var sg=g((Qqe,pH)=>{"use strict";var Jde=Is(),Wde=o((t,e,r)=>Jde(t,e,r)>=0,"gte");pH.exports=Wde});var ng=g((Nqe,mH)=>{"use strict";var jde=Is(),Kde=o((t,e,r)=>jde(t,e,r)<=0,"lte");mH.exports=Kde});var yx=g((Rqe,hH)=>{"use strict";var Xde=gx(),Zde=Ex(),epe=Pd(),tpe=sg(),rpe=rg(),spe=ng(),npe=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return Xde(t,r,s);case"!=":return Zde(t,r,s);case">":return epe(t,r,s);case">=":return tpe(t,r,s);case"<":return rpe(t,r,s);case"<=":return spe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");hH.exports=npe});var gH=g((Pqe,fH)=>{"use strict";var ipe=Xt(),ope=Va(),{safeRe:ig,t:og}=Yl(),ape=o((t,e)=>{if(t instanceof ipe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?ig[og.COERCEFULL]:ig[og.COERCE]);else{let l=e.includePrerelease?ig[og.COERCERTLFULL]:ig[og.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return ope(`${s}.${n}.${i}${a}${c}`,e)},"coerce");fH.exports=ape});var yH=g((kqe,EH)=>{"use strict";var Cx=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};EH.exports=Cx});var Bs=g((_qe,wH)=>{"use strict";var cpe=/\s+/g,Ix=class t{static{o(this,"Range")}constructor(e,r){if(r=upe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Bx)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(cpe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!IH(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&gpe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&hpe)|(this.options.loose&&fpe))+":"+e,n=CH.get(s);if(n)return n;let i=this.options.loose,a=i?cr[Zt.HYPHENRANGELOOSE]:cr[Zt.HYPHENRANGE];e=e.replace(a,Npe(this.options.includePrerelease)),Oe("hyphen replace",e),e=e.replace(cr[Zt.COMPARATORTRIM],dpe),Oe("comparator trim",e),e=e.replace(cr[Zt.TILDETRIM],ppe),Oe("tilde trim",e),e=e.replace(cr[Zt.CARETTRIM],mpe),Oe("caret trim",e);let c=e.split(" ").map(d=>Epe(d,this.options)).join(" ").split(/\s+/).map(d=>xpe(d,this.options));i&&(c=c.filter(d=>(Oe("loose invalid filter",d,this.options),!!d.match(cr[Zt.COMPARATORLOOSE])))),Oe("range list",c);let l=new Map,u=c.map(d=>new Bx(d,this.options));for(let d of u){if(IH(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return CH.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>BH(s,r)&&e.set.some(n=>BH(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Ape(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),gpe=o(t=>t.value==="","isAny"),BH=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),Epe=o((t,e)=>(t=t.replace(cr[Zt.BUILD],""),Oe("comp",t,e),t=Ipe(t,e),Oe("caret",t),t=ype(t,e),Oe("tildes",t),t=wpe(t,e),Oe("xrange",t),t=Qpe(t,e),Oe("stars",t),t),"parseComparator"),lr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),ype=o((t,e)=>t.trim().split(/\s+/).map(r=>Cpe(r,e)).join(" "),"replaceTildes"),Cpe=o((t,e)=>{let r=e.loose?cr[Zt.TILDELOOSE]:cr[Zt.TILDE];return t.replace(r,(s,n,i,a,c)=>{Oe("tilde",t,s,n,i,a,c);let l;return lr(n)?l="":lr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:lr(a)?l=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:c?(Oe("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,Oe("tilde return",l),l})},"replaceTilde"),Ipe=o((t,e)=>t.trim().split(/\s+/).map(r=>Bpe(r,e)).join(" "),"replaceCarets"),Bpe=o((t,e)=>{Oe("caret",t,e);let r=e.loose?cr[Zt.CARETLOOSE]:cr[Zt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Oe("caret",t,n,i,a,c,l);let u;return lr(i)?u="":lr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:lr(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Oe("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Oe("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c}${s} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Oe("caret return",u),u})},"replaceCaret"),wpe=o((t,e)=>(Oe("replaceXRanges",t,e),t.split(/\s+/).map(r=>bpe(r,e)).join(" ")),"replaceXRanges"),bpe=o((t,e)=>{t=t.trim();let r=e.loose?cr[Zt.XRANGELOOSE]:cr[Zt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{Oe("xRange",t,s,n,i,a,c,l);let u=lr(i),A=u||lr(a),d=A||lr(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Oe("xRange return",s),s})},"replaceXRange"),Qpe=o((t,e)=>(Oe("replaceStars",t,e),t.trim().replace(cr[Zt.STAR],"")),"replaceStars"),xpe=o((t,e)=>(Oe("replaceGTE0",t,e),t.trim().replace(cr[e.includePrerelease?Zt.GTE0PRE:Zt.GTE0],"")),"replaceGTE0"),Npe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(lr(s)?r="":lr(n)?r=`>=${s}.0.0${t?"-0":""}`:lr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,lr(u)?l="":lr(A)?l=`<${+u+1}.0.0-0`:lr(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),Spe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var vd=g((Mqe,RH)=>{"use strict";var kd=Symbol("SemVer ANY"),Qx=class t{static{o(this,"Comparator")}static get ANY(){return kd}constructor(e,r){if(r=bH(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),bx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===kd?this.value="":this.value=this.operator+this.semver.version,bx("comp",this)}parse(e){let r=this.options.loose?QH[xH.COMPARATORLOOSE]:QH[xH.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new NH(s[2],this.options.loose):this.semver=kd}toString(){return this.value}test(e){if(bx("Comparator.test",e,this.options.loose),this.semver===kd||e===kd)return!0;if(typeof e=="string")try{e=new NH(e,this.options)}catch{return!1}return wx(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new SH(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new SH(this.value,r).test(e.semver):(r=bH(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||wx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||wx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};RH.exports=Qx;var bH=jf(),{safeRe:QH,t:xH}=Yl(),wx=yx(),bx=Td(),NH=Xt(),SH=Bs()});var Dd=g((Fqe,TH)=>{"use strict";var Rpe=Bs(),Tpe=o((t,e,r)=>{try{e=new Rpe(e,r)}catch{return!1}return e.test(t)},"satisfies");TH.exports=Tpe});var vH=g((qqe,PH)=>{"use strict";var Ppe=Bs(),vpe=o((t,e)=>new Ppe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");PH.exports=vpe});var DH=g((Hqe,kH)=>{"use strict";var kpe=Xt(),Dpe=Bs(),_pe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Dpe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new kpe(s,r))}),s},"maxSatisfying");kH.exports=_pe});var LH=g((Vqe,_H)=>{"use strict";var Lpe=Xt(),Mpe=Bs(),Ope=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Mpe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Lpe(s,r))}),s},"minSatisfying");_H.exports=Ope});var FH=g((Yqe,OH)=>{"use strict";var xx=Xt(),Fpe=Bs(),MH=Pd(),Upe=o((t,e)=>{t=new Fpe(t,e);let r=new xx("0.0.0");if(t.test(r)||(r=new xx("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new xx(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||MH(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||MH(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");OH.exports=Upe});var qH=g((Wqe,UH)=>{"use strict";var qpe=Bs(),Gpe=o((t,e)=>{try{return new qpe(t,e).range||"*"}catch{return null}},"validRange");UH.exports=Gpe});var ag=g((Kqe,VH)=>{"use strict";var Hpe=Xt(),zH=vd(),{ANY:zpe}=zH,Vpe=Bs(),$pe=Dd(),GH=Pd(),HH=rg(),Ype=ng(),Jpe=sg(),Wpe=o((t,e,r,s)=>{t=new Hpe(t,s),e=new Vpe(e,s);let n,i,a,c,l;switch(r){case">":n=GH,i=Ype,a=HH,c=">",l=">=";break;case"<":n=HH,i=Jpe,a=GH,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if($pe(t,e,s))return!1;for(let u=0;u{m.semver===zpe&&(m=new zH(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");VH.exports=Wpe});var YH=g((Zqe,$H)=>{"use strict";var jpe=ag(),Kpe=o((t,e,r)=>jpe(t,e,">",r),"gtr");$H.exports=Kpe});var WH=g((tGe,JH)=>{"use strict";var Xpe=ag(),Zpe=o((t,e,r)=>Xpe(t,e,"<",r),"ltr");JH.exports=Zpe});var XH=g((sGe,KH)=>{"use strict";var jH=Bs(),eme=o((t,e,r)=>(t=new jH(t,r),e=new jH(e,r),t.intersects(e,r)),"intersects");KH.exports=eme});var ez=g((iGe,ZH)=>{"use strict";var tme=Dd(),rme=Is();ZH.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>rme(A,d,r));for(let A of a)tme(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var tz=Bs(),Sx=vd(),{ANY:Nx}=Sx,_d=Dd(),Rx=Is(),sme=o((t,e,r={})=>{if(t===e)return!0;t=new tz(t,r),e=new tz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=ime(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),nme=[new Sx(">=0.0.0-0")],rz=[new Sx(">=0.0.0")],ime=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Nx){if(e.length===1&&e[0].semver===Nx)return!0;r.includePrerelease?t=nme:t=rz}if(e.length===1&&e[0].semver===Nx){if(r.includePrerelease)return!0;e=rz}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=sz(n,m,r):m.operator==="<"||m.operator==="<="?i=nz(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=Rx(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!_d(m,String(n),r)||i&&!_d(m,String(i),r))return null;for(let h of e)if(!_d(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=sz(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!_d(n.semver,String(m),r))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=nz(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!_d(i.semver,String(m),r))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),sz=o((t,e,r)=>{if(!t)return e;let s=Rx(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),nz=o((t,e,r)=>{if(!t)return e;let s=Rx(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");iz.exports=sme});var Px=g((cGe,lz)=>{"use strict";var Tx=Yl(),az=Rd(),ome=Xt(),cz=mx(),ame=Va(),cme=DG(),lme=LG(),ume=FG(),Ame=GG(),dme=zG(),pme=$G(),mme=JG(),hme=jG(),fme=Is(),gme=eH(),Eme=rH(),yme=tg(),Cme=oH(),Ime=cH(),Bme=Pd(),wme=rg(),bme=gx(),Qme=Ex(),xme=sg(),Nme=ng(),Sme=yx(),Rme=gH(),Tme=vd(),Pme=Bs(),vme=Dd(),kme=vH(),Dme=DH(),_me=LH(),Lme=FH(),Mme=qH(),Ome=ag(),Fme=YH(),Ume=WH(),qme=XH(),Gme=ez(),Hme=oz();lz.exports={parse:ame,valid:cme,clean:lme,inc:ume,diff:Ame,major:dme,minor:pme,patch:mme,prerelease:hme,compare:fme,rcompare:gme,compareLoose:Eme,compareBuild:yme,sort:Cme,rsort:Ime,gt:Bme,lt:wme,eq:bme,neq:Qme,gte:xme,lte:Nme,cmp:Sme,coerce:Rme,Comparator:Tme,Range:Pme,satisfies:vme,toComparators:kme,maxSatisfying:Dme,minSatisfying:_me,minVersion:Lme,validRange:Mme,outside:Ome,gtr:Fme,ltr:Ume,intersects:qme,simplifyRange:Gme,subset:Hme,SemVer:ome,re:Tx.re,src:Tx.src,tokens:Tx.t,SEMVER_SPEC_VERSION:az.SEMVER_SPEC_VERSION,RELEASE_TYPES:az.RELEASE_TYPES,compareIdentifiers:cz.compareIdentifiers,rcompareIdentifiers:cz.rcompareIdentifiers}});var Xl=g((lze,zz)=>{"use strict";var Cfe="2.0.0",Ife=Number.MAX_SAFE_INTEGER||9007199254740991,Bfe=16,wfe=250,bfe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];zz.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Bfe,MAX_SAFE_BUILD_LENGTH:wfe,MAX_SAFE_INTEGER:Ife,RELEASE_TYPES:bfe,SEMVER_SPEC_VERSION:Cfe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Vd=g((uze,Vz)=>{"use strict";var Qfe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Vz.exports=Qfe});var Zl=g((_n,$z)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Wx,MAX_SAFE_BUILD_LENGTH:xfe,MAX_LENGTH:Nfe}=Xl(),Sfe=Vd();_n=$z.exports={};var Rfe=_n.re=[],Tfe=_n.safeRe=[],L=_n.src=[],Pfe=_n.safeSrc=[],M=_n.t={},vfe=0,jx="[a-zA-Z0-9-]",kfe=[["\\s",1],["\\d",Nfe],[jx,xfe]],Dfe=o(t=>{for(let[e,r]of kfe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ne=o((t,e,r)=>{let s=Dfe(e),n=vfe++;Sfe(t,n,e),M[t]=n,L[n]=e,Pfe[n]=s,Rfe[n]=new RegExp(e,r?"g":void 0),Tfe[n]=new RegExp(s,r?"g":void 0)},"createToken");ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${jx}*`);ne("MAINVERSION",`(${L[M.NUMERICIDENTIFIER]})\\.(${L[M.NUMERICIDENTIFIER]})\\.(${L[M.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${L[M.NUMERICIDENTIFIERLOOSE]})\\.(${L[M.NUMERICIDENTIFIERLOOSE]})\\.(${L[M.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${L[M.NONNUMERICIDENTIFIER]}|${L[M.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${L[M.NONNUMERICIDENTIFIER]}|${L[M.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${L[M.PRERELEASEIDENTIFIER]}(?:\\.${L[M.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${L[M.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[M.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${jx}+`);ne("BUILD",`(?:\\+(${L[M.BUILDIDENTIFIER]}(?:\\.${L[M.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${L[M.MAINVERSION]}${L[M.PRERELEASE]}?${L[M.BUILD]}?`);ne("FULL",`^${L[M.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${L[M.MAINVERSIONLOOSE]}${L[M.PRERELEASELOOSE]}?${L[M.BUILD]}?`);ne("LOOSE",`^${L[M.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${L[M.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${L[M.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${L[M.XRANGEIDENTIFIER]})(?:\\.(${L[M.XRANGEIDENTIFIER]})(?:\\.(${L[M.XRANGEIDENTIFIER]})(?:${L[M.PRERELEASE]})?${L[M.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${L[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[M.XRANGEIDENTIFIERLOOSE]})(?:${L[M.PRERELEASELOOSE]})?${L[M.BUILD]}?)?)?`);ne("XRANGE",`^${L[M.GTLT]}\\s*${L[M.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${L[M.GTLT]}\\s*${L[M.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Wx}})(?:\\.(\\d{1,${Wx}}))?(?:\\.(\\d{1,${Wx}}))?`);ne("COERCE",`${L[M.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",L[M.COERCEPLAIN]+`(?:${L[M.PRERELEASE]})?(?:${L[M.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",L[M.COERCE],!0);ne("COERCERTLFULL",L[M.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${L[M.LONETILDE]}\\s+`,!0);_n.tildeTrimReplace="$1~";ne("TILDE",`^${L[M.LONETILDE]}${L[M.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${L[M.LONETILDE]}${L[M.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${L[M.LONECARET]}\\s+`,!0);_n.caretTrimReplace="$1^";ne("CARET",`^${L[M.LONECARET]}${L[M.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${L[M.LONECARET]}${L[M.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${L[M.GTLT]}\\s*(${L[M.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${L[M.GTLT]}\\s*(${L[M.FULLPLAIN]})$|^$`);ne("COMPARATORTRIM",`(\\s*)${L[M.GTLT]}\\s*(${L[M.LOOSEPLAIN]}|${L[M.XRANGEPLAIN]})`,!0);_n.comparatorTrimReplace="$1$2$3";ne("HYPHENRANGE",`^\\s*(${L[M.XRANGEPLAIN]})\\s+-\\s+(${L[M.XRANGEPLAIN]})\\s*$`);ne("HYPHENRANGELOOSE",`^\\s*(${L[M.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[M.XRANGEPLAINLOOSE]})\\s*$`);ne("STAR","(<|>)?=?\\s*\\*");ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var mg=g((dze,Yz)=>{"use strict";var _fe=Object.freeze({loose:!0}),Lfe=Object.freeze({}),Mfe=o(t=>t?typeof t!="object"?_fe:t:Lfe,"parseOptions");Yz.exports=Mfe});var Kx=g((mze,jz)=>{"use strict";var Jz=/^[0-9]+$/,Wz=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tWz(e,t),"rcompareIdentifiers");jz.exports={compareIdentifiers:Wz,rcompareIdentifiers:Ofe}});var Ht=g((fze,Xz)=>{"use strict";var hg=Vd(),{MAX_LENGTH:Kz,MAX_SAFE_INTEGER:fg}=Xl(),{safeRe:gg,t:Eg}=Zl(),Ffe=mg(),{compareIdentifiers:Xx}=Kx(),Ufe=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sKz)throw new TypeError(`version is longer than ${Kz} characters`);hg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?gg[Eg.LOOSE]:gg[Eg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>fg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>fg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>fg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(hg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Xx(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(hg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Xx(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?gg[Eg.PRERELEASELOOSE]:gg[Eg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];if(s===!1&&(i=[r]),Ufe(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Xz.exports=Zx});var qo=g((Eze,eV)=>{"use strict";var Zz=Ht(),qfe=o((t,e,r=!1)=>{if(t instanceof Zz)return t;try{return new Zz(t,e)}catch(s){if(!r)return null;throw s}},"parse");eV.exports=qfe});var rV=g((Cze,tV)=>{"use strict";var Gfe=qo(),Hfe=o((t,e)=>{let r=Gfe(t,e);return r?r.version:null},"valid");tV.exports=Hfe});var nV=g((Bze,sV)=>{"use strict";var zfe=qo(),Vfe=o((t,e)=>{let r=zfe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");sV.exports=Vfe});var aV=g((bze,oV)=>{"use strict";var iV=Ht(),$fe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new iV(t instanceof iV?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");oV.exports=$fe});var uV=g((xze,lV)=>{"use strict";var cV=qo(),Yfe=o((t,e)=>{let r=cV(t,null,!0),s=cV(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");lV.exports=Yfe});var dV=g((Sze,AV)=>{"use strict";var Jfe=Ht(),Wfe=o((t,e)=>new Jfe(t,e).major,"major");AV.exports=Wfe});var mV=g((Tze,pV)=>{"use strict";var jfe=Ht(),Kfe=o((t,e)=>new jfe(t,e).minor,"minor");pV.exports=Kfe});var fV=g((vze,hV)=>{"use strict";var Xfe=Ht(),Zfe=o((t,e)=>new Xfe(t,e).patch,"patch");hV.exports=Zfe});var EV=g((Dze,gV)=>{"use strict";var ege=qo(),tge=o((t,e)=>{let r=ege(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");gV.exports=tge});var xs=g((Lze,CV)=>{"use strict";var yV=Ht(),rge=o((t,e,r)=>new yV(t,r).compare(new yV(e,r)),"compare");CV.exports=rge});var BV=g((Oze,IV)=>{"use strict";var sge=xs(),nge=o((t,e,r)=>sge(e,t,r),"rcompare");IV.exports=nge});var bV=g((Uze,wV)=>{"use strict";var ige=xs(),oge=o((t,e)=>ige(t,e,!0),"compareLoose");wV.exports=oge});var yg=g((Gze,xV)=>{"use strict";var QV=Ht(),age=o((t,e,r)=>{let s=new QV(t,r),n=new QV(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");xV.exports=age});var SV=g((zze,NV)=>{"use strict";var cge=yg(),lge=o((t,e)=>t.sort((r,s)=>cge(r,s,e)),"sort");NV.exports=lge});var TV=g(($ze,RV)=>{"use strict";var uge=yg(),Age=o((t,e)=>t.sort((r,s)=>uge(s,r,e)),"rsort");RV.exports=Age});var $d=g((Jze,PV)=>{"use strict";var dge=xs(),pge=o((t,e,r)=>dge(t,e,r)>0,"gt");PV.exports=pge});var Cg=g((jze,vV)=>{"use strict";var mge=xs(),hge=o((t,e,r)=>mge(t,e,r)<0,"lt");vV.exports=hge});var e0=g((Xze,kV)=>{"use strict";var fge=xs(),gge=o((t,e,r)=>fge(t,e,r)===0,"eq");kV.exports=gge});var t0=g((eVe,DV)=>{"use strict";var Ege=xs(),yge=o((t,e,r)=>Ege(t,e,r)!==0,"neq");DV.exports=yge});var Ig=g((rVe,_V)=>{"use strict";var Cge=xs(),Ige=o((t,e,r)=>Cge(t,e,r)>=0,"gte");_V.exports=Ige});var Bg=g((nVe,LV)=>{"use strict";var Bge=xs(),wge=o((t,e,r)=>Bge(t,e,r)<=0,"lte");LV.exports=wge});var r0=g((oVe,MV)=>{"use strict";var bge=e0(),Qge=t0(),xge=$d(),Nge=Ig(),Sge=Cg(),Rge=Bg(),Tge=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return bge(t,r,s);case"!=":return Qge(t,r,s);case">":return xge(t,r,s);case">=":return Nge(t,r,s);case"<":return Sge(t,r,s);case"<=":return Rge(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");MV.exports=Tge});var FV=g((cVe,OV)=>{"use strict";var Pge=Ht(),vge=qo(),{safeRe:wg,t:bg}=Zl(),kge=o((t,e)=>{if(t instanceof Pge)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?wg[bg.COERCEFULL]:wg[bg.COERCE]);else{let l=e.includePrerelease?wg[bg.COERCERTLFULL]:wg[bg.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return vge(`${s}.${n}.${i}${a}${c}`,e)},"coerce");OV.exports=kge});var qV=g((uVe,UV)=>{"use strict";var Dge=qo(),_ge=Xl(),Lge=Ht(),Mge=o((t,e,r)=>{if(!_ge.RELEASE_TYPES.includes(e))return null;let s=Oge(t,r);return s&&Fge(s,e)},"truncate"),Oge=o((t,e)=>{let r=t instanceof Lge?t.version:t;return Dge(r,e)},"cloneInputVersion"),Fge=o((t,e)=>{if(Uge(e))return t.version;switch(t.prerelease=[],e){case"major":t.minor=0,t.patch=0;break;case"minor":t.patch=0;break}return t.format()},"doTruncation"),Uge=o(t=>t.startsWith("pre"),"isPrerelease");UV.exports=Mge});var HV=g((dVe,GV)=>{"use strict";var s0=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};GV.exports=s0});var Ns=g((mVe,YV)=>{"use strict";var qge=/\s+/g,n0=class t{static{o(this,"Range")}constructor(e,r){if(r=Hge(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof i0)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(qge," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!VV(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&Xge(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(Kge,"");let s=((this.options.includePrerelease&&Wge)|(this.options.loose&&jge))+":"+e,n=zV.get(s);if(n)return n;let i=this.options.loose,a=i?Ar[zt.HYPHENRANGELOOSE]:Ar[zt.HYPHENRANGE];e=e.replace(a,lEe(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(Ar[zt.COMPARATORTRIM],$ge),Fe("comparator trim",e),e=e.replace(Ar[zt.TILDETRIM],Yge),Fe("tilde trim",e),e=e.replace(Ar[zt.CARETTRIM],Jge),Fe("caret trim",e);let c=e.split(" ").map(d=>Zge(d,this.options)).join(" ").split(/\s+/).map(d=>cEe(d,this.options));i&&(c=c.filter(d=>(Fe("loose invalid filter",d,this.options),!!d.match(Ar[zt.COMPARATORLOOSE])))),Fe("range list",c);let l=new Map,u=c.map(d=>new i0(d,this.options));for(let d of u){if(VV(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return zV.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>$V(s,r)&&e.set.some(n=>$V(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new zge(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Xge=o(t=>t.value==="","isAny"),$V=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),Zge=o((t,e)=>(t=t.replace(Ar[zt.BUILD],""),Fe("comp",t,e),t=sEe(t,e),Fe("caret",t),t=tEe(t,e),Fe("tildes",t),t=iEe(t,e),Fe("xrange",t),t=aEe(t,e),Fe("stars",t),t),"parseComparator"),Qt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),eEe=o((t,e,r)=>Qt(t)&&!Qt(e)||Qt(e)&&r&&!Qt(r),"invalidXRangeOrder"),tEe=o((t,e)=>t.trim().split(/\s+/).map(r=>rEe(r,e)).join(" "),"replaceTildes"),rEe=o((t,e)=>{let r=e.loose?Ar[zt.TILDELOOSE]:Ar[zt.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Fe("tilde",t,n,i,a,c,l);let u;return Qt(i)?u="":Qt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Qt(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?(Fe("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,Fe("tilde return",u),u})},"replaceTilde"),sEe=o((t,e)=>t.trim().split(/\s+/).map(r=>nEe(r,e)).join(" "),"replaceCarets"),nEe=o((t,e)=>{Fe("caret",t,e);let r=e.loose?Ar[zt.CARETLOOSE]:Ar[zt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Fe("caret",t,n,i,a,c,l);let u;return Qt(i)?u="":Qt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Qt(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Fe("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Fe("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Fe("caret return",u),u})},"replaceCaret"),iEe=o((t,e)=>(Fe("replaceXRanges",t,e),t.split(/\s+/).map(r=>oEe(r,e)).join(" ")),"replaceXRanges"),oEe=o((t,e)=>{t=t.trim();let r=e.loose?Ar[zt.XRANGELOOSE]:Ar[zt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if(Fe("xRange",t,s,n,i,a,c,l),eEe(i,a,c))return t;let u=Qt(i),A=u||Qt(a),d=A||Qt(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Fe("xRange return",s),s})},"replaceXRange"),aEe=o((t,e)=>(Fe("replaceStars",t,e),t.trim().replace(Ar[zt.STAR],"")),"replaceStars"),cEe=o((t,e)=>(Fe("replaceGTE0",t,e),t.trim().replace(Ar[e.includePrerelease?zt.GTE0PRE:zt.GTE0],"")),"replaceGTE0"),lEe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(Qt(s)?r="":Qt(n)?r=`>=${s}.0.0${t?"-0":""}`:Qt(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Qt(u)?l="":Qt(A)?l=`<${+u+1}.0.0-0`:Qt(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),uEe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Yd=g((fVe,ZV)=>{"use strict";var Jd=Symbol("SemVer ANY"),c0=class t{static{o(this,"Comparator")}static get ANY(){return Jd}constructor(e,r){if(r=JV(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),a0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Jd?this.value="":this.value=this.operator+this.semver.version,a0("comp",this)}parse(e){let r=this.options.loose?WV[jV.COMPARATORLOOSE]:WV[jV.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new KV(s[2],this.options.loose):this.semver=Jd}toString(){return this.value}test(e){if(a0("Comparator.test",e,this.options.loose),this.semver===Jd||e===Jd)return!0;if(typeof e=="string")try{e=new KV(e,this.options)}catch{return!1}return o0(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new XV(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new XV(this.value,r).test(e.semver):(r=JV(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||o0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||o0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};ZV.exports=c0;var JV=mg(),{safeRe:WV,t:jV}=Zl(),o0=r0(),a0=Vd(),KV=Ht(),XV=Ns()});var Wd=g((EVe,e$)=>{"use strict";var AEe=Ns(),dEe=o((t,e,r)=>{try{e=new AEe(e,r)}catch{return!1}return e.test(t)},"satisfies");e$.exports=dEe});var r$=g((CVe,t$)=>{"use strict";var pEe=Ns(),mEe=o((t,e)=>new pEe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");t$.exports=mEe});var n$=g((BVe,s$)=>{"use strict";var hEe=Ht(),fEe=Ns(),gEe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new fEe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new hEe(s,r))}),s},"maxSatisfying");s$.exports=gEe});var o$=g((bVe,i$)=>{"use strict";var EEe=Ht(),yEe=Ns(),CEe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new yEe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new EEe(s,r))}),s},"minSatisfying");i$.exports=CEe});var l$=g((xVe,c$)=>{"use strict";var l0=Ht(),IEe=Ns(),a$=$d(),BEe=o((t,e)=>{t=new IEe(t,e);let r=new l0("0.0.0");if(t.test(r)||(r=new l0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new l0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||a$(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||a$(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");c$.exports=BEe});var A$=g((SVe,u$)=>{"use strict";var wEe=Ns(),bEe=o((t,e)=>{try{return new wEe(t,e).range||"*"}catch{return null}},"validRange");u$.exports=bEe});var Qg=g((TVe,h$)=>{"use strict";var QEe=Ht(),m$=Yd(),{ANY:xEe}=m$,NEe=Ns(),SEe=Wd(),d$=$d(),p$=Cg(),REe=Bg(),TEe=Ig(),PEe=o((t,e,r,s)=>{t=new QEe(t,s),e=new NEe(e,s);let n,i,a,c,l;switch(r){case">":n=d$,i=REe,a=p$,c=">",l=">=";break;case"<":n=p$,i=TEe,a=d$,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(SEe(t,e,s))return!1;for(let u=0;u{m.semver===xEe&&(m=new m$(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");h$.exports=PEe});var g$=g((vVe,f$)=>{"use strict";var vEe=Qg(),kEe=o((t,e,r)=>vEe(t,e,">",r),"gtr");f$.exports=kEe});var y$=g((DVe,E$)=>{"use strict";var DEe=Qg(),_Ee=o((t,e,r)=>DEe(t,e,"<",r),"ltr");E$.exports=_Ee});var B$=g((LVe,I$)=>{"use strict";var C$=Ns(),LEe=o((t,e,r)=>(t=new C$(t,r),e=new C$(e,r),t.intersects(e,r)),"intersects");I$.exports=LEe});var b$=g((OVe,w$)=>{"use strict";var MEe=Wd(),OEe=xs();w$.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>OEe(A,d,r));for(let A of a)MEe(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var Q$=Ns(),d0=Yd(),{ANY:u0}=d0,A0=Wd(),p0=xs(),FEe=o((t,e,r={})=>{if(t===e)return!0;t=new Q$(t,r),e=new Q$(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=qEe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),UEe=[new d0(">=0.0.0-0")],x$=[new d0(">=0.0.0")],qEe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===u0){if(e.length===1&&e[0].semver===u0)return!0;r.includePrerelease?t=UEe:t=x$}if(e.length===1&&e[0].semver===u0){if(r.includePrerelease)return!0;e=x$}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=N$(n,m,r):m.operator==="<"||m.operator==="<="?i=S$(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=p0(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!A0(m,String(n),r)||i&&!A0(m,String(i),r))return null;for(let h of e)if(!A0(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=N$(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!m.test(n.semver))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=S$(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!m.test(i.semver))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),N$=o((t,e,r)=>{if(!t)return e;let s=p0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),S$=o((t,e,r)=>{if(!t)return e;let s=p0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");R$.exports=FEe});var D$=g((qVe,k$)=>{"use strict";var m0=Zl(),P$=Xl(),GEe=Ht(),v$=Kx(),HEe=qo(),zEe=rV(),VEe=nV(),$Ee=aV(),YEe=uV(),JEe=dV(),WEe=mV(),jEe=fV(),KEe=EV(),XEe=xs(),ZEe=BV(),eye=bV(),tye=yg(),rye=SV(),sye=TV(),nye=$d(),iye=Cg(),oye=e0(),aye=t0(),cye=Ig(),lye=Bg(),uye=r0(),Aye=FV(),dye=qV(),pye=Yd(),mye=Ns(),hye=Wd(),fye=r$(),gye=n$(),Eye=o$(),yye=l$(),Cye=A$(),Iye=Qg(),Bye=g$(),wye=y$(),bye=B$(),Qye=b$(),xye=T$();k$.exports={parse:HEe,valid:zEe,clean:VEe,inc:$Ee,diff:YEe,major:JEe,minor:WEe,patch:jEe,prerelease:KEe,compare:XEe,rcompare:ZEe,compareLoose:eye,compareBuild:tye,sort:rye,rsort:sye,gt:nye,lt:iye,eq:oye,neq:aye,gte:cye,lte:lye,cmp:uye,coerce:Aye,truncate:dye,Comparator:pye,Range:mye,satisfies:hye,toComparators:fye,maxSatisfying:gye,minSatisfying:Eye,minVersion:yye,validRange:Cye,outside:Iye,gtr:Bye,ltr:wye,intersects:bye,simplifyRange:Qye,subset:xye,SemVer:GEe,re:m0.re,src:m0.src,tokens:m0.t,SEMVER_SPEC_VERSION:P$.SEMVER_SPEC_VERSION,RELEASE_TYPES:P$.RELEASE_TYPES,compareIdentifiers:v$.compareIdentifiers,rcompareIdentifiers:v$.rcompareIdentifiers}});var BY=g(($Ye,IY)=>{var ou=1e3,au=ou*60,cu=au*60,rc=cu*24,cCe=rc*7,lCe=rc*365.25;IY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return uCe(t);if(r==="number"&&isFinite(t))return e.long?dCe(t):ACe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function uCe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),s=(e[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return r*lCe;case"weeks":case"week":case"w":return r*cCe;case"days":case"day":case"d":return r*rc;case"hours":case"hour":case"hrs":case"hr":case"h":return r*cu;case"minutes":case"minute":case"mins":case"min":case"m":return r*au;case"seconds":case"second":case"secs":case"sec":case"s":return r*ou;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(uCe,"parse");function ACe(t){var e=Math.abs(t);return e>=rc?Math.round(t/rc)+"d":e>=cu?Math.round(t/cu)+"h":e>=au?Math.round(t/au)+"m":e>=ou?Math.round(t/ou)+"s":t+"ms"}o(ACe,"fmtShort");function dCe(t){var e=Math.abs(t);return e>=rc?Kg(t,e,rc,"day"):e>=cu?Kg(t,e,cu,"hour"):e>=au?Kg(t,e,au,"minute"):e>=ou?Kg(t,e,ou,"second"):t+" ms"}o(dCe,"fmtLong");function Kg(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}o(Kg,"plural")});var F0=g((JYe,wY)=>{function pCe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=n,r.enabled=a,r.humanize=BY(),r.destroy=u,Object.keys(t).forEach(A=>{r[A]=t[A]}),r.names=[],r.skips=[],r.formatters={};function e(A){let d=0;for(let p=0;p{if(S==="%%")return"%";B++;let Ie=r.formatters[U];if(typeof Ie=="function"){let je=C[B];S=Ie.call(E,je),C.splice(B,1),B--}return S}),r.formatArgs.call(E,C),(E.log||r.log).apply(E,C)}return o(f,"debug"),f.namespace=A,f.useColors=r.useColors(),f.color=r.selectColor(A),f.extend=s,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:o(()=>p!==null?p:(m!==r.namespaces&&(m=r.namespaces,h=r.enabled(A)),h),"get"),set:o(C=>{p=C},"set")}),typeof r.init=="function"&&r.init(f),f}o(r,"createDebug");function s(A,d){let p=r(this.namespace+(typeof d>"u"?":":d)+A);return p.log=this.log,p}o(s,"extend");function n(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let d,p=(typeof A=="string"?A:"").split(/[\s,]+/),m=p.length;for(d=0;d"-"+d)].join(",");return r.enable(""),A}o(i,"disable");function a(A){if(A[A.length-1]==="*")return!0;let d,p;for(d=0,p=r.skips.length;d{ss.formatArgs=hCe;ss.save=fCe;ss.load=gCe;ss.useColors=mCe;ss.storage=ECe();ss.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ss.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function mCe(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(mCe,"useColors");function hCe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Xg.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(s=r))}),t.splice(s,0,e)}o(hCe,"formatArgs");ss.log=console.debug||console.log||(()=>{});function fCe(t){try{t?ss.storage.setItem("debug",t):ss.storage.removeItem("debug")}catch{}}o(fCe,"save");function gCe(){let t;try{t=ss.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(gCe,"load");function ECe(){try{return localStorage}catch{}}o(ECe,"localstorage");Xg.exports=F0()(ss);var{formatters:yCe}=Xg.exports;yCe.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var xY=g((KYe,QY)=>{"use strict";QY.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",s=e.indexOf(r+t),n=e.indexOf("--");return s!==-1&&(n===-1||s{"use strict";var CCe=require("os"),NY=require("tty"),Rs=xY(),{env:Lt}=process,zo;Rs("no-color")||Rs("no-colors")||Rs("color=false")||Rs("color=never")?zo=0:(Rs("color")||Rs("colors")||Rs("color=true")||Rs("color=always"))&&(zo=1);"FORCE_COLOR"in Lt&&(Lt.FORCE_COLOR==="true"?zo=1:Lt.FORCE_COLOR==="false"?zo=0:zo=Lt.FORCE_COLOR.length===0?1:Math.min(parseInt(Lt.FORCE_COLOR,10),3));function U0(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(U0,"translateLevel");function q0(t,e){if(zo===0)return 0;if(Rs("color=16m")||Rs("color=full")||Rs("color=truecolor"))return 3;if(Rs("color=256"))return 2;if(t&&!e&&zo===void 0)return 0;let r=zo||0;if(Lt.TERM==="dumb")return r;if(process.platform==="win32"){let s=CCe.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Lt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in Lt)||Lt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Lt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Lt.TEAMCITY_VERSION)?1:0;if(Lt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Lt){let s=parseInt((Lt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Lt.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Lt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Lt.TERM)||"COLORTERM"in Lt?1:r}o(q0,"supportsColor");function ICe(t){let e=q0(t,t&&t.isTTY);return U0(e)}o(ICe,"getSupportLevel");SY.exports={supportsColor:ICe,stdout:U0(q0(!0,NY.isatty(1))),stderr:U0(q0(!0,NY.isatty(2)))}});var PY=g((Vt,eE)=>{var BCe=require("tty"),Zg=require("util");Vt.init=RCe;Vt.log=xCe;Vt.formatArgs=bCe;Vt.save=NCe;Vt.load=SCe;Vt.useColors=wCe;Vt.destroy=Zg.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Vt.colors=[6,2,3,4,5,1];try{let t=RY();t&&(t.stderr||t).level>=2&&(Vt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Vt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(n,i)=>i.toUpperCase()),s=process.env[e];return/^(yes|on|true|enabled)$/i.test(s)?s=!0:/^(no|off|false|disabled)$/i.test(s)?s=!1:s==="null"?s=null:s=Number(s),t[r]=s,t},{});function wCe(){return"colors"in Vt.inspectOpts?!!Vt.inspectOpts.colors:BCe.isatty(process.stderr.fd)}o(wCe,"useColors");function bCe(t){let{namespace:e,useColors:r}=this;if(r){let s=this.color,n="\x1B[3"+(s<8?s:"8;5;"+s),i=` ${n};1m${e} \x1B[0m`;t[0]=i+t[0].split(` +`.trim())}};UU.exports=sQ});var ef=g(($Fe,VU)=>{"use strict";var GU=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:foe}=Ce(),goe=ml();zU()===void 0&&HU(new goe);function HU(t){if(!t||typeof t.dispatch!="function")throw new foe("Argument agent must implement Agent");Object.defineProperty(globalThis,GU,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(HU,"setGlobalDispatcher");function zU(){return globalThis[GU]}o(zU,"getGlobalDispatcher");VU.exports={setGlobalDispatcher:HU,getGlobalDispatcher:zU}});var tf=g((WFe,$U)=>{"use strict";$U.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var JU=g((KFe,YU)=>{"use strict";var Eoe=kh();YU.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let l=new Eoe(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var jU=g((ZFe,WU)=>{"use strict";var yoe=zh();WU.exports=t=>e=>o(function(s,n){return e(s,new yoe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var XU=g((tUe,KU)=>{"use strict";var Coe=Ae(),{InvalidArgumentError:Ioe,RequestAbortedError:Boe}=Ce(),woe=tf(),nQ=class extends woe{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#s=!1;#r=!1;#n=0;#i=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Ioe("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#i=e}onHeaders(e,r,s,n){let a=Coe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new Boe(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#s||(e=this.#i??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#s=!0,this.#r?this.#o.onError(this.#i):this.#o.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function boe({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new nQ({maxSize:i},n);return e(s,a)},"Intercept")}o(boe,"createDumpInterceptor");KU.exports=boe});var t1=g((sUe,e1)=>{"use strict";var{isIP:Qoe}=require("node:net"),{lookup:xoe}=require("node:dns"),Noe=tf(),{InvalidArgumentError:wl,InformationalError:Soe}=Ce(),ZU=Math.pow(2,31)-1,iQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#s=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#n}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let n=this.#s.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new Soe("No DNS entries found"));return}this.setRecords(e,c);let l=this.#s.get(e.hostname),u=this.pick(e,l,i.affinity),A;typeof u.port=="number"?A=`:${u.port}`:e.port!==""?A=`:${e.port}`:A="",s(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${A}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,s){xoe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);s(null,a.values())})}#n(e,r,s){let n=null,{records:i,offset:a}=r,c;if(this.dualStack?(s==null&&(a==null||a===ZU?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?c=i[s]:c=i[s===4?6:4]):c=i[s],c==null||c.ips.length===0)return n;c.offset==null||c.offset===ZU?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return n=c.ips[l]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(c.ips.splice(l,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=n.records[i.family]??{ips:[]};a.ips.push(i),n.records[i.family]=a}this.#s.set(e.hostname,n)}getHandler(e,r){return new oQ(this,e,r)}},oQ=class extends Noe{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#s=null;#r=null;#n=null;constructor(e,{origin:r,handler:s,dispatch:n},i){super(s),this.#n=r,this.#r=s,this.#t={...i},this.#e=e,this.#s=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#n,this.#t,(r,s)=>{if(r)return this.#r.onError(r);let n={...this.#t,origin:s};this.#s(n,this)});return}this.#r.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#n);default:this.#r.onError(e);break}}};e1.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new wl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new wl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new wl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new wl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new wl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new wl("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let s={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},n=new iQ(s);return i=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return Qoe(u.hostname)!==0?i(c,l):(n.runLookup(u,c,(A,d)=>{if(A)return l.onError(A);let p=null;p={...c,servername:u.hostname,origin:d,headers:{host:u.hostname,...c.headers}},i(p,n.getHandler({origin:u,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var va=g((iUe,c1)=>{"use strict";var{kConstruct:Roe}=Ge(),{kEnumerableProperty:bl}=Ae(),{iteratorMixin:Toe,isValidHeaderName:rd,isValidHeaderValue:s1}=zr(),{webidl:ge}=Gt(),aQ=require("node:assert"),rf=require("node:util"),yt=Symbol("headers map"),Jr=Symbol("headers map sorted");function r1(t){return t===10||t===13||t===9||t===32}o(r1,"isHTTPWhiteSpaceCharCode");function n1(t){let e=0,r=t.length;for(;r>e&&r1(t.charCodeAt(r-1));)--r;for(;r>e&&r1(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(n1,"headerValueNormalize");function i1(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(i1,"fill");function cQ(t,e,r){if(r=n1(r),rd(e)){if(!s1(r))throw ge.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw ge.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(a1(t)==="immutable")throw new TypeError("immutable");return lQ(t).append(e,r,!1)}o(cQ,"appendHeader");function o1(t,e){return t[0]>1),r[u][0]<=A[0]?l=u+1:c=u;if(i!==u){for(a=i;a>l;)r[a]=r[--a];r[l]=A}}if(!s.next().done)throw new TypeError("Unreachable");return r}else{let s=0;for(let{0:n,1:{value:i}}of this[yt])r[s++]=[n,i],aQ(i!==null);return r.sort(o1)}}},nn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){ge.util.markAsUncloneable(this),e!==Roe&&(this.#t=new sf,this.#e="none",e!==void 0&&(e=ge.converters.HeadersInit(e,"Headers contructor","init"),i1(this,e)))}append(e,r){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,2,"Headers.append");let s="Headers.append";return e=ge.converters.ByteString(e,s,"name"),r=ge.converters.ByteString(r,s,"value"),cQ(this,e,r)}delete(e){if(ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,1,"Headers.delete"),e=ge.converters.ByteString(e,"Headers.delete","name"),!rd(e))throw ge.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=ge.converters.ByteString(e,r,"name"),!rd(e))throw ge.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=ge.converters.ByteString(e,r,"name"),!rd(e))throw ge.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){ge.brandCheck(this,t),ge.argumentLengthCheck(arguments,2,"Headers.set");let s="Headers.set";if(e=ge.converters.ByteString(e,s,"name"),r=ge.converters.ByteString(r,s,"value"),r=n1(r),rd(e)){if(!s1(r))throw ge.errors.invalidArgument({prefix:s,value:r,type:"header value"})}else throw ge.errors.invalidArgument({prefix:s,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){ge.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Jr](){if(this.#t[Jr])return this.#t[Jr];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[Jr]=r;for(let n=0;n>"](t,e,r,s.bind(t)):ge.converters["record"](t,e,r)}throw ge.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};c1.exports={fill:i1,compareHeaderName:o1,Headers:nn,HeadersList:sf,getHeadersGuard:a1,setHeadersGuard:Poe,setHeadersList:voe,getHeadersList:lQ}});var nd=g((aUe,C1)=>{"use strict";var{Headers:m1,HeadersList:l1,fill:koe,getHeadersGuard:Doe,setHeadersGuard:h1,setHeadersList:f1}=va(),{extractBody:u1,cloneBody:_oe,mixinBody:Loe,hasFinalizationRegistry:g1,streamRegistry:E1,bodyUnusable:Moe}=nl(),uQ=Ae(),A1=require("node:util"),{kEnumerableProperty:Wr}=uQ,{isValidReasonPhrase:Ooe,isCancelled:Foe,isAborted:Uoe,isBlobLike:qoe,serializeJavascriptValueToJSONString:Goe,isErrorLike:Hoe,isomorphicEncode:zoe,environmentSettingsObject:Voe}=zr(),{redirectStatusSet:$oe,nullBodyStatus:Yoe}=NA(),{kState:ze,kHeaders:_i}=ho(),{webidl:le}=Gt(),{FormData:Joe}=kA(),{URLSerializer:d1}=Ir(),{kConstruct:of}=Ge(),AQ=require("node:assert"),{types:Woe}=require("node:util"),joe=new TextEncoder("utf-8"),ka=class t{static{o(this,"Response")}static error(){return sd(af(),"immutable")}static json(e,r={}){le.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=le.converters.ResponseInit(r));let s=joe.encode(Goe(e)),n=u1(s),i=sd(Ql({}),"response");return p1(i,r,{body:n[0],type:"application/json"}),i}static redirect(e,r=302){le.argumentLengthCheck(arguments,1,"Response.redirect"),e=le.converters.USVString(e),r=le.converters["unsigned short"](r);let s;try{s=new URL(e,Voe.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!$oe.has(r))throw new RangeError(`Invalid status code ${r}`);let n=sd(Ql({}),"immutable");n[ze].status=r;let i=zoe(d1(s));return n[ze].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(le.util.markAsUncloneable(this),e===of)return;e!==null&&(e=le.converters.BodyInit(e)),r=le.converters.ResponseInit(r),this[ze]=Ql({}),this[_i]=new m1(of),h1(this[_i],"response"),f1(this[_i],this[ze].headersList);let s=null;if(e!=null){let[n,i]=u1(e);s={body:n,type:i}}p1(this,r,s)}get type(){return le.brandCheck(this,t),this[ze].type}get url(){le.brandCheck(this,t);let e=this[ze].urlList,r=e[e.length-1]??null;return r===null?"":d1(r,!0)}get redirected(){return le.brandCheck(this,t),this[ze].urlList.length>1}get status(){return le.brandCheck(this,t),this[ze].status}get ok(){return le.brandCheck(this,t),this[ze].status>=200&&this[ze].status<=299}get statusText(){return le.brandCheck(this,t),this[ze].statusText}get headers(){return le.brandCheck(this,t),this[_i]}get body(){return le.brandCheck(this,t),this[ze].body?this[ze].body.stream:null}get bodyUsed(){return le.brandCheck(this,t),!!this[ze].body&&uQ.isDisturbed(this[ze].body.stream)}clone(){if(le.brandCheck(this,t),Moe(this))throw le.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=dQ(this[ze]);return g1&&this[ze].body?.stream&&E1.register(this,new WeakRef(this[ze].body.stream)),sd(e,Doe(this[_i]))}[A1.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${A1.formatWithOptions(r,s)}`}};Loe(ka);Object.defineProperties(ka.prototype,{type:Wr,url:Wr,status:Wr,ok:Wr,redirected:Wr,statusText:Wr,headers:Wr,clone:Wr,body:Wr,bodyUsed:Wr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(ka,{json:Wr,redirect:Wr,error:Wr});function dQ(t){if(t.internalResponse)return y1(dQ(t.internalResponse),t.type);let e=Ql({...t,body:null});return t.body!=null&&(e.body=_oe(e,t.body)),e}o(dQ,"cloneResponse");function Ql(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new l1(t?.headersList):new l1,urlList:t?.urlList?[...t.urlList]:[]}}o(Ql,"makeResponse");function af(t){let e=Hoe(t);return Ql({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(af,"makeNetworkError");function Koe(t){return t.type==="error"&&t.status===0}o(Koe,"isNetworkError");function nf(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,s){return s in e?e[s]:r[s]},set(r,s,n){return AQ(!(s in e)),r[s]=n,!0}})}o(nf,"makeFilteredResponse");function y1(t,e){if(e==="basic")return nf(t,{type:"basic",headersList:t.headersList});if(e==="cors")return nf(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return nf(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return nf(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});AQ(!1)}o(y1,"filterResponse");function Xoe(t,e=null){return AQ(Foe(t)),Uoe(t)?af(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):af(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Xoe,"makeAppropriateNetworkError");function p1(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!Ooe(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[ze].status=e.status),"statusText"in e&&e.statusText!=null&&(t[ze].statusText=e.statusText),"headers"in e&&e.headers!=null&&koe(t[_i],e.headers),r){if(Yoe.includes(t.status))throw le.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[ze].body=r.body,r.type!=null&&!t[ze].headersList.contains("content-type",!0)&&t[ze].headersList.append("content-type",r.type,!0)}}o(p1,"initializeResponse");function sd(t,e){let r=new ka(of);return r[ze]=t,r[_i]=new m1(of),f1(r[_i],t.headersList),h1(r[_i],e),g1&&t.body?.stream&&E1.register(r,new WeakRef(t.body.stream)),r}o(sd,"fromInnerResponse");le.converters.ReadableStream=le.interfaceConverter(ReadableStream);le.converters.FormData=le.interfaceConverter(Joe);le.converters.URLSearchParams=le.interfaceConverter(URLSearchParams);le.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?le.converters.USVString(t,e,r):qoe(t)?le.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Woe.isArrayBuffer(t)?le.converters.BufferSource(t,e,r):uQ.isFormDataLike(t)?le.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?le.converters.URLSearchParams(t,e,r):le.converters.DOMString(t,e,r)};le.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?le.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:le.converters.XMLHttpRequestBodyInit(t,e,r)};le.converters.ResponseInit=le.dictionaryConverter([{key:"status",converter:le.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:le.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:le.converters.HeadersInit}]);C1.exports={isNetworkError:Koe,makeNetworkError:af,makeResponse:Ql,makeAppropriateNetworkError:Xoe,filterResponse:y1,Response:ka,cloneResponse:dQ,fromInnerResponse:sd}});var b1=g((lUe,w1)=>{"use strict";var{kConnected:I1,kSize:B1}=Ge(),pQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[I1]===0&&this.value[B1]===0?void 0:this.value}},mQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[I1]===0&&e[B1]===0&&this.finalizer(r)})}unregister(e){}};w1.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:pQ,FinalizationRegistry:mQ}):{WeakRef,FinalizationRegistry}}});var xl=g((AUe,F1)=>{"use strict";var{extractBody:Zoe,mixinBody:eae,cloneBody:tae,bodyUnusable:Q1}=nl(),{Headers:D1,fill:rae,HeadersList:Af,setHeadersGuard:fQ,getHeadersGuard:sae,setHeadersList:_1,getHeadersList:x1}=va(),{FinalizationRegistry:nae}=b1()(),lf=Ae(),N1=require("node:util"),{isValidHTTPToken:iae,sameOrigin:S1,environmentSettingsObject:cf}=zr(),{forbiddenMethodsSet:oae,corsSafeListedMethodsSet:aae,referrerPolicy:cae,requestRedirect:lae,requestMode:uae,requestCredentials:Aae,requestCache:dae,requestDuplex:pae}=NA(),{kEnumerableProperty:Ct,normalizedMethodRecordsBase:mae,normalizedMethodRecords:hae}=lf,{kHeaders:jr,kSignal:uf,kState:Me,kDispatcher:hQ}=ho(),{webidl:X}=Gt(),{URLSerializer:fae}=Ir(),{kConstruct:df}=Ge(),gae=require("node:assert"),{getMaxListeners:R1,setMaxListeners:T1,getEventListeners:Eae,defaultMaxListeners:P1}=require("node:events"),yae=Symbol("abortController"),L1=new nae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),pf=new WeakMap;function v1(t){return e;function e(){let r=t.deref();if(r!==void 0){L1.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=pf.get(r.signal);if(s!==void 0){if(s.size!==0){for(let n of s){let i=n.deref();i!==void 0&&i.abort(this.reason)}s.clear()}pf.delete(r.signal)}}}}o(v1,"buildAbort");var k1=!1,xo=class t{static{o(this,"Request")}constructor(e,r={}){if(X.util.markAsUncloneable(this),e===df)return;let s="Request constructor";X.argumentLengthCheck(arguments,1,s),e=X.converters.RequestInfo(e,s,"input"),r=X.converters.RequestInit(r,s,"init");let n=null,i=null,a=cf.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[hQ]=r.dispatcher;let E;try{E=new URL(e,a)}catch(y){throw new TypeError("Failed to parse URL from "+e,{cause:y})}if(E.username||E.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=mf({urlList:[E]}),i="cors"}else this[hQ]=r.dispatcher||e[hQ],gae(e instanceof t),n=e[Me],c=e[uf];let l=cf.settingsObject.origin,u="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&S1(n.window,l)&&(u=n.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),n=mf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:cf.settingsObject,window:u,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 E=r.referrer;if(E==="")n.referrer="no-referrer";else{let y;try{y=new URL(E,a)}catch(I){throw new TypeError(`Referrer "${E}" is not a valid URL.`,{cause:I})}y.protocol==="about:"&&y.hostname==="client"||l&&!S1(y,cf.settingsObject.baseUrl)?n.referrer="client":n.referrer=y}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=i,d==="navigate")throw X.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(n.mode=d),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 E=r.method,y=hae[E];if(y!==void 0)n.method=y;else{if(!iae(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);let I=E.toUpperCase();if(oae.has(I))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=mae[I]??E,n.method=E}!k1&&n.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),k1=!0)}r.signal!==void 0&&(c=r.signal),this[Me]=n;let p=new AbortController;if(this[uf]=p.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)p.abort(c.reason);else{this[yae]=p;let E=new WeakRef(p),y=v1(E);try{(typeof R1=="function"&&R1(c)===P1||Eae(c,"abort").length>=P1)&&T1(1500,c)}catch{}lf.addAbortListener(c,y),L1.register(p,{signal:c,abort:y},y)}}if(this[jr]=new D1(df),_1(this[jr],n.headersList),fQ(this[jr],"request"),d==="no-cors"){if(!aae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);fQ(this[jr],"request-no-cors")}if(A){let E=x1(this[jr]),y=r.headers!==void 0?r.headers:new Af(E);if(E.clear(),y instanceof Af){for(let{name:I,value:B}of y.rawValues())E.append(I,B,!1);E.cookies=y.cookies}else rae(this[jr],y)}let m=e instanceof t?e[Me].body:null;if((r.body!=null||m!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let h=null;if(r.body!=null){let[E,y]=Zoe(r.body,n.keepalive);h=E,y&&!x1(this[jr]).contains("content-type",!0)&&this[jr].append("content-type",y)}let f=h??m;if(f!=null&&f.source==null){if(h!=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 C=f;if(h==null&&m!=null){if(Q1(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let E=new TransformStream;m.stream.pipeThrough(E),C={source:m.source,length:m.length,stream:E.readable}}this[Me].body=C}get method(){return X.brandCheck(this,t),this[Me].method}get url(){return X.brandCheck(this,t),fae(this[Me].url)}get headers(){return X.brandCheck(this,t),this[jr]}get destination(){return X.brandCheck(this,t),this[Me].destination}get referrer(){return X.brandCheck(this,t),this[Me].referrer==="no-referrer"?"":this[Me].referrer==="client"?"about:client":this[Me].referrer.toString()}get referrerPolicy(){return X.brandCheck(this,t),this[Me].referrerPolicy}get mode(){return X.brandCheck(this,t),this[Me].mode}get credentials(){return this[Me].credentials}get cache(){return X.brandCheck(this,t),this[Me].cache}get redirect(){return X.brandCheck(this,t),this[Me].redirect}get integrity(){return X.brandCheck(this,t),this[Me].integrity}get keepalive(){return X.brandCheck(this,t),this[Me].keepalive}get isReloadNavigation(){return X.brandCheck(this,t),this[Me].reloadNavigation}get isHistoryNavigation(){return X.brandCheck(this,t),this[Me].historyNavigation}get signal(){return X.brandCheck(this,t),this[uf]}get body(){return X.brandCheck(this,t),this[Me].body?this[Me].body.stream:null}get bodyUsed(){return X.brandCheck(this,t),!!this[Me].body&&lf.isDisturbed(this[Me].body.stream)}get duplex(){return X.brandCheck(this,t),"half"}clone(){if(X.brandCheck(this,t),Q1(this))throw new TypeError("unusable");let e=M1(this[Me]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=pf.get(this.signal);s===void 0&&(s=new Set,pf.set(this.signal,s));let n=new WeakRef(r);s.add(n),lf.addAbortListener(r.signal,v1(n))}return O1(e,r.signal,sae(this[jr]))}[N1.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${N1.formatWithOptions(r,s)}`}};eae(xo);function mf(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new Af(t.headersList):new Af}}o(mf,"makeRequest");function M1(t){let e=mf({...t,body:null});return t.body!=null&&(e.body=tae(e,t.body)),e}o(M1,"cloneRequest");function O1(t,e,r){let s=new xo(df);return s[Me]=t,s[uf]=e,s[jr]=new D1(df),_1(s[jr],t.headersList),fQ(s[jr],r),s}o(O1,"fromInnerRequest");Object.defineProperties(xo.prototype,{method:Ct,url:Ct,headers:Ct,redirect:Ct,clone:Ct,signal:Ct,duplex:Ct,destination:Ct,body:Ct,bodyUsed:Ct,isHistoryNavigation:Ct,isReloadNavigation:Ct,keepalive:Ct,integrity:Ct,cache:Ct,credentials:Ct,attribute:Ct,referrerPolicy:Ct,referrer:Ct,mode:Ct,[Symbol.toStringTag]:{value:"Request",configurable:!0}});X.converters.Request=X.interfaceConverter(xo);X.converters.RequestInfo=function(t,e,r){return typeof t=="string"?X.converters.USVString(t,e,r):t instanceof xo?X.converters.Request(t,e,r):X.converters.USVString(t,e,r)};X.converters.AbortSignal=X.interfaceConverter(AbortSignal);X.converters.RequestInit=X.dictionaryConverter([{key:"method",converter:X.converters.ByteString},{key:"headers",converter:X.converters.HeadersInit},{key:"body",converter:X.nullableConverter(X.converters.BodyInit)},{key:"referrer",converter:X.converters.USVString},{key:"referrerPolicy",converter:X.converters.DOMString,allowedValues:cae},{key:"mode",converter:X.converters.DOMString,allowedValues:uae},{key:"credentials",converter:X.converters.DOMString,allowedValues:Aae},{key:"cache",converter:X.converters.DOMString,allowedValues:dae},{key:"redirect",converter:X.converters.DOMString,allowedValues:lae},{key:"integrity",converter:X.converters.DOMString},{key:"keepalive",converter:X.converters.boolean},{key:"signal",converter:X.nullableConverter(t=>X.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:X.converters.any},{key:"duplex",converter:X.converters.DOMString,allowedValues:pae},{key:"dispatcher",converter:X.converters.any}]);F1.exports={Request:xo,makeRequest:mf,fromInnerRequest:O1,cloneRequest:M1}});var od=g((pUe,e2)=>{"use strict";var{makeNetworkError:xe,makeAppropriateNetworkError:hf,filterResponse:gQ,makeResponse:ff,fromInnerResponse:Cae}=nd(),{HeadersList:U1}=va(),{Request:Iae,cloneRequest:Bae}=xl(),No=require("node:zlib"),{bytesMatch:wae,makePolicyContainer:bae,clonePolicyContainer:Qae,requestBadPort:xae,TAOCheck:Nae,appendRequestOriginHeader:Sae,responseLocationURL:Rae,requestCurrentURL:Pn,setRequestReferrerPolicyOnRedirect:Tae,tryUpgradeRequestToAPotentiallyTrustworthyURL:Pae,createOpaqueTimingInfo:BQ,appendFetchMetadata:vae,corsCheck:kae,crossOriginResourcePolicyCheck:Dae,determineRequestsReferrer:_ae,coarsenedSharedCurrentTime:id,createDeferredPromise:Lae,isBlobLike:Mae,sameOrigin:IQ,isCancelled:Da,isAborted:q1,isErrorLike:Oae,fullyReadBody:Fae,readableStreamClose:Uae,isomorphicEncode:gf,urlIsLocal:qae,urlIsHttpHttpsScheme:wQ,urlHasHttpsScheme:Gae,clampAndCoarsenConnectionTimingInfo:Hae,simpleRangeHeaderValue:zae,buildContentRange:Vae,createInflate:$ae,extractMimeType:Yae}=zr(),{kState:V1,kDispatcher:Jae}=ho(),_a=require("node:assert"),{safelyExtractBody:bQ,extractBody:G1}=nl(),{redirectStatusSet:$1,nullBodyStatus:Y1,safeMethodsSet:Wae,requestBodyHeader:jae,subresourceSet:Kae}=NA(),Xae=require("node:events"),{Readable:Zae,pipeline:ece,finished:tce}=require("node:stream"),{addAbortListener:rce,isErrored:sce,isReadable:Ef,bufferToLowerCasedHeaderName:H1}=Ae(),{dataURLProcessor:nce,serializeAMimeType:ice,minimizeSupportedMimeType:oce}=Ir(),{getGlobalDispatcher:ace}=ef(),{webidl:cce}=Gt(),{STATUS_CODES:lce}=require("node:http"),uce=["GET","HEAD"],Ace=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",EQ,yf=class extends Xae{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function dce(t){J1(t,"fetch")}o(dce,"handleFetchDone");function pce(t,e=void 0){cce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Lae(),s;try{s=new Iae(t,e)}catch(A){return r.reject(A),r.promise}let n=s[V1];if(s.signal.aborted)return yQ(r,n,null,s.signal.reason),r.promise;n.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let a=null,c=!1,l=null;return rce(s.signal,()=>{c=!0,_a(l!=null),l.abort(s.signal.reason);let A=a?.deref();yQ(r,n,A,s.signal.reason)}),l=j1({request:n,processResponseEndOfBody:dce,processResponse:o(A=>{if(!c){if(A.aborted){yQ(r,n,a,l.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}a=new WeakRef(Cae(A,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:s[Jae]}),r.promise}o(pce,"fetch");function J1(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;wQ(r)&&s!==null&&(t.timingAllowPassed||(s=BQ({startTime:s.startTime}),n=""),s.endTime=id(),t.timingInfo=s,W1(s,r.href,e,globalThis,n))}o(J1,"finalizeAndReportTiming");var W1=performance.markResourceTiming;function yQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&Ef(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[V1];n.body!=null&&Ef(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(yQ,"abortFetch");function j1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=ace()}){_a(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=id(u),d=BQ({startTime:A}),p={controller:new yf(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:u};return _a(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=Qae(t.client.policyContainer):t.policyContainer=bae()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Kae.has(t.destination),K1(p).catch(m=>{p.controller.terminate(m)}),p.controller}o(j1,"fetching");async function K1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!qae(Pn(r))&&(s=xe("local URLs only")),Pae(r),xae(r)==="blocked"&&(s=xe("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=_ae(r)),s===null&&(s=await(async()=>{let i=Pn(r);return IQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await z1(t)):r.mode==="same-origin"?xe('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?xe('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await z1(t)):wQ(Pn(r))?(r.responseTainting="cors",await X1(t)):xe("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=gQ(s,"basic"):r.responseTainting==="cors"?s=gQ(s,"cors"):r.responseTainting==="opaque"?s=gQ(s,"opaque"):_a(!1));let n=s.status===0?s:s.internalResponse;if(n.urlList.length===0&&n.urlList.push(...r.urlList),r.timingAllowFailed||(s.timingAllowPassed=!0),s.type==="opaque"&&n.status===206&&n.rangeRequested&&!r.headers.contains("range",!0)&&(s=n=xe()),s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Y1.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>CQ(t,xe(c)),"processBodyError");if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let a=o(c=>{if(!wae(c,r.integrity)){i("integrity mismatch");return}s.body=bQ(c)[0],CQ(t,s)},"processBody");await Fae(s.body,a,i)}else CQ(t,s)}o(K1,"mainFetch");function z1(t){if(Da(t)&&t.request.redirectCount===0)return Promise.resolve(hf(t));let{request:e}=t,{protocol:r}=Pn(e);switch(r){case"about:":return Promise.resolve(xe("about scheme is not supported"));case"blob:":{EQ||(EQ=require("node:buffer").resolveObjectURL);let s=Pn(e);if(s.search.length!==0)return Promise.resolve(xe("NetworkError when attempting to fetch resource."));let n=EQ(s.toString());if(e.method!=="GET"||!Mae(n))return Promise.resolve(xe("invalid method"));let i=ff(),a=n.size,c=gf(`${a}`),l=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let u=e.headersList.get("range",!0),A=zae(u,!0);if(A==="failure")return Promise.resolve(xe("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:p}=A;if(d===null)d=a-p,p=d+p-1;else{if(d>=a)return Promise.resolve(xe("Range start is greater than the blob's size."));(p===null||p>=a)&&(p=a-1)}let m=n.slice(d,p,l),h=G1(m);i.body=h[0];let f=gf(`${m.size}`),C=Vae(d,p,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let u=G1(n);i.statusText="OK",i.body=u[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",l,!0)}return Promise.resolve(i)}case"data:":{let s=Pn(e),n=nce(s);if(n==="failure")return Promise.resolve(xe("failed to fetch the data URL"));let i=ice(n.mimeType);return Promise.resolve(ff({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:bQ(n.body)[0]}))}case"file:":return Promise.resolve(xe("not implemented... yet..."));case"http:":case"https:":return X1(t).catch(s=>xe(s));default:return Promise.resolve(xe("unknown scheme"))}}o(z1,"schemeFetch");function mce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(mce,"finalizeResponse");function CQ(t,e){let r=t.timingInfo,s=o(()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=i;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=BQ(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=Yae(e.headersList);A!=="failure"&&(l.contentType=oce(A))}t.request.initiatorType!=null&&W1(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,u)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let n=e.type==="error"?e:e.internalResponse??e;n.body==null?s():tce(n.body.stream,()=>{s()})}o(CQ,"fetchFinale");async function X1(t){let e=t.request,r=null,s=null,n=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),s=r=await Z1(t),e.responseTainting==="cors"&&kae(e,r)==="failure")return xe("cors failure");Nae(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Dae(e.origin,e.client,e.destination,s)==="blocked"?xe("blocked"):($1.has(s.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=xe("unexpected redirect"):e.redirect==="manual"?r=s:e.redirect==="follow"?r=await hce(t,r):_a(!1)),r.timingInfo=n,r)}o(X1,"httpFetch");function hce(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=Rae(s,Pn(r).hash),n==null)return e}catch(a){return Promise.resolve(xe(a))}if(!wQ(n))return Promise.resolve(xe("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(xe("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(n.username||n.password)&&!IQ(r,n))return Promise.resolve(xe('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(n.username||n.password))return Promise.resolve(xe('URL cannot contain credentials for request mode "cors"'));if(s.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(xe());if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!uce.includes(r.method)){r.method="GET",r.body=null;for(let a of jae)r.headersList.delete(a)}IQ(Pn(r),n)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(_a(r.body.source!=null),r.body=bQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=id(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),Tae(r,s),K1(t,!0)}o(hce,"httpRedirectFetch");async function Z1(t,e=!1,r=!1){let s=t.request,n=null,i=null,a=null,c=null,l=!1;s.window==="no-window"&&s.redirect==="error"?(n=t,i=s):(i=Bae(s),n={...t},n.request=i);let u=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic",A=i.body?i.body.length:null,d=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(d="0"),A!=null&&(d=gf(`${A}`)),d!=null&&i.headersList.append("content-length",d,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",gf(i.referrer.href),!0),Sae(i),vae(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",Ace),i.cache==="default"&&(i.headersList.contains("if-modified-since",!0)||i.headersList.contains("if-none-match",!0)||i.headersList.contains("if-unmodified-since",!0)||i.headersList.contains("if-match",!0)||i.headersList.contains("if-range",!0))&&(i.cache="no-store"),i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",!0)&&i.headersList.append("cache-control","max-age=0",!0),(i.cache==="no-store"||i.cache==="reload")&&(i.headersList.contains("pragma",!0)||i.headersList.append("pragma","no-cache",!0),i.headersList.contains("cache-control",!0)||i.headersList.append("cache-control","no-cache",!0)),i.headersList.contains("range",!0)&&i.headersList.append("accept-encoding","identity",!0),i.headersList.contains("accept-encoding",!0)||(Gae(Pn(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),c==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,a==null){if(i.cache==="only-if-cached")return xe("only if cached");let p=await fce(n,u,r);!Wae.has(i.method)&&p.status>=200&&p.status<=399,l&&p.status,a==null&&(a=p)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return s.window==="no-window"?xe():Da(t)?hf(t):xe("proxy authentication required");if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(Da(t))return hf(t);t.controller.connection.destroy(),a=await Z1(t,e,!0)}return a}o(Z1,"httpNetworkOrCacheFetch");async function fce(t,e=!1,r=!1){_a(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let s=t.request,n=null,i=t.timingInfo;null==null&&(s.cache="no-store");let c=r?"yes":"no";s.mode;let l=null;if(s.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(s.body!=null){let h=o(async function*(E){Da(t)||(yield E,t.processRequestBodyChunkLength?.(E.byteLength))},"processBodyChunk"),f=o(()=>{Da(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(E=>{Da(t)||(E.name==="AbortError"?t.controller.abort():t.controller.terminate(E))},"processBodyError");l=(async function*(){try{for await(let E of s.body.stream)yield*h(E);f()}catch(E){C(E)}})()}try{let{body:h,status:f,statusText:C,headersList:E,socket:y}=await m({body:l});if(y)n=ff({status:f,statusText:C,headersList:E,socket:y});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),n=ff({status:f,statusText:C,headersList:E})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),hf(t,h)):xe(h)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(h=>{Da(t)||t.controller.abort(h)},"cancelAlgorithm"),d=new ReadableStream({async start(h){t.controller.controller=h},async pull(h){await u(h)},async cancel(h){await A(h)},type:"bytes"});n.body={stream:d,source:null,length:null},t.controller.onAborted=p,t.controller.on("terminated",p),t.controller.resume=async()=>{for(;;){let h,f;try{let{done:E,value:y}=await t.controller.next();if(q1(t))break;h=E?void 0:y}catch(E){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=E,f=!0)}if(h===void 0){Uae(t.controller.controller),mce(t,n);return}if(i.decodedBodySize+=h?.byteLength??0,f){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),sce(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function p(h){q1(t)?(n.aborted=!0,Ef(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Ef(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Oae(h)?h:void 0})),t.controller.connection.destroy()}return o(p,"onAborted"),n;function m({body:h}){let f=Pn(s),C=t.controller.dispatcher;return new Promise((E,y)=>C.dispatch({path:f.pathname+f.search,origin:f.origin,method:s.method,body:C.isMockActive?s.body&&(s.body.source||s.body.stream):h,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;i.finalConnectionTimingInfo=Hae(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),i.finalNetworkRequestStartTime=id(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=id(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,S){if(I<200)return;let U="",Ie=new U1;for(let de=0;dece)return y(new Error(`too many content-encodings in response: ${gt.length}, maximum allowed is ${ce}`)),!0;for(let js=gt.length-1;js>=0;--js){let z=gt[js].trim();if(z==="x-gzip"||z==="gzip")je.push(No.createGunzip({flush:No.constants.Z_SYNC_FLUSH,finishFlush:No.constants.Z_SYNC_FLUSH}));else if(z==="deflate")je.push($ae({flush:No.constants.Z_SYNC_FLUSH,finishFlush:No.constants.Z_SYNC_FLUSH}));else if(z==="br")je.push(No.createBrotliDecompress({flush:No.constants.BROTLI_OPERATION_FLUSH,finishFlush:No.constants.BROTLI_OPERATION_FLUSH}));else{je.length=0;break}}}let ke=this.onError.bind(this);return E({status:I,statusText:S,headersList:Ie,body:je.length?ece(this.body,...je,de=>{de&&this.onError(de)}).on("error",ke):this.body.on("error",ke)}),!0},onData(I){if(t.controller.dump)return;let B=I;return i.encodedBodySize+=B.byteLength,this.body.push(B)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(I){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(I),t.controller.terminate(I),y(I)},onUpgrade(I,B,N){if(I!==101)return;let S=new U1;for(let U=0;U{"use strict";t2.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 s2=g((fUe,r2)=>{"use strict";var{webidl:Kr}=Gt(),Cf=Symbol("ProgressEvent state"),xQ=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Kr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Kr.converters.ProgressEventInit(r??{}),super(e,r),this[Cf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Kr.brandCheck(this,t),this[Cf].lengthComputable}get loaded(){return Kr.brandCheck(this,t),this[Cf].loaded}get total(){return Kr.brandCheck(this,t),this[Cf].total}};Kr.converters.ProgressEventInit=Kr.dictionaryConverter([{key:"lengthComputable",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Kr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Kr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Kr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);r2.exports={ProgressEvent:xQ}});var i2=g((EUe,n2)=>{"use strict";function gce(t){if(!t)return"failure";switch(t.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"}}o(gce,"getEncoding");n2.exports={getEncoding:gce}});var p2=g((CUe,d2)=>{"use strict";var{kState:Nl,kError:NQ,kResult:o2,kAborted:ad,kLastProgressEventFired:SQ}=QQ(),{ProgressEvent:Ece}=s2(),{getEncoding:a2}=i2(),{serializeAMimeType:yce,parseMIMEType:c2}=Ir(),{types:Cce}=require("node:util"),{StringDecoder:l2}=require("string_decoder"),{btoa:u2}=require("node:buffer"),Ice={enumerable:!0,writable:!1,configurable:!1};function Bce(t,e,r,s){if(t[Nl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Nl]="loading",t[o2]=null,t[NQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[ad];)try{let{done:u,value:A}=await c;if(l&&!t[ad]&&queueMicrotask(()=>{So("loadstart",t)}),l=!1,!u&&Cce.isUint8Array(A))a.push(A),(t[SQ]===void 0||Date.now()-t[SQ]>=50)&&!t[ad]&&(t[SQ]=Date.now(),queueMicrotask(()=>{So("progress",t)})),c=i.read();else if(u){queueMicrotask(()=>{t[Nl]="done";try{let d=wce(a,r,e.type,s);if(t[ad])return;t[o2]=d,So("load",t)}catch(d){t[NQ]=d,So("error",t)}t[Nl]!=="loading"&&So("loadend",t)});break}}catch(u){if(t[ad])return;queueMicrotask(()=>{t[Nl]="done",t[NQ]=u,So("error",t),t[Nl]!=="loading"&&So("loadend",t)});break}})()}o(Bce,"readOperation");function So(t,e){let r=new Ece(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(So,"fireAProgressEvent");function wce(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=c2(r||"application/octet-stream");i!=="failure"&&(n+=yce(i)),n+=";base64,";let a=new l2("latin1");for(let c of t)n+=u2(a.write(c));return n+=u2(a.end()),n}case"Text":{let n="failure";if(s&&(n=a2(s)),n==="failure"&&r){let i=c2(r);i!=="failure"&&(n=a2(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),bce(t,n)}case"ArrayBuffer":return A2(t).buffer;case"BinaryString":{let n="",i=new l2("latin1");for(let a of t)n+=i.write(a);return n+=i.end(),n}}}o(wce,"packageData");function bce(t,e){let r=A2(t),s=Qce(r),n=0;s!==null&&(e=s,n=s==="UTF-8"?3:2);let i=r.slice(n);return new TextDecoder(e).decode(i)}o(bce,"decode");function Qce(t){let[e,r,s]=t;return e===239&&r===187&&s===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Qce,"BOMSniffing");function A2(t){let e=t.reduce((s,n)=>s+n.byteLength,0),r=0;return t.reduce((s,n)=>(s.set(n,r),r+=n.byteLength,s),new Uint8Array(e))}o(A2,"combineByteSequences");d2.exports={staticPropertyDescriptors:Ice,readOperation:Bce,fireAProgressEvent:So}});var g2=g((BUe,f2)=>{"use strict";var{staticPropertyDescriptors:Sl,readOperation:If,fireAProgressEvent:m2}=p2(),{kState:La,kError:h2,kResult:Bf,kEvents:Be,kAborted:xce}=QQ(),{webidl:Re}=Gt(),{kEnumerableProperty:br}=Ae(),on=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[La]="empty",this[Bf]=null,this[h2]=null,this[Be]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Re.converters.Blob(e,{strict:!1}),If(this,e,"ArrayBuffer")}readAsBinaryString(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Re.converters.Blob(e,{strict:!1}),If(this,e,"BinaryString")}readAsText(e,r=void 0){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Re.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Re.converters.DOMString(r,"FileReader.readAsText","encoding")),If(this,e,"Text",r)}readAsDataURL(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Re.converters.Blob(e,{strict:!1}),If(this,e,"DataURL")}abort(){if(this[La]==="empty"||this[La]==="done"){this[Bf]=null;return}this[La]==="loading"&&(this[La]="done",this[Bf]=null),this[xce]=!0,m2("abort",this),this[La]!=="loading"&&m2("loadend",this)}get readyState(){switch(Re.brandCheck(this,t),this[La]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Re.brandCheck(this,t),this[Bf]}get error(){return Re.brandCheck(this,t),this[h2]}get onloadend(){return Re.brandCheck(this,t),this[Be].loadend}set onloadend(e){Re.brandCheck(this,t),this[Be].loadend&&this.removeEventListener("loadend",this[Be].loadend),typeof e=="function"?(this[Be].loadend=e,this.addEventListener("loadend",e)):this[Be].loadend=null}get onerror(){return Re.brandCheck(this,t),this[Be].error}set onerror(e){Re.brandCheck(this,t),this[Be].error&&this.removeEventListener("error",this[Be].error),typeof e=="function"?(this[Be].error=e,this.addEventListener("error",e)):this[Be].error=null}get onloadstart(){return Re.brandCheck(this,t),this[Be].loadstart}set onloadstart(e){Re.brandCheck(this,t),this[Be].loadstart&&this.removeEventListener("loadstart",this[Be].loadstart),typeof e=="function"?(this[Be].loadstart=e,this.addEventListener("loadstart",e)):this[Be].loadstart=null}get onprogress(){return Re.brandCheck(this,t),this[Be].progress}set onprogress(e){Re.brandCheck(this,t),this[Be].progress&&this.removeEventListener("progress",this[Be].progress),typeof e=="function"?(this[Be].progress=e,this.addEventListener("progress",e)):this[Be].progress=null}get onload(){return Re.brandCheck(this,t),this[Be].load}set onload(e){Re.brandCheck(this,t),this[Be].load&&this.removeEventListener("load",this[Be].load),typeof e=="function"?(this[Be].load=e,this.addEventListener("load",e)):this[Be].load=null}get onabort(){return Re.brandCheck(this,t),this[Be].abort}set onabort(e){Re.brandCheck(this,t),this[Be].abort&&this.removeEventListener("abort",this[Be].abort),typeof e=="function"?(this[Be].abort=e,this.addEventListener("abort",e)):this[Be].abort=null}};on.EMPTY=on.prototype.EMPTY=0;on.LOADING=on.prototype.LOADING=1;on.DONE=on.prototype.DONE=2;Object.defineProperties(on.prototype,{EMPTY:Sl,LOADING:Sl,DONE:Sl,readAsArrayBuffer:br,readAsBinaryString:br,readAsText:br,readAsDataURL:br,abort:br,readyState:br,result:br,error:br,onloadstart:br,onprogress:br,onload:br,onabort:br,onerror:br,onloadend:br,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(on,{EMPTY:Sl,LOADING:Sl,DONE:Sl});f2.exports={FileReader:on}});var wf=g((bUe,E2)=>{"use strict";E2.exports={kConstruct:Ge().kConstruct}});var I2=g((QUe,C2)=>{"use strict";var Nce=require("node:assert"),{URLSerializer:y2}=Ir(),{isValidHeaderName:Sce}=zr();function Rce(t,e,r=!1){let s=y2(t,r),n=y2(e,r);return s===n}o(Rce,"urlEquals");function Tce(t){Nce(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Sce(r)&&e.push(r);return e}o(Tce,"getFieldValues");C2.exports={urlEquals:Rce,getFieldValues:Tce}});var b2=g((NUe,w2)=>{"use strict";var{kConstruct:Pce}=wf(),{urlEquals:vce,getFieldValues:RQ}=I2(),{kEnumerableProperty:Ma,isDisturbed:kce}=Ae(),{webidl:$}=Gt(),{Response:Dce,cloneResponse:_ce,fromInnerResponse:Lce}=nd(),{Request:Li,fromInnerRequest:Mce}=xl(),{kState:an}=ho(),{fetching:Oce}=od(),{urlIsHttpHttpsScheme:bf,createDeferredPromise:Rl,readAllBytes:Fce}=zr(),TQ=require("node:assert"),Qf=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Pce&&$.illegalConstructor(),$.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){$.brandCheck(this,t);let s="Cache.match";$.argumentLengthCheck(arguments,1,s),e=$.converters.RequestInfo(e,s,"request"),r=$.converters.CacheQueryOptions(r,s,"options");let n=this.#n(e,r,1);if(n.length!==0)return n[0]}async matchAll(e=void 0,r={}){$.brandCheck(this,t);let s="Cache.matchAll";return e!==void 0&&(e=$.converters.RequestInfo(e,s,"request")),r=$.converters.CacheQueryOptions(r,s,"options"),this.#n(e,r)}async add(e){$.brandCheck(this,t);let r="Cache.add";$.argumentLengthCheck(arguments,1,r),e=$.converters.RequestInfo(e,r,"request");let s=[e];return await this.addAll(s)}async addAll(e){$.brandCheck(this,t);let r="Cache.addAll";$.argumentLengthCheck(arguments,1,r);let s=[],n=[];for(let p of e){if(p===void 0)throw $.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(p=$.converters.RequestInfo(p),typeof p=="string")continue;let m=p[an];if(!bf(m.url)||m.method!=="GET")throw $.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let p of e){let m=new Li(p)[an];if(!bf(m.url))throw $.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",n.push(m);let h=Rl();i.push(Oce({request:m,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)h.reject($.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let C=RQ(f.headersList.get("vary"));for(let E of C)if(E==="*"){h.reject($.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let y of i)y.abort();return}}},processResponseEndOfBody(f){if(f.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(f)}})),s.push(h.promise)}let c=await Promise.all(s),l=[],u=0;for(let p of c){let m={type:"put",request:n[u],response:p};l.push(m),u++}let A=Rl(),d=null;try{this.#t(l)}catch(p){d=p}return queueMicrotask(()=>{d===null?A.resolve(void 0):A.reject(d)}),A.promise}async put(e,r){$.brandCheck(this,t);let s="Cache.put";$.argumentLengthCheck(arguments,2,s),e=$.converters.RequestInfo(e,s,"request"),r=$.converters.Response(r,s,"response");let n=null;if(e instanceof Li?n=e[an]:n=new Li(e)[an],!bf(n.url)||n.method!=="GET")throw $.errors.exception({header:s,message:"Expected an http/s scheme when method is not GET"});let i=r[an];if(i.status===206)throw $.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let m=RQ(i.headersList.get("vary"));for(let h of m)if(h==="*")throw $.errors.exception({header:s,message:"Got * vary field value"})}if(i.body&&(kce(i.body.stream)||i.body.stream.locked))throw $.errors.exception({header:s,message:"Response body is locked or disturbed"});let a=_ce(i),c=Rl();if(i.body!=null){let h=i.body.stream.getReader();Fce(h).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:n,response:a};l.push(u);let A=await c.promise;a.body!=null&&(a.body.source=A);let d=Rl(),p=null;try{this.#t(l)}catch(m){p=m}return queueMicrotask(()=>{p===null?d.resolve():d.reject(p)}),d.promise}async delete(e,r={}){$.brandCheck(this,t);let s="Cache.delete";$.argumentLengthCheck(arguments,1,s),e=$.converters.RequestInfo(e,s,"request"),r=$.converters.CacheQueryOptions(r,s,"options");let n=null;if(e instanceof Li){if(n=e[an],n.method!=="GET"&&!r.ignoreMethod)return!1}else TQ(typeof e=="string"),n=new Li(e)[an];let i=[],a={type:"delete",request:n,options:r};i.push(a);let c=Rl(),l=null,u;try{u=this.#t(i)}catch(A){l=A}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){$.brandCheck(this,t);let s="Cache.keys";e!==void 0&&(e=$.converters.RequestInfo(e,s,"request")),r=$.converters.CacheQueryOptions(r,s,"options");let n=null;if(e!==void 0)if(e instanceof Li){if(n=e[an],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Li(e)[an]);let i=Rl(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#s(n,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=Mce(l,new AbortController().signal,"immutable");c.push(u)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let r=this.#e,s=[...r],n=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw $.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#s(a.request,a.options,n).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#s(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);TQ(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!bf(l.url))throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw $.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#s(a.request);for(let u of c){let A=r.indexOf(u);TQ(A!==-1),r.splice(A,1)}r.push([a.request,a.response]),n.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=s,a}}#s(e,r,s){let n=[],i=s??this.#e;for(let a of i){let[c,l]=a;this.#r(e,c,l,r)&&n.push(a)}return n}#r(e,r,s=null,n){let i=new URL(e.url),a=new URL(r.url);if(n?.ignoreSearch&&(a.search="",i.search=""),!vce(i,a,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let c=RQ(s.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),A=e.headersList.get(l);if(u!==A)return!1}return!0}#n(e,r,s=1/0){let n=null;if(e!==void 0)if(e instanceof Li){if(n=e[an],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Li(e)[an]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#s(n,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=Lce(c,"immutable");if(a.push(l.clone()),a.length>=s)break}return Object.freeze(a)}};Object.defineProperties(Qf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Ma,matchAll:Ma,add:Ma,addAll:Ma,put:Ma,delete:Ma,keys:Ma});var B2=[{key:"ignoreSearch",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];$.converters.CacheQueryOptions=$.dictionaryConverter(B2);$.converters.MultiCacheQueryOptions=$.dictionaryConverter([...B2,{key:"cacheName",converter:$.converters.DOMString}]);$.converters.Response=$.interfaceConverter(Dce);$.converters["sequence"]=$.sequenceConverter($.converters.RequestInfo);w2.exports={Cache:Qf}});var x2=g((RUe,Q2)=>{"use strict";var{kConstruct:cd}=wf(),{Cache:xf}=b2(),{webidl:jt}=Gt(),{kEnumerableProperty:ld}=Ae(),Nf=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==cd&&jt.illegalConstructor(),jt.util.markAsUncloneable(this)}async match(e,r={}){if(jt.brandCheck(this,t),jt.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=jt.converters.RequestInfo(e),r=jt.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let s=this.#e.get(r.cacheName);return await new xf(cd,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new xf(cd,s).match(e,r);if(i!==void 0)return i}}async has(e){jt.brandCheck(this,t);let r="CacheStorage.has";return jt.argumentLengthCheck(arguments,1,r),e=jt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){jt.brandCheck(this,t);let r="CacheStorage.open";if(jt.argumentLengthCheck(arguments,1,r),e=jt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new xf(cd,n)}let s=[];return this.#e.set(e,s),new xf(cd,s)}async delete(e){jt.brandCheck(this,t);let r="CacheStorage.delete";return jt.argumentLengthCheck(arguments,1,r),e=jt.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return jt.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Nf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:ld,has:ld,open:ld,delete:ld,keys:ld});Q2.exports={CacheStorage:Nf}});var S2=g((PUe,N2)=>{"use strict";N2.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var kQ=g((vUe,v2)=>{"use strict";function Uce(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(Uce,"isCTLExcludingHtab");function PQ(t){for(let e=0;e126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(PQ,"validateCookieName");function vQ(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r126||s===34||s===44||s===59||s===92)throw new Error("Invalid cookie value")}}o(vQ,"validateCookieValue");function T2(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(T2,"validateCookiePath");function R2(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(R2,"isLetterOrDigit");function qce(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(qce,"validateCookieDomain");var Gce=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Hce=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Sf=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function P2(t){return typeof t=="number"&&(t=new Date(t)),`${Gce[t.getUTCDay()]}, ${Sf[t.getUTCDate()]} ${Hce[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Sf[t.getUTCHours()]}:${Sf[t.getUTCMinutes()]}:${Sf[t.getUTCSeconds()]} GMT`}o(P2,"toIMFDate");function zce(t){if(t<0)throw new Error("Invalid cookie max-age")}o(zce,"validateCookieMaxAge");function Vce(t){if(t.name.length===0)return null;PQ(t.name),vQ(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(zce(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(qce(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(T2(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${P2(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[s,...n]=r.split("="),i=s.trim(),a=n.join("=");PQ(i),vQ(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Vce,"stringify");v2.exports={isCTLExcludingHtab:Uce,validateCookieName:PQ,validateCookiePath:T2,validateCookieValue:vQ,toIMFDate:P2,stringify:Vce}});var D2=g((DUe,k2)=>{"use strict";var{maxNameValuePairSize:$ce,maxAttributeValueSize:Yce}=S2(),{isCTLExcludingHtab:Jce}=kQ(),{collectASequenceOfCodePointsFast:Rf}=Ir(),Wce=require("node:assert");function jce(t){if(Jce(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=Rf(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=Rf("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>$ce?null:{name:s,value:n,...Tl(r)}}o(jce,"parseSetCookie");function Tl(t,e={}){if(t.length===0)return e;Wce(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Rf(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let a={position:0};s=Rf("=",r,a),n=r.slice(a.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>Yce)return Tl(t,e);let i=s.toLowerCase();if(i==="expires"){let a=new Date(n);e.expires=a}else if(i==="max-age"){let a=n.charCodeAt(0);if((a<48||a>57)&&n[0]!=="-"||!/^\d+$/.test(n))return Tl(t,e);let c=Number(n);e.maxAge=c}else if(i==="domain"){let a=n;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";n.length===0||n[0]!=="/"?a="/":a=n,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=n.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${s}=${n}`);return Tl(t,e)}o(Tl,"parseUnparsedAttributes");k2.exports={parseSetCookie:jce,parseUnparsedAttributes:Tl}});var M2=g((LUe,L2)=>{"use strict";var{parseSetCookie:Kce}=D2(),{stringify:Xce}=kQ(),{webidl:fe}=Gt(),{Headers:Tf}=va();function Zce(t){fe.argumentLengthCheck(arguments,1,"getCookies"),fe.brandCheck(t,Tf,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let s of e.split(";")){let[n,...i]=s.split("=");r[n.trim()]=i.join("=")}return r}o(Zce,"getCookies");function ele(t,e,r){fe.brandCheck(t,Tf,{strict:!1});let s="deleteCookie";fe.argumentLengthCheck(arguments,2,s),e=fe.converters.DOMString(e,s,"name"),r=fe.converters.DeleteCookieAttributes(r),_2(t,{name:e,value:"",expires:new Date(0),...r})}o(ele,"deleteCookie");function tle(t){fe.argumentLengthCheck(arguments,1,"getSetCookies"),fe.brandCheck(t,Tf,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Kce(r)):[]}o(tle,"getSetCookies");function _2(t,e){fe.argumentLengthCheck(arguments,2,"setCookie"),fe.brandCheck(t,Tf,{strict:!1}),e=fe.converters.Cookie(e);let r=Xce(e);r&&t.append("Set-Cookie",r)}o(_2,"setCookie");fe.converters.DeleteCookieAttributes=fe.dictionaryConverter([{converter:fe.nullableConverter(fe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);fe.converters.Cookie=fe.dictionaryConverter([{converter:fe.converters.DOMString,key:"name"},{converter:fe.converters.DOMString,key:"value"},{converter:fe.nullableConverter(t=>typeof t=="number"?fe.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:fe.nullableConverter(fe.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:fe.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:fe.sequenceConverter(fe.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);L2.exports={getCookies:Zce,deleteCookie:ele,getSetCookies:tle,setCookie:_2}});var vl=g((OUe,F2)=>{"use strict";var{webidl:V}=Gt(),{kEnumerableProperty:Qr}=Ae(),{kConstruct:O2}=Ge(),{MessagePort:rle}=require("node:worker_threads"),Pl=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===O2){super(arguments[1],arguments[2]),V.util.markAsUncloneable(this);return}let s="MessageEvent constructor";V.argumentLengthCheck(arguments,1,s),e=V.converters.DOMString(e,s,"type"),r=V.converters.MessageEventInit(r,s,"eventInitDict"),super(e,r),this.#e=r,V.util.markAsUncloneable(this)}get data(){return V.brandCheck(this,t),this.#e.data}get origin(){return V.brandCheck(this,t),this.#e.origin}get lastEventId(){return V.brandCheck(this,t),this.#e.lastEventId}get source(){return V.brandCheck(this,t),this.#e.source}get ports(){return V.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,s=!1,n=null,i="",a="",c=null,l=[]){return V.brandCheck(this,t),V.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:s,data:n,origin:i,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let s=new t(O2,e,r);return s.#e=r,s.#e.data??=null,s.#e.origin??="",s.#e.lastEventId??="",s.#e.source??=null,s.#e.ports??=[],s}},{createFastMessageEvent:sle}=Pl;delete Pl.createFastMessageEvent;var Pf=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let s="CloseEvent constructor";V.argumentLengthCheck(arguments,1,s),e=V.converters.DOMString(e,s,"type"),r=V.converters.CloseEventInit(r),super(e,r),this.#e=r,V.util.markAsUncloneable(this)}get wasClean(){return V.brandCheck(this,t),this.#e.wasClean}get code(){return V.brandCheck(this,t),this.#e.code}get reason(){return V.brandCheck(this,t),this.#e.reason}},vf=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let s="ErrorEvent constructor";V.argumentLengthCheck(arguments,1,s),super(e,r),V.util.markAsUncloneable(this),e=V.converters.DOMString(e,s,"type"),r=V.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return V.brandCheck(this,t),this.#e.message}get filename(){return V.brandCheck(this,t),this.#e.filename}get lineno(){return V.brandCheck(this,t),this.#e.lineno}get colno(){return V.brandCheck(this,t),this.#e.colno}get error(){return V.brandCheck(this,t),this.#e.error}};Object.defineProperties(Pl.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Qr,origin:Qr,lastEventId:Qr,source:Qr,ports:Qr,initMessageEvent:Qr});Object.defineProperties(Pf.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Qr,code:Qr,wasClean:Qr});Object.defineProperties(vf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Qr,filename:Qr,lineno:Qr,colno:Qr,error:Qr});V.converters.MessagePort=V.interfaceConverter(rle);V.converters["sequence"]=V.sequenceConverter(V.converters.MessagePort);var DQ=[{key:"bubbles",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];V.converters.MessageEventInit=V.dictionaryConverter([...DQ,{key:"data",converter:V.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:V.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:V.nullableConverter(V.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:V.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);V.converters.CloseEventInit=V.dictionaryConverter([...DQ,{key:"wasClean",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:V.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);V.converters.ErrorEventInit=V.dictionaryConverter([...DQ,{key:"message",converter:V.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:V.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:V.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:V.converters.any}]);F2.exports={MessageEvent:Pl,CloseEvent:Pf,ErrorEvent:vf,createFastMessageEvent:sle}});var Oa=g((UUe,U2)=>{"use strict";var nle="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",ile={enumerable:!0,writable:!1,configurable:!1},ole={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},ale={NOT_SENT:0,PROCESSING:1,SENT:2},cle={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},lle=2**16-1,ule={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Ale=Buffer.allocUnsafe(0),dle={string:1,typedArray:2,arrayBuffer:3,blob:4};U2.exports={uid:nle,sentCloseFrameState:ale,staticPropertyDescriptors:ile,states:ole,opcodes:cle,maxUnsigned16Bit:lle,parserStates:ule,emptyBuffer:Ale,sendHints:dle}});var ud=g((qUe,q2)=>{"use strict";q2.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 pd=g((GUe,j2)=>{"use strict";var{kReadyState:Ad,kController:ple,kResponse:mle,kBinaryType:hle,kWebSocketURL:fle}=ud(),{states:dd,opcodes:Ro}=Oa(),{ErrorEvent:gle,createFastMessageEvent:Ele}=vl(),{isUtf8:yle}=require("node:buffer"),{collectASequenceOfCodePointsFast:Cle,removeHTTPWhitespace:G2}=Ir();function Ile(t){return t[Ad]===dd.CONNECTING}o(Ile,"isConnecting");function Ble(t){return t[Ad]===dd.OPEN}o(Ble,"isEstablished");function wle(t){return t[Ad]===dd.CLOSING}o(wle,"isClosing");function ble(t){return t[Ad]===dd.CLOSED}o(ble,"isClosed");function _Q(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}o(_Q,"fireEvent");function Qle(t,e,r){if(t[Ad]!==dd.OPEN)return;let s;if(e===Ro.TEXT)try{s=W2(r)}catch{z2(t,"Received invalid UTF-8 in text frame.");return}else e===Ro.BINARY&&(t[hle]==="blob"?s=new Blob([r]):s=xle(r));_Q("message",t,Ele,{origin:t[fle].origin,data:s})}o(Qle,"websocketMessageReceived");function xle(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(xle,"toArrayBuffer");function Nle(t){if(t.length===0)return!1;for(let e=0;e126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(Nle,"isValidSubprotocol");function Sle(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Sle,"isValidStatusCode");function z2(t,e){let{[ple]:r,[mle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&_Q("error",t,(n,i)=>new gle(n,i),{error:new Error(e),message:e})}o(z2,"failWebsocketConnection");function V2(t){return t===Ro.CLOSE||t===Ro.PING||t===Ro.PONG}o(V2,"isControlFrame");function $2(t){return t===Ro.CONTINUATION}o($2,"isContinuationFrame");function Y2(t){return t===Ro.TEXT||t===Ro.BINARY}o(Y2,"isTextBinaryFrame");function Rle(t){return Y2(t)||$2(t)||V2(t)}o(Rle,"isValidOpcode");function Tle(t){let e={position:0},r=new Map;for(;e.position57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}o(Ple,"isValidClientWindowBits");var J2=typeof process.versions.icu=="string",H2=J2?new TextDecoder("utf-8",{fatal:!0}):void 0,W2=J2?H2.decode.bind(H2):function(t){if(yle(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};j2.exports={isConnecting:Ile,isEstablished:Ble,isClosing:wle,isClosed:ble,fireEvent:_Q,isValidSubprotocol:Nle,isValidStatusCode:Sle,failWebsocketConnection:z2,websocketMessageReceived:Qle,utf8Decode:W2,isControlFrame:V2,isContinuationFrame:$2,isTextBinaryFrame:Y2,isValidOpcode:Rle,parseExtensions:Tle,isValidClientWindowBits:Ple}});var Df=g((zUe,K2)=>{"use strict";var{maxUnsigned16Bit:vle}=Oa(),kf=16386,LQ,md=null,kl=kf;try{LQ=require("node:crypto")}catch{LQ={randomFillSync:o(function(e,r,s){for(let n=0;nvle?(a+=8,i=127):n>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(n+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=s[0],c[a-3]=s[1],c[a-2]=s[2],c[a-1]=s[3],c[1]=i,i===126?c.writeUInt16BE(n,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(n,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:Dle,states:hd,sentCloseFrameState:_f,emptyBuffer:_le,opcodes:Lle}=Oa(),{kReadyState:fd,kSentClose:Lf,kByteParser:Z2,kReceivedClose:X2,kResponse:eq}=ud(),{fireEvent:Mle,failWebsocketConnection:To,isClosing:Ole,isClosed:Fle,isEstablished:Ule,parseExtensions:qle}=pd(),{channels:Dl}=Vc(),{CloseEvent:Gle}=vl(),{makeRequest:Hle}=xl(),{fetching:zle}=od(),{Headers:Vle,getHeadersList:$le}=va(),{getDecodeSplit:Yle}=zr(),{WebsocketFrameSend:Jle}=Df(),OQ;try{OQ=require("node:crypto")}catch{}function Wle(t,e,r,s,n,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Hle({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=$le(new Vle(i.headers));c.headersList=d}let l=OQ.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),zle({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){To(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){To(s,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){To(s,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){To(s,'Server did not set Connection header to "upgrade".');return}let p=d.headersList.get("Sec-WebSocket-Accept"),m=OQ.createHash("sha1").update(l+Dle).digest("base64");if(p!==m){To(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),f;if(h!==null&&(f=qle(h),!f.has("permessage-deflate"))){To(s,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null){let E=Yle("sec-websocket-protocol",c.headersList);if(E===null||!E.includes(C)){To(s,"Protocol was not set in the opening handshake.");return}}d.socket.on("data",tq),d.socket.on("close",rq),d.socket.on("error",sq),Dl.open.hasSubscribers&&Dl.open.publish({address:d.socket.address(),protocol:C,extensions:h}),n(d,f)}})}o(Wle,"establishWebSocketConnection");function jle(t,e,r,s){if(!(Ole(t)||Fle(t)))if(!Ule(t))To(t,"Connection was closed before it was established."),t[fd]=hd.CLOSING;else if(t[Lf]===_f.NOT_SENT){t[Lf]=_f.PROCESSING;let n=new Jle;e!==void 0&&r===void 0?(n.frameData=Buffer.allocUnsafe(2),n.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(n.frameData=Buffer.allocUnsafe(2+s),n.frameData.writeUInt16BE(e,0),n.frameData.write(r,2,"utf-8")):n.frameData=_le,t[eq].socket.write(n.createFrame(Lle.CLOSE)),t[Lf]=_f.SENT,t[fd]=hd.CLOSING}else t[fd]=hd.CLOSING}o(jle,"closeWebSocketConnection");function tq(t){this.ws[Z2].write(t)||this.pause()}o(tq,"onSocketData");function rq(){let{ws:t}=this,{[eq]:e}=t;e.socket.off("data",tq),e.socket.off("close",rq),e.socket.off("error",sq);let r=t[Lf]===_f.SENT&&t[X2],s=1005,n="",i=t[Z2].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[X2]||(s=1006),t[fd]=hd.CLOSED,Mle("close",t,(a,c)=>new Gle(a,c),{wasClean:r,code:s,reason:n}),Dl.close.hasSubscribers&&Dl.close.publish({websocket:t,code:s,reason:n})}o(rq,"onSocketClose");function sq(t){let{ws:e}=this;e[fd]=hd.CLOSING,Dl.socketError.hasSubscribers&&Dl.socketError.publish(t),this.destroy()}o(sq,"onSocketError");nq.exports={establishWebSocketConnection:Wle,closeWebSocketConnection:jle}});var oq=g((JUe,iq)=>{"use strict";var{createInflateRaw:Kle,Z_DEFAULT_WINDOWBITS:Xle}=require("node:zlib"),{isValidClientWindowBits:Zle}=pd(),{MessageSizeExceededError:eue}=Ce(),tue=Buffer.from([0,0,255,255]),Mf=Symbol("kBuffer"),gd=Symbol("kLength"),UQ=class{static{o(this,"PerMessageDeflate")}#e;#t={};#s=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#s=r.maxPayloadSize}decompress(e,r,s){if(!this.#e){let n=Xle;if(this.#t.serverMaxWindowBits){if(!Zle(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Kle({windowBits:n})}catch(i){s(i);return}this.#e[Mf]=[],this.#e[gd]=0,this.#e.on("data",i=>{if(this.#e[gd]+=i.length,this.#s>0&&this.#e[gd]>this.#s){s(new eue),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[Mf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(tue),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Mf],this.#e[gd]);this.#e[Mf].length=0,this.#e[gd]=0,s(null,n)})}};iq.exports={PerMessageDeflate:UQ}});var fq=g((jUe,hq)=>{"use strict";var{Writable:rue}=require("node:stream"),sue=require("node:assert"),{parserStates:xr,opcodes:_l,states:nue,emptyBuffer:aq,sentCloseFrameState:cq}=Oa(),{kReadyState:iue,kSentClose:lq,kResponse:uq,kReceivedClose:Aq}=ud(),{channels:Of}=Vc(),{isValidStatusCode:oue,isValidOpcode:aue,failWebsocketConnection:Xr,websocketMessageReceived:dq,utf8Decode:cue,isControlFrame:qQ,isTextBinaryFrame:GQ,isContinuationFrame:lue}=pd(),{WebsocketFrameSend:pq}=Df(),{closeWebSocketConnection:mq}=FQ(),{PerMessageDeflate:uue}=oq(),{MessageSizeExceededError:HQ}=Ce();function Ed(t,e,r){mq(t,e,r,Buffer.byteLength(r)),Xr(t,r)}o(Ed,"failWebsocketConnectionWithCode");var zQ=class extends rue{static{o(this,"ByteParser")}#e=[];#t=0;#s=0;#r=!1;#n=xr.INFO;#i={};#o=[];#a;#l;#c;constructor(e,r,s={}){super(),this.ws=e,this.#a=r??new Map,this.#l=s.maxFragments??0,this.#c=s.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new uue(r,s))}_write(e,r,s){this.#e.push(e),this.#s+=e.length,this.#r=!0,this.run(s)}#u(){return this.#c>0&&!qQ(this.#i.opcode)&&this.#i.payloadLength+this.#t>this.#c?(Ed(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#r;)if(this.#n===xr.INFO){if(this.#s<2)return e();let r=this.consume(2),s=(r[0]&128)!==0,n=r[0]&15,i=(r[1]&128)===128,a=!s&&n!==_l.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!aue(n))return Xr(this.ws,"Invalid opcode received"),e();if(i)return Xr(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Xr(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){Xr(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!GQ(n)){Xr(this.ws,"Invalid frame type was fragmented.");return}if(GQ(n)&&this.#o.length>0){Xr(this.ws,"Expected continuation frame");return}if(this.#i.fragmented&&a){Xr(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&qQ(n)){Xr(this.ws,"Control frame either too large or fragmented");return}if(lue(n)&&this.#o.length===0&&!this.#i.compressed){Xr(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#i.payloadLength=c,this.#n=xr.READ_DATA,!this.#u())return}else c===126?this.#n=xr.PAYLOADLENGTH_16:c===127&&(this.#n=xr.PAYLOADLENGTH_64);GQ(n)&&(this.#i.binaryType=n,this.#i.compressed=l!==0),this.#i.opcode=n,this.#i.masked=i,this.#i.fin=s,this.#i.fragmented=a}else if(this.#n===xr.PAYLOADLENGTH_16){if(this.#s<2)return e();let r=this.consume(2);if(this.#i.payloadLength=r.readUInt16BE(0),this.#n=xr.READ_DATA,!this.#u())return}else if(this.#n===xr.PAYLOADLENGTH_64){if(this.#s<8)return e();let r=this.consume(8),s=r.readUInt32BE(0),n=r.readUInt32BE(4);if(s!==0||n>2**31-1){Xr(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#i.payloadLength=n,this.#n=xr.READ_DATA,!this.#u())return}else if(this.#n===xr.READ_DATA){if(this.#s{if(s){let i=s instanceof HQ?1009:1007;Ed(this.ws,i,s.message);return}if(this.writeFragments(n)){if(this.#c>0&&this.#t>this.#c){Ed(this.ws,1009,new HQ().message);return}if(!this.#i.fin){this.#n=xr.INFO,this.#r=!0,this.run(e);return}dq(this.ws,this.#i.binaryType,this.consumeFragments()),this.#r=!0,this.#n=xr.INFO,this.run(e)}}),this.#r=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){Ed(this.ws,1009,new HQ().message);return}!this.#i.fragmented&&this.#i.fin&&dq(this.ws,this.#i.binaryType,this.consumeFragments()),this.#n=xr.INFO}}}consume(e){if(e>this.#s)throw new Error("Called consume() before buffers satiated.");if(e===0)return aq;if(this.#e[0].length===e)return this.#s-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),s=0;for(;s!==e;){let n=this.#e[0],{length:i}=n;if(i+s===e){r.set(this.#e.shift(),s);break}else if(i+s>e){r.set(n.subarray(0,e-s),s),this.#e[0]=n.subarray(e-s);break}else r.set(this.#e.shift(),s),s+=n.length}return this.#s-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(Ed(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){sue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!oue(r))return{code:1002,reason:"Invalid status code",error:!0};let s=e.subarray(2);s[0]===239&&s[1]===187&&s[2]===191&&(s=s.subarray(3));try{s=cue(s)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:s,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:s}=this.#i;if(r===_l.CLOSE){if(s===1)return Xr(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#i.closeInfo=this.parseCloseBody(e),this.#i.closeInfo.error){let{code:n,reason:i}=this.#i.closeInfo;return mq(this.ws,n,i,i.length),Xr(this.ws,i),!1}if(this.ws[lq]!==cq.SENT){let n=aq;this.#i.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#i.closeInfo.code,0));let i=new pq(n);this.ws[uq].socket.write(i.createFrame(_l.CLOSE),a=>{a||(this.ws[lq]=cq.SENT)})}return this.ws[iue]=nue.CLOSING,this.ws[Aq]=!0,!1}else if(r===_l.PING){if(!this.ws[Aq]){let n=new pq(e);this.ws[uq].socket.write(n.createFrame(_l.PONG)),Of.ping.hasSubscribers&&Of.ping.publish({payload:e})}}else r===_l.PONG&&Of.pong.hasSubscribers&&Of.pong.publish({payload:e});return!0}get closingInfo(){return this.#i.closeInfo}};hq.exports={ByteParser:zQ}});var Iq=g((XUe,Cq)=>{"use strict";var{WebsocketFrameSend:Aue}=Df(),{opcodes:gq,sendHints:Ll}=Oa(),due=jw(),Eq=Buffer[Symbol.species],VQ=class{static{o(this,"SendQueue")}#e=new due;#t=!1;#s;constructor(e){this.#s=e}add(e,r,s){if(s!==Ll.blob){let i=yq(e,s);if(!this.#t)this.#s.write(i,r);else{let a={promise:null,callback:r,frame:i};this.#e.push(a)}return}let n={promise:e.arrayBuffer().then(i=>{n.promise=null,n.frame=yq(i,s)}),callback:r,frame:null};this.#e.push(n),this.#t||this.#r()}async#r(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#s.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function yq(t,e){return new Aue(pue(t,e)).createFrame(e===Ll.string?gq.TEXT:gq.BINARY)}o(yq,"createFrame");function pue(t,e){switch(e){case Ll.string:return Buffer.from(t);case Ll.arrayBuffer:case Ll.blob:return new Eq(t);case Ll.typedArray:return new Eq(t.buffer,t.byteOffset,t.byteLength)}}o(pue,"toBuffer");Cq.exports={SendQueue:VQ}});var Pq=g((e1e,Tq)=>{"use strict";var{webidl:ee}=Gt(),{URLSerializer:mue}=Ir(),{environmentSettingsObject:Bq}=zr(),{staticPropertyDescriptors:Po,states:yd,sentCloseFrameState:hue,sendHints:Ff}=Oa(),{kWebSocketURL:wq,kReadyState:$Q,kController:bq,kBinaryType:Uf,kResponse:Qq,kSentClose:fue,kByteParser:gue}=ud(),{isConnecting:Eue,isEstablished:yue,isClosing:Cue,isValidSubprotocol:Iue,fireEvent:xq}=pd(),{establishWebSocketConnection:Bue,closeWebSocketConnection:Nq}=FQ(),{ByteParser:wue}=fq(),{kEnumerableProperty:Cs,isBlobLike:Sq}=Ae(),{getGlobalDispatcher:bue}=ef(),{types:Rq}=require("node:util"),{ErrorEvent:Que,CloseEvent:xue}=vl(),{SendQueue:Nue}=Iq(),Zr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#s="";#r="";#n;constructor(e,r=[]){super(),ee.util.markAsUncloneable(this);let s="WebSocket constructor";ee.argumentLengthCheck(arguments,1,s);let n=ee.converters["DOMString or sequence or WebSocketInit"](r,s,"options");e=ee.converters.USVString(e,s,"url"),r=n.protocols;let i=Bq.settingsObject.baseUrl,a;try{a=new URL(e,i)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>Iue(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[wq]=new URL(a.href);let c=Bq.settingsObject;this[bq]=Bue(a,r,c,this,(l,u)=>this.#i(l,u),n),this[$Q]=t.CONNECTING,this[fue]=hue.NOT_SENT,this[Uf]="blob"}close(e=void 0,r=void 0){ee.brandCheck(this,t);let s="WebSocket.close";if(e!==void 0&&(e=ee.converters["unsigned short"](e,s,"code",{clamp:!0})),r!==void 0&&(r=ee.converters.USVString(r,s,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");Nq(this,e,r,n)}send(e){ee.brandCheck(this,t);let r="WebSocket.send";if(ee.argumentLengthCheck(arguments,1,r),e=ee.converters.WebSocketSendData(e,r,"data"),Eue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!yue(this)||Cue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},Ff.string)}else Rq.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Ff.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Ff.typedArray)):Sq(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},Ff.blob))}get readyState(){return ee.brandCheck(this,t),this[$Q]}get bufferedAmount(){return ee.brandCheck(this,t),this.#t}get url(){return ee.brandCheck(this,t),mue(this[wq])}get extensions(){return ee.brandCheck(this,t),this.#r}get protocol(){return ee.brandCheck(this,t),this.#s}get onopen(){return ee.brandCheck(this,t),this.#e.open}set onopen(e){ee.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return ee.brandCheck(this,t),this.#e.error}set onerror(e){ee.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return ee.brandCheck(this,t),this.#e.close}set onclose(e){ee.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return ee.brandCheck(this,t),this.#e.message}set onmessage(e){ee.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return ee.brandCheck(this,t),this[Uf]}set binaryType(e){ee.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Uf]="blob":this[Uf]=e}#i(e,r){this[Qq]=e;let s=this[bq]?.dispatcher?.webSocketOptions,n=s?.maxFragments,i=s?.maxPayloadSize,a=new wue(this,r,{maxFragments:n,maxPayloadSize:i});a.on("drain",Sue),a.on("error",Rue.bind(this)),e.socket.ws=this,this[gue]=a,this.#n=new Nue(e.socket),this[$Q]=yd.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#r=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#s=l),xq("open",this)}};Zr.CONNECTING=Zr.prototype.CONNECTING=yd.CONNECTING;Zr.OPEN=Zr.prototype.OPEN=yd.OPEN;Zr.CLOSING=Zr.prototype.CLOSING=yd.CLOSING;Zr.CLOSED=Zr.prototype.CLOSED=yd.CLOSED;Object.defineProperties(Zr.prototype,{CONNECTING:Po,OPEN:Po,CLOSING:Po,CLOSED:Po,url:Cs,readyState:Cs,bufferedAmount:Cs,onopen:Cs,onerror:Cs,onclose:Cs,close:Cs,onmessage:Cs,binaryType:Cs,send:Cs,extensions:Cs,protocol:Cs,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Zr,{CONNECTING:Po,OPEN:Po,CLOSING:Po,CLOSED:Po});ee.converters["sequence"]=ee.sequenceConverter(ee.converters.DOMString);ee.converters["DOMString or sequence"]=function(t,e,r){return ee.util.Type(t)==="Object"&&Symbol.iterator in t?ee.converters["sequence"](t):ee.converters.DOMString(t,e,r)};ee.converters.WebSocketInit=ee.dictionaryConverter([{key:"protocols",converter:ee.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:ee.converters.any,defaultValue:o(()=>bue(),"defaultValue")},{key:"headers",converter:ee.nullableConverter(ee.converters.HeadersInit)}]);ee.converters["DOMString or sequence or WebSocketInit"]=function(t){return ee.util.Type(t)==="Object"&&!(Symbol.iterator in t)?ee.converters.WebSocketInit(t):{protocols:ee.converters["DOMString or sequence"](t)}};ee.converters.WebSocketSendData=function(t){if(ee.util.Type(t)==="Object"){if(Sq(t))return ee.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Rq.isArrayBuffer(t))return ee.converters.BufferSource(t)}return ee.converters.USVString(t)};function Sue(){this.ws[Qq].socket.resume()}o(Sue,"onParserDrain");function Rue(t){let e,r;t instanceof xue?(e=t.reason,r=t.code):e=t.message,xq("error",this,()=>new Que("error",{error:t,message:e})),Nq(this,r)}o(Rue,"onParserError");Tq.exports={WebSocket:Zr}});var YQ=g((r1e,vq)=>{"use strict";function Tue(t){return t.indexOf("\0")===-1}o(Tue,"isValidLastEventId");function Pue(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(Pue,"isASCIINumber");function vue(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(vue,"delay");vq.exports={isValidLastEventId:Tue,isASCIINumber:Pue,delay:vue}});var Dq=g((n1e,kq)=>{"use strict";var{Transform:kue}=require("node:stream"),{isASCIINumber:Due,isValidLastEventId:_ue}=YQ(),Ml=[239,187,191],JQ=10,qf=13,Lue=58,Mue=32,Oue=Buffer.from("data"),Fue=Buffer.from("event"),Uue=Buffer.from("id"),que=Buffer.from("retry");function Gue(t,e){if(e>=t.length)return!1;for(let r=e;r57)return!1;return!0}o(Gue,"isASCIINumberBytes");function Hue(t,e){for(let r=e;r0&&(r.event=a)}}processEvent(e){e.retry&&Due(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&_ue(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],r=0;for(let s=this.lineChunkIndex;s<=this.chunkIndex;s++){let n=this.chunks[s],i=s===this.lineChunkIndex?this.linePos:0,a=s===this.chunkIndex?this.pos:n.length,c=n.subarray(i,a);r+=c.length,e.push(c)}return Buffer.concat(e,r)}peekBufferedByte(e){let r=this.lineChunkIndex,s=this.linePos;for(;r0&&this.lineChunkIndex{"use strict";var{pipeline:zue}=require("node:stream"),{fetching:Vue}=od(),{makeRequest:$ue}=xl(),{webidl:Mi}=Gt(),{EventSourceStream:Yue}=Dq(),{parseMIMEType:Jue}=Ir(),{createFastMessageEvent:Wue}=vl(),{isNetworkError:_q}=nd(),{delay:jue}=YQ(),{kEnumerableProperty:Fa}=Ae(),{environmentSettingsObject:Lq}=zr(),Mq=!1,Oq=3e3,Cd=0,Fq=1,Id=2,Kue="anonymous",Xue="use-credentials",Ol=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#s=!1;#r=Cd;#n=null;#i=null;#o;#a;constructor(e,r={}){super(),Mi.util.markAsUncloneable(this);let s="EventSource constructor";Mi.argumentLengthCheck(arguments,1,s),Mq||(Mq=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Mi.converters.USVString(e,s,"url"),r=Mi.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:Oq};let n=Lq,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=Kue;r.withCredentials&&(a=Xue,this.#s=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Lq.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=$ue(c),this.#l()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#l(){if(this.#r===Id)return;this.#r=Cd;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{_q(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(_q(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=s.headersList.get("content-type",!0),i=n!==null?Jue(n):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=Fq,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new Yue({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(Wue(l.type,l.options))},"push")});zue(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#i=Vue(e)}async#c(){this.#r!==Id&&(this.#r=Cd,this.dispatchEvent(new Event("error")),await jue(this.#a.reconnectionTime),this.#r===Cd&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Mi.brandCheck(this,t),this.#r!==Id&&(this.#r=Id,this.#i.abort(),this.#n=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},Uq={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Cd,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Fq,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Id,writable:!1}};Object.defineProperties(Ol,Uq);Object.defineProperties(Ol.prototype,Uq);Object.defineProperties(Ol.prototype,{close:Fa,onerror:Fa,onmessage:Fa,onopen:Fa,readyState:Fa,url:Fa,withCredentials:Fa});Mi.converters.EventSourceInitDict=Mi.dictionaryConverter([{key:"withCredentials",converter:Mi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Mi.converters.any}]);qq.exports={EventSource:Ol,defaultReconnectionTime:Oq}});var Ul=g((c1e,Z)=>{"use strict";var Zue=dl(),Hq=bA(),eAe=pl(),tAe=GO(),rAe=ml(),sAe=fb(),nAe=dF(),iAe=yF(),zq=Ce(),zf=Ae(),{InvalidArgumentError:Hf}=zq,Fl=iU(),oAe=xA(),aAe=Kb(),cAe=qU(),lAe=eQ(),uAe=Ob(),AAe=zh(),{getGlobalDispatcher:Vq,setGlobalDispatcher:dAe}=ef(),pAe=tf(),mAe=kh(),hAe=Dh();Object.assign(Hq.prototype,Fl);Z.exports.Dispatcher=Hq;Z.exports.Client=Zue;Z.exports.Pool=eAe;Z.exports.BalancedPool=tAe;Z.exports.Agent=rAe;Z.exports.ProxyAgent=sAe;Z.exports.EnvHttpProxyAgent=nAe;Z.exports.RetryAgent=iAe;Z.exports.RetryHandler=AAe;Z.exports.DecoratorHandler=pAe;Z.exports.RedirectHandler=mAe;Z.exports.createRedirectInterceptor=hAe;Z.exports.interceptors={redirect:JU(),retry:jU(),dump:XU(),dns:t1()};Z.exports.buildConnector=oAe;Z.exports.errors=zq;Z.exports.util={parseHeaders:zf.parseHeaders,headerNameToString:zf.headerNameToString};function Bd(t){return(e,r,s)=>{if(typeof r=="function"&&(s=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Hf("invalid url");if(r!=null&&typeof r!="object")throw new Hf("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Hf("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(zf.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=zf.parseURL(e);let{agent:n,dispatcher:i=Vq()}=r;if(n)throw new Hf("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}o(Bd,"makeDispatcher");Z.exports.setGlobalDispatcher=dAe;Z.exports.getGlobalDispatcher=Vq;var fAe=od().fetch;Z.exports.fetch=o(async function(e,r=void 0){try{return await fAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}},"fetch");Z.exports.Headers=va().Headers;Z.exports.Response=nd().Response;Z.exports.Request=xl().Request;Z.exports.FormData=kA().FormData;Z.exports.File=globalThis.File??require("node:buffer").File;Z.exports.FileReader=g2().FileReader;var{setGlobalOrigin:gAe,getGlobalOrigin:EAe}=gw();Z.exports.setGlobalOrigin=gAe;Z.exports.getGlobalOrigin=EAe;var{CacheStorage:yAe}=x2(),{kConstruct:CAe}=wf();Z.exports.caches=new yAe(CAe);var{deleteCookie:IAe,getCookies:BAe,getSetCookies:wAe,setCookie:bAe}=M2();Z.exports.deleteCookie=IAe;Z.exports.getCookies=BAe;Z.exports.getSetCookies=wAe;Z.exports.setCookie=bAe;var{parseMIMEType:QAe,serializeAMimeType:xAe}=Ir();Z.exports.parseMIMEType=QAe;Z.exports.serializeAMimeType=xAe;var{CloseEvent:NAe,ErrorEvent:SAe,MessageEvent:RAe}=vl();Z.exports.WebSocket=Pq().WebSocket;Z.exports.CloseEvent=NAe;Z.exports.ErrorEvent=SAe;Z.exports.MessageEvent=RAe;Z.exports.request=Bd(Fl.request);Z.exports.stream=Bd(Fl.stream);Z.exports.pipeline=Bd(Fl.pipeline);Z.exports.connect=Bd(Fl.connect);Z.exports.upgrade=Bd(Fl.upgrade);Z.exports.MockClient=aAe;Z.exports.MockPool=lAe;Z.exports.MockAgent=cAe;Z.exports.mockErrors=uAe;var{EventSource:TAe}=Gq();Z.exports.EventSource=TAe});var Td=g((M2e,wG)=>{"use strict";var KAe="2.0.0",XAe=Number.MAX_SAFE_INTEGER||9007199254740991,ZAe=16,ede=250,tde=["major","premajor","minor","preminor","patch","prepatch","prerelease"];wG.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ZAe,MAX_SAFE_BUILD_LENGTH:ede,MAX_SAFE_INTEGER:XAe,RELEASE_TYPES:tde,SEMVER_SPEC_VERSION:KAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Pd=g((O2e,bG)=>{"use strict";var rde=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};bG.exports=rde});var Jl=g((Dn,QG)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:mx,MAX_SAFE_BUILD_LENGTH:sde,MAX_LENGTH:nde}=Td(),ide=Pd();Dn=QG.exports={};var ode=Dn.re=[],ade=Dn.safeRe=[],D=Dn.src=[],cde=Dn.safeSrc=[],_=Dn.t={},lde=0,hx="[a-zA-Z0-9-]",ude=[["\\s",1],["\\d",nde],[hx,sde]],Ade=o(t=>{for(let[e,r]of ude)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),se=o((t,e,r)=>{let s=Ade(e),n=lde++;ide(t,n,e),_[t]=n,D[n]=e,cde[n]=s,ode[n]=new RegExp(e,r?"g":void 0),ade[n]=new RegExp(s,r?"g":void 0)},"createToken");se("NUMERICIDENTIFIER","0|[1-9]\\d*");se("NUMERICIDENTIFIERLOOSE","\\d+");se("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${hx}*`);se("MAINVERSION",`(${D[_.NUMERICIDENTIFIER]})\\.(${D[_.NUMERICIDENTIFIER]})\\.(${D[_.NUMERICIDENTIFIER]})`);se("MAINVERSIONLOOSE",`(${D[_.NUMERICIDENTIFIERLOOSE]})\\.(${D[_.NUMERICIDENTIFIERLOOSE]})\\.(${D[_.NUMERICIDENTIFIERLOOSE]})`);se("PRERELEASEIDENTIFIER",`(?:${D[_.NONNUMERICIDENTIFIER]}|${D[_.NUMERICIDENTIFIER]})`);se("PRERELEASEIDENTIFIERLOOSE",`(?:${D[_.NONNUMERICIDENTIFIER]}|${D[_.NUMERICIDENTIFIERLOOSE]})`);se("PRERELEASE",`(?:-(${D[_.PRERELEASEIDENTIFIER]}(?:\\.${D[_.PRERELEASEIDENTIFIER]})*))`);se("PRERELEASELOOSE",`(?:-?(${D[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${D[_.PRERELEASEIDENTIFIERLOOSE]})*))`);se("BUILDIDENTIFIER",`${hx}+`);se("BUILD",`(?:\\+(${D[_.BUILDIDENTIFIER]}(?:\\.${D[_.BUILDIDENTIFIER]})*))`);se("FULLPLAIN",`v?${D[_.MAINVERSION]}${D[_.PRERELEASE]}?${D[_.BUILD]}?`);se("FULL",`^${D[_.FULLPLAIN]}$`);se("LOOSEPLAIN",`[v=\\s]*${D[_.MAINVERSIONLOOSE]}${D[_.PRERELEASELOOSE]}?${D[_.BUILD]}?`);se("LOOSE",`^${D[_.LOOSEPLAIN]}$`);se("GTLT","((?:<|>)?=?)");se("XRANGEIDENTIFIERLOOSE",`${D[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);se("XRANGEIDENTIFIER",`${D[_.NUMERICIDENTIFIER]}|x|X|\\*`);se("XRANGEPLAIN",`[v=\\s]*(${D[_.XRANGEIDENTIFIER]})(?:\\.(${D[_.XRANGEIDENTIFIER]})(?:\\.(${D[_.XRANGEIDENTIFIER]})(?:${D[_.PRERELEASE]})?${D[_.BUILD]}?)?)?`);se("XRANGEPLAINLOOSE",`[v=\\s]*(${D[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[_.XRANGEIDENTIFIERLOOSE]})(?:${D[_.PRERELEASELOOSE]})?${D[_.BUILD]}?)?)?`);se("XRANGE",`^${D[_.GTLT]}\\s*${D[_.XRANGEPLAIN]}$`);se("XRANGELOOSE",`^${D[_.GTLT]}\\s*${D[_.XRANGEPLAINLOOSE]}$`);se("COERCEPLAIN",`(^|[^\\d])(\\d{1,${mx}})(?:\\.(\\d{1,${mx}}))?(?:\\.(\\d{1,${mx}}))?`);se("COERCE",`${D[_.COERCEPLAIN]}(?:$|[^\\d])`);se("COERCEFULL",D[_.COERCEPLAIN]+`(?:${D[_.PRERELEASE]})?(?:${D[_.BUILD]})?(?:$|[^\\d])`);se("COERCERTL",D[_.COERCE],!0);se("COERCERTLFULL",D[_.COERCEFULL],!0);se("LONETILDE","(?:~>?)");se("TILDETRIM",`(\\s*)${D[_.LONETILDE]}\\s+`,!0);Dn.tildeTrimReplace="$1~";se("TILDE",`^${D[_.LONETILDE]}${D[_.XRANGEPLAIN]}$`);se("TILDELOOSE",`^${D[_.LONETILDE]}${D[_.XRANGEPLAINLOOSE]}$`);se("LONECARET","(?:\\^)");se("CARETTRIM",`(\\s*)${D[_.LONECARET]}\\s+`,!0);Dn.caretTrimReplace="$1^";se("CARET",`^${D[_.LONECARET]}${D[_.XRANGEPLAIN]}$`);se("CARETLOOSE",`^${D[_.LONECARET]}${D[_.XRANGEPLAINLOOSE]}$`);se("COMPARATORLOOSE",`^${D[_.GTLT]}\\s*(${D[_.LOOSEPLAIN]})$|^$`);se("COMPARATOR",`^${D[_.GTLT]}\\s*(${D[_.FULLPLAIN]})$|^$`);se("COMPARATORTRIM",`(\\s*)${D[_.GTLT]}\\s*(${D[_.LOOSEPLAIN]}|${D[_.XRANGEPLAIN]})`,!0);Dn.comparatorTrimReplace="$1$2$3";se("HYPHENRANGE",`^\\s*(${D[_.XRANGEPLAIN]})\\s+-\\s+(${D[_.XRANGEPLAIN]})\\s*$`);se("HYPHENRANGELOOSE",`^\\s*(${D[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${D[_.XRANGEPLAINLOOSE]})\\s*$`);se("STAR","(<|>)?=?\\s*\\*");se("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");se("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Kf=g((U2e,xG)=>{"use strict";var dde=Object.freeze({loose:!0}),pde=Object.freeze({}),mde=o(t=>t?typeof t!="object"?dde:t:pde,"parseOptions");xG.exports=mde});var fx=g((G2e,RG)=>{"use strict";var NG=/^[0-9]+$/,SG=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tSG(e,t),"rcompareIdentifiers");RG.exports={compareIdentifiers:SG,rcompareIdentifiers:hde}});var Xt=g((z2e,PG)=>{"use strict";var Xf=Pd(),{MAX_LENGTH:TG,MAX_SAFE_INTEGER:Zf}=Td(),{safeRe:eg,t:tg}=Jl(),fde=Kf(),{compareIdentifiers:gx}=fx(),Ex=class t{static{o(this,"SemVer")}constructor(e,r){if(r=fde(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>TG)throw new TypeError(`version is longer than ${TG} characters`);Xf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?eg[tg.LOOSE]:eg[tg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Zf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Zf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Zf||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(Xf("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return gx(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(Xf("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return gx(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?eg[tg.PRERELEASELOOSE]:eg[tg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),gx(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};PG.exports=Ex});var Va=g(($2e,kG)=>{"use strict";var vG=Xt(),gde=o((t,e,r=!1)=>{if(t instanceof vG)return t;try{return new vG(t,e)}catch(s){if(!r)return null;throw s}},"parse");kG.exports=gde});var _G=g((J2e,DG)=>{"use strict";var Ede=Va(),yde=o((t,e)=>{let r=Ede(t,e);return r?r.version:null},"valid");DG.exports=yde});var MG=g((j2e,LG)=>{"use strict";var Cde=Va(),Ide=o((t,e)=>{let r=Cde(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");LG.exports=Ide});var UG=g((X2e,FG)=>{"use strict";var OG=Xt(),Bde=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new OG(t instanceof OG?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");FG.exports=Bde});var HG=g((eqe,GG)=>{"use strict";var qG=Va(),wde=o((t,e)=>{let r=qG(t,null,!0),s=qG(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");GG.exports=wde});var VG=g((rqe,zG)=>{"use strict";var bde=Xt(),Qde=o((t,e)=>new bde(t,e).major,"major");zG.exports=Qde});var YG=g((nqe,$G)=>{"use strict";var xde=Xt(),Nde=o((t,e)=>new xde(t,e).minor,"minor");$G.exports=Nde});var WG=g((oqe,JG)=>{"use strict";var Sde=Xt(),Rde=o((t,e)=>new Sde(t,e).patch,"patch");JG.exports=Rde});var KG=g((cqe,jG)=>{"use strict";var Tde=Va(),Pde=o((t,e)=>{let r=Tde(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");jG.exports=Pde});var Is=g((uqe,ZG)=>{"use strict";var XG=Xt(),vde=o((t,e,r)=>new XG(t,r).compare(new XG(e,r)),"compare");ZG.exports=vde});var tH=g((dqe,eH)=>{"use strict";var kde=Is(),Dde=o((t,e,r)=>kde(e,t,r),"rcompare");eH.exports=Dde});var sH=g((mqe,rH)=>{"use strict";var _de=Is(),Lde=o((t,e)=>_de(t,e,!0),"compareLoose");rH.exports=Lde});var rg=g((fqe,iH)=>{"use strict";var nH=Xt(),Mde=o((t,e,r)=>{let s=new nH(t,r),n=new nH(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");iH.exports=Mde});var aH=g((Eqe,oH)=>{"use strict";var Ode=rg(),Fde=o((t,e)=>t.sort((r,s)=>Ode(r,s,e)),"sort");oH.exports=Fde});var lH=g((Cqe,cH)=>{"use strict";var Ude=rg(),qde=o((t,e)=>t.sort((r,s)=>Ude(s,r,e)),"rsort");cH.exports=qde});var vd=g((Bqe,uH)=>{"use strict";var Gde=Is(),Hde=o((t,e,r)=>Gde(t,e,r)>0,"gt");uH.exports=Hde});var sg=g((bqe,AH)=>{"use strict";var zde=Is(),Vde=o((t,e,r)=>zde(t,e,r)<0,"lt");AH.exports=Vde});var yx=g((xqe,dH)=>{"use strict";var $de=Is(),Yde=o((t,e,r)=>$de(t,e,r)===0,"eq");dH.exports=Yde});var Cx=g((Sqe,pH)=>{"use strict";var Jde=Is(),Wde=o((t,e,r)=>Jde(t,e,r)!==0,"neq");pH.exports=Wde});var ng=g((Tqe,mH)=>{"use strict";var jde=Is(),Kde=o((t,e,r)=>jde(t,e,r)>=0,"gte");mH.exports=Kde});var ig=g((vqe,hH)=>{"use strict";var Xde=Is(),Zde=o((t,e,r)=>Xde(t,e,r)<=0,"lte");hH.exports=Zde});var Ix=g((Dqe,fH)=>{"use strict";var epe=yx(),tpe=Cx(),rpe=vd(),spe=ng(),npe=sg(),ipe=ig(),ope=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return epe(t,r,s);case"!=":return tpe(t,r,s);case">":return rpe(t,r,s);case">=":return spe(t,r,s);case"<":return npe(t,r,s);case"<=":return ipe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");fH.exports=ope});var EH=g((Lqe,gH)=>{"use strict";var ape=Xt(),cpe=Va(),{safeRe:og,t:ag}=Jl(),lpe=o((t,e)=>{if(t instanceof ape)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?og[ag.COERCEFULL]:og[ag.COERCE]);else{let l=e.includePrerelease?og[ag.COERCERTLFULL]:og[ag.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return cpe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");gH.exports=lpe});var CH=g((Oqe,yH)=>{"use strict";var Bx=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};yH.exports=Bx});var Bs=g((Uqe,bH)=>{"use strict";var upe=/\s+/g,wx=class t{static{o(this,"Range")}constructor(e,r){if(r=dpe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof bx)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(upe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!BH(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&ype(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&gpe)|(this.options.loose&&Epe))+":"+e,n=IH.get(s);if(n)return n;let i=this.options.loose,a=i?cr[Zt.HYPHENRANGELOOSE]:cr[Zt.HYPHENRANGE];e=e.replace(a,Rpe(this.options.includePrerelease)),Oe("hyphen replace",e),e=e.replace(cr[Zt.COMPARATORTRIM],mpe),Oe("comparator trim",e),e=e.replace(cr[Zt.TILDETRIM],hpe),Oe("tilde trim",e),e=e.replace(cr[Zt.CARETTRIM],fpe),Oe("caret trim",e);let c=e.split(" ").map(d=>Cpe(d,this.options)).join(" ").split(/\s+/).map(d=>Spe(d,this.options));i&&(c=c.filter(d=>(Oe("loose invalid filter",d,this.options),!!d.match(cr[Zt.COMPARATORLOOSE])))),Oe("range list",c);let l=new Map,u=c.map(d=>new bx(d,this.options));for(let d of u){if(BH(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return IH.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>wH(s,r)&&e.set.some(n=>wH(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new ppe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),ype=o(t=>t.value==="","isAny"),wH=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),Cpe=o((t,e)=>(t=t.replace(cr[Zt.BUILD],""),Oe("comp",t,e),t=wpe(t,e),Oe("caret",t),t=Ipe(t,e),Oe("tildes",t),t=Qpe(t,e),Oe("xrange",t),t=Npe(t,e),Oe("stars",t),t),"parseComparator"),lr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Ipe=o((t,e)=>t.trim().split(/\s+/).map(r=>Bpe(r,e)).join(" "),"replaceTildes"),Bpe=o((t,e)=>{let r=e.loose?cr[Zt.TILDELOOSE]:cr[Zt.TILDE];return t.replace(r,(s,n,i,a,c)=>{Oe("tilde",t,s,n,i,a,c);let l;return lr(n)?l="":lr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:lr(a)?l=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:c?(Oe("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,Oe("tilde return",l),l})},"replaceTilde"),wpe=o((t,e)=>t.trim().split(/\s+/).map(r=>bpe(r,e)).join(" "),"replaceCarets"),bpe=o((t,e)=>{Oe("caret",t,e);let r=e.loose?cr[Zt.CARETLOOSE]:cr[Zt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Oe("caret",t,n,i,a,c,l);let u;return lr(i)?u="":lr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:lr(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Oe("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Oe("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c}${s} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Oe("caret return",u),u})},"replaceCaret"),Qpe=o((t,e)=>(Oe("replaceXRanges",t,e),t.split(/\s+/).map(r=>xpe(r,e)).join(" ")),"replaceXRanges"),xpe=o((t,e)=>{t=t.trim();let r=e.loose?cr[Zt.XRANGELOOSE]:cr[Zt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{Oe("xRange",t,s,n,i,a,c,l);let u=lr(i),A=u||lr(a),d=A||lr(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Oe("xRange return",s),s})},"replaceXRange"),Npe=o((t,e)=>(Oe("replaceStars",t,e),t.trim().replace(cr[Zt.STAR],"")),"replaceStars"),Spe=o((t,e)=>(Oe("replaceGTE0",t,e),t.trim().replace(cr[e.includePrerelease?Zt.GTE0PRE:Zt.GTE0],"")),"replaceGTE0"),Rpe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(lr(s)?r="":lr(n)?r=`>=${s}.0.0${t?"-0":""}`:lr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,lr(u)?l="":lr(A)?l=`<${+u+1}.0.0-0`:lr(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),Tpe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var kd=g((Gqe,TH)=>{"use strict";var Dd=Symbol("SemVer ANY"),Nx=class t{static{o(this,"Comparator")}static get ANY(){return Dd}constructor(e,r){if(r=QH(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),xx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Dd?this.value="":this.value=this.operator+this.semver.version,xx("comp",this)}parse(e){let r=this.options.loose?xH[NH.COMPARATORLOOSE]:xH[NH.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new SH(s[2],this.options.loose):this.semver=Dd}toString(){return this.value}test(e){if(xx("Comparator.test",e,this.options.loose),this.semver===Dd||e===Dd)return!0;if(typeof e=="string")try{e=new SH(e,this.options)}catch{return!1}return Qx(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new RH(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new RH(this.value,r).test(e.semver):(r=QH(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Qx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Qx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};TH.exports=Nx;var QH=Kf(),{safeRe:xH,t:NH}=Jl(),Qx=Ix(),xx=Pd(),SH=Xt(),RH=Bs()});var _d=g((zqe,PH)=>{"use strict";var Ppe=Bs(),vpe=o((t,e,r)=>{try{e=new Ppe(e,r)}catch{return!1}return e.test(t)},"satisfies");PH.exports=vpe});var kH=g(($qe,vH)=>{"use strict";var kpe=Bs(),Dpe=o((t,e)=>new kpe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");vH.exports=Dpe});var _H=g((Jqe,DH)=>{"use strict";var _pe=Xt(),Lpe=Bs(),Mpe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Lpe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new _pe(s,r))}),s},"maxSatisfying");DH.exports=Mpe});var MH=g((jqe,LH)=>{"use strict";var Ope=Xt(),Fpe=Bs(),Upe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Fpe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Ope(s,r))}),s},"minSatisfying");LH.exports=Upe});var UH=g((Xqe,FH)=>{"use strict";var Sx=Xt(),qpe=Bs(),OH=vd(),Gpe=o((t,e)=>{t=new qpe(t,e);let r=new Sx("0.0.0");if(t.test(r)||(r=new Sx("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new Sx(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||OH(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||OH(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");FH.exports=Gpe});var GH=g((eGe,qH)=>{"use strict";var Hpe=Bs(),zpe=o((t,e)=>{try{return new Hpe(t,e).range||"*"}catch{return null}},"validRange");qH.exports=zpe});var cg=g((rGe,$H)=>{"use strict";var Vpe=Xt(),VH=kd(),{ANY:$pe}=VH,Ype=Bs(),Jpe=_d(),HH=vd(),zH=sg(),Wpe=ig(),jpe=ng(),Kpe=o((t,e,r,s)=>{t=new Vpe(t,s),e=new Ype(e,s);let n,i,a,c,l;switch(r){case">":n=HH,i=Wpe,a=zH,c=">",l=">=";break;case"<":n=zH,i=jpe,a=HH,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Jpe(t,e,s))return!1;for(let u=0;u{m.semver===$pe&&(m=new VH(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");$H.exports=Kpe});var JH=g((nGe,YH)=>{"use strict";var Xpe=cg(),Zpe=o((t,e,r)=>Xpe(t,e,">",r),"gtr");YH.exports=Zpe});var jH=g((oGe,WH)=>{"use strict";var eme=cg(),tme=o((t,e,r)=>eme(t,e,"<",r),"ltr");WH.exports=tme});var ZH=g((cGe,XH)=>{"use strict";var KH=Bs(),rme=o((t,e,r)=>(t=new KH(t,r),e=new KH(e,r),t.intersects(e,r)),"intersects");XH.exports=rme});var tz=g((uGe,ez)=>{"use strict";var sme=_d(),nme=Is();ez.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>nme(A,d,r));for(let A of a)sme(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var rz=Bs(),Tx=kd(),{ANY:Rx}=Tx,Ld=_d(),Px=Is(),ime=o((t,e,r={})=>{if(t===e)return!0;t=new rz(t,r),e=new rz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=ame(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),ome=[new Tx(">=0.0.0-0")],sz=[new Tx(">=0.0.0")],ame=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Rx){if(e.length===1&&e[0].semver===Rx)return!0;r.includePrerelease?t=ome:t=sz}if(e.length===1&&e[0].semver===Rx){if(r.includePrerelease)return!0;e=sz}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=nz(n,m,r):m.operator==="<"||m.operator==="<="?i=iz(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=Px(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!Ld(m,String(n),r)||i&&!Ld(m,String(i),r))return null;for(let h of e)if(!Ld(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=nz(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!Ld(n.semver,String(m),r))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=iz(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!Ld(i.semver,String(m),r))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),nz=o((t,e,r)=>{if(!t)return e;let s=Px(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),iz=o((t,e,r)=>{if(!t)return e;let s=Px(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");oz.exports=ime});var kx=g((pGe,uz)=>{"use strict";var vx=Jl(),cz=Td(),cme=Xt(),lz=fx(),lme=Va(),ume=_G(),Ame=MG(),dme=UG(),pme=HG(),mme=VG(),hme=YG(),fme=WG(),gme=KG(),Eme=Is(),yme=tH(),Cme=sH(),Ime=rg(),Bme=aH(),wme=lH(),bme=vd(),Qme=sg(),xme=yx(),Nme=Cx(),Sme=ng(),Rme=ig(),Tme=Ix(),Pme=EH(),vme=kd(),kme=Bs(),Dme=_d(),_me=kH(),Lme=_H(),Mme=MH(),Ome=UH(),Fme=GH(),Ume=cg(),qme=JH(),Gme=jH(),Hme=ZH(),zme=tz(),Vme=az();uz.exports={parse:lme,valid:ume,clean:Ame,inc:dme,diff:pme,major:mme,minor:hme,patch:fme,prerelease:gme,compare:Eme,rcompare:yme,compareLoose:Cme,compareBuild:Ime,sort:Bme,rsort:wme,gt:bme,lt:Qme,eq:xme,neq:Nme,gte:Sme,lte:Rme,cmp:Tme,coerce:Pme,Comparator:vme,Range:kme,satisfies:Dme,toComparators:_me,maxSatisfying:Lme,minSatisfying:Mme,minVersion:Ome,validRange:Fme,outside:Ume,gtr:qme,ltr:Gme,intersects:Hme,simplifyRange:zme,subset:Vme,SemVer:cme,re:vx.re,src:vx.src,tokens:vx.t,SEMVER_SPEC_VERSION:cz.SEMVER_SPEC_VERSION,RELEASE_TYPES:cz.RELEASE_TYPES,compareIdentifiers:lz.compareIdentifiers,rcompareIdentifiers:lz.rcompareIdentifiers}});var Zl=g((mze,Vz)=>{"use strict";var Bfe="2.0.0",wfe=Number.MAX_SAFE_INTEGER||9007199254740991,bfe=16,Qfe=250,xfe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Vz.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:bfe,MAX_SAFE_BUILD_LENGTH:Qfe,MAX_SAFE_INTEGER:wfe,RELEASE_TYPES:xfe,SEMVER_SPEC_VERSION:Bfe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var $d=g((hze,$z)=>{"use strict";var Nfe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};$z.exports=Nfe});var eu=g((_n,Yz)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Kx,MAX_SAFE_BUILD_LENGTH:Sfe,MAX_LENGTH:Rfe}=Zl(),Tfe=$d();_n=Yz.exports={};var Pfe=_n.re=[],vfe=_n.safeRe=[],L=_n.src=[],kfe=_n.safeSrc=[],M=_n.t={},Dfe=0,Xx="[a-zA-Z0-9-]",_fe=[["\\s",1],["\\d",Rfe],[Xx,Sfe]],Lfe=o(t=>{for(let[e,r]of _fe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ne=o((t,e,r)=>{let s=Lfe(e),n=Dfe++;Tfe(t,n,e),M[t]=n,L[n]=e,kfe[n]=s,Pfe[n]=new RegExp(e,r?"g":void 0),vfe[n]=new RegExp(s,r?"g":void 0)},"createToken");ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Xx}*`);ne("MAINVERSION",`(${L[M.NUMERICIDENTIFIER]})\\.(${L[M.NUMERICIDENTIFIER]})\\.(${L[M.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${L[M.NUMERICIDENTIFIERLOOSE]})\\.(${L[M.NUMERICIDENTIFIERLOOSE]})\\.(${L[M.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${L[M.NONNUMERICIDENTIFIER]}|${L[M.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${L[M.NONNUMERICIDENTIFIER]}|${L[M.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${L[M.PRERELEASEIDENTIFIER]}(?:\\.${L[M.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${L[M.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[M.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${Xx}+`);ne("BUILD",`(?:\\+(${L[M.BUILDIDENTIFIER]}(?:\\.${L[M.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${L[M.MAINVERSION]}${L[M.PRERELEASE]}?${L[M.BUILD]}?`);ne("FULL",`^${L[M.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${L[M.MAINVERSIONLOOSE]}${L[M.PRERELEASELOOSE]}?${L[M.BUILD]}?`);ne("LOOSE",`^${L[M.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${L[M.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${L[M.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${L[M.XRANGEIDENTIFIER]})(?:\\.(${L[M.XRANGEIDENTIFIER]})(?:\\.(${L[M.XRANGEIDENTIFIER]})(?:${L[M.PRERELEASE]})?${L[M.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${L[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[M.XRANGEIDENTIFIERLOOSE]})(?:${L[M.PRERELEASELOOSE]})?${L[M.BUILD]}?)?)?`);ne("XRANGE",`^${L[M.GTLT]}\\s*${L[M.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${L[M.GTLT]}\\s*${L[M.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Kx}})(?:\\.(\\d{1,${Kx}}))?(?:\\.(\\d{1,${Kx}}))?`);ne("COERCE",`${L[M.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",L[M.COERCEPLAIN]+`(?:${L[M.PRERELEASE]})?(?:${L[M.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",L[M.COERCE],!0);ne("COERCERTLFULL",L[M.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${L[M.LONETILDE]}\\s+`,!0);_n.tildeTrimReplace="$1~";ne("TILDE",`^${L[M.LONETILDE]}${L[M.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${L[M.LONETILDE]}${L[M.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${L[M.LONECARET]}\\s+`,!0);_n.caretTrimReplace="$1^";ne("CARET",`^${L[M.LONECARET]}${L[M.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${L[M.LONECARET]}${L[M.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${L[M.GTLT]}\\s*(${L[M.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${L[M.GTLT]}\\s*(${L[M.FULLPLAIN]})$|^$`);ne("COMPARATORTRIM",`(\\s*)${L[M.GTLT]}\\s*(${L[M.LOOSEPLAIN]}|${L[M.XRANGEPLAIN]})`,!0);_n.comparatorTrimReplace="$1$2$3";ne("HYPHENRANGE",`^\\s*(${L[M.XRANGEPLAIN]})\\s+-\\s+(${L[M.XRANGEPLAIN]})\\s*$`);ne("HYPHENRANGELOOSE",`^\\s*(${L[M.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[M.XRANGEPLAINLOOSE]})\\s*$`);ne("STAR","(<|>)?=?\\s*\\*");ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var hg=g((gze,Jz)=>{"use strict";var Mfe=Object.freeze({loose:!0}),Ofe=Object.freeze({}),Ffe=o(t=>t?typeof t!="object"?Mfe:t:Ofe,"parseOptions");Jz.exports=Ffe});var Zx=g((yze,Kz)=>{"use strict";var Wz=/^[0-9]+$/,jz=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tjz(e,t),"rcompareIdentifiers");Kz.exports={compareIdentifiers:jz,rcompareIdentifiers:Ufe}});var Ht=g((Ize,Zz)=>{"use strict";var fg=$d(),{MAX_LENGTH:Xz,MAX_SAFE_INTEGER:gg}=Zl(),{safeRe:Eg,t:yg}=eu(),qfe=hg(),{compareIdentifiers:e0}=Zx(),Gfe=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sXz)throw new TypeError(`version is longer than ${Xz} characters`);fg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Eg[yg.LOOSE]:Eg[yg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>gg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>gg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>gg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(fg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return e0(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(fg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return e0(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?Eg[yg.PRERELEASELOOSE]:Eg[yg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];if(s===!1&&(i=[r]),Gfe(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Zz.exports=t0});var qo=g((wze,tV)=>{"use strict";var eV=Ht(),Hfe=o((t,e,r=!1)=>{if(t instanceof eV)return t;try{return new eV(t,e)}catch(s){if(!r)return null;throw s}},"parse");tV.exports=Hfe});var sV=g((Qze,rV)=>{"use strict";var zfe=qo(),Vfe=o((t,e)=>{let r=zfe(t,e);return r?r.version:null},"valid");rV.exports=Vfe});var iV=g((Nze,nV)=>{"use strict";var $fe=qo(),Yfe=o((t,e)=>{let r=$fe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");nV.exports=Yfe});var cV=g((Rze,aV)=>{"use strict";var oV=Ht(),Jfe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new oV(t instanceof oV?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");aV.exports=Jfe});var AV=g((Pze,uV)=>{"use strict";var lV=qo(),Wfe=o((t,e)=>{let r=lV(t,null,!0),s=lV(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");uV.exports=Wfe});var pV=g((kze,dV)=>{"use strict";var jfe=Ht(),Kfe=o((t,e)=>new jfe(t,e).major,"major");dV.exports=Kfe});var hV=g((_ze,mV)=>{"use strict";var Xfe=Ht(),Zfe=o((t,e)=>new Xfe(t,e).minor,"minor");mV.exports=Zfe});var gV=g((Mze,fV)=>{"use strict";var ege=Ht(),tge=o((t,e)=>new ege(t,e).patch,"patch");fV.exports=tge});var yV=g((Fze,EV)=>{"use strict";var rge=qo(),sge=o((t,e)=>{let r=rge(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");EV.exports=sge});var xs=g((qze,IV)=>{"use strict";var CV=Ht(),nge=o((t,e,r)=>new CV(t,r).compare(new CV(e,r)),"compare");IV.exports=nge});var wV=g((Hze,BV)=>{"use strict";var ige=xs(),oge=o((t,e,r)=>ige(e,t,r),"rcompare");BV.exports=oge});var QV=g((Vze,bV)=>{"use strict";var age=xs(),cge=o((t,e)=>age(t,e,!0),"compareLoose");bV.exports=cge});var Cg=g((Yze,NV)=>{"use strict";var xV=Ht(),lge=o((t,e,r)=>{let s=new xV(t,r),n=new xV(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");NV.exports=lge});var RV=g((Wze,SV)=>{"use strict";var uge=Cg(),Age=o((t,e)=>t.sort((r,s)=>uge(r,s,e)),"sort");SV.exports=Age});var PV=g((Kze,TV)=>{"use strict";var dge=Cg(),pge=o((t,e)=>t.sort((r,s)=>dge(s,r,e)),"rsort");TV.exports=pge});var Yd=g((Zze,vV)=>{"use strict";var mge=xs(),hge=o((t,e,r)=>mge(t,e,r)>0,"gt");vV.exports=hge});var Ig=g((tVe,kV)=>{"use strict";var fge=xs(),gge=o((t,e,r)=>fge(t,e,r)<0,"lt");kV.exports=gge});var r0=g((sVe,DV)=>{"use strict";var Ege=xs(),yge=o((t,e,r)=>Ege(t,e,r)===0,"eq");DV.exports=yge});var s0=g((iVe,_V)=>{"use strict";var Cge=xs(),Ige=o((t,e,r)=>Cge(t,e,r)!==0,"neq");_V.exports=Ige});var Bg=g((aVe,LV)=>{"use strict";var Bge=xs(),wge=o((t,e,r)=>Bge(t,e,r)>=0,"gte");LV.exports=wge});var wg=g((lVe,MV)=>{"use strict";var bge=xs(),Qge=o((t,e,r)=>bge(t,e,r)<=0,"lte");MV.exports=Qge});var n0=g((AVe,OV)=>{"use strict";var xge=r0(),Nge=s0(),Sge=Yd(),Rge=Bg(),Tge=Ig(),Pge=wg(),vge=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return xge(t,r,s);case"!=":return Nge(t,r,s);case">":return Sge(t,r,s);case">=":return Rge(t,r,s);case"<":return Tge(t,r,s);case"<=":return Pge(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");OV.exports=vge});var UV=g((pVe,FV)=>{"use strict";var kge=Ht(),Dge=qo(),{safeRe:bg,t:Qg}=eu(),_ge=o((t,e)=>{if(t instanceof kge)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?bg[Qg.COERCEFULL]:bg[Qg.COERCE]);else{let l=e.includePrerelease?bg[Qg.COERCERTLFULL]:bg[Qg.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Dge(`${s}.${n}.${i}${a}${c}`,e)},"coerce");FV.exports=_ge});var GV=g((hVe,qV)=>{"use strict";var Lge=qo(),Mge=Zl(),Oge=Ht(),Fge=o((t,e,r)=>{if(!Mge.RELEASE_TYPES.includes(e))return null;let s=Uge(t,r);return s&&qge(s,e)},"truncate"),Uge=o((t,e)=>{let r=t instanceof Oge?t.version:t;return Lge(r,e)},"cloneInputVersion"),qge=o((t,e)=>{if(Gge(e))return t.version;switch(t.prerelease=[],e){case"major":t.minor=0,t.patch=0;break;case"minor":t.patch=0;break}return t.format()},"doTruncation"),Gge=o(t=>t.startsWith("pre"),"isPrerelease");qV.exports=Fge});var zV=g((gVe,HV)=>{"use strict";var i0=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};HV.exports=i0});var Ns=g((yVe,JV)=>{"use strict";var Hge=/\s+/g,o0=class t{static{o(this,"Range")}constructor(e,r){if(r=Vge(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof a0)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(Hge," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!$V(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&eEe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(Zge,"");let s=((this.options.includePrerelease&&Kge)|(this.options.loose&&Xge))+":"+e,n=VV.get(s);if(n)return n;let i=this.options.loose,a=i?Ar[zt.HYPHENRANGELOOSE]:Ar[zt.HYPHENRANGE];e=e.replace(a,AEe(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(Ar[zt.COMPARATORTRIM],Jge),Fe("comparator trim",e),e=e.replace(Ar[zt.TILDETRIM],Wge),Fe("tilde trim",e),e=e.replace(Ar[zt.CARETTRIM],jge),Fe("caret trim",e);let c=e.split(" ").map(d=>tEe(d,this.options)).join(" ").split(/\s+/).map(d=>uEe(d,this.options));i&&(c=c.filter(d=>(Fe("loose invalid filter",d,this.options),!!d.match(Ar[zt.COMPARATORLOOSE])))),Fe("range list",c);let l=new Map,u=c.map(d=>new a0(d,this.options));for(let d of u){if($V(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return VV.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>YV(s,r)&&e.set.some(n=>YV(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new $ge(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),eEe=o(t=>t.value==="","isAny"),YV=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),tEe=o((t,e)=>(t=t.replace(Ar[zt.BUILD],""),Fe("comp",t,e),t=iEe(t,e),Fe("caret",t),t=sEe(t,e),Fe("tildes",t),t=aEe(t,e),Fe("xrange",t),t=lEe(t,e),Fe("stars",t),t),"parseComparator"),Qt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),rEe=o((t,e,r)=>Qt(t)&&!Qt(e)||Qt(e)&&r&&!Qt(r),"invalidXRangeOrder"),sEe=o((t,e)=>t.trim().split(/\s+/).map(r=>nEe(r,e)).join(" "),"replaceTildes"),nEe=o((t,e)=>{let r=e.loose?Ar[zt.TILDELOOSE]:Ar[zt.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Fe("tilde",t,n,i,a,c,l);let u;return Qt(i)?u="":Qt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Qt(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?(Fe("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,Fe("tilde return",u),u})},"replaceTilde"),iEe=o((t,e)=>t.trim().split(/\s+/).map(r=>oEe(r,e)).join(" "),"replaceCarets"),oEe=o((t,e)=>{Fe("caret",t,e);let r=e.loose?Ar[zt.CARETLOOSE]:Ar[zt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Fe("caret",t,n,i,a,c,l);let u;return Qt(i)?u="":Qt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Qt(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Fe("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Fe("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Fe("caret return",u),u})},"replaceCaret"),aEe=o((t,e)=>(Fe("replaceXRanges",t,e),t.split(/\s+/).map(r=>cEe(r,e)).join(" ")),"replaceXRanges"),cEe=o((t,e)=>{t=t.trim();let r=e.loose?Ar[zt.XRANGELOOSE]:Ar[zt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if(Fe("xRange",t,s,n,i,a,c,l),rEe(i,a,c))return t;let u=Qt(i),A=u||Qt(a),d=A||Qt(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Fe("xRange return",s),s})},"replaceXRange"),lEe=o((t,e)=>(Fe("replaceStars",t,e),t.trim().replace(Ar[zt.STAR],"")),"replaceStars"),uEe=o((t,e)=>(Fe("replaceGTE0",t,e),t.trim().replace(Ar[e.includePrerelease?zt.GTE0PRE:zt.GTE0],"")),"replaceGTE0"),AEe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(Qt(s)?r="":Qt(n)?r=`>=${s}.0.0${t?"-0":""}`:Qt(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Qt(u)?l="":Qt(A)?l=`<${+u+1}.0.0-0`:Qt(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),dEe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Jd=g((IVe,e$)=>{"use strict";var Wd=Symbol("SemVer ANY"),u0=class t{static{o(this,"Comparator")}static get ANY(){return Wd}constructor(e,r){if(r=WV(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Wd?this.value="":this.value=this.operator+this.semver.version,l0("comp",this)}parse(e){let r=this.options.loose?jV[KV.COMPARATORLOOSE]:jV[KV.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new XV(s[2],this.options.loose):this.semver=Wd}toString(){return this.value}test(e){if(l0("Comparator.test",e,this.options.loose),this.semver===Wd||e===Wd)return!0;if(typeof e=="string")try{e=new XV(e,this.options)}catch{return!1}return c0(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new ZV(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new ZV(this.value,r).test(e.semver):(r=WV(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||c0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||c0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};e$.exports=u0;var WV=hg(),{safeRe:jV,t:KV}=eu(),c0=n0(),l0=$d(),XV=Ht(),ZV=Ns()});var jd=g((wVe,t$)=>{"use strict";var pEe=Ns(),mEe=o((t,e,r)=>{try{e=new pEe(e,r)}catch{return!1}return e.test(t)},"satisfies");t$.exports=mEe});var s$=g((QVe,r$)=>{"use strict";var hEe=Ns(),fEe=o((t,e)=>new hEe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");r$.exports=fEe});var i$=g((NVe,n$)=>{"use strict";var gEe=Ht(),EEe=Ns(),yEe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new EEe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new gEe(s,r))}),s},"maxSatisfying");n$.exports=yEe});var a$=g((RVe,o$)=>{"use strict";var CEe=Ht(),IEe=Ns(),BEe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new IEe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new CEe(s,r))}),s},"minSatisfying");o$.exports=BEe});var u$=g((PVe,l$)=>{"use strict";var A0=Ht(),wEe=Ns(),c$=Yd(),bEe=o((t,e)=>{t=new wEe(t,e);let r=new A0("0.0.0");if(t.test(r)||(r=new A0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new A0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||c$(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||c$(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");l$.exports=bEe});var d$=g((kVe,A$)=>{"use strict";var QEe=Ns(),xEe=o((t,e)=>{try{return new QEe(t,e).range||"*"}catch{return null}},"validRange");A$.exports=xEe});var xg=g((_Ve,f$)=>{"use strict";var NEe=Ht(),h$=Jd(),{ANY:SEe}=h$,REe=Ns(),TEe=jd(),p$=Yd(),m$=Ig(),PEe=wg(),vEe=Bg(),kEe=o((t,e,r,s)=>{t=new NEe(t,s),e=new REe(e,s);let n,i,a,c,l;switch(r){case">":n=p$,i=PEe,a=m$,c=">",l=">=";break;case"<":n=m$,i=vEe,a=p$,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(TEe(t,e,s))return!1;for(let u=0;u{m.semver===SEe&&(m=new h$(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");f$.exports=kEe});var E$=g((MVe,g$)=>{"use strict";var DEe=xg(),_Ee=o((t,e,r)=>DEe(t,e,">",r),"gtr");g$.exports=_Ee});var C$=g((FVe,y$)=>{"use strict";var LEe=xg(),MEe=o((t,e,r)=>LEe(t,e,"<",r),"ltr");y$.exports=MEe});var w$=g((qVe,B$)=>{"use strict";var I$=Ns(),OEe=o((t,e,r)=>(t=new I$(t,r),e=new I$(e,r),t.intersects(e,r)),"intersects");B$.exports=OEe});var Q$=g((HVe,b$)=>{"use strict";var FEe=jd(),UEe=xs();b$.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>UEe(A,d,r));for(let A of a)FEe(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var x$=Ns(),m0=Jd(),{ANY:d0}=m0,p0=jd(),h0=xs(),qEe=o((t,e,r={})=>{if(t===e)return!0;t=new x$(t,r),e=new x$(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=HEe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),GEe=[new m0(">=0.0.0-0")],N$=[new m0(">=0.0.0")],HEe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===d0){if(e.length===1&&e[0].semver===d0)return!0;r.includePrerelease?t=GEe:t=N$}if(e.length===1&&e[0].semver===d0){if(r.includePrerelease)return!0;e=N$}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=S$(n,m,r):m.operator==="<"||m.operator==="<="?i=R$(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=h0(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!p0(m,String(n),r)||i&&!p0(m,String(i),r))return null;for(let h of e)if(!p0(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=S$(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!m.test(n.semver))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=R$(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!m.test(i.semver))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),S$=o((t,e,r)=>{if(!t)return e;let s=h0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),R$=o((t,e,r)=>{if(!t)return e;let s=h0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");T$.exports=qEe});var _$=g(($Ve,D$)=>{"use strict";var f0=eu(),v$=Zl(),zEe=Ht(),k$=Zx(),VEe=qo(),$Ee=sV(),YEe=iV(),JEe=cV(),WEe=AV(),jEe=pV(),KEe=hV(),XEe=gV(),ZEe=yV(),eye=xs(),tye=wV(),rye=QV(),sye=Cg(),nye=RV(),iye=PV(),oye=Yd(),aye=Ig(),cye=r0(),lye=s0(),uye=Bg(),Aye=wg(),dye=n0(),pye=UV(),mye=GV(),hye=Jd(),fye=Ns(),gye=jd(),Eye=s$(),yye=i$(),Cye=a$(),Iye=u$(),Bye=d$(),wye=xg(),bye=E$(),Qye=C$(),xye=w$(),Nye=Q$(),Sye=P$();D$.exports={parse:VEe,valid:$Ee,clean:YEe,inc:JEe,diff:WEe,major:jEe,minor:KEe,patch:XEe,prerelease:ZEe,compare:eye,rcompare:tye,compareLoose:rye,compareBuild:sye,sort:nye,rsort:iye,gt:oye,lt:aye,eq:cye,neq:lye,gte:uye,lte:Aye,cmp:dye,coerce:pye,truncate:mye,Comparator:hye,Range:fye,satisfies:gye,toComparators:Eye,maxSatisfying:yye,minSatisfying:Cye,minVersion:Iye,validRange:Bye,outside:wye,gtr:bye,ltr:Qye,intersects:xye,simplifyRange:Nye,subset:Sye,SemVer:zEe,re:f0.re,src:f0.src,tokens:f0.t,SEMVER_SPEC_VERSION:v$.SEMVER_SPEC_VERSION,RELEASE_TYPES:v$.RELEASE_TYPES,compareIdentifiers:k$.compareIdentifiers,rcompareIdentifiers:k$.rcompareIdentifiers}});var wY=g((KYe,BY)=>{var au=1e3,cu=au*60,lu=cu*60,rc=lu*24,uCe=rc*7,ACe=rc*365.25;BY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return dCe(t);if(r==="number"&&isFinite(t))return e.long?mCe(t):pCe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function dCe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),s=(e[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return r*ACe;case"weeks":case"week":case"w":return r*uCe;case"days":case"day":case"d":return r*rc;case"hours":case"hour":case"hrs":case"hr":case"h":return r*lu;case"minutes":case"minute":case"mins":case"min":case"m":return r*cu;case"seconds":case"second":case"secs":case"sec":case"s":return r*au;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(dCe,"parse");function pCe(t){var e=Math.abs(t);return e>=rc?Math.round(t/rc)+"d":e>=lu?Math.round(t/lu)+"h":e>=cu?Math.round(t/cu)+"m":e>=au?Math.round(t/au)+"s":t+"ms"}o(pCe,"fmtShort");function mCe(t){var e=Math.abs(t);return e>=rc?Xg(t,e,rc,"day"):e>=lu?Xg(t,e,lu,"hour"):e>=cu?Xg(t,e,cu,"minute"):e>=au?Xg(t,e,au,"second"):t+" ms"}o(mCe,"fmtLong");function Xg(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}o(Xg,"plural")});var q0=g((ZYe,bY)=>{function hCe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=n,r.enabled=a,r.humanize=wY(),r.destroy=u,Object.keys(t).forEach(A=>{r[A]=t[A]}),r.names=[],r.skips=[],r.formatters={};function e(A){let d=0;for(let p=0;p{if(S==="%%")return"%";B++;let Ie=r.formatters[U];if(typeof Ie=="function"){let je=C[B];S=Ie.call(E,je),C.splice(B,1),B--}return S}),r.formatArgs.call(E,C),(E.log||r.log).apply(E,C)}return o(f,"debug"),f.namespace=A,f.useColors=r.useColors(),f.color=r.selectColor(A),f.extend=s,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:o(()=>p!==null?p:(m!==r.namespaces&&(m=r.namespaces,h=r.enabled(A)),h),"get"),set:o(C=>{p=C},"set")}),typeof r.init=="function"&&r.init(f),f}o(r,"createDebug");function s(A,d){let p=r(this.namespace+(typeof d>"u"?":":d)+A);return p.log=this.log,p}o(s,"extend");function n(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let d,p=(typeof A=="string"?A:"").split(/[\s,]+/),m=p.length;for(d=0;d"-"+d)].join(",");return r.enable(""),A}o(i,"disable");function a(A){if(A[A.length-1]==="*")return!0;let d,p;for(d=0,p=r.skips.length;d{ss.formatArgs=gCe;ss.save=ECe;ss.load=yCe;ss.useColors=fCe;ss.storage=CCe();ss.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ss.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function fCe(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(fCe,"useColors");function gCe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Zg.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(s=r))}),t.splice(s,0,e)}o(gCe,"formatArgs");ss.log=console.debug||console.log||(()=>{});function ECe(t){try{t?ss.storage.setItem("debug",t):ss.storage.removeItem("debug")}catch{}}o(ECe,"save");function yCe(){let t;try{t=ss.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(yCe,"load");function CCe(){try{return localStorage}catch{}}o(CCe,"localstorage");Zg.exports=q0()(ss);var{formatters:ICe}=Zg.exports;ICe.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var NY=g((rJe,xY)=>{"use strict";xY.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",s=e.indexOf(r+t),n=e.indexOf("--");return s!==-1&&(n===-1||s{"use strict";var BCe=require("os"),SY=require("tty"),Rs=NY(),{env:Lt}=process,zo;Rs("no-color")||Rs("no-colors")||Rs("color=false")||Rs("color=never")?zo=0:(Rs("color")||Rs("colors")||Rs("color=true")||Rs("color=always"))&&(zo=1);"FORCE_COLOR"in Lt&&(Lt.FORCE_COLOR==="true"?zo=1:Lt.FORCE_COLOR==="false"?zo=0:zo=Lt.FORCE_COLOR.length===0?1:Math.min(parseInt(Lt.FORCE_COLOR,10),3));function G0(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(G0,"translateLevel");function H0(t,e){if(zo===0)return 0;if(Rs("color=16m")||Rs("color=full")||Rs("color=truecolor"))return 3;if(Rs("color=256"))return 2;if(t&&!e&&zo===void 0)return 0;let r=zo||0;if(Lt.TERM==="dumb")return r;if(process.platform==="win32"){let s=BCe.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Lt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in Lt)||Lt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Lt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Lt.TEAMCITY_VERSION)?1:0;if(Lt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Lt){let s=parseInt((Lt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Lt.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Lt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Lt.TERM)||"COLORTERM"in Lt?1:r}o(H0,"supportsColor");function wCe(t){let e=H0(t,t&&t.isTTY);return G0(e)}o(wCe,"getSupportLevel");RY.exports={supportsColor:wCe,stdout:G0(H0(!0,SY.isatty(1))),stderr:G0(H0(!0,SY.isatty(2)))}});var vY=g((Vt,tE)=>{var bCe=require("tty"),eE=require("util");Vt.init=PCe;Vt.log=SCe;Vt.formatArgs=xCe;Vt.save=RCe;Vt.load=TCe;Vt.useColors=QCe;Vt.destroy=eE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Vt.colors=[6,2,3,4,5,1];try{let t=TY();t&&(t.stderr||t).level>=2&&(Vt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Vt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(n,i)=>i.toUpperCase()),s=process.env[e];return/^(yes|on|true|enabled)$/i.test(s)?s=!0:/^(no|off|false|disabled)$/i.test(s)?s=!1:s==="null"?s=null:s=Number(s),t[r]=s,t},{});function QCe(){return"colors"in Vt.inspectOpts?!!Vt.inspectOpts.colors:bCe.isatty(process.stderr.fd)}o(QCe,"useColors");function xCe(t){let{namespace:e,useColors:r}=this;if(r){let s=this.color,n="\x1B[3"+(s<8?s:"8;5;"+s),i=` ${n};1m${e} \x1B[0m`;t[0]=i+t[0].split(` `).join(` -`+i),t.push(n+"m+"+eE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=QCe()+e+" "+t[0]}o(bCe,"formatArgs");function QCe(){return Vt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(QCe,"getDate");function xCe(...t){return process.stderr.write(Zg.format(...t)+` -`)}o(xCe,"log");function NCe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(NCe,"save");function SCe(){return process.env.DEBUG}o(SCe,"load");function RCe(t){t.inspectOpts={};let e=Object.keys(Vt.inspectOpts);for(let r=0;re.trim()).join(" ")};TY.O=function(t){return this.inspectOpts.colors=this.useColors,Zg.inspect(t,this.inspectOpts)}});var tE=g((tJe,G0)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?G0.exports=bY():G0.exports=PY()});var DY=g(Pr=>{"use strict";var TCe=Pr&&Pr.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),PCe=Pr&&Pr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),vY=Pr&&Pr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&TCe(e,t,r);return PCe(e,t),e};Object.defineProperty(Pr,"__esModule",{value:!0});Pr.req=Pr.json=Pr.toBuffer=void 0;var vCe=vY(require("http")),kCe=vY(require("https"));async function kY(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(kY,"toBuffer");Pr.toBuffer=kY;async function DCe(t){let r=(await kY(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(DCe,"json");Pr.json=DCe;function _Ce(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?kCe:vCe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(_Ce,"req");Pr.req=_Ce});var OY=g(ns=>{"use strict";var LY=ns&&ns.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),LCe=ns&&ns.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),MY=ns&&ns.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&LY(e,t,r);return LCe(e,t),e},MCe=ns&&ns.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&LY(e,t,r)};Object.defineProperty(ns,"__esModule",{value:!0});ns.Agent=void 0;var OCe=MY(require("net")),_Y=MY(require("http")),FCe=require("https");MCe(DY(),ns);var Fn=Symbol("AgentBaseInternalState"),H0=class extends _Y.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Fn]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` -`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new OCe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?FCe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof _Y.Agent)try{return c.addRequest(e,n)}catch(l){return s(l)}this[Fn].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Fn].currentSocket;if(this[Fn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Fn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Fn]&&(this[Fn].defaultPort=e)}get protocol(){return this[Fn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Fn]&&(this[Fn].protocol=e)}};ns.Agent=H0});var FY=g(lu=>{"use strict";var UCe=lu&&lu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(lu,"__esModule",{value:!0});lu.parseProxyResponse=void 0;var qCe=UCe(tE()),rE=(0,qCe.default)("https-proxy-agent:parse-proxy-response");function GCe(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let A=t.read();A?u(A):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),rE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),rE("onerror %o",A),r(A)}o(l,"onerror");function u(A){n.push(A),s+=A.length;let d=Buffer.concat(n,s),p=d.indexOf(`\r +`+i),t.push(n+"m+"+tE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=NCe()+e+" "+t[0]}o(xCe,"formatArgs");function NCe(){return Vt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(NCe,"getDate");function SCe(...t){return process.stderr.write(eE.format(...t)+` +`)}o(SCe,"log");function RCe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(RCe,"save");function TCe(){return process.env.DEBUG}o(TCe,"load");function PCe(t){t.inspectOpts={};let e=Object.keys(Vt.inspectOpts);for(let r=0;re.trim()).join(" ")};PY.O=function(t){return this.inspectOpts.colors=this.useColors,eE.inspect(t,this.inspectOpts)}});var rE=g((oJe,z0)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?z0.exports=QY():z0.exports=vY()});var _Y=g(Pr=>{"use strict";var vCe=Pr&&Pr.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),kCe=Pr&&Pr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),kY=Pr&&Pr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&vCe(e,t,r);return kCe(e,t),e};Object.defineProperty(Pr,"__esModule",{value:!0});Pr.req=Pr.json=Pr.toBuffer=void 0;var DCe=kY(require("http")),_Ce=kY(require("https"));async function DY(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(DY,"toBuffer");Pr.toBuffer=DY;async function LCe(t){let r=(await DY(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(LCe,"json");Pr.json=LCe;function MCe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?_Ce:DCe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(MCe,"req");Pr.req=MCe});var FY=g(ns=>{"use strict";var MY=ns&&ns.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),OCe=ns&&ns.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),OY=ns&&ns.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&MY(e,t,r);return OCe(e,t),e},FCe=ns&&ns.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&MY(e,t,r)};Object.defineProperty(ns,"__esModule",{value:!0});ns.Agent=void 0;var UCe=OY(require("net")),LY=OY(require("http")),qCe=require("https");FCe(_Y(),ns);var Fn=Symbol("AgentBaseInternalState"),V0=class extends LY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Fn]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` +`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new UCe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?qCe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof LY.Agent)try{return c.addRequest(e,n)}catch(l){return s(l)}this[Fn].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Fn].currentSocket;if(this[Fn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Fn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Fn]&&(this[Fn].defaultPort=e)}get protocol(){return this[Fn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Fn]&&(this[Fn].protocol=e)}};ns.Agent=V0});var UY=g(uu=>{"use strict";var GCe=uu&&uu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(uu,"__esModule",{value:!0});uu.parseProxyResponse=void 0;var HCe=GCe(rE()),sE=(0,HCe.default)("https-proxy-agent:parse-proxy-response");function zCe(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let A=t.read();A?u(A):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),sE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),sE("onerror %o",A),r(A)}o(l,"onerror");function u(A){n.push(A),s+=A.length;let d=Buffer.concat(n,s),p=d.indexOf(`\r \r -`);if(p===-1){rE("have not received end of HTTP headers yet..."),i();return}let m=d.slice(0,p).toString("ascii").split(`\r -`),h=m.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=h.split(" "),C=+f[1],E=f.slice(2).join(" "),y={};for(let I of m){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),S=I.slice(B+1).trimStart(),U=y[N];typeof U=="string"?y[N]=[U,S]:Array.isArray(U)?U.push(S):y[N]=S}rE("got proxy server response: %o %o",h,y),a(),e({connect:{statusCode:C,statusText:E,headers:y},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),i()})}o(GCe,"parseProxyResponse");lu.parseProxyResponse=GCe});var VY=g(Ts=>{"use strict";var HCe=Ts&&Ts.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),zCe=Ts&&Ts.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),HY=Ts&&Ts.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&HCe(e,t,r);return zCe(e,t),e},zY=Ts&&Ts.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.HttpsProxyAgent=void 0;var sE=HY(require("net")),UY=HY(require("tls")),VCe=zY(require("assert")),$Ce=zY(tE()),YCe=OY(),JCe=require("url"),WCe=FY(),ip=(0,$Ce.default)("https-proxy-agent"),qY=o(t=>t.servername===void 0&&t.host&&!sE.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),nE=class extends YCe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new JCe.URL(e):e,this.proxyHeaders=r?.headers??{},ip("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?GY(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;s.protocol==="https:"?(ip("Creating `tls.Socket`: %o",this.connectOpts),n=UY.connect(qY(this.connectOpts))):(ip("Creating `net.Socket`: %o",this.connectOpts),n=sE.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=sE.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r +`);if(p===-1){sE("have not received end of HTTP headers yet..."),i();return}let m=d.slice(0,p).toString("ascii").split(`\r +`),h=m.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=h.split(" "),C=+f[1],E=f.slice(2).join(" "),y={};for(let I of m){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),S=I.slice(B+1).trimStart(),U=y[N];typeof U=="string"?y[N]=[U,S]:Array.isArray(U)?U.push(S):y[N]=S}sE("got proxy server response: %o %o",h,y),a(),e({connect:{statusCode:C,statusText:E,headers:y},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),i()})}o(zCe,"parseProxyResponse");uu.parseProxyResponse=zCe});var $Y=g(Ts=>{"use strict";var VCe=Ts&&Ts.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),$Ce=Ts&&Ts.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),zY=Ts&&Ts.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&VCe(e,t,r);return $Ce(e,t),e},VY=Ts&&Ts.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.HttpsProxyAgent=void 0;var nE=zY(require("net")),qY=zY(require("tls")),YCe=VY(require("assert")),JCe=VY(rE()),WCe=FY(),jCe=require("url"),KCe=UY(),op=(0,JCe.default)("https-proxy-agent"),GY=o(t=>t.servername===void 0&&t.host&&!nE.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),iE=class extends WCe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new jCe.URL(e):e,this.proxyHeaders=r?.headers??{},op("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?HY(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;s.protocol==="https:"?(op("Creating `tls.Socket`: %o",this.connectOpts),n=qY.connect(GY(this.connectOpts))):(op("Creating `net.Socket`: %o",this.connectOpts),n=nE.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=nE.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r `;if(s.username||s.password){let p=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(p).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(i))c+=`${p}: ${i[p]}\r -`;let l=(0,WCe.parseProxyResponse)(n);n.write(`${c}\r -`);let{connect:u,buffered:A}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200)return e.once("socket",jCe),r.secureEndpoint?(ip("Upgrading socket connection to TLS"),UY.connect({...GY(qY(r),"host","path","port"),socket:n})):n;n.destroy();let d=new sE.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{ip("Replaying proxy buffer for failed request"),(0,VCe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};nE.protocols=["http","https"];Ts.HttpsProxyAgent=nE;function jCe(t){t.resume()}o(jCe,"resume");function GY(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(GY,"omit")});var JY=g(vr=>{"use strict";var KCe=vr&&vr.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),XCe=vr&&vr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),$Y=vr&&vr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&KCe(e,t,r);return XCe(e,t),e};Object.defineProperty(vr,"__esModule",{value:!0});vr.req=vr.json=vr.toBuffer=void 0;var ZCe=$Y(require("http")),eIe=$Y(require("https"));async function YY(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(YY,"toBuffer");vr.toBuffer=YY;async function tIe(t){let r=(await YY(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(tIe,"json");vr.json=tIe;function rIe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?eIe:ZCe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(rIe,"req");vr.req=rIe});var XY=g(is=>{"use strict";var jY=is&&is.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),sIe=is&&is.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),KY=is&&is.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&jY(e,t,r);return sIe(e,t),e},nIe=is&&is.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&jY(e,t,r)};Object.defineProperty(is,"__esModule",{value:!0});is.Agent=void 0;var iIe=KY(require("net")),WY=KY(require("http")),oIe=require("https");nIe(JY(),is);var Un=Symbol("AgentBaseInternalState"),z0=class extends WY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Un]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` -`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new iIe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?oIe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof WY.Agent)return c.addRequest(e,n);this[Un].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Un].currentSocket;if(this[Un].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Un].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Un]&&(this[Un].defaultPort=e)}get protocol(){return this[Un].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Un]&&(this[Un].protocol=e)}};is.Agent=z0});var tJ=g(Ps=>{"use strict";var aIe=Ps&&Ps.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),cIe=Ps&&Ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),eJ=Ps&&Ps.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&aIe(e,t,r);return cIe(e,t),e},lIe=Ps&&Ps.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ps,"__esModule",{value:!0});Ps.HttpProxyAgent=void 0;var uIe=eJ(require("net")),AIe=eJ(require("tls")),dIe=lIe(tE()),pIe=require("events"),mIe=XY(),ZY=require("url"),uu=(0,dIe.default)("http-proxy-agent"),iE=class extends mIe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new ZY.URL(e):e,this.proxyHeaders=r?.headers??{},uu("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?hIe(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new ZY.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let u=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let A=l[u];A&&e.setHeader(u,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;uu("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(uu("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r +`;let l=(0,KCe.parseProxyResponse)(n);n.write(`${c}\r +`);let{connect:u,buffered:A}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200)return e.once("socket",XCe),r.secureEndpoint?(op("Upgrading socket connection to TLS"),qY.connect({...HY(GY(r),"host","path","port"),socket:n})):n;n.destroy();let d=new nE.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{op("Replaying proxy buffer for failed request"),(0,YCe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};iE.protocols=["http","https"];Ts.HttpsProxyAgent=iE;function XCe(t){t.resume()}o(XCe,"resume");function HY(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(HY,"omit")});var WY=g(vr=>{"use strict";var ZCe=vr&&vr.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),eIe=vr&&vr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),YY=vr&&vr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&ZCe(e,t,r);return eIe(e,t),e};Object.defineProperty(vr,"__esModule",{value:!0});vr.req=vr.json=vr.toBuffer=void 0;var tIe=YY(require("http")),rIe=YY(require("https"));async function JY(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(JY,"toBuffer");vr.toBuffer=JY;async function sIe(t){let r=(await JY(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(sIe,"json");vr.json=sIe;function nIe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?rIe:tIe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(nIe,"req");vr.req=nIe});var ZY=g(is=>{"use strict";var KY=is&&is.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),iIe=is&&is.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),XY=is&&is.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&KY(e,t,r);return iIe(e,t),e},oIe=is&&is.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&KY(e,t,r)};Object.defineProperty(is,"__esModule",{value:!0});is.Agent=void 0;var aIe=XY(require("net")),jY=XY(require("http")),cIe=require("https");oIe(WY(),is);var Un=Symbol("AgentBaseInternalState"),$0=class extends jY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Un]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` +`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new aIe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?cIe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof jY.Agent)return c.addRequest(e,n);this[Un].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Un].currentSocket;if(this[Un].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Un].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Un]&&(this[Un].defaultPort=e)}get protocol(){return this[Un].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Un]&&(this[Un].protocol=e)}};is.Agent=$0});var rJ=g(Ps=>{"use strict";var lIe=Ps&&Ps.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),uIe=Ps&&Ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),tJ=Ps&&Ps.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&lIe(e,t,r);return uIe(e,t),e},AIe=Ps&&Ps.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ps,"__esModule",{value:!0});Ps.HttpProxyAgent=void 0;var dIe=tJ(require("net")),pIe=tJ(require("tls")),mIe=AIe(rE()),hIe=require("events"),fIe=ZY(),eJ=require("url"),Au=(0,mIe.default)("http-proxy-agent"),oE=class extends fIe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new eJ.URL(e):e,this.proxyHeaders=r?.headers??{},Au("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?gIe(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new eJ.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let u=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let A=l[u];A&&e.setHeader(u,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;Au("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Au("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r \r -`)+4,e.outputData[0].data=e._header+s.substring(n),uu("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(uu("Creating `tls.Socket`: %o",this.connectOpts),i=AIe.connect(this.connectOpts)):(uu("Creating `net.Socket`: %o",this.connectOpts),i=uIe.connect(this.connectOpts)),await(0,pIe.once)(i,"connect"),i}};iE.protocols=["http","https"];Ps.HttpProxyAgent=iE;function hIe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(hIe,"omit")});var wJ=g(yE=>{"use strict";Object.defineProperty(yE,"__esModule",{value:!0});yE.state=void 0;yE.state={instrumenterImplementation:void 0}});var UJ=g(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.state=void 0;bE.state={operationRequestMap:new WeakMap}});var E4=g(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});var _xe=require("os"),Lxe=require("util");function Mxe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(Mxe,"_interopDefaultLegacy");var Oxe=Mxe(Lxe);function Fxe(t,...e){process.stderr.write(`${Oxe.default.format(t,...e)}${_xe.EOL}`)}o(Fxe,"log");var c4=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,u4,BP=[],wP=[],Hy=[];c4&&bP(c4);var A4=Object.assign(t=>d4(t),{enable:bP,enabled:QP,disable:Uxe,log:Fxe});function bP(t){u4=t,BP=[],wP=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?wP.push(new RegExp(`^${s.substr(1)}$`)):BP.push(new RegExp(`^${s}$`));for(let s of Hy)s.enabled=QP(s.namespace)}o(bP,"enable");function QP(t){if(t.endsWith("*"))return!0;for(let e of wP)if(e.test(t))return!1;for(let e of BP)if(e.test(t))return!0;return!1}o(QP,"enabled");function Uxe(){let t=u4||"";return bP(""),t}o(Uxe,"disable");function d4(t){let e=Object.assign(r,{enabled:QP(t),destroy:qxe,log:A4.log,namespace:t,extend:Gxe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),Hy.push(e),e}o(d4,"createDebugger");function qxe(){let t=Hy.indexOf(this);return t>=0?(Hy.splice(t,1),!0):!1}o(qxe,"destroy");function Gxe(t){let e=d4(`${this.namespace}:${t}`);return e.log=this.log,e}o(Gxe,"extend");var $p=A4,p4=new Set,qy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,zy,Vy=$p("azure");Vy.log=(...t)=>{$p.log(...t)};var xP=["verbose","info","warning","error"];qy&&(g4(qy)?m4(qy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${qy}'; logging is not enabled. Acceptable values: ${xP.join(", ")}.`));function m4(t){if(t&&!g4(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${xP.join(",")}`);zy=t;let e=[];for(let r of p4)f4(r)&&e.push(r.namespace);$p.enable(e.join(","))}o(m4,"setLogLevel");function Hxe(){return zy}o(Hxe,"getLogLevel");var l4={verbose:400,info:300,warning:200,error:100};function zxe(t){let e=Vy.extend(t);return h4(Vy,e),{error:Gy(e,"error"),warning:Gy(e,"warning"),info:Gy(e,"info"),verbose:Gy(e,"verbose")}}o(zxe,"createClientLogger");function h4(t,e){e.log=(...r)=>{t.log(...r)}}o(h4,"patchLogMethod");function Gy(t,e){let r=Object.assign(t.extend(e),{level:e});if(h4(t,r),f4(r)){let s=$p.disable();$p.enable(s+","+r.namespace)}return p4.add(r),r}o(Gy,"createLogger");function f4(t){return!!(zy&&l4[t.level]<=l4[zy])}o(f4,"shouldEnable");function g4(t){return xP.includes(t)}o(g4,"isAzureLogLevel");Su.AzureLogger=Vy;Su.createClientLogger=zxe;Su.getLogLevel=Hxe;Su.setLogLevel=m4});var RP=g(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});var Ru=new WeakMap,$y=new WeakMap,Yp=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Ru.set(this,[]),$y.set(this,!1)}get aborted(){if(!$y.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return $y.get(this)}static get none(){return new t}addEventListener(e,r){if(!Ru.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Ru.get(this).push(r)}removeEventListener(e,r){if(!Ru.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=Ru.get(this),n=s.indexOf(r);n>-1&&s.splice(n,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function y4(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Ru.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),$y.set(t,!0)}o(y4,"abortSignal");var NP=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},SP=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Yp,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){y4(this._signal)}static timeout(e){let r=new Yp,s=setTimeout(y4,e,r);return typeof s.unref=="function"&&s.unref(),r}};Jp.AbortController=SP;Jp.AbortError=NP;Jp.AbortSignal=Yp});var b4=g(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});var Vxe=RP(),LP=require("crypto");function C4(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new Vxe.AbortError(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(C4,"createAbortablePromise");var $xe="The delay was aborted.";function Yxe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return C4(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??$xe})}o(Yxe,"delay");function Jxe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(Jxe,"getRandomIntegerInclusive");function I4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(I4,"isObject");function B4(t){if(I4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(B4,"isError");function Wxe(t){if(B4(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(Wxe,"getErrorMessage");async function jxe(t,e,r){let s=Buffer.from(t,"base64");return LP.createHmac("sha256",s).update(e).digest(r)}o(jxe,"computeSha256Hmac");async function Kxe(t,e){return LP.createHash("sha256").update(t).digest(e)}o(Kxe,"computeSha256Hash");function MP(t){return typeof t<"u"&&t!==null}o(MP,"isDefined");function Xxe(t,e){if(!MP(t)||typeof t!="object")return!1;for(let r of e)if(!w4(t,r))return!1;return!0}o(Xxe,"isObjectWithProperties");function w4(t,e){return MP(t)&&typeof t=="object"&&e in t}o(w4,"objectHasProperty");function Zxe(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}o(Zxe,"generateUUID");var TP,_P=typeof((TP=globalThis?.crypto)===null||TP===void 0?void 0:TP.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):LP.randomUUID;_P||(_P=Zxe);function e0e(){return _P()}o(e0e,"randomUUID");var PP,vP,kP,DP,t0e=typeof window<"u"&&typeof window.document<"u",r0e=typeof self=="object"&&typeof self?.importScripts=="function"&&(((PP=self.constructor)===null||PP===void 0?void 0:PP.name)==="DedicatedWorkerGlobalScope"||((vP=self.constructor)===null||vP===void 0?void 0:vP.name)==="ServiceWorkerGlobalScope"||((kP=self.constructor)===null||kP===void 0?void 0:kP.name)==="SharedWorkerGlobalScope"),s0e=typeof process<"u"&&!!process.version&&!!(!((DP=process.versions)===null||DP===void 0)&&DP.node),n0e=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",i0e=typeof Bun<"u"&&typeof Bun.version<"u",o0e=typeof navigator<"u"&&navigator?.product==="ReactNative";function a0e(t,e){switch(e){case"utf-8":return A0e(t);case"base64":return l0e(t);case"base64url":return u0e(t)}}o(a0e,"uint8ArrayToString");function c0e(t,e){switch(e){case"utf-8":return d0e(t);case"base64":return p0e(t);case"base64url":return m0e(t)}}o(c0e,"stringToUint8Array");function l0e(t){return Buffer.from(t).toString("base64")}o(l0e,"uint8ArrayToBase64");function u0e(t){return Buffer.from(t).toString("base64url")}o(u0e,"uint8ArrayToBase64Url");function A0e(t){return Buffer.from(t).toString("utf-8")}o(A0e,"uint8ArrayToUtf8String");function d0e(t){return Buffer.from(t)}o(d0e,"utf8StringToUint8Array");function p0e(t){return Buffer.from(t,"base64")}o(p0e,"base64ToUint8Array");function m0e(t){return Buffer.from(t,"base64url")}o(m0e,"base64UrlToUint8Array");st.computeSha256Hash=Kxe;st.computeSha256Hmac=jxe;st.createAbortablePromise=C4;st.delay=Yxe;st.getErrorMessage=Wxe;st.getRandomIntegerInclusive=Jxe;st.isBrowser=t0e;st.isBun=i0e;st.isDefined=MP;st.isDeno=n0e;st.isError=B4;st.isNode=s0e;st.isObject=I4;st.isObjectWithProperties=Xxe;st.isReactNative=o0e;st.isWebWorker=r0e;st.objectHasProperty=w4;st.randomUUID=e0e;st.stringToUint8Array=c0e;st.uint8ArrayToString=a0e});var V4=g(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});var h0e=E4(),Q4=RP(),f0e=b4(),Cc=h0e.createClientLogger("core-lro"),N4=2e3,S4=["succeeded","canceled","failed"];function R4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(R4,"deserializeState");function x4(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}o(x4,"setStateError");function g0e(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(g0e,"appendReadableErrorMessage");function E0e(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=g0e(e,s.message);return{code:r,message:e}}o(E0e,"simplifyError");function T4(t){let{state:e,stateProxy:r,status:s,isDone:n,processResult:i,getError:a,response:c,setErrorAsResult:l}=t;switch(s){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),A="";if(u){let{code:p,message:m}=E0e(u);A=`. ${p}. ${m}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),Cc.warning(d);break}case"canceled":{r.setCanceled(e);break}}(n?.(c,e)||n===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(s))&&r.setResult(e,y0e({response:c,state:e,processResult:i}))}o(T4,"processOperationStatus");function y0e(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}o(y0e,"buildResult");async function P4(t){let{init:e,stateProxy:r,processResult:s,getOperationStatus:n,withOperationLocation:i,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:A}=await e();c&&i?.(c,!1);let d={metadata:u,operationLocation:c,resourceLocation:l};Cc.verbose("LRO: Operation description:",d);let p=r.initState(d),m=n({response:A,state:p,operationLocation:c});return T4({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:a,processResult:s}),p}o(P4,"initOperation");async function C0e(t){let{poll:e,state:r,stateProxy:s,operationLocation:n,getOperationStatus:i,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(n,l).catch(x4({state:r,stateProxy:s,isOperationError:c})),A=i(u,r);if(Cc.verbose(`LRO: Status: +`)+4,e.outputData[0].data=e._header+s.substring(n),Au("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(Au("Creating `tls.Socket`: %o",this.connectOpts),i=pIe.connect(this.connectOpts)):(Au("Creating `net.Socket`: %o",this.connectOpts),i=dIe.connect(this.connectOpts)),await(0,hIe.once)(i,"connect"),i}};oE.protocols=["http","https"];Ps.HttpProxyAgent=oE;function gIe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(gIe,"omit")});var bJ=g(CE=>{"use strict";Object.defineProperty(CE,"__esModule",{value:!0});CE.state=void 0;CE.state={instrumenterImplementation:void 0}});var qJ=g(QE=>{"use strict";Object.defineProperty(QE,"__esModule",{value:!0});QE.state=void 0;QE.state={operationRequestMap:new WeakMap}});var y4=g(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});var Mxe=require("os"),Oxe=require("util");function Fxe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(Fxe,"_interopDefaultLegacy");var Uxe=Fxe(Oxe);function qxe(t,...e){process.stderr.write(`${Uxe.default.format(t,...e)}${Mxe.EOL}`)}o(qxe,"log");var l4=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,A4,bP=[],QP=[],zy=[];l4&&xP(l4);var d4=Object.assign(t=>p4(t),{enable:xP,enabled:NP,disable:Gxe,log:qxe});function xP(t){A4=t,bP=[],QP=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?QP.push(new RegExp(`^${s.substr(1)}$`)):bP.push(new RegExp(`^${s}$`));for(let s of zy)s.enabled=NP(s.namespace)}o(xP,"enable");function NP(t){if(t.endsWith("*"))return!0;for(let e of QP)if(e.test(t))return!1;for(let e of bP)if(e.test(t))return!0;return!1}o(NP,"enabled");function Gxe(){let t=A4||"";return xP(""),t}o(Gxe,"disable");function p4(t){let e=Object.assign(r,{enabled:NP(t),destroy:Hxe,log:d4.log,namespace:t,extend:zxe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),zy.push(e),e}o(p4,"createDebugger");function Hxe(){let t=zy.indexOf(this);return t>=0?(zy.splice(t,1),!0):!1}o(Hxe,"destroy");function zxe(t){let e=p4(`${this.namespace}:${t}`);return e.log=this.log,e}o(zxe,"extend");var Yp=d4,m4=new Set,Gy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Vy,$y=Yp("azure");$y.log=(...t)=>{Yp.log(...t)};var SP=["verbose","info","warning","error"];Gy&&(E4(Gy)?h4(Gy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Gy}'; logging is not enabled. Acceptable values: ${SP.join(", ")}.`));function h4(t){if(t&&!E4(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${SP.join(",")}`);Vy=t;let e=[];for(let r of m4)g4(r)&&e.push(r.namespace);Yp.enable(e.join(","))}o(h4,"setLogLevel");function Vxe(){return Vy}o(Vxe,"getLogLevel");var u4={verbose:400,info:300,warning:200,error:100};function $xe(t){let e=$y.extend(t);return f4($y,e),{error:Hy(e,"error"),warning:Hy(e,"warning"),info:Hy(e,"info"),verbose:Hy(e,"verbose")}}o($xe,"createClientLogger");function f4(t,e){e.log=(...r)=>{t.log(...r)}}o(f4,"patchLogMethod");function Hy(t,e){let r=Object.assign(t.extend(e),{level:e});if(f4(t,r),g4(r)){let s=Yp.disable();Yp.enable(s+","+r.namespace)}return m4.add(r),r}o(Hy,"createLogger");function g4(t){return!!(Vy&&u4[t.level]<=u4[Vy])}o(g4,"shouldEnable");function E4(t){return SP.includes(t)}o(E4,"isAzureLogLevel");Ru.AzureLogger=$y;Ru.createClientLogger=$xe;Ru.getLogLevel=Vxe;Ru.setLogLevel=h4});var PP=g(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});var Tu=new WeakMap,Yy=new WeakMap,Jp=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Tu.set(this,[]),Yy.set(this,!1)}get aborted(){if(!Yy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Yy.get(this)}static get none(){return new t}addEventListener(e,r){if(!Tu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Tu.get(this).push(r)}removeEventListener(e,r){if(!Tu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=Tu.get(this),n=s.indexOf(r);n>-1&&s.splice(n,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function C4(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Tu.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Yy.set(t,!0)}o(C4,"abortSignal");var RP=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},TP=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Jp,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){C4(this._signal)}static timeout(e){let r=new Jp,s=setTimeout(C4,e,r);return typeof s.unref=="function"&&s.unref(),r}};Wp.AbortController=TP;Wp.AbortError=RP;Wp.AbortSignal=Jp});var Q4=g(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});var Yxe=PP(),OP=require("crypto");function I4(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new Yxe.AbortError(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(I4,"createAbortablePromise");var Jxe="The delay was aborted.";function Wxe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return I4(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??Jxe})}o(Wxe,"delay");function jxe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(jxe,"getRandomIntegerInclusive");function B4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(B4,"isObject");function w4(t){if(B4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(w4,"isError");function Kxe(t){if(w4(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(Kxe,"getErrorMessage");async function Xxe(t,e,r){let s=Buffer.from(t,"base64");return OP.createHmac("sha256",s).update(e).digest(r)}o(Xxe,"computeSha256Hmac");async function Zxe(t,e){return OP.createHash("sha256").update(t).digest(e)}o(Zxe,"computeSha256Hash");function FP(t){return typeof t<"u"&&t!==null}o(FP,"isDefined");function e0e(t,e){if(!FP(t)||typeof t!="object")return!1;for(let r of e)if(!b4(t,r))return!1;return!0}o(e0e,"isObjectWithProperties");function b4(t,e){return FP(t)&&typeof t=="object"&&e in t}o(b4,"objectHasProperty");function t0e(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}o(t0e,"generateUUID");var vP,MP=typeof((vP=globalThis?.crypto)===null||vP===void 0?void 0:vP.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):OP.randomUUID;MP||(MP=t0e);function r0e(){return MP()}o(r0e,"randomUUID");var kP,DP,_P,LP,s0e=typeof window<"u"&&typeof window.document<"u",n0e=typeof self=="object"&&typeof self?.importScripts=="function"&&(((kP=self.constructor)===null||kP===void 0?void 0:kP.name)==="DedicatedWorkerGlobalScope"||((DP=self.constructor)===null||DP===void 0?void 0:DP.name)==="ServiceWorkerGlobalScope"||((_P=self.constructor)===null||_P===void 0?void 0:_P.name)==="SharedWorkerGlobalScope"),i0e=typeof process<"u"&&!!process.version&&!!(!((LP=process.versions)===null||LP===void 0)&&LP.node),o0e=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",a0e=typeof Bun<"u"&&typeof Bun.version<"u",c0e=typeof navigator<"u"&&navigator?.product==="ReactNative";function l0e(t,e){switch(e){case"utf-8":return p0e(t);case"base64":return A0e(t);case"base64url":return d0e(t)}}o(l0e,"uint8ArrayToString");function u0e(t,e){switch(e){case"utf-8":return m0e(t);case"base64":return h0e(t);case"base64url":return f0e(t)}}o(u0e,"stringToUint8Array");function A0e(t){return Buffer.from(t).toString("base64")}o(A0e,"uint8ArrayToBase64");function d0e(t){return Buffer.from(t).toString("base64url")}o(d0e,"uint8ArrayToBase64Url");function p0e(t){return Buffer.from(t).toString("utf-8")}o(p0e,"uint8ArrayToUtf8String");function m0e(t){return Buffer.from(t)}o(m0e,"utf8StringToUint8Array");function h0e(t){return Buffer.from(t,"base64")}o(h0e,"base64ToUint8Array");function f0e(t){return Buffer.from(t,"base64url")}o(f0e,"base64UrlToUint8Array");st.computeSha256Hash=Zxe;st.computeSha256Hmac=Xxe;st.createAbortablePromise=I4;st.delay=Wxe;st.getErrorMessage=Kxe;st.getRandomIntegerInclusive=jxe;st.isBrowser=s0e;st.isBun=a0e;st.isDefined=FP;st.isDeno=o0e;st.isError=w4;st.isNode=i0e;st.isObject=B4;st.isObjectWithProperties=e0e;st.isReactNative=c0e;st.isWebWorker=n0e;st.objectHasProperty=b4;st.randomUUID=r0e;st.stringToUint8Array=u0e;st.uint8ArrayToString=l0e});var $4=g(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});var g0e=y4(),x4=PP(),E0e=Q4(),Cc=g0e.createClientLogger("core-lro"),S4=2e3,R4=["succeeded","canceled","failed"];function T4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(T4,"deserializeState");function N4(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}o(N4,"setStateError");function y0e(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(y0e,"appendReadableErrorMessage");function C0e(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=y0e(e,s.message);return{code:r,message:e}}o(C0e,"simplifyError");function P4(t){let{state:e,stateProxy:r,status:s,isDone:n,processResult:i,getError:a,response:c,setErrorAsResult:l}=t;switch(s){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),A="";if(u){let{code:p,message:m}=C0e(u);A=`. ${p}. ${m}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),Cc.warning(d);break}case"canceled":{r.setCanceled(e);break}}(n?.(c,e)||n===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(s))&&r.setResult(e,I0e({response:c,state:e,processResult:i}))}o(P4,"processOperationStatus");function I0e(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}o(I0e,"buildResult");async function v4(t){let{init:e,stateProxy:r,processResult:s,getOperationStatus:n,withOperationLocation:i,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:A}=await e();c&&i?.(c,!1);let d={metadata:u,operationLocation:c,resourceLocation:l};Cc.verbose("LRO: Operation description:",d);let p=r.initState(d),m=n({response:A,state:p,operationLocation:c});return P4({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:a,processResult:s}),p}o(v4,"initOperation");async function B0e(t){let{poll:e,state:r,stateProxy:s,operationLocation:n,getOperationStatus:i,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(n,l).catch(N4({state:r,stateProxy:s,isOperationError:c})),A=i(u,r);if(Cc.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${A} - Polling status: ${S4.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(x4({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(C0e,"pollOperationHelper");async function v4(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:p,updateState:m,setDelay:h,isDone:f,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:y,status:I}=await C0e({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(T4({status:I,response:y,state:r,stateProxy:s,isDone:f,processResult:d,getError:p,setErrorAsResult:C}),!S4.includes(I)){let B=A?.(y);B&&h(B);let N=c?.(y,r);if(N!==void 0){let S=E!==N;r.config.operationLocation=N,u?.(N,S)}else u?.(E,!1)}m?.(r,y)}}o(v4,"pollOperation");function k4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(k4,"getOperationLocationPollingUrl");function D4(t){return t.headers.location}o(D4,"getLocationHeader");function _4(t){return t.headers["operation-location"]}o(_4,"getOperationLocationHeader");function L4(t){return t.headers["azure-asyncoperation"]}o(L4,"getAzureAsyncOperationHeader");function I0e(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:n;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}o(a,"getDefault")}o(I0e,"findResourceLocation");function M4(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=_4(e),a=L4(e),c=k4({operationLocation:i,azureAsyncOperation:a}),l=D4(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:I0e({requestMethod:u,location:l,requestPath:s,resourceLocationConfig:n})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(M4,"inferLroMode");function O4(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return UP(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return Cc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(O4,"transformStatus");function B0e(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return O4({status:r,statusCode:t.statusCode})}o(B0e,"getStatus");function w0e(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return O4({status:i,statusCode:t.statusCode})}o(w0e,"getProvisioningState");function UP(t){return t===202?"running":t<300?"succeeded":"failed"}o(UP,"toOperationStatus");function F4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?b0e(new Date(e)):r*1e3}}o(F4,"parseRetryAfter");function U4(t){let e=t.flatResponse.error;if(!e){Cc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Cc.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(U4,"getErrorFromResponse");function b0e(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await n.sendInitialRequest(),c=M4({rawResponse:a.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:s?({flatResponse:a},c)=>s(a,c):({flatResponse:a})=>a,getOperationStatus:q4,setErrorAsResult:i})}o(Q0e,"initHttpOperation");function G4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return k4({operationLocation:_4(t),azureAsyncOperation:L4(t)});case"ResourceLocation":return D4(t);default:return}}o(G4,"getOperationLocation");function qP({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return B0e(t);case"ResourceLocation":return UP(t.statusCode);case"Body":return w0e(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}o(qP,"getOperationStatus");function H4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(H4,"getResourceLocation");function z4(t){return t.name==="RestError"}o(z4,"isOperationError");async function x0e(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return v4({state:c,stateProxy:r,setDelay:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u,getError:U4,updateState:i,getPollingInterval:F4,getOperationLocation:G4,getOperationStatus:qP,isOperationError:z4,getResourceLocation:H4,options:s,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(x0e,"pollHttpOperation");var N0e=o(()=>({initState:o(t=>({status:"running",config:t}),"initState"),setCanceled:o(t=>t.status="canceled","setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.status="running","setRunning"),setSucceeded:o(t=>t.status="succeeded","setSucceeded"),setFailed:o(t=>t.status="failed","setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>t.status==="canceled","isCanceled"),isFailed:o(t=>t.status==="failed","isFailed"),isRunning:o(t=>t.status==="running","isRunning"),isSucceeded:o(t=>t.status==="succeeded","isSucceeded")}),"createStateProxy$1");function S0e(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:s,isOperationError:n,getResourceLocation:i,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:A},d)=>{let{processResult:p,updateState:m,withOperationLocation:h,intervalInMs:f=N4,restoreFrom:C}=d||{},E=N0e(),y=h?(()=>{let ke=!1;return(de,gt)=>{gt?h(de):ke||h(de),ke=!0}})():void 0,I=C?R4(C):await P4({init:u,stateProxy:E,processResult:p,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!l}),B,N=new Q4.AbortController,S=new Map,U=o(async()=>S.forEach(ke=>ke(I)),"handleProgressEvents"),Ie="Operation was canceled",je=f,Pe={getOperationState:o(()=>I,"getOperationState"),getResult:o(()=>I.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(I.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{N.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(ke=>{let de=Symbol();return S.set(de,ke),()=>S.delete(de)},"onProgress"),pollUntilDone:o(ke=>B??(B=(async()=>{let{abortSignal:de}=ke||{},{signal:gt}=de?new Q4.AbortController([de,N.signal]):N;if(!Pe.isDone())for(await Pe.poll({abortSignal:gt});!Pe.isDone();)await f0e.delay(je,{abortSignal:gt}),await Pe.poll({abortSignal:gt});if(l)return Pe.getResult();switch(I.status){case"succeeded":return Pe.getResult();case"canceled":throw new Error(Ie);case"failed":throw I.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{B=void 0})),"pollUntilDone"),async poll(ke){if(l){if(Pe.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(Ie);case"failed":throw I.error}if(await v4({poll:A,state:I,stateProxy:E,getOperationLocation:e,isOperationError:n,withOperationLocation:y,getPollingInterval:a,getOperationStatus:s,getResourceLocation:i,processResult:p,getError:c,updateState:m,options:ke,setDelay:o(de=>{je=de},"setDelay"),setErrorAsResult:!l}),await U(),!l)switch(I.status){case"canceled":throw new Error(Ie);case"failed":throw I.error}}};return Pe}}o(S0e,"buildCreatePoller");async function R0e(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return S0e({getStatusFromInitialResponse:q4,getStatusFromPollResponse:qP,isOperationError:z4,getOperationLocation:G4,getResourceLocation:H4,getPollingInterval:F4,getError:U4,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=M4({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:A?.operationLocation,resourceLocation:A?.resourceLocation},A?.mode?{metadata:{mode:A.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:s,withOperationLocation:c,restoreFrom:i,updateState:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u})}o(R0e,"createHttpPoller");var T0e=o(()=>({initState:o(t=>({config:t,isStarted:!0}),"initState"),setCanceled:o(t=>t.isCancelled=!0,"setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.isStarted=!0,"setRunning"),setSucceeded:o(t=>t.isCompleted=!0,"setSucceeded"),setFailed:o(()=>{},"setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>!!t.isCancelled,"isCanceled"),isFailed:o(t=>!!t.error,"isFailed"),isRunning:o(t=>!!t.isStarted,"isRunning"),isSucceeded:o(t=>!!(t.isCompleted&&!t.isCancelled&&!t.error),"isSucceeded")}),"createStateProxy"),OP=class{static{o(this,"GenericPollOperation")}constructor(e,r,s,n,i,a,c){this.state=e,this.lro=r,this.setErrorAsResult=s,this.lroResourceLocationConfig=n,this.processResult=i,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let s=T0e();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Q0e({lro:this.lro,stateProxy:s,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let n=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await x0e({lro:this.lro,state:this.state,stateProxy:s,processResult:this.processResult,updateState:n?(a,{rawResponse:c})=>n(a,c):void 0,isDone:i?({flatResponse:a},c)=>i(a,c):void 0,options:e,setDelay:o(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return Cc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},Yy=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Jy=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Wy=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Jy("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new Yy("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},FP=class extends Wy{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:s=N4,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=n?R4(n):{},d=new OP(A,e,!i,c,l,u,a);super(d),this.resolveOnUnsuccessful=i,this.config={intervalInMs:s},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Ic.LroEngine=FP;Ic.Poller=Wy;Ic.PollerCancelledError=Jy;Ic.PollerStoppedError=Yy;Ic.createHttpPoller=R0e});var p8=g((pot,K0e)=>{K0e.exports={name:"@actions/cache",version:"6.3.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.7.0","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"~1.23.0","@azure/storage-blob":"~12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.8.5"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.9.8","@types/semver":"^7.8.0",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var h8=g((mot,m8)=>{var X0e=p8();m8.exports={version:X0e.version}});var cC=g(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.isJsonObject=Du.typeofJsonValue=void 0;function oNe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(oNe,"typeofJsonValue");Du.typeofJsonValue=oNe;function aNe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(aNe,"isJsonObject");Du.isJsonObject=aNe});var uC=g(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.base64encode=_u.base64decode=void 0;var ro="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lC=[];for(let t=0;t>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o(cNe,"base64decode");_u.base64decode=cNe;function lNe(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=ro[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=ro[n|s>>6],e+=ro[s&63],r=0;break}return r&&(e+=ro[n],e+="=",r==1&&(e+="=")),e}o(lNe,"base64encode");_u.base64encode=lNe});var I8=g(AC=>{"use strict";Object.defineProperty(AC,"__esModule",{value:!0});AC.utf8read=void 0;var XP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function uNe(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(XP(s)),n=0);return r.length?(n&&r.push(XP(s.slice(0,n))),r.join("")):XP(s.slice(0,n))}o(uNe,"utf8read");AC.utf8read=uNe});var rm=g(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.WireType=di.mergeBinaryOptions=di.UnknownFieldHandler=void 0;var ANe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(ANe=di.UnknownFieldHandler||(di.UnknownFieldHandler={}));function dNe(t,e){return Object.assign(Object.assign({},t),e)}o(dNe,"mergeBinaryOptions");di.mergeBinaryOptions=dNe;var pNe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(pNe=di.WireType||(di.WireType={}))});var pC=g(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.varint32read=Fr.varint32write=Fr.int64toString=Fr.int64fromString=Fr.varint64write=Fr.varint64read=void 0;function mNe(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(hNe,"varint64write");Fr.varint64write=hNe;var dC=65536*65536;function fNe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let l=Number(t.slice(a,c));n*=r,s=s*r+l,s>=dC&&(n=n+(s/dC|0),s=s%dC)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(fNe,"int64fromString");Fr.int64fromString=fNe;function gNe(t,e){if(e>>>0<=2097151)return""+(dC*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(A,d){let p=A?String(A):"";return d?"0000000".slice(p.length)+p:p}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(i,1)}o(gNe,"int64toString");Fr.int64toString=gNe;function ENe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(ENe,"varint32write");Fr.varint32write=ENe;function yNe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(yNe,"varint32read");Fr.varint32read=yNe});var sa=g(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.PbLong=ra.PbULong=ra.detectBi=void 0;var sm=pC(),ve;function B8(){let t=new DataView(new ArrayBuffer(8));ve=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(B8,"detectBi");ra.detectBi=B8;B8();function w8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(w8,"assertBi");var b8=/^-?[0-9]+$/,hC=4294967296,mC=2147483648,fC=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*hC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},nm=class t extends fC{static{o(this,"PbULong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.UMAX)throw new Error("ulong too large");return ve.V.setBigUint64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!b8.test(e))throw new Error("string is no integer");let[r,s,n]=sm.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(s,n);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/hC)}throw new Error("unknown value "+typeof e)}toString(){return ve?this.toBigInt().toString():sm.int64toString(this.lo,this.hi)}toBigInt(){return w8(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigUint64(0,!0)}};ra.PbULong=nm;nm.ZERO=new nm(0,0);var im=class t extends fC{static{o(this,"PbLong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.MAX)throw new Error("signed long too large");return ve.V.setBigInt64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!b8.test(e))throw new Error("string is no integer");let[r,s,n]=sm.int64fromString(e);if(r){if(n>mC||n==mC&&s!=0)throw new Error("signed long too small")}else if(n>=mC)throw new Error("signed long too large");let i=new t(s,n);return r?i.negate():i;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/hC):new t(-e,-e/hC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&mC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ve)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+sm.int64toString(e.lo,e.hi)}return sm.int64toString(this.lo,this.hi)}toBigInt(){return w8(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigInt64(0,!0)}};ra.PbLong=im;im.ZERO=new im(0,0)});var ZP=g(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.BinaryReader=Mu.binaryReadOptions=void 0;var Lu=rm(),om=sa(),Q8=pC(),x8={readUnknownField:!0,readerFactory:o(t=>new gC(t),"readerFactory")};function CNe(t){return t?Object.assign(Object.assign({},x8),t):x8}o(CNe,"binaryReadOptions");Mu.binaryReadOptions=CNe;var gC=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=Q8.varint64read,this.uint32=Q8.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,s=e&7;if(r<=0||s<0||s>5)throw new Error("illegal tag: field no "+r+" wire type "+s);return[r,s]}skip(e){let r=this.pos;switch(e){case Lu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Lu.WireType.Bit64:this.pos+=4;case Lu.WireType.Bit32:this.pos+=4;break;case Lu.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case Lu.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==Lu.WireType.EndGroup;)this.skip(n);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new om.PbLong(...this.varint64())}uint64(){return new om.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),s=-(e&1);return e=(e>>>1|(r&1)<<31)^s,r=r>>>1^s,new om.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new om.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new om.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};Mu.BinaryReader=gC});var Ou=g(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.assertFloat32=Os.assertUInt32=Os.assertInt32=Os.assertNever=Os.assert=void 0;function INe(t,e){if(!t)throw new Error(e)}o(INe,"assert");Os.assert=INe;function BNe(t,e){throw new Error(e??"Unexpected object: "+t)}o(BNe,"assertNever");Os.assertNever=BNe;var wNe=34028234663852886e22,bNe=-34028234663852886e22,QNe=4294967295,xNe=2147483647,NNe=-2147483648;function SNe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>xNe||tQNe||t<0)throw new Error("invalid uint 32: "+t)}o(RNe,"assertUInt32");Os.assertUInt32=RNe;function TNe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>wNe||t{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.BinaryWriter=Uu.binaryWriteOptions=void 0;var am=sa(),cm=pC(),Fu=Ou(),N8={writeUnknownFields:!0,writerFactory:o(()=>new EC,"writerFactory")};function PNe(t){return t?Object.assign(Object.assign({},N8),t):N8}o(PNe,"binaryWriteOptions");Uu.binaryWriteOptions=PNe;var EC=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let n=0;n>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Fu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Fu.assertInt32(e),cm.varint32write(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let r=this.textEncoder.encode(e);return this.uint32(r.byteLength),this.raw(r)}float(e){Fu.assertFloat32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setFloat32(0,e,!0),this.raw(r)}double(e){let r=new Uint8Array(8);return new DataView(r.buffer).setFloat64(0,e,!0),this.raw(r)}fixed32(e){Fu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Fu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Fu.assertInt32(e),e=(e<<1^e>>31)>>>0,cm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=am.PbLong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=am.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=am.PbLong.from(e);return cm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=am.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return cm.varint64write(n,i,this.buf),this}uint64(e){let r=am.PbULong.from(e);return cm.varint64write(r.lo,r.hi,this.buf),this}};Uu.BinaryWriter=EC});var tv=g(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.mergeJsonOptions=na.jsonWriteOptions=na.jsonReadOptions=void 0;var S8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},R8={ignoreUnknownFields:!1};function vNe(t){return t?Object.assign(Object.assign({},R8),t):R8}o(vNe,"jsonReadOptions");na.jsonReadOptions=vNe;function kNe(t){return t?Object.assign(Object.assign({},S8),t):S8}o(kNe,"jsonWriteOptions");na.jsonWriteOptions=kNe;function DNe(t,e){var r,s;let n=Object.assign(Object.assign({},t),e);return n.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(s=e?.typeRegistry)!==null&&s!==void 0?s:[]],n}o(DNe,"mergeJsonOptions");na.mergeJsonOptions=DNe});var lm=g(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});yC.MESSAGE_TYPE=void 0;yC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var rv=g(CC=>{"use strict";Object.defineProperty(CC,"__esModule",{value:!0});CC.lowerCamelCase=void 0;function _Ne(t){let e=!1,r=[];for(let s=0;s{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.readMessageOption=Tt.readFieldOption=Tt.readFieldOptions=Tt.normalizeFieldInfo=Tt.RepeatType=Tt.LongType=Tt.ScalarType=void 0;var T8=rv(),LNe;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(LNe=Tt.ScalarType||(Tt.ScalarType={}));var MNe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(MNe=Tt.LongType||(Tt.LongType={}));var P8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(P8=Tt.RepeatType||(Tt.RepeatType={}));function ONe(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:T8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:T8.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:P8.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}o(ONe,"normalizeFieldInfo");Tt.normalizeFieldInfo=ONe;function FNe(t,e,r,s){var n;let i=(n=t.fields.find((a,c)=>a.localName==e||c==e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(FNe,"readFieldOptions");Tt.readFieldOptions=FNe;function UNe(t,e,r,s){var n;let i=(n=t.fields.find((c,l)=>c.localName==e||l==e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(UNe,"readFieldOption");Tt.readFieldOption=UNe;function qNe(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}o(qNe,"readMessageOption");Tt.readMessageOption=qNe});var sv=g(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.getSelectedOneofValue=Ur.clearOneofValue=Ur.setUnknownOneofValue=Ur.setOneofValue=Ur.getOneofValue=Ur.isOneofGroup=void 0;function GNe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(GNe,"isOneofGroup");Ur.isOneofGroup=GNe;function HNe(t,e){return t[e]}o(HNe,"getOneofValue");Ur.getOneofValue=HNe;function zNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(zNe,"setOneofValue");Ur.setOneofValue=zNe;function VNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(VNe,"setUnknownOneofValue");Ur.setUnknownOneofValue=VNe;function $Ne(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o($Ne,"clearOneofValue");Ur.clearOneofValue=$Ne;function YNe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(YNe,"getSelectedOneofValue");Ur.getSelectedOneofValue=YNe});var iv=g(IC=>{"use strict";Object.defineProperty(IC,"__esModule",{value:!0});IC.ReflectionTypeCheck=void 0;var nt=gn(),JNe=sv(),nv=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],s=[];for(let n of this.fields)if(n.oneof)s.includes(n.oneof)||(s.push(n.oneof),e.push(n.oneof),r.push(n.oneof));else switch(r.push(n.localName),n.kind){case"scalar":case"enum":(!n.opt||n.repeat)&&e.push(n.localName);break;case"message":n.repeat&&e.push(n.localName);break;case"map":e.push(n.localName);break}this.data={req:e,known:r,oneofs:Object.values(s)}}is(e,r,s=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let n=Object.keys(e),i=this.data;if(n.length!n.includes(a))||!s&&n.some(a=>!i.known.includes(a)))return!1;if(r<1)return!0;for(let a of i.oneofs){let c=e[a];if(!JNe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,s,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,s,r))return!1;return!0}field(e,r,s,n){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,n,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,nt.ScalarType.INT32,n):this.scalar(e,nt.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),s,n):this.message(e,r.T(),s,n);case"map":if(typeof e!="object"||e===null)return!1;if(n<2)return!0;if(!this.mapKeys(e,r.K,n))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,n,r.V.L);case"enum":return this.scalars(Object.values(e),nt.ScalarType.INT32,n);case"message":return this.messages(Object.values(e),r.V.T(),s,n)}break}return!0}message(e,r,s,n){return s?r.isAssignable(e,n):r.is(e,n)}messages(e,r,s,n){if(!Array.isArray(e))return!1;if(n<2)return!0;if(s){for(let i=0;iparseInt(i)),r,s);case nt.ScalarType.BOOL:return this.scalars(n.slice(0,s).map(i=>i=="true"?!0:i=="false"?!1:i),r,s);default:return this.scalars(n,r,s,nt.LongType.STRING)}}};IC.ReflectionTypeCheck=nv});var wC=g(BC=>{"use strict";Object.defineProperty(BC,"__esModule",{value:!0});BC.reflectionLongConvert=void 0;var v8=gn();function WNe(t,e){switch(e){case v8.LongType.BIGINT:return t.toBigInt();case v8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(WNe,"reflectionLongConvert");BC.reflectionLongConvert=WNe});var av=g(xC=>{"use strict";Object.defineProperty(xC,"__esModule",{value:!0});xC.ReflectionJsonReader=void 0;var k8=cC(),jNe=uC(),Pt=gn(),bC=sa(),wc=Ou(),QC=wC(),ov=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let s of r)this.fMap[s.name]=s,this.fMap[s.jsonName]=s,this.fMap[s.localName]=s}}assert(e,r,s){if(!e){let n=k8.typeofJsonValue(s);throw(n=="number"||n=="boolean")&&(n=s.toString()),new Error(`Cannot parse JSON ${n} for ${this.info.typeName}#${r}`)}}read(e,r,s){this.prepare();let n=[];for(let[i,a]of Object.entries(e)){let c=this.fMap[i];if(!c){if(!s.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(n.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);n.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(k8.isJsonObject(a),c.name,a);let A=u[l];for(let[d,p]of Object.entries(a)){this.assert(p!==null,c.name+" map value",null);let m;switch(c.V.kind){case"message":m=c.V.T().internalJsonRead(p,s);break;case"enum":if(m=this.enum(c.V.T(),p,c.name,s.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(p,c.V.T,c.V.L,c.name);break}this.assert(m!==void 0,c.name+" map value",p);let h=d;c.K==Pt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Pt.LongType.STRING,c.name).toString(),A[h]=m}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let A=u[l];for(let d of a){this.assert(d!==null,c.name,null);let p;switch(c.kind){case"message":p=c.T().internalJsonRead(d,s);break;case"enum":if(p=this.enum(c.T(),d,c.name,s.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(d,c.T,c.L,c.name);break}this.assert(p!==void 0,c.name,a),A.push(p)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}u[l]=c.T().internalJsonRead(a,s,u[l]);break;case"enum":if(a===null)continue;let A=this.enum(c.T(),a,c.name,s.ignoreUnknownFields);if(A===!1)continue;u[l]=A;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,s,n){if(e[0]=="google.protobuf.NullValue"&&wc.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return wc.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${s}, enum can only be integral number, got ${r}.`),r;case"string":let i=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(i=r.substring(e[2].length));let a=e[1][i];return typeof a>"u"&&n?!1:(wc.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),a)}wc.assert(!1,`Unable to parse field ${this.info.typeName}#${s}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,s,n){let i;try{switch(r){case Pt.ScalarType.DOUBLE:case Pt.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){i="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){i="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){i="not a number";break}if(!Number.isFinite(a)){i="too large or small";break}return r==Pt.ScalarType.FLOAT&&wc.assertFloat32(a),a;case Pt.ScalarType.INT32:case Pt.ScalarType.FIXED32:case Pt.ScalarType.SFIXED32:case Pt.ScalarType.SINT32:case Pt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":c=Number(e)),c===void 0)break;return r==Pt.ScalarType.UINT32?wc.assertUInt32(c):wc.assertInt32(c),c;case Pt.ScalarType.INT64:case Pt.ScalarType.SFIXED64:case Pt.ScalarType.SINT64:if(e===null)return QC.reflectionLongConvert(bC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return QC.reflectionLongConvert(bC.PbLong.from(e),s);case Pt.ScalarType.FIXED64:case Pt.ScalarType.UINT64:if(e===null)return QC.reflectionLongConvert(bC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return QC.reflectionLongConvert(bC.PbULong.from(e),s);case Pt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Pt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Pt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return jNe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,n+(i?" - "+i:""),e)}};xC.ReflectionJsonReader=ov});var lv=g(NC=>{"use strict";Object.defineProperty(NC,"__esModule",{value:!0});NC.ReflectionJsonWriter=void 0;var KNe=uC(),D8=sa(),gr=gn(),Ye=Ou(),cv=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let s={},n=e;for(let i of this.fields){if(!i.oneof){let u=this.field(i,n[i.localName],r);u!==void 0&&(s[r.useProtoFieldName?i.name:i.jsonName]=u);continue}let a=n[i.oneof];if(a.oneofKind!==i.localName)continue;let c=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(i,a[i.localName],c);Ye.assert(l!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=l}return s}field(e,r,s){let n;if(e.kind=="map"){Ye.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let A=this.scalar(e.V.T,u,e.name,!1,!0);Ye.assert(A!==void 0),i[l.toString()]=A}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let A=this.message(a,u,e.name,s);Ye.assert(A!==void 0),i[l.toString()]=A}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Ye.assert(u===void 0||typeof u=="number");let A=this.enum(c,u,e.name,!1,!0,s.enumAsInteger);Ye.assert(A!==void 0),i[l.toString()]=A}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){Ye.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let l=0;l0||s.emitDefaultValues)&&(n=i)}else switch(e.kind){case"scalar":n=this.scalar(e.T,r,e.name,e.opt,s.emitDefaultValues);break;case"enum":n=this.enum(e.T(),r,e.name,e.opt,s.emitDefaultValues,s.enumAsInteger);break;case"message":n=this.message(e.T(),r,e.name,s);break}return n}enum(e,r,s,n,i,a){if(e[0]=="google.protobuf.NullValue")return!i&&!n?void 0:null;if(r===void 0){Ye.assert(n);return}if(!(r===0&&!i&&!n))return Ye.assert(typeof r=="number"),Ye.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,s,n){return r===void 0?n.emitDefaultValues?null:void 0:e.internalJsonWrite(r,n)}scalar(e,r,s,n,i){if(r===void 0){Ye.assert(n);return}let a=i||n;switch(e){case gr.ScalarType.INT32:case gr.ScalarType.SFIXED32:case gr.ScalarType.SINT32:return r===0?a?0:void 0:(Ye.assertInt32(r),r);case gr.ScalarType.FIXED32:case gr.ScalarType.UINT32:return r===0?a?0:void 0:(Ye.assertUInt32(r),r);case gr.ScalarType.FLOAT:Ye.assertFloat32(r);case gr.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ye.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case gr.ScalarType.STRING:return r===""?a?"":void 0:(Ye.assert(typeof r=="string"),r);case gr.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ye.assert(typeof r=="boolean"),r);case gr.ScalarType.UINT64:case gr.ScalarType.FIXED64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=D8.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case gr.ScalarType.INT64:case gr.ScalarType.SFIXED64:case gr.ScalarType.SINT64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=D8.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case gr.ScalarType.BYTES:return Ye.assert(r instanceof Uint8Array),r.byteLength?KNe.base64encode(r):a?"":void 0}}};NC.ReflectionJsonWriter=cv});var RC=g(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.reflectionScalarDefault=void 0;var En=gn(),_8=wC(),L8=sa();function XNe(t,e=En.LongType.STRING){switch(t){case En.ScalarType.BOOL:return!1;case En.ScalarType.UINT64:case En.ScalarType.FIXED64:return _8.reflectionLongConvert(L8.PbULong.ZERO,e);case En.ScalarType.INT64:case En.ScalarType.SFIXED64:case En.ScalarType.SINT64:return _8.reflectionLongConvert(L8.PbLong.ZERO,e);case En.ScalarType.DOUBLE:case En.ScalarType.FLOAT:return 0;case En.ScalarType.BYTES:return new Uint8Array(0);case En.ScalarType.STRING:return"";default:return 0}}o(XNe,"reflectionScalarDefault");SC.reflectionScalarDefault=XNe});var Av=g(TC=>{"use strict";Object.defineProperty(TC,"__esModule",{value:!0});TC.ReflectionBinaryReader=void 0;var M8=rm(),dt=gn(),um=wC(),O8=RC(),uv=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(s=>[s.no,s]))}}read(e,r,s,n){this.prepare();let i=n===void 0?e.len:e.pos+n;for(;e.pos{"use strict";Object.defineProperty(PC,"__esModule",{value:!0});PC.ReflectionBinaryWriter=void 0;var As=rm(),_e=gn(),qu=Ou(),Am=sa(),dv=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,s)=>r.no-s.no)}}write(e,r,s){this.prepare();for(let i of this.fields){let a,c,l=i.repeat,u=i.localName;if(i.oneof){let A=e[i.oneof];if(A.oneofKind!==u)continue;a=A[u],c=!0}else a=e[u],c=!1;switch(i.kind){case"scalar":case"enum":let A=i.kind=="enum"?_e.ScalarType.INT32:i.T;if(l)if(qu.assert(Array.isArray(a)),l==_e.RepeatType.PACKED)this.packed(r,A,i.no,a);else for(let d of a)this.scalar(r,A,i.no,d,!0);else a===void 0?qu.assert(i.opt):this.scalar(r,A,i.no,a,c||i.opt);break;case"message":if(l){qu.assert(Array.isArray(a));for(let d of a)this.message(r,s,i.T(),i.no,d)}else this.message(r,s,i.T(),i.no,a);break;case"map":qu.assert(typeof a=="object"&&a!==null);for(let[d,p]of Object.entries(a))this.mapEntry(r,s,i,d,p);break}}let n=s.writeUnknownFields;n!==!1&&(n===!0?As.UnknownFieldHandler.onWrite:n)(this.info.typeName,e,r)}mapEntry(e,r,s,n,i){e.tag(s.no,As.WireType.LengthDelimited),e.fork();let a=n;switch(s.K){case _e.ScalarType.INT32:case _e.ScalarType.FIXED32:case _e.ScalarType.UINT32:case _e.ScalarType.SFIXED32:case _e.ScalarType.SINT32:a=Number.parseInt(n);break;case _e.ScalarType.BOOL:qu.assert(n=="true"||n=="false"),a=n=="true";break}switch(this.scalar(e,s.K,1,a,!0),s.V.kind){case"scalar":this.scalar(e,s.V.T,2,i,!0);break;case"enum":this.scalar(e,_e.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,s.V.T(),2,i);break}e.join()}message(e,r,s,n,i){i!==void 0&&(s.internalBinaryWrite(i,e.tag(n,As.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,s,n,i){let[a,c,l]=this.scalarInfo(r,n);(!l||i)&&(e.tag(s,a),e[c](n))}packed(e,r,s,n){if(!n.length)return;qu.assert(r!==_e.ScalarType.BYTES&&r!==_e.ScalarType.STRING),e.tag(s,As.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(vC,"__esModule",{value:!0});vC.reflectionCreate=void 0;var ZNe=RC(),eSe=lm();function tSe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},eSe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let s=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[s]=[];else switch(r.kind){case"scalar":e[s]=ZNe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}o(tSe,"reflectionCreate");vC.reflectionCreate=tSe});var hv=g(kC=>{"use strict";Object.defineProperty(kC,"__esModule",{value:!0});kC.reflectionMergePartial=void 0;function rSe(t,e,r){let s,n=r,i;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=n[a.oneof];if(l?.oneofKind==null)continue;if(s=l[c],i=e[a.oneof],i.oneofKind=l.oneofKind,s==null){delete i[c];continue}}else if(s=n[c],i=e,s==null)continue;switch(a.repeat&&(i[c].length=s.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(_C,"__esModule",{value:!0});_C.reflectionEquals=void 0;var fv=gn();function sSe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let s of t.fields){let n=s.localName,i=s.oneof?e[s.oneof][n]:e[n],a=s.oneof?r[s.oneof][n]:r[n];switch(s.kind){case"enum":case"scalar":let c=s.kind=="enum"?fv.ScalarType.INT32:s.T;if(!(s.repeat?F8(c,i,a):q8(c,i,a)))return!1;break;case"map":if(!(s.V.kind=="message"?U8(s.V.T(),DC(i),DC(a)):F8(s.V.kind=="enum"?fv.ScalarType.INT32:s.V.T,DC(i),DC(a))))return!1;break;case"message":let l=s.T();if(!(s.repeat?U8(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(sSe,"reflectionEquals");_C.reflectionEquals=sSe;var DC=Object.values;function q8(t,e,r){if(e===r)return!0;if(t!==fv.ScalarType.BYTES)return!1;let s=e,n=r;if(s.length!==n.length)return!1;for(let i=0;i{"use strict";Object.defineProperty(LC,"__esModule",{value:!0});LC.MessageType=void 0;var nSe=lm(),iSe=gn(),oSe=iv(),aSe=av(),cSe=lv(),lSe=Av(),uSe=pv(),ASe=mv(),Ev=hv(),dSe=cC(),G8=tv(),pSe=gv(),mSe=ev(),hSe=ZP(),H8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),fSe=H8[nSe.MESSAGE_TYPE]={},yv=class{static{o(this,"MessageType")}constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(iSe.normalizeFieldInfo),this.options=s??{},fSe.value=this,this.messagePrototype=Object.create(null,H8),this.refTypeCheck=new oSe.ReflectionTypeCheck(this),this.refJsonReader=new aSe.ReflectionJsonReader(this),this.refJsonWriter=new cSe.ReflectionJsonWriter(this),this.refBinReader=new lSe.ReflectionBinaryReader(this),this.refBinWriter=new uSe.ReflectionBinaryWriter(this)}create(e){let r=ASe.reflectionCreate(this);return e!==void 0&&Ev.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Ev.reflectionMergePartial(this,r,e),r}equals(e,r){return pSe.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){Ev.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=hSe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,G8.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,G8.jsonWriteOptions(r))}toJsonString(e,r){var s;let n=this.toJson(e,r);return JSON.stringify(n,null,(s=r?.prettySpaces)!==null&&s!==void 0?s:0)}toBinary(e,r){let s=mSe.binaryWriteOptions(r);return this.internalBinaryWrite(e,s.writerFactory(),s).finish()}internalJsonRead(e,r,s){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let n=s??this.create();return this.refJsonReader.read(e,n,r),n}throw new Error(`Unable to parse message ${this.typeName} from JSON ${dSe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,s){return this.refBinWriter.write(e,r,s),r}internalBinaryRead(e,r,s,n){let i=n??this.create();return this.refBinReader.read(e,i,s,r),i}};LC.MessageType=yv});var V8=g(MC=>{"use strict";Object.defineProperty(MC,"__esModule",{value:!0});MC.containsMessageType=void 0;var gSe=lm();function ESe(t){return t[gSe.MESSAGE_TYPE]!=null}o(ESe,"containsMessageType");MC.containsMessageType=ESe});var Y8=g(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.listEnumNumbers=pi.listEnumNames=pi.listEnumValues=pi.isEnumObject=void 0;function $8(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let s=t[e];if(s===void 0||typeof s!="number"||t[s]===void 0)return!1}else{let s=t[r];if(s===void 0||t[s]!==r)return!1}}return!0}o($8,"isEnumObject");pi.isEnumObject=$8;function Cv(t){if(!$8(t))throw new Error("not a typescript enum object");let e=[];for(let[r,s]of Object.entries(t))typeof s=="number"&&e.push({name:r,number:s});return e}o(Cv,"listEnumValues");pi.listEnumValues=Cv;function ySe(t){return Cv(t).map(e=>e.name)}o(ySe,"listEnumNames");pi.listEnumNames=ySe;function CSe(t){return Cv(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}o(CSe,"listEnumNumbers");pi.listEnumNumbers=CSe});var pt=g(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});var J8=cC();Object.defineProperty(W,"typeofJsonValue",{enumerable:!0,get:o(function(){return J8.typeofJsonValue},"get")});Object.defineProperty(W,"isJsonObject",{enumerable:!0,get:o(function(){return J8.isJsonObject},"get")});var W8=uC();Object.defineProperty(W,"base64decode",{enumerable:!0,get:o(function(){return W8.base64decode},"get")});Object.defineProperty(W,"base64encode",{enumerable:!0,get:o(function(){return W8.base64encode},"get")});var ISe=I8();Object.defineProperty(W,"utf8read",{enumerable:!0,get:o(function(){return ISe.utf8read},"get")});var Iv=rm();Object.defineProperty(W,"WireType",{enumerable:!0,get:o(function(){return Iv.WireType},"get")});Object.defineProperty(W,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return Iv.mergeBinaryOptions},"get")});Object.defineProperty(W,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return Iv.UnknownFieldHandler},"get")});var j8=ZP();Object.defineProperty(W,"BinaryReader",{enumerable:!0,get:o(function(){return j8.BinaryReader},"get")});Object.defineProperty(W,"binaryReadOptions",{enumerable:!0,get:o(function(){return j8.binaryReadOptions},"get")});var K8=ev();Object.defineProperty(W,"BinaryWriter",{enumerable:!0,get:o(function(){return K8.BinaryWriter},"get")});Object.defineProperty(W,"binaryWriteOptions",{enumerable:!0,get:o(function(){return K8.binaryWriteOptions},"get")});var X8=sa();Object.defineProperty(W,"PbLong",{enumerable:!0,get:o(function(){return X8.PbLong},"get")});Object.defineProperty(W,"PbULong",{enumerable:!0,get:o(function(){return X8.PbULong},"get")});var Bv=tv();Object.defineProperty(W,"jsonReadOptions",{enumerable:!0,get:o(function(){return Bv.jsonReadOptions},"get")});Object.defineProperty(W,"jsonWriteOptions",{enumerable:!0,get:o(function(){return Bv.jsonWriteOptions},"get")});Object.defineProperty(W,"mergeJsonOptions",{enumerable:!0,get:o(function(){return Bv.mergeJsonOptions},"get")});var BSe=lm();Object.defineProperty(W,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return BSe.MESSAGE_TYPE},"get")});var wSe=z8();Object.defineProperty(W,"MessageType",{enumerable:!0,get:o(function(){return wSe.MessageType},"get")});var bc=gn();Object.defineProperty(W,"ScalarType",{enumerable:!0,get:o(function(){return bc.ScalarType},"get")});Object.defineProperty(W,"LongType",{enumerable:!0,get:o(function(){return bc.LongType},"get")});Object.defineProperty(W,"RepeatType",{enumerable:!0,get:o(function(){return bc.RepeatType},"get")});Object.defineProperty(W,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return bc.normalizeFieldInfo},"get")});Object.defineProperty(W,"readFieldOptions",{enumerable:!0,get:o(function(){return bc.readFieldOptions},"get")});Object.defineProperty(W,"readFieldOption",{enumerable:!0,get:o(function(){return bc.readFieldOption},"get")});Object.defineProperty(W,"readMessageOption",{enumerable:!0,get:o(function(){return bc.readMessageOption},"get")});var bSe=iv();Object.defineProperty(W,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return bSe.ReflectionTypeCheck},"get")});var QSe=mv();Object.defineProperty(W,"reflectionCreate",{enumerable:!0,get:o(function(){return QSe.reflectionCreate},"get")});var xSe=RC();Object.defineProperty(W,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return xSe.reflectionScalarDefault},"get")});var NSe=hv();Object.defineProperty(W,"reflectionMergePartial",{enumerable:!0,get:o(function(){return NSe.reflectionMergePartial},"get")});var SSe=gv();Object.defineProperty(W,"reflectionEquals",{enumerable:!0,get:o(function(){return SSe.reflectionEquals},"get")});var RSe=Av();Object.defineProperty(W,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return RSe.ReflectionBinaryReader},"get")});var TSe=pv();Object.defineProperty(W,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return TSe.ReflectionBinaryWriter},"get")});var PSe=av();Object.defineProperty(W,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return PSe.ReflectionJsonReader},"get")});var vSe=lv();Object.defineProperty(W,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return vSe.ReflectionJsonWriter},"get")});var kSe=V8();Object.defineProperty(W,"containsMessageType",{enumerable:!0,get:o(function(){return kSe.containsMessageType},"get")});var dm=sv();Object.defineProperty(W,"isOneofGroup",{enumerable:!0,get:o(function(){return dm.isOneofGroup},"get")});Object.defineProperty(W,"setOneofValue",{enumerable:!0,get:o(function(){return dm.setOneofValue},"get")});Object.defineProperty(W,"getOneofValue",{enumerable:!0,get:o(function(){return dm.getOneofValue},"get")});Object.defineProperty(W,"clearOneofValue",{enumerable:!0,get:o(function(){return dm.clearOneofValue},"get")});Object.defineProperty(W,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return dm.getSelectedOneofValue},"get")});var OC=Y8();Object.defineProperty(W,"listEnumValues",{enumerable:!0,get:o(function(){return OC.listEnumValues},"get")});Object.defineProperty(W,"listEnumNames",{enumerable:!0,get:o(function(){return OC.listEnumNames},"get")});Object.defineProperty(W,"listEnumNumbers",{enumerable:!0,get:o(function(){return OC.listEnumNumbers},"get")});Object.defineProperty(W,"isEnumObject",{enumerable:!0,get:o(function(){return OC.isEnumObject},"get")});var DSe=rv();Object.defineProperty(W,"lowerCamelCase",{enumerable:!0,get:o(function(){return DSe.lowerCamelCase},"get")});var pm=Ou();Object.defineProperty(W,"assert",{enumerable:!0,get:o(function(){return pm.assert},"get")});Object.defineProperty(W,"assertNever",{enumerable:!0,get:o(function(){return pm.assertNever},"get")});Object.defineProperty(W,"assertInt32",{enumerable:!0,get:o(function(){return pm.assertInt32},"get")});Object.defineProperty(W,"assertUInt32",{enumerable:!0,get:o(function(){return pm.assertUInt32},"get")});Object.defineProperty(W,"assertFloat32",{enumerable:!0,get:o(function(){return pm.assertFloat32},"get")})});var wv=g(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.readServiceOption=mi.readMethodOption=mi.readMethodOptions=mi.normalizeMethodInfo=void 0;var _Se=pt();function LSe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:_Se.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(s=i.options)!==null&&s!==void 0?s:{},i.idempotency=(n=i.idempotency)!==null&&n!==void 0?n:void 0,i}o(LSe,"normalizeMethodInfo");mi.normalizeMethodInfo=LSe;function MSe(t,e,r,s){var n;let i=(n=t.methods.find((a,c)=>a.localName===e||c===e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(MSe,"readMethodOptions");mi.readMethodOptions=MSe;function OSe(t,e,r,s){var n;let i=(n=t.methods.find((c,l)=>c.localName===e||l===e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(OSe,"readMethodOption");mi.readMethodOption=OSe;function FSe(t,e,r){let s=t.options;if(!s)return;let n=s[e];return n===void 0?n:r?r.fromJson(n):n}o(FSe,"readServiceOption");mi.readServiceOption=FSe});var Z8=g(FC=>{"use strict";Object.defineProperty(FC,"__esModule",{value:!0});FC.ServiceType=void 0;var USe=wv(),bv=class{static{o(this,"ServiceType")}constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>USe.normalizeMethodInfo(n,this)),this.options=s??{}}};FC.ServiceType=bv});var xv=g(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.RpcError=void 0;var Qv=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",s){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=s??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[s,n]of r)e.push(` ${s}: ${n}`)}return e.join(` -`)}};UC.RpcError=Qv});var Nv=g(GC=>{"use strict";Object.defineProperty(GC,"__esModule",{value:!0});GC.mergeRpcOptions=void 0;var e5=pt();function qSe(t,e){if(!e)return t;let r={};qC(t,r),qC(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=e5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=e5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},qC(t.meta,r.meta),qC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(qSe,"mergeRpcOptions");GC.mergeRpcOptions=qSe;function qC(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(qC,"copy")});var Rv=g(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.Deferred=Qc.DeferredState=void 0;var hi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(hi=Qc.DeferredState||(Qc.DeferredState={}));var Sv=class{static{o(this,"Deferred")}constructor(e=!0){this._state=hi.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==hi.PENDING)throw new Error(`cannot resolve ${hi[this.state].toLowerCase()}`);this._resolve(e),this._state=hi.RESOLVED}reject(e){if(this.state!==hi.PENDING)throw new Error(`cannot reject ${hi[this.state].toLowerCase()}`);this._reject(e),this._state=hi.REJECTED}resolvePending(e){this._state===hi.PENDING&&this.resolve(e)}rejectPending(e){this._state===hi.PENDING&&this.reject(e)}};Qc.Deferred=Sv});var Pv=g(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.RpcOutputStreamController=void 0;var t5=Rv(),xc=pt(),Tv=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){xc.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){xc.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){xc.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){xc.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;xc.assert(e,"bad state"),xc.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new t5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;xc.assert(s.state==t5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};HC.RpcOutputStreamController=Tv});var kv=g(Gu=>{"use strict";var GSe=Gu&&Gu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.UnaryCall=void 0;var vv=class{static{o(this,"UnaryCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return GSe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:n}})}};Gu.UnaryCall=vv});var _v=g(Hu=>{"use strict";var HSe=Hu&&Hu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.ServerStreamingCall=void 0;var Dv=class{static{o(this,"ServerStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return HSe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:s}})}};Hu.ServerStreamingCall=Dv});var Mv=g(zu=>{"use strict";var zSe=zu&&zu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(zu,"__esModule",{value:!0});zu.ClientStreamingCall=void 0;var Lv=class{static{o(this,"ClientStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return zSe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:s,trailers:n}})}};zu.ClientStreamingCall=Lv});var Fv=g(Vu=>{"use strict";var VSe=Vu&&Vu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.DuplexStreamingCall=void 0;var Ov=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return VSe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:s}})}};Vu.DuplexStreamingCall=Ov});var s5=g(Ju=>{"use strict";var $Se=Ju&&Ju.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.TestTransport=void 0;var Fs=xv(),zC=pt(),r5=Pv(),YSe=Nv(),JSe=kv(),WSe=_v(),jSe=Mv(),KSe=Fv(),Yu=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof $u?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof $u?this.lastInput.completed:typeof this.lastInput=="object"}promiseHeaders(){var e;let r=(e=this.data.headers)!==null&&e!==void 0?e:t.defaultHeaders;return r instanceof Fs.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Fs.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(zC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),zC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return $Se(this,void 0,void 0,function*(){let n=[];if(this.data.response===void 0)n.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)zC.assert(e.O.is(i)),n.push(i);else this.data.response instanceof Fs.RpcError||(zC.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield qt(this.responseDelay,s)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof Fs.RpcError){r.notifyError(this.data.response);return}for(let i of n){r.notifyMessage(i);try{yield qt(this.betweenResponseDelay,s)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Fs.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Fs.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof Fs.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof Fs.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return YSe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(qt(this.headerDelay,s.abort)),c=a.catch(A=>{}).then(qt(this.responseDelay,s.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(qt(this.afterResponseDelay,s.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(qt(this.afterResponseDelay,s.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new JSe.UnaryCall(e,i,r,a,c,l,u)}serverStreaming(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(qt(this.headerDelay,s.abort)),c=new r5.RpcOutputStreamController,l=a.then(qt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,s.abort)).then(qt(this.afterResponseDelay,s.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new WSe.ServerStreamingCall(e,i,r,a,c,u,A)}clientStreaming(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(qt(this.headerDelay,r.abort)),a=i.catch(u=>{}).then(qt(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(qt(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(qt(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new $u(this.data,r.abort),new jSe.ClientStreamingCall(e,n,this.lastInput,i,a,c,l)}duplex(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(qt(this.headerDelay,r.abort)),a=new r5.RpcOutputStreamController,c=i.then(qt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(qt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new $u(this.data,r.abort),new KSe.DuplexStreamingCall(e,n,this.lastInput,i,a,l,u)}};Ju.TestTransport=Yu;Yu.defaultHeaders={responseHeader:"test"};Yu.defaultStatus={code:"OK",detail:"all good"};Yu.defaultTrailers={responseTrailer:"test"};function qt(t,e){return r=>new Promise((s,n)=>{if(e?.aborted)n(new Fs.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>s(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),n(new Fs.RpcError("user cancel","CANCELLED"))})}})}o(qt,"delay");var $u=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof Fs.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(qt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Fs.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(qt(e,this.abort))}}});var n5=g(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.stackDuplexStreamingInterceptors=Us.stackClientStreamingInterceptors=Us.stackServerStreamingInterceptors=Us.stackUnaryInterceptors=Us.stackIntercept=void 0;var XSe=pt();function mm(t,e,r,s,n){var i,a,c,l;if(t=="unary"){let u=o((A,d,p)=>e.unary(A,d,p),"tail");for(let A of((i=s.interceptors)!==null&&i!==void 0?i:[]).filter(d=>d.interceptUnary).reverse()){let d=u;u=o((p,m,h)=>A.interceptUnary(d,p,m,h),"tail")}return u(r,n,s)}if(t=="serverStreaming"){let u=o((A,d,p)=>e.serverStreaming(A,d,p),"tail");for(let A of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=u;u=o((p,m,h)=>A.interceptServerStreaming(d,p,m,h),"tail")}return u(r,n,s)}if(t=="clientStreaming"){let u=o((A,d)=>e.clientStreaming(A,d),"tail");for(let A of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=u;u=o((p,m)=>A.interceptClientStreaming(d,p,m),"tail")}return u(r,s)}if(t=="duplex"){let u=o((A,d)=>e.duplex(A,d),"tail");for(let A of((l=s.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=u;u=o((p,m)=>A.interceptDuplex(d,p,m),"tail")}return u(r,s)}XSe.assertNever(t)}o(mm,"stackIntercept");Us.stackIntercept=mm;function ZSe(t,e,r,s){return mm("unary",t,e,s,r)}o(ZSe,"stackUnaryInterceptors");Us.stackUnaryInterceptors=ZSe;function eRe(t,e,r,s){return mm("serverStreaming",t,e,s,r)}o(eRe,"stackServerStreamingInterceptors");Us.stackServerStreamingInterceptors=eRe;function tRe(t,e,r){return mm("clientStreaming",t,e,r)}o(tRe,"stackClientStreamingInterceptors");Us.stackClientStreamingInterceptors=tRe;function rRe(t,e,r){return mm("duplex",t,e,r)}o(rRe,"stackDuplexStreamingInterceptors");Us.stackDuplexStreamingInterceptors=rRe});var i5=g(VC=>{"use strict";Object.defineProperty(VC,"__esModule",{value:!0});VC.ServerCallContextController=void 0;var Uv=class{static{o(this,"ServerCallContextController")}constructor(e,r,s,n,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=s,this.trailers={},this._sendRH=n,this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}};VC.ServerCallContextController=Uv});var a5=g(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});var sRe=Z8();Object.defineProperty(it,"ServiceType",{enumerable:!0,get:o(function(){return sRe.ServiceType},"get")});var qv=wv();Object.defineProperty(it,"readMethodOptions",{enumerable:!0,get:o(function(){return qv.readMethodOptions},"get")});Object.defineProperty(it,"readMethodOption",{enumerable:!0,get:o(function(){return qv.readMethodOption},"get")});Object.defineProperty(it,"readServiceOption",{enumerable:!0,get:o(function(){return qv.readServiceOption},"get")});var nRe=xv();Object.defineProperty(it,"RpcError",{enumerable:!0,get:o(function(){return nRe.RpcError},"get")});var iRe=Nv();Object.defineProperty(it,"mergeRpcOptions",{enumerable:!0,get:o(function(){return iRe.mergeRpcOptions},"get")});var oRe=Pv();Object.defineProperty(it,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return oRe.RpcOutputStreamController},"get")});var aRe=s5();Object.defineProperty(it,"TestTransport",{enumerable:!0,get:o(function(){return aRe.TestTransport},"get")});var o5=Rv();Object.defineProperty(it,"Deferred",{enumerable:!0,get:o(function(){return o5.Deferred},"get")});Object.defineProperty(it,"DeferredState",{enumerable:!0,get:o(function(){return o5.DeferredState},"get")});var cRe=Fv();Object.defineProperty(it,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return cRe.DuplexStreamingCall},"get")});var lRe=Mv();Object.defineProperty(it,"ClientStreamingCall",{enumerable:!0,get:o(function(){return lRe.ClientStreamingCall},"get")});var uRe=_v();Object.defineProperty(it,"ServerStreamingCall",{enumerable:!0,get:o(function(){return uRe.ServerStreamingCall},"get")});var ARe=kv();Object.defineProperty(it,"UnaryCall",{enumerable:!0,get:o(function(){return ARe.UnaryCall},"get")});var hm=n5();Object.defineProperty(it,"stackIntercept",{enumerable:!0,get:o(function(){return hm.stackIntercept},"get")});Object.defineProperty(it,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return hm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(it,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return hm.stackClientStreamingInterceptors},"get")});Object.defineProperty(it,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return hm.stackServerStreamingInterceptors},"get")});Object.defineProperty(it,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return hm.stackUnaryInterceptors},"get")});var dRe=i5();Object.defineProperty(it,"ServerCallContextController",{enumerable:!0,get:o(function(){return dRe.ServerCallContextController},"get")})});var Ku=g((Uct,N5)=>{"use strict";var bRe="2.0.0",QRe=Number.MAX_SAFE_INTEGER||9007199254740991,xRe=16,NRe=250,SRe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];N5.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:xRe,MAX_SAFE_BUILD_LENGTH:NRe,MAX_SAFE_INTEGER:QRe,RELEASE_TYPES:SRe,SEMVER_SPEC_VERSION:bRe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ym=g((qct,S5)=>{"use strict";var RRe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};S5.exports=RRe});var Xu=g((Ei,R5)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:gk,MAX_SAFE_BUILD_LENGTH:TRe,MAX_LENGTH:PRe}=Ku(),vRe=ym();Ei=R5.exports={};var kRe=Ei.re=[],DRe=Ei.safeRe=[],O=Ei.src=[],_Re=Ei.safeSrc=[],F=Ei.t={},LRe=0,Ek="[a-zA-Z0-9-]",MRe=[["\\s",1],["\\d",PRe],[Ek,TRe]],ORe=o(t=>{for(let[e,r]of MRe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ae=o((t,e,r)=>{let s=ORe(e),n=LRe++;vRe(t,n,e),F[t]=n,O[n]=e,_Re[n]=s,kRe[n]=new RegExp(e,r?"g":void 0),DRe[n]=new RegExp(s,r?"g":void 0)},"createToken");ae("NUMERICIDENTIFIER","0|[1-9]\\d*");ae("NUMERICIDENTIFIERLOOSE","\\d+");ae("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ek}*`);ae("MAINVERSION",`(${O[F.NUMERICIDENTIFIER]})\\.(${O[F.NUMERICIDENTIFIER]})\\.(${O[F.NUMERICIDENTIFIER]})`);ae("MAINVERSIONLOOSE",`(${O[F.NUMERICIDENTIFIERLOOSE]})\\.(${O[F.NUMERICIDENTIFIERLOOSE]})\\.(${O[F.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASEIDENTIFIER",`(?:${O[F.NONNUMERICIDENTIFIER]}|${O[F.NUMERICIDENTIFIER]})`);ae("PRERELEASEIDENTIFIERLOOSE",`(?:${O[F.NONNUMERICIDENTIFIER]}|${O[F.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASE",`(?:-(${O[F.PRERELEASEIDENTIFIER]}(?:\\.${O[F.PRERELEASEIDENTIFIER]})*))`);ae("PRERELEASELOOSE",`(?:-?(${O[F.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${O[F.PRERELEASEIDENTIFIERLOOSE]})*))`);ae("BUILDIDENTIFIER",`${Ek}+`);ae("BUILD",`(?:\\+(${O[F.BUILDIDENTIFIER]}(?:\\.${O[F.BUILDIDENTIFIER]})*))`);ae("FULLPLAIN",`v?${O[F.MAINVERSION]}${O[F.PRERELEASE]}?${O[F.BUILD]}?`);ae("FULL",`^${O[F.FULLPLAIN]}$`);ae("LOOSEPLAIN",`[v=\\s]*${O[F.MAINVERSIONLOOSE]}${O[F.PRERELEASELOOSE]}?${O[F.BUILD]}?`);ae("LOOSE",`^${O[F.LOOSEPLAIN]}$`);ae("GTLT","((?:<|>)?=?)");ae("XRANGEIDENTIFIERLOOSE",`${O[F.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ae("XRANGEIDENTIFIER",`${O[F.NUMERICIDENTIFIER]}|x|X|\\*`);ae("XRANGEPLAIN",`[v=\\s]*(${O[F.XRANGEIDENTIFIER]})(?:\\.(${O[F.XRANGEIDENTIFIER]})(?:\\.(${O[F.XRANGEIDENTIFIER]})(?:${O[F.PRERELEASE]})?${O[F.BUILD]}?)?)?`);ae("XRANGEPLAINLOOSE",`[v=\\s]*(${O[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[F.XRANGEIDENTIFIERLOOSE]})(?:${O[F.PRERELEASELOOSE]})?${O[F.BUILD]}?)?)?`);ae("XRANGE",`^${O[F.GTLT]}\\s*${O[F.XRANGEPLAIN]}$`);ae("XRANGELOOSE",`^${O[F.GTLT]}\\s*${O[F.XRANGEPLAINLOOSE]}$`);ae("COERCEPLAIN",`(^|[^\\d])(\\d{1,${gk}})(?:\\.(\\d{1,${gk}}))?(?:\\.(\\d{1,${gk}}))?`);ae("COERCE",`${O[F.COERCEPLAIN]}(?:$|[^\\d])`);ae("COERCEFULL",O[F.COERCEPLAIN]+`(?:${O[F.PRERELEASE]})?(?:${O[F.BUILD]})?(?:$|[^\\d])`);ae("COERCERTL",O[F.COERCE],!0);ae("COERCERTLFULL",O[F.COERCEFULL],!0);ae("LONETILDE","(?:~>?)");ae("TILDETRIM",`(\\s*)${O[F.LONETILDE]}\\s+`,!0);Ei.tildeTrimReplace="$1~";ae("TILDE",`^${O[F.LONETILDE]}${O[F.XRANGEPLAIN]}$`);ae("TILDELOOSE",`^${O[F.LONETILDE]}${O[F.XRANGEPLAINLOOSE]}$`);ae("LONECARET","(?:\\^)");ae("CARETTRIM",`(\\s*)${O[F.LONECARET]}\\s+`,!0);Ei.caretTrimReplace="$1^";ae("CARET",`^${O[F.LONECARET]}${O[F.XRANGEPLAIN]}$`);ae("CARETLOOSE",`^${O[F.LONECARET]}${O[F.XRANGEPLAINLOOSE]}$`);ae("COMPARATORLOOSE",`^${O[F.GTLT]}\\s*(${O[F.LOOSEPLAIN]})$|^$`);ae("COMPARATOR",`^${O[F.GTLT]}\\s*(${O[F.FULLPLAIN]})$|^$`);ae("COMPARATORTRIM",`(\\s*)${O[F.GTLT]}\\s*(${O[F.LOOSEPLAIN]}|${O[F.XRANGEPLAIN]})`,!0);Ei.comparatorTrimReplace="$1$2$3";ae("HYPHENRANGE",`^\\s*(${O[F.XRANGEPLAIN]})\\s+-\\s+(${O[F.XRANGEPLAIN]})\\s*$`);ae("HYPHENRANGELOOSE",`^\\s*(${O[F.XRANGEPLAINLOOSE]})\\s+-\\s+(${O[F.XRANGEPLAINLOOSE]})\\s*$`);ae("STAR","(<|>)?=?\\s*\\*");ae("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ae("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var ZC=g((Hct,T5)=>{"use strict";var FRe=Object.freeze({loose:!0}),URe=Object.freeze({}),qRe=o(t=>t?typeof t!="object"?FRe:t:URe,"parseOptions");T5.exports=qRe});var yk=g((Vct,k5)=>{"use strict";var P5=/^[0-9]+$/,v5=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tv5(e,t),"rcompareIdentifiers");k5.exports={compareIdentifiers:v5,rcompareIdentifiers:GRe}});var $t=g((Yct,_5)=>{"use strict";var eI=ym(),{MAX_LENGTH:D5,MAX_SAFE_INTEGER:tI}=Ku(),{safeRe:rI,t:sI}=Xu(),HRe=ZC(),{compareIdentifiers:Ck}=yk(),zRe=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sD5)throw new TypeError(`version is longer than ${D5} characters`);eI("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?rI[sI.LOOSE]:rI[sI.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>tI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>tI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>tI||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(eI("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Ck(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(eI("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Ck(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?rI[sI.PRERELEASELOOSE]:rI[sI.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];if(s===!1&&(i=[r]),zRe(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};_5.exports=Ik});var oa=g((Wct,M5)=>{"use strict";var L5=$t(),VRe=o((t,e,r=!1)=>{if(t instanceof L5)return t;try{return new L5(t,e)}catch(s){if(!r)return null;throw s}},"parse");M5.exports=VRe});var F5=g((Kct,O5)=>{"use strict";var $Re=oa(),YRe=o((t,e)=>{let r=$Re(t,e);return r?r.version:null},"valid");O5.exports=YRe});var q5=g((Zct,U5)=>{"use strict";var JRe=oa(),WRe=o((t,e)=>{let r=JRe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");U5.exports=WRe});var z5=g((tlt,H5)=>{"use strict";var G5=$t(),jRe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new G5(t instanceof G5?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");H5.exports=jRe});var Y5=g((slt,$5)=>{"use strict";var V5=oa(),KRe=o((t,e)=>{let r=V5(t,null,!0),s=V5(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");$5.exports=KRe});var W5=g((ilt,J5)=>{"use strict";var XRe=$t(),ZRe=o((t,e)=>new XRe(t,e).major,"major");J5.exports=ZRe});var K5=g((alt,j5)=>{"use strict";var eTe=$t(),tTe=o((t,e)=>new eTe(t,e).minor,"minor");j5.exports=tTe});var Z5=g((llt,X5)=>{"use strict";var rTe=$t(),sTe=o((t,e)=>new rTe(t,e).patch,"patch");X5.exports=sTe});var tj=g((Alt,ej)=>{"use strict";var nTe=oa(),iTe=o((t,e)=>{let r=nTe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");ej.exports=iTe});var qs=g((plt,sj)=>{"use strict";var rj=$t(),oTe=o((t,e,r)=>new rj(t,r).compare(new rj(e,r)),"compare");sj.exports=oTe});var ij=g((hlt,nj)=>{"use strict";var aTe=qs(),cTe=o((t,e,r)=>aTe(e,t,r),"rcompare");nj.exports=cTe});var aj=g((glt,oj)=>{"use strict";var lTe=qs(),uTe=o((t,e)=>lTe(t,e,!0),"compareLoose");oj.exports=uTe});var nI=g((ylt,lj)=>{"use strict";var cj=$t(),ATe=o((t,e,r)=>{let s=new cj(t,r),n=new cj(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");lj.exports=ATe});var Aj=g((Ilt,uj)=>{"use strict";var dTe=nI(),pTe=o((t,e)=>t.sort((r,s)=>dTe(r,s,e)),"sort");uj.exports=pTe});var pj=g((wlt,dj)=>{"use strict";var mTe=nI(),hTe=o((t,e)=>t.sort((r,s)=>mTe(s,r,e)),"rsort");dj.exports=hTe});var Cm=g((Qlt,mj)=>{"use strict";var fTe=qs(),gTe=o((t,e,r)=>fTe(t,e,r)>0,"gt");mj.exports=gTe});var iI=g((Nlt,hj)=>{"use strict";var ETe=qs(),yTe=o((t,e,r)=>ETe(t,e,r)<0,"lt");hj.exports=yTe});var Bk=g((Rlt,fj)=>{"use strict";var CTe=qs(),ITe=o((t,e,r)=>CTe(t,e,r)===0,"eq");fj.exports=ITe});var wk=g((Plt,gj)=>{"use strict";var BTe=qs(),wTe=o((t,e,r)=>BTe(t,e,r)!==0,"neq");gj.exports=wTe});var oI=g((klt,Ej)=>{"use strict";var bTe=qs(),QTe=o((t,e,r)=>bTe(t,e,r)>=0,"gte");Ej.exports=QTe});var aI=g((_lt,yj)=>{"use strict";var xTe=qs(),NTe=o((t,e,r)=>xTe(t,e,r)<=0,"lte");yj.exports=NTe});var bk=g((Mlt,Cj)=>{"use strict";var STe=Bk(),RTe=wk(),TTe=Cm(),PTe=oI(),vTe=iI(),kTe=aI(),DTe=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return STe(t,r,s);case"!=":return RTe(t,r,s);case">":return TTe(t,r,s);case">=":return PTe(t,r,s);case"<":return vTe(t,r,s);case"<=":return kTe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Cj.exports=DTe});var Bj=g((Flt,Ij)=>{"use strict";var _Te=$t(),LTe=oa(),{safeRe:cI,t:lI}=Xu(),MTe=o((t,e)=>{if(t instanceof _Te)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?cI[lI.COERCEFULL]:cI[lI.COERCE]);else{let l=e.includePrerelease?cI[lI.COERCERTLFULL]:cI[lI.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return LTe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");Ij.exports=MTe});var bj=g((qlt,wj)=>{"use strict";var OTe=oa(),FTe=Ku(),UTe=$t(),qTe=o((t,e,r)=>{if(!FTe.RELEASE_TYPES.includes(e))return null;let s=GTe(t,r);return s&&HTe(s,e)},"truncate"),GTe=o((t,e)=>{let r=t instanceof UTe?t.version:t;return OTe(r,e)},"cloneInputVersion"),HTe=o((t,e)=>{if(zTe(e))return t.version;switch(t.prerelease=[],e){case"major":t.minor=0,t.patch=0;break;case"minor":t.patch=0;break}return t.format()},"doTruncation"),zTe=o(t=>t.startsWith("pre"),"isPrerelease");wj.exports=qTe});var xj=g((Hlt,Qj)=>{"use strict";var Qk=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};Qj.exports=Qk});var Gs=g((Vlt,Tj)=>{"use strict";var VTe=/\s+/g,xk=class t{static{o(this,"Range")}constructor(e,r){if(r=YTe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Nk)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(VTe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!Sj(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&rPe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(tPe,"");let s=((this.options.includePrerelease&&ZTe)|(this.options.loose&&ePe))+":"+e,n=Nj.get(s);if(n)return n;let i=this.options.loose,a=i?Er[Yt.HYPHENRANGELOOSE]:Er[Yt.HYPHENRANGE];e=e.replace(a,pPe(this.options.includePrerelease)),Ue("hyphen replace",e),e=e.replace(Er[Yt.COMPARATORTRIM],jTe),Ue("comparator trim",e),e=e.replace(Er[Yt.TILDETRIM],KTe),Ue("tilde trim",e),e=e.replace(Er[Yt.CARETTRIM],XTe),Ue("caret trim",e);let c=e.split(" ").map(d=>sPe(d,this.options)).join(" ").split(/\s+/).map(d=>dPe(d,this.options));i&&(c=c.filter(d=>(Ue("loose invalid filter",d,this.options),!!d.match(Er[Yt.COMPARATORLOOSE])))),Ue("range list",c);let l=new Map,u=c.map(d=>new Nk(d,this.options));for(let d of u){if(Sj(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return Nj.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>Rj(s,r)&&e.set.some(n=>Rj(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new JTe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),rPe=o(t=>t.value==="","isAny"),Rj=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),sPe=o((t,e)=>(t=t.replace(Er[Yt.BUILD],""),Ue("comp",t,e),t=aPe(t,e),Ue("caret",t),t=iPe(t,e),Ue("tildes",t),t=lPe(t,e),Ue("xrange",t),t=APe(t,e),Ue("stars",t),t),"parseComparator"),vt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),nPe=o((t,e,r)=>vt(t)&&!vt(e)||vt(e)&&r&&!vt(r),"invalidXRangeOrder"),iPe=o((t,e)=>t.trim().split(/\s+/).map(r=>oPe(r,e)).join(" "),"replaceTildes"),oPe=o((t,e)=>{let r=e.loose?Er[Yt.TILDELOOSE]:Er[Yt.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ue("tilde",t,n,i,a,c,l);let u;return vt(i)?u="":vt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:vt(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?(Ue("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,Ue("tilde return",u),u})},"replaceTilde"),aPe=o((t,e)=>t.trim().split(/\s+/).map(r=>cPe(r,e)).join(" "),"replaceCarets"),cPe=o((t,e)=>{Ue("caret",t,e);let r=e.loose?Er[Yt.CARETLOOSE]:Er[Yt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ue("caret",t,n,i,a,c,l);let u;return vt(i)?u="":vt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:vt(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Ue("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Ue("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Ue("caret return",u),u})},"replaceCaret"),lPe=o((t,e)=>(Ue("replaceXRanges",t,e),t.split(/\s+/).map(r=>uPe(r,e)).join(" ")),"replaceXRanges"),uPe=o((t,e)=>{t=t.trim();let r=e.loose?Er[Yt.XRANGELOOSE]:Er[Yt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if(Ue("xRange",t,s,n,i,a,c,l),nPe(i,a,c))return t;let u=vt(i),A=u||vt(a),d=A||vt(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Ue("xRange return",s),s})},"replaceXRange"),APe=o((t,e)=>(Ue("replaceStars",t,e),t.trim().replace(Er[Yt.STAR],"")),"replaceStars"),dPe=o((t,e)=>(Ue("replaceGTE0",t,e),t.trim().replace(Er[e.includePrerelease?Yt.GTE0PRE:Yt.GTE0],"")),"replaceGTE0"),pPe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(vt(s)?r="":vt(n)?r=`>=${s}.0.0${t?"-0":""}`:vt(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,vt(u)?l="":vt(A)?l=`<${+u+1}.0.0-0`:vt(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),mPe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Im=g((Ylt,Lj)=>{"use strict";var Bm=Symbol("SemVer ANY"),Tk=class t{static{o(this,"Comparator")}static get ANY(){return Bm}constructor(e,r){if(r=Pj(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Rk("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Bm?this.value="":this.value=this.operator+this.semver.version,Rk("comp",this)}parse(e){let r=this.options.loose?vj[kj.COMPARATORLOOSE]:vj[kj.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new Dj(s[2],this.options.loose):this.semver=Bm}toString(){return this.value}test(e){if(Rk("Comparator.test",e,this.options.loose),this.semver===Bm||e===Bm)return!0;if(typeof e=="string")try{e=new Dj(e,this.options)}catch{return!1}return Sk(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new _j(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new _j(this.value,r).test(e.semver):(r=Pj(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Sk(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Sk(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Lj.exports=Tk;var Pj=ZC(),{safeRe:vj,t:kj}=Xu(),Sk=bk(),Rk=ym(),Dj=$t(),_j=Gs()});var wm=g((Wlt,Mj)=>{"use strict";var hPe=Gs(),fPe=o((t,e,r)=>{try{e=new hPe(e,r)}catch{return!1}return e.test(t)},"satisfies");Mj.exports=fPe});var Fj=g((Klt,Oj)=>{"use strict";var gPe=Gs(),EPe=o((t,e)=>new gPe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");Oj.exports=EPe});var qj=g((Zlt,Uj)=>{"use strict";var yPe=$t(),CPe=Gs(),IPe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new CPe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new yPe(s,r))}),s},"maxSatisfying");Uj.exports=IPe});var Hj=g((tut,Gj)=>{"use strict";var BPe=$t(),wPe=Gs(),bPe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new wPe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new BPe(s,r))}),s},"minSatisfying");Gj.exports=bPe});var $j=g((sut,Vj)=>{"use strict";var Pk=$t(),QPe=Gs(),zj=Cm(),xPe=o((t,e)=>{t=new QPe(t,e);let r=new Pk("0.0.0");if(t.test(r)||(r=new Pk("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new Pk(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||zj(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||zj(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");Vj.exports=xPe});var Jj=g((iut,Yj)=>{"use strict";var NPe=Gs(),SPe=o((t,e)=>{try{return new NPe(t,e).range||"*"}catch{return null}},"validRange");Yj.exports=SPe});var uI=g((aut,Xj)=>{"use strict";var RPe=$t(),Kj=Im(),{ANY:TPe}=Kj,PPe=Gs(),vPe=wm(),Wj=Cm(),jj=iI(),kPe=aI(),DPe=oI(),_Pe=o((t,e,r,s)=>{t=new RPe(t,s),e=new PPe(e,s);let n,i,a,c,l;switch(r){case">":n=Wj,i=kPe,a=jj,c=">",l=">=";break;case"<":n=jj,i=DPe,a=Wj,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(vPe(t,e,s))return!1;for(let u=0;u{m.semver===TPe&&(m=new Kj(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");Xj.exports=_Pe});var e9=g((lut,Zj)=>{"use strict";var LPe=uI(),MPe=o((t,e,r)=>LPe(t,e,">",r),"gtr");Zj.exports=MPe});var r9=g((Aut,t9)=>{"use strict";var OPe=uI(),FPe=o((t,e,r)=>OPe(t,e,"<",r),"ltr");t9.exports=FPe});var i9=g((put,n9)=>{"use strict";var s9=Gs(),UPe=o((t,e,r)=>(t=new s9(t,r),e=new s9(e,r),t.intersects(e,r)),"intersects");n9.exports=UPe});var a9=g((hut,o9)=>{"use strict";var qPe=wm(),GPe=qs();o9.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>GPe(A,d,r));for(let A of a)qPe(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var c9=Gs(),Dk=Im(),{ANY:vk}=Dk,kk=wm(),_k=qs(),HPe=o((t,e,r={})=>{if(t===e)return!0;t=new c9(t,r),e=new c9(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=VPe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),zPe=[new Dk(">=0.0.0-0")],l9=[new Dk(">=0.0.0")],VPe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===vk){if(e.length===1&&e[0].semver===vk)return!0;r.includePrerelease?t=zPe:t=l9}if(e.length===1&&e[0].semver===vk){if(r.includePrerelease)return!0;e=l9}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=u9(n,m,r):m.operator==="<"||m.operator==="<="?i=A9(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=_k(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!kk(m,String(n),r)||i&&!kk(m,String(i),r))return null;for(let h of e)if(!kk(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=u9(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!m.test(n.semver))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=A9(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!m.test(i.semver))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),u9=o((t,e,r)=>{if(!t)return e;let s=_k(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),A9=o((t,e,r)=>{if(!t)return e;let s=_k(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");d9.exports=HPe});var g9=g((Eut,f9)=>{"use strict";var Lk=Xu(),m9=Ku(),$Pe=$t(),h9=yk(),YPe=oa(),JPe=F5(),WPe=q5(),jPe=z5(),KPe=Y5(),XPe=W5(),ZPe=K5(),eve=Z5(),tve=tj(),rve=qs(),sve=ij(),nve=aj(),ive=nI(),ove=Aj(),ave=pj(),cve=Cm(),lve=iI(),uve=Bk(),Ave=wk(),dve=oI(),pve=aI(),mve=bk(),hve=Bj(),fve=bj(),gve=Im(),Eve=Gs(),yve=wm(),Cve=Fj(),Ive=qj(),Bve=Hj(),wve=$j(),bve=Jj(),Qve=uI(),xve=e9(),Nve=r9(),Sve=i9(),Rve=a9(),Tve=p9();f9.exports={parse:YPe,valid:JPe,clean:WPe,inc:jPe,diff:KPe,major:XPe,minor:ZPe,patch:eve,prerelease:tve,compare:rve,rcompare:sve,compareLoose:nve,compareBuild:ive,sort:ove,rsort:ave,gt:cve,lt:lve,eq:uve,neq:Ave,gte:dve,lte:pve,cmp:mve,coerce:hve,truncate:fve,Comparator:gve,Range:Eve,satisfies:yve,toComparators:Cve,maxSatisfying:Ive,minSatisfying:Bve,minVersion:wve,validRange:bve,outside:Qve,gtr:xve,ltr:Nve,intersects:Sve,simplifyRange:Rve,subset:Tve,SemVer:$Pe,re:Lk.re,src:Lk.src,tokens:Lk.t,SEMVER_SPEC_VERSION:m9.SEMVER_SPEC_VERSION,RELEASE_TYPES:m9.RELEASE_TYPES,compareIdentifiers:h9.compareIdentifiers,rcompareIdentifiers:h9.rcompareIdentifiers}});var y9=g((Iut,E9)=>{function Hs(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}o(Hs,"RetryOperation");E9.exports=Hs;Hs.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Hs.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Hs.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var s=this;return this._timer=setTimeout(function(){s._attempts++,s._operationTimeoutCb&&(s._timeout=setTimeout(function(){s._operationTimeoutCb(s._attempts)},s._operationTimeout),s._options.unref&&s._timeout.unref()),s._fn(s._attempts)},r),this._options.unref&&this._timer.unref(),!0};Hs.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Hs.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Hs.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Hs.prototype.start=Hs.prototype.try;Hs.prototype.errors=function(){return this._errors};Hs.prototype.attempts=function(){return this._attempts};Hs.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,s=0;s=r&&(e=n,r=a)}return e}});var C9=g(Pc=>{var Pve=y9();Pc.operation=function(t){var e=Pc.timeouts(t);return new Pve(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Pc.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var s=[],n=0;n{I9.exports=C9()});var b9=g((xut,w9)=>{var vve=B9();function kve(t,e){function r(s,n){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=vve.operation(i);function c(A){n(A||new Error("Aborted"))}o(c,"bail");function l(A,d){if(A.bail){c(A);return}a.retry(A)?i.onRetry&&i.onRetry(A,d):n(a.mainError())}o(l,"onError");function u(A){var d;try{d=t(c,A)}catch(p){l(p,A);return}Promise.resolve(d).then(s).catch(o(function(m){l(m,A)},"catchIt"))}o(u,"runAttempt"),a.attempt(u)}return o(r,"run"),new Promise(r)}o(kve,"retry");w9.exports=kve});var G9=g((Sut,so)=>{var Te=require("fs"),pI=require("os"),kt=require("path"),Q9=require("crypto"),yi={fs:Te.constants,os:pI.constants},x9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",T9=/XXXXXX/,Dve=3,P9=(yi.O_CREAT||yi.fs.O_CREAT)|(yi.O_EXCL||yi.fs.O_EXCL)|(yi.O_RDWR||yi.fs.O_RDWR),_ve=pI.platform()==="win32",Lve=yi.EBADF||yi.os.errno.EBADF,Mve=yi.ENOENT||yi.os.errno.ENOENT,v9=448,k9=384,Ove="exit",Zu=[],D9=Te.rmdirSync.bind(Te),_9=!1;function Fve(t,e){return Te.rm(t,{recursive:!0},e)}o(Fve,"rimraf");function L9(t){return Te.rmSync(t,{recursive:!0})}o(L9,"FN_RIMRAF_SYNC");function Uk(t,e){let r=eA(t,e),s=r[0],n=r[1];Wve(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=O9(a);Te.stat(u,function(A){if(!A)return c-- >0?l():n(new Error("Could not get a unique tmp filename, max tries reached "+u));n(null,u)})}catch(u){n(u)}}),"_getUniqueName")()})}o(Uk,"tmpName");function qk(t){let e=eA(t),r=e[0],s=jve(r),n=s.tries;do{let i=O9(s);try{Te.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(qk,"tmpNameSync");function Uve(t,e){let r=eA(t,e),s=r[0],n=r[1];Uk(s,o(function(a,c){if(a)return n(a);Te.open(c,P9,s.mode||k9,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return Te.close(A,o(function(p){return n(p,c,void 0,Ok(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,Ok(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Uve,"file");function qve(t){let e=eA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=qk(r),i=Te.openSync(n,P9,r.mode||k9);return r.discardDescriptor&&(Te.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:Ok(n,s?-1:i,r,!0)}}o(qve,"fileSync");function Gve(t,e){let r=eA(t,e),s=r[0],n=r[1];Uk(s,o(function(a,c){if(a)return n(a);Te.mkdir(c,s.mode||v9,o(function(u){if(u)return n(u);n(null,c,M9(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(Gve,"dir");function Hve(t){let e=eA(t),r=e[0],s=qk(r);return Te.mkdirSync(s,r.mode||v9),{name:s,removeCallback:M9(s,r,!0)}}o(Hve,"dirSync");function zve(t,e){let r=o(function(s){if(s&&!Fk(s))return e(s);e()},"_handler");0<=t[0]?Te.close(t[0],function(){Te.unlink(t[1],r)}):Te.unlink(t[1],r)}o(zve,"_removeFileAsync");function Vve(t){let e=null;try{0<=t[0]&&Te.closeSync(t[0])}catch(r){if(!Kve(r)&&!Fk(r))throw r}finally{try{Te.unlinkSync(t[1])}catch(r){Fk(r)||(e=r)}}if(e!==null)throw e}o(Vve,"_removeFileSync");function Ok(t,e,r,s){let n=dI(Vve,[e,t],s),i=dI(zve,[e,t],s,n);return r.keep||Zu.unshift(n),s?n:i}o(Ok,"_prepareTmpFileRemoveCallback");function M9(t,e,r){let s=e.unsafeCleanup?Fve:Te.rmdir.bind(Te),n=e.unsafeCleanup?L9:D9,i=dI(n,t,r),a=dI(s,t,r,i);return e.keep||Zu.unshift(i),r?i:a}o(M9,"_prepareTmpDirRemoveCallback");function dI(t,e,r,s){let n=!1;return o(function i(a){if(!n){let c=s||i,l=Zu.indexOf(c);return l>=0&&Zu.splice(l,1),n=!0,r||t===D9||t===L9?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(dI,"_prepareRemoveCallback");function $ve(){if(_9)for(;Zu.length;)try{Zu[0]()}catch{}}o($ve,"_garbageCollector");function N9(t){let e=[],r=null;try{r=Q9.randomBytes(t)}catch{r=Q9.pseudoRandomBytes(t)}for(let s=0;s"u"}o(Gr,"_isUndefined");function eA(t,e){if(typeof t=="function")return[{},t];if(Gr(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}o(eA,"_parseArguments");function Yve(t,e,r){let s=kt.isAbsolute(t)?t:kt.join(e,t);Te.stat(s,function(n){n?Te.realpath(kt.dirname(s),function(i,a){if(i)return r(i);r(null,kt.join(a,kt.basename(s)))}):Te.realpath(s,r)})}o(Yve,"_resolvePath");function Jve(t,e){let r=kt.isAbsolute(t)?t:kt.join(e,t);try{return Te.statSync(r),Te.realpathSync(r)}catch{let n=Te.realpathSync(kt.dirname(r));return kt.join(n,kt.basename(r))}}o(Jve,"_resolvePathSync");function O9(t){let e=t.tmpdir;if(!Gr(t.name))return kt.join(e,t.dir,t.name);if(!Gr(t.template))return kt.join(e,t.dir,t.template).replace(T9,N9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",N9(12),t.postfix?"-"+t.postfix:""].join("");return kt.join(e,t.dir,r)}o(O9,"_generateTmpName");function Mk(t,e){if(typeof e!="string")throw new Error(`${t} option must be a string, got "${typeof e}".`);if(e.includes(".."))throw new Error("Relative value not allowed");return e}o(Mk,"_assertPath");function F9(t){if(!Gr(t.name)){let e=t.name;if(kt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=kt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Gr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(T9))throw new Error(`Invalid template, found "${t.template}".`)}if(!Gr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Gr(t.name)?t.tries||Dve:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Gr(t.prefix)?"":Mk("prefix",t.prefix),t.postfix=Gr(t.postfix)?"":Mk("postfix",t.postfix),t.template=Gr(t.template)?void 0:Mk("template",t.template)}o(F9,"_assertOptionsBase");function S9(t,e,r,s){if(Gr(e))return s(null);Yve(e,r,function(n,i){if(n)return s(n);let a=kt.relative(r,i);if(a.startsWith("..")||kt.isAbsolute(a))return s(new Error(`${t} option must be relative to "${r}", found "${a}".`));s(null,a)})}o(S9,"_getRelativePath");function R9(t,e,r){if(Gr(e))return;let s=Jve(e,r),n=kt.relative(r,s);if(n.startsWith("..")||kt.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}o(R9,"_getRelativePathSync");function Wve(t,e){Zve(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{F9(t,s)}catch(n){return e(n)}S9("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Gr(i)?"":i,S9("template",t.template,s,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Wve,"_assertAndSanitizeOptions");function jve(t){let e=t.tmpdir=q9(t);F9(t,e);let r=R9("dir",t.dir,e);return t.dir=Gr(r)?"":r,t.template=R9("template",t.template,e),t}o(jve,"_assertAndSanitizeOptionsSync");function Kve(t){return U9(t,-Lve,"EBADF")}o(Kve,"_isEBADF");function Fk(t){return U9(t,-Mve,"ENOENT")}o(Fk,"_isENOENT");function U9(t,e,r){return _ve?t.code===r:t.code===r&&t.errno===e}o(U9,"_isExpectedError");function Xve(){_9=!0}o(Xve,"setGracefulCleanup");function Zve(t,e){return Te.realpath(t&&t.tmpdir||pI.tmpdir(),e)}o(Zve,"_getTmpDir");function q9(t){return Te.realpathSync(t&&t.tmpdir||pI.tmpdir())}o(q9,"_getTmpDirSync");process.addListener(Ove,$ve);Object.defineProperty(so.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return q9()},"get")});so.exports.dir=Gve;so.exports.dirSync=Hve;so.exports.file=Uve;so.exports.fileSync=qve;so.exports.tmpName=Uk;so.exports.tmpNameSync=qk;so.exports.setGracefulCleanup=Xve});var rr=g(ps=>{"use strict";ps.__esModule=!0;ps.extend=$9;ps.indexOf=nke;ps.escapeExpression=ike;ps.isEmpty=oke;ps.createFrame=ake;ps.blockParams=cke;ps.appendContextPath=lke;var eke={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},tke=/[&<>"'`=]/g,rke=/[&<>"'`=]/;function ske(t){return eke[t]}o(ske,"escapeChar");function $9(t){for(var e=1;e{"use strict";hI.__esModule=!0;var Vk=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function $k(t,e){var r=e&&e.loc,s=void 0,n=void 0,i=void 0,a=void 0;r&&r.start&&(s=r.start.line,i=r.start.column,r.end&&(n=r.end.line,a=r.end.column),t+=" - "+s+":"+i);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";fI.__esModule=!0;var Yk=rr();fI.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var s=r.inverse,n=r.fn;if(e===!0)return n(this);if(e===!1||e==null)return s(this);if(Yk.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):s(this);if(r.data&&r.ids){var i=Yk.createFrame(r.data);i.contextPath=Yk.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};W9.exports=fI.default});var X9=g((gI,K9)=>{"use strict";gI.__esModule=!0;function uke(t){return t&&t.__esModule?t:{default:t}}o(uke,"_interopRequireDefault");var tA=rr(),Ake=zs(),dke=uke(Ake);function pke(t){try{var e=t.return;tA.isFunction(e)&&e.call(t)}catch{}}o(pke,"closeIterator");gI.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new dke.default("Must pass iterator to #each");var s=r.fn,n=r.inverse,i=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=tA.appendContextPath(r.data.contextPath,r.ids[0])+"."),tA.isFunction(e)&&(e=e.call(this)),r.data&&(c=tA.createFrame(r.data));function u(h,f,C,E){c&&(c.key=h,c.index=f,c.first=f===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+s(E,{data:c,blockParams:tA.blockParams([E,h],[l+h,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(tA.isArray(e))for(var A=e.length;i{"use strict";EI.__esModule=!0;function mke(t){return t&&t.__esModule?t:{default:t}}o(mke,"_interopRequireDefault");var hke=zs(),fke=mke(hke);EI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new fke.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};Z9.exports=EI.default});var n6=g((yI,s6)=>{"use strict";yI.__esModule=!0;function gke(t){return t&&t.__esModule?t:{default:t}}o(gke,"_interopRequireDefault");var t6=rr(),Eke=zs(),r6=gke(Eke);yI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new r6.default("#if requires exactly one argument");return t6.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||t6.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new r6.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};s6.exports=yI.default});var o6=g((CI,i6)=>{"use strict";CI.__esModule=!0;CI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";II.__esModule=!0;II.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};a6.exports=II.default});var u6=g((BI,l6)=>{"use strict";BI.__esModule=!0;function yke(t){return t&&t.__esModule?t:{default:t}}o(yke,"_interopRequireDefault");var bm=rr(),Cke=zs(),Ike=yke(Cke);BI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Ike.default("#with requires exactly one argument");bm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(bm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=bm.createFrame(r.data),n.contextPath=bm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:bm.blockParams([e],[n&&n.contextPath])})})};l6.exports=BI.default});var Jk=g(wI=>{"use strict";wI.__esModule=!0;wI.registerDefaultHelpers=Lke;wI.moveHelperToHooks=Mke;function vc(t){return t&&t.__esModule?t:{default:t}}o(vc,"_interopRequireDefault");var Bke=j9(),wke=vc(Bke),bke=X9(),Qke=vc(bke),xke=e6(),Nke=vc(xke),Ske=n6(),Rke=vc(Ske),Tke=o6(),Pke=vc(Tke),vke=c6(),kke=vc(vke),Dke=u6(),_ke=vc(Dke);function Lke(t){wke.default(t),Qke.default(t),Nke.default(t),Rke.default(t),Pke.default(t),kke.default(t),_ke.default(t)}o(Lke,"registerDefaultHelpers");function Mke(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Mke,"moveHelperToHooks")});var d6=g((bI,A6)=>{"use strict";bI.__esModule=!0;var Oke=rr();bI.default=function(t){t.registerDecorator("inline",function(e,r,s,n){var i=e;return r.partials||(r.partials={},i=o(function(a,c){var l=s.partials;s.partials=Oke.extend({},l,r.partials);var u=e(a,c);return s.partials=l,u},"ret")),r.partials[n.args[0]]=n.fn,i})};A6.exports=bI.default});var p6=g(Wk=>{"use strict";Wk.__esModule=!0;Wk.registerDefaultDecorators=Gke;function Fke(t){return t&&t.__esModule?t:{default:t}}o(Fke,"_interopRequireDefault");var Uke=d6(),qke=Fke(Uke);function Gke(t){qke.default(t)}o(Gke,"registerDefaultDecorators")});var jk=g((QI,m6)=>{"use strict";QI.__esModule=!0;var Hke=rr(),rA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=Hke.indexOf(rA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=rA.lookupLevel(e),typeof console<"u"&&rA.lookupLevel(rA.level)<=e){var r=rA.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i{"use strict";sA.__esModule=!0;sA.createProtoAccessControl=Yke;sA.resultIsAllowed=Jke;sA.isPrototypeConstructor=Wke;sA.resetLoggedProperties=Kke;function zke(t){return t&&t.__esModule?t:{default:t}}o(zke,"_interopRequireDefault");var h6=rr(),Vke=jk(),$ke=zke(Vke),xI=Object.create(null);function Yke(t){var e=Object.create(null);e.__proto__=!1,h6.extend(e,t.allowedProtoProperties);var r=Object.create(null);return r.constructor=!1,r.__defineGetter__=!1,r.__defineSetter__=!1,r.__lookupGetter__=!1,r.__lookupSetter__=!1,h6.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(Yke,"createProtoAccessControl");function Jke(t,e,r){return f6(typeof t=="function"?e.methods:e.properties,r)}o(Jke,"resultIsAllowed");function Wke(t,e,r){return e==="constructor"&&typeof r=="function"&&t===r.prototype}o(Wke,"isPrototypeConstructor");function f6(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(jke(e),!1)}o(f6,"checkWhiteList");function jke(t){xI[t]!==!0&&(xI[t]=!0,$ke.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent. + Polling status: ${R4.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(N4({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(B0e,"pollOperationHelper");async function k4(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:p,updateState:m,setDelay:h,isDone:f,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:y,status:I}=await B0e({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(P4({status:I,response:y,state:r,stateProxy:s,isDone:f,processResult:d,getError:p,setErrorAsResult:C}),!R4.includes(I)){let B=A?.(y);B&&h(B);let N=c?.(y,r);if(N!==void 0){let S=E!==N;r.config.operationLocation=N,u?.(N,S)}else u?.(E,!1)}m?.(r,y)}}o(k4,"pollOperation");function D4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(D4,"getOperationLocationPollingUrl");function _4(t){return t.headers.location}o(_4,"getLocationHeader");function L4(t){return t.headers["operation-location"]}o(L4,"getOperationLocationHeader");function M4(t){return t.headers["azure-asyncoperation"]}o(M4,"getAzureAsyncOperationHeader");function w0e(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:n;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}o(a,"getDefault")}o(w0e,"findResourceLocation");function O4(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=L4(e),a=M4(e),c=D4({operationLocation:i,azureAsyncOperation:a}),l=_4(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:w0e({requestMethod:u,location:l,requestPath:s,resourceLocationConfig:n})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(O4,"inferLroMode");function F4(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return GP(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return Cc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(F4,"transformStatus");function b0e(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return F4({status:r,statusCode:t.statusCode})}o(b0e,"getStatus");function Q0e(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return F4({status:i,statusCode:t.statusCode})}o(Q0e,"getProvisioningState");function GP(t){return t===202?"running":t<300?"succeeded":"failed"}o(GP,"toOperationStatus");function U4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?x0e(new Date(e)):r*1e3}}o(U4,"parseRetryAfter");function q4(t){let e=t.flatResponse.error;if(!e){Cc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Cc.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(q4,"getErrorFromResponse");function x0e(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await n.sendInitialRequest(),c=O4({rawResponse:a.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:s?({flatResponse:a},c)=>s(a,c):({flatResponse:a})=>a,getOperationStatus:G4,setErrorAsResult:i})}o(N0e,"initHttpOperation");function H4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return D4({operationLocation:L4(t),azureAsyncOperation:M4(t)});case"ResourceLocation":return _4(t);default:return}}o(H4,"getOperationLocation");function HP({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return b0e(t);case"ResourceLocation":return GP(t.statusCode);case"Body":return Q0e(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}o(HP,"getOperationStatus");function z4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(z4,"getResourceLocation");function V4(t){return t.name==="RestError"}o(V4,"isOperationError");async function S0e(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return k4({state:c,stateProxy:r,setDelay:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u,getError:q4,updateState:i,getPollingInterval:U4,getOperationLocation:H4,getOperationStatus:HP,isOperationError:V4,getResourceLocation:z4,options:s,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(S0e,"pollHttpOperation");var R0e=o(()=>({initState:o(t=>({status:"running",config:t}),"initState"),setCanceled:o(t=>t.status="canceled","setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.status="running","setRunning"),setSucceeded:o(t=>t.status="succeeded","setSucceeded"),setFailed:o(t=>t.status="failed","setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>t.status==="canceled","isCanceled"),isFailed:o(t=>t.status==="failed","isFailed"),isRunning:o(t=>t.status==="running","isRunning"),isSucceeded:o(t=>t.status==="succeeded","isSucceeded")}),"createStateProxy$1");function T0e(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:s,isOperationError:n,getResourceLocation:i,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:A},d)=>{let{processResult:p,updateState:m,withOperationLocation:h,intervalInMs:f=S4,restoreFrom:C}=d||{},E=R0e(),y=h?(()=>{let ke=!1;return(de,gt)=>{gt?h(de):ke||h(de),ke=!0}})():void 0,I=C?T4(C):await v4({init:u,stateProxy:E,processResult:p,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!l}),B,N=new x4.AbortController,S=new Map,U=o(async()=>S.forEach(ke=>ke(I)),"handleProgressEvents"),Ie="Operation was canceled",je=f,Pe={getOperationState:o(()=>I,"getOperationState"),getResult:o(()=>I.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(I.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{N.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(ke=>{let de=Symbol();return S.set(de,ke),()=>S.delete(de)},"onProgress"),pollUntilDone:o(ke=>B??(B=(async()=>{let{abortSignal:de}=ke||{},{signal:gt}=de?new x4.AbortController([de,N.signal]):N;if(!Pe.isDone())for(await Pe.poll({abortSignal:gt});!Pe.isDone();)await E0e.delay(je,{abortSignal:gt}),await Pe.poll({abortSignal:gt});if(l)return Pe.getResult();switch(I.status){case"succeeded":return Pe.getResult();case"canceled":throw new Error(Ie);case"failed":throw I.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{B=void 0})),"pollUntilDone"),async poll(ke){if(l){if(Pe.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(Ie);case"failed":throw I.error}if(await k4({poll:A,state:I,stateProxy:E,getOperationLocation:e,isOperationError:n,withOperationLocation:y,getPollingInterval:a,getOperationStatus:s,getResourceLocation:i,processResult:p,getError:c,updateState:m,options:ke,setDelay:o(de=>{je=de},"setDelay"),setErrorAsResult:!l}),await U(),!l)switch(I.status){case"canceled":throw new Error(Ie);case"failed":throw I.error}}};return Pe}}o(T0e,"buildCreatePoller");async function P0e(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return T0e({getStatusFromInitialResponse:G4,getStatusFromPollResponse:HP,isOperationError:V4,getOperationLocation:H4,getResourceLocation:z4,getPollingInterval:U4,getError:q4,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=O4({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:A?.operationLocation,resourceLocation:A?.resourceLocation},A?.mode?{metadata:{mode:A.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:s,withOperationLocation:c,restoreFrom:i,updateState:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u})}o(P0e,"createHttpPoller");var v0e=o(()=>({initState:o(t=>({config:t,isStarted:!0}),"initState"),setCanceled:o(t=>t.isCancelled=!0,"setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.isStarted=!0,"setRunning"),setSucceeded:o(t=>t.isCompleted=!0,"setSucceeded"),setFailed:o(()=>{},"setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>!!t.isCancelled,"isCanceled"),isFailed:o(t=>!!t.error,"isFailed"),isRunning:o(t=>!!t.isStarted,"isRunning"),isSucceeded:o(t=>!!(t.isCompleted&&!t.isCancelled&&!t.error),"isSucceeded")}),"createStateProxy"),UP=class{static{o(this,"GenericPollOperation")}constructor(e,r,s,n,i,a,c){this.state=e,this.lro=r,this.setErrorAsResult=s,this.lroResourceLocationConfig=n,this.processResult=i,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let s=v0e();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await N0e({lro:this.lro,stateProxy:s,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let n=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await S0e({lro:this.lro,state:this.state,stateProxy:s,processResult:this.processResult,updateState:n?(a,{rawResponse:c})=>n(a,c):void 0,isDone:i?({flatResponse:a},c)=>i(a,c):void 0,options:e,setDelay:o(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return Cc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},Jy=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Wy=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},jy=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Wy("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new Jy("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},qP=class extends jy{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:s=S4,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=n?T4(n):{},d=new UP(A,e,!i,c,l,u,a);super(d),this.resolveOnUnsuccessful=i,this.config={intervalInMs:s},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Ic.LroEngine=qP;Ic.Poller=jy;Ic.PollerCancelledError=Wy;Ic.PollerStoppedError=Jy;Ic.createHttpPoller=P0e});var m8=g((Eot,Z0e)=>{Z0e.exports={name:"@actions/cache",version:"6.3.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.7.0","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"~1.23.0","@azure/storage-blob":"~12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.8.5"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.9.8","@types/semver":"^7.8.0",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var f8=g((yot,h8)=>{var eNe=m8();h8.exports={version:eNe.version}});var lC=g(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.isJsonObject=_u.typeofJsonValue=void 0;function cNe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(cNe,"typeofJsonValue");_u.typeofJsonValue=cNe;function lNe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(lNe,"isJsonObject");_u.isJsonObject=lNe});var AC=g(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.base64encode=Lu.base64decode=void 0;var ro="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),uC=[];for(let t=0;t>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o(uNe,"base64decode");Lu.base64decode=uNe;function ANe(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=ro[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=ro[n|s>>6],e+=ro[s&63],r=0;break}return r&&(e+=ro[n],e+="=",r==1&&(e+="=")),e}o(ANe,"base64encode");Lu.base64encode=ANe});var B8=g(dC=>{"use strict";Object.defineProperty(dC,"__esModule",{value:!0});dC.utf8read=void 0;var ev=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function dNe(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(ev(s)),n=0);return r.length?(n&&r.push(ev(s.slice(0,n))),r.join("")):ev(s.slice(0,n))}o(dNe,"utf8read");dC.utf8read=dNe});var sm=g(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.WireType=di.mergeBinaryOptions=di.UnknownFieldHandler=void 0;var pNe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(pNe=di.UnknownFieldHandler||(di.UnknownFieldHandler={}));function mNe(t,e){return Object.assign(Object.assign({},t),e)}o(mNe,"mergeBinaryOptions");di.mergeBinaryOptions=mNe;var hNe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(hNe=di.WireType||(di.WireType={}))});var mC=g(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.varint32read=Fr.varint32write=Fr.int64toString=Fr.int64fromString=Fr.varint64write=Fr.varint64read=void 0;function fNe(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(gNe,"varint64write");Fr.varint64write=gNe;var pC=65536*65536;function ENe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let l=Number(t.slice(a,c));n*=r,s=s*r+l,s>=pC&&(n=n+(s/pC|0),s=s%pC)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(ENe,"int64fromString");Fr.int64fromString=ENe;function yNe(t,e){if(e>>>0<=2097151)return""+(pC*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(A,d){let p=A?String(A):"";return d?"0000000".slice(p.length)+p:p}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(i,1)}o(yNe,"int64toString");Fr.int64toString=yNe;function CNe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(CNe,"varint32write");Fr.varint32write=CNe;function INe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(INe,"varint32read");Fr.varint32read=INe});var sa=g(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.PbLong=ra.PbULong=ra.detectBi=void 0;var nm=mC(),ve;function w8(){let t=new DataView(new ArrayBuffer(8));ve=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(w8,"detectBi");ra.detectBi=w8;w8();function b8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(b8,"assertBi");var Q8=/^-?[0-9]+$/,fC=4294967296,hC=2147483648,gC=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*fC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},im=class t extends gC{static{o(this,"PbULong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.UMAX)throw new Error("ulong too large");return ve.V.setBigUint64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Q8.test(e))throw new Error("string is no integer");let[r,s,n]=nm.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(s,n);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/fC)}throw new Error("unknown value "+typeof e)}toString(){return ve?this.toBigInt().toString():nm.int64toString(this.lo,this.hi)}toBigInt(){return b8(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigUint64(0,!0)}};ra.PbULong=im;im.ZERO=new im(0,0);var om=class t extends gC{static{o(this,"PbLong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.MAX)throw new Error("signed long too large");return ve.V.setBigInt64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!Q8.test(e))throw new Error("string is no integer");let[r,s,n]=nm.int64fromString(e);if(r){if(n>hC||n==hC&&s!=0)throw new Error("signed long too small")}else if(n>=hC)throw new Error("signed long too large");let i=new t(s,n);return r?i.negate():i;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/fC):new t(-e,-e/fC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&hC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ve)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+nm.int64toString(e.lo,e.hi)}return nm.int64toString(this.lo,this.hi)}toBigInt(){return b8(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigInt64(0,!0)}};ra.PbLong=om;om.ZERO=new om(0,0)});var tv=g(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.BinaryReader=Ou.binaryReadOptions=void 0;var Mu=sm(),am=sa(),x8=mC(),N8={readUnknownField:!0,readerFactory:o(t=>new EC(t),"readerFactory")};function BNe(t){return t?Object.assign(Object.assign({},N8),t):N8}o(BNe,"binaryReadOptions");Ou.binaryReadOptions=BNe;var EC=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=x8.varint64read,this.uint32=x8.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,s=e&7;if(r<=0||s<0||s>5)throw new Error("illegal tag: field no "+r+" wire type "+s);return[r,s]}skip(e){let r=this.pos;switch(e){case Mu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Mu.WireType.Bit64:this.pos+=4;case Mu.WireType.Bit32:this.pos+=4;break;case Mu.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case Mu.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==Mu.WireType.EndGroup;)this.skip(n);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new am.PbLong(...this.varint64())}uint64(){return new am.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),s=-(e&1);return e=(e>>>1|(r&1)<<31)^s,r=r>>>1^s,new am.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new am.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new am.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};Ou.BinaryReader=EC});var Fu=g(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.assertFloat32=Os.assertUInt32=Os.assertInt32=Os.assertNever=Os.assert=void 0;function wNe(t,e){if(!t)throw new Error(e)}o(wNe,"assert");Os.assert=wNe;function bNe(t,e){throw new Error(e??"Unexpected object: "+t)}o(bNe,"assertNever");Os.assertNever=bNe;var QNe=34028234663852886e22,xNe=-34028234663852886e22,NNe=4294967295,SNe=2147483647,RNe=-2147483648;function TNe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>SNe||tNNe||t<0)throw new Error("invalid uint 32: "+t)}o(PNe,"assertUInt32");Os.assertUInt32=PNe;function vNe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>QNe||t{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.BinaryWriter=qu.binaryWriteOptions=void 0;var cm=sa(),lm=mC(),Uu=Fu(),S8={writeUnknownFields:!0,writerFactory:o(()=>new yC,"writerFactory")};function kNe(t){return t?Object.assign(Object.assign({},S8),t):S8}o(kNe,"binaryWriteOptions");qu.binaryWriteOptions=kNe;var yC=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let n=0;n>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Uu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Uu.assertInt32(e),lm.varint32write(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let r=this.textEncoder.encode(e);return this.uint32(r.byteLength),this.raw(r)}float(e){Uu.assertFloat32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setFloat32(0,e,!0),this.raw(r)}double(e){let r=new Uint8Array(8);return new DataView(r.buffer).setFloat64(0,e,!0),this.raw(r)}fixed32(e){Uu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Uu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Uu.assertInt32(e),e=(e<<1^e>>31)>>>0,lm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=cm.PbLong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=cm.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=cm.PbLong.from(e);return lm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=cm.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return lm.varint64write(n,i,this.buf),this}uint64(e){let r=cm.PbULong.from(e);return lm.varint64write(r.lo,r.hi,this.buf),this}};qu.BinaryWriter=yC});var sv=g(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.mergeJsonOptions=na.jsonWriteOptions=na.jsonReadOptions=void 0;var R8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},T8={ignoreUnknownFields:!1};function DNe(t){return t?Object.assign(Object.assign({},T8),t):T8}o(DNe,"jsonReadOptions");na.jsonReadOptions=DNe;function _Ne(t){return t?Object.assign(Object.assign({},R8),t):R8}o(_Ne,"jsonWriteOptions");na.jsonWriteOptions=_Ne;function LNe(t,e){var r,s;let n=Object.assign(Object.assign({},t),e);return n.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(s=e?.typeRegistry)!==null&&s!==void 0?s:[]],n}o(LNe,"mergeJsonOptions");na.mergeJsonOptions=LNe});var um=g(CC=>{"use strict";Object.defineProperty(CC,"__esModule",{value:!0});CC.MESSAGE_TYPE=void 0;CC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var nv=g(IC=>{"use strict";Object.defineProperty(IC,"__esModule",{value:!0});IC.lowerCamelCase=void 0;function MNe(t){let e=!1,r=[];for(let s=0;s{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.readMessageOption=Tt.readFieldOption=Tt.readFieldOptions=Tt.normalizeFieldInfo=Tt.RepeatType=Tt.LongType=Tt.ScalarType=void 0;var P8=nv(),ONe;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(ONe=Tt.ScalarType||(Tt.ScalarType={}));var FNe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(FNe=Tt.LongType||(Tt.LongType={}));var v8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(v8=Tt.RepeatType||(Tt.RepeatType={}));function UNe(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:P8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:P8.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:v8.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}o(UNe,"normalizeFieldInfo");Tt.normalizeFieldInfo=UNe;function qNe(t,e,r,s){var n;let i=(n=t.fields.find((a,c)=>a.localName==e||c==e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(qNe,"readFieldOptions");Tt.readFieldOptions=qNe;function GNe(t,e,r,s){var n;let i=(n=t.fields.find((c,l)=>c.localName==e||l==e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(GNe,"readFieldOption");Tt.readFieldOption=GNe;function HNe(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}o(HNe,"readMessageOption");Tt.readMessageOption=HNe});var iv=g(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.getSelectedOneofValue=Ur.clearOneofValue=Ur.setUnknownOneofValue=Ur.setOneofValue=Ur.getOneofValue=Ur.isOneofGroup=void 0;function zNe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(zNe,"isOneofGroup");Ur.isOneofGroup=zNe;function VNe(t,e){return t[e]}o(VNe,"getOneofValue");Ur.getOneofValue=VNe;function $Ne(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o($Ne,"setOneofValue");Ur.setOneofValue=$Ne;function YNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(YNe,"setUnknownOneofValue");Ur.setUnknownOneofValue=YNe;function JNe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(JNe,"clearOneofValue");Ur.clearOneofValue=JNe;function WNe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(WNe,"getSelectedOneofValue");Ur.getSelectedOneofValue=WNe});var av=g(BC=>{"use strict";Object.defineProperty(BC,"__esModule",{value:!0});BC.ReflectionTypeCheck=void 0;var nt=gn(),jNe=iv(),ov=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],s=[];for(let n of this.fields)if(n.oneof)s.includes(n.oneof)||(s.push(n.oneof),e.push(n.oneof),r.push(n.oneof));else switch(r.push(n.localName),n.kind){case"scalar":case"enum":(!n.opt||n.repeat)&&e.push(n.localName);break;case"message":n.repeat&&e.push(n.localName);break;case"map":e.push(n.localName);break}this.data={req:e,known:r,oneofs:Object.values(s)}}is(e,r,s=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let n=Object.keys(e),i=this.data;if(n.length!n.includes(a))||!s&&n.some(a=>!i.known.includes(a)))return!1;if(r<1)return!0;for(let a of i.oneofs){let c=e[a];if(!jNe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,s,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,s,r))return!1;return!0}field(e,r,s,n){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,n,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,nt.ScalarType.INT32,n):this.scalar(e,nt.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),s,n):this.message(e,r.T(),s,n);case"map":if(typeof e!="object"||e===null)return!1;if(n<2)return!0;if(!this.mapKeys(e,r.K,n))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,n,r.V.L);case"enum":return this.scalars(Object.values(e),nt.ScalarType.INT32,n);case"message":return this.messages(Object.values(e),r.V.T(),s,n)}break}return!0}message(e,r,s,n){return s?r.isAssignable(e,n):r.is(e,n)}messages(e,r,s,n){if(!Array.isArray(e))return!1;if(n<2)return!0;if(s){for(let i=0;iparseInt(i)),r,s);case nt.ScalarType.BOOL:return this.scalars(n.slice(0,s).map(i=>i=="true"?!0:i=="false"?!1:i),r,s);default:return this.scalars(n,r,s,nt.LongType.STRING)}}};BC.ReflectionTypeCheck=ov});var bC=g(wC=>{"use strict";Object.defineProperty(wC,"__esModule",{value:!0});wC.reflectionLongConvert=void 0;var k8=gn();function KNe(t,e){switch(e){case k8.LongType.BIGINT:return t.toBigInt();case k8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(KNe,"reflectionLongConvert");wC.reflectionLongConvert=KNe});var lv=g(NC=>{"use strict";Object.defineProperty(NC,"__esModule",{value:!0});NC.ReflectionJsonReader=void 0;var D8=lC(),XNe=AC(),Pt=gn(),QC=sa(),wc=Fu(),xC=bC(),cv=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let s of r)this.fMap[s.name]=s,this.fMap[s.jsonName]=s,this.fMap[s.localName]=s}}assert(e,r,s){if(!e){let n=D8.typeofJsonValue(s);throw(n=="number"||n=="boolean")&&(n=s.toString()),new Error(`Cannot parse JSON ${n} for ${this.info.typeName}#${r}`)}}read(e,r,s){this.prepare();let n=[];for(let[i,a]of Object.entries(e)){let c=this.fMap[i];if(!c){if(!s.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(n.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);n.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(D8.isJsonObject(a),c.name,a);let A=u[l];for(let[d,p]of Object.entries(a)){this.assert(p!==null,c.name+" map value",null);let m;switch(c.V.kind){case"message":m=c.V.T().internalJsonRead(p,s);break;case"enum":if(m=this.enum(c.V.T(),p,c.name,s.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(p,c.V.T,c.V.L,c.name);break}this.assert(m!==void 0,c.name+" map value",p);let h=d;c.K==Pt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Pt.LongType.STRING,c.name).toString(),A[h]=m}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let A=u[l];for(let d of a){this.assert(d!==null,c.name,null);let p;switch(c.kind){case"message":p=c.T().internalJsonRead(d,s);break;case"enum":if(p=this.enum(c.T(),d,c.name,s.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(d,c.T,c.L,c.name);break}this.assert(p!==void 0,c.name,a),A.push(p)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}u[l]=c.T().internalJsonRead(a,s,u[l]);break;case"enum":if(a===null)continue;let A=this.enum(c.T(),a,c.name,s.ignoreUnknownFields);if(A===!1)continue;u[l]=A;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,s,n){if(e[0]=="google.protobuf.NullValue"&&wc.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return wc.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${s}, enum can only be integral number, got ${r}.`),r;case"string":let i=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(i=r.substring(e[2].length));let a=e[1][i];return typeof a>"u"&&n?!1:(wc.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),a)}wc.assert(!1,`Unable to parse field ${this.info.typeName}#${s}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,s,n){let i;try{switch(r){case Pt.ScalarType.DOUBLE:case Pt.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){i="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){i="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){i="not a number";break}if(!Number.isFinite(a)){i="too large or small";break}return r==Pt.ScalarType.FLOAT&&wc.assertFloat32(a),a;case Pt.ScalarType.INT32:case Pt.ScalarType.FIXED32:case Pt.ScalarType.SFIXED32:case Pt.ScalarType.SINT32:case Pt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":c=Number(e)),c===void 0)break;return r==Pt.ScalarType.UINT32?wc.assertUInt32(c):wc.assertInt32(c),c;case Pt.ScalarType.INT64:case Pt.ScalarType.SFIXED64:case Pt.ScalarType.SINT64:if(e===null)return xC.reflectionLongConvert(QC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return xC.reflectionLongConvert(QC.PbLong.from(e),s);case Pt.ScalarType.FIXED64:case Pt.ScalarType.UINT64:if(e===null)return xC.reflectionLongConvert(QC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return xC.reflectionLongConvert(QC.PbULong.from(e),s);case Pt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Pt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Pt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return XNe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,n+(i?" - "+i:""),e)}};NC.ReflectionJsonReader=cv});var Av=g(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.ReflectionJsonWriter=void 0;var ZNe=AC(),_8=sa(),gr=gn(),Ye=Fu(),uv=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let s={},n=e;for(let i of this.fields){if(!i.oneof){let u=this.field(i,n[i.localName],r);u!==void 0&&(s[r.useProtoFieldName?i.name:i.jsonName]=u);continue}let a=n[i.oneof];if(a.oneofKind!==i.localName)continue;let c=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(i,a[i.localName],c);Ye.assert(l!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=l}return s}field(e,r,s){let n;if(e.kind=="map"){Ye.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let A=this.scalar(e.V.T,u,e.name,!1,!0);Ye.assert(A!==void 0),i[l.toString()]=A}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let A=this.message(a,u,e.name,s);Ye.assert(A!==void 0),i[l.toString()]=A}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Ye.assert(u===void 0||typeof u=="number");let A=this.enum(c,u,e.name,!1,!0,s.enumAsInteger);Ye.assert(A!==void 0),i[l.toString()]=A}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){Ye.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let l=0;l0||s.emitDefaultValues)&&(n=i)}else switch(e.kind){case"scalar":n=this.scalar(e.T,r,e.name,e.opt,s.emitDefaultValues);break;case"enum":n=this.enum(e.T(),r,e.name,e.opt,s.emitDefaultValues,s.enumAsInteger);break;case"message":n=this.message(e.T(),r,e.name,s);break}return n}enum(e,r,s,n,i,a){if(e[0]=="google.protobuf.NullValue")return!i&&!n?void 0:null;if(r===void 0){Ye.assert(n);return}if(!(r===0&&!i&&!n))return Ye.assert(typeof r=="number"),Ye.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,s,n){return r===void 0?n.emitDefaultValues?null:void 0:e.internalJsonWrite(r,n)}scalar(e,r,s,n,i){if(r===void 0){Ye.assert(n);return}let a=i||n;switch(e){case gr.ScalarType.INT32:case gr.ScalarType.SFIXED32:case gr.ScalarType.SINT32:return r===0?a?0:void 0:(Ye.assertInt32(r),r);case gr.ScalarType.FIXED32:case gr.ScalarType.UINT32:return r===0?a?0:void 0:(Ye.assertUInt32(r),r);case gr.ScalarType.FLOAT:Ye.assertFloat32(r);case gr.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ye.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case gr.ScalarType.STRING:return r===""?a?"":void 0:(Ye.assert(typeof r=="string"),r);case gr.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ye.assert(typeof r=="boolean"),r);case gr.ScalarType.UINT64:case gr.ScalarType.FIXED64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=_8.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case gr.ScalarType.INT64:case gr.ScalarType.SFIXED64:case gr.ScalarType.SINT64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=_8.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case gr.ScalarType.BYTES:return Ye.assert(r instanceof Uint8Array),r.byteLength?ZNe.base64encode(r):a?"":void 0}}};SC.ReflectionJsonWriter=uv});var TC=g(RC=>{"use strict";Object.defineProperty(RC,"__esModule",{value:!0});RC.reflectionScalarDefault=void 0;var En=gn(),L8=bC(),M8=sa();function eSe(t,e=En.LongType.STRING){switch(t){case En.ScalarType.BOOL:return!1;case En.ScalarType.UINT64:case En.ScalarType.FIXED64:return L8.reflectionLongConvert(M8.PbULong.ZERO,e);case En.ScalarType.INT64:case En.ScalarType.SFIXED64:case En.ScalarType.SINT64:return L8.reflectionLongConvert(M8.PbLong.ZERO,e);case En.ScalarType.DOUBLE:case En.ScalarType.FLOAT:return 0;case En.ScalarType.BYTES:return new Uint8Array(0);case En.ScalarType.STRING:return"";default:return 0}}o(eSe,"reflectionScalarDefault");RC.reflectionScalarDefault=eSe});var pv=g(PC=>{"use strict";Object.defineProperty(PC,"__esModule",{value:!0});PC.ReflectionBinaryReader=void 0;var O8=sm(),dt=gn(),Am=bC(),F8=TC(),dv=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(s=>[s.no,s]))}}read(e,r,s,n){this.prepare();let i=n===void 0?e.len:e.pos+n;for(;e.pos{"use strict";Object.defineProperty(vC,"__esModule",{value:!0});vC.ReflectionBinaryWriter=void 0;var As=sm(),_e=gn(),Gu=Fu(),dm=sa(),mv=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,s)=>r.no-s.no)}}write(e,r,s){this.prepare();for(let i of this.fields){let a,c,l=i.repeat,u=i.localName;if(i.oneof){let A=e[i.oneof];if(A.oneofKind!==u)continue;a=A[u],c=!0}else a=e[u],c=!1;switch(i.kind){case"scalar":case"enum":let A=i.kind=="enum"?_e.ScalarType.INT32:i.T;if(l)if(Gu.assert(Array.isArray(a)),l==_e.RepeatType.PACKED)this.packed(r,A,i.no,a);else for(let d of a)this.scalar(r,A,i.no,d,!0);else a===void 0?Gu.assert(i.opt):this.scalar(r,A,i.no,a,c||i.opt);break;case"message":if(l){Gu.assert(Array.isArray(a));for(let d of a)this.message(r,s,i.T(),i.no,d)}else this.message(r,s,i.T(),i.no,a);break;case"map":Gu.assert(typeof a=="object"&&a!==null);for(let[d,p]of Object.entries(a))this.mapEntry(r,s,i,d,p);break}}let n=s.writeUnknownFields;n!==!1&&(n===!0?As.UnknownFieldHandler.onWrite:n)(this.info.typeName,e,r)}mapEntry(e,r,s,n,i){e.tag(s.no,As.WireType.LengthDelimited),e.fork();let a=n;switch(s.K){case _e.ScalarType.INT32:case _e.ScalarType.FIXED32:case _e.ScalarType.UINT32:case _e.ScalarType.SFIXED32:case _e.ScalarType.SINT32:a=Number.parseInt(n);break;case _e.ScalarType.BOOL:Gu.assert(n=="true"||n=="false"),a=n=="true";break}switch(this.scalar(e,s.K,1,a,!0),s.V.kind){case"scalar":this.scalar(e,s.V.T,2,i,!0);break;case"enum":this.scalar(e,_e.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,s.V.T(),2,i);break}e.join()}message(e,r,s,n,i){i!==void 0&&(s.internalBinaryWrite(i,e.tag(n,As.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,s,n,i){let[a,c,l]=this.scalarInfo(r,n);(!l||i)&&(e.tag(s,a),e[c](n))}packed(e,r,s,n){if(!n.length)return;Gu.assert(r!==_e.ScalarType.BYTES&&r!==_e.ScalarType.STRING),e.tag(s,As.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(kC,"__esModule",{value:!0});kC.reflectionCreate=void 0;var tSe=TC(),rSe=um();function sSe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},rSe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let s=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[s]=[];else switch(r.kind){case"scalar":e[s]=tSe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}o(sSe,"reflectionCreate");kC.reflectionCreate=sSe});var gv=g(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.reflectionMergePartial=void 0;function nSe(t,e,r){let s,n=r,i;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=n[a.oneof];if(l?.oneofKind==null)continue;if(s=l[c],i=e[a.oneof],i.oneofKind=l.oneofKind,s==null){delete i[c];continue}}else if(s=n[c],i=e,s==null)continue;switch(a.repeat&&(i[c].length=s.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(LC,"__esModule",{value:!0});LC.reflectionEquals=void 0;var Ev=gn();function iSe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let s of t.fields){let n=s.localName,i=s.oneof?e[s.oneof][n]:e[n],a=s.oneof?r[s.oneof][n]:r[n];switch(s.kind){case"enum":case"scalar":let c=s.kind=="enum"?Ev.ScalarType.INT32:s.T;if(!(s.repeat?U8(c,i,a):G8(c,i,a)))return!1;break;case"map":if(!(s.V.kind=="message"?q8(s.V.T(),_C(i),_C(a)):U8(s.V.kind=="enum"?Ev.ScalarType.INT32:s.V.T,_C(i),_C(a))))return!1;break;case"message":let l=s.T();if(!(s.repeat?q8(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(iSe,"reflectionEquals");LC.reflectionEquals=iSe;var _C=Object.values;function G8(t,e,r){if(e===r)return!0;if(t!==Ev.ScalarType.BYTES)return!1;let s=e,n=r;if(s.length!==n.length)return!1;for(let i=0;i{"use strict";Object.defineProperty(MC,"__esModule",{value:!0});MC.MessageType=void 0;var oSe=um(),aSe=gn(),cSe=av(),lSe=lv(),uSe=Av(),ASe=pv(),dSe=hv(),pSe=fv(),Cv=gv(),mSe=lC(),H8=sv(),hSe=yv(),fSe=rv(),gSe=tv(),z8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),ESe=z8[oSe.MESSAGE_TYPE]={},Iv=class{static{o(this,"MessageType")}constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(aSe.normalizeFieldInfo),this.options=s??{},ESe.value=this,this.messagePrototype=Object.create(null,z8),this.refTypeCheck=new cSe.ReflectionTypeCheck(this),this.refJsonReader=new lSe.ReflectionJsonReader(this),this.refJsonWriter=new uSe.ReflectionJsonWriter(this),this.refBinReader=new ASe.ReflectionBinaryReader(this),this.refBinWriter=new dSe.ReflectionBinaryWriter(this)}create(e){let r=pSe.reflectionCreate(this);return e!==void 0&&Cv.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return Cv.reflectionMergePartial(this,r,e),r}equals(e,r){return hSe.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){Cv.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=gSe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,H8.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,H8.jsonWriteOptions(r))}toJsonString(e,r){var s;let n=this.toJson(e,r);return JSON.stringify(n,null,(s=r?.prettySpaces)!==null&&s!==void 0?s:0)}toBinary(e,r){let s=fSe.binaryWriteOptions(r);return this.internalBinaryWrite(e,s.writerFactory(),s).finish()}internalJsonRead(e,r,s){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let n=s??this.create();return this.refJsonReader.read(e,n,r),n}throw new Error(`Unable to parse message ${this.typeName} from JSON ${mSe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,s){return this.refBinWriter.write(e,r,s),r}internalBinaryRead(e,r,s,n){let i=n??this.create();return this.refBinReader.read(e,i,s,r),i}};MC.MessageType=Iv});var $8=g(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});OC.containsMessageType=void 0;var ySe=um();function CSe(t){return t[ySe.MESSAGE_TYPE]!=null}o(CSe,"containsMessageType");OC.containsMessageType=CSe});var J8=g(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.listEnumNumbers=pi.listEnumNames=pi.listEnumValues=pi.isEnumObject=void 0;function Y8(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let s=t[e];if(s===void 0||typeof s!="number"||t[s]===void 0)return!1}else{let s=t[r];if(s===void 0||t[s]!==r)return!1}}return!0}o(Y8,"isEnumObject");pi.isEnumObject=Y8;function Bv(t){if(!Y8(t))throw new Error("not a typescript enum object");let e=[];for(let[r,s]of Object.entries(t))typeof s=="number"&&e.push({name:r,number:s});return e}o(Bv,"listEnumValues");pi.listEnumValues=Bv;function ISe(t){return Bv(t).map(e=>e.name)}o(ISe,"listEnumNames");pi.listEnumNames=ISe;function BSe(t){return Bv(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}o(BSe,"listEnumNumbers");pi.listEnumNumbers=BSe});var pt=g(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});var W8=lC();Object.defineProperty(W,"typeofJsonValue",{enumerable:!0,get:o(function(){return W8.typeofJsonValue},"get")});Object.defineProperty(W,"isJsonObject",{enumerable:!0,get:o(function(){return W8.isJsonObject},"get")});var j8=AC();Object.defineProperty(W,"base64decode",{enumerable:!0,get:o(function(){return j8.base64decode},"get")});Object.defineProperty(W,"base64encode",{enumerable:!0,get:o(function(){return j8.base64encode},"get")});var wSe=B8();Object.defineProperty(W,"utf8read",{enumerable:!0,get:o(function(){return wSe.utf8read},"get")});var wv=sm();Object.defineProperty(W,"WireType",{enumerable:!0,get:o(function(){return wv.WireType},"get")});Object.defineProperty(W,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return wv.mergeBinaryOptions},"get")});Object.defineProperty(W,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return wv.UnknownFieldHandler},"get")});var K8=tv();Object.defineProperty(W,"BinaryReader",{enumerable:!0,get:o(function(){return K8.BinaryReader},"get")});Object.defineProperty(W,"binaryReadOptions",{enumerable:!0,get:o(function(){return K8.binaryReadOptions},"get")});var X8=rv();Object.defineProperty(W,"BinaryWriter",{enumerable:!0,get:o(function(){return X8.BinaryWriter},"get")});Object.defineProperty(W,"binaryWriteOptions",{enumerable:!0,get:o(function(){return X8.binaryWriteOptions},"get")});var Z8=sa();Object.defineProperty(W,"PbLong",{enumerable:!0,get:o(function(){return Z8.PbLong},"get")});Object.defineProperty(W,"PbULong",{enumerable:!0,get:o(function(){return Z8.PbULong},"get")});var bv=sv();Object.defineProperty(W,"jsonReadOptions",{enumerable:!0,get:o(function(){return bv.jsonReadOptions},"get")});Object.defineProperty(W,"jsonWriteOptions",{enumerable:!0,get:o(function(){return bv.jsonWriteOptions},"get")});Object.defineProperty(W,"mergeJsonOptions",{enumerable:!0,get:o(function(){return bv.mergeJsonOptions},"get")});var bSe=um();Object.defineProperty(W,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return bSe.MESSAGE_TYPE},"get")});var QSe=V8();Object.defineProperty(W,"MessageType",{enumerable:!0,get:o(function(){return QSe.MessageType},"get")});var bc=gn();Object.defineProperty(W,"ScalarType",{enumerable:!0,get:o(function(){return bc.ScalarType},"get")});Object.defineProperty(W,"LongType",{enumerable:!0,get:o(function(){return bc.LongType},"get")});Object.defineProperty(W,"RepeatType",{enumerable:!0,get:o(function(){return bc.RepeatType},"get")});Object.defineProperty(W,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return bc.normalizeFieldInfo},"get")});Object.defineProperty(W,"readFieldOptions",{enumerable:!0,get:o(function(){return bc.readFieldOptions},"get")});Object.defineProperty(W,"readFieldOption",{enumerable:!0,get:o(function(){return bc.readFieldOption},"get")});Object.defineProperty(W,"readMessageOption",{enumerable:!0,get:o(function(){return bc.readMessageOption},"get")});var xSe=av();Object.defineProperty(W,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return xSe.ReflectionTypeCheck},"get")});var NSe=fv();Object.defineProperty(W,"reflectionCreate",{enumerable:!0,get:o(function(){return NSe.reflectionCreate},"get")});var SSe=TC();Object.defineProperty(W,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return SSe.reflectionScalarDefault},"get")});var RSe=gv();Object.defineProperty(W,"reflectionMergePartial",{enumerable:!0,get:o(function(){return RSe.reflectionMergePartial},"get")});var TSe=yv();Object.defineProperty(W,"reflectionEquals",{enumerable:!0,get:o(function(){return TSe.reflectionEquals},"get")});var PSe=pv();Object.defineProperty(W,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return PSe.ReflectionBinaryReader},"get")});var vSe=hv();Object.defineProperty(W,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return vSe.ReflectionBinaryWriter},"get")});var kSe=lv();Object.defineProperty(W,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return kSe.ReflectionJsonReader},"get")});var DSe=Av();Object.defineProperty(W,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return DSe.ReflectionJsonWriter},"get")});var _Se=$8();Object.defineProperty(W,"containsMessageType",{enumerable:!0,get:o(function(){return _Se.containsMessageType},"get")});var pm=iv();Object.defineProperty(W,"isOneofGroup",{enumerable:!0,get:o(function(){return pm.isOneofGroup},"get")});Object.defineProperty(W,"setOneofValue",{enumerable:!0,get:o(function(){return pm.setOneofValue},"get")});Object.defineProperty(W,"getOneofValue",{enumerable:!0,get:o(function(){return pm.getOneofValue},"get")});Object.defineProperty(W,"clearOneofValue",{enumerable:!0,get:o(function(){return pm.clearOneofValue},"get")});Object.defineProperty(W,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return pm.getSelectedOneofValue},"get")});var FC=J8();Object.defineProperty(W,"listEnumValues",{enumerable:!0,get:o(function(){return FC.listEnumValues},"get")});Object.defineProperty(W,"listEnumNames",{enumerable:!0,get:o(function(){return FC.listEnumNames},"get")});Object.defineProperty(W,"listEnumNumbers",{enumerable:!0,get:o(function(){return FC.listEnumNumbers},"get")});Object.defineProperty(W,"isEnumObject",{enumerable:!0,get:o(function(){return FC.isEnumObject},"get")});var LSe=nv();Object.defineProperty(W,"lowerCamelCase",{enumerable:!0,get:o(function(){return LSe.lowerCamelCase},"get")});var mm=Fu();Object.defineProperty(W,"assert",{enumerable:!0,get:o(function(){return mm.assert},"get")});Object.defineProperty(W,"assertNever",{enumerable:!0,get:o(function(){return mm.assertNever},"get")});Object.defineProperty(W,"assertInt32",{enumerable:!0,get:o(function(){return mm.assertInt32},"get")});Object.defineProperty(W,"assertUInt32",{enumerable:!0,get:o(function(){return mm.assertUInt32},"get")});Object.defineProperty(W,"assertFloat32",{enumerable:!0,get:o(function(){return mm.assertFloat32},"get")})});var Qv=g(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.readServiceOption=mi.readMethodOption=mi.readMethodOptions=mi.normalizeMethodInfo=void 0;var MSe=pt();function OSe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:MSe.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(s=i.options)!==null&&s!==void 0?s:{},i.idempotency=(n=i.idempotency)!==null&&n!==void 0?n:void 0,i}o(OSe,"normalizeMethodInfo");mi.normalizeMethodInfo=OSe;function FSe(t,e,r,s){var n;let i=(n=t.methods.find((a,c)=>a.localName===e||c===e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(FSe,"readMethodOptions");mi.readMethodOptions=FSe;function USe(t,e,r,s){var n;let i=(n=t.methods.find((c,l)=>c.localName===e||l===e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(USe,"readMethodOption");mi.readMethodOption=USe;function qSe(t,e,r){let s=t.options;if(!s)return;let n=s[e];return n===void 0?n:r?r.fromJson(n):n}o(qSe,"readServiceOption");mi.readServiceOption=qSe});var e5=g(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.ServiceType=void 0;var GSe=Qv(),xv=class{static{o(this,"ServiceType")}constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>GSe.normalizeMethodInfo(n,this)),this.options=s??{}}};UC.ServiceType=xv});var Sv=g(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.RpcError=void 0;var Nv=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",s){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=s??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[s,n]of r)e.push(` ${s}: ${n}`)}return e.join(` +`)}};qC.RpcError=Nv});var Rv=g(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.mergeRpcOptions=void 0;var t5=pt();function HSe(t,e){if(!e)return t;let r={};GC(t,r),GC(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=t5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=t5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},GC(t.meta,r.meta),GC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(HSe,"mergeRpcOptions");HC.mergeRpcOptions=HSe;function GC(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(GC,"copy")});var Pv=g(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.Deferred=Qc.DeferredState=void 0;var hi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(hi=Qc.DeferredState||(Qc.DeferredState={}));var Tv=class{static{o(this,"Deferred")}constructor(e=!0){this._state=hi.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==hi.PENDING)throw new Error(`cannot resolve ${hi[this.state].toLowerCase()}`);this._resolve(e),this._state=hi.RESOLVED}reject(e){if(this.state!==hi.PENDING)throw new Error(`cannot reject ${hi[this.state].toLowerCase()}`);this._reject(e),this._state=hi.REJECTED}resolvePending(e){this._state===hi.PENDING&&this.resolve(e)}rejectPending(e){this._state===hi.PENDING&&this.reject(e)}};Qc.Deferred=Tv});var kv=g(zC=>{"use strict";Object.defineProperty(zC,"__esModule",{value:!0});zC.RpcOutputStreamController=void 0;var r5=Pv(),xc=pt(),vv=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){xc.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){xc.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){xc.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){xc.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;xc.assert(e,"bad state"),xc.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new r5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;xc.assert(s.state==r5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};zC.RpcOutputStreamController=vv});var _v=g(Hu=>{"use strict";var zSe=Hu&&Hu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.UnaryCall=void 0;var Dv=class{static{o(this,"UnaryCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return zSe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:n}})}};Hu.UnaryCall=Dv});var Mv=g(zu=>{"use strict";var VSe=zu&&zu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(zu,"__esModule",{value:!0});zu.ServerStreamingCall=void 0;var Lv=class{static{o(this,"ServerStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return VSe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:s}})}};zu.ServerStreamingCall=Lv});var Fv=g(Vu=>{"use strict";var $Se=Vu&&Vu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.ClientStreamingCall=void 0;var Ov=class{static{o(this,"ClientStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return $Se(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:s,trailers:n}})}};Vu.ClientStreamingCall=Ov});var qv=g($u=>{"use strict";var YSe=$u&&$u.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty($u,"__esModule",{value:!0});$u.DuplexStreamingCall=void 0;var Uv=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return YSe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:s}})}};$u.DuplexStreamingCall=Uv});var n5=g(Wu=>{"use strict";var JSe=Wu&&Wu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.TestTransport=void 0;var Fs=Sv(),VC=pt(),s5=kv(),WSe=Rv(),jSe=_v(),KSe=Mv(),XSe=Fv(),ZSe=qv(),Ju=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof Yu?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Yu?this.lastInput.completed:typeof this.lastInput=="object"}promiseHeaders(){var e;let r=(e=this.data.headers)!==null&&e!==void 0?e:t.defaultHeaders;return r instanceof Fs.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Fs.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(VC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),VC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return JSe(this,void 0,void 0,function*(){let n=[];if(this.data.response===void 0)n.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)VC.assert(e.O.is(i)),n.push(i);else this.data.response instanceof Fs.RpcError||(VC.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield qt(this.responseDelay,s)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof Fs.RpcError){r.notifyError(this.data.response);return}for(let i of n){r.notifyMessage(i);try{yield qt(this.betweenResponseDelay,s)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Fs.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Fs.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof Fs.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof Fs.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return WSe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(qt(this.headerDelay,s.abort)),c=a.catch(A=>{}).then(qt(this.responseDelay,s.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(qt(this.afterResponseDelay,s.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(qt(this.afterResponseDelay,s.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new jSe.UnaryCall(e,i,r,a,c,l,u)}serverStreaming(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(qt(this.headerDelay,s.abort)),c=new s5.RpcOutputStreamController,l=a.then(qt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,s.abort)).then(qt(this.afterResponseDelay,s.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new KSe.ServerStreamingCall(e,i,r,a,c,u,A)}clientStreaming(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(qt(this.headerDelay,r.abort)),a=i.catch(u=>{}).then(qt(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(qt(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(qt(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Yu(this.data,r.abort),new XSe.ClientStreamingCall(e,n,this.lastInput,i,a,c,l)}duplex(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(qt(this.headerDelay,r.abort)),a=new s5.RpcOutputStreamController,c=i.then(qt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(qt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new Yu(this.data,r.abort),new ZSe.DuplexStreamingCall(e,n,this.lastInput,i,a,l,u)}};Wu.TestTransport=Ju;Ju.defaultHeaders={responseHeader:"test"};Ju.defaultStatus={code:"OK",detail:"all good"};Ju.defaultTrailers={responseTrailer:"test"};function qt(t,e){return r=>new Promise((s,n)=>{if(e?.aborted)n(new Fs.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>s(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),n(new Fs.RpcError("user cancel","CANCELLED"))})}})}o(qt,"delay");var Yu=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof Fs.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(qt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Fs.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(qt(e,this.abort))}}});var i5=g(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.stackDuplexStreamingInterceptors=Us.stackClientStreamingInterceptors=Us.stackServerStreamingInterceptors=Us.stackUnaryInterceptors=Us.stackIntercept=void 0;var eRe=pt();function hm(t,e,r,s,n){var i,a,c,l;if(t=="unary"){let u=o((A,d,p)=>e.unary(A,d,p),"tail");for(let A of((i=s.interceptors)!==null&&i!==void 0?i:[]).filter(d=>d.interceptUnary).reverse()){let d=u;u=o((p,m,h)=>A.interceptUnary(d,p,m,h),"tail")}return u(r,n,s)}if(t=="serverStreaming"){let u=o((A,d,p)=>e.serverStreaming(A,d,p),"tail");for(let A of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=u;u=o((p,m,h)=>A.interceptServerStreaming(d,p,m,h),"tail")}return u(r,n,s)}if(t=="clientStreaming"){let u=o((A,d)=>e.clientStreaming(A,d),"tail");for(let A of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=u;u=o((p,m)=>A.interceptClientStreaming(d,p,m),"tail")}return u(r,s)}if(t=="duplex"){let u=o((A,d)=>e.duplex(A,d),"tail");for(let A of((l=s.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=u;u=o((p,m)=>A.interceptDuplex(d,p,m),"tail")}return u(r,s)}eRe.assertNever(t)}o(hm,"stackIntercept");Us.stackIntercept=hm;function tRe(t,e,r,s){return hm("unary",t,e,s,r)}o(tRe,"stackUnaryInterceptors");Us.stackUnaryInterceptors=tRe;function rRe(t,e,r,s){return hm("serverStreaming",t,e,s,r)}o(rRe,"stackServerStreamingInterceptors");Us.stackServerStreamingInterceptors=rRe;function sRe(t,e,r){return hm("clientStreaming",t,e,r)}o(sRe,"stackClientStreamingInterceptors");Us.stackClientStreamingInterceptors=sRe;function nRe(t,e,r){return hm("duplex",t,e,r)}o(nRe,"stackDuplexStreamingInterceptors");Us.stackDuplexStreamingInterceptors=nRe});var o5=g($C=>{"use strict";Object.defineProperty($C,"__esModule",{value:!0});$C.ServerCallContextController=void 0;var Gv=class{static{o(this,"ServerCallContextController")}constructor(e,r,s,n,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=s,this.trailers={},this._sendRH=n,this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}};$C.ServerCallContextController=Gv});var c5=g(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});var iRe=e5();Object.defineProperty(it,"ServiceType",{enumerable:!0,get:o(function(){return iRe.ServiceType},"get")});var Hv=Qv();Object.defineProperty(it,"readMethodOptions",{enumerable:!0,get:o(function(){return Hv.readMethodOptions},"get")});Object.defineProperty(it,"readMethodOption",{enumerable:!0,get:o(function(){return Hv.readMethodOption},"get")});Object.defineProperty(it,"readServiceOption",{enumerable:!0,get:o(function(){return Hv.readServiceOption},"get")});var oRe=Sv();Object.defineProperty(it,"RpcError",{enumerable:!0,get:o(function(){return oRe.RpcError},"get")});var aRe=Rv();Object.defineProperty(it,"mergeRpcOptions",{enumerable:!0,get:o(function(){return aRe.mergeRpcOptions},"get")});var cRe=kv();Object.defineProperty(it,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return cRe.RpcOutputStreamController},"get")});var lRe=n5();Object.defineProperty(it,"TestTransport",{enumerable:!0,get:o(function(){return lRe.TestTransport},"get")});var a5=Pv();Object.defineProperty(it,"Deferred",{enumerable:!0,get:o(function(){return a5.Deferred},"get")});Object.defineProperty(it,"DeferredState",{enumerable:!0,get:o(function(){return a5.DeferredState},"get")});var uRe=qv();Object.defineProperty(it,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return uRe.DuplexStreamingCall},"get")});var ARe=Fv();Object.defineProperty(it,"ClientStreamingCall",{enumerable:!0,get:o(function(){return ARe.ClientStreamingCall},"get")});var dRe=Mv();Object.defineProperty(it,"ServerStreamingCall",{enumerable:!0,get:o(function(){return dRe.ServerStreamingCall},"get")});var pRe=_v();Object.defineProperty(it,"UnaryCall",{enumerable:!0,get:o(function(){return pRe.UnaryCall},"get")});var fm=i5();Object.defineProperty(it,"stackIntercept",{enumerable:!0,get:o(function(){return fm.stackIntercept},"get")});Object.defineProperty(it,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return fm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(it,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return fm.stackClientStreamingInterceptors},"get")});Object.defineProperty(it,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return fm.stackServerStreamingInterceptors},"get")});Object.defineProperty(it,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return fm.stackUnaryInterceptors},"get")});var mRe=o5();Object.defineProperty(it,"ServerCallContextController",{enumerable:!0,get:o(function(){return mRe.ServerCallContextController},"get")})});var Xu=g((Vct,S5)=>{"use strict";var xRe="2.0.0",NRe=Number.MAX_SAFE_INTEGER||9007199254740991,SRe=16,RRe=250,TRe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];S5.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:SRe,MAX_SAFE_BUILD_LENGTH:RRe,MAX_SAFE_INTEGER:NRe,RELEASE_TYPES:TRe,SEMVER_SPEC_VERSION:xRe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Cm=g(($ct,R5)=>{"use strict";var PRe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};R5.exports=PRe});var Zu=g((Ei,T5)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:yk,MAX_SAFE_BUILD_LENGTH:vRe,MAX_LENGTH:kRe}=Xu(),DRe=Cm();Ei=T5.exports={};var _Re=Ei.re=[],LRe=Ei.safeRe=[],O=Ei.src=[],MRe=Ei.safeSrc=[],F=Ei.t={},ORe=0,Ck="[a-zA-Z0-9-]",FRe=[["\\s",1],["\\d",kRe],[Ck,vRe]],URe=o(t=>{for(let[e,r]of FRe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ae=o((t,e,r)=>{let s=URe(e),n=ORe++;DRe(t,n,e),F[t]=n,O[n]=e,MRe[n]=s,_Re[n]=new RegExp(e,r?"g":void 0),LRe[n]=new RegExp(s,r?"g":void 0)},"createToken");ae("NUMERICIDENTIFIER","0|[1-9]\\d*");ae("NUMERICIDENTIFIERLOOSE","\\d+");ae("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ck}*`);ae("MAINVERSION",`(${O[F.NUMERICIDENTIFIER]})\\.(${O[F.NUMERICIDENTIFIER]})\\.(${O[F.NUMERICIDENTIFIER]})`);ae("MAINVERSIONLOOSE",`(${O[F.NUMERICIDENTIFIERLOOSE]})\\.(${O[F.NUMERICIDENTIFIERLOOSE]})\\.(${O[F.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASEIDENTIFIER",`(?:${O[F.NONNUMERICIDENTIFIER]}|${O[F.NUMERICIDENTIFIER]})`);ae("PRERELEASEIDENTIFIERLOOSE",`(?:${O[F.NONNUMERICIDENTIFIER]}|${O[F.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASE",`(?:-(${O[F.PRERELEASEIDENTIFIER]}(?:\\.${O[F.PRERELEASEIDENTIFIER]})*))`);ae("PRERELEASELOOSE",`(?:-?(${O[F.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${O[F.PRERELEASEIDENTIFIERLOOSE]})*))`);ae("BUILDIDENTIFIER",`${Ck}+`);ae("BUILD",`(?:\\+(${O[F.BUILDIDENTIFIER]}(?:\\.${O[F.BUILDIDENTIFIER]})*))`);ae("FULLPLAIN",`v?${O[F.MAINVERSION]}${O[F.PRERELEASE]}?${O[F.BUILD]}?`);ae("FULL",`^${O[F.FULLPLAIN]}$`);ae("LOOSEPLAIN",`[v=\\s]*${O[F.MAINVERSIONLOOSE]}${O[F.PRERELEASELOOSE]}?${O[F.BUILD]}?`);ae("LOOSE",`^${O[F.LOOSEPLAIN]}$`);ae("GTLT","((?:<|>)?=?)");ae("XRANGEIDENTIFIERLOOSE",`${O[F.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ae("XRANGEIDENTIFIER",`${O[F.NUMERICIDENTIFIER]}|x|X|\\*`);ae("XRANGEPLAIN",`[v=\\s]*(${O[F.XRANGEIDENTIFIER]})(?:\\.(${O[F.XRANGEIDENTIFIER]})(?:\\.(${O[F.XRANGEIDENTIFIER]})(?:${O[F.PRERELEASE]})?${O[F.BUILD]}?)?)?`);ae("XRANGEPLAINLOOSE",`[v=\\s]*(${O[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[F.XRANGEIDENTIFIERLOOSE]})(?:${O[F.PRERELEASELOOSE]})?${O[F.BUILD]}?)?)?`);ae("XRANGE",`^${O[F.GTLT]}\\s*${O[F.XRANGEPLAIN]}$`);ae("XRANGELOOSE",`^${O[F.GTLT]}\\s*${O[F.XRANGEPLAINLOOSE]}$`);ae("COERCEPLAIN",`(^|[^\\d])(\\d{1,${yk}})(?:\\.(\\d{1,${yk}}))?(?:\\.(\\d{1,${yk}}))?`);ae("COERCE",`${O[F.COERCEPLAIN]}(?:$|[^\\d])`);ae("COERCEFULL",O[F.COERCEPLAIN]+`(?:${O[F.PRERELEASE]})?(?:${O[F.BUILD]})?(?:$|[^\\d])`);ae("COERCERTL",O[F.COERCE],!0);ae("COERCERTLFULL",O[F.COERCEFULL],!0);ae("LONETILDE","(?:~>?)");ae("TILDETRIM",`(\\s*)${O[F.LONETILDE]}\\s+`,!0);Ei.tildeTrimReplace="$1~";ae("TILDE",`^${O[F.LONETILDE]}${O[F.XRANGEPLAIN]}$`);ae("TILDELOOSE",`^${O[F.LONETILDE]}${O[F.XRANGEPLAINLOOSE]}$`);ae("LONECARET","(?:\\^)");ae("CARETTRIM",`(\\s*)${O[F.LONECARET]}\\s+`,!0);Ei.caretTrimReplace="$1^";ae("CARET",`^${O[F.LONECARET]}${O[F.XRANGEPLAIN]}$`);ae("CARETLOOSE",`^${O[F.LONECARET]}${O[F.XRANGEPLAINLOOSE]}$`);ae("COMPARATORLOOSE",`^${O[F.GTLT]}\\s*(${O[F.LOOSEPLAIN]})$|^$`);ae("COMPARATOR",`^${O[F.GTLT]}\\s*(${O[F.FULLPLAIN]})$|^$`);ae("COMPARATORTRIM",`(\\s*)${O[F.GTLT]}\\s*(${O[F.LOOSEPLAIN]}|${O[F.XRANGEPLAIN]})`,!0);Ei.comparatorTrimReplace="$1$2$3";ae("HYPHENRANGE",`^\\s*(${O[F.XRANGEPLAIN]})\\s+-\\s+(${O[F.XRANGEPLAIN]})\\s*$`);ae("HYPHENRANGELOOSE",`^\\s*(${O[F.XRANGEPLAINLOOSE]})\\s+-\\s+(${O[F.XRANGEPLAINLOOSE]})\\s*$`);ae("STAR","(<|>)?=?\\s*\\*");ae("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ae("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var eI=g((Jct,P5)=>{"use strict";var qRe=Object.freeze({loose:!0}),GRe=Object.freeze({}),HRe=o(t=>t?typeof t!="object"?qRe:t:GRe,"parseOptions");P5.exports=HRe});var Ik=g((jct,D5)=>{"use strict";var v5=/^[0-9]+$/,k5=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tk5(e,t),"rcompareIdentifiers");D5.exports={compareIdentifiers:k5,rcompareIdentifiers:zRe}});var $t=g((Xct,L5)=>{"use strict";var tI=Cm(),{MAX_LENGTH:_5,MAX_SAFE_INTEGER:rI}=Xu(),{safeRe:sI,t:nI}=Zu(),VRe=eI(),{compareIdentifiers:Bk}=Ik(),$Re=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;s_5)throw new TypeError(`version is longer than ${_5} characters`);tI("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?sI[nI.LOOSE]:sI[nI.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>rI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>rI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>rI||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(tI("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Bk(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(tI("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Bk(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?sI[nI.PRERELEASELOOSE]:sI[nI.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];if(s===!1&&(i=[r]),$Re(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};L5.exports=wk});var oa=g((elt,O5)=>{"use strict";var M5=$t(),YRe=o((t,e,r=!1)=>{if(t instanceof M5)return t;try{return new M5(t,e)}catch(s){if(!r)return null;throw s}},"parse");O5.exports=YRe});var U5=g((rlt,F5)=>{"use strict";var JRe=oa(),WRe=o((t,e)=>{let r=JRe(t,e);return r?r.version:null},"valid");F5.exports=WRe});var G5=g((nlt,q5)=>{"use strict";var jRe=oa(),KRe=o((t,e)=>{let r=jRe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");q5.exports=KRe});var V5=g((olt,z5)=>{"use strict";var H5=$t(),XRe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new H5(t instanceof H5?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");z5.exports=XRe});var J5=g((clt,Y5)=>{"use strict";var $5=oa(),ZRe=o((t,e)=>{let r=$5(t,null,!0),s=$5(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");Y5.exports=ZRe});var j5=g((ult,W5)=>{"use strict";var eTe=$t(),tTe=o((t,e)=>new eTe(t,e).major,"major");W5.exports=tTe});var X5=g((dlt,K5)=>{"use strict";var rTe=$t(),sTe=o((t,e)=>new rTe(t,e).minor,"minor");K5.exports=sTe});var ej=g((mlt,Z5)=>{"use strict";var nTe=$t(),iTe=o((t,e)=>new nTe(t,e).patch,"patch");Z5.exports=iTe});var rj=g((flt,tj)=>{"use strict";var oTe=oa(),aTe=o((t,e)=>{let r=oTe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");tj.exports=aTe});var qs=g((Elt,nj)=>{"use strict";var sj=$t(),cTe=o((t,e,r)=>new sj(t,r).compare(new sj(e,r)),"compare");nj.exports=cTe});var oj=g((Clt,ij)=>{"use strict";var lTe=qs(),uTe=o((t,e,r)=>lTe(e,t,r),"rcompare");ij.exports=uTe});var cj=g((Blt,aj)=>{"use strict";var ATe=qs(),dTe=o((t,e)=>ATe(t,e,!0),"compareLoose");aj.exports=dTe});var iI=g((blt,uj)=>{"use strict";var lj=$t(),pTe=o((t,e,r)=>{let s=new lj(t,r),n=new lj(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");uj.exports=pTe});var dj=g((xlt,Aj)=>{"use strict";var mTe=iI(),hTe=o((t,e)=>t.sort((r,s)=>mTe(r,s,e)),"sort");Aj.exports=hTe});var mj=g((Slt,pj)=>{"use strict";var fTe=iI(),gTe=o((t,e)=>t.sort((r,s)=>fTe(s,r,e)),"rsort");pj.exports=gTe});var Im=g((Tlt,hj)=>{"use strict";var ETe=qs(),yTe=o((t,e,r)=>ETe(t,e,r)>0,"gt");hj.exports=yTe});var oI=g((vlt,fj)=>{"use strict";var CTe=qs(),ITe=o((t,e,r)=>CTe(t,e,r)<0,"lt");fj.exports=ITe});var bk=g((Dlt,gj)=>{"use strict";var BTe=qs(),wTe=o((t,e,r)=>BTe(t,e,r)===0,"eq");gj.exports=wTe});var Qk=g((Llt,Ej)=>{"use strict";var bTe=qs(),QTe=o((t,e,r)=>bTe(t,e,r)!==0,"neq");Ej.exports=QTe});var aI=g((Olt,yj)=>{"use strict";var xTe=qs(),NTe=o((t,e,r)=>xTe(t,e,r)>=0,"gte");yj.exports=NTe});var cI=g((Ult,Cj)=>{"use strict";var STe=qs(),RTe=o((t,e,r)=>STe(t,e,r)<=0,"lte");Cj.exports=RTe});var xk=g((Glt,Ij)=>{"use strict";var TTe=bk(),PTe=Qk(),vTe=Im(),kTe=aI(),DTe=oI(),_Te=cI(),LTe=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return TTe(t,r,s);case"!=":return PTe(t,r,s);case">":return vTe(t,r,s);case">=":return kTe(t,r,s);case"<":return DTe(t,r,s);case"<=":return _Te(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Ij.exports=LTe});var wj=g((zlt,Bj)=>{"use strict";var MTe=$t(),OTe=oa(),{safeRe:lI,t:uI}=Zu(),FTe=o((t,e)=>{if(t instanceof MTe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?lI[uI.COERCEFULL]:lI[uI.COERCE]);else{let l=e.includePrerelease?lI[uI.COERCERTLFULL]:lI[uI.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return OTe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");Bj.exports=FTe});var Qj=g(($lt,bj)=>{"use strict";var UTe=oa(),qTe=Xu(),GTe=$t(),HTe=o((t,e,r)=>{if(!qTe.RELEASE_TYPES.includes(e))return null;let s=zTe(t,r);return s&&VTe(s,e)},"truncate"),zTe=o((t,e)=>{let r=t instanceof GTe?t.version:t;return UTe(r,e)},"cloneInputVersion"),VTe=o((t,e)=>{if($Te(e))return t.version;switch(t.prerelease=[],e){case"major":t.minor=0,t.patch=0;break;case"minor":t.patch=0;break}return t.format()},"doTruncation"),$Te=o(t=>t.startsWith("pre"),"isPrerelease");bj.exports=HTe});var Nj=g((Jlt,xj)=>{"use strict";var Nk=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};xj.exports=Nk});var Gs=g((jlt,Pj)=>{"use strict";var YTe=/\s+/g,Sk=class t{static{o(this,"Range")}constructor(e,r){if(r=WTe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Rk)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(YTe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!Rj(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&nPe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(sPe,"");let s=((this.options.includePrerelease&&tPe)|(this.options.loose&&rPe))+":"+e,n=Sj.get(s);if(n)return n;let i=this.options.loose,a=i?Er[Yt.HYPHENRANGELOOSE]:Er[Yt.HYPHENRANGE];e=e.replace(a,hPe(this.options.includePrerelease)),Ue("hyphen replace",e),e=e.replace(Er[Yt.COMPARATORTRIM],XTe),Ue("comparator trim",e),e=e.replace(Er[Yt.TILDETRIM],ZTe),Ue("tilde trim",e),e=e.replace(Er[Yt.CARETTRIM],ePe),Ue("caret trim",e);let c=e.split(" ").map(d=>iPe(d,this.options)).join(" ").split(/\s+/).map(d=>mPe(d,this.options));i&&(c=c.filter(d=>(Ue("loose invalid filter",d,this.options),!!d.match(Er[Yt.COMPARATORLOOSE])))),Ue("range list",c);let l=new Map,u=c.map(d=>new Rk(d,this.options));for(let d of u){if(Rj(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return Sj.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>Tj(s,r)&&e.set.some(n=>Tj(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new jTe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),nPe=o(t=>t.value==="","isAny"),Tj=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),iPe=o((t,e)=>(t=t.replace(Er[Yt.BUILD],""),Ue("comp",t,e),t=lPe(t,e),Ue("caret",t),t=aPe(t,e),Ue("tildes",t),t=APe(t,e),Ue("xrange",t),t=pPe(t,e),Ue("stars",t),t),"parseComparator"),vt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),oPe=o((t,e,r)=>vt(t)&&!vt(e)||vt(e)&&r&&!vt(r),"invalidXRangeOrder"),aPe=o((t,e)=>t.trim().split(/\s+/).map(r=>cPe(r,e)).join(" "),"replaceTildes"),cPe=o((t,e)=>{let r=e.loose?Er[Yt.TILDELOOSE]:Er[Yt.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ue("tilde",t,n,i,a,c,l);let u;return vt(i)?u="":vt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:vt(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?(Ue("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,Ue("tilde return",u),u})},"replaceTilde"),lPe=o((t,e)=>t.trim().split(/\s+/).map(r=>uPe(r,e)).join(" "),"replaceCarets"),uPe=o((t,e)=>{Ue("caret",t,e);let r=e.loose?Er[Yt.CARETLOOSE]:Er[Yt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ue("caret",t,n,i,a,c,l);let u;return vt(i)?u="":vt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:vt(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Ue("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Ue("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Ue("caret return",u),u})},"replaceCaret"),APe=o((t,e)=>(Ue("replaceXRanges",t,e),t.split(/\s+/).map(r=>dPe(r,e)).join(" ")),"replaceXRanges"),dPe=o((t,e)=>{t=t.trim();let r=e.loose?Er[Yt.XRANGELOOSE]:Er[Yt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if(Ue("xRange",t,s,n,i,a,c,l),oPe(i,a,c))return t;let u=vt(i),A=u||vt(a),d=A||vt(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Ue("xRange return",s),s})},"replaceXRange"),pPe=o((t,e)=>(Ue("replaceStars",t,e),t.trim().replace(Er[Yt.STAR],"")),"replaceStars"),mPe=o((t,e)=>(Ue("replaceGTE0",t,e),t.trim().replace(Er[e.includePrerelease?Yt.GTE0PRE:Yt.GTE0],"")),"replaceGTE0"),hPe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(vt(s)?r="":vt(n)?r=`>=${s}.0.0${t?"-0":""}`:vt(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,vt(u)?l="":vt(A)?l=`<${+u+1}.0.0-0`:vt(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),fPe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Bm=g((Xlt,Mj)=>{"use strict";var wm=Symbol("SemVer ANY"),vk=class t{static{o(this,"Comparator")}static get ANY(){return wm}constructor(e,r){if(r=vj(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Pk("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===wm?this.value="":this.value=this.operator+this.semver.version,Pk("comp",this)}parse(e){let r=this.options.loose?kj[Dj.COMPARATORLOOSE]:kj[Dj.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new _j(s[2],this.options.loose):this.semver=wm}toString(){return this.value}test(e){if(Pk("Comparator.test",e,this.options.loose),this.semver===wm||e===wm)return!0;if(typeof e=="string")try{e=new _j(e,this.options)}catch{return!1}return Tk(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Lj(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Lj(this.value,r).test(e.semver):(r=vj(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Tk(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Tk(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Mj.exports=vk;var vj=eI(),{safeRe:kj,t:Dj}=Zu(),Tk=xk(),Pk=Cm(),_j=$t(),Lj=Gs()});var bm=g((eut,Oj)=>{"use strict";var gPe=Gs(),EPe=o((t,e,r)=>{try{e=new gPe(e,r)}catch{return!1}return e.test(t)},"satisfies");Oj.exports=EPe});var Uj=g((rut,Fj)=>{"use strict";var yPe=Gs(),CPe=o((t,e)=>new yPe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");Fj.exports=CPe});var Gj=g((nut,qj)=>{"use strict";var IPe=$t(),BPe=Gs(),wPe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new BPe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new IPe(s,r))}),s},"maxSatisfying");qj.exports=wPe});var zj=g((out,Hj)=>{"use strict";var bPe=$t(),QPe=Gs(),xPe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new QPe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new bPe(s,r))}),s},"minSatisfying");Hj.exports=xPe});var Yj=g((cut,$j)=>{"use strict";var kk=$t(),NPe=Gs(),Vj=Im(),SPe=o((t,e)=>{t=new NPe(t,e);let r=new kk("0.0.0");if(t.test(r)||(r=new kk("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new kk(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Vj(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Vj(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");$j.exports=SPe});var Wj=g((uut,Jj)=>{"use strict";var RPe=Gs(),TPe=o((t,e)=>{try{return new RPe(t,e).range||"*"}catch{return null}},"validRange");Jj.exports=TPe});var AI=g((dut,Zj)=>{"use strict";var PPe=$t(),Xj=Bm(),{ANY:vPe}=Xj,kPe=Gs(),DPe=bm(),jj=Im(),Kj=oI(),_Pe=cI(),LPe=aI(),MPe=o((t,e,r,s)=>{t=new PPe(t,s),e=new kPe(e,s);let n,i,a,c,l;switch(r){case">":n=jj,i=_Pe,a=Kj,c=">",l=">=";break;case"<":n=Kj,i=LPe,a=jj,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(DPe(t,e,s))return!1;for(let u=0;u{m.semver===vPe&&(m=new Xj(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");Zj.exports=MPe});var t9=g((mut,e9)=>{"use strict";var OPe=AI(),FPe=o((t,e,r)=>OPe(t,e,">",r),"gtr");e9.exports=FPe});var s9=g((fut,r9)=>{"use strict";var UPe=AI(),qPe=o((t,e,r)=>UPe(t,e,"<",r),"ltr");r9.exports=qPe});var o9=g((Eut,i9)=>{"use strict";var n9=Gs(),GPe=o((t,e,r)=>(t=new n9(t,r),e=new n9(e,r),t.intersects(e,r)),"intersects");i9.exports=GPe});var c9=g((Cut,a9)=>{"use strict";var HPe=bm(),zPe=qs();a9.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>zPe(A,d,r));for(let A of a)HPe(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var l9=Gs(),Lk=Bm(),{ANY:Dk}=Lk,_k=bm(),Mk=qs(),VPe=o((t,e,r={})=>{if(t===e)return!0;t=new l9(t,r),e=new l9(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=YPe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),$Pe=[new Lk(">=0.0.0-0")],u9=[new Lk(">=0.0.0")],YPe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Dk){if(e.length===1&&e[0].semver===Dk)return!0;r.includePrerelease?t=$Pe:t=u9}if(e.length===1&&e[0].semver===Dk){if(r.includePrerelease)return!0;e=u9}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=A9(n,m,r):m.operator==="<"||m.operator==="<="?i=d9(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=Mk(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!_k(m,String(n),r)||i&&!_k(m,String(i),r))return null;for(let h of e)if(!_k(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=A9(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!m.test(n.semver))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=d9(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!m.test(i.semver))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),A9=o((t,e,r)=>{if(!t)return e;let s=Mk(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),d9=o((t,e,r)=>{if(!t)return e;let s=Mk(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");p9.exports=VPe});var E9=g((wut,g9)=>{"use strict";var Ok=Zu(),h9=Xu(),JPe=$t(),f9=Ik(),WPe=oa(),jPe=U5(),KPe=G5(),XPe=V5(),ZPe=J5(),eve=j5(),tve=X5(),rve=ej(),sve=rj(),nve=qs(),ive=oj(),ove=cj(),ave=iI(),cve=dj(),lve=mj(),uve=Im(),Ave=oI(),dve=bk(),pve=Qk(),mve=aI(),hve=cI(),fve=xk(),gve=wj(),Eve=Qj(),yve=Bm(),Cve=Gs(),Ive=bm(),Bve=Uj(),wve=Gj(),bve=zj(),Qve=Yj(),xve=Wj(),Nve=AI(),Sve=t9(),Rve=s9(),Tve=o9(),Pve=c9(),vve=m9();g9.exports={parse:WPe,valid:jPe,clean:KPe,inc:XPe,diff:ZPe,major:eve,minor:tve,patch:rve,prerelease:sve,compare:nve,rcompare:ive,compareLoose:ove,compareBuild:ave,sort:cve,rsort:lve,gt:uve,lt:Ave,eq:dve,neq:pve,gte:mve,lte:hve,cmp:fve,coerce:gve,truncate:Eve,Comparator:yve,Range:Cve,satisfies:Ive,toComparators:Bve,maxSatisfying:wve,minSatisfying:bve,minVersion:Qve,validRange:xve,outside:Nve,gtr:Sve,ltr:Rve,intersects:Tve,simplifyRange:Pve,subset:vve,SemVer:JPe,re:Ok.re,src:Ok.src,tokens:Ok.t,SEMVER_SPEC_VERSION:h9.SEMVER_SPEC_VERSION,RELEASE_TYPES:h9.RELEASE_TYPES,compareIdentifiers:f9.compareIdentifiers,rcompareIdentifiers:f9.rcompareIdentifiers}});var C9=g((xut,y9)=>{function Hs(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}o(Hs,"RetryOperation");y9.exports=Hs;Hs.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Hs.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Hs.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var s=this;return this._timer=setTimeout(function(){s._attempts++,s._operationTimeoutCb&&(s._timeout=setTimeout(function(){s._operationTimeoutCb(s._attempts)},s._operationTimeout),s._options.unref&&s._timeout.unref()),s._fn(s._attempts)},r),this._options.unref&&this._timer.unref(),!0};Hs.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Hs.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Hs.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Hs.prototype.start=Hs.prototype.try;Hs.prototype.errors=function(){return this._errors};Hs.prototype.attempts=function(){return this._attempts};Hs.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,s=0;s=r&&(e=n,r=a)}return e}});var I9=g(Pc=>{var kve=C9();Pc.operation=function(t){var e=Pc.timeouts(t);return new kve(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Pc.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var s=[],n=0;n{B9.exports=I9()});var Q9=g((Put,b9)=>{var Dve=w9();function _ve(t,e){function r(s,n){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=Dve.operation(i);function c(A){n(A||new Error("Aborted"))}o(c,"bail");function l(A,d){if(A.bail){c(A);return}a.retry(A)?i.onRetry&&i.onRetry(A,d):n(a.mainError())}o(l,"onError");function u(A){var d;try{d=t(c,A)}catch(p){l(p,A);return}Promise.resolve(d).then(s).catch(o(function(m){l(m,A)},"catchIt"))}o(u,"runAttempt"),a.attempt(u)}return o(r,"run"),new Promise(r)}o(_ve,"retry");b9.exports=_ve});var H9=g((kut,so)=>{var Te=require("fs"),mI=require("os"),kt=require("path"),x9=require("crypto"),yi={fs:Te.constants,os:mI.constants},N9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",P9=/XXXXXX/,Lve=3,v9=(yi.O_CREAT||yi.fs.O_CREAT)|(yi.O_EXCL||yi.fs.O_EXCL)|(yi.O_RDWR||yi.fs.O_RDWR),Mve=mI.platform()==="win32",Ove=yi.EBADF||yi.os.errno.EBADF,Fve=yi.ENOENT||yi.os.errno.ENOENT,k9=448,D9=384,Uve="exit",eA=[],_9=Te.rmdirSync.bind(Te),L9=!1;function qve(t,e){return Te.rm(t,{recursive:!0},e)}o(qve,"rimraf");function M9(t){return Te.rmSync(t,{recursive:!0})}o(M9,"FN_RIMRAF_SYNC");function Gk(t,e){let r=tA(t,e),s=r[0],n=r[1];Kve(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=F9(a);Te.stat(u,function(A){if(!A)return c-- >0?l():n(new Error("Could not get a unique tmp filename, max tries reached "+u));n(null,u)})}catch(u){n(u)}}),"_getUniqueName")()})}o(Gk,"tmpName");function Hk(t){let e=tA(t),r=e[0],s=Xve(r),n=s.tries;do{let i=F9(s);try{Te.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(Hk,"tmpNameSync");function Gve(t,e){let r=tA(t,e),s=r[0],n=r[1];Gk(s,o(function(a,c){if(a)return n(a);Te.open(c,v9,s.mode||D9,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return Te.close(A,o(function(p){return n(p,c,void 0,Uk(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,Uk(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Gve,"file");function Hve(t){let e=tA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=Hk(r),i=Te.openSync(n,v9,r.mode||D9);return r.discardDescriptor&&(Te.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:Uk(n,s?-1:i,r,!0)}}o(Hve,"fileSync");function zve(t,e){let r=tA(t,e),s=r[0],n=r[1];Gk(s,o(function(a,c){if(a)return n(a);Te.mkdir(c,s.mode||k9,o(function(u){if(u)return n(u);n(null,c,O9(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(zve,"dir");function Vve(t){let e=tA(t),r=e[0],s=Hk(r);return Te.mkdirSync(s,r.mode||k9),{name:s,removeCallback:O9(s,r,!0)}}o(Vve,"dirSync");function $ve(t,e){let r=o(function(s){if(s&&!qk(s))return e(s);e()},"_handler");0<=t[0]?Te.close(t[0],function(){Te.unlink(t[1],r)}):Te.unlink(t[1],r)}o($ve,"_removeFileAsync");function Yve(t){let e=null;try{0<=t[0]&&Te.closeSync(t[0])}catch(r){if(!Zve(r)&&!qk(r))throw r}finally{try{Te.unlinkSync(t[1])}catch(r){qk(r)||(e=r)}}if(e!==null)throw e}o(Yve,"_removeFileSync");function Uk(t,e,r,s){let n=pI(Yve,[e,t],s),i=pI($ve,[e,t],s,n);return r.keep||eA.unshift(n),s?n:i}o(Uk,"_prepareTmpFileRemoveCallback");function O9(t,e,r){let s=e.unsafeCleanup?qve:Te.rmdir.bind(Te),n=e.unsafeCleanup?M9:_9,i=pI(n,t,r),a=pI(s,t,r,i);return e.keep||eA.unshift(i),r?i:a}o(O9,"_prepareTmpDirRemoveCallback");function pI(t,e,r,s){let n=!1;return o(function i(a){if(!n){let c=s||i,l=eA.indexOf(c);return l>=0&&eA.splice(l,1),n=!0,r||t===_9||t===M9?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(pI,"_prepareRemoveCallback");function Jve(){if(L9)for(;eA.length;)try{eA[0]()}catch{}}o(Jve,"_garbageCollector");function S9(t){let e=[],r=null;try{r=x9.randomBytes(t)}catch{r=x9.pseudoRandomBytes(t)}for(let s=0;s"u"}o(Gr,"_isUndefined");function tA(t,e){if(typeof t=="function")return[{},t];if(Gr(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}o(tA,"_parseArguments");function Wve(t,e,r){let s=kt.isAbsolute(t)?t:kt.join(e,t);Te.stat(s,function(n){n?Te.realpath(kt.dirname(s),function(i,a){if(i)return r(i);r(null,kt.join(a,kt.basename(s)))}):Te.realpath(s,r)})}o(Wve,"_resolvePath");function jve(t,e){let r=kt.isAbsolute(t)?t:kt.join(e,t);try{return Te.statSync(r),Te.realpathSync(r)}catch{let n=Te.realpathSync(kt.dirname(r));return kt.join(n,kt.basename(r))}}o(jve,"_resolvePathSync");function F9(t){let e=t.tmpdir;if(!Gr(t.name))return kt.join(e,t.dir,t.name);if(!Gr(t.template))return kt.join(e,t.dir,t.template).replace(P9,S9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",S9(12),t.postfix?"-"+t.postfix:""].join("");return kt.join(e,t.dir,r)}o(F9,"_generateTmpName");function Fk(t,e){if(typeof e!="string")throw new Error(`${t} option must be a string, got "${typeof e}".`);if(e.includes(".."))throw new Error("Relative value not allowed");return e}o(Fk,"_assertPath");function U9(t){if(!Gr(t.name)){let e=t.name;if(kt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=kt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Gr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(P9))throw new Error(`Invalid template, found "${t.template}".`)}if(!Gr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Gr(t.name)?t.tries||Lve:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Gr(t.prefix)?"":Fk("prefix",t.prefix),t.postfix=Gr(t.postfix)?"":Fk("postfix",t.postfix),t.template=Gr(t.template)?void 0:Fk("template",t.template)}o(U9,"_assertOptionsBase");function R9(t,e,r,s){if(Gr(e))return s(null);Wve(e,r,function(n,i){if(n)return s(n);let a=kt.relative(r,i);if(a.startsWith("..")||kt.isAbsolute(a))return s(new Error(`${t} option must be relative to "${r}", found "${a}".`));s(null,a)})}o(R9,"_getRelativePath");function T9(t,e,r){if(Gr(e))return;let s=jve(e,r),n=kt.relative(r,s);if(n.startsWith("..")||kt.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}o(T9,"_getRelativePathSync");function Kve(t,e){tke(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{U9(t,s)}catch(n){return e(n)}R9("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Gr(i)?"":i,R9("template",t.template,s,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Kve,"_assertAndSanitizeOptions");function Xve(t){let e=t.tmpdir=G9(t);U9(t,e);let r=T9("dir",t.dir,e);return t.dir=Gr(r)?"":r,t.template=T9("template",t.template,e),t}o(Xve,"_assertAndSanitizeOptionsSync");function Zve(t){return q9(t,-Ove,"EBADF")}o(Zve,"_isEBADF");function qk(t){return q9(t,-Fve,"ENOENT")}o(qk,"_isENOENT");function q9(t,e,r){return Mve?t.code===r:t.code===r&&t.errno===e}o(q9,"_isExpectedError");function eke(){L9=!0}o(eke,"setGracefulCleanup");function tke(t,e){return Te.realpath(t&&t.tmpdir||mI.tmpdir(),e)}o(tke,"_getTmpDir");function G9(t){return Te.realpathSync(t&&t.tmpdir||mI.tmpdir())}o(G9,"_getTmpDirSync");process.addListener(Uve,Jve);Object.defineProperty(so.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return G9()},"get")});so.exports.dir=zve;so.exports.dirSync=Vve;so.exports.file=Gve;so.exports.fileSync=Hve;so.exports.tmpName=Gk;so.exports.tmpNameSync=Hk;so.exports.setGracefulCleanup=eke});var rr=g(ps=>{"use strict";ps.__esModule=!0;ps.extend=Y9;ps.indexOf=oke;ps.escapeExpression=ake;ps.isEmpty=cke;ps.createFrame=lke;ps.blockParams=uke;ps.appendContextPath=Ake;var rke={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},ske=/[&<>"'`=]/g,nke=/[&<>"'`=]/;function ike(t){return rke[t]}o(ike,"escapeChar");function Y9(t){for(var e=1;e{"use strict";fI.__esModule=!0;var Yk=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Jk(t,e){var r=e&&e.loc,s=void 0,n=void 0,i=void 0,a=void 0;r&&r.start&&(s=r.start.line,i=r.start.column,r.end&&(n=r.end.line,a=r.end.column),t+=" - "+s+":"+i);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";gI.__esModule=!0;var Wk=rr();gI.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var s=r.inverse,n=r.fn;if(e===!0)return n(this);if(e===!1||e==null)return s(this);if(Wk.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):s(this);if(r.data&&r.ids){var i=Wk.createFrame(r.data);i.contextPath=Wk.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};j9.exports=gI.default});var Z9=g((EI,X9)=>{"use strict";EI.__esModule=!0;function dke(t){return t&&t.__esModule?t:{default:t}}o(dke,"_interopRequireDefault");var rA=rr(),pke=zs(),mke=dke(pke);function hke(t){try{var e=t.return;rA.isFunction(e)&&e.call(t)}catch{}}o(hke,"closeIterator");EI.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new mke.default("Must pass iterator to #each");var s=r.fn,n=r.inverse,i=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=rA.appendContextPath(r.data.contextPath,r.ids[0])+"."),rA.isFunction(e)&&(e=e.call(this)),r.data&&(c=rA.createFrame(r.data));function u(h,f,C,E){c&&(c.key=h,c.index=f,c.first=f===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+s(E,{data:c,blockParams:rA.blockParams([E,h],[l+h,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(rA.isArray(e))for(var A=e.length;i{"use strict";yI.__esModule=!0;function fke(t){return t&&t.__esModule?t:{default:t}}o(fke,"_interopRequireDefault");var gke=zs(),Eke=fke(gke);yI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Eke.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};e6.exports=yI.default});var i6=g((CI,n6)=>{"use strict";CI.__esModule=!0;function yke(t){return t&&t.__esModule?t:{default:t}}o(yke,"_interopRequireDefault");var r6=rr(),Cke=zs(),s6=yke(Cke);CI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new s6.default("#if requires exactly one argument");return r6.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||r6.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new s6.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};n6.exports=CI.default});var a6=g((II,o6)=>{"use strict";II.__esModule=!0;II.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";BI.__esModule=!0;BI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};c6.exports=BI.default});var A6=g((wI,u6)=>{"use strict";wI.__esModule=!0;function Ike(t){return t&&t.__esModule?t:{default:t}}o(Ike,"_interopRequireDefault");var Qm=rr(),Bke=zs(),wke=Ike(Bke);wI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new wke.default("#with requires exactly one argument");Qm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(Qm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=Qm.createFrame(r.data),n.contextPath=Qm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:Qm.blockParams([e],[n&&n.contextPath])})})};u6.exports=wI.default});var jk=g(bI=>{"use strict";bI.__esModule=!0;bI.registerDefaultHelpers=Oke;bI.moveHelperToHooks=Fke;function vc(t){return t&&t.__esModule?t:{default:t}}o(vc,"_interopRequireDefault");var bke=K9(),Qke=vc(bke),xke=Z9(),Nke=vc(xke),Ske=t6(),Rke=vc(Ske),Tke=i6(),Pke=vc(Tke),vke=a6(),kke=vc(vke),Dke=l6(),_ke=vc(Dke),Lke=A6(),Mke=vc(Lke);function Oke(t){Qke.default(t),Nke.default(t),Rke.default(t),Pke.default(t),kke.default(t),_ke.default(t),Mke.default(t)}o(Oke,"registerDefaultHelpers");function Fke(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Fke,"moveHelperToHooks")});var p6=g((QI,d6)=>{"use strict";QI.__esModule=!0;var Uke=rr();QI.default=function(t){t.registerDecorator("inline",function(e,r,s,n){var i=e;return r.partials||(r.partials={},i=o(function(a,c){var l=s.partials;s.partials=Uke.extend({},l,r.partials);var u=e(a,c);return s.partials=l,u},"ret")),r.partials[n.args[0]]=n.fn,i})};d6.exports=QI.default});var m6=g(Kk=>{"use strict";Kk.__esModule=!0;Kk.registerDefaultDecorators=zke;function qke(t){return t&&t.__esModule?t:{default:t}}o(qke,"_interopRequireDefault");var Gke=p6(),Hke=qke(Gke);function zke(t){Hke.default(t)}o(zke,"registerDefaultDecorators")});var Xk=g((xI,h6)=>{"use strict";xI.__esModule=!0;var Vke=rr(),sA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=Vke.indexOf(sA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=sA.lookupLevel(e),typeof console<"u"&&sA.lookupLevel(sA.level)<=e){var r=sA.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i{"use strict";nA.__esModule=!0;nA.createProtoAccessControl=Wke;nA.resultIsAllowed=jke;nA.isPrototypeConstructor=Kke;nA.resetLoggedProperties=Zke;function $ke(t){return t&&t.__esModule?t:{default:t}}o($ke,"_interopRequireDefault");var f6=rr(),Yke=Xk(),Jke=$ke(Yke),NI=Object.create(null);function Wke(t){var e=Object.create(null);e.__proto__=!1,f6.extend(e,t.allowedProtoProperties);var r=Object.create(null);return r.constructor=!1,r.__defineGetter__=!1,r.__defineSetter__=!1,r.__lookupGetter__=!1,r.__lookupSetter__=!1,f6.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(Wke,"createProtoAccessControl");function jke(t,e,r){return g6(typeof t=="function"?e.methods:e.properties,r)}o(jke,"resultIsAllowed");function Kke(t,e,r){return e==="constructor"&&typeof r=="function"&&t===r.prototype}o(Kke,"isPrototypeConstructor");function g6(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Xke(e),!1)}o(g6,"checkWhiteList");function Xke(t){NI[t]!==!0&&(NI[t]=!0,Jke.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent. You can add a runtime option to disable the check or this warning: -See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(jke,"logUnexpecedPropertyAccessOnce");function Kke(){Object.keys(xI).forEach(function(t){delete xI[t]})}o(Kke,"resetLoggedProperties")});var SI=g(Ci=>{"use strict";Ci.__esModule=!0;Ci.HandlebarsEnvironment=eD;function g6(t){return t&&t.__esModule?t:{default:t}}o(g6,"_interopRequireDefault");var kc=rr(),Xke=zs(),Xk=g6(Xke),Zke=Jk(),eDe=p6(),tDe=jk(),NI=g6(tDe),rDe=Kk(),sDe="4.7.10";Ci.VERSION=sDe;var nDe=8;Ci.COMPILER_REVISION=nDe;var iDe=7;Ci.LAST_COMPATIBLE_COMPILER_REVISION=iDe;var oDe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Ci.REVISION_CHANGES=oDe;var Zk="[object Object]";function eD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Zke.registerDefaultHelpers(this),eDe.registerDefaultDecorators(this)}o(eD,"HandlebarsEnvironment");eD.prototype={constructor:eD,logger:NI.default,log:NI.default.log,registerHelper:o(function(e,r){if(kc.toString.call(e)===Zk){if(r)throw new Xk.default("Arg not supported with multiple helpers");kc.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(kc.toString.call(e)===Zk)kc.extend(this.partials,e);else{if(typeof r>"u")throw new Xk.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(kc.toString.call(e)===Zk){if(r)throw new Xk.default("Arg not supported with multiple decorators");kc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){rDe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var aDe=NI.default.log;Ci.log=aDe;Ci.createFrame=kc.createFrame;Ci.logger=NI.default});var y6=g((RI,E6)=>{"use strict";RI.__esModule=!0;function tD(t){this.string=t}o(tD,"SafeString");tD.prototype.toString=tD.prototype.toHTML=function(){return""+this.string};RI.default=tD;E6.exports=RI.default});var C6=g(rD=>{"use strict";rD.__esModule=!0;rD.wrapHelper=cDe;function cDe(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(cDe,"wrapHelper")});var Q6=g(aa=>{"use strict";aa.__esModule=!0;aa.checkRevision=mDe;aa.template=hDe;aa.wrapProgram=TI;aa.resolvePartial=fDe;aa.invokePartial=gDe;aa.noop=w6;function lDe(t){return t&&t.__esModule?t:{default:t}}o(lDe,"_interopRequireDefault");function uDe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(uDe,"_interopRequireWildcard");var ADe=rr(),Dc=uDe(ADe),dDe=zs(),Cn=lDe(dDe),io=SI(),I6=Jk(),pDe=C6(),sD=Kk();function mDe(t){var e=t&&t[0]||1,r=io.COMPILER_REVISION;if(!(e>=io.LAST_COMPATIBLE_COMPILER_REVISION&&e<=io.COMPILER_REVISION))if(e{"use strict";Ci.__esModule=!0;Ci.HandlebarsEnvironment=rD;function E6(t){return t&&t.__esModule?t:{default:t}}o(E6,"_interopRequireDefault");var kc=rr(),eDe=zs(),eD=E6(eDe),tDe=jk(),rDe=m6(),sDe=Xk(),SI=E6(sDe),nDe=Zk(),iDe="4.7.10";Ci.VERSION=iDe;var oDe=8;Ci.COMPILER_REVISION=oDe;var aDe=7;Ci.LAST_COMPATIBLE_COMPILER_REVISION=aDe;var cDe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Ci.REVISION_CHANGES=cDe;var tD="[object Object]";function rD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},tDe.registerDefaultHelpers(this),rDe.registerDefaultDecorators(this)}o(rD,"HandlebarsEnvironment");rD.prototype={constructor:rD,logger:SI.default,log:SI.default.log,registerHelper:o(function(e,r){if(kc.toString.call(e)===tD){if(r)throw new eD.default("Arg not supported with multiple helpers");kc.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(kc.toString.call(e)===tD)kc.extend(this.partials,e);else{if(typeof r>"u")throw new eD.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(kc.toString.call(e)===tD){if(r)throw new eD.default("Arg not supported with multiple decorators");kc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){nDe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var lDe=SI.default.log;Ci.log=lDe;Ci.createFrame=kc.createFrame;Ci.logger=SI.default});var C6=g((TI,y6)=>{"use strict";TI.__esModule=!0;function sD(t){this.string=t}o(sD,"SafeString");sD.prototype.toString=sD.prototype.toHTML=function(){return""+this.string};TI.default=sD;y6.exports=TI.default});var I6=g(nD=>{"use strict";nD.__esModule=!0;nD.wrapHelper=uDe;function uDe(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(uDe,"wrapHelper")});var x6=g(aa=>{"use strict";aa.__esModule=!0;aa.checkRevision=fDe;aa.template=gDe;aa.wrapProgram=PI;aa.resolvePartial=EDe;aa.invokePartial=yDe;aa.noop=b6;function ADe(t){return t&&t.__esModule?t:{default:t}}o(ADe,"_interopRequireDefault");function dDe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(dDe,"_interopRequireWildcard");var pDe=rr(),Dc=dDe(pDe),mDe=zs(),Cn=ADe(mDe),io=RI(),B6=jk(),hDe=I6(),iD=Zk();function fDe(t){var e=t&&t[0]||1,r=io.COMPILER_REVISION;if(!(e>=io.LAST_COMPATIBLE_COMPILER_REVISION&&e<=io.COMPILER_REVISION))if(e{"use strict";vI.__esModule=!0;vI.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};x6.exports=vI.default});var P6=g((kI,T6)=>{"use strict";kI.__esModule=!0;function oD(t){return t&&t.__esModule?t:{default:t}}o(oD,"_interopRequireDefault");function aD(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(aD,"_interopRequireWildcard");var CDe=SI(),N6=aD(CDe),IDe=y6(),BDe=oD(IDe),wDe=zs(),bDe=oD(wDe),QDe=rr(),iD=aD(QDe),xDe=Q6(),S6=aD(xDe),NDe=nD(),SDe=oD(NDe);function R6(){var t=new N6.HandlebarsEnvironment;return iD.extend(t,N6),t.SafeString=BDe.default,t.Exception=bDe.default,t.Utils=iD,t.escapeExpression=iD.escapeExpression,t.VM=S6,t.template=function(e){return S6.template(e,t)},t}o(R6,"create");var Qm=R6();Qm.create=R6;SDe.default(Qm);Qm.default=Qm;kI.default=Qm;T6.exports=kI.default});var cD=g((DI,k6)=>{"use strict";DI.__esModule=!0;var v6={helpers:{helperExpression:o(function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},"helperExpression"),scopedId:o(function(e){return/^\.|this\b/.test(e.original)},"scopedId"),simpleId:o(function(e){return e.parts.length===1&&!v6.helpers.scopedId(e)&&!e.depth},"simpleId")}};DI.default=v6;k6.exports=DI.default});var _6=g((_I,D6)=>{"use strict";_I.__esModule=!0;var RDe=(function(){var t={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:o(function(n,i,a,c,l,u,A){var d=u.length-1;switch(l){case 1:return u[d-1];case 2:this.$=c.prepareProgram(u[d]);break;case 3:this.$=u[d];break;case 4:this.$=u[d];break;case 5:this.$=u[d];break;case 6:this.$=u[d];break;case 7:this.$=u[d];break;case 8:this.$=u[d];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(u[d]),strip:c.stripFlags(u[d],u[d]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:u[d],value:u[d],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(u[d-2],u[d-1],u[d],this._$);break;case 12:this.$={path:u[d-3],params:u[d-2],hash:u[d-1]};break;case 13:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!1,this._$);break;case 14:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!0,this._$);break;case 15:this.$={open:u[d-5],path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 16:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 17:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 18:this.$={strip:c.stripFlags(u[d-1],u[d-1]),program:u[d]};break;case 19:var p=c.prepareBlock(u[d-2],u[d-1],u[d],u[d],!1,this._$),m=c.prepareProgram([p],u[d-1].loc);m.chained=!0,this.$={strip:u[d-2].strip,program:m,chain:!0};break;case 20:this.$=u[d];break;case 21:this.$={path:u[d-1],strip:c.stripFlags(u[d-2],u[d])};break;case 22:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 23:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:u[d-3],params:u[d-2],hash:u[d-1],indent:"",strip:c.stripFlags(u[d-4],u[d]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(u[d-2],u[d-1],u[d],this._$);break;case 26:this.$={path:u[d-3],params:u[d-2],hash:u[d-1],strip:c.stripFlags(u[d-4],u[d])};break;case 27:this.$=u[d];break;case 28:this.$=u[d];break;case 29:this.$={type:"SubExpression",path:u[d-3],params:u[d-2],hash:u[d-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:u[d],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(u[d-2]),value:u[d],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(u[d-1]);break;case 33:this.$=u[d];break;case 34:this.$=u[d];break;case 35:this.$={type:"StringLiteral",value:u[d],original:u[d],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(u[d]),original:Number(u[d]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:u[d]==="true",original:u[d]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=u[d];break;case 41:this.$=u[d];break;case 42:this.$=c.preparePath(!0,u[d],this._$);break;case 43:this.$=c.preparePath(!1,u[d],this._$);break;case 44:u[d-2].push({part:c.id(u[d]),original:u[d],separator:u[d-1]}),this.$=u[d-2];break;case 45:this.$=[{part:c.id(u[d]),original:u[d]}];break;case 46:this.$=[];break;case 47:u[d-1].push(u[d]);break;case 48:this.$=[];break;case 49:u[d-1].push(u[d]);break;case 50:this.$=[];break;case 51:u[d-1].push(u[d]);break;case 58:this.$=[];break;case 59:u[d-1].push(u[d]);break;case 64:this.$=[];break;case 65:u[d-1].push(u[d]);break;case 70:this.$=[];break;case 71:u[d-1].push(u[d]);break;case 78:this.$=[];break;case 79:u[d-1].push(u[d]);break;case 82:this.$=[];break;case 83:u[d-1].push(u[d]);break;case 86:this.$=[];break;case 87:u[d-1].push(u[d]);break;case 90:this.$=[];break;case 91:u[d-1].push(u[d]);break;case 94:this.$=[];break;case 95:u[d-1].push(u[d]);break;case 98:this.$=[u[d]];break;case 99:u[d-1].push(u[d]);break;case 100:this.$=[u[d]];break;case 101:u[d-1].push(u[d]);break}},"anonymous"),table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:o(function(n,i){throw new Error(n)},"parseError"),parse:o(function(n){var i=this,a=[0],c=[null],l=[],u=this.table,A="",d=0,p=0,m=0,h=2,f=1;this.lexer.setInput(n),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var C=this.lexer.yylloc;l.push(C);var E=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function y(z){a.length=a.length-2*z,c.length=c.length-z,l.length=l.length-z}o(y,"popStack");function I(){var z;return z=i.lexer.lex()||1,typeof z!="number"&&(z=i.symbols_[z]||z),z}o(I,"lex");for(var B,N,S,U,Ie,je,Pe={},ke,de,gt,ce;;){if(S=a[a.length-1],this.defaultActions[S]?U=this.defaultActions[S]:((B===null||typeof B>"u")&&(B=I()),U=u[S]&&u[S][B]),typeof U>"u"||!U.length||!U[0]){var js="";if(!m){ce=[];for(ke in u[S])this.terminals_[ke]&&ke>2&&ce.push("'"+this.terminals_[ke]+"'");this.lexer.showPosition?js="Parse error on line "+(d+1)+`: +`)}return u}else throw new Cn.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(s,"invokePartialWrapper");var n={strict:o(function(c,l,u){if(!c||!(l in c))throw new Cn.default('"'+l+'" not defined in '+c,{loc:u});return n.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var u=c[l];if(u==null||Object.prototype.hasOwnProperty.call(c,l)&&!iD.isPrototypeConstructor(c,l,u)||iD.resultIsAllowed(u,n.protoAccessControl,l))return u},"lookupProperty"),lookup:o(function(c,l){for(var u=c.length,A=0;A{"use strict";kI.__esModule=!0;kI.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};N6.exports=kI.default});var v6=g((DI,P6)=>{"use strict";DI.__esModule=!0;function cD(t){return t&&t.__esModule?t:{default:t}}o(cD,"_interopRequireDefault");function lD(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(lD,"_interopRequireWildcard");var BDe=RI(),S6=lD(BDe),wDe=C6(),bDe=cD(wDe),QDe=zs(),xDe=cD(QDe),NDe=rr(),aD=lD(NDe),SDe=x6(),R6=lD(SDe),RDe=oD(),TDe=cD(RDe);function T6(){var t=new S6.HandlebarsEnvironment;return aD.extend(t,S6),t.SafeString=bDe.default,t.Exception=xDe.default,t.Utils=aD,t.escapeExpression=aD.escapeExpression,t.VM=R6,t.template=function(e){return R6.template(e,t)},t}o(T6,"create");var xm=T6();xm.create=T6;TDe.default(xm);xm.default=xm;DI.default=xm;P6.exports=DI.default});var uD=g((_I,D6)=>{"use strict";_I.__esModule=!0;var k6={helpers:{helperExpression:o(function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},"helperExpression"),scopedId:o(function(e){return/^\.|this\b/.test(e.original)},"scopedId"),simpleId:o(function(e){return e.parts.length===1&&!k6.helpers.scopedId(e)&&!e.depth},"simpleId")}};_I.default=k6;D6.exports=_I.default});var L6=g((LI,_6)=>{"use strict";LI.__esModule=!0;var PDe=(function(){var t={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:o(function(n,i,a,c,l,u,A){var d=u.length-1;switch(l){case 1:return u[d-1];case 2:this.$=c.prepareProgram(u[d]);break;case 3:this.$=u[d];break;case 4:this.$=u[d];break;case 5:this.$=u[d];break;case 6:this.$=u[d];break;case 7:this.$=u[d];break;case 8:this.$=u[d];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(u[d]),strip:c.stripFlags(u[d],u[d]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:u[d],value:u[d],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(u[d-2],u[d-1],u[d],this._$);break;case 12:this.$={path:u[d-3],params:u[d-2],hash:u[d-1]};break;case 13:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!1,this._$);break;case 14:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!0,this._$);break;case 15:this.$={open:u[d-5],path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 16:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 17:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 18:this.$={strip:c.stripFlags(u[d-1],u[d-1]),program:u[d]};break;case 19:var p=c.prepareBlock(u[d-2],u[d-1],u[d],u[d],!1,this._$),m=c.prepareProgram([p],u[d-1].loc);m.chained=!0,this.$={strip:u[d-2].strip,program:m,chain:!0};break;case 20:this.$=u[d];break;case 21:this.$={path:u[d-1],strip:c.stripFlags(u[d-2],u[d])};break;case 22:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 23:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:u[d-3],params:u[d-2],hash:u[d-1],indent:"",strip:c.stripFlags(u[d-4],u[d]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(u[d-2],u[d-1],u[d],this._$);break;case 26:this.$={path:u[d-3],params:u[d-2],hash:u[d-1],strip:c.stripFlags(u[d-4],u[d])};break;case 27:this.$=u[d];break;case 28:this.$=u[d];break;case 29:this.$={type:"SubExpression",path:u[d-3],params:u[d-2],hash:u[d-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:u[d],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(u[d-2]),value:u[d],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(u[d-1]);break;case 33:this.$=u[d];break;case 34:this.$=u[d];break;case 35:this.$={type:"StringLiteral",value:u[d],original:u[d],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(u[d]),original:Number(u[d]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:u[d]==="true",original:u[d]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=u[d];break;case 41:this.$=u[d];break;case 42:this.$=c.preparePath(!0,u[d],this._$);break;case 43:this.$=c.preparePath(!1,u[d],this._$);break;case 44:u[d-2].push({part:c.id(u[d]),original:u[d],separator:u[d-1]}),this.$=u[d-2];break;case 45:this.$=[{part:c.id(u[d]),original:u[d]}];break;case 46:this.$=[];break;case 47:u[d-1].push(u[d]);break;case 48:this.$=[];break;case 49:u[d-1].push(u[d]);break;case 50:this.$=[];break;case 51:u[d-1].push(u[d]);break;case 58:this.$=[];break;case 59:u[d-1].push(u[d]);break;case 64:this.$=[];break;case 65:u[d-1].push(u[d]);break;case 70:this.$=[];break;case 71:u[d-1].push(u[d]);break;case 78:this.$=[];break;case 79:u[d-1].push(u[d]);break;case 82:this.$=[];break;case 83:u[d-1].push(u[d]);break;case 86:this.$=[];break;case 87:u[d-1].push(u[d]);break;case 90:this.$=[];break;case 91:u[d-1].push(u[d]);break;case 94:this.$=[];break;case 95:u[d-1].push(u[d]);break;case 98:this.$=[u[d]];break;case 99:u[d-1].push(u[d]);break;case 100:this.$=[u[d]];break;case 101:u[d-1].push(u[d]);break}},"anonymous"),table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:o(function(n,i){throw new Error(n)},"parseError"),parse:o(function(n){var i=this,a=[0],c=[null],l=[],u=this.table,A="",d=0,p=0,m=0,h=2,f=1;this.lexer.setInput(n),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var C=this.lexer.yylloc;l.push(C);var E=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function y(z){a.length=a.length-2*z,c.length=c.length-z,l.length=l.length-z}o(y,"popStack");function I(){var z;return z=i.lexer.lex()||1,typeof z!="number"&&(z=i.symbols_[z]||z),z}o(I,"lex");for(var B,N,S,U,Ie,je,Pe={},ke,de,gt,ce;;){if(S=a[a.length-1],this.defaultActions[S]?U=this.defaultActions[S]:((B===null||typeof B>"u")&&(B=I()),U=u[S]&&u[S][B]),typeof U>"u"||!U.length||!U[0]){var js="";if(!m){ce=[];for(ke in u[S])this.terminals_[ke]&&ke>2&&ce.push("'"+this.terminals_[ke]+"'");this.lexer.showPosition?js="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` Expecting `+ce.join(", ")+", got '"+(this.terminals_[B]||B)+"'":js="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(js,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ce})}}if(U[0]instanceof Array&&U.length>1)throw new Error("Parse Error: multiple actions possible at state: "+S+", token: "+B);switch(U[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(U[1]),B=null,N?(B=N,N=null):(p=this.lexer.yyleng,A=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,m>0&&m--);break;case 2:if(de=this.productions_[U[1]][1],Pe.$=c[c.length-de],Pe._$={first_line:l[l.length-(de||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(de||1)].first_column,last_column:l[l.length-1].last_column},E&&(Pe._$.range=[l[l.length-(de||1)].range[0],l[l.length-1].range[1]]),je=this.performAction.call(Pe,A,p,d,this.yy,U[1],c,l),typeof je<"u")return je;de&&(a=a.slice(0,-1*de*2),c=c.slice(0,-1*de),l=l.slice(0,-1*de)),a.push(this.productions_[U[1]][0]),c.push(Pe.$),l.push(Pe._$),gt=u[a[a.length-2]][a[a.length-1]],a.push(gt);break;case 3:return!0}}return!0},"parse")},e=(function(){var s={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` `+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,l,u,A;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),p=0;pa[0].length)&&(a=c,l=p,!this.options.flex)));p++);return a?(A=a[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return s.options={},s.performAction=o(function(i,a,c,l){function u(d,p){return a.yytext=a.yytext.substring(d,a.yyleng-p+d)}o(u,"strip");var A=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();_I.default=RDe;D6.exports=_I.default});var uD=g(lD=>{"use strict";lD.__esModule=!0;var TDe=["Program","BlockStatement","DecoratorBlock","PartialStatement","PartialBlockStatement","Decorator","MustacheStatement","ContentStatement","CommentStatement","SubExpression","PathExpression","StringLiteral","NumberLiteral","BooleanLiteral","UndefinedLiteral","NullLiteral","Hash","HashPair"];lD.NODE_TYPES=TDe});var FI=g((OI,F6)=>{"use strict";OI.__esModule=!0;function PDe(t){return t&&t.__esModule?t:{default:t}}o(PDe,"_interopRequireDefault");var vDe=zs(),AD=PDe(vDe),kDe=rr(),DDe=uD();function MI(){this.parents=[]}o(MI,"Visitor");function L6(t,e){return kDe.indexOf(DDe.NODE_TYPES,e)!==-1||!(e in MI.prototype)&&typeof t[e]=="function"}o(L6,"isDispatchable");MI.prototype={constructor:MI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!L6(this,s.type))throw new AD.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new AD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r{"use strict";UI.__esModule=!0;function _De(t){return t&&t.__esModule?t:{default:t}}o(_De,"_interopRequireDefault");var LDe=FI(),MDe=_De(LDe);function Ii(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Ii,"WhitespaceControl");Ii.prototype=new MDe.default;Ii.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var s=t.body,n=0,i=s.length;n{"use strict";Vs.__esModule=!0;Vs.SourceLocation=UDe;Vs.id=qDe;Vs.stripFlags=GDe;Vs.stripComment=HDe;Vs.preparePath=zDe;Vs.prepareMustache=VDe;Vs.prepareRawBlock=$De;Vs.prepareBlock=YDe;Vs.prepareProgram=JDe;Vs.preparePartialBlock=WDe;function ODe(t){return t&&t.__esModule?t:{default:t}}o(ODe,"_interopRequireDefault");var FDe=zs(),mD=ODe(FDe);function hD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new mD.default(t.path.original+" doesn't match "+e,r)}}o(hD,"validateClose");function UDe(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}o(UDe,"SourceLocation");function qDe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(qDe,"id");function GDe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(GDe,"stripFlags");function HDe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(HDe,"stripComment");function zDe(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,a=0,c=e.length;a0)throw new mD.default("Invalid path: "+s,{loc:r});l===".."&&i++}else n.push(l)}return{type:"PathExpression",data:t,depth:i,parts:n,original:s,loc:r}}o(zDe,"preparePath");function VDe(t,e,r,s,n,i){var a=s.charAt(3)||s.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(s);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:n,loc:this.locInfo(i)}}o(VDe,"prepareMustache");function $De(t,e,r,s){hD(t,r),s=this.locInfo(s);var n={type:"Program",body:e,strip:{},loc:s};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}}o($De,"prepareRawBlock");function YDe(t,e,r,s,n,i){s&&s.path&&hD(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new mD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=s.strip),l=r.strip,c=r.program}return n&&(n=c,c=e,e=n),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:s&&s.strip,loc:this.locInfo(i)}}o(YDe,"prepareBlock");function JDe(t,e){if(!e&&t.length){var r=t[0].loc,s=t[t.length-1].loc;r&&s&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(JDe,"prepareProgram");function WDe(t,e,r,s){return hD(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(s)}}o(WDe,"preparePartialBlock")});var V6=g(xm=>{"use strict";xm.__esModule=!0;xm.parseWithoutProcessing=z6;xm.parse=s_e;function jDe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(jDe,"_interopRequireWildcard");function H6(t){return t&&t.__esModule?t:{default:t}}o(H6,"_interopRequireDefault");var KDe=_6(),fD=H6(KDe),XDe=q6(),ZDe=H6(XDe),e_e=G6(),t_e=jDe(e_e),r_e=rr();xm.parser=fD.default;var qI={};r_e.extend(qI,t_e);function z6(t,e){if(t.type==="Program")return t;fD.default.yy=qI,qI.locInfo=function(s){return new qI.SourceLocation(e&&e.srcName,s)};var r=fD.default.parse(t);return r}o(z6,"parseWithoutProcessing");function s_e(t,e){var r=z6(t,e),s=new ZDe.default(e);return s.accept(r)}o(s_e,"parse")});var j6=g(Sm=>{"use strict";Sm.__esModule=!0;Sm.Compiler=yD;Sm.precompile=c_e;Sm.compile=l_e;function Y6(t){return t&&t.__esModule?t:{default:t}}o(Y6,"_interopRequireDefault");var n_e=zs(),nA=Y6(n_e),la=rr(),i_e=cD(),Nm=Y6(i_e),o_e=uD(),a_e=[].slice;function yD(){}o(yD,"Compiler");yD.prototype={compiler:yD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new nA.default("Unsupported number of partial arguments: "+s.length,e);s.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):s.push({type:"PathExpression",parts:[],depth:0}));var n=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,n,a),this.opcode("append")},"PartialStatement"),PartialBlockStatement:o(function(e){this.PartialStatement(e)},"PartialBlockStatement"),MustacheStatement:o(function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},"MustacheStatement"),Decorator:o(function(e){this.DecoratorBlock(e)},"Decorator"),ContentStatement:o(function(e){if(e.value!=null&&typeof e.value!="string")throw oo(e,"value must be a string");e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){$6(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},"SubExpression"),ambiguousSexpr:o(function(e,r,s){var n=e.path,i=n.parts[0],a=r!=null||s!=null;this.opcode("getContext",gD(n)),this.opcode("pushProgram",r),this.opcode("pushProgram",s),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",i,a)},"ambiguousSexpr"),simpleSexpr:o(function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},"simpleSexpr"),helperSexpr:o(function(e,r,s){var n=this.setupFullMustacheParams(e,r,s),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",n.length,a);else{if(this.options.knownHelpersOnly)throw new nA.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",n.length,i.original,Nm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){var r=gD(e),s=ED(e);this.addDepth(r),this.opcode("getContext",r);var n=s[0],i=Nm.default.helpers.scopedId(e),a=!r&&!i&&this.blockParamIndex(n);a?this.opcode("lookupBlockParam",a,s):n?e.data?(this.options.data=!0,this.opcode("lookupData",r,s,e.strict)):this.opcode("lookupOnContext",s,e.falsy,e.strict,i):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){GI(e),this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){GI(e),this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(e){GI(e),this.opcode("pushLiteral",e.value)},"BooleanLiteral"),UndefinedLiteral:o(function(){this.opcode("pushLiteral","undefined")},"UndefinedLiteral"),NullLiteral:o(function(){this.opcode("pushLiteral","null")},"NullLiteral"),Hash:o(function(e){var r=e.pairs,s=0,n=void 0;if(!la.isArray(r))throw oo(e,"pairs must be an array");n=r.length;for(var i=0;i=0)return[r,i]}},"blockParamIndex")};function c_e(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new nA.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=r.parse(t,e),n=new r.Compiler().compile(s,e);return new r.JavaScriptCompiler().compile(n,e)}o(c_e,"precompile");function l_e(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new nA.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=la.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function n(){var a=r.parse(t,e),c=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(c,e,void 0,!0);return r.template(l)}o(n,"compileInput");function i(a,c){return s||(s=n()),s.call(this,a,c)}return o(i,"ret"),i._setup=function(a){return s||(s=n()),s._setup(a)},i._child=function(a,c,l,u){return s||(s=n()),s._child(a,c,l,u)},i}o(l_e,"compile");function oo(t,e){return new nA.default("Invalid AST: "+t.type+" "+e,t)}o(oo,"invalidAst");function gD(t){var e=t.depth;if(e==null)return 0;if(typeof e!="number"||!isFinite(e)||Math.floor(e)!==e||e<0)throw oo(t,"depth must be a non-negative integer");return e}o(gD,"validateDepth");function GI(t){var e=t.value;if(t.type==="StringLiteral"&&typeof e!="string")throw oo(t,"value must be a string");if(t.type==="NumberLiteral"&&typeof e!="number")throw oo(t,"value must be a number");if(t.type==="BooleanLiteral"&&typeof e!="boolean")throw oo(t,"value must be a boolean")}o(GI,"validateLiteral");function J6(t,e,r){if(!la.isArray(e))throw oo(t,r+" must be an array");for(var s=0;s{var K6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");CD.encode=function(t){if(0<=t&&t{var Z6=X6(),ID=5,eK=1<>1;return e?-r:r}o(d_e,"fromVLQSigned");BD.encode=o(function(e){var r="",s,n=A_e(e);do s=n&tK,n>>>=ID,n>0&&(s|=rK),r+=Z6.encode(s);while(n>0);return r},"base64VLQ_encode");BD.decode=o(function(e,r,s){var n=e.length,i=0,a=0,c,l;do{if(r>=n)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Z6.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&rK),l&=tK,i=i+(l<{function p_e(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}o(p_e,"getArg");sr.getArg=p_e;var sK=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,m_e=/^data:.+\,.+$/;function Rm(t){var e=t.match(sK);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Rm,"urlParse");sr.urlParse=Rm;function iA(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}o(iA,"urlGenerate");sr.urlGenerate=iA;function bD(t){var e=t,r=Rm(t);if(r){if(!r.path)return t;e=r.path}for(var s=sr.isAbsolute(e),n=e.split(/\/+/),i,a=0,c=n.length-1;c>=0;c--)i=n[c],i==="."?n.splice(c,1):i===".."?a++:a>0&&(i===""?(n.splice(c+1,a),a=0):(n.splice(c,2),a--));return e=n.join("/"),e===""&&(e=s?"/":"."),r?(r.path=e,iA(r)):e}o(bD,"normalize");sr.normalize=bD;function nK(t,e){t===""&&(t="."),e===""&&(e=".");var r=Rm(e),s=Rm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),iA(r);if(r||e.match(m_e))return e;if(s&&!s.host&&!s.path)return s.host=e,iA(s);var n=e.charAt(0)==="/"?e:bD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,iA(s)):n}o(nK,"join");sr.join=nK;sr.isAbsolute=function(t){return t.charAt(0)==="/"||sK.test(t)};function h_e(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var s=t.lastIndexOf("/");if(s<0||(t=t.slice(0,s),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(h_e,"relative");sr.relative=h_e;var iK=(function(){var t=Object.create(null);return!("__proto__"in t)})();function oK(t){return t}o(oK,"identity");function f_e(t){return aK(t)?"$"+t:t}o(f_e,"toSetString");sr.toSetString=iK?oK:f_e;function g_e(t){return aK(t)?t.slice(1):t}o(g_e,"fromSetString");sr.fromSetString=iK?oK:g_e;function aK(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}o(aK,"isProtoString");function E_e(t,e,r){var s=oA(t.source,e.source);return s!==0||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0||r)||(s=t.generatedColumn-e.generatedColumn,s!==0)||(s=t.generatedLine-e.generatedLine,s!==0)?s:oA(t.name,e.name)}o(E_e,"compareByOriginalPositions");sr.compareByOriginalPositions=E_e;function y_e(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=oA(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:oA(t.name,e.name)}o(y_e,"compareByGeneratedPositionsDeflated");sr.compareByGeneratedPositionsDeflated=y_e;function oA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(oA,"strcmp");function C_e(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=oA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:oA(t.name,e.name)}o(C_e,"compareByGeneratedPositionsInflated");sr.compareByGeneratedPositionsInflated=C_e;function I_e(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(I_e,"parseSourceMapInput");sr.parseSourceMapInput=I_e;function B_e(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Rm(r);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var n=s.path.lastIndexOf("/");n>=0&&(s.path=s.path.substring(0,n+1))}e=nK(iA(s),e)}return bD(e)}o(B_e,"computeSourceURL");sr.computeSourceURL=B_e});var ND=g(cK=>{var QD=aA(),xD=Object.prototype.hasOwnProperty,Lc=typeof Map<"u";function ao(){this._array=[],this._set=Lc?new Map:Object.create(null)}o(ao,"ArraySet");ao.fromArray=o(function(e,r){for(var s=new ao,n=0,i=e.length;n=0)return r}else{var s=QD.toSetString(e);if(xD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");ao.prototype.at=o(function(e){if(e>=0&&e{var lK=aA();function w_e(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||lK.compareByGeneratedPositionsInflated(t,e)<=0}o(w_e,"generatedPositionAfter");function HI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(HI,"MappingList");HI.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");HI.prototype.add=o(function(e){w_e(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");HI.prototype.toArray=o(function(){return this._sorted||(this._array.sort(lK.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");uK.MappingList=HI});var SD=g(dK=>{var Tm=wD(),wt=aA(),zI=ND().ArraySet,b_e=AK().MappingList;function $s(t){t||(t={}),this._file=wt.getArg(t,"file",null),this._sourceRoot=wt.getArg(t,"sourceRoot",null),this._skipValidation=wt.getArg(t,"skipValidation",!1),this._sources=new zI,this._names=new zI,this._mappings=new b_e,this._sourcesContents=null}o($s,"SourceMapGenerator");$s.prototype._version=3;$s.fromSourceMap=o(function(e){var r=e.sourceRoot,s=new $s({file:e.file,sourceRoot:r});return e.eachMapping(function(n){var i={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(i.source=n.source,r!=null&&(i.source=wt.relative(r,i.source)),i.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(i.name=n.name)),s.addMapping(i)}),e.sources.forEach(function(n){var i=n;r!==null&&(i=wt.relative(r,n)),s._sources.has(i)||s._sources.add(i);var a=e.sourceContentFor(n);a!=null&&s.setSourceContent(n,a)}),s},"SourceMapGenerator_fromSourceMap");$s.prototype.addMapping=o(function(e){var r=wt.getArg(e,"generated"),s=wt.getArg(e,"original",null),n=wt.getArg(e,"source",null),i=wt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,s,n,i),n!=null&&(n=String(n),this._sources.has(n)||this._sources.add(n)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:n,name:i})},"SourceMapGenerator_addMapping");$s.prototype.setSourceContent=o(function(e,r){var s=e;this._sourceRoot!=null&&(s=wt.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[wt.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[wt.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");$s.prototype.applySourceMap=o(function(e,r,s){var n=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);n=e.file}var i=this._sourceRoot;i!=null&&(n=wt.relative(i,n));var a=new zI,c=new zI;this._mappings.unsortedForEach(function(l){if(l.source===n&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,s!=null&&(l.source=wt.join(s,l.source)),i!=null&&(l.source=wt.relative(i,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var A=l.source;A!=null&&!a.has(A)&&a.add(A);var d=l.name;d!=null&&!c.has(d)&&c.add(d)},this),this._sources=a,this._names=c,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(s!=null&&(l=wt.join(s,l)),i!=null&&(l=wt.relative(i,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");$s.prototype._validateMapping=o(function(e,r,s,n){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!s&&!n)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:r,name:n}))}},"SourceMapGenerator_validateMapping");$s.prototype._serializeMappings=o(function(){for(var e=0,r=1,s=0,n=0,i=0,a=0,c="",l,u,A,d,p=this._mappings.toArray(),m=0,h=p.length;m0){if(!wt.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=","}l+=Tm.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=Tm.encode(d-a),a=d,l+=Tm.encode(u.originalLine-1-n),n=u.originalLine-1,l+=Tm.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(A=this._names.indexOf(u.name),l+=Tm.encode(A-i),i=A)),c+=l}return c},"SourceMapGenerator_serializeMappings");$s.prototype._generateSourcesContent=o(function(e,r){return e.map(function(s){if(!this._sourcesContents)return null;r!=null&&(s=wt.relative(r,s));var n=wt.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},"SourceMapGenerator_generateSourcesContent");$s.prototype.toJSON=o(function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},"SourceMapGenerator_toJSON");$s.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");dK.SourceMapGenerator=$s});var pK=g(Mc=>{Mc.GREATEST_LOWER_BOUND=1;Mc.LEAST_UPPER_BOUND=2;function RD(t,e,r,s,n,i){var a=Math.floor((e-t)/2)+t,c=n(r,s[a],!0);return c===0?a:c>0?e-a>1?RD(a,e,r,s,n,i):i==Mc.LEAST_UPPER_BOUND?e1?RD(t,a,r,s,n,i):i==Mc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(RD,"recursiveSearch");Mc.search=o(function(e,r,s,n){if(r.length===0)return-1;var i=RD(-1,r.length,e,r,s,n||Mc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&s(r[i],r[i-1],!0)===0;)--i;return i},"search")});var hK=g(mK=>{function TD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}o(TD,"swap");function Q_e(t,e){return Math.round(t+Math.random()*(e-t))}o(Q_e,"randomIntInRange");function PD(t,e,r,s){if(r{var G=aA(),vD=pK(),cA=ND().ArraySet,x_e=wD(),Pm=hK().quickSort;function qe(t,e){var r=t;return typeof t=="string"&&(r=G.parseSourceMapInput(t)),r.sections!=null?new In(r,e):new Jt(r,e)}o(qe,"SourceMapConsumer");qe.fromSourceMap=function(t,e){return Jt.fromSourceMap(t,e)};qe.prototype._version=3;qe.prototype.__generatedMappings=null;Object.defineProperty(qe.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});qe.prototype.__originalMappings=null;Object.defineProperty(qe.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});qe.prototype._charIsMappingSeparator=o(function(e,r){var s=e.charAt(r);return s===";"||s===","},"SourceMapConsumer_charIsMappingSeparator");qe.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");qe.GENERATED_ORDER=1;qe.ORIGINAL_ORDER=2;qe.GREATEST_LOWER_BOUND=1;qe.LEAST_UPPER_BOUND=2;qe.prototype.eachMapping=o(function(e,r,s){var n=r||null,i=s||qe.GENERATED_ORDER,a;switch(i){case qe.GENERATED_ORDER:a=this._generatedMappings;break;case qe.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=G.computeSourceURL(c,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,n)},"SourceMapConsumer_eachMapping");qe.prototype.allGeneratedPositionsFor=o(function(e){var r=G.getArg(e,"line"),s={source:G.getArg(e,"source"),originalLine:r,originalColumn:G.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var n=[],i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,vD.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)n.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)n.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return n},"SourceMapConsumer_allGeneratedPositionsFor");VI.SourceMapConsumer=qe;function Jt(t,e){var r=t;typeof t=="string"&&(r=G.parseSourceMapInput(t));var s=G.getArg(r,"version"),n=G.getArg(r,"sources"),i=G.getArg(r,"names",[]),a=G.getArg(r,"sourceRoot",null),c=G.getArg(r,"sourcesContent",null),l=G.getArg(r,"mappings"),u=G.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);a&&(a=G.normalize(a)),n=n.map(String).map(G.normalize).map(function(A){return a&&G.isAbsolute(a)&&G.isAbsolute(A)?G.relative(a,A):A}),this._names=cA.fromArray(i.map(String),!0),this._sources=cA.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(A){return G.computeSourceURL(a,A,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(Jt,"BasicSourceMapConsumer");Jt.prototype=Object.create(qe.prototype);Jt.prototype.consumer=qe;Jt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=G.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(f.source=c+E[1],c+=E[1],f.originalLine=i+E[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=a+E[3],a=f.originalColumn,E.length>4&&(f.name=l+E[4],l+=E[4])),h.push(f),typeof f.originalLine=="number"&&m.push(f)}Pm(h,G.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Pm(m,G.compareByOriginalPositions),this.__originalMappings=m},"SourceMapConsumer_parseMappings");Jt.prototype._findMapping=o(function(e,r,s,n,i,a){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return vD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Jt.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var n=this._generatedMappings[s];if(n.generatedLine===r.generatedLine){var i=G.getArg(n,"source",null);i!==null&&(i=this._sources.at(i),i=G.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=G.getArg(n,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:G.getArg(n,"originalLine",null),column:G.getArg(n,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Jt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Jt.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var n=e;this.sourceRoot!=null&&(n=G.relative(this.sourceRoot,n));var i;if(this.sourceRoot!=null&&(i=G.urlParse(this.sourceRoot))){var a=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||i.path=="/")&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(r)return null;throw new Error('"'+n+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");Jt.prototype.generatedPositionFor=o(function(e){var r=G.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var s={source:r,originalLine:G.getArg(e,"line"),originalColumn:G.getArg(e,"column")},n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,G.getArg(e,"bias",qe.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===s.source)return{line:G.getArg(i,"generatedLine",null),column:G.getArg(i,"generatedColumn",null),lastColumn:G.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");VI.BasicSourceMapConsumer=Jt;function In(t,e){var r=t;typeof t=="string"&&(r=G.parseSourceMapInput(t));var s=G.getArg(r,"version"),n=G.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new cA,this._names=new cA;var i={line:-1,column:0};this._sections=n.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=G.getArg(a,"offset"),l=G.getArg(c,"line"),u=G.getArg(c,"column");if(l{var N_e=SD().SourceMapGenerator,$I=aA(),S_e=/(\r?\n)/,R_e=10,lA="$$$isSourceNode$$$";function ms(t,e,r,s,n){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=n??null,this[lA]=!0,s!=null&&this.add(s)}o(ms,"SourceNode");ms.fromStringWithSourceMap=o(function(e,r,s){var n=new ms,i=e.split(S_e),a=0,c=o(function(){var p=h(),m=h()||"";return p+m;function h(){return a=0;r--)this.prepend(e[r]);else if(e[lA]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_prepend");ms.prototype.walk=o(function(e){for(var r,s=0,n=this.children.length;s0){for(r=[],s=0;s{YI.SourceMapGenerator=SD().SourceMapGenerator;YI.SourceMapConsumer=gK().SourceMapConsumer;YI.SourceNode=yK().SourceNode});var bK=g(JI=>{"use strict";JI.__esModule=!0;JI.safeJsonLiteral=BK;var DD=rr(),T_e=/[\x00-\x1f\\"\u2028\u2029<\ud800-\udfff]/,P_e=/<(?=!--|\/?script)/gi;function v_e(t){return t.replace(P_e,"\\u003C")}o(v_e,"escapeScriptDelimiters");function k_e(t){return"\\u"+t.charCodeAt(0).toString(16)}o(k_e,"escapeSurrogate");function BK(t){return v_e(JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/[\ud800-\udfff]/g,k_e))}o(BK,"safeJsonLiteral");var Oc=void 0;try{(typeof define!="function"||!define.amd)&&(IK=CK(),Oc=IK.SourceNode)}catch{}var IK;Oc||(Oc=o(function(t,e,r,s){this.src="",s&&this.add(s)},"SourceNode"),Oc.prototype={add:o(function(e){DD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){DD.isArray(e)&&(e=e.join("")),this.src=e+this.src},"prepend"),toStringWithSourceMap:o(function(){return{code:this.toString()}},"toStringWithSourceMap"),toString:o(function(){return this.src},"toString")});function kD(t,e,r){if(DD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";WI.__esModule=!0;function NK(t){return t&&t.__esModule?t:{default:t}}o(NK,"_interopRequireDefault");var QK=SI(),D_e=zs(),_D=NK(D_e),__e=rr(),SK=bK(),xK=NK(SK);function uA(t){this.value=t}o(uA,"Literal");function AA(){}o(AA,"JavaScriptCompiler");AA.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",this.quotedString(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=QK.COMPILER_REVISION,r=QK.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return __e.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",this.quotedString(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();LI.default=PDe;_6.exports=LI.default});var dD=g(AD=>{"use strict";AD.__esModule=!0;var vDe=["Program","BlockStatement","DecoratorBlock","PartialStatement","PartialBlockStatement","Decorator","MustacheStatement","ContentStatement","CommentStatement","SubExpression","PathExpression","StringLiteral","NumberLiteral","BooleanLiteral","UndefinedLiteral","NullLiteral","Hash","HashPair"];AD.NODE_TYPES=vDe});var UI=g((FI,U6)=>{"use strict";FI.__esModule=!0;function kDe(t){return t&&t.__esModule?t:{default:t}}o(kDe,"_interopRequireDefault");var DDe=zs(),pD=kDe(DDe),_De=rr(),LDe=dD();function OI(){this.parents=[]}o(OI,"Visitor");function M6(t,e){return _De.indexOf(LDe.NODE_TYPES,e)!==-1||!(e in OI.prototype)&&typeof t[e]=="function"}o(M6,"isDispatchable");OI.prototype={constructor:OI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!M6(this,s.type))throw new pD.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new pD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r{"use strict";qI.__esModule=!0;function MDe(t){return t&&t.__esModule?t:{default:t}}o(MDe,"_interopRequireDefault");var ODe=UI(),FDe=MDe(ODe);function Ii(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Ii,"WhitespaceControl");Ii.prototype=new FDe.default;Ii.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var s=t.body,n=0,i=s.length;n{"use strict";Vs.__esModule=!0;Vs.SourceLocation=GDe;Vs.id=HDe;Vs.stripFlags=zDe;Vs.stripComment=VDe;Vs.preparePath=$De;Vs.prepareMustache=YDe;Vs.prepareRawBlock=JDe;Vs.prepareBlock=WDe;Vs.prepareProgram=jDe;Vs.preparePartialBlock=KDe;function UDe(t){return t&&t.__esModule?t:{default:t}}o(UDe,"_interopRequireDefault");var qDe=zs(),fD=UDe(qDe);function gD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new fD.default(t.path.original+" doesn't match "+e,r)}}o(gD,"validateClose");function GDe(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}o(GDe,"SourceLocation");function HDe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(HDe,"id");function zDe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(zDe,"stripFlags");function VDe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(VDe,"stripComment");function $De(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,a=0,c=e.length;a0)throw new fD.default("Invalid path: "+s,{loc:r});l===".."&&i++}else n.push(l)}return{type:"PathExpression",data:t,depth:i,parts:n,original:s,loc:r}}o($De,"preparePath");function YDe(t,e,r,s,n,i){var a=s.charAt(3)||s.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(s);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:n,loc:this.locInfo(i)}}o(YDe,"prepareMustache");function JDe(t,e,r,s){gD(t,r),s=this.locInfo(s);var n={type:"Program",body:e,strip:{},loc:s};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}}o(JDe,"prepareRawBlock");function WDe(t,e,r,s,n,i){s&&s.path&&gD(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new fD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=s.strip),l=r.strip,c=r.program}return n&&(n=c,c=e,e=n),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:s&&s.strip,loc:this.locInfo(i)}}o(WDe,"prepareBlock");function jDe(t,e){if(!e&&t.length){var r=t[0].loc,s=t[t.length-1].loc;r&&s&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(jDe,"prepareProgram");function KDe(t,e,r,s){return gD(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(s)}}o(KDe,"preparePartialBlock")});var $6=g(Nm=>{"use strict";Nm.__esModule=!0;Nm.parseWithoutProcessing=V6;Nm.parse=i_e;function XDe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(XDe,"_interopRequireWildcard");function z6(t){return t&&t.__esModule?t:{default:t}}o(z6,"_interopRequireDefault");var ZDe=L6(),ED=z6(ZDe),e_e=G6(),t_e=z6(e_e),r_e=H6(),s_e=XDe(r_e),n_e=rr();Nm.parser=ED.default;var GI={};n_e.extend(GI,s_e);function V6(t,e){if(t.type==="Program")return t;ED.default.yy=GI,GI.locInfo=function(s){return new GI.SourceLocation(e&&e.srcName,s)};var r=ED.default.parse(t);return r}o(V6,"parseWithoutProcessing");function i_e(t,e){var r=V6(t,e),s=new t_e.default(e);return s.accept(r)}o(i_e,"parse")});var K6=g(Rm=>{"use strict";Rm.__esModule=!0;Rm.Compiler=ID;Rm.precompile=u_e;Rm.compile=A_e;function J6(t){return t&&t.__esModule?t:{default:t}}o(J6,"_interopRequireDefault");var o_e=zs(),iA=J6(o_e),la=rr(),a_e=uD(),Sm=J6(a_e),c_e=dD(),l_e=[].slice;function ID(){}o(ID,"Compiler");ID.prototype={compiler:ID,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new iA.default("Unsupported number of partial arguments: "+s.length,e);s.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):s.push({type:"PathExpression",parts:[],depth:0}));var n=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,n,a),this.opcode("append")},"PartialStatement"),PartialBlockStatement:o(function(e){this.PartialStatement(e)},"PartialBlockStatement"),MustacheStatement:o(function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},"MustacheStatement"),Decorator:o(function(e){this.DecoratorBlock(e)},"Decorator"),ContentStatement:o(function(e){if(e.value!=null&&typeof e.value!="string")throw oo(e,"value must be a string");e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){Y6(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},"SubExpression"),ambiguousSexpr:o(function(e,r,s){var n=e.path,i=n.parts[0],a=r!=null||s!=null;this.opcode("getContext",yD(n)),this.opcode("pushProgram",r),this.opcode("pushProgram",s),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",i,a)},"ambiguousSexpr"),simpleSexpr:o(function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},"simpleSexpr"),helperSexpr:o(function(e,r,s){var n=this.setupFullMustacheParams(e,r,s),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",n.length,a);else{if(this.options.knownHelpersOnly)throw new iA.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",n.length,i.original,Sm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){var r=yD(e),s=CD(e);this.addDepth(r),this.opcode("getContext",r);var n=s[0],i=Sm.default.helpers.scopedId(e),a=!r&&!i&&this.blockParamIndex(n);a?this.opcode("lookupBlockParam",a,s):n?e.data?(this.options.data=!0,this.opcode("lookupData",r,s,e.strict)):this.opcode("lookupOnContext",s,e.falsy,e.strict,i):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){HI(e),this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){HI(e),this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(e){HI(e),this.opcode("pushLiteral",e.value)},"BooleanLiteral"),UndefinedLiteral:o(function(){this.opcode("pushLiteral","undefined")},"UndefinedLiteral"),NullLiteral:o(function(){this.opcode("pushLiteral","null")},"NullLiteral"),Hash:o(function(e){var r=e.pairs,s=0,n=void 0;if(!la.isArray(r))throw oo(e,"pairs must be an array");n=r.length;for(var i=0;i=0)return[r,i]}},"blockParamIndex")};function u_e(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new iA.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=r.parse(t,e),n=new r.Compiler().compile(s,e);return new r.JavaScriptCompiler().compile(n,e)}o(u_e,"precompile");function A_e(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new iA.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=la.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function n(){var a=r.parse(t,e),c=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(c,e,void 0,!0);return r.template(l)}o(n,"compileInput");function i(a,c){return s||(s=n()),s.call(this,a,c)}return o(i,"ret"),i._setup=function(a){return s||(s=n()),s._setup(a)},i._child=function(a,c,l,u){return s||(s=n()),s._child(a,c,l,u)},i}o(A_e,"compile");function oo(t,e){return new iA.default("Invalid AST: "+t.type+" "+e,t)}o(oo,"invalidAst");function yD(t){var e=t.depth;if(e==null)return 0;if(typeof e!="number"||!isFinite(e)||Math.floor(e)!==e||e<0)throw oo(t,"depth must be a non-negative integer");return e}o(yD,"validateDepth");function HI(t){var e=t.value;if(t.type==="StringLiteral"&&typeof e!="string")throw oo(t,"value must be a string");if(t.type==="NumberLiteral"&&typeof e!="number")throw oo(t,"value must be a number");if(t.type==="BooleanLiteral"&&typeof e!="boolean")throw oo(t,"value must be a boolean")}o(HI,"validateLiteral");function W6(t,e,r){if(!la.isArray(e))throw oo(t,r+" must be an array");for(var s=0;s{var X6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");BD.encode=function(t){if(0<=t&&t{var eK=Z6(),wD=5,tK=1<>1;return e?-r:r}o(m_e,"fromVLQSigned");bD.encode=o(function(e){var r="",s,n=p_e(e);do s=n&rK,n>>>=wD,n>0&&(s|=sK),r+=eK.encode(s);while(n>0);return r},"base64VLQ_encode");bD.decode=o(function(e,r,s){var n=e.length,i=0,a=0,c,l;do{if(r>=n)throw new Error("Expected more digits in base 64 VLQ value.");if(l=eK.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&sK),l&=rK,i=i+(l<{function h_e(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}o(h_e,"getArg");sr.getArg=h_e;var nK=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,f_e=/^data:.+\,.+$/;function Tm(t){var e=t.match(nK);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Tm,"urlParse");sr.urlParse=Tm;function oA(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}o(oA,"urlGenerate");sr.urlGenerate=oA;function xD(t){var e=t,r=Tm(t);if(r){if(!r.path)return t;e=r.path}for(var s=sr.isAbsolute(e),n=e.split(/\/+/),i,a=0,c=n.length-1;c>=0;c--)i=n[c],i==="."?n.splice(c,1):i===".."?a++:a>0&&(i===""?(n.splice(c+1,a),a=0):(n.splice(c,2),a--));return e=n.join("/"),e===""&&(e=s?"/":"."),r?(r.path=e,oA(r)):e}o(xD,"normalize");sr.normalize=xD;function iK(t,e){t===""&&(t="."),e===""&&(e=".");var r=Tm(e),s=Tm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),oA(r);if(r||e.match(f_e))return e;if(s&&!s.host&&!s.path)return s.host=e,oA(s);var n=e.charAt(0)==="/"?e:xD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,oA(s)):n}o(iK,"join");sr.join=iK;sr.isAbsolute=function(t){return t.charAt(0)==="/"||nK.test(t)};function g_e(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var s=t.lastIndexOf("/");if(s<0||(t=t.slice(0,s),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(g_e,"relative");sr.relative=g_e;var oK=(function(){var t=Object.create(null);return!("__proto__"in t)})();function aK(t){return t}o(aK,"identity");function E_e(t){return cK(t)?"$"+t:t}o(E_e,"toSetString");sr.toSetString=oK?aK:E_e;function y_e(t){return cK(t)?t.slice(1):t}o(y_e,"fromSetString");sr.fromSetString=oK?aK:y_e;function cK(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}o(cK,"isProtoString");function C_e(t,e,r){var s=aA(t.source,e.source);return s!==0||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0||r)||(s=t.generatedColumn-e.generatedColumn,s!==0)||(s=t.generatedLine-e.generatedLine,s!==0)?s:aA(t.name,e.name)}o(C_e,"compareByOriginalPositions");sr.compareByOriginalPositions=C_e;function I_e(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=aA(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:aA(t.name,e.name)}o(I_e,"compareByGeneratedPositionsDeflated");sr.compareByGeneratedPositionsDeflated=I_e;function aA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(aA,"strcmp");function B_e(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=aA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:aA(t.name,e.name)}o(B_e,"compareByGeneratedPositionsInflated");sr.compareByGeneratedPositionsInflated=B_e;function w_e(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(w_e,"parseSourceMapInput");sr.parseSourceMapInput=w_e;function b_e(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Tm(r);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var n=s.path.lastIndexOf("/");n>=0&&(s.path=s.path.substring(0,n+1))}e=iK(oA(s),e)}return xD(e)}o(b_e,"computeSourceURL");sr.computeSourceURL=b_e});var RD=g(lK=>{var ND=cA(),SD=Object.prototype.hasOwnProperty,Lc=typeof Map<"u";function ao(){this._array=[],this._set=Lc?new Map:Object.create(null)}o(ao,"ArraySet");ao.fromArray=o(function(e,r){for(var s=new ao,n=0,i=e.length;n=0)return r}else{var s=ND.toSetString(e);if(SD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");ao.prototype.at=o(function(e){if(e>=0&&e{var uK=cA();function Q_e(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||uK.compareByGeneratedPositionsInflated(t,e)<=0}o(Q_e,"generatedPositionAfter");function zI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(zI,"MappingList");zI.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");zI.prototype.add=o(function(e){Q_e(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");zI.prototype.toArray=o(function(){return this._sorted||(this._array.sort(uK.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");AK.MappingList=zI});var TD=g(pK=>{var Pm=QD(),wt=cA(),VI=RD().ArraySet,x_e=dK().MappingList;function $s(t){t||(t={}),this._file=wt.getArg(t,"file",null),this._sourceRoot=wt.getArg(t,"sourceRoot",null),this._skipValidation=wt.getArg(t,"skipValidation",!1),this._sources=new VI,this._names=new VI,this._mappings=new x_e,this._sourcesContents=null}o($s,"SourceMapGenerator");$s.prototype._version=3;$s.fromSourceMap=o(function(e){var r=e.sourceRoot,s=new $s({file:e.file,sourceRoot:r});return e.eachMapping(function(n){var i={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(i.source=n.source,r!=null&&(i.source=wt.relative(r,i.source)),i.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(i.name=n.name)),s.addMapping(i)}),e.sources.forEach(function(n){var i=n;r!==null&&(i=wt.relative(r,n)),s._sources.has(i)||s._sources.add(i);var a=e.sourceContentFor(n);a!=null&&s.setSourceContent(n,a)}),s},"SourceMapGenerator_fromSourceMap");$s.prototype.addMapping=o(function(e){var r=wt.getArg(e,"generated"),s=wt.getArg(e,"original",null),n=wt.getArg(e,"source",null),i=wt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,s,n,i),n!=null&&(n=String(n),this._sources.has(n)||this._sources.add(n)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:n,name:i})},"SourceMapGenerator_addMapping");$s.prototype.setSourceContent=o(function(e,r){var s=e;this._sourceRoot!=null&&(s=wt.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[wt.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[wt.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");$s.prototype.applySourceMap=o(function(e,r,s){var n=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);n=e.file}var i=this._sourceRoot;i!=null&&(n=wt.relative(i,n));var a=new VI,c=new VI;this._mappings.unsortedForEach(function(l){if(l.source===n&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,s!=null&&(l.source=wt.join(s,l.source)),i!=null&&(l.source=wt.relative(i,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var A=l.source;A!=null&&!a.has(A)&&a.add(A);var d=l.name;d!=null&&!c.has(d)&&c.add(d)},this),this._sources=a,this._names=c,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(s!=null&&(l=wt.join(s,l)),i!=null&&(l=wt.relative(i,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");$s.prototype._validateMapping=o(function(e,r,s,n){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!s&&!n)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:r,name:n}))}},"SourceMapGenerator_validateMapping");$s.prototype._serializeMappings=o(function(){for(var e=0,r=1,s=0,n=0,i=0,a=0,c="",l,u,A,d,p=this._mappings.toArray(),m=0,h=p.length;m0){if(!wt.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=","}l+=Pm.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=Pm.encode(d-a),a=d,l+=Pm.encode(u.originalLine-1-n),n=u.originalLine-1,l+=Pm.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(A=this._names.indexOf(u.name),l+=Pm.encode(A-i),i=A)),c+=l}return c},"SourceMapGenerator_serializeMappings");$s.prototype._generateSourcesContent=o(function(e,r){return e.map(function(s){if(!this._sourcesContents)return null;r!=null&&(s=wt.relative(r,s));var n=wt.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},"SourceMapGenerator_generateSourcesContent");$s.prototype.toJSON=o(function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},"SourceMapGenerator_toJSON");$s.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");pK.SourceMapGenerator=$s});var mK=g(Mc=>{Mc.GREATEST_LOWER_BOUND=1;Mc.LEAST_UPPER_BOUND=2;function PD(t,e,r,s,n,i){var a=Math.floor((e-t)/2)+t,c=n(r,s[a],!0);return c===0?a:c>0?e-a>1?PD(a,e,r,s,n,i):i==Mc.LEAST_UPPER_BOUND?e1?PD(t,a,r,s,n,i):i==Mc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(PD,"recursiveSearch");Mc.search=o(function(e,r,s,n){if(r.length===0)return-1;var i=PD(-1,r.length,e,r,s,n||Mc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&s(r[i],r[i-1],!0)===0;)--i;return i},"search")});var fK=g(hK=>{function vD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}o(vD,"swap");function N_e(t,e){return Math.round(t+Math.random()*(e-t))}o(N_e,"randomIntInRange");function kD(t,e,r,s){if(r{var G=cA(),DD=mK(),lA=RD().ArraySet,S_e=QD(),vm=fK().quickSort;function qe(t,e){var r=t;return typeof t=="string"&&(r=G.parseSourceMapInput(t)),r.sections!=null?new In(r,e):new Jt(r,e)}o(qe,"SourceMapConsumer");qe.fromSourceMap=function(t,e){return Jt.fromSourceMap(t,e)};qe.prototype._version=3;qe.prototype.__generatedMappings=null;Object.defineProperty(qe.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});qe.prototype.__originalMappings=null;Object.defineProperty(qe.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});qe.prototype._charIsMappingSeparator=o(function(e,r){var s=e.charAt(r);return s===";"||s===","},"SourceMapConsumer_charIsMappingSeparator");qe.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");qe.GENERATED_ORDER=1;qe.ORIGINAL_ORDER=2;qe.GREATEST_LOWER_BOUND=1;qe.LEAST_UPPER_BOUND=2;qe.prototype.eachMapping=o(function(e,r,s){var n=r||null,i=s||qe.GENERATED_ORDER,a;switch(i){case qe.GENERATED_ORDER:a=this._generatedMappings;break;case qe.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=G.computeSourceURL(c,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,n)},"SourceMapConsumer_eachMapping");qe.prototype.allGeneratedPositionsFor=o(function(e){var r=G.getArg(e,"line"),s={source:G.getArg(e,"source"),originalLine:r,originalColumn:G.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var n=[],i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,DD.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)n.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)n.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return n},"SourceMapConsumer_allGeneratedPositionsFor");$I.SourceMapConsumer=qe;function Jt(t,e){var r=t;typeof t=="string"&&(r=G.parseSourceMapInput(t));var s=G.getArg(r,"version"),n=G.getArg(r,"sources"),i=G.getArg(r,"names",[]),a=G.getArg(r,"sourceRoot",null),c=G.getArg(r,"sourcesContent",null),l=G.getArg(r,"mappings"),u=G.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);a&&(a=G.normalize(a)),n=n.map(String).map(G.normalize).map(function(A){return a&&G.isAbsolute(a)&&G.isAbsolute(A)?G.relative(a,A):A}),this._names=lA.fromArray(i.map(String),!0),this._sources=lA.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(A){return G.computeSourceURL(a,A,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(Jt,"BasicSourceMapConsumer");Jt.prototype=Object.create(qe.prototype);Jt.prototype.consumer=qe;Jt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=G.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(f.source=c+E[1],c+=E[1],f.originalLine=i+E[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=a+E[3],a=f.originalColumn,E.length>4&&(f.name=l+E[4],l+=E[4])),h.push(f),typeof f.originalLine=="number"&&m.push(f)}vm(h,G.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,vm(m,G.compareByOriginalPositions),this.__originalMappings=m},"SourceMapConsumer_parseMappings");Jt.prototype._findMapping=o(function(e,r,s,n,i,a){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return DD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Jt.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var n=this._generatedMappings[s];if(n.generatedLine===r.generatedLine){var i=G.getArg(n,"source",null);i!==null&&(i=this._sources.at(i),i=G.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=G.getArg(n,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:G.getArg(n,"originalLine",null),column:G.getArg(n,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Jt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Jt.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var n=e;this.sourceRoot!=null&&(n=G.relative(this.sourceRoot,n));var i;if(this.sourceRoot!=null&&(i=G.urlParse(this.sourceRoot))){var a=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||i.path=="/")&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(r)return null;throw new Error('"'+n+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");Jt.prototype.generatedPositionFor=o(function(e){var r=G.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var s={source:r,originalLine:G.getArg(e,"line"),originalColumn:G.getArg(e,"column")},n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,G.getArg(e,"bias",qe.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===s.source)return{line:G.getArg(i,"generatedLine",null),column:G.getArg(i,"generatedColumn",null),lastColumn:G.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");$I.BasicSourceMapConsumer=Jt;function In(t,e){var r=t;typeof t=="string"&&(r=G.parseSourceMapInput(t));var s=G.getArg(r,"version"),n=G.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new lA,this._names=new lA;var i={line:-1,column:0};this._sections=n.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=G.getArg(a,"offset"),l=G.getArg(c,"line"),u=G.getArg(c,"column");if(l{var R_e=TD().SourceMapGenerator,YI=cA(),T_e=/(\r?\n)/,P_e=10,uA="$$$isSourceNode$$$";function ms(t,e,r,s,n){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=n??null,this[uA]=!0,s!=null&&this.add(s)}o(ms,"SourceNode");ms.fromStringWithSourceMap=o(function(e,r,s){var n=new ms,i=e.split(T_e),a=0,c=o(function(){var p=h(),m=h()||"";return p+m;function h(){return a=0;r--)this.prepend(e[r]);else if(e[uA]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_prepend");ms.prototype.walk=o(function(e){for(var r,s=0,n=this.children.length;s0){for(r=[],s=0;s{JI.SourceMapGenerator=TD().SourceMapGenerator;JI.SourceMapConsumer=EK().SourceMapConsumer;JI.SourceNode=CK().SourceNode});var QK=g(WI=>{"use strict";WI.__esModule=!0;WI.safeJsonLiteral=wK;var LD=rr(),v_e=/[\x00-\x1f\\"\u2028\u2029<\ud800-\udfff]/,k_e=/<(?=!--|\/?script)/gi;function D_e(t){return t.replace(k_e,"\\u003C")}o(D_e,"escapeScriptDelimiters");function __e(t){return"\\u"+t.charCodeAt(0).toString(16)}o(__e,"escapeSurrogate");function wK(t){return D_e(JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/[\ud800-\udfff]/g,__e))}o(wK,"safeJsonLiteral");var Oc=void 0;try{(typeof define!="function"||!define.amd)&&(BK=IK(),Oc=BK.SourceNode)}catch{}var BK;Oc||(Oc=o(function(t,e,r,s){this.src="",s&&this.add(s)},"SourceNode"),Oc.prototype={add:o(function(e){LD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){LD.isArray(e)&&(e=e.join("")),this.src=e+this.src},"prepend"),toStringWithSourceMap:o(function(){return{code:this.toString()}},"toStringWithSourceMap"),toString:o(function(){return this.src},"toString")});function _D(t,e,r){if(LD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";jI.__esModule=!0;function SK(t){return t&&t.__esModule?t:{default:t}}o(SK,"_interopRequireDefault");var xK=RI(),L_e=zs(),MD=SK(L_e),M_e=rr(),RK=QK(),NK=SK(RK);function AA(t){this.value=t}o(AA,"Literal");function dA(){}o(dA,"JavaScriptCompiler");dA.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",this.quotedString(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=xK.COMPILER_REVISION,r=xK.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return M_e.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",this.quotedString(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(s+=", alias"+ ++i+"="+l,u.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(s);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) { +`),this.decorators=this.decorators.merge()));var A=this.createFunctionContext(n);if(this.isChild)return A;var d={compiler:this.compilerInfo(),main:A};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var p=this.context,m=p.programs,h=p.decorators;for(l=0,u=m.length;l0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(s+=", alias"+ ++i+"="+l,u.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(s);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) { `,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,s=!this.forceBuffer,n=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(i?a.prepend("buffer += "):n=!0,c.add(";"),a=c=void 0),i=!0,r||(s=!1))}),s?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`; `)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { @@ -83,52 +83,52 @@ Expecting `+ce.join(", ")+", got '"+(this.terminals_[B]||B)+"'":js="Parse error } return undefined } - `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(L_e(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,l=o(function(A){a.replaceStack(function(d){var p=a.nameLookup(d,r[A],e);return n?[" && ",p]:[" != null ? ",p," : ",d]})},"_loop"),u=s;uthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},"incrStack"),topStackName:o(function(){return"stack"+this.stackSlot},"topStackName"),flushInline:o(function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,s=e.length;r{"use strict";jI.__esModule=!0;function vm(t){return t&&t.__esModule?t:{default:t}}o(vm,"_interopRequireDefault");var M_e=P6(),O_e=vm(M_e),F_e=cD(),U_e=vm(F_e),LD=V6(),MD=j6(),q_e=PK(),G_e=vm(q_e),H_e=FI(),z_e=vm(H_e),V_e=nD(),$_e=vm(V_e),Y_e=O_e.default.create;function vK(){var t=Y_e();return t.compile=function(e,r){return MD.compile(e,r,t)},t.precompile=function(e,r){return MD.precompile(e,r,t)},t.AST=U_e.default,t.Compiler=MD.Compiler,t.JavaScriptCompiler=G_e.default,t.Parser=LD.parser,t.parse=LD.parse,t.parseWithoutProcessing=LD.parseWithoutProcessing,t}o(vK,"create");var dA=vK();dA.create=vK;$_e.default(dA);dA.Visitor=z_e.default;dA.default=dA;jI.default=dA;kK.exports=jI.default});var _K=g(KI=>{"use strict";KI.__esModule=!0;KI.print=K_e;KI.PrintVisitor=ot;function J_e(t){return t&&t.__esModule?t:{default:t}}o(J_e,"_interopRequireDefault");var W_e=FI(),j_e=J_e(W_e);function K_e(t){return new ot().accept(t)}o(K_e,"print");function ot(){this.padding=0}o(ot,"PrintVisitor");ot.prototype=new j_e.default;ot.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};ot.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};ot.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};ot.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};ot.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{"use strict";Object.defineProperty(sB,"__esModule",{value:!0});sB.getProxyUrl=tLe;sB.checkBypass=XK;function tLe(t){let e=t.protocol==="https:";if(XK(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new rB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new rB(`http://${r}`)}else return}o(tLe,"getProxyUrl");function XK(t){if(!t.hostname)return!1;let e=t.hostname;if(rLe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(XK,"checkBypass");function rLe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(rLe,"isLoopbackAddress");var rB=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var tX=g(Je=>{"use strict";var sLe=Je&&Je.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),nLe=Je&&Je.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),aB=Je&&Je.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;nht(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Je.HttpClientResponse=oB;function dLe(t){return new URL(t).protocol==="https:"}o(dLe,"isHttps");var zD=class{static{o(this,"HttpClient")}constructor(e,r,s){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=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ht(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ht(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ht(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ht(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ht(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ht(this,arguments,void 0,function*(r,s={}){s[yr.Accept]=this._getExistingOrDefaultHeader(s,yr.Accept,lo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,lo.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,lo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,lo.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,lo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,lo.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,lo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ht(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&lLe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Ys.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&aLe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!cLe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new oB(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=HD.getProxyUrl(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?eX:GD;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Mm(this.requestOptions.headers),Mm(e||{})):Mm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Mm(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Mm(this.requestOptions.headers)[yr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[yr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=HD.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||GD.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?nB.httpsOverHttps:nB.httpsOverHttp:l=u?nB.httpOverHttps:nB.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new eX.Agent(c):new GD.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new iLe.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ht(this,void 0,void 0,function*(){e=Math.min(uLe,e);let r=ALe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ht(this,void 0,void 0,function*(){return new Promise((s,n)=>ht(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Ys.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new iB(A,i);d.result=a.result,n(d)}else s(a)}))})}};Je.HttpClient=zD;var Mm=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var wX=g((tpt,Fm)=>{"use strict";var AB=o(function(){},"NullObject");AB.prototype=Object.create(null);var lB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,uB=/\\([\v\u0020-\u00ff])/gu,CX=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Fc={type:"",parameters:new AB};Object.freeze(Fc.parameters);Object.freeze(Fc);function IX(t){if(typeof t!="string")throw new TypeError("argument header is required and must be a string");let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(CX.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new AB};if(e===-1)return s;let n,i,a;for(lB.lastIndex=e;i=lB.exec(t);){if(i.index!==e)throw new TypeError("invalid parameter format");e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),uB.test(a)&&(a=a.replace(uB,"$1"))),s.parameters[n]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return s}o(IX,"parse");function BX(t){if(typeof t!="string")return Fc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(CX.test(r)===!1)return Fc;let s={type:r.toLowerCase(),parameters:new AB};if(e===-1)return s;let n,i,a;for(lB.lastIndex=e;i=lB.exec(t);){if(i.index!==e)return Fc;e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),uB.test(a)&&(a=a.replace(uB,"$1"))),s.parameters[n]=a}return e!==t.length?Fc:s}o(BX,"safeParse");Fm.exports.default={parse:IX,safeParse:BX};Fm.exports.parse=IX;Fm.exports.safeParse=BX;Fm.exports.defaultContentType=Fc});var p_=b(require("os"),1);function wi(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(wi,"toCommandValue");function gB(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(gB,"toCommandProperties");function po(t,e,r){let s=new EB(t,e,r);process.stdout.write(s.toString()+p_.EOL)}o(po,"issueCommand");function yB(t,e=""){po(t,{},e)}o(yB,"issue");var d_="::",EB=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=d_+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${oZ(n)}`)}}return e+=`${d_}${iZ(this.message)}`,e}};function iZ(t){return wi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(iZ,"escapeData");function oZ(t){return wi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(oZ,"escapeProperty");var m_=b(require("crypto"),1),Ym=b(require("fs"),1),$m=b(require("os"),1);function CB(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Ym.existsSync(r))throw new Error(`Missing file at path: ${r}`);Ym.appendFileSync(r,`${wi(e)}${$m.EOL}`,{encoding:"utf8"})}o(CB,"issueFileCommand");function IB(t,e){let r=`ghadelimiter_${m_.randomUUID()}`,s=wi(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(s.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${$m.EOL}${s}${$m.EOL}${r}`}o(IB,"prepareKeyValueMessage");var ax=b(require("os"),1);var zf=b(CA(),1),RAe=b(Ul(),1);var vn;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(vn||(vn={}));var zq;(function(t){t.Accept="accept",t.ContentType="content-type"})(zq||(zq={}));var Vq;(function(t){t.ApplicationJson="application/json"})(Vq||(Vq={}));var o1e=[vn.MovedPermanently,vn.ResourceMoved,vn.SeeOther,vn.TemporaryRedirect,vn.PermanentRedirect],a1e=[vn.BadGateway,vn.ServiceUnavailable,vn.GatewayTimeout];var Jq=require("os"),Bd=require("fs");var WQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:PAe,appendFile:vAe,writeFile:kAe}=Bd.promises,Yq="GITHUB_STEP_SUMMARY";var jQ=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return WQ(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Yq];if(!e)throw new Error(`Unable to find environment variable for $${Yq}. Check if your runtime environment supports job summaries.`);try{yield PAe(e,Bd.constants.R_OK|Bd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return WQ(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?kAe:vAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return WQ(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(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(Jq.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},f1e=new jQ;var ix=b(require("os"),1);var nx=require("string_decoder");var Qd=b(require("os"),1),sx=b(require("events"),1),aG=b(require("child_process"),1),cG=b(require("path"),1);var rG=require("assert"),es=b(require("path"),1);var wd=b(require("fs"),1),vo=b(require("path"),1);var KQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{chmod:XQ,copyFile:jq,lstat:Vf,mkdir:Kq,open:I1e,readdir:ZQ,rename:DAe,rm:Xq,rmdir:B1e,stat:Ua,symlink:Zq,unlink:ex}=wd.promises,kn=process.platform==="win32";function eG(t){return KQ(this,void 0,void 0,function*(){let e=yield wd.promises.readlink(t);return kn&&!e.endsWith("\\")?`${e}\\`:e})}o(eG,"readlink");var w1e=wd.constants.O_RDONLY;function Gl(t){return KQ(this,void 0,void 0,function*(){try{yield Ua(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Gl,"exists");function $f(t){if(t=_Ae(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return kn?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o($f,"isRooted");function tx(t,e){return KQ(this,void 0,void 0,function*(){let r;try{r=yield Ua(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if(kn){let n=vo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(Wq(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield Ua(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(kn){try{let i=vo.dirname(t),a=vo.basename(t).toUpperCase();for(let c of yield ZQ(i))if(a===c.toUpperCase()){t=vo.join(i,c);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(Wq(r))return t}}return""})}o(tx,"tryGetExecutablePath");function _Ae(t){return t=t||"",kn?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(_Ae,"normalizeSeparators");function Wq(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(Wq,"isUnixExecutable");var qa=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function sG(t,e){return qa(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:a,copySourceDirectory:c}=MAe(n),l=(yield Gl(s))?yield Ua(s):null;if(l&&l.isFile()&&!i)return;let u=l&&l.isDirectory()&&c?es.join(s,es.basename(r)):s;if(!(yield Gl(r)))throw new Error(`no such file or directory: ${r}`);if((yield Ua(r)).isDirectory())if(a)yield nG(r,u,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(es.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield iG(r,u,i)}})}o(sG,"cp");function bd(t){return qa(this,void 0,void 0,function*(){if(kn&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield Xq(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(bd,"rmRF");function Ga(t){return qa(this,void 0,void 0,function*(){(0,rG.ok)(t,"a path argument must be provided"),yield Kq(t,{recursive:!0})})}o(Ga,"mkdirP");function Nr(t,e){return qa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield Nr(t,!1);if(!s)throw kn?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return s}let r=yield LAe(t);return r&&r.length>0?r[0]:""})}o(Nr,"which");function LAe(t){return qa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(kn&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(es.delimiter))n&&e.push(n);if($f(t)){let n=yield tx(t,e);return n?[n]:[]}if(t.includes(es.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(es.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield tx(es.join(n,t),e);i&&s.push(i)}return s})}o(LAe,"findInPath");function MAe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,s=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:s}}o(MAe,"readCopyOptions");function nG(t,e,r,s){return qa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ga(e);let n=yield ZQ(t);for(let i of n){let a=`${t}/${i}`,c=`${e}/${i}`;(yield Vf(a)).isDirectory()?yield nG(a,c,r,s):yield iG(a,c,s)}yield XQ(e,(yield Ua(t)).mode)})}o(nG,"cpDirRecursive");function iG(t,e,r){return qa(this,void 0,void 0,function*(){if((yield Vf(t)).isSymbolicLink()){try{yield Vf(e),yield ex(e)}catch(n){n.code==="EPERM"&&(yield XQ(e,"0666"),yield ex(e))}let s=yield eG(t);yield Zq(s,e,kn?"junction":null)}else(!(yield Gl(e))||r)&&(yield jq(t,e))})}o(iG,"copyFile");var lG=require("timers");var oG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Yf=process.platform==="win32",Jf=class extends sx.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,s){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=s||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let s=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=r?"":"[command]";if(Yf)if(this._isCmdFile()){i+=s;for(let a of n)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${s}"`;for(let a of n)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(s);for(let a of n)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=s;for(let a of n)i+=` ${a}`}return i}_processLineBuffer(e,r,s){try{let n=r+e.toString(),i=n.indexOf(Qd.EOL);for(;i>-1;){let a=n.substring(0,i);s(a),n=n.substring(i+Qd.EOL.length),i=n.indexOf(Qd.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return Yf&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Yf&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let s of this.args)r+=" ",r+=e.windowsVerbatimArguments?s:this._windowsQuoteCmdArg(s);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],s=!1;for(let a of e)if(r.some(c=>c===a)){s=!0;break}if(!s)return e;let n='"',i=!0;for(let a=e.length;a>0;a--)n+=e[a-1],i&&e[a-1]==="\\"?n+="\\":e[a-1]==='"'?(i=!0,n+='"'):i=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',s=!0;for(let n=e.length;n>0;n--)r+=e[n-1],s&&e[n-1]==="\\"?r+="\\":e[n-1]==='"'?(s=!0,r+="\\"):s=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let s={};return s.cwd=e.cwd,s.env=e.env,s.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(s.argv0=`"${r}"`),s}exec(){return oG(this,void 0,void 0,function*(){return!$f(this.toolPath)&&(this.toolPath.includes("/")||Yf&&this.toolPath.includes("\\"))&&(this.toolPath=cG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield Nr(this.toolPath,!0),new Promise((e,r)=>oG(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let u of this.args)this._debug(` ${u}`);let s=this._cloneExecOptions(this.options);!s.silent&&s.outStream&&s.outStream.write(this._getCommandString(s)+Qd.EOL);let n=new rx(s,this.toolPath);if(n.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield Gl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=aG.spawn(i,this._getSpawnArgs(s),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!s.silent&&s.outStream&&s.outStream.write(u),c=this._processLineBuffer(u,c,A=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(A)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!s.silent&&s.errStream&&s.outStream&&(s.failOnStdErr?s.errStream:s.outStream).write(u),l=this._processLineBuffer(u,l,A=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(A)})}),a.on("error",u=>{n.processError=u.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()}),a.on("exit",u=>{n.processExitCode=u,n.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),n.CheckComplete()}),a.on("close",u=>{n.processExitCode=u,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()}),n.on("done",(u,A)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(A)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function uG(t){let e=[],r=!1,s=!1,n="";function i(a){s&&a!=='"'&&(n+="\\"),n+=a,s=!1}o(i,"append");for(let a=0;a0&&(e.push(n),n="");continue}i(c)}return n.length>0&&e.push(n.trim()),e}o(uG,"argStringToArray");var rx=class t extends sx.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,lG.setTimeout)(t.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let r=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(r)}e._setResult()}}};var AG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function ko(t,e,r){return AG(this,void 0,void 0,function*(){let s=uG(t);if(s.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let n=s[0];return e=s.slice(1).concat(e||[]),new Jf(n,e,r).exec()})}o(ko,"exec");function Ha(t,e,r){return AG(this,void 0,void 0,function*(){var s,n;let i="",a="",c=new nx.StringDecoder("utf8"),l=new nx.StringDecoder("utf8"),u=(s=r?.listeners)===null||s===void 0?void 0:s.stdout,A=(n=r?.listeners)===null||n===void 0?void 0:n.stderr,d=o(f=>{a+=l.write(f),A&&A(f)},"stdErrListener"),p=o(f=>{i+=c.write(f),u&&u(f)},"stdOutListener"),m=Object.assign(Object.assign({},r?.listeners),{stdout:p,stderr:d}),h=yield ko(t,e,Object.assign(Object.assign({},r),{listeners:m}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Ha,"getExecOutput");var R1e=ix.default.platform(),T1e=ix.default.arch();var UAe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ox;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(ox||(ox={}));function ql(t){po("add-mask",{},t)}o(ql,"setSecret");function Vl(t,e){let r=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!r)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?r:r.trim()}o(Vl,"getInput");function dG(t,e){if(process.env.GITHUB_OUTPUT||"")return CB("OUTPUT",IB(t,e));process.stdout.write(ax.EOL),po("set-output",{name:t},wi(e))}o(dG,"setOutput");function pG(t){process.exitCode=ox.Failure,$l(t)}o(pG,"setFailed");function za(){return process.env.RUNNER_DEBUG==="1"}o(za,"isDebug");function w(t){po("debug",{},t)}o(w,"debug");function $l(t,e={}){po("error",gB(e),t instanceof Error?t.toString():t)}o($l,"error");function It(t,e={}){po("warning",gB(e),t instanceof Error?t.toString():t)}o(It,"warning");function re(t){process.stdout.write(t+ax.EOL)}o(re,"info");function qAe(t){yB("group",t)}o(qAe,"startGroup");function GAe(){yB("endgroup")}o(GAe,"endGroup");function xd(t,e){return UAe(this,void 0,void 0,function*(){qAe(t);let r;try{r=yield e()}finally{GAe()}return r})}o(xd,"group");function Wf(t,e){if(process.env.GITHUB_STATE||"")return CB("STATE",IB(t,e));po("save-state",{name:t},wi(e))}o(Wf,"saveState");function mG(t){return process.env[`STATE_${t}`]||""}o(mG,"getState");var Em=b(require("fs"),1),hk=b(require("os"),1),fk=b(require("path"),1);var fG=b(require("os"),1);function Nd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Nd,"toCommandValue");function gG(t,e,r){let s=new cx(t,e,r);process.stdout.write(s.toString()+fG.EOL)}o(gG,"issueCommand");var hG="::",cx=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=hG+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${zAe(n)}`)}}return e+=`${hG}${HAe(this.message)}`,e}};function HAe(t){return Nd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(HAe,"escapeData");function zAe(t){return Nd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(zAe,"escapeProperty");var yG=require("os"),Sd=require("fs");var lx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:VAe,appendFile:$Ae,writeFile:YAe}=Sd.promises,EG="GITHUB_STEP_SUMMARY";var ux=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return lx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[EG];if(!e)throw new Error(`Unable to find environment variable for $${EG}. Check if your runtime environment supports job summaries.`);try{yield VAe(e,Sd.constants.R_OK|Sd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return lx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?YAe:$Ae)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return lx(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(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(yG.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},o2e=new ux;var Ax=b(require("os"),1);var A2e=Ax.default.platform(),d2e=Ax.default.arch();var CG;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(CG||(CG={}));function ar(t){gG("debug",{},t)}o(ar,"debug");var Sr=b(require("fs"),1);var zme=b(Px(),1);var cg=b(require("os"),1),Do=b(require("path"),1);var ws=b(Px(),1);var Az=require("assert");var uz=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};var yGe=process.platform==="win32",CGe=process.platform==="darwin";function dz(t,e,r,s){return uz(this,void 0,void 0,function*(){if(r=ws.clean(r)||r,s=s||cg.arch(),ar(`Caching tool ${e} ${r} ${s}`),ar(`source dir: ${t}`),!Sr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield Yme(e,r,s);for(let i of Sr.readdirSync(t)){let a=Do.join(t,i);yield sG(a,n,{recursive:!0})}return Jme(e,r,s),n})}o(dz,"cacheDir");function pz(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||cg.arch(),!mz(e)){let n=$me(t,r);e=Wme(n,e)}let s="";if(e){e=ws.clean(e)||"";let n=Do.join(lg(),t,e,r);ar(`checking cache: ${n}`),Sr.existsSync(n)&&Sr.existsSync(`${n}.complete`)?(ar(`Found tool in cache ${t} ${e} ${r}`),s=n):ar("not found")}return s}o(pz,"find");function $me(t,e){let r=[];e=e||cg.arch();let s=Do.join(lg(),t);if(Sr.existsSync(s)){let n=Sr.readdirSync(s);for(let i of n)if(mz(i)){let a=Do.join(s,i,e||"");Sr.existsSync(a)&&Sr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o($me,"findAllVersions");function Yme(t,e,r){return uz(this,void 0,void 0,function*(){let s=Do.join(lg(),t,ws.clean(e)||e,r||"");ar(`destination ${s}`);let n=`${s}.complete`;return yield bd(s),yield bd(n),yield Ga(s),s})}o(Yme,"_createToolPath");function Jme(t,e,r){let n=`${Do.join(lg(),t,ws.clean(e)||e,r||"")}.complete`;Sr.writeFileSync(n,""),ar("finished caching tool")}o(Jme,"_completeToolPath");function mz(t){let e=ws.clean(t)||"";ar(`isExplicit: ${e}`);let r=ws.valid(e)!=null;return ar(`explicit? ${r}`),r}o(mz,"isExplicitVersion");function Wme(t,e){let r="";ar(`evaluating ${t.length} versions`),t=t.sort((s,n)=>ws.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(ws.satisfies(n,e)){r=n;break}}return r?ar(`matched: ${r}`):ar("match not found"),r}o(Wme,"evaluateVersions");function lg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Az.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(lg,"_getCacheDirectory");var gm=b(require("path"),1);var fz=b(require("os"),1);function Ld(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Ld,"toCommandValue");function gz(t,e,r){let s=new vx(t,e,r);process.stdout.write(s.toString()+fz.EOL)}o(gz,"issueCommand");var hz="::",vx=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=hz+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${Xme(n)}`)}}return e+=`${hz}${Kme(this.message)}`,e}};function Kme(t){return Ld(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Kme,"escapeData");function Xme(t){return Ld(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Xme,"escapeProperty");var yz=require("os"),Md=require("fs");var kx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:Zme,appendFile:ehe,writeFile:the}=Md.promises,Ez="GITHUB_STEP_SUMMARY";var Dx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return kx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Ez];if(!e)throw new Error(`Unable to find environment variable for $${Ez}. Check if your runtime environment supports job summaries.`);try{yield Zme(e,Md.constants.R_OK|Md.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return kx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?the:ehe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return kx(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(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(yz.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},LGe=new Dx;var _x=b(require("os"),1);var qGe=_x.default.platform(),GGe=_x.default.arch();var Cz;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Cz||(Cz={}));function bs(t){gz("debug",{},t)}o(bs,"debug");var Kl=b(require("fs"),1);function Mx(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,bs(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,bs(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,bs(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,bs(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,bs(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Mx,"getOptions");var pg=b(require("path"),1);var Jl=b(require("path"),1),_o=b(require("assert"),1);var Lo=process.platform==="win32";function Fi(t){if(t=Oi(t),Lo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Jl.dirname(t);return Lo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Oi(e)),e}o(Fi,"dirname");function ug(t,e){if((0,_o.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,_o.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Od(e))return e;if(Lo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,_o.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),e[0].toUpperCase()===r[0].toUpperCase()?e.length===2?`${e[0]}:\\${r.substr(3)}`:(r.endsWith("\\")||(r+="\\"),`${e[0]}:\\${r.substr(3)}${e.substr(2)}`):`${e[0]}:\\${e.substr(2)}`}else if(cn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,_o.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),`${r[0]}:\\${e.substr(1)}`}}return(0,_o.default)(Od(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Lo&&t.endsWith("\\")||(t+=Jl.sep),t+e}o(ug,"ensureAbsoluteRoot");function Od(t){return(0,_o.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=cn(t),Lo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Od,"hasAbsoluteRoot");function Fd(t){return(0,_o.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=cn(t),Lo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Fd,"hasRoot");function cn(t){return t=t||"",Lo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(cn,"normalizeSeparators");function Oi(t){return t?(t=cn(t),!t.endsWith(Jl.sep)||t===Jl.sep||Lo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Oi,"safeTrimTrailingSeparator");var ln;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(ln||(ln={}));var Iz=process.platform==="win32";function Fx(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=Iz?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=Iz?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,a=n,c=Fi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Fi(a)}i||(r.push(s.searchPath),e[n]="included")}return r}o(Fx,"getSearchPaths");function Bz(t,e){let r=ln.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}o(Bz,"match");function wz(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(wz,"partialMatch");var Gz=b(require("os"),1),jl=b(require("path"),1);var Fo=b(require("assert"),1);var Ux=o((t,e,r)=>{let s=t instanceof RegExp?bz(t,r):t,n=e instanceof RegExp?bz(e,r):e,i=s!==null&&n!=null&&ihe(s,n,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+s.length,i[1]),post:r.slice(i[1]+n.length)}},"balanced"),bz=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),ihe=o((t,e,r)=>{let s,n,i,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),A=l;if(l>=0&&u>0){if(t===e)return[l,u];for(s=[],i=r.length;A>=0&&!c;){if(A===l)s.push(A),l=r.indexOf(t,A+1);else if(s.length===1){let d=s.pop();d!==void 0&&(c=[d,u])}else n=s.pop(),n!==void 0&&n=0?l:u}s.length&&a!==void 0&&(c=[i,a])}return c},"range");var Qz="\0SLASH"+Math.random()+"\0",xz="\0OPEN"+Math.random()+"\0",zx="\0CLOSE"+Math.random()+"\0",Nz="\0COMMA"+Math.random()+"\0",Sz="\0PERIOD"+Math.random()+"\0",ohe=new RegExp(Qz,"g"),ahe=new RegExp(xz,"g"),che=new RegExp(zx,"g"),lhe=new RegExp(Nz,"g"),uhe=new RegExp(Sz,"g"),Ahe=/\\\\/g,dhe=/\\{/g,phe=/\\}/g,mhe=/\\,/g,hhe=/\\\./g,fhe=1e5,ghe=4e6,Ehe=1e3,yhe=1e3;function qx(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(qx,"numeric");function Che(t){return t.replace(Ahe,Qz).replace(dhe,xz).replace(phe,zx).replace(mhe,Nz).replace(hhe,Sz)}o(Che,"escapeBraces");function Ihe(t){return t.replace(ohe,"\\").replace(ahe,"{").replace(che,"}").replace(lhe,",").replace(uhe,".")}o(Ihe,"unescapeBraces");function Gx(t,e){for(let r=0;r=e}o(xhe,"gte");function Ud(t,e,r,s,n,i){let a=[],c=0;for(let l=0;l=s)return a;let A=t[l]+e+r[u];if(!(i&&!A)){if(c+A.length>n)return a;a.push(A),c+=A.length}}return a}o(Ud,"combine");function Nhe(t,e,r,s){let n=t.split(/\.\./),i=[];if(n[0]===void 0||n[1]===void 0)return i;let a=qx(n[0]),c=qx(n[1]),l=Math.max(n[0].length,n[1].length),u=n.length===3&&n[2]!==void 0?Math.max(Math.abs(qx(n[2])),1):1,A=Qhe;c0){let E=new Array(C+1).join("0");h<0?f="-"+E+f.slice(1):f=E+f}}if(m+f.length>s)break;i.push(f),m+=f.length}return i}o(Nhe,"expandSequence");function Hx(t,e,r,s,n,i,a){if(n>s)return[t];let c=[""],l=0,u=!1,A=!0;for(;;){let d=Ux("{","}",t);if(!d)return Ud(c,t,[""],e,r,u);let p=d.pre;if(/\$$/.test(p)){if(c=Ud(c,p+"{"+d.body+"}",[""],e,r,u&&!d.post.length),A=!1,!d.post.length)break;t=d.post;continue}let m=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(d.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(d.body),f=m||h,C=d.body.indexOf(",")>=0;if(!f&&!C){if(l=e||B+Ie.length>r)break e;E.push(Ie),B+=Ie.length}}}}if(c=Ud(c,p,E,e,r,u&&!d.post.length),!d.post.length)break;t=d.post}return c}o(Hx,"expand_");var qd=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},"assertValidPattern");var She={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Gd=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),Rhe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),Tz=o(t=>t.join(""),"rangesToString"),Pz=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let s=[],n=[],i=r+1,a=!1,c=!1,l=!1,u=!1,A=r,d="";e:for(;id?s.push(Gd(d)+"-"+Gd(f)):f===d&&s.push(Gd(f)),d="",i++;continue}if(t.startsWith("-]",i+1)){s.push(Gd(f+"-")),i+=2;continue}if(t.startsWith("-",i+1)){d=f,i+=2;continue}s.push(Gd(f)),i++}if(Ar?e?t.replace(/\[([^/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):e?t.replace(/\[([^/\\{}])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),"unescape");var Rr,The=new Set(["!","?","+","*","@"]),Vx=o(t=>The.has(t),"isExtglobType"),vz=o(t=>Vx(t.type),"isExtglobAST"),Phe=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),vhe=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),khe=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),kz=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),Dhe="(?!(?:^|/)\\.\\.?(?:$|/))",Ag="(?!\\.)",_he=new Set(["[","."]),Lhe=new Set(["..","."]),Mhe=new Set("().*{}+?[]^$\\!"),Ohe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),$x="[^/]",Dz=$x+"*?",_z=$x+"+?",Fhe=0,$a=class{static{o(this,"AST")}type;#e;#t;#s=!1;#r=[];#n;#i;#o;#a=!1;#l;#c;#u=!1;id=++Fhe;get depth(){return(this.#n?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#n?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,r,s={}){this.type=e,e&&(this.#t=!0),this.#n=r,this.#e=this.#n?this.#n.#e:this,this.#l=this.#e===this?s:this.#e.#l,this.#o=this.#e===this?[]:this.#e.#o,e==="!"&&!this.#e.#a&&this.#o.push(this),this.#i=this.#n?this.#n.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#c=this.#r.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#a)return this;this.toString(),this.#a=!0;let e;for(;e=this.#o.pop();){if(e.type!=="!")continue;let r=e,s=r.#n;for(;s;){for(let n=r.#i+1;!s.type&&ntypeof r=="string"?r:r.toJSON()):[this.type,...this.#r.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#a&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(this.#i===0)return!0;let e=this.#n;for(let r=0;rtypeof m!="string"),u=this.#r.map(m=>{let[h,f,C,E]=typeof m=="string"?Rr.#w(m,this.#t,l):m.toRegExpSource(e);return this.#t=this.#t||C,this.#s=this.#s||E,h}).join(""),A="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&Lhe.has(this.#r[0]))){let h=_he,f=r&&h.has(u.charAt(0))||u.startsWith("\\.")&&h.has(u.charAt(2))||u.startsWith("\\.\\.")&&h.has(u.charAt(4)),C=!r&&!e&&h.has(u.charAt(0));A=f?Dhe:C?Ag:""}let d="";return this.isEnd()&&this.#e.#a&&this.#n?.type==="!"&&(d="(?:$|\\/)"),[A+u+d,Mo(u),this.#t=!!this.#t,this.#s]}let s=this.type==="*"||this.type==="+",n=this.type==="!"?"(?:(?!(?:":"(?:",i=this.#f(r);if(this.isStart()&&this.isEnd()&&!i&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,Mo(this.toString()),!1,!1]}let a=!s||e||r||!Ag?"":this.#f(!0);a===i&&(a=""),a&&(i=`(?:${i})(?:${a})*?`);let c="";if(this.type==="!"&&this.#u)c=(this.isStart()&&!r?Ag:"")+_z;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?Ag:"")+Dz+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=n+i+l}return[c,Mo(i),this.#t=!!this.#t,this.#s]}#p(){if(vz(this)){let e=0,r=!1;do{r=!0;for(let s=0;s{if(typeof r=="string")throw new Error("string type in extglob ast??");let[s,n,i,a]=r.toRegExpSource(e);return this.#s=this.#s||a,s}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#w(e,r,s=!1){let n=!1,i="",a=!1,c=!1;for(let l=0;lr?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");var ur=o((t,e,r={})=>(qd(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Oo(e,r).match(t)),"minimatch"),Uhe=/^\*+([^+@!?*[(]*)$/,qhe=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),Ghe=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),Hhe=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),zhe=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),Vhe=/^\*+\.\*+$/,$he=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),Yhe=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),Jhe=/^\.\*+$/,Whe=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),jhe=/^\*+$/,Khe=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),Xhe=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),Zhe=/^\?+([^+@!?*[(]*)?$/,efe=o(([t,e=""])=>{let r=Oz([t]);return e?(e=e.toLowerCase(),s=>r(s)&&s.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),tfe=o(([t,e=""])=>{let r=Fz([t]);return e?(e=e.toLowerCase(),s=>r(s)&&s.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),rfe=o(([t,e=""])=>{let r=Fz([t]);return e?s=>r(s)&&s.endsWith(e):r},"qmarksTestDot"),sfe=o(([t,e=""])=>{let r=Oz([t]);return e?s=>r(s)&&s.endsWith(e):r},"qmarksTest"),Oz=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),Fz=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),Uz=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Lz={win32:{sep:"\\"},posix:{sep:"/"}},nfe=Uz==="win32"?Lz.win32.sep:Lz.posix.sep;ur.sep=nfe;var er=Symbol("globstar **");ur.GLOBSTAR=er;var ife="[^/]",ofe=ife+"*?",afe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",cfe="(?:(?!(?:\\/|^)\\.).)*?",lfe=o((t,e={})=>r=>ur(r,t,e),"filter");ur.filter=lfe;var Qs=o((t,e={})=>Object.assign({},t,e),"ext"),ufe=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return ur;let e=ur;return Object.assign(o((s,n,i={})=>e(s,n,Qs(t,i)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(n,i={}){super(n,Qs(t,i))}static defaults(n){return e.defaults(Qs(t,n)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(n,i,a={}){super(n,i,Qs(t,a))}static fromGlob(n,i={}){return e.AST.fromGlob(n,Qs(t,i))}},unescape:o((s,n={})=>e.unescape(s,Qs(t,n)),"unescape"),escape:o((s,n={})=>e.escape(s,Qs(t,n)),"escape"),filter:o((s,n={})=>e.filter(s,Qs(t,n)),"filter"),defaults:o(s=>e.defaults(Qs(t,s)),"defaults"),makeRe:o((s,n={})=>e.makeRe(s,Qs(t,n)),"makeRe"),braceExpand:o((s,n={})=>e.braceExpand(s,Qs(t,n)),"braceExpand"),match:o((s,n,i={})=>e.match(s,n,Qs(t,i)),"match"),sep:e.sep,GLOBSTAR:er})},"defaults");ur.defaults=ufe;var qz=o((t,e={})=>(qd(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Rz(t,{max:e.braceExpandMax})),"braceExpand");ur.braceExpand=qz;var Afe=o((t,e={})=>new Oo(t,e).makeRe(),"makeRe");ur.makeRe=Afe;var dfe=o((t,e,r={})=>{let s=new Oo(e,r);return t=t.filter(n=>s.match(n)),s.options.nonull&&!t.length&&t.push(e),t},"match");ur.match=dfe;var Mz=/[?*]|[+@!]\(.*?\)|\[|\]/,pfe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),Oo=class{static{o(this,"Minimatch")}options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,r={}){qd(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||Uz,this.isWindows=this.platform==="win32";let s="allowWindowsEscape";this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r[s]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,this.globSet);let s=this.globSet.map(i=>this.slashSplit(i));this.globParts=this.preprocess(s),this.debug(this.pattern,this.globParts);let n=this.globParts.map((i,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=i[0]===""&&i[1]===""&&(i[2]==="?"||!Mz.test(i[2]))&&!Mz.test(i[3]),u=/^[a-z]:/i.test(i[0]);if(l)return[...i.slice(0,4),...i.slice(4).map(A=>this.parse(A))];if(u)return[i[0],...i.slice(1).map(A=>this.parse(A))]}return i.map(l=>this.parse(l))});if(this.debug(this.pattern,n),this.set=n.filter(i=>i.indexOf(!1)===-1),this.isWindows)for(let i=0;i=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let s=-1;for(;(s=r.indexOf("**",s+1))!==-1;){let n=s;for(;r[n+1]==="**";)n++;n!==s&&r.splice(s,n-s)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((s,n)=>{let i=s[s.length-1];return n==="**"&&i==="**"?s:n===".."&&i&&i!==".."&&i!=="."&&i!=="**"?(s.pop(),s):(s.push(n),s)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let n=1;nn&&s.splice(n+1,a-n);let c=s[n+1],l=s[n+2],u=s[n+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,s.splice(n,1);let A=s.slice(0);A[n]="**",e.push(A),n--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,s=!1){let n=0,i=0,a=[],c="";for(;n=2&&(e=this.levelTwoFileOptimize(e)),r.includes(er)?this.#e(e,r,s,n,i):this.#s(e,r,s,n,i)}#e(e,r,s,n,i){let a=r.indexOf(er,i),c=r.lastIndexOf(er),[l,u,A]=s?[r.slice(i,a),r.slice(a+1),[]]:[r.slice(i,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let y=e.slice(n,n+l.length);if(!this.#s(y,l,s,0,0))return!1;n+=l.length,i+=l.length}let d=0;if(A.length){if(A.length+n>e.length)return!1;let y=e.length-A.length;if(this.#s(e,A,s,y,0))d=A.length;else{if(e[e.length-1]!==""||n+A.length===e.length||(y--,!this.#s(e,A,s,y,0)))return!1;d=A.length+1}}if(!u.length){let y=!!d;for(let I=n;I{let u=l.map(d=>{if(d instanceof RegExp)for(let p of d.flags.split(""))n.add(p);return typeof d=="string"?pfe(d):d===er?er:d._src});u.forEach((d,p)=>{let m=u[p+1],h=u[p-1];d!==er||h===er||(h===void 0?m!==void 0&&m!==er?u[p+1]="(?:\\/|"+s+"\\/)?"+m:u[p]=s:m===void 0?u[p-1]=h+"(?:\\/|\\/"+s+")?":m!==er&&(u[p-1]=h+"(?:\\/|\\/"+s+"\\/)"+m,u[p+1]=er))});let A=u.filter(d=>d!==er);if(this.partial&&A.length>=1){let d=[];for(let p=1;p<=A.length;p++)d.push(A.slice(0,p).join("/"));return"(?:"+d.join("|")+")"}return A.join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];i="^"+a+i+c+"$",this.partial&&(i="^(?:\\/|"+a+i.slice(1,-1)+c+")$"),this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...n].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let s=this.options;this.isWindows&&(e=e.split("\\").join("/"));let n=this.slashSplit(e);this.debug(this.pattern,"split",n);let i=this.set;this.debug(this.pattern,"set",i);let a=n[n.length-1];if(!a)for(let c=n.length-2;!a&&c>=0;c--)a=n[c];for(let c of i){let l=n;if(s.matchBase&&c.length===1&&(l=[a]),this.matchOne(l,c,r))return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate}static defaults(e){return ur.defaults(e).Minimatch}};ur.AST=$a;ur.Minimatch=Oo;ur.escape=Yx;ur.unescape=Mo;var Ya=b(require("path"),1);var Wl=b(require("assert"),1);var mfe=process.platform==="win32",Ja=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,Wl.default)(e,"Parameter 'itemPath' must not be empty"),e=Oi(e),!Fd(e))this.segments=e.split(Ya.sep);else{let r=e,s=Fi(r);for(;s!==r;){let n=Ya.basename(r);this.segments.unshift(n),r=s,s=Fi(r)}this.segments.unshift(r)}else{(0,Wl.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;rt.getLiteral(u)).filter(u=>!a&&!(a=u===""));this.searchPath=new Ja(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ui?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ui,nocomment:!0,noext:!0,nonegate:!0};i=Ui?i.replace(/\\/g,"/"):i,this.minimatch=new Oo(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=cn(e),!e.endsWith(jl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${jl.sep}`)):e=Oi(e),this.minimatch.match(e)?this.trailingSeparator?ln.Directory:ln.All:ln.None}partialMatch(e){return e=Oi(e),Fi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ui?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ui?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Fo.default)(e,"pattern cannot be empty");let s=new Ja(e).segments.map(n=>t.getLiteral(n));if((0,Fo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Fo.default)(!Fd(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=cn(e),e==="."||e.startsWith(`.${jl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${jl.sep}`))r=r||Gz.homedir(),(0,Fo.default)(r,"Unable to determine HOME directory"),(0,Fo.default)(Od(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ui&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=ug("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Ui&&(e==="\\"||e.match(/^\\[^\\]/))){let n=ug("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=ug(t.globEscape(process.cwd()),e);return cn(e)}static getLiteral(e){let r="";for(let s=0;s=0){if(i.length>1)return"";if(i){r+=i,s=a;continue}}}}r+=n}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var zd=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var Jx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},hfe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},Uo=function(t){return this instanceof Uo?(this.v=t,this):new Uo(t)},ffe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(t,e||[]),n,i=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),n[Symbol.asyncIterator]=function(){return this},n;function a(m){return function(h){return Promise.resolve(h).then(m,d)}}function c(m,h){s[m]&&(n[m]=function(f){return new Promise(function(C,E){i.push([m,f,C,E])>1||l(m,f)})},h&&(n[m]=h(n[m])))}function l(m,h){try{u(s[m](h))}catch(f){p(i[0][3],f)}}function u(m){m.value instanceof Uo?Promise.resolve(m.value.v).then(A,d):p(i[0][2],m)}function A(m){l("next",m)}function d(m){l("throw",m)}function p(m,h){m(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},gfe=process.platform==="win32",dg=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Mx(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Jx(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var a=!0,c=hfe(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){n=l.value,a=!1;let u=n;i.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(s=c.return)&&(yield s.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return ffe(this,arguments,o(function*(){let r=Mx(this.options),s=[];for(let a of this.patterns)s.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&s.push(new Hd(a.negate,!0,a.segments.concat("**")));let n=[];for(let a of Fx(s)){bs(`Search path '${a}'`);try{yield Uo(Kl.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}n.unshift(new zd(a,1))}let i=[];for(;n.length;){let a=n.pop(),c=Bz(s,a.path),l=!!c||wz(s,a.path);if(!c&&!l)continue;let u=yield Uo(t.stat(a,r,i));if(u&&!(r.excludeHiddenFiles&&pg.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&ln.Directory&&r.matchDirectories)yield yield Uo(a.path);else if(!l)continue;let A=a.level+1,d=(yield Uo(Kl.promises.readdir(a.path))).map(p=>new zd(pg.join(a.path,p),A));n.push(...d.reverse())}else c&ln.File&&(yield yield Uo(a.path))}},"globGenerator_1"))}static create(e,r){return Jx(this,void 0,void 0,function*(){let s=new t(r);gfe&&(e=e.replace(/\r\n/g,` + `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(O_e(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,l=o(function(A){a.replaceStack(function(d){var p=a.nameLookup(d,r[A],e);return n?[" && ",p]:[" != null ? ",p," : ",d]})},"_loop"),u=s;uthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},"incrStack"),topStackName:o(function(){return"stack"+this.stackSlot},"topStackName"),flushInline:o(function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,s=e.length;r{"use strict";KI.__esModule=!0;function km(t){return t&&t.__esModule?t:{default:t}}o(km,"_interopRequireDefault");var F_e=v6(),U_e=km(F_e),q_e=uD(),G_e=km(q_e),OD=$6(),FD=K6(),H_e=vK(),z_e=km(H_e),V_e=UI(),$_e=km(V_e),Y_e=oD(),J_e=km(Y_e),W_e=U_e.default.create;function kK(){var t=W_e();return t.compile=function(e,r){return FD.compile(e,r,t)},t.precompile=function(e,r){return FD.precompile(e,r,t)},t.AST=G_e.default,t.Compiler=FD.Compiler,t.JavaScriptCompiler=z_e.default,t.Parser=OD.parser,t.parse=OD.parse,t.parseWithoutProcessing=OD.parseWithoutProcessing,t}o(kK,"create");var pA=kK();pA.create=kK;J_e.default(pA);pA.Visitor=$_e.default;pA.default=pA;KI.default=pA;DK.exports=KI.default});var LK=g(XI=>{"use strict";XI.__esModule=!0;XI.print=Z_e;XI.PrintVisitor=ot;function j_e(t){return t&&t.__esModule?t:{default:t}}o(j_e,"_interopRequireDefault");var K_e=UI(),X_e=j_e(K_e);function Z_e(t){return new ot().accept(t)}o(Z_e,"print");function ot(){this.padding=0}o(ot,"PrintVisitor");ot.prototype=new X_e.default;ot.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};ot.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};ot.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};ot.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};ot.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{"use strict";Object.defineProperty(nB,"__esModule",{value:!0});nB.getProxyUrl=sLe;nB.checkBypass=ZK;function sLe(t){let e=t.protocol==="https:";if(ZK(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new sB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new sB(`http://${r}`)}else return}o(sLe,"getProxyUrl");function ZK(t){if(!t.hostname)return!1;let e=t.hostname;if(nLe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(ZK,"checkBypass");function nLe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(nLe,"isLoopbackAddress");var sB=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var rX=g(Je=>{"use strict";var iLe=Je&&Je.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),oLe=Je&&Je.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cB=Je&&Je.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;nht(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Je.HttpClientResponse=aB;function mLe(t){return new URL(t).protocol==="https:"}o(mLe,"isHttps");var $D=class{static{o(this,"HttpClient")}constructor(e,r,s){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=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ht(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ht(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ht(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ht(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ht(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ht(this,arguments,void 0,function*(r,s={}){s[yr.Accept]=this._getExistingOrDefaultHeader(s,yr.Accept,lo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,lo.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,lo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,lo.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,lo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,lo.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,lo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ht(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&ALe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Ys.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&lLe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!uLe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new aB(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=VD.getProxyUrl(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?tX:zD;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Om(this.requestOptions.headers),Om(e||{})):Om(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Om(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Om(this.requestOptions.headers)[yr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[yr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=VD.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||zD.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?iB.httpsOverHttps:iB.httpsOverHttp:l=u?iB.httpOverHttps:iB.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new tX.Agent(c):new zD.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new aLe.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ht(this,void 0,void 0,function*(){e=Math.min(dLe,e);let r=pLe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ht(this,void 0,void 0,function*(){return new Promise((s,n)=>ht(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Ys.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new oB(A,i);d.result=a.result,n(d)}else s(a)}))})}};Je.HttpClient=$D;var Om=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var bX=g((opt,Um)=>{"use strict";var dB=o(function(){},"NullObject");dB.prototype=Object.create(null);var uB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,AB=/\\([\v\u0020-\u00ff])/gu,IX=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Fc={type:"",parameters:new dB};Object.freeze(Fc.parameters);Object.freeze(Fc);function BX(t){if(typeof t!="string")throw new TypeError("argument header is required and must be a string");let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(IX.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new dB};if(e===-1)return s;let n,i,a;for(uB.lastIndex=e;i=uB.exec(t);){if(i.index!==e)throw new TypeError("invalid parameter format");e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),AB.test(a)&&(a=a.replace(AB,"$1"))),s.parameters[n]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return s}o(BX,"parse");function wX(t){if(typeof t!="string")return Fc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(IX.test(r)===!1)return Fc;let s={type:r.toLowerCase(),parameters:new dB};if(e===-1)return s;let n,i,a;for(uB.lastIndex=e;i=uB.exec(t);){if(i.index!==e)return Fc;e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),AB.test(a)&&(a=a.replace(AB,"$1"))),s.parameters[n]=a}return e!==t.length?Fc:s}o(wX,"safeParse");Um.exports.default={parse:BX,safeParse:wX};Um.exports.parse=BX;Um.exports.safeParse=wX;Um.exports.defaultContentType=Fc});var h_=b(require("os"),1);function wi(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(wi,"toCommandValue");function yB(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(yB,"toCommandProperties");function po(t,e,r){let s=new CB(t,e,r);process.stdout.write(s.toString()+h_.EOL)}o(po,"issueCommand");function IB(t,e=""){po(t,{},e)}o(IB,"issue");var m_="::",CB=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=m_+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${cZ(n)}`)}}return e+=`${m_}${aZ(this.message)}`,e}};function aZ(t){return wi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(aZ,"escapeData");function cZ(t){return wi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(cZ,"escapeProperty");var f_=b(require("crypto"),1),Jm=b(require("fs"),1),Ym=b(require("os"),1);function BB(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Jm.existsSync(r))throw new Error(`Missing file at path: ${r}`);Jm.appendFileSync(r,`${wi(e)}${Ym.EOL}`,{encoding:"utf8"})}o(BB,"issueFileCommand");function wB(t,e){let r=`ghadelimiter_${f_.randomUUID()}`,s=wi(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(s.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Ym.EOL}${s}${Ym.EOL}${r}`}o(wB,"prepareKeyValueMessage");var lx=b(require("os"),1);var Vf=b(IA(),1),PAe=b(Ul(),1);var vn;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(vn||(vn={}));var $q;(function(t){t.Accept="accept",t.ContentType="content-type"})($q||($q={}));var Yq;(function(t){t.ApplicationJson="application/json"})(Yq||(Yq={}));var A1e=[vn.MovedPermanently,vn.ResourceMoved,vn.SeeOther,vn.TemporaryRedirect,vn.PermanentRedirect],d1e=[vn.BadGateway,vn.ServiceUnavailable,vn.GatewayTimeout];var jq=require("os"),wd=require("fs");var KQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:kAe,appendFile:DAe,writeFile:_Ae}=wd.promises,Wq="GITHUB_STEP_SUMMARY";var XQ=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return KQ(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Wq];if(!e)throw new Error(`Unable to find environment variable for $${Wq}. Check if your runtime environment supports job summaries.`);try{yield kAe(e,wd.constants.R_OK|wd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return KQ(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?_Ae:DAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return KQ(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(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(jq.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},I1e=new XQ;var ax=b(require("os"),1);var ox=require("string_decoder");var xd=b(require("os"),1),ix=b(require("events"),1),lG=b(require("child_process"),1),uG=b(require("path"),1);var nG=require("assert"),es=b(require("path"),1);var bd=b(require("fs"),1),vo=b(require("path"),1);var ZQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{chmod:ex,copyFile:Xq,lstat:$f,mkdir:Zq,open:x1e,readdir:tx,rename:LAe,rm:eG,rmdir:N1e,stat:Ua,symlink:tG,unlink:rx}=bd.promises,kn=process.platform==="win32";function rG(t){return ZQ(this,void 0,void 0,function*(){let e=yield bd.promises.readlink(t);return kn&&!e.endsWith("\\")?`${e}\\`:e})}o(rG,"readlink");var S1e=bd.constants.O_RDONLY;function Gl(t){return ZQ(this,void 0,void 0,function*(){try{yield Ua(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Gl,"exists");function Yf(t){if(t=MAe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return kn?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Yf,"isRooted");function sx(t,e){return ZQ(this,void 0,void 0,function*(){let r;try{r=yield Ua(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if(kn){let n=vo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(Kq(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield Ua(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(kn){try{let i=vo.dirname(t),a=vo.basename(t).toUpperCase();for(let c of yield tx(i))if(a===c.toUpperCase()){t=vo.join(i,c);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(Kq(r))return t}}return""})}o(sx,"tryGetExecutablePath");function MAe(t){return t=t||"",kn?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(MAe,"normalizeSeparators");function Kq(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(Kq,"isUnixExecutable");var qa=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function iG(t,e){return qa(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:a,copySourceDirectory:c}=FAe(n),l=(yield Gl(s))?yield Ua(s):null;if(l&&l.isFile()&&!i)return;let u=l&&l.isDirectory()&&c?es.join(s,es.basename(r)):s;if(!(yield Gl(r)))throw new Error(`no such file or directory: ${r}`);if((yield Ua(r)).isDirectory())if(a)yield oG(r,u,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(es.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield aG(r,u,i)}})}o(iG,"cp");function Qd(t){return qa(this,void 0,void 0,function*(){if(kn&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield eG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Qd,"rmRF");function Ga(t){return qa(this,void 0,void 0,function*(){(0,nG.ok)(t,"a path argument must be provided"),yield Zq(t,{recursive:!0})})}o(Ga,"mkdirP");function Nr(t,e){return qa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield Nr(t,!1);if(!s)throw kn?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return s}let r=yield OAe(t);return r&&r.length>0?r[0]:""})}o(Nr,"which");function OAe(t){return qa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(kn&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(es.delimiter))n&&e.push(n);if(Yf(t)){let n=yield sx(t,e);return n?[n]:[]}if(t.includes(es.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(es.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield sx(es.join(n,t),e);i&&s.push(i)}return s})}o(OAe,"findInPath");function FAe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,s=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:s}}o(FAe,"readCopyOptions");function oG(t,e,r,s){return qa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ga(e);let n=yield tx(t);for(let i of n){let a=`${t}/${i}`,c=`${e}/${i}`;(yield $f(a)).isDirectory()?yield oG(a,c,r,s):yield aG(a,c,s)}yield ex(e,(yield Ua(t)).mode)})}o(oG,"cpDirRecursive");function aG(t,e,r){return qa(this,void 0,void 0,function*(){if((yield $f(t)).isSymbolicLink()){try{yield $f(e),yield rx(e)}catch(n){n.code==="EPERM"&&(yield ex(e,"0666"),yield rx(e))}let s=yield rG(t);yield tG(s,e,kn?"junction":null)}else(!(yield Gl(e))||r)&&(yield Xq(t,e))})}o(aG,"copyFile");var AG=require("timers");var cG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Jf=process.platform==="win32",Wf=class extends ix.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,s){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=s||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let s=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=r?"":"[command]";if(Jf)if(this._isCmdFile()){i+=s;for(let a of n)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${s}"`;for(let a of n)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(s);for(let a of n)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=s;for(let a of n)i+=` ${a}`}return i}_processLineBuffer(e,r,s){try{let n=r+e.toString(),i=n.indexOf(xd.EOL);for(;i>-1;){let a=n.substring(0,i);s(a),n=n.substring(i+xd.EOL.length),i=n.indexOf(xd.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return Jf&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Jf&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let s of this.args)r+=" ",r+=e.windowsVerbatimArguments?s:this._windowsQuoteCmdArg(s);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],s=!1;for(let a of e)if(r.some(c=>c===a)){s=!0;break}if(!s)return e;let n='"',i=!0;for(let a=e.length;a>0;a--)n+=e[a-1],i&&e[a-1]==="\\"?n+="\\":e[a-1]==='"'?(i=!0,n+='"'):i=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',s=!0;for(let n=e.length;n>0;n--)r+=e[n-1],s&&e[n-1]==="\\"?r+="\\":e[n-1]==='"'?(s=!0,r+="\\"):s=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let s={};return s.cwd=e.cwd,s.env=e.env,s.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(s.argv0=`"${r}"`),s}exec(){return cG(this,void 0,void 0,function*(){return!Yf(this.toolPath)&&(this.toolPath.includes("/")||Jf&&this.toolPath.includes("\\"))&&(this.toolPath=uG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield Nr(this.toolPath,!0),new Promise((e,r)=>cG(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let u of this.args)this._debug(` ${u}`);let s=this._cloneExecOptions(this.options);!s.silent&&s.outStream&&s.outStream.write(this._getCommandString(s)+xd.EOL);let n=new nx(s,this.toolPath);if(n.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield Gl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=lG.spawn(i,this._getSpawnArgs(s),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!s.silent&&s.outStream&&s.outStream.write(u),c=this._processLineBuffer(u,c,A=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(A)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!s.silent&&s.errStream&&s.outStream&&(s.failOnStdErr?s.errStream:s.outStream).write(u),l=this._processLineBuffer(u,l,A=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(A)})}),a.on("error",u=>{n.processError=u.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()}),a.on("exit",u=>{n.processExitCode=u,n.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),n.CheckComplete()}),a.on("close",u=>{n.processExitCode=u,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()}),n.on("done",(u,A)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(A)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function dG(t){let e=[],r=!1,s=!1,n="";function i(a){s&&a!=='"'&&(n+="\\"),n+=a,s=!1}o(i,"append");for(let a=0;a0&&(e.push(n),n="");continue}i(c)}return n.length>0&&e.push(n.trim()),e}o(dG,"argStringToArray");var nx=class t extends ix.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,AG.setTimeout)(t.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let r=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(r)}e._setResult()}}};var pG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function ko(t,e,r){return pG(this,void 0,void 0,function*(){let s=dG(t);if(s.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let n=s[0];return e=s.slice(1).concat(e||[]),new Wf(n,e,r).exec()})}o(ko,"exec");function Ha(t,e,r){return pG(this,void 0,void 0,function*(){var s,n;let i="",a="",c=new ox.StringDecoder("utf8"),l=new ox.StringDecoder("utf8"),u=(s=r?.listeners)===null||s===void 0?void 0:s.stdout,A=(n=r?.listeners)===null||n===void 0?void 0:n.stderr,d=o(f=>{a+=l.write(f),A&&A(f)},"stdErrListener"),p=o(f=>{i+=c.write(f),u&&u(f)},"stdOutListener"),m=Object.assign(Object.assign({},r?.listeners),{stdout:p,stderr:d}),h=yield ko(t,e,Object.assign(Object.assign({},r),{listeners:m}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Ha,"getExecOutput");var D1e=ax.default.platform(),_1e=ax.default.arch();var GAe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},cx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(cx||(cx={}));function ql(t){po("add-mask",{},t)}o(ql,"setSecret");function Vl(t,e){let r=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!r)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?r:r.trim()}o(Vl,"getInput");function Nd(t,e){if(process.env.GITHUB_OUTPUT||"")return BB("OUTPUT",wB(t,e));process.stdout.write(lx.EOL),po("set-output",{name:t},wi(e))}o(Nd,"setOutput");function mG(t){process.exitCode=cx.Failure,$l(t)}o(mG,"setFailed");function za(){return process.env.RUNNER_DEBUG==="1"}o(za,"isDebug");function w(t){po("debug",{},t)}o(w,"debug");function $l(t,e={}){po("error",yB(e),t instanceof Error?t.toString():t)}o($l,"error");function It(t,e={}){po("warning",yB(e),t instanceof Error?t.toString():t)}o(It,"warning");function re(t){process.stdout.write(t+lx.EOL)}o(re,"info");function HAe(t){IB("group",t)}o(HAe,"startGroup");function zAe(){IB("endgroup")}o(zAe,"endGroup");function Yl(t,e){return GAe(this,void 0,void 0,function*(){HAe(t);let r;try{r=yield e()}finally{zAe()}return r})}o(Yl,"group");function jf(t,e){if(process.env.GITHUB_STATE||"")return BB("STATE",wB(t,e));po("save-state",{name:t},wi(e))}o(jf,"saveState");function hG(t){return process.env[`STATE_${t}`]||""}o(hG,"getState");var ym=b(require("fs"),1),gk=b(require("os"),1),Ek=b(require("path"),1);var gG=b(require("os"),1);function Sd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Sd,"toCommandValue");function EG(t,e,r){let s=new ux(t,e,r);process.stdout.write(s.toString()+gG.EOL)}o(EG,"issueCommand");var fG="::",ux=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=fG+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${$Ae(n)}`)}}return e+=`${fG}${VAe(this.message)}`,e}};function VAe(t){return Sd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(VAe,"escapeData");function $Ae(t){return Sd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o($Ae,"escapeProperty");var CG=require("os"),Rd=require("fs");var Ax=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:YAe,appendFile:JAe,writeFile:WAe}=Rd.promises,yG="GITHUB_STEP_SUMMARY";var dx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Ax(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[yG];if(!e)throw new Error(`Unable to find environment variable for $${yG}. Check if your runtime environment supports job summaries.`);try{yield YAe(e,Rd.constants.R_OK|Rd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return Ax(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?WAe:JAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ax(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(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(CG.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},A2e=new dx;var px=b(require("os"),1);var f2e=px.default.platform(),g2e=px.default.arch();var IG;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(IG||(IG={}));function ar(t){EG("debug",{},t)}o(ar,"debug");var Sr=b(require("fs"),1);var $me=b(kx(),1);var lg=b(require("os"),1),Do=b(require("path"),1);var ws=b(kx(),1);var dz=require("assert");var Az=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};var bGe=process.platform==="win32",QGe=process.platform==="darwin";function pz(t,e,r,s){return Az(this,void 0,void 0,function*(){if(r=ws.clean(r)||r,s=s||lg.arch(),ar(`Caching tool ${e} ${r} ${s}`),ar(`source dir: ${t}`),!Sr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield Wme(e,r,s);for(let i of Sr.readdirSync(t)){let a=Do.join(t,i);yield iG(a,n,{recursive:!0})}return jme(e,r,s),n})}o(pz,"cacheDir");function mz(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||lg.arch(),!hz(e)){let n=Jme(t,r);e=Kme(n,e)}let s="";if(e){e=ws.clean(e)||"";let n=Do.join(ug(),t,e,r);ar(`checking cache: ${n}`),Sr.existsSync(n)&&Sr.existsSync(`${n}.complete`)?(ar(`Found tool in cache ${t} ${e} ${r}`),s=n):ar("not found")}return s}o(mz,"find");function Jme(t,e){let r=[];e=e||lg.arch();let s=Do.join(ug(),t);if(Sr.existsSync(s)){let n=Sr.readdirSync(s);for(let i of n)if(hz(i)){let a=Do.join(s,i,e||"");Sr.existsSync(a)&&Sr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(Jme,"findAllVersions");function Wme(t,e,r){return Az(this,void 0,void 0,function*(){let s=Do.join(ug(),t,ws.clean(e)||e,r||"");ar(`destination ${s}`);let n=`${s}.complete`;return yield Qd(s),yield Qd(n),yield Ga(s),s})}o(Wme,"_createToolPath");function jme(t,e,r){let n=`${Do.join(ug(),t,ws.clean(e)||e,r||"")}.complete`;Sr.writeFileSync(n,""),ar("finished caching tool")}o(jme,"_completeToolPath");function hz(t){let e=ws.clean(t)||"";ar(`isExplicit: ${e}`);let r=ws.valid(e)!=null;return ar(`explicit? ${r}`),r}o(hz,"isExplicitVersion");function Kme(t,e){let r="";ar(`evaluating ${t.length} versions`),t=t.sort((s,n)=>ws.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(ws.satisfies(n,e)){r=n;break}}return r?ar(`matched: ${r}`):ar("match not found"),r}o(Kme,"evaluateVersions");function ug(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,dz.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(ug,"_getCacheDirectory");var Em=b(require("path"),1);var gz=b(require("os"),1);function Md(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Md,"toCommandValue");function Ez(t,e,r){let s=new Dx(t,e,r);process.stdout.write(s.toString()+gz.EOL)}o(Ez,"issueCommand");var fz="::",Dx=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=fz+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${ehe(n)}`)}}return e+=`${fz}${Zme(this.message)}`,e}};function Zme(t){return Md(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Zme,"escapeData");function ehe(t){return Md(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(ehe,"escapeProperty");var Cz=require("os"),Od=require("fs");var _x=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:the,appendFile:rhe,writeFile:she}=Od.promises,yz="GITHUB_STEP_SUMMARY";var Lx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return _x(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[yz];if(!e)throw new Error(`Unable to find environment variable for $${yz}. Check if your runtime environment supports job summaries.`);try{yield the(e,Od.constants.R_OK|Od.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return _x(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?she:rhe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return _x(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(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(Cz.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},qGe=new Lx;var Mx=b(require("os"),1);var $Ge=Mx.default.platform(),YGe=Mx.default.arch();var Iz;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Iz||(Iz={}));function bs(t){Ez("debug",{},t)}o(bs,"debug");var Xl=b(require("fs"),1);function Fx(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,bs(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,bs(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,bs(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,bs(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,bs(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Fx,"getOptions");var mg=b(require("path"),1);var Wl=b(require("path"),1),_o=b(require("assert"),1);var Lo=process.platform==="win32";function Fi(t){if(t=Oi(t),Lo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Wl.dirname(t);return Lo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Oi(e)),e}o(Fi,"dirname");function Ag(t,e){if((0,_o.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,_o.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Fd(e))return e;if(Lo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,_o.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),e[0].toUpperCase()===r[0].toUpperCase()?e.length===2?`${e[0]}:\\${r.substr(3)}`:(r.endsWith("\\")||(r+="\\"),`${e[0]}:\\${r.substr(3)}${e.substr(2)}`):`${e[0]}:\\${e.substr(2)}`}else if(cn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,_o.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),`${r[0]}:\\${e.substr(1)}`}}return(0,_o.default)(Fd(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Lo&&t.endsWith("\\")||(t+=Wl.sep),t+e}o(Ag,"ensureAbsoluteRoot");function Fd(t){return(0,_o.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=cn(t),Lo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Fd,"hasAbsoluteRoot");function Ud(t){return(0,_o.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=cn(t),Lo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Ud,"hasRoot");function cn(t){return t=t||"",Lo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(cn,"normalizeSeparators");function Oi(t){return t?(t=cn(t),!t.endsWith(Wl.sep)||t===Wl.sep||Lo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Oi,"safeTrimTrailingSeparator");var ln;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(ln||(ln={}));var Bz=process.platform==="win32";function qx(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=Bz?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=Bz?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,a=n,c=Fi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Fi(a)}i||(r.push(s.searchPath),e[n]="included")}return r}o(qx,"getSearchPaths");function wz(t,e){let r=ln.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}o(wz,"match");function bz(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(bz,"partialMatch");var Hz=b(require("os"),1),Kl=b(require("path"),1);var Fo=b(require("assert"),1);var Gx=o((t,e,r)=>{let s=t instanceof RegExp?Qz(t,r):t,n=e instanceof RegExp?Qz(e,r):e,i=s!==null&&n!=null&&ahe(s,n,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+s.length,i[1]),post:r.slice(i[1]+n.length)}},"balanced"),Qz=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),ahe=o((t,e,r)=>{let s,n,i,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),A=l;if(l>=0&&u>0){if(t===e)return[l,u];for(s=[],i=r.length;A>=0&&!c;){if(A===l)s.push(A),l=r.indexOf(t,A+1);else if(s.length===1){let d=s.pop();d!==void 0&&(c=[d,u])}else n=s.pop(),n!==void 0&&n=0?l:u}s.length&&a!==void 0&&(c=[i,a])}return c},"range");var xz="\0SLASH"+Math.random()+"\0",Nz="\0OPEN"+Math.random()+"\0",$x="\0CLOSE"+Math.random()+"\0",Sz="\0COMMA"+Math.random()+"\0",Rz="\0PERIOD"+Math.random()+"\0",che=new RegExp(xz,"g"),lhe=new RegExp(Nz,"g"),uhe=new RegExp($x,"g"),Ahe=new RegExp(Sz,"g"),dhe=new RegExp(Rz,"g"),phe=/\\\\/g,mhe=/\\{/g,hhe=/\\}/g,fhe=/\\,/g,ghe=/\\\./g,Ehe=1e5,yhe=4e6,Che=1e3,Ihe=1e3;function Hx(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(Hx,"numeric");function Bhe(t){return t.replace(phe,xz).replace(mhe,Nz).replace(hhe,$x).replace(fhe,Sz).replace(ghe,Rz)}o(Bhe,"escapeBraces");function whe(t){return t.replace(che,"\\").replace(lhe,"{").replace(uhe,"}").replace(Ahe,",").replace(dhe,".")}o(whe,"unescapeBraces");function zx(t,e){for(let r=0;r=e}o(She,"gte");function qd(t,e,r,s,n,i){let a=[],c=0;for(let l=0;l=s)return a;let A=t[l]+e+r[u];if(!(i&&!A)){if(c+A.length>n)return a;a.push(A),c+=A.length}}return a}o(qd,"combine");function Rhe(t,e,r,s){let n=t.split(/\.\./),i=[];if(n[0]===void 0||n[1]===void 0)return i;let a=Hx(n[0]),c=Hx(n[1]),l=Math.max(n[0].length,n[1].length),u=n.length===3&&n[2]!==void 0?Math.max(Math.abs(Hx(n[2])),1):1,A=Nhe;c0){let E=new Array(C+1).join("0");h<0?f="-"+E+f.slice(1):f=E+f}}if(m+f.length>s)break;i.push(f),m+=f.length}return i}o(Rhe,"expandSequence");function Vx(t,e,r,s,n,i,a){if(n>s)return[t];let c=[""],l=0,u=!1,A=!0;for(;;){let d=Gx("{","}",t);if(!d)return qd(c,t,[""],e,r,u);let p=d.pre;if(/\$$/.test(p)){if(c=qd(c,p+"{"+d.body+"}",[""],e,r,u&&!d.post.length),A=!1,!d.post.length)break;t=d.post;continue}let m=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(d.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(d.body),f=m||h,C=d.body.indexOf(",")>=0;if(!f&&!C){if(l=e||B+Ie.length>r)break e;E.push(Ie),B+=Ie.length}}}}if(c=qd(c,p,E,e,r,u&&!d.post.length),!d.post.length)break;t=d.post}return c}o(Vx,"expand_");var Gd=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},"assertValidPattern");var The={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Hd=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),Phe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),Pz=o(t=>t.join(""),"rangesToString"),vz=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let s=[],n=[],i=r+1,a=!1,c=!1,l=!1,u=!1,A=r,d="";e:for(;id?s.push(Hd(d)+"-"+Hd(f)):f===d&&s.push(Hd(f)),d="",i++;continue}if(t.startsWith("-]",i+1)){s.push(Hd(f+"-")),i+=2;continue}if(t.startsWith("-",i+1)){d=f,i+=2;continue}s.push(Hd(f)),i++}if(Ar?e?t.replace(/\[([^/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):e?t.replace(/\[([^/\\{}])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),"unescape");var Rr,vhe=new Set(["!","?","+","*","@"]),Yx=o(t=>vhe.has(t),"isExtglobType"),kz=o(t=>Yx(t.type),"isExtglobAST"),khe=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),Dhe=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),_he=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),Dz=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),Lhe="(?!(?:^|/)\\.\\.?(?:$|/))",dg="(?!\\.)",Mhe=new Set(["[","."]),Ohe=new Set(["..","."]),Fhe=new Set("().*{}+?[]^$\\!"),Uhe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),Jx="[^/]",_z=Jx+"*?",Lz=Jx+"+?",qhe=0,$a=class{static{o(this,"AST")}type;#e;#t;#s=!1;#r=[];#n;#i;#o;#a=!1;#l;#c;#u=!1;id=++qhe;get depth(){return(this.#n?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#n?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,r,s={}){this.type=e,e&&(this.#t=!0),this.#n=r,this.#e=this.#n?this.#n.#e:this,this.#l=this.#e===this?s:this.#e.#l,this.#o=this.#e===this?[]:this.#e.#o,e==="!"&&!this.#e.#a&&this.#o.push(this),this.#i=this.#n?this.#n.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#c=this.#r.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#a)return this;this.toString(),this.#a=!0;let e;for(;e=this.#o.pop();){if(e.type!=="!")continue;let r=e,s=r.#n;for(;s;){for(let n=r.#i+1;!s.type&&ntypeof r=="string"?r:r.toJSON()):[this.type,...this.#r.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#a&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(this.#i===0)return!0;let e=this.#n;for(let r=0;rtypeof m!="string"),u=this.#r.map(m=>{let[h,f,C,E]=typeof m=="string"?Rr.#w(m,this.#t,l):m.toRegExpSource(e);return this.#t=this.#t||C,this.#s=this.#s||E,h}).join(""),A="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&Ohe.has(this.#r[0]))){let h=Mhe,f=r&&h.has(u.charAt(0))||u.startsWith("\\.")&&h.has(u.charAt(2))||u.startsWith("\\.\\.")&&h.has(u.charAt(4)),C=!r&&!e&&h.has(u.charAt(0));A=f?Lhe:C?dg:""}let d="";return this.isEnd()&&this.#e.#a&&this.#n?.type==="!"&&(d="(?:$|\\/)"),[A+u+d,Mo(u),this.#t=!!this.#t,this.#s]}let s=this.type==="*"||this.type==="+",n=this.type==="!"?"(?:(?!(?:":"(?:",i=this.#f(r);if(this.isStart()&&this.isEnd()&&!i&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,Mo(this.toString()),!1,!1]}let a=!s||e||r||!dg?"":this.#f(!0);a===i&&(a=""),a&&(i=`(?:${i})(?:${a})*?`);let c="";if(this.type==="!"&&this.#u)c=(this.isStart()&&!r?dg:"")+Lz;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?dg:"")+_z+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=n+i+l}return[c,Mo(i),this.#t=!!this.#t,this.#s]}#p(){if(kz(this)){let e=0,r=!1;do{r=!0;for(let s=0;s{if(typeof r=="string")throw new Error("string type in extglob ast??");let[s,n,i,a]=r.toRegExpSource(e);return this.#s=this.#s||a,s}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#w(e,r,s=!1){let n=!1,i="",a=!1,c=!1;for(let l=0;lr?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");var ur=o((t,e,r={})=>(Gd(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Oo(e,r).match(t)),"minimatch"),Ghe=/^\*+([^+@!?*[(]*)$/,Hhe=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),zhe=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),Vhe=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),$he=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),Yhe=/^\*+\.\*+$/,Jhe=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),Whe=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),jhe=/^\.\*+$/,Khe=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),Xhe=/^\*+$/,Zhe=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),efe=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),tfe=/^\?+([^+@!?*[(]*)?$/,rfe=o(([t,e=""])=>{let r=Fz([t]);return e?(e=e.toLowerCase(),s=>r(s)&&s.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),sfe=o(([t,e=""])=>{let r=Uz([t]);return e?(e=e.toLowerCase(),s=>r(s)&&s.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),nfe=o(([t,e=""])=>{let r=Uz([t]);return e?s=>r(s)&&s.endsWith(e):r},"qmarksTestDot"),ife=o(([t,e=""])=>{let r=Fz([t]);return e?s=>r(s)&&s.endsWith(e):r},"qmarksTest"),Fz=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),Uz=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),qz=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Mz={win32:{sep:"\\"},posix:{sep:"/"}},ofe=qz==="win32"?Mz.win32.sep:Mz.posix.sep;ur.sep=ofe;var er=Symbol("globstar **");ur.GLOBSTAR=er;var afe="[^/]",cfe=afe+"*?",lfe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",ufe="(?:(?!(?:\\/|^)\\.).)*?",Afe=o((t,e={})=>r=>ur(r,t,e),"filter");ur.filter=Afe;var Qs=o((t,e={})=>Object.assign({},t,e),"ext"),dfe=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return ur;let e=ur;return Object.assign(o((s,n,i={})=>e(s,n,Qs(t,i)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(n,i={}){super(n,Qs(t,i))}static defaults(n){return e.defaults(Qs(t,n)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(n,i,a={}){super(n,i,Qs(t,a))}static fromGlob(n,i={}){return e.AST.fromGlob(n,Qs(t,i))}},unescape:o((s,n={})=>e.unescape(s,Qs(t,n)),"unescape"),escape:o((s,n={})=>e.escape(s,Qs(t,n)),"escape"),filter:o((s,n={})=>e.filter(s,Qs(t,n)),"filter"),defaults:o(s=>e.defaults(Qs(t,s)),"defaults"),makeRe:o((s,n={})=>e.makeRe(s,Qs(t,n)),"makeRe"),braceExpand:o((s,n={})=>e.braceExpand(s,Qs(t,n)),"braceExpand"),match:o((s,n,i={})=>e.match(s,n,Qs(t,i)),"match"),sep:e.sep,GLOBSTAR:er})},"defaults");ur.defaults=dfe;var Gz=o((t,e={})=>(Gd(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Tz(t,{max:e.braceExpandMax})),"braceExpand");ur.braceExpand=Gz;var pfe=o((t,e={})=>new Oo(t,e).makeRe(),"makeRe");ur.makeRe=pfe;var mfe=o((t,e,r={})=>{let s=new Oo(e,r);return t=t.filter(n=>s.match(n)),s.options.nonull&&!t.length&&t.push(e),t},"match");ur.match=mfe;var Oz=/[?*]|[+@!]\(.*?\)|\[|\]/,hfe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),Oo=class{static{o(this,"Minimatch")}options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,r={}){Gd(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||qz,this.isWindows=this.platform==="win32";let s="allowWindowsEscape";this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r[s]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,this.globSet);let s=this.globSet.map(i=>this.slashSplit(i));this.globParts=this.preprocess(s),this.debug(this.pattern,this.globParts);let n=this.globParts.map((i,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=i[0]===""&&i[1]===""&&(i[2]==="?"||!Oz.test(i[2]))&&!Oz.test(i[3]),u=/^[a-z]:/i.test(i[0]);if(l)return[...i.slice(0,4),...i.slice(4).map(A=>this.parse(A))];if(u)return[i[0],...i.slice(1).map(A=>this.parse(A))]}return i.map(l=>this.parse(l))});if(this.debug(this.pattern,n),this.set=n.filter(i=>i.indexOf(!1)===-1),this.isWindows)for(let i=0;i=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let s=-1;for(;(s=r.indexOf("**",s+1))!==-1;){let n=s;for(;r[n+1]==="**";)n++;n!==s&&r.splice(s,n-s)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((s,n)=>{let i=s[s.length-1];return n==="**"&&i==="**"?s:n===".."&&i&&i!==".."&&i!=="."&&i!=="**"?(s.pop(),s):(s.push(n),s)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let n=1;nn&&s.splice(n+1,a-n);let c=s[n+1],l=s[n+2],u=s[n+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,s.splice(n,1);let A=s.slice(0);A[n]="**",e.push(A),n--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,s=!1){let n=0,i=0,a=[],c="";for(;n=2&&(e=this.levelTwoFileOptimize(e)),r.includes(er)?this.#e(e,r,s,n,i):this.#s(e,r,s,n,i)}#e(e,r,s,n,i){let a=r.indexOf(er,i),c=r.lastIndexOf(er),[l,u,A]=s?[r.slice(i,a),r.slice(a+1),[]]:[r.slice(i,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let y=e.slice(n,n+l.length);if(!this.#s(y,l,s,0,0))return!1;n+=l.length,i+=l.length}let d=0;if(A.length){if(A.length+n>e.length)return!1;let y=e.length-A.length;if(this.#s(e,A,s,y,0))d=A.length;else{if(e[e.length-1]!==""||n+A.length===e.length||(y--,!this.#s(e,A,s,y,0)))return!1;d=A.length+1}}if(!u.length){let y=!!d;for(let I=n;I{let u=l.map(d=>{if(d instanceof RegExp)for(let p of d.flags.split(""))n.add(p);return typeof d=="string"?hfe(d):d===er?er:d._src});u.forEach((d,p)=>{let m=u[p+1],h=u[p-1];d!==er||h===er||(h===void 0?m!==void 0&&m!==er?u[p+1]="(?:\\/|"+s+"\\/)?"+m:u[p]=s:m===void 0?u[p-1]=h+"(?:\\/|\\/"+s+")?":m!==er&&(u[p-1]=h+"(?:\\/|\\/"+s+"\\/)"+m,u[p+1]=er))});let A=u.filter(d=>d!==er);if(this.partial&&A.length>=1){let d=[];for(let p=1;p<=A.length;p++)d.push(A.slice(0,p).join("/"));return"(?:"+d.join("|")+")"}return A.join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];i="^"+a+i+c+"$",this.partial&&(i="^(?:\\/|"+a+i.slice(1,-1)+c+")$"),this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...n].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let s=this.options;this.isWindows&&(e=e.split("\\").join("/"));let n=this.slashSplit(e);this.debug(this.pattern,"split",n);let i=this.set;this.debug(this.pattern,"set",i);let a=n[n.length-1];if(!a)for(let c=n.length-2;!a&&c>=0;c--)a=n[c];for(let c of i){let l=n;if(s.matchBase&&c.length===1&&(l=[a]),this.matchOne(l,c,r))return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate}static defaults(e){return ur.defaults(e).Minimatch}};ur.AST=$a;ur.Minimatch=Oo;ur.escape=Wx;ur.unescape=Mo;var Ya=b(require("path"),1);var jl=b(require("assert"),1);var ffe=process.platform==="win32",Ja=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,jl.default)(e,"Parameter 'itemPath' must not be empty"),e=Oi(e),!Ud(e))this.segments=e.split(Ya.sep);else{let r=e,s=Fi(r);for(;s!==r;){let n=Ya.basename(r);this.segments.unshift(n),r=s,s=Fi(r)}this.segments.unshift(r)}else{(0,jl.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;rt.getLiteral(u)).filter(u=>!a&&!(a=u===""));this.searchPath=new Ja(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ui?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ui,nocomment:!0,noext:!0,nonegate:!0};i=Ui?i.replace(/\\/g,"/"):i,this.minimatch=new Oo(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=cn(e),!e.endsWith(Kl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Kl.sep}`)):e=Oi(e),this.minimatch.match(e)?this.trailingSeparator?ln.Directory:ln.All:ln.None}partialMatch(e){return e=Oi(e),Fi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ui?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ui?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Fo.default)(e,"pattern cannot be empty");let s=new Ja(e).segments.map(n=>t.getLiteral(n));if((0,Fo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Fo.default)(!Ud(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=cn(e),e==="."||e.startsWith(`.${Kl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${Kl.sep}`))r=r||Hz.homedir(),(0,Fo.default)(r,"Unable to determine HOME directory"),(0,Fo.default)(Fd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ui&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=Ag("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Ui&&(e==="\\"||e.match(/^\\[^\\]/))){let n=Ag("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=Ag(t.globEscape(process.cwd()),e);return cn(e)}static getLiteral(e){let r="";for(let s=0;s=0){if(i.length>1)return"";if(i){r+=i,s=a;continue}}}}r+=n}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var Vd=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var jx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},gfe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},Uo=function(t){return this instanceof Uo?(this.v=t,this):new Uo(t)},Efe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(t,e||[]),n,i=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),n[Symbol.asyncIterator]=function(){return this},n;function a(m){return function(h){return Promise.resolve(h).then(m,d)}}function c(m,h){s[m]&&(n[m]=function(f){return new Promise(function(C,E){i.push([m,f,C,E])>1||l(m,f)})},h&&(n[m]=h(n[m])))}function l(m,h){try{u(s[m](h))}catch(f){p(i[0][3],f)}}function u(m){m.value instanceof Uo?Promise.resolve(m.value.v).then(A,d):p(i[0][2],m)}function A(m){l("next",m)}function d(m){l("throw",m)}function p(m,h){m(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},yfe=process.platform==="win32",pg=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Fx(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return jx(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var a=!0,c=gfe(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){n=l.value,a=!1;let u=n;i.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(s=c.return)&&(yield s.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return Efe(this,arguments,o(function*(){let r=Fx(this.options),s=[];for(let a of this.patterns)s.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&s.push(new zd(a.negate,!0,a.segments.concat("**")));let n=[];for(let a of qx(s)){bs(`Search path '${a}'`);try{yield Uo(Xl.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}n.unshift(new Vd(a,1))}let i=[];for(;n.length;){let a=n.pop(),c=wz(s,a.path),l=!!c||bz(s,a.path);if(!c&&!l)continue;let u=yield Uo(t.stat(a,r,i));if(u&&!(r.excludeHiddenFiles&&mg.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&ln.Directory&&r.matchDirectories)yield yield Uo(a.path);else if(!l)continue;let A=a.level+1,d=(yield Uo(Xl.promises.readdir(a.path))).map(p=>new Vd(mg.join(a.path,p),A));n.push(...d.reverse())}else c&ln.File&&(yield yield Uo(a.path))}},"globGenerator_1"))}static create(e,r){return jx(this,void 0,void 0,function*(){let s=new t(r);yfe&&(e=e.replace(/\r\n/g,` `),e=e.replace(/\r/g,` `));let n=e.split(` -`).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new Hd(i));return s.searchPaths.push(...Fx(s.patterns)),s})}static stat(e,r,s){return Jx(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield Kl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){bs(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield Kl.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield Kl.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){bs(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var Efe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function Hz(t,e){return Efe(this,void 0,void 0,function*(){return yield dg.create(t,e)})}o(Hz,"create");var Rg=b(require("crypto"),1),tu=b(require("fs"),1),Wa=b(require("path"),1),L$=b(D$(),1),M$=b(require("util"),1);var jd;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(jd||(jd={}));var dr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(dr||(dr={}));var ts;(function(t){t.GNU="gnu",t.BSD="bsd"})(ts||(ts={}));var xg=2,Ng=5e3,h0=5e3,f0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,_$=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Kd="cache.tar",g0="manifest.txt",GVe=10*Math.pow(1024,3),Sg="cache read denied:";var eu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Nye=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},Sye="1.0";function ja(){return eu(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=Wa.join(s,"actions","temp")}let r=Wa.join(e,Rg.randomUUID());return yield Ga(r),r})}o(ja,"createTempDirectory");function Ln(t){return tu.statSync(t).size}o(Ln,"getArchiveFileSizeInBytes");function E0(t){return eu(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield Hz(t.join(` -`),{implicitDescendants:!1});try{for(var u=!0,A=Nye(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=Wa.relative(c,n).replace(new RegExp(`\\${Wa.sep}`,"g"),"/");w(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}catch(p){r={error:p}}finally{try{!u&&!e&&(s=A.return)&&(yield s.call(A))}finally{if(r)throw r.error}}return a})}o(E0,"resolvePaths");function Xd(t){return eu(this,void 0,void 0,function*(){return M$.promisify(tu.unlink)(t)})}o(Xd,"unlinkFile");function O$(t){return eu(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),w(`Checking ${e} ${r.join(" ")}`);try{yield ko(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){w(n.message)}return s=s.trim(),w(s),s})}o(O$,"getVersion");function Zd(){return eu(this,void 0,void 0,function*(){let t=yield O$("zstd",["--quiet"]),e=L$.clean(t);return w(`zstd version: ${e}`),t===""?dr.Gzip:dr.ZstdWithoutLong})}o(Zd,"getCompressionMethod");function Go(t){return t===dr.Gzip?jd.Gzip:jd.Zstd}o(Go,"getCacheFileName");function F$(){return eu(this,void 0,void 0,function*(){return tu.existsSync(f0)?f0:(yield O$("tar")).toLowerCase().includes("gnu tar")?Nr("tar"):""})}o(F$,"getGnuTarPathOnWindows");function y0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(y0,"assertDefined");function ru(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(Sye),Rg.createHash("sha256").update(s.join("|")).digest("hex")}o(ru,"getCacheVersion");function U$(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(U$,"getRuntimeToken");var tp=b(require("http"),1),B0=b(require("https"),1);function C0(t){let e=t.protocol==="https:";if(Rye(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new Pg(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Pg(`http://${r}`)}else return}o(C0,"getProxyUrl");function Rye(t){if(!t.hostname)return!1;let e=t.hostname;if(Tye(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(Rye,"checkBypass");function Tye(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Tye,"isLoopbackAddress");var Pg=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Ho=b(CA(),1),q$=b(Ul(),1);var lt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Xe;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Xe||(Xe={}));var pr;(function(t){t.Accept="accept",t.ContentType="content-type"})(pr||(pr={}));var qi;(function(t){t.ApplicationJson="application/json"})(qi||(qi={}));var vye=[Xe.MovedPermanently,Xe.ResourceMoved,Xe.SeeOther,Xe.TemporaryRedirect,Xe.PermanentRedirect],kye=[Xe.BadGateway,Xe.ServiceUnavailable,Xe.GatewayTimeout],Dye=["OPTIONS","GET","DELETE","HEAD"],_ye=10,Lye=5,Mn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},I0=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return lt(this,void 0,void 0,function*(){return new Promise(e=>lt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return lt(this,void 0,void 0,function*(){return new Promise(e=>lt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Gi=class{static{o(this,"HttpClient")}constructor(e,r,s){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=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return lt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return lt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return lt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return lt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return lt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return lt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return lt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return lt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return lt(this,arguments,void 0,function*(r,s={}){s[pr.Accept]=this._getExistingOrDefaultHeader(s,pr.Accept,qi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return lt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,qi.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,qi.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return lt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,qi.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,qi.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return lt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,qi.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,qi.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return lt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&Dye.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Xe.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&vye.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!kye.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new I0(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=C0(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?B0:tp;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ep(this.requestOptions.headers),ep(e||{})):ep(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=ep(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=ep(this.requestOptions.headers)[pr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[pr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=C0(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||tp.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Ho.httpsOverHttps:Ho.httpsOverHttp:l=u?Ho.httpOverHttps:Ho.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new B0.Agent(c):new tp.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new q$.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return lt(this,void 0,void 0,function*(){e=Math.min(_ye,e);let r=Lye*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return lt(this,void 0,void 0,function*(){return new Promise((s,n)=>lt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Xe.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new Mn(A,i);d.result=a.result,n(d)}else s(a)}))})}},ep=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Mye=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};var su=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return Mye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var ku=b(require("fs"),1),E8=require("url");var On=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var G$=require("node:os"),H$=b(require("node:util"),1),z$=b(require("node:process"),1);function V$(t,...e){z$.default.stderr.write(`${H$.default.format(t,...e)}${G$.EOL}`)}o(V$,"log");var $$=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,J$,w0=[],b0=[],vg=[];$$&&Q0($$);var W$=Object.assign(t=>j$(t),{enable:Q0,enabled:x0,disable:Oye,log:V$});function Q0(t){J$=t,w0=[],b0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?b0.push(r.substring(1)):w0.push(r);for(let r of vg)r.enabled=x0(r.namespace)}o(Q0,"enable");function x0(t){if(t.endsWith("*"))return!0;for(let e of b0)if(Y$(t,e))return!1;for(let e of w0)if(Y$(t,e))return!0;return!1}o(x0,"enabled");function Y$(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let p=[],m="";for(let h of e)h==="*"&&m==="*"||(m=h,p.push(h));r=p.join("")}let s=0,n=0,i=r.length,a=t.length,c=-1,l=-1;for(;s=0){if(n=c+1,s=l+1,s===a)return!1;for(;t[s]!==r[n];)if(s++,s===a)return!1;l=s,s++,n++;continue}else return!1;let u=s===t.length,A=n===r.length,d=n===r.length-1&&r[n]==="*";return u&&(A||d)}o(Y$,"namespaceMatches");function Oye(){let t=J$||"";return Q0(""),t}o(Oye,"disable");function j$(t){let e=Object.assign(r,{enabled:x0(t),destroy:Fye,log:W$.log,namespace:t,extend:Uye});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),vg.push(e),e}o(j$,"createDebugger");function Fye(){let t=vg.indexOf(this);return t>=0?(vg.splice(t,1),!0):!1}o(Fye,"destroy");function Uye(t){let e=j$(`${this.namespace}:${t}`);return e.log=this.log,e}o(Uye,"extend");var nu=W$;var N0=["verbose","info","warning","error"],K$={verbose:400,info:300,warning:200,error:100};function X$(t,e){e.log=(...r)=>{t.log(...r)}}o(X$,"patchLogMethod");function Z$(t){return N0.includes(t)}o(Z$,"isTypeSpecRuntimeLogLevel");function kg(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=nu(t.namespace);n.log=(...A)=>{nu.log(...A)};function i(A){if(A&&!Z$(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${N0.join(",")}`);s=A;let d=[];for(let p of e)a(p)&&d.push(p.namespace);nu.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(Z$(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${N0.join(", ")}.`));function a(A){return!!(s&&K$[A.level]<=K$[s])}o(a,"shouldEnable");function c(A,d){let p=Object.assign(A.extend(d),{level:d});if(X$(A,p),a(p)){let m=nu.disable();nu.enable(m+","+p.namespace)}return e.add(p),p}o(c,"createLogger");function l(){return s}o(l,"contextGetLogLevel");function u(A){let d=n.extend(A);return X$(n,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:i,getLogLevel:l,createClientLogger:u,logger:n}}o(kg,"createLoggerContext");var eY=kg({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),qye=eY.logger;function rp(t){return eY.createClientLogger(t)}o(rp,"createClientLogger");function Dg(t){return t.toLowerCase()}o(Dg,"normalizeName");function*Gye(t){for(let e of t.values())yield[e.name,e.value]}o(Gye,"headerIterator");var S0=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(Dg(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Dg(e))?.value}has(e){return this._headersMap.has(Dg(e))}delete(e){this._headersMap.delete(Dg(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let s of this._headersMap.values())r[s.name]=s.value;else for(let[s,n]of this._headersMap)r[s]=n.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Gye(this._headersMap)}};function rs(t){return new S0(t)}o(rs,"createHttpHeaders");function Ka(){return crypto.randomUUID()}o(Ka,"randomUUID");var R0=class{static{o(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??rs(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||Ka(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function _g(t){return new R0(t)}o(_g,"createPipelineRequest");var tY=new Set(["Deserialize","Serialize","Retry","Sign"]),T0=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!tY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!tY.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(s=>e.name&&s.policy.name===e.name||e.phase&&s.options.phase===e.phase?(r.push(s.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((i,a)=>c=>a.sendRequest(c,i),i=>e.sendRequest(i))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function s(h){return{name:h,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(s,"createPhase");let n=s("Serialize"),i=s("None"),a=s("Deserialize"),c=s("Retry"),l=s("Sign"),u=[n,i,a,c,l];function A(h){return h==="Retry"?c:h==="Serialize"?n:h==="Deserialize"?a:h==="Sign"?l:i}o(A,"getPhase");for(let h of this._policies){let f=h.policy,C=h.options,E=f.name;if(r.has(E))throw new Error("Duplicate policy names not allowed in pipeline");let y={policy:f,dependsOn:new Set,dependants:new Set};C.afterPhase&&(y.afterPhase=A(C.afterPhase),y.afterPhase.hasAfterPolicies=!0),r.set(E,y),A(C.phase).policies.add(y)}for(let h of this._policies){let{policy:f,options:C}=h,E=f.name,y=r.get(E);if(!y)throw new Error(`Missing node for policy ${E}`);if(C.afterPolicies)for(let I of C.afterPolicies){let B=r.get(I);B&&(y.dependsOn.add(B),B.dependants.add(y))}if(C.beforePolicies)for(let I of C.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(y),y.dependants.add(B))}}function d(h){h.hasRun=!0;for(let f of h.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let C of f.dependants)C.dependsOn.delete(f);r.delete(f.policy.name),h.policies.delete(f)}}o(d,"walkPhase");function p(){for(let h of u){if(d(h),h.policies.size>0&&h!==i){i.hasRun||d(i);return}h.hasAfterPolicies&&d(i)}}o(p,"walkPhases");let m=0;for(;r.size>0;){m++;let h=e.length;if(p(),e.length<=h&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Lg(){return T0.create()}o(Lg,"createEmptyPipeline");function iu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(iu,"isObject");function Xa(t){if(iu(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Xa,"isError");var rY=require("node:util"),sY=rY.inspect.custom;var P0="REDACTED",Hye=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],zye=["api-version"],un=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Hye.concat(e),r=zye.concat(r),this.allowedHeaderNames=new Set(e.map(s=>s.toLowerCase())),this.allowedQueryParameters=new Set(r.map(s=>s.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(s,n)=>{if(n instanceof Error)return{...n,name:n.name,message:n.message};if(s==="headers")return this.sanitizeHeaders(n);if(s==="url")return this.sanitizeUrl(n);if(s==="query")return this.sanitizeQuery(n);if(s==="body")return;if(s==="response")return;if(s==="operationSpec")return;if(Array.isArray(n)||iu(n)){if(r.has(n))return"[Circular]";r.add(n)}return n},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[s]of r.searchParams)this.allowedQueryParameters.has(s.toLowerCase())||r.searchParams.set(s,P0);return r.toString()}sanitizeHeaders(e){let r={};for(let s of Object.keys(e))this.allowedHeaderNames.has(s.toLowerCase())?r[s]=e[s]:r[s]=P0;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let s of Object.keys(e))this.allowedQueryParameters.has(s.toLowerCase())?r[s]=e[s]:r[s]=P0;return r}};var Vye=new un,mr=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let s=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,sY,{value:o(()=>`RestError: ${this.message} - ${Vye.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Mg(t){return t instanceof mr?!0:Xa(t)&&t.name==="RestError"}o(Mg,"isRestError");function Tr(t,e){return Buffer.from(t,e)}o(Tr,"stringToUint8Array");var Og=b(require("node:http"),1),Fg=b(require("node:https"),1),v0=b(require("node:zlib"),1),iY=require("node:stream");var Ss=rp("ts-http-runtime");var $ye={};function sp(t){return t&&typeof t.pipe=="function"}o(sp,"isReadableStream");function nY(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(nY,"isStreamComplete");function oY(t){return t&&typeof t.byteLength=="number"}o(oY,"isArrayBuffer");var Ug=class extends iY.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},k0=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new On("The operation was aborted. Request has already been canceled.");s=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let u=new un;Ss.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=jye(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new Ug(h);f.on("error",C=>{Ss.error("Error in upload progress",C)}),sp(c)?c.pipe(f):f.end(c),c=f}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=Yye(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?Jye(u,A):u;let m=e.onDownloadProgress;if(m){let h=new Ug(m);h.on("error",f=>{Ss.error("Error in download progress",f)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await Wye(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();sp(c)&&(u=nY(c));let A=Promise.resolve();sp(l)&&(A=nY(l)),Promise.all([u,A]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(d=>{Ss.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let A=i?Og.default.request(c,l):Fg.default.request(c,l);A.once("error",d=>{u(new mr(d.message,{code:d.code??mr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new On("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&sp(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):oY(s)?A.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Ss.error("Unrecognized body type",s),u(new mr("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?Og.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Og.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return Fg.default.globalAgent;let n=e.tlsSettings??$ye,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Ss.info("No cached TLS Agent exist, creating a new Agent"),i=new Fg.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function Yye(t){let e=rs();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}o(Yye,"getResponseHeaders");function Jye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=v0.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=v0.default.createInflate();return t.pipe(s),s}return t}o(Jye,"getDecodedResponseStream");function Wye(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new mr(`Error reading response as text: ${n.message}`,{code:mr.PARSE_ERROR}))})})}o(Wye,"streamToText");function jye(t){return t?Buffer.isBuffer(t)?t.length:sp(t)?null:oY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(jye,"getBodyLength");function aY(){return new k0}o(aY,"createNodeHttpClient");function qg(){return aY()}o(qg,"createDefaultHttpClient");var D0="logPolicy";function Gg(t={}){let e=t.logger??Ss.info,r=new un({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:D0,async sendRequest(s,n){if(!e.enabled)return n(s);e(`Request: ${r.sanitize(s)}`);let i=await n(s);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}o(Gg,"logPolicy");var Hg="redirectPolicy",cY=["GET","HEAD"];function zg(t={}){let{maxRetries:e=20}=t;return{name:Hg,async sendRequest(r,s){let n=await s(r);return lY(s,n,e)}}}o(zg,"redirectPolicy");async function lY(t,e,r,s=0){let{request:n,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&cY.includes(n.method)||i===302&&cY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,a,c=o(()=>n(new On(r?.abortErrorMsg?r?.abortErrorMsg:Kye)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(i&&clearTimeout(i),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();i=setTimeout(()=>{l(),s(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(dY,"delay");function pY(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}o(pY,"parseHeaderValueAsNumber");var _0="Retry-After",Xye=["retry-after-ms","x-ms-retry-after-ms",_0];function mY(t){if(t&&[429,503].includes(t.status))try{for(let n of Xye){let i=pY(t,n);if(i===0||i)return i*(n===_0?1e3:1)}let e=t.headers.get(_0);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}o(mY,"getRetryAfterInMs");function hY(t){return Number.isFinite(mY(t))}o(hY,"isThrottlingRetryResponse");function L0(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=mY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(L0,"throttlingRetryStrategy");var Zye=1e3,eCe=1e3*64;function Jg(t={}){let e=t.retryDelayInMs??Zye,r=t.maxRetryDelayInMs??eCe;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let a=rCe(i),c=a&&t.ignoreSystemErrors,l=tCe(n),u=l&&t.ignoreHttpStatusCodes;return n&&(hY(n)||!l)||u||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:Yg(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Jg,"exponentialRetryStrategy");function tCe(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(tCe,"isExponentialRetryResponse");function rCe(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(rCe,"isSystemError");var sCe=rp("ts-http-runtime retryPolicy"),nCe="retryPolicy";function ec(t,e={maxRetries:3}){let r=e.logger||sCe;return{name:nCe,async sendRequest(s,n){let i,a,c=-1;e:for(;;){c+=1,i=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,s.requestId),i=await n(s),r.info(`Retry ${c}: Received a response from request`,s.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,s.requestId),a=l,!l||a.name!=="RestError")throw l;i=a.response}if(s.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new On;if(c>=(e.maxRetries??3)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let A=l.retry({retryCount:c,response:i,responseError:a});if(A.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:p,redirectTo:m}=A;if(d)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(p||p===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${p}`),await dY(p,void 0,{abortSignal:s.abortSignal});continue e}if(m){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),s.url=m;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}o(ec,"retryPolicy");var M0="defaultRetryPolicy";function Wg(t={}){return{name:M0,sendRequest:ec([L0(),Jg(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(Wg,"defaultRetryPolicy");var fY=typeof window<"u"&&typeof window.document<"u",gY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),EY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",yY=typeof Bun<"u"&&typeof Bun.version<"u",tc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var CY=typeof navigator<"u"&&navigator?.product==="ReactNative";var O0="formDataPolicy";function iCe(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}o(iCe,"formDataToFormDataMap");function jg(){return{name:O0,async sendRequest(t,e){if(tc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=iCe(t.body),t.body=void 0),t.formData){let r=t.headers.get("Content-Type");r&&r.indexOf("application/x-www-form-urlencoded")!==-1?t.body=oCe(t.formData):await aCe(t.formData,t),t.formData=void 0}return e(t)}}}o(jg,"formDataPolicy");function oCe(t){let e=new URLSearchParams;for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.append(r,n.toString());else e.append(r,s.toString());return e.toString()}o(oCe,"wwwFormUrlEncode");async function aCe(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let s=[];for(let[n,i]of Object.entries(t))for(let a of Array.isArray(i)?i:[i])if(typeof a=="string")s.push({headers:rs({"Content-Disposition":`form-data; name="${n}"`}),body:Tr(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${n}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=rs();l.set("Content-Disposition",`form-data; name="${n}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),s.push({headers:l,body:a})}}e.multipartBody={parts:s}}o(aCe,"prepareFormData");var iJ=b(VY(),1),oJ=b(tJ(),1);var fIe="HTTPS_PROXY",gIe="HTTP_PROXY",EIe="ALL_PROXY",yIe="NO_PROXY",V0="proxyPolicy",rJ=[],aJ=!1,CIe=new Map;function oE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(oE,"getEnvironmentValue");function cJ(){if(!process)return;let t=oE(fIe),e=oE(EIe),r=oE(gIe);return t||e||r}o(cJ,"loadEnvironmentProxyValue");function IIe(t,e,r){if(e.length===0)return!1;let s=new URL(t).hostname;if(r?.has(s))return r.get(s);let n=!1;for(let i of e)i[0]==="."?(s.endsWith(i)||s.length===i.length-1&&s===i.slice(1))&&(n=!0):s===i&&(n=!0);return r?.set(s,n),n}o(IIe,"isBypassed");function BIe(){let t=oE(yIe);return aJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(BIe,"loadNoProxy");function $0(t){if(!t&&(t=cJ(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o($0,"getDefaultProxySettings");function wIe(){let t=cJ();return t?new URL(t):void 0}o(wIe,"getDefaultProxySettingsInternal");function sJ(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(sJ,"getUrlFromProxySettings");function nJ(t,e,r){if(t.agent)return;let n=new URL(t.url).protocol!=="https:";t.tlsSettings&&Ss.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();n?(e.httpProxyAgent||(e.httpProxyAgent=new oJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new iJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(nJ,"setProxyAgentOnRequest");function aE(t,e){aJ||rJ.push(...BIe());let r=t?sJ(t):wIe(),s={};return{name:V0,async sendRequest(n,i){return!n.proxySettings&&r&&!IIe(n.url,e?.customNoProxyList??rJ,e?.customNoProxyList?void 0:CIe)?nJ(n,s,r):n.proxySettings&&nJ(n,s,sJ(n.proxySettings)),i(n)}}}o(aE,"proxyPolicy");var Y0="agentPolicy";function cE(t){return{name:Y0,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(cE,"agentPolicy");var J0="tlsPolicy";function lE(t){return{name:J0,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(lE,"tlsPolicy");function uE(t){return typeof t.stream=="function"}o(uE,"isBlob");var AE=require("stream");async function*lJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(lJ,"streamAsyncIterator");function bIe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=lJ.bind(t)),t.values||(t.values=lJ.bind(t))}o(bIe,"makeAsyncIterable");function uJ(t){return t instanceof ReadableStream?(bIe(t),AE.Readable.fromWeb(t)):t}o(uJ,"ensureNodeStream");function QIe(t){return t instanceof Uint8Array?AE.Readable.from(Buffer.from(t)):uE(t)?uJ(t.stream()):uJ(t)}o(QIe,"toStream");async function AJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(QIe);return AE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}o(AJ,"concat");function xIe(){return`----AzSDKFormBoundary${Ka()}`}o(xIe,"generateBoundary");function NIe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r -`;return e}o(NIe,"encodeHeaders");function SIe(t){return t instanceof Uint8Array?t.byteLength:uE(t)?t.size===-1?void 0:t.size:void 0}o(SIe,"getLength");function RIe(t){let e=0;for(let r of t){let s=SIe(r);if(s===void 0)return;e+=s}return e}o(RIe,"getTotalLength");async function TIe(t,e,r){let s=[Tr(`--${r}`,"utf-8"),...e.flatMap(i=>[Tr(`\r -`,"utf-8"),Tr(NIe(i.headers),"utf-8"),Tr(`\r +`).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new zd(i));return s.searchPaths.push(...qx(s.patterns)),s})}static stat(e,r,s){return jx(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield Xl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){bs(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield Xl.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield Xl.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){bs(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var Cfe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function zz(t,e){return Cfe(this,void 0,void 0,function*(){return yield pg.create(t,e)})}o(zz,"create");var Tg=b(require("crypto"),1),ru=b(require("fs"),1),Wa=b(require("path"),1),M$=b(_$(),1),O$=b(require("util"),1);var Kd;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Kd||(Kd={}));var dr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(dr||(dr={}));var ts;(function(t){t.GNU="gnu",t.BSD="bsd"})(ts||(ts={}));var Ng=2,Sg=5e3,g0=5e3,E0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,L$=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Xd="cache.tar",y0="manifest.txt",YVe=10*Math.pow(1024,3),Rg="cache read denied:";var tu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Rye=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},Tye="1.0";function ja(){return tu(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=Wa.join(s,"actions","temp")}let r=Wa.join(e,Tg.randomUUID());return yield Ga(r),r})}o(ja,"createTempDirectory");function Ln(t){return ru.statSync(t).size}o(Ln,"getArchiveFileSizeInBytes");function C0(t){return tu(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield zz(t.join(` +`),{implicitDescendants:!1});try{for(var u=!0,A=Rye(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=Wa.relative(c,n).replace(new RegExp(`\\${Wa.sep}`,"g"),"/");w(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}catch(p){r={error:p}}finally{try{!u&&!e&&(s=A.return)&&(yield s.call(A))}finally{if(r)throw r.error}}return a})}o(C0,"resolvePaths");function Zd(t){return tu(this,void 0,void 0,function*(){return O$.promisify(ru.unlink)(t)})}o(Zd,"unlinkFile");function F$(t){return tu(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),w(`Checking ${e} ${r.join(" ")}`);try{yield ko(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){w(n.message)}return s=s.trim(),w(s),s})}o(F$,"getVersion");function ep(){return tu(this,void 0,void 0,function*(){let t=yield F$("zstd",["--quiet"]),e=M$.clean(t);return w(`zstd version: ${e}`),t===""?dr.Gzip:dr.ZstdWithoutLong})}o(ep,"getCompressionMethod");function Go(t){return t===dr.Gzip?Kd.Gzip:Kd.Zstd}o(Go,"getCacheFileName");function U$(){return tu(this,void 0,void 0,function*(){return ru.existsSync(E0)?E0:(yield F$("tar")).toLowerCase().includes("gnu tar")?Nr("tar"):""})}o(U$,"getGnuTarPathOnWindows");function I0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(I0,"assertDefined");function su(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(Tye),Tg.createHash("sha256").update(s.join("|")).digest("hex")}o(su,"getCacheVersion");function q$(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(q$,"getRuntimeToken");var rp=b(require("http"),1),b0=b(require("https"),1);function B0(t){let e=t.protocol==="https:";if(Pye(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new vg(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new vg(`http://${r}`)}else return}o(B0,"getProxyUrl");function Pye(t){if(!t.hostname)return!1;let e=t.hostname;if(vye(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(Pye,"checkBypass");function vye(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(vye,"isLoopbackAddress");var vg=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Ho=b(IA(),1),G$=b(Ul(),1);var lt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Xe;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Xe||(Xe={}));var pr;(function(t){t.Accept="accept",t.ContentType="content-type"})(pr||(pr={}));var qi;(function(t){t.ApplicationJson="application/json"})(qi||(qi={}));var Dye=[Xe.MovedPermanently,Xe.ResourceMoved,Xe.SeeOther,Xe.TemporaryRedirect,Xe.PermanentRedirect],_ye=[Xe.BadGateway,Xe.ServiceUnavailable,Xe.GatewayTimeout],Lye=["OPTIONS","GET","DELETE","HEAD"],Mye=10,Oye=5,Mn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},w0=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return lt(this,void 0,void 0,function*(){return new Promise(e=>lt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return lt(this,void 0,void 0,function*(){return new Promise(e=>lt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Gi=class{static{o(this,"HttpClient")}constructor(e,r,s){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=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return lt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return lt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return lt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return lt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return lt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return lt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return lt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return lt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return lt(this,arguments,void 0,function*(r,s={}){s[pr.Accept]=this._getExistingOrDefaultHeader(s,pr.Accept,qi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return lt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,qi.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,qi.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return lt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,qi.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,qi.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return lt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,qi.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,qi.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return lt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&Lye.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Xe.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&Dye.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!_ye.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new w0(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=B0(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?b0:rp;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},tp(this.requestOptions.headers),tp(e||{})):tp(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=tp(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=tp(this.requestOptions.headers)[pr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[pr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=B0(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||rp.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Ho.httpsOverHttps:Ho.httpsOverHttp:l=u?Ho.httpOverHttps:Ho.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new b0.Agent(c):new rp.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new G$.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return lt(this,void 0,void 0,function*(){e=Math.min(Mye,e);let r=Oye*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return lt(this,void 0,void 0,function*(){return new Promise((s,n)=>lt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Xe.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new Mn(A,i);d.result=a.result,n(d)}else s(a)}))})}},tp=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Fye=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};var nu=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return Fye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Du=b(require("fs"),1),y8=require("url");var On=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var H$=require("node:os"),z$=b(require("node:util"),1),V$=b(require("node:process"),1);function $$(t,...e){V$.default.stderr.write(`${z$.default.format(t,...e)}${H$.EOL}`)}o($$,"log");var Y$=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,W$,Q0=[],x0=[],kg=[];Y$&&N0(Y$);var j$=Object.assign(t=>K$(t),{enable:N0,enabled:S0,disable:Uye,log:$$});function N0(t){W$=t,Q0=[],x0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?x0.push(r.substring(1)):Q0.push(r);for(let r of kg)r.enabled=S0(r.namespace)}o(N0,"enable");function S0(t){if(t.endsWith("*"))return!0;for(let e of x0)if(J$(t,e))return!1;for(let e of Q0)if(J$(t,e))return!0;return!1}o(S0,"enabled");function J$(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let p=[],m="";for(let h of e)h==="*"&&m==="*"||(m=h,p.push(h));r=p.join("")}let s=0,n=0,i=r.length,a=t.length,c=-1,l=-1;for(;s=0){if(n=c+1,s=l+1,s===a)return!1;for(;t[s]!==r[n];)if(s++,s===a)return!1;l=s,s++,n++;continue}else return!1;let u=s===t.length,A=n===r.length,d=n===r.length-1&&r[n]==="*";return u&&(A||d)}o(J$,"namespaceMatches");function Uye(){let t=W$||"";return N0(""),t}o(Uye,"disable");function K$(t){let e=Object.assign(r,{enabled:S0(t),destroy:qye,log:j$.log,namespace:t,extend:Gye});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),kg.push(e),e}o(K$,"createDebugger");function qye(){let t=kg.indexOf(this);return t>=0?(kg.splice(t,1),!0):!1}o(qye,"destroy");function Gye(t){let e=K$(`${this.namespace}:${t}`);return e.log=this.log,e}o(Gye,"extend");var iu=j$;var R0=["verbose","info","warning","error"],X$={verbose:400,info:300,warning:200,error:100};function Z$(t,e){e.log=(...r)=>{t.log(...r)}}o(Z$,"patchLogMethod");function eY(t){return R0.includes(t)}o(eY,"isTypeSpecRuntimeLogLevel");function Dg(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=iu(t.namespace);n.log=(...A)=>{iu.log(...A)};function i(A){if(A&&!eY(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${R0.join(",")}`);s=A;let d=[];for(let p of e)a(p)&&d.push(p.namespace);iu.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(eY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${R0.join(", ")}.`));function a(A){return!!(s&&X$[A.level]<=X$[s])}o(a,"shouldEnable");function c(A,d){let p=Object.assign(A.extend(d),{level:d});if(Z$(A,p),a(p)){let m=iu.disable();iu.enable(m+","+p.namespace)}return e.add(p),p}o(c,"createLogger");function l(){return s}o(l,"contextGetLogLevel");function u(A){let d=n.extend(A);return Z$(n,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:i,getLogLevel:l,createClientLogger:u,logger:n}}o(Dg,"createLoggerContext");var tY=Dg({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Hye=tY.logger;function sp(t){return tY.createClientLogger(t)}o(sp,"createClientLogger");function _g(t){return t.toLowerCase()}o(_g,"normalizeName");function*zye(t){for(let e of t.values())yield[e.name,e.value]}o(zye,"headerIterator");var T0=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(_g(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(_g(e))?.value}has(e){return this._headersMap.has(_g(e))}delete(e){this._headersMap.delete(_g(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let s of this._headersMap.values())r[s.name]=s.value;else for(let[s,n]of this._headersMap)r[s]=n.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return zye(this._headersMap)}};function rs(t){return new T0(t)}o(rs,"createHttpHeaders");function Ka(){return crypto.randomUUID()}o(Ka,"randomUUID");var P0=class{static{o(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??rs(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||Ka(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Lg(t){return new P0(t)}o(Lg,"createPipelineRequest");var rY=new Set(["Deserialize","Serialize","Retry","Sign"]),v0=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!rY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!rY.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(s=>e.name&&s.policy.name===e.name||e.phase&&s.options.phase===e.phase?(r.push(s.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((i,a)=>c=>a.sendRequest(c,i),i=>e.sendRequest(i))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function s(h){return{name:h,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(s,"createPhase");let n=s("Serialize"),i=s("None"),a=s("Deserialize"),c=s("Retry"),l=s("Sign"),u=[n,i,a,c,l];function A(h){return h==="Retry"?c:h==="Serialize"?n:h==="Deserialize"?a:h==="Sign"?l:i}o(A,"getPhase");for(let h of this._policies){let f=h.policy,C=h.options,E=f.name;if(r.has(E))throw new Error("Duplicate policy names not allowed in pipeline");let y={policy:f,dependsOn:new Set,dependants:new Set};C.afterPhase&&(y.afterPhase=A(C.afterPhase),y.afterPhase.hasAfterPolicies=!0),r.set(E,y),A(C.phase).policies.add(y)}for(let h of this._policies){let{policy:f,options:C}=h,E=f.name,y=r.get(E);if(!y)throw new Error(`Missing node for policy ${E}`);if(C.afterPolicies)for(let I of C.afterPolicies){let B=r.get(I);B&&(y.dependsOn.add(B),B.dependants.add(y))}if(C.beforePolicies)for(let I of C.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(y),y.dependants.add(B))}}function d(h){h.hasRun=!0;for(let f of h.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let C of f.dependants)C.dependsOn.delete(f);r.delete(f.policy.name),h.policies.delete(f)}}o(d,"walkPhase");function p(){for(let h of u){if(d(h),h.policies.size>0&&h!==i){i.hasRun||d(i);return}h.hasAfterPolicies&&d(i)}}o(p,"walkPhases");let m=0;for(;r.size>0;){m++;let h=e.length;if(p(),e.length<=h&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Mg(){return v0.create()}o(Mg,"createEmptyPipeline");function ou(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(ou,"isObject");function Xa(t){if(ou(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Xa,"isError");var sY=require("node:util"),nY=sY.inspect.custom;var k0="REDACTED",Vye=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],$ye=["api-version"],un=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Vye.concat(e),r=$ye.concat(r),this.allowedHeaderNames=new Set(e.map(s=>s.toLowerCase())),this.allowedQueryParameters=new Set(r.map(s=>s.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(s,n)=>{if(n instanceof Error)return{...n,name:n.name,message:n.message};if(s==="headers")return this.sanitizeHeaders(n);if(s==="url")return this.sanitizeUrl(n);if(s==="query")return this.sanitizeQuery(n);if(s==="body")return;if(s==="response")return;if(s==="operationSpec")return;if(Array.isArray(n)||ou(n)){if(r.has(n))return"[Circular]";r.add(n)}return n},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[s]of r.searchParams)this.allowedQueryParameters.has(s.toLowerCase())||r.searchParams.set(s,k0);return r.toString()}sanitizeHeaders(e){let r={};for(let s of Object.keys(e))this.allowedHeaderNames.has(s.toLowerCase())?r[s]=e[s]:r[s]=k0;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let s of Object.keys(e))this.allowedQueryParameters.has(s.toLowerCase())?r[s]=e[s]:r[s]=k0;return r}};var Yye=new un,mr=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let s=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,nY,{value:o(()=>`RestError: ${this.message} + ${Yye.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Og(t){return t instanceof mr?!0:Xa(t)&&t.name==="RestError"}o(Og,"isRestError");function Tr(t,e){return Buffer.from(t,e)}o(Tr,"stringToUint8Array");var Fg=b(require("node:http"),1),Ug=b(require("node:https"),1),D0=b(require("node:zlib"),1),oY=require("node:stream");var Ss=sp("ts-http-runtime");var Jye={};function np(t){return t&&typeof t.pipe=="function"}o(np,"isReadableStream");function iY(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(iY,"isStreamComplete");function aY(t){return t&&typeof t.byteLength=="number"}o(aY,"isArrayBuffer");var qg=class extends oY.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},_0=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new On("The operation was aborted. Request has already been canceled.");s=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let u=new un;Ss.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=Xye(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new qg(h);f.on("error",C=>{Ss.error("Error in upload progress",C)}),np(c)?c.pipe(f):f.end(c),c=f}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=Wye(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?jye(u,A):u;let m=e.onDownloadProgress;if(m){let h=new qg(m);h.on("error",f=>{Ss.error("Error in download progress",f)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await Kye(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();np(c)&&(u=iY(c));let A=Promise.resolve();np(l)&&(A=iY(l)),Promise.all([u,A]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(d=>{Ss.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let A=i?Fg.default.request(c,l):Ug.default.request(c,l);A.once("error",d=>{u(new mr(d.message,{code:d.code??mr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new On("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&np(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):aY(s)?A.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Ss.error("Unrecognized body type",s),u(new mr("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?Fg.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Fg.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return Ug.default.globalAgent;let n=e.tlsSettings??Jye,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Ss.info("No cached TLS Agent exist, creating a new Agent"),i=new Ug.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function Wye(t){let e=rs();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}o(Wye,"getResponseHeaders");function jye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=D0.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=D0.default.createInflate();return t.pipe(s),s}return t}o(jye,"getDecodedResponseStream");function Kye(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new mr(`Error reading response as text: ${n.message}`,{code:mr.PARSE_ERROR}))})})}o(Kye,"streamToText");function Xye(t){return t?Buffer.isBuffer(t)?t.length:np(t)?null:aY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Xye,"getBodyLength");function cY(){return new _0}o(cY,"createNodeHttpClient");function Gg(){return cY()}o(Gg,"createDefaultHttpClient");var L0="logPolicy";function Hg(t={}){let e=t.logger??Ss.info,r=new un({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:L0,async sendRequest(s,n){if(!e.enabled)return n(s);e(`Request: ${r.sanitize(s)}`);let i=await n(s);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}o(Hg,"logPolicy");var zg="redirectPolicy",lY=["GET","HEAD"];function Vg(t={}){let{maxRetries:e=20}=t;return{name:zg,async sendRequest(r,s){let n=await s(r);return uY(s,n,e)}}}o(Vg,"redirectPolicy");async function uY(t,e,r,s=0){let{request:n,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&lY.includes(n.method)||i===302&&lY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,a,c=o(()=>n(new On(r?.abortErrorMsg?r?.abortErrorMsg:Zye)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(i&&clearTimeout(i),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();i=setTimeout(()=>{l(),s(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(pY,"delay");function mY(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}o(mY,"parseHeaderValueAsNumber");var M0="Retry-After",eCe=["retry-after-ms","x-ms-retry-after-ms",M0];function hY(t){if(t&&[429,503].includes(t.status))try{for(let n of eCe){let i=mY(t,n);if(i===0||i)return i*(n===M0?1e3:1)}let e=t.headers.get(M0);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}o(hY,"getRetryAfterInMs");function fY(t){return Number.isFinite(hY(t))}o(fY,"isThrottlingRetryResponse");function O0(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=hY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(O0,"throttlingRetryStrategy");var tCe=1e3,rCe=1e3*64;function Wg(t={}){let e=t.retryDelayInMs??tCe,r=t.maxRetryDelayInMs??rCe;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let a=nCe(i),c=a&&t.ignoreSystemErrors,l=sCe(n),u=l&&t.ignoreHttpStatusCodes;return n&&(fY(n)||!l)||u||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:Jg(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Wg,"exponentialRetryStrategy");function sCe(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(sCe,"isExponentialRetryResponse");function nCe(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(nCe,"isSystemError");var iCe=sp("ts-http-runtime retryPolicy"),oCe="retryPolicy";function ec(t,e={maxRetries:3}){let r=e.logger||iCe;return{name:oCe,async sendRequest(s,n){let i,a,c=-1;e:for(;;){c+=1,i=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,s.requestId),i=await n(s),r.info(`Retry ${c}: Received a response from request`,s.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,s.requestId),a=l,!l||a.name!=="RestError")throw l;i=a.response}if(s.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new On;if(c>=(e.maxRetries??3)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let A=l.retry({retryCount:c,response:i,responseError:a});if(A.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:p,redirectTo:m}=A;if(d)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(p||p===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${p}`),await pY(p,void 0,{abortSignal:s.abortSignal});continue e}if(m){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),s.url=m;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}o(ec,"retryPolicy");var F0="defaultRetryPolicy";function jg(t={}){return{name:F0,sendRequest:ec([O0(),Wg(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(jg,"defaultRetryPolicy");var gY=typeof window<"u"&&typeof window.document<"u",EY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),yY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",CY=typeof Bun<"u"&&typeof Bun.version<"u",tc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var IY=typeof navigator<"u"&&navigator?.product==="ReactNative";var U0="formDataPolicy";function aCe(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}o(aCe,"formDataToFormDataMap");function Kg(){return{name:U0,async sendRequest(t,e){if(tc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=aCe(t.body),t.body=void 0),t.formData){let r=t.headers.get("Content-Type");r&&r.indexOf("application/x-www-form-urlencoded")!==-1?t.body=cCe(t.formData):await lCe(t.formData,t),t.formData=void 0}return e(t)}}}o(Kg,"formDataPolicy");function cCe(t){let e=new URLSearchParams;for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.append(r,n.toString());else e.append(r,s.toString());return e.toString()}o(cCe,"wwwFormUrlEncode");async function lCe(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let s=[];for(let[n,i]of Object.entries(t))for(let a of Array.isArray(i)?i:[i])if(typeof a=="string")s.push({headers:rs({"Content-Disposition":`form-data; name="${n}"`}),body:Tr(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${n}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=rs();l.set("Content-Disposition",`form-data; name="${n}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),s.push({headers:l,body:a})}}e.multipartBody={parts:s}}o(lCe,"prepareFormData");var oJ=b($Y(),1),aJ=b(rJ(),1);var EIe="HTTPS_PROXY",yIe="HTTP_PROXY",CIe="ALL_PROXY",IIe="NO_PROXY",Y0="proxyPolicy",sJ=[],cJ=!1,BIe=new Map;function aE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(aE,"getEnvironmentValue");function lJ(){if(!process)return;let t=aE(EIe),e=aE(CIe),r=aE(yIe);return t||e||r}o(lJ,"loadEnvironmentProxyValue");function wIe(t,e,r){if(e.length===0)return!1;let s=new URL(t).hostname;if(r?.has(s))return r.get(s);let n=!1;for(let i of e)i[0]==="."?(s.endsWith(i)||s.length===i.length-1&&s===i.slice(1))&&(n=!0):s===i&&(n=!0);return r?.set(s,n),n}o(wIe,"isBypassed");function bIe(){let t=aE(IIe);return cJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(bIe,"loadNoProxy");function J0(t){if(!t&&(t=lJ(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(J0,"getDefaultProxySettings");function QIe(){let t=lJ();return t?new URL(t):void 0}o(QIe,"getDefaultProxySettingsInternal");function nJ(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(nJ,"getUrlFromProxySettings");function iJ(t,e,r){if(t.agent)return;let n=new URL(t.url).protocol!=="https:";t.tlsSettings&&Ss.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();n?(e.httpProxyAgent||(e.httpProxyAgent=new aJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new oJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(iJ,"setProxyAgentOnRequest");function cE(t,e){cJ||sJ.push(...bIe());let r=t?nJ(t):QIe(),s={};return{name:Y0,async sendRequest(n,i){return!n.proxySettings&&r&&!wIe(n.url,e?.customNoProxyList??sJ,e?.customNoProxyList?void 0:BIe)?iJ(n,s,r):n.proxySettings&&iJ(n,s,nJ(n.proxySettings)),i(n)}}}o(cE,"proxyPolicy");var W0="agentPolicy";function lE(t){return{name:W0,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(lE,"agentPolicy");var j0="tlsPolicy";function uE(t){return{name:j0,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(uE,"tlsPolicy");function AE(t){return typeof t.stream=="function"}o(AE,"isBlob");var dE=require("stream");async function*uJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(uJ,"streamAsyncIterator");function xIe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=uJ.bind(t)),t.values||(t.values=uJ.bind(t))}o(xIe,"makeAsyncIterable");function AJ(t){return t instanceof ReadableStream?(xIe(t),dE.Readable.fromWeb(t)):t}o(AJ,"ensureNodeStream");function NIe(t){return t instanceof Uint8Array?dE.Readable.from(Buffer.from(t)):AE(t)?AJ(t.stream()):AJ(t)}o(NIe,"toStream");async function dJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(NIe);return dE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}o(dJ,"concat");function SIe(){return`----AzSDKFormBoundary${Ka()}`}o(SIe,"generateBoundary");function RIe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r +`;return e}o(RIe,"encodeHeaders");function TIe(t){return t instanceof Uint8Array?t.byteLength:AE(t)?t.size===-1?void 0:t.size:void 0}o(TIe,"getLength");function PIe(t){let e=0;for(let r of t){let s=TIe(r);if(s===void 0)return;e+=s}return e}o(PIe,"getTotalLength");async function vIe(t,e,r){let s=[Tr(`--${r}`,"utf-8"),...e.flatMap(i=>[Tr(`\r +`,"utf-8"),Tr(RIe(i.headers),"utf-8"),Tr(`\r `,"utf-8"),i.body,Tr(`\r --${r}`,"utf-8")]),Tr(`--\r \r -`,"utf-8")],n=RIe(s);n&&t.headers.set("Content-Length",n),t.body=await AJ(s)}o(TIe,"buildRequestBody");var op="multipartPolicy",PIe=70,vIe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function kIe(t){if(t.length>PIe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!vIe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(kIe,"assertValidBoundary");function dE(){return{name:op,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?kIe(r):r=xIe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await TIe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(dE,"multipartPolicy");function pE(){return Lg()}o(pE,"createEmptyPipeline");var dJ=kg({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),UWe=dJ.logger;function qn(t){return dJ.createClientLogger(t)}o(qn,"createClientLogger");var Gn=qn("core-rest-pipeline");function K0(t={}){return Gg({logger:Gn.info,...t})}o(K0,"logPolicy");var X0=Hg;function Z0(t={}){return zg(t)}o(Z0,"redirectPolicy");var mE=b(require("node:os"),1),hE=b(require("node:process"),1);function pJ(){return"User-Agent"}o(pJ,"getHeaderName");async function mJ(t){if(hE.default&&hE.default.versions){let e=`${mE.default.type()} ${mE.default.release()}; ${mE.default.arch()}`,r=hE.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(mJ,"setPlatformSpecificData");var fE="1.22.2";function qIe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(qIe,"getUserAgentString");function hJ(){return pJ()}o(hJ,"getUserAgentHeaderName");async function gE(t){let e=new Map;e.set("core-rest-pipeline",fE),await mJ(e);let r=qIe(e);return t?`${t} ${r}`:r}o(gE,"getUserAgentValue");var fJ=hJ(),gJ="userAgentPolicy";function eN(t={}){let e=gE(t.userAgentPrefix);return{name:gJ,async sendRequest(r,s){return r.headers.has(fJ)||r.headers.set(fJ,await e),s(r)}}}o(eN,"userAgentPolicy");var os=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function tN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new os(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(tN,"createAbortablePromise");var $Ie="The delay was aborted.";function ap(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return tN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??$Ie})}o(ap,"delay");function Vo(t){if(Xa(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(Vo,"getErrorMessage");function EJ(t){return Xa(t)}o(EJ,"isError");function Au(){return Ka()}o(Au,"randomUUID");var we=tc;var yJ=Symbol("rawContent");function sN(t){return typeof t[yJ]=="function"}o(sN,"hasRawContent");function CJ(t){return sN(t)?t[yJ]():t}o(CJ,"getRawContent");var EE=op;function nN(){let t=dE();return{name:EE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)sN(s.body)&&(s.body=CJ(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(nN,"multipartPolicy");var iN=Vg;function oN(){return $g()}o(oN,"decompressResponsePolicy");function aN(t={}){return Wg(t)}o(aN,"defaultRetryPolicy");function cN(){return jg()}o(cN,"formDataPolicy");function $o(t){return $0(t)}o($o,"getDefaultProxySettings");function lN(t,e){return aE(t,e)}o(lN,"proxyPolicy");var IJ="setClientRequestIdPolicy";function uN(t="x-ms-client-request-id"){return{name:IJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(uN,"setClientRequestIdPolicy");function AN(t){return cE(t)}o(AN,"agentPolicy");function dN(t){return lE(t)}o(dN,"tlsPolicy");var du={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function BJ(t={}){let e=new pN(t.parentContext);return t.span&&(e=e.setValue(du.span,t.span)),t.namespace&&(e=e.setValue(du.namespace,t.namespace)),e}o(BJ,"createTracingContext");var pN=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let s=new t(this);return s._contextMap.set(e,r),s}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var bJ=b(wJ(),1),CE=bJ.state;function YIe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(YIe,"createDefaultTracingSpan");function JIe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:YIe(),tracingContext:BJ({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(JIe,"createDefaultInstrumenter");function cp(){return CE.instrumenterImplementation||(CE.instrumenterImplementation=JIe()),CE.instrumenterImplementation}o(cp,"getInstrumenter");function lp(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(u,A,d){let p=cp().startSpan(u,{...d,packageName:r,packageVersion:s,tracingContext:A?.tracingOptions?.tracingContext}),m=p.tracingContext,h=p.span;m.getValue(du.namespace)||(m=m.setValue(du.namespace,e)),h.setAttribute("az.namespace",m.getValue(du.namespace));let f=Object.assign({},A,{tracingOptions:{...A?.tracingOptions,tracingContext:m}});return{span:h,updatedOptions:f}}o(n,"startSpan");async function i(u,A,d,p){let{span:m,updatedOptions:h}=n(u,A,p);try{let f=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,m)));return m.setStatus({status:"success"}),f}catch(f){throw m.setStatus({status:"error",error:f}),f}finally{m.end()}}o(i,"withSpan");function a(u,A,...d){return cp().withContext(u,A,...d)}o(a,"withContext");function c(u){return cp().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return cp().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:n,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(lp,"createTracingClient");var Hi=mr;function sc(t){return Mg(t)}o(sc,"isRestError");var QJ="tracingPolicy";function mN(t={}){let e=gE(t.userAgentPrefix),r=new un({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=WIe();return{name:QJ,async sendRequest(n,i){if(!s)return i(n);let a=await e,c={"http.url":r.sanitizeUrl(n.url),"http.method":n.method,"http.user_agent":a,requestId:n.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=jIe(s,n,c)??{};if(!l||!u)return i(n);try{let A=await s.withContext(u,i,n);return XIe(l,A),A}catch(A){throw KIe(l,A),A}}}}o(mN,"tracingPolicy");function WIe(){try{return lp({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:fE})}catch(t){Gn.warning(`Error when creating the TracingClient: ${Vo(t)}`);return}}o(WIe,"tryCreateTracingClient");function jIe(t,e,r){try{let{span:s,updatedOptions:n}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!s.isRecording()){s.end();return}let i=t.createRequestHeaders(n.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(s){Gn.warning(`Skipping creating a tracing span due to an error: ${Vo(s)}`);return}}o(jIe,"tryCreateSpan");function KIe(t,e){try{t.setStatus({status:"error",error:EJ(e)?e:void 0}),sc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Gn.warning(`Skipping tracing span processing due to an error: ${Vo(r)}`)}}o(KIe,"tryProcessError");function XIe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){Gn.warning(`Skipping tracing span processing due to an error: ${Vo(r)}`)}}o(XIe,"tryProcessResponse");function IE(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function s(){r&&(t.removeEventListener("abort",n),r=!1)}o(s,"cleanup");function n(){e.abort(t.reason),s()}return o(n,"listener"),t.addEventListener("abort",n),{abortSignal:e.signal,cleanup:s}}o(IE,"wrapAbortSignalLike");var ZIe="wrapAbortSignalLikePolicy";function xJ(){return{name:ZIe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=IE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}},"sendRequest")}}o(xJ,"wrapAbortSignalLikePolicy");function hN(t){let e=pE();return we&&(t.agent&&e.addPolicy(AN(t.agent)),t.tlsOptions&&e.addPolicy(dN(t.tlsOptions)),e.addPolicy(lN(t.proxyOptions)),e.addPolicy(oN())),e.addPolicy(xJ()),e.addPolicy(cN(),{beforePolicies:[EE]}),e.addPolicy(eN(t.userAgentOptions)),e.addPolicy(uN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(nN(),{afterPhase:"Deserialize"}),e.addPolicy(aN(t.retryOptions),{phase:"Retry"}),e.addPolicy(mN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),we&&e.addPolicy(Z0(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(K0(t.loggingOptions),{afterPhase:"Sign"}),e}o(hN,"createPipelineFromOptions");function up(){let t=qg();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?IE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}o(up,"createDefaultHttpClient");function zi(t){return rs(t)}o(zi,"createHttpHeaders");function Ap(t){return _g(t)}o(Ap,"createPipelineRequest");var fje=qn("core-rest-pipeline retryPolicy");var eBe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function tBe(t,e,r){async function s(){if(Date.now()t.getToken(l,u),"tryGetAccessToken"),i.retryIntervalInMs,s?.expiresOnTimestamp??Date.now()).then(d=>(r=null,s=d,n=u.tenantId,s)).catch(d=>{throw r=null,s=null,n=void 0,d})),r}return o(c,"refresh"),async(l,u)=>{let A=!!u.claims,d=n!==u.tenantId;return A&&(s=null),d||A||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),s)}}o(fN,"createTokenCycler");var TJ="bearerTokenAuthenticationPolicy";async function BE(t,e){try{return[await e(t),void 0]}catch(r){if(sc(r)&&r.response)return[r.response,r];throw r}}o(BE,"trySendRequest");async function rBe(t){let{scopes:e,getAccessToken:r,request:s}=t,n={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions,enableCae:!0},i=await r(e,n);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}o(rBe,"defaultAuthorizeRequest");function NJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(NJ,"isChallengeResponse");async function SJ(t,e){let{scopes:r}=t,s=await t.getAccessToken(r,{enableCae:!0,claims:e});return s?(t.request.headers.set("Authorization",`${s.tokenType??"Bearer"} ${s.token}`),!0):!1}o(SJ,"authorizeRequestOnCaeChallenge");function pu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||Gn,i={authorizeRequest:s?.authorizeRequest?.bind(s)??rBe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},a=e?fN(e):()=>Promise.resolve(null);return{name:TJ,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:n});let u,A,d;if([u,A]=await BE(c,l),NJ(u)){let p=RJ(u.headers.get("WWW-Authenticate"));if(p){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await SJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await BE(c,l))}else if(i.authorizeRequestOnChallenge&&(d=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:n}),d&&([u,A]=await BE(c,l)),NJ(u)&&(p=RJ(u.headers.get("WWW-Authenticate")),p))){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await SJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await BE(c,l))}}if(A)throw A;return u}}}o(pu,"bearerTokenAuthenticationPolicy");function sBe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,s=[],n;for(;(n=e.exec(t))!==null;){let i=n[1],a=n[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];s.push({scheme:i,params:c})}return s}o(sBe,"parseChallenges");function RJ(t){return t?sBe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(RJ,"getCaeChallengeClaims");function as(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(as,"isTokenCredential");var gN="DisableKeepAlivePolicy";function PJ(){return{name:gN,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(PJ,"createDisableKeepAlivePolicy");function vJ(t){return t.getOrderedPolicies().some(e=>e.name===gN)}o(vJ,"pipelineContainsDisableKeepAlivePolicy");function EN(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(EN,"encodeByteArray");function yN(t){return Buffer.from(t,"base64")}o(yN,"decodeString");function iBe(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(iBe,"isPrimitiveBody");var oBe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function kJ(t){return oBe.test(t)}o(kJ,"isDuration");var aBe=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function DJ(t){return aBe.test(t)}o(DJ,"isValidUuid");function cBe(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(cBe,"handleNullableResponseAndWrappableBody");function CN(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let s=e&&e.bodyMapper,n=!!s?.nullable,i=s?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=i==="Composite"&&s.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(i==="Sequence"||c){let l=t.parsedBody??[];for(let u of Object.keys(a))a[u].serializedName&&(l[u]=t.parsedBody?.[u]);if(r)for(let u of Object.keys(r))l[u]=r[u];return n&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return cBe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:iBe(t.parsedBody,i)})}o(CN,"flattenResponse");var IN=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,s){let n=o((i,a)=>{throw new Error(`"${s}" with value "${r}" should satisfy the constraint "${i}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:A,MinItems:d,MinLength:p,MultipleOf:m,Pattern:h,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&n("ExclusiveMaximum",i),a!==void 0&&r<=a&&n("ExclusiveMinimum",a),c!==void 0&&r>c&&n("InclusiveMaximum",c),l!==void 0&&ru&&n("MaxItems",u),A!==void 0&&r.length>A&&n("MaxLength",A),d!==void 0&&r.lengthy.indexOf(C)!==E)&&n("UniqueItems",f)}}serialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},a={},c=e.type.name;s||(s=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:u}=e;if(l&&u&&r===void 0)throw new Error(`${s} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${s} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${s} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=mBe(c,s,r):c.match(/^Enum$/i)!==null?a=hBe(s,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=EBe(c,r,s):c.match(/^ByteArray$/i)!==null?a=fBe(s,r):c.match(/^Base64Url$/i)!==null?a=gBe(s,r):c.match(/^Sequence$/i)!==null?a=yBe(this,e,r,s,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=CBe(this,e,r,s,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=BBe(this,e,r,s,!!this.isXML,i)),a}deserialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"},ignoreUnknownProperties:n.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(s||(s=e.serializedName),c.match(/^Composite$/i)!==null)a=bBe(this,e,r,s,i);else{if(this.isXML){let l=i.xml.xmlCharKey;r["$"]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=pBe(r):c.match(/^ByteArray$/i)!==null?a=yN(r):c.match(/^Base64Url$/i)!==null?a=ABe(r):c.match(/^Sequence$/i)!==null?a=xBe(this,e,r,s,i):c.match(/^Dictionary$/i)!==null&&(a=QBe(this,e,r,s,i))}return e.isConstant&&(a=e.defaultValue),a}};function cs(t={},e=!1){return new IN(t,e)}o(cs,"createSerializer");function lBe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(lBe,"trimEnd");function uBe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=EN(t);return lBe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(uBe,"bufferToBase64Url");function ABe(t){if(t){if(t&&typeof t.valueOf()!="string")throw new Error("Please provide an input of type string for converting to Uint8Array");return t=t.replace(/-/g,"+").replace(/_/g,"/"),yN(t)}}o(ABe,"base64UrlToByteArray");function BN(t){let e=[],r="";if(t){let s=t.split(".");for(let n of s)n.charAt(n.length-1)==="\\"?r+=n.substr(0,n.length-1)+".":(r+=n,e.push(r),r="")}return e}o(BN,"splitSerializeName");function dBe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(dBe,"dateToUnixTime");function pBe(t){if(t)return new Date(t*1e3)}o(pBe,"unixTimeToDate");function mBe(t,e,r){if(r!=null){if(t.match(/^Number$/i)!==null){if(typeof r!="number")throw new Error(`${e} with value ${r} must be of type number.`)}else if(t.match(/^String$/i)!==null){if(typeof r.valueOf()!="string")throw new Error(`${e} with value "${r}" must be of type string.`)}else if(t.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()=="string"&&DJ(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let s=typeof r;if(s!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&s!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(mBe,"serializeBasicTypes");function hBe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(n=>typeof n.valueOf()=="string"?n.toLowerCase()===r.toLowerCase():n===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(hBe,"serializeEnumType");function fBe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=EN(e)}return e}o(fBe,"serializeByteArrayType");function gBe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=uBe(e)}return e}o(gBe,"serializeBase64UrlType");function EBe(t,e,r){if(e!=null){if(t.match(/^Date$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString().substring(0,10):new Date(e).toISOString().substring(0,10)}else if(t.match(/^DateTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString():new Date(e).toISOString()}else if(t.match(/^DateTimeRfc1123$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);e=e instanceof Date?e.toUTCString():new Date(e).toUTCString()}else if(t.match(/^UnixTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);e=dBe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!kJ(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(EBe,"serializeDateTypes");function yBe(t,e,r,s,n,i){if(!Array.isArray(r))throw new Error(`${s} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lp!==A)&&(a[A]=t.serialize(l,r[A],s+'["'+A+'"]',i))}return a}return r}o(BBe,"serializeCompositeType");function OJ(t,e,r,s){if(!r||!t.xmlNamespace)return e;let i={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=i,c}}let a={};return a[s.xml.xmlCharKey]=e,a["$"]=i,a}o(OJ,"getXmlObjectValue");function wBe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(wBe,"isSpecialXmlProperty");function bBe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";wE(t,e)&&(e=FJ(t,e,r,"serializedName"));let a=MJ(t,e,s),c={},l=[];for(let A of Object.keys(a)){let d=a[A],p=BN(a[A].serializedName);l.push(p[0]);let{serializedName:m,xmlName:h,xmlElementName:f}=d,C=s;m!==""&&m!==void 0&&(C=s+"."+m);let E=d.headerCollectionPrefix;if(E){let y={};for(let I of Object.keys(r))I.startsWith(E)&&(y[I.substring(E.length)]=t.deserialize(d.type.value,r[I],C,n)),l.push(I);c[A]=y}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[A]=t.deserialize(d,r["$"][h],C,n);else if(d.xmlIsMsText)r[i]!==void 0?c[A]=r[i]:typeof r=="string"&&(c[A]=r);else{let y=f||h||m;if(d.xmlIsWrapped){let B=r[h]?.[f]??[];c[A]=t.deserialize(d,B,C,n),l.push(h)}else{let I=r[y];c[A]=t.deserialize(d,I,C,n),l.push(y)}}else{let y,I=r,B=0;for(let U of p){if(!I)break;B++,I=I[U]}I===null&&B{for(let p in a)if(BN(a[p].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)A(d)&&(c[d]=t.deserialize(u,r[d],s+'["'+d+'"]',n))}else if(r&&!n.ignoreUnknownProperties)for(let A of Object.keys(r))c[A]===void 0&&!l.includes(A)&&!wBe(A,n)&&(c[A]=r[A]);return c}o(bBe,"deserializeCompositeType");function QBe(t,e,r,s,n){let i=e.type.value;if(!i||typeof i!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${s}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],s,n);return a}return r}o(QBe,"deserializeDictionaryType");function xBe(t,e,r,s,n){let i=e.type.element;if(!i||typeof i!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}`);if(r){Array.isArray(r)||(r=[r]),i.type.name==="Composite"&&i.type.className&&(i=t.modelMappers[i.type.className]??i);let a=[];for(let c=0;c0)if(n.isConstant)i=n.defaultValue;else{let a=GJ(t,s);!a.propertyFound&&r&&(a=GJ(r,s));let c=!1;a.propertyFound||(c=n.required||s[0]==="options"&&s.length===2),i=c?n.defaultValue:a.propertyValue}}else{n.required&&(i={});for(let a in s){let c=n.type.modelProperties[a],l=s[a],u=Jo(t,{parameterPath:l,mapper:c},r);u!==void 0&&(i||(i={}),i[a]=u)}}return i}o(Jo,"getOperationArgumentValueFromParameter");function GJ(t,e){let r={propertyFound:!1},s=0;for(;s=200&&r.status<300);l.headersMapper&&(i.parsedHeaders=c.serializer.deserialize(l.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}o(kBe,"deserializeResponseBody");function DBe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(DBe,"isOperationSpecEmpty");function _Be(t,e,r,s){let n=200<=t.status&&t.status<300;if(DBe(e)?n:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new Hi(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let u=a?.bodyMapper,A=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,p;if(u){let h=d;if(e.isXML&&u.type.name===Hn.Sequence){h=[];let f=u.xmlElementName;typeof d=="object"&&f&&(h=d[f])}p=e.serializer.deserialize(u,h,"error.response.parsedBody",s)}let m=d.error||p||d;l.code=m.code,m.message&&(l.message=m.message),u&&(l.response.parsedBody=p)}t.headers&&A&&(l.response.parsedHeaders=e.serializer.deserialize(A,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(_Be,"handleErrorResponse");async function LBe(t,e,r,s,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(i),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!n)throw new Error("Parsing XML not supported.");let l=await n(i,s.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,A=l.code||Hi.PARSE_ERROR;throw new Hi(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(LBe,"parse");function VJ(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===Hn.Stream&&e.add(Number(r))}return e}o(VJ,"getStreamingResponseStatusCodes");function zn(t){let{parameterPath:e,mapper:r}=t,s;return typeof e=="string"?s=e:Array.isArray(e)?s=e.join("."):s=r.serializedName,s}o(zn,"getPathStringFromParameter");var $J="serializationPolicy";function QE(t={}){let e=t.stringifyXML;return{name:$J,async sendRequest(r,s){let n=Vi(r),i=n?.operationSpec,a=n?.operationArguments;return i&&a&&(MBe(r,a,i),OBe(r,a,i,e)),s(r)}}}o(QE,"serializationPolicy");function MBe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=Jo(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,zn(n));let a=n.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(i))t.headers.set(a+c,i[c]);else t.headers.set(n.mapper.serializedName||zn(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}o(MBe,"serializeHeaders");function OBe(t,e,r,s=function(){throw new Error("XML serialization unsupported!")}){let n=e.options?.serializerOptions,i={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},a=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=Jo(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:A,xmlElementName:d,xmlNamespace:p,xmlNamespacePrefix:m,nullable:h}=c,f=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=zn(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let E=f===Hn.Stream;if(r.isXML){let y=m?`xmlns:${m}`:"xmlns",I=FBe(p,y,f,t.body,i);f===Hn.Sequence?t.body=s(UBe(I,d||A||u,y,p),{rootName:A||u,xmlCharKey:a}):E||(t.body=s(I,{rootName:A||u,xmlCharKey:a}))}else{if(f===Hn.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;E||(t.body=JSON.stringify(t.body))}}}catch(C){throw new Error(`Error "${C.message}" occurred in serializing the payload - ${JSON.stringify(u,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=Jo(e,c);if(l!=null){let u=c.mapper.serializedName||zn(c);t.formData[u]=r.serializer.serialize(c.mapper,l,zn(c),i)}}}}o(OBe,"serializeRequestBody");function FBe(t,e,r,s,n){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[n.xml.xmlCharKey]=s,i["$"]={[e]:t},i}return s}o(FBe,"getXmlValueWithNamespace");function UBe(t,e,r,s){if(Array.isArray(t)||(t=[t]),!r||!s)return{[e]:t};let n={[e]:t};return n["$"]={[r]:s},n}o(UBe,"prepareXMLRootList");function dp(t={}){let e=hN(t??{});return t.credentialOptions&&e.addPolicy(pu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(QE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(bN(t.deserializationOptions),{phase:"Deserialize"}),e}o(dp,"createClientPipeline");var QN;function YJ(){return QN||(QN=up()),QN}o(YJ,"getCachedDefaultHttpClient");var qBe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function WJ(t,e,r,s){let n=GBe(e,r,s),i=!1,a=JJ(t,n);if(e.path){let u=JJ(e.path,n);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),HBe(u)?(a=u,i=!0):a=zBe(a,u)}let{queryParams:c,sequenceParams:l}=VBe(e,r,s);return a=YBe(a,c,l,i),a}o(WJ,"getRequestUrl");function JJ(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}o(JJ,"replaceAll");function GBe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=Jo(e,n,r),a=zn(n);i=t.serializer.serialize(n.mapper,i,a),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||a}}`,i)}return s}o(GBe,"calculateUrlReplacements");function HBe(t){return t.includes("://")}o(HBe,"isAbsoluteUrl");function zBe(t,e){if(!e)return t;let r=new URL(t),s=r.pathname;s.endsWith("/")||(s=`${s}/`),e.startsWith("/")&&(e=e.substring(1));let n=e.indexOf("?");if(n!==-1){let i=e.substring(0,n),a=e.substring(n+1);s=s+i,a&&(r.search=r.search?`${r.search}&${a}`:a)}else s=s+e;return r.pathname=s,r.toString()}o(zBe,"appendPath");function VBe(t,e,r){let s=new Map,n=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&n.add(i.mapper.serializedName);let a=Jo(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,zn(i));let c=i.collectionFormat?qBe[i.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),i.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(a=a.join(c)),i.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(a=a.join(c)),s.set(i.mapper.serializedName||zn(i),a)}}return{queryParams:s,sequenceParams:n}}o(VBe,"calculateQueryParameters");function $Be(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let s of r){let[n,i]=s.split("=",2),a=e.get(n);a?Array.isArray(a)?a.push(i):e.set(n,[a,i]):e.set(n,i)}return e}o($Be,"simpleParseQueryParams");function YBe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=$Be(n.search);for(let[c,l]of e){let u=i.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let A=new Set(u);i.set(c,Array.from(A))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&i.set(c,[u,l]),s||i.set(c,l)):i.set(c,l)}let a=[];for(let[c,l]of i)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let u of l)a.push(`${c}=${u}`);else a.push(`${c}=${l}`);return n.search=a.length?`?${a.join("&")}`:"",n.toString()}o(YBe,"appendQueryParams");var xN=qn("core-client");var pp=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&xN.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||YJ(),this.pipeline=e.pipeline||JBe(e),e.additionalPolicies?.length)for(let{policy:r,position:s}of e.additionalPolicies){let n=s==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:n})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let s=r.baseUrl||this._endpoint;if(!s)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let n=WJ(s,r,e,this),i=Ap({url:n});i.method=r.httpMethod;let a=Vi(i);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&i.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(i.timeout=u.timeout),u.onUploadProgress&&(i.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(i.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(i.allowInsecureConnection=!0)),l.abortSignal&&(i.abortSignal=l.abortSignal),l.tracingOptions&&(i.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=VJ(r));try{let u=await this.sendRequest(i),A=CN(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,A),A}catch(u){if(typeof u=="object"&&u?.response){let A=u.response,d=CN(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};function JBe(t){let e=WBe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return dp({...t,credentialOptions:r})}o(JBe,"createDefaultPipeline");function WBe(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(WBe,"getCredentialScopes");var jJ={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function jBe(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}o(jBe,"isUuid");var xE=o(async t=>{let e=twe(t.request),r=ZBe(t.response);if(r){let s=ewe(r),n=XBe(t,s),i=KBe(s);if(!i)return!1;let a=await t.getAccessToken(n,{...e,tenantId:i});return a?(t.request.headers.set(jJ.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function KBe(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&jBe(s))return s}o(KBe,"extractTenantId");function XBe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=jJ.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}o(XBe,"buildScopes");function ZBe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(ZBe,"getChallenge");function ewe(t){return`${t.slice(7).trim()} `.split(" ").filter(n=>n).map(n=>(([i,a])=>({[i]:a}))(n.trim().split("="))).reduce((n,i)=>({...n,...i}),{})}o(ewe,"parseChallenge");function twe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(twe,"requestToOptions");var KJ=Symbol("Original PipelineRequest"),rwe=Symbol.for("@azure/core-client original request");function hp(t,e={}){let s=t[KJ],n=zi(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=Ap({url:t.url,method:t.method,headers:n,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(i[rwe]=e.originalRequest),i}}o(hp,"toPipelineRequest");function nc(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:fp(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(s,{get(n,i,a){return i===KJ?t:i==="clone"?()=>nc(hp(s,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(n,i,a)},set(n,i,a,c){return i==="keepAlive"&&(t.disableKeepAlive=!a),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=a),Reflect.set(n,i,a,c)}}):s}o(nc,"toWebResourceLike");function fp(t){return new NN(t.toJSON({preserveCase:!0}))}o(fp,"toHttpHeadersLike");function mp(t){return t.toLowerCase()}o(mp,"getHeaderKey");var NN=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[mp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[mp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[mp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[mp(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let s=0;s{let r=await t.sendRequest(nc(e,{createProxy:!0}));return SE(r)},"sendRequest")}}o(TN,"convertHttpClient");var e3=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",iwe=e3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",owe="["+e3+"]["+iwe+"]*",awe=new RegExp("^"+owe+"$");function RE(t,e){let r=[],s=e.exec(t);for(;s;){let n=[];n.startIndex=e.lastIndex-s[0].length;let i=s.length;for(let a=0;a"u")},"isName");function t3(t){return typeof t<"u"}o(t3,"isExist");var Ep=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],TE=["__proto__","constructor","prototype"];var cwe={allowBooleanAttributes:!1,unpairedTags:[]};function PE(t,e){e=Object.assign({},cwe,e);let r=[],s=!1,n=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i"&&t[i]!==" "&&t[i]!==" "&&t[i]!==` -`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!fwe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",ut("InvalidTag",d,hr(t,i))}let u=Awe(t,i);if(u===!1)return ut("InvalidAttr","Attributes for '"+l+"' have open quote.",hr(t,i));let A=u.value;if(i=u.index,A[A.length-1]==="/"){let d=i-A.length;A=A.substring(0,A.length-1);let p=i3(A,e);if(p===!0)s=!0;else return ut(p.err.code,p.err.msg,hr(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return ut("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",hr(t,a));if(r.length===0)return ut("InvalidTag","Closing tag '"+l+"' has not been opened.",hr(t,a));{let d=r.pop();if(l!==d.tagName){let p=hr(t,d.tagStartPos);return ut("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",hr(t,a))}r.length==0&&(n=!0)}}else return ut("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",hr(t,i));else{let d=i3(A,e);if(d!==!0)return ut(d.err.code,d.err.msg,hr(t,i-A.length+d.err.line));if(n===!0)return ut("InvalidXml","Multiple possible root nodes found.",hr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i0)return ut("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ut("InvalidXml","Start tag expected.",1);return!0}o(PE,"validate");function r3(t){return t===" "||t===" "||t===` -`||t==="\r"}o(r3,"isWhiteSpace");function s3(t,e){let r=e;for(;e5&&s==="xml")return ut("InvalidXml","XML declaration allowed only at the start of the document.",hr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(s3,"readPI");function n3(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}o(n3,"readCommentAndCDATA");var lwe='"',uwe="'";function Awe(t,e){let r="",s="",n=!1;for(;e"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(Awe,"readAttributeStr");var dwe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function i3(t,e){let r=RE(t,dwe),s={};for(let n=0;n",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},a3={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},c3={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",Lcaron:"\u013D",lcaron:"\u013E",Lmidot:"\u013F",lmidot:"\u0140",Lstrok:"\u0141",lstrok:"\u0142",Nacute:"\u0143",nacute:"\u0144",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ENG:"\u014A",eng:"\u014B",Omacr:"\u014C",omacr:"\u014D",Odblac:"\u0150",odblac:"\u0151",OElig:"\u0152",oelig:"\u0153",Racute:"\u0154",racute:"\u0155",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",Sacute:"\u015A",sacute:"\u015B",Scirc:"\u015C",scirc:"\u015D",Scedil:"\u015E",scedil:"\u015F",Scaron:"\u0160",scaron:"\u0161",Tcedil:"\u0162",tcedil:"\u0163",Tcaron:"\u0164",tcaron:"\u0165",Tstrok:"\u0166",tstrok:"\u0167",Utilde:"\u0168",utilde:"\u0169",Umacr:"\u016A",umacr:"\u016B",Ubreve:"\u016C",ubreve:"\u016D",Uring:"\u016E",uring:"\u016F",Udblac:"\u0170",udblac:"\u0171",Uogon:"\u0172",uogon:"\u0173",Wcirc:"\u0174",wcirc:"\u0175",Ycirc:"\u0176",ycirc:"\u0177",Zacute:"\u0179",zacute:"\u017A",Zdot:"\u017B",zdot:"\u017C",Zcaron:"\u017D",zcaron:"\u017E"},l3={Alpha:"\u0391",alpha:"\u03B1",Beta:"\u0392",beta:"\u03B2",Gamma:"\u0393",gamma:"\u03B3",Delta:"\u0394",delta:"\u03B4",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",varepsilon:"\u03F5",Zeta:"\u0396",zeta:"\u03B6",Eta:"\u0397",eta:"\u03B7",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",vartheta:"\u03D1",Iota:"\u0399",iota:"\u03B9",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",Lambda:"\u039B",lambda:"\u03BB",Mu:"\u039C",mu:"\u03BC",Nu:"\u039D",nu:"\u03BD",Xi:"\u039E",xi:"\u03BE",Omicron:"\u039F",omicron:"\u03BF",Pi:"\u03A0",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",Tau:"\u03A4",tau:"\u03C4",Upsilon:"\u03A5",upsilon:"\u03C5",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",varphi:"\u03D5",Chi:"\u03A7",chi:"\u03C7",Psi:"\u03A8",psi:"\u03C8",Omega:"\u03A9",omega:"\u03C9",ohm:"\u03A9",Gammad:"\u03DC",gammad:"\u03DD",digamma:"\u03DD"},u3={Afr:"\u{1D504}",afr:"\u{1D51E}",Acy:"\u0410",acy:"\u0430",Bcy:"\u0411",bcy:"\u0431",Vcy:"\u0412",vcy:"\u0432",Gcy:"\u0413",gcy:"\u0433",Dcy:"\u0414",dcy:"\u0434",IEcy:"\u0415",iecy:"\u0435",IOcy:"\u0401",iocy:"\u0451",ZHcy:"\u0416",zhcy:"\u0436",Zcy:"\u0417",zcy:"\u0437",Icy:"\u0418",icy:"\u0438",Jcy:"\u0419",jcy:"\u0439",Kcy:"\u041A",kcy:"\u043A",Lcy:"\u041B",lcy:"\u043B",Mcy:"\u041C",mcy:"\u043C",Ncy:"\u041D",ncy:"\u043D",Ocy:"\u041E",ocy:"\u043E",Pcy:"\u041F",pcy:"\u043F",Rcy:"\u0420",rcy:"\u0440",Scy:"\u0421",scy:"\u0441",Tcy:"\u0422",tcy:"\u0442",Ucy:"\u0423",ucy:"\u0443",Fcy:"\u0424",fcy:"\u0444",KHcy:"\u0425",khcy:"\u0445",TScy:"\u0426",tscy:"\u0446",CHcy:"\u0427",chcy:"\u0447",SHcy:"\u0428",shcy:"\u0448",SHCHcy:"\u0429",shchcy:"\u0449",HARDcy:"\u042A",hardcy:"\u044A",Ycy:"\u042B",ycy:"\u044B",SOFTcy:"\u042C",softcy:"\u044C",Ecy:"\u042D",ecy:"\u044D",YUcy:"\u042E",yucy:"\u044E",YAcy:"\u042F",yacy:"\u044F",DJcy:"\u0402",djcy:"\u0452",GJcy:"\u0403",gjcy:"\u0453",Jukcy:"\u0404",jukcy:"\u0454",DScy:"\u0405",dscy:"\u0455",Iukcy:"\u0406",iukcy:"\u0456",YIcy:"\u0407",yicy:"\u0457",Jsercy:"\u0408",jsercy:"\u0458",LJcy:"\u0409",ljcy:"\u0459",NJcy:"\u040A",njcy:"\u045A",TSHcy:"\u040B",tshcy:"\u045B",KJcy:"\u040C",kjcy:"\u045C",Ubrcy:"\u040E",ubrcy:"\u045E",DZcy:"\u040F",dzcy:"\u045F"},A3={plus:"+",minus:"\u2212",mnplus:"\u2213",mp:"\u2213",pm:"\xB1",times:"\xD7",div:"\xF7",divide:"\xF7",sdot:"\u22C5",star:"\u2606",starf:"\u2605",bigstar:"\u2605",lowast:"\u2217",ast:"*",midast:"*",compfn:"\u2218",smallcircle:"\u2218",bullet:"\u2022",bull:"\u2022",nbsp:"\xA0",hellip:"\u2026",mldr:"\u2026",prime:"\u2032",Prime:"\u2033",tprime:"\u2034",bprime:"\u2035",backprime:"\u2035",minus:"\u2212",minusd:"\u2238",dotminus:"\u2238",plusdo:"\u2214",dotplus:"\u2214",plusmn:"\xB1",minusplus:"\u2213",mnplus:"\u2213",mp:"\u2213",setminus:"\u2216",smallsetminus:"\u2216",Backslash:"\u2216",setmn:"\u2216",ssetmn:"\u2216",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"\u2237",Proportion:"\u2237",ratio:"\u2236",equals:"=",ne:"\u2260",nequiv:"\u2262",equiv:"\u2261",Congruent:"\u2261",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",sime:"\u2243",simeq:"\u2243",TildeEqual:"\u2243",asymp:"\u2248",approx:"\u2248",thickapprox:"\u2248",thkap:"\u2248",TildeTilde:"\u2248",ncong:"\u2247",cong:"\u2245",TildeFullEqual:"\u2245",asympeq:"\u224D",CupCap:"\u224D",bump:"\u224E",Bumpeq:"\u224E",HumpDownHump:"\u224E",bumpe:"\u224F",bumpeq:"\u224F",HumpEqual:"\u224F",dotminus:"\u2238",minusd:"\u2238",plusdo:"\u2214",dotplus:"\u2214",le:"\u2264",LessEqual:"\u2264",ge:"\u2265",GreaterEqual:"\u2265",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",greater:">",less:"<"},d3={alefsym:"\u2135",aleph:"\u2135",beth:"\u2136",gimel:"\u2137",daleth:"\u2138",forall:"\u2200",ForAll:"\u2200",part:"\u2202",PartialD:"\u2202",exist:"\u2203",Exists:"\u2203",nexist:"\u2204",nexists:"\u2204",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",nabla:"\u2207",Del:"\u2207",isin:"\u2208",isinv:"\u2208",in:"\u2208",Element:"\u2208",notin:"\u2209",notinva:"\u2209",ni:"\u220B",niv:"\u220B",SuchThat:"\u220B",ReverseElement:"\u220B",notni:"\u220C",notniva:"\u220C",prod:"\u220F",Product:"\u220F",coprod:"\u2210",Coproduct:"\u2210",sum:"\u2211",Sum:"\u2211",minus:"\u2212",mp:"\u2213",plusdo:"\u2214",dotplus:"\u2214",setminus:"\u2216",lowast:"\u2217",radic:"\u221A",Sqrt:"\u221A",prop:"\u221D",propto:"\u221D",Proportional:"\u221D",varpropto:"\u221D",infin:"\u221E",infintie:"\u29DD",ang:"\u2220",angle:"\u2220",angmsd:"\u2221",measuredangle:"\u2221",angsph:"\u2222",mid:"\u2223",VerticalBar:"\u2223",nmid:"\u2224",nsmid:"\u2224",npar:"\u2226",parallel:"\u2225",spar:"\u2225",nparallel:"\u2226",nspar:"\u2226",and:"\u2227",wedge:"\u2227",or:"\u2228",vee:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",Integral:"\u222B",conint:"\u222E",ContourIntegral:"\u222E",Conint:"\u222F",DoubleContourIntegral:"\u222F",Cconint:"\u2230",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",becaus:"\u2235",because:"\u2235",Because:"\u2235",ratio:"\u2236",Proportion:"\u2237",minusd:"\u2238",dotminus:"\u2238",mDDot:"\u223A",homtht:"\u223B",sim:"\u223C",bsimg:"\u223D",backsim:"\u223D",ac:"\u223E",mstpos:"\u223E",acd:"\u223F",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",nsime:"\u2244",nsimeq:"\u2244",nsimeq:"\u2244",ncong:"\u2247",simne:"\u2246",ncongdot:"\u2A6D\u0338",ngsim:"\u2275",nsim:"\u2241",napprox:"\u2249",nap:"\u2249",ngeq:"\u2271",nge:"\u2271",nleq:"\u2270",nle:"\u2270",ngtr:"\u226F",ngt:"\u226F",nless:"\u226E",nlt:"\u226E",nprec:"\u2280",npr:"\u2280",nsucc:"\u2281",nsc:"\u2281"},p3={larr:"\u2190",leftarrow:"\u2190",LeftArrow:"\u2190",uarr:"\u2191",uparrow:"\u2191",UpArrow:"\u2191",rarr:"\u2192",rightarrow:"\u2192",RightArrow:"\u2192",darr:"\u2193",downarrow:"\u2193",DownArrow:"\u2193",harr:"\u2194",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",varr:"\u2195",updownarrow:"\u2195",UpDownArrow:"\u2195",nwarr:"\u2196",nwarrow:"\u2196",UpperLeftArrow:"\u2196",nearr:"\u2197",nearrow:"\u2197",UpperRightArrow:"\u2197",searr:"\u2198",searrow:"\u2198",LowerRightArrow:"\u2198",swarr:"\u2199",swarrow:"\u2199",LowerLeftArrow:"\u2199",lArr:"\u21D0",Leftarrow:"\u21D0",uArr:"\u21D1",Uparrow:"\u21D1",rArr:"\u21D2",Rightarrow:"\u21D2",dArr:"\u21D3",Downarrow:"\u21D3",hArr:"\u21D4",Leftrightarrow:"\u21D4",iff:"\u21D4",vArr:"\u21D5",Updownarrow:"\u21D5",lAarr:"\u21DA",Lleftarrow:"\u21DA",rAarr:"\u21DB",Rrightarrow:"\u21DB",lrarr:"\u21C6",leftrightarrows:"\u21C6",rlarr:"\u21C4",rightleftarrows:"\u21C4",lrhar:"\u21CB",leftrightharpoons:"\u21CB",ReverseEquilibrium:"\u21CB",rlhar:"\u21CC",rightleftharpoons:"\u21CC",Equilibrium:"\u21CC",udarr:"\u21C5",UpArrowDownArrow:"\u21C5",duarr:"\u21F5",DownArrowUpArrow:"\u21F5",llarr:"\u21C7",leftleftarrows:"\u21C7",rrarr:"\u21C9",rightrightarrows:"\u21C9",ddarr:"\u21CA",downdownarrows:"\u21CA",har:"\u21BD",lhard:"\u21BD",leftharpoondown:"\u21BD",lharu:"\u21BC",leftharpoonup:"\u21BC",rhard:"\u21C1",rightharpoondown:"\u21C1",rharu:"\u21C0",rightharpoonup:"\u21C0",lsh:"\u21B0",Lsh:"\u21B0",rsh:"\u21B1",Rsh:"\u21B1",ldsh:"\u21B2",rdsh:"\u21B3",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",mapstoleft:"\u21A4",mapstoup:"\u21A5",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",crarr:"\u21B5",nwarrow:"\u2196",nearrow:"\u2197",searrow:"\u2198",swarrow:"\u2199",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nrightarrow:"\u219B",nrarr:"\u219B",larrtl:"\u21A2",rarrtl:"\u21A3",leftarrowtail:"\u21A2",rightarrowtail:"\u21A3",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Larr:"\u219E",Rarr:"\u21A0",larrhk:"\u21A9",rarrhk:"\u21AA",larrlp:"\u21AB",looparrowleft:"\u21AB",rarrlp:"\u21AC",looparrowright:"\u21AC",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",nrarrw:"\u219D\u0338",rarrw:"\u219D",rightsquigarrow:"\u219D",larrbfs:"\u291F",rarrbfs:"\u2920",nvHarr:"\u2904",nvlArr:"\u2902",nvrArr:"\u2903",larrfs:"\u291D",rarrfs:"\u291E",Map:"\u2905",larrsim:"\u2973",rarrsim:"\u2974",harrcir:"\u2948",Uarrocir:"\u2949",lurdshar:"\u294A",ldrdhar:"\u2967",ldrushar:"\u294B",rdldhar:"\u2969",lrhard:"\u296D",rlhar:"\u21CC",uharr:"\u21BE",uharl:"\u21BF",dharr:"\u21C2",dharl:"\u21C3",Uarr:"\u219F",Darr:"\u21A1",zigrarr:"\u21DD",nwArr:"\u21D6",neArr:"\u21D7",seArr:"\u21D8",swArr:"\u21D9",nharr:"\u21AE",nhArr:"\u21CE",nlarr:"\u219A",nlArr:"\u21CD",nrarr:"\u219B",nrArr:"\u21CF",larrb:"\u21E4",LeftArrowBar:"\u21E4",rarrb:"\u21E5",RightArrowBar:"\u21E5"},m3={square:"\u25A1",Square:"\u25A1",squ:"\u25A1",squf:"\u25AA",squarf:"\u25AA",blacksquar:"\u25AA",blacksquare:"\u25AA",FilledVerySmallSquare:"\u25AA",blk34:"\u2593",blk12:"\u2592",blk14:"\u2591",block:"\u2588",srect:"\u25AD",rect:"\u25AD",sdot:"\u22C5",sdotb:"\u22A1",dotsquare:"\u22A1",triangle:"\u25B5",tri:"\u25B5",trine:"\u25B5",utri:"\u25B5",triangledown:"\u25BF",dtri:"\u25BF",tridown:"\u25BF",triangleleft:"\u25C3",ltri:"\u25C3",triangleright:"\u25B9",rtri:"\u25B9",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",loz:"\u25CA",lozenge:"\u25CA",blacklozenge:"\u29EB",lozf:"\u29EB",bigcirc:"\u25EF",xcirc:"\u25EF",circ:"\u02C6",Circle:"\u25CB",cir:"\u25CB",o:"\u25CB",bullet:"\u2022",bull:"\u2022",hellip:"\u2026",mldr:"\u2026",nldr:"\u2025",boxh:"\u2500",HorizontalLine:"\u2500",boxv:"\u2502",boxdr:"\u250C",boxdl:"\u2510",boxur:"\u2514",boxul:"\u2518",boxvr:"\u251C",boxvl:"\u2524",boxhd:"\u252C",boxhu:"\u2534",boxvh:"\u253C",boxH:"\u2550",boxV:"\u2551",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxDl:"\u2555",boxdL:"\u2556",boxDL:"\u2557",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxUl:"\u255C",boxuL:"\u255B",boxUL:"\u255D",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",boxVl:"\u2562",boxvL:"\u2561",boxVL:"\u2563",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C"},h3={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},vE={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},f3={frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044"},g3={trade:"\u2122",TRADE:"\u2122",telrec:"\u2315",target:"\u2316",ulcorn:"\u231C",ulcorner:"\u231C",urcorn:"\u231D",urcorner:"\u231D",dlcorn:"\u231E",llcorner:"\u231E",drcorn:"\u231F",lrcorner:"\u231F",intercal:"\u22BA",intcal:"\u22BA",oplus:"\u2295",CirclePlus:"\u2295",ominus:"\u2296",CircleMinus:"\u2296",otimes:"\u2297",CircleTimes:"\u2297",osol:"\u2298",odot:"\u2299",CircleDot:"\u2299",oast:"\u229B",circledast:"\u229B",odash:"\u229D",circleddash:"\u229D",ocirc:"\u229A",circledcirc:"\u229A",boxplus:"\u229E",plusb:"\u229E",boxminus:"\u229F",minusb:"\u229F",boxtimes:"\u22A0",timesb:"\u22A0",boxdot:"\u22A1",sdotb:"\u22A1",veebar:"\u22BB",vee:"\u2228",barvee:"\u22BD",and:"\u2227",wedge:"\u2227",Cap:"\u22D2",Cup:"\u22D3",Fork:"\u22D4",pitchfork:"\u22D4",epar:"\u22D5",ltlarr:"\u2976",nvap:"\u224D\u20D2",nvsim:"\u223C\u20D2",nvge:"\u2265\u20D2",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvgt:">\u20D2",nvltrie:"\u22B4\u20D2",nvrtrie:"\u22B5\u20D2",Vdash:"\u22A9",dashv:"\u22A3",vDash:"\u22A8",Vdash:"\u22A9",Vvdash:"\u22AA",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF"},gwe={...o3,...a3,...c3,...l3,...u3,...A3,...d3,...p3,...m3,...h3,...vE,...f3,...g3},Cp={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},vN={nbsp:"\xA0",copy:"\xA9",reg:"\xAE",trade:"\u2122",mdash:"\u2014",ndash:"\u2013",hellip:"\u2026",laquo:"\xAB",raquo:"\xBB",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",bull:"\u2022",para:"\xB6",sect:"\xA7",deg:"\xB0",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE"};var Ewe=new Set("!?\\\\/[]$%{}^&*()<>|+");function E3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(Ewe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(E3,"validateEntityName");function kN(...t){let e=Object.create(null);for(let r of t)if(r)for(let s of Object.keys(r)){let n=r[s];if(typeof n=="string")e[s]=n;else if(n&&typeof n=="object"&&n.val!==void 0){let i=n.val;typeof i=="string"&&(e[s]=i)}}return e}o(kN,"mergeEntityMaps");var ic="external",kE="base",DN="all";function ywe(t){return!t||t===ic?new Set([ic]):t===DN?new Set([DN]):t===kE?new Set([kE]):Array.isArray(t)?new Set(t):new Set([ic])}o(ywe,"parseLimitTiers");var kr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Cwe=new Set([9,10,13]);function Iwe(t){if(!t)return{xmlVersion:1,onLevel:kr.allow,nullLevel:kr.remove};let e=t.xmlVersion===1.1?1.1:1,r=kr[t.onNCR]??kr.allow,s=kr[t.nullNCR]??kr.remove,n=Math.max(s,kr.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}o(Iwe,"parseNCRConfig");var hu=class{static{o(this,"EntityDecoder")}constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:s=>s,this._limitTiers=ywe(this._limit.applyLimitsTo??ic),this._numericAllowed=e.numericAllowed??!0,this._baseMap=kN(Cp,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=Iwe(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(e){if(e)for(let r of Object.keys(e))E3(r);this._externalMap=kN(e)}addExternalEntity(e,r){E3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=kN(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let r=e,s=[],n=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,u=c||l;for(;a=n||e.charCodeAt(d)!==59){a++;continue}let p=e.slice(a+1,d);if(p.length===0){a++;continue}let m,h;if(this._removeSet.has(p))m="",h===void 0&&(h=ic);else if(this._leaveSet.has(p)){a++;continue}else if(p.charCodeAt(0)===35){let f=this._resolveNCR(p);if(f===void 0){a++;continue}m=f,h=kE}else{let f=this._resolveName(p);m=f?.value,h=f?.tier}if(m===void 0){a++;continue}if(a>i&&s.push(e.slice(i,a)),s.push(m),i=d+1,a=i,u&&this._tierCounts(h)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let f=m.length-(p.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!Cwe.has(e)?kr.remove:-1}_applyNCRAction(e,r,s){switch(e){case kr.allow:return String.fromCodePoint(s);case kr.remove:return"";case kr.leave:return;case kr.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${s.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(s)}}_resolveNCR(e){let r=e.charCodeAt(1),s;if(r===120||r===88?s=parseInt(e.slice(2),16):s=parseInt(e.slice(1),10),Number.isNaN(s)||s<0||s>1114111)return;let n=this._classifyNCR(s);if(!this._numericAllowed&&nEp.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),Bwe={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(t,e,r){return t},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:y3};function wwe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Ep.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(TE.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(wwe,"validatePropertyName");function C3(t,e){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:C3(!0)}o(C3,"normalizeProcessEntities");var I3=o(function(t){let e=Object.assign({},Bwe,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:s,name:n}of r)s&&wwe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=y3),e.processEntities=C3(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(s=>typeof s=="string"&&s.startsWith("*.")?".."+s.substring(2):s)),e},"buildOptions");var DE;typeof Symbol!="function"?DE="@@xmlMetadata":DE=Symbol("XML Node Metadata");var Dr=class{static{o(this,"XmlNode")}constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][DE]={startIndex:r})}static getMetaDataSymbol(){return DE}};var B3=":A-Za-z_\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",bwe=B3+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",w3=":A-Za-z_\xC0-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",Qwe=w3+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",b3=o((t,e,r="")=>{let s=t.replace(":",""),n=e.replace(":",""),i=`[${s}][${n}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),xwe=b3(B3,bwe),Nwe=b3(w3,Qwe,"u"),Swe=o((t="1.0")=>t==="1.1"?Nwe:xwe,"getRegexes");var oc=o((t,{xmlVersion:e="1.0"}={})=>Swe(e).qName.test(t),"qName");var Bp=class{static{o(this,"DocTypeReader")}constructor(e,r){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=r||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,r){let s=Object.create(null),n=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let i=1,a=!1,c=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);s[u]=A,n++}}else if(a&&ac(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&ac(e,"!ATTLIST",r))r+=8;else if(a&&ac(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(ac(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:l+=e[r];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:s,i:r}}readEntityExp(e,r){r=_r(e,r);let s=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=_r(e,r);let s=r;for(;r{for(;e1||i.length===1&&!c))return t;{let l=Number(r),u=String(l);if(l===0)return l;if(u.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return u==="0"||u===a||u===`${n}${a}`?l:t;let A=i?a:r;return i?A===u||n+A===u?l:t:A===u||A===n+u?l:t}}else return t}}else return Mwe(t,Number(r),e)}o(LN,"toNumber");var Dwe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function _we(t,e,r){if(!r.eNotation)return t;let s=e.match(Dwe);if(s){let n=s[1]||"",i=s[3].indexOf("e")===-1?"E":"e",a=s[2],c=n?t[a.length+1]===i:t[a.length]===i;return a.length>1&&c?t:a.length===1&&(s[3].startsWith(`.${i}`)||s[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(s[1]||"")+s[3],Number(e)):t:Number(e)}else return t}o(_we,"resolveEnotation");function Lwe(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}o(Lwe,"trimZeros");function _N(t,e){let r=t.trim();if((e===2||e===8)&&(t=r.substring(2)),parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}o(_N,"parse_int");function Mwe(t,e,r){let s=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return s?"Infinity":"-Infinity";default:return t}}o(Mwe,"handleInfinity");function MN(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(MN,"getIgnoreAttributesFn");var ls=class{static{o(this,"Expression")}constructor(e,r={},s){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=s,this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){let r=[],s=0,n="";for(;s0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let r=this._matcher.path;if(r.length!==0)return r[r.length-1].values?.[e]}hasAttr(e){let r=this._matcher.path;if(r.length===0)return!1;let s=r[r.length-1];return s.values!==void 0&&e in s.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,r=!0){return this._matcher.toString(e,r)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},Vn=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new ON(this)}push(e,r=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);let i=this.siblingStacks[n],a=s?`${s}:${e}`:e,c=i.get(a)||0,l=0;for(let A of i.values())l+=A;i.set(a,c+1);let u={tag:e,position:l,counter:c};s!=null&&(u.namespace=s),r!=null&&(u.values=r),this.path.push(u)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let s=e||this.separator;if(s===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let i=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(s);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(s)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r=0&&r>=0;){let n=e[s];if(n.type==="deep-wildcard"){if(s--,s<0)return!0;let i=e[s],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(i,this.path[c],c===this.path.length-1)){r=c-1,s--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(n,this.path[r],r===this.path.length-1))return!1;r--,s--}}return s<0}_matchSegment(e,r,s){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!s||!r.values||!(e.attrName in r.values)||e.attrValue!==void 0&&String(r.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!s)return!1;let n=r.counter??0;if(e.position==="first"&&n!==0)return!1;if(e.position==="odd"&&n%2!==1)return!1;if(e.position==="even"&&n%2!==0)return!1;if(e.position==="nth"&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}readOnly(){return this._view}};function Owe(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let s={};for(let n in r)if(n.startsWith(e.attributeNamePrefix)){let i=n.substring(e.attributeNamePrefix.length);s[i]=r[n]}else s[n]=r[n];return s}o(Owe,"extractRawAttributes");function Fwe(t){if(!t||typeof t!="string")return;let e=t.indexOf(":");if(e!==-1&&e>0){let r=t.substring(0,e);if(r!=="xmlns")return r}}o(Fwe,"extractNamespace");var wp=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=zwe,this.parseTextData=Uwe,this.resolveNameSpace=qwe,this.buildAttributesMap=Hwe,this.isItStopNode=Jwe,this.replaceEntitiesValue=$we,this.readStopNodeData=Kwe,this.saveTextToParentTag=Ywe,this.addChild=Vwe,this.ignoreAttributesFn=MN(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let s={...Cp};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?s=this.options.htmlEntities:this.options.htmlEntities===!0&&(s={...vN,...vE}),this.entityDecoder=new hu({namedEntities:{...s,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Vn,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new fu;let n=this.options.stopNodes;if(n&&n.length>0){for(let i=0;i0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,u=c.tagValueProcessor(e,t,l,n,i);return u==null?t:typeof u!=typeof t||u!==t?u:c.trimValues||t.trim()===t?qN(t,c.parseTagValue,c.numberParseOptions):t}}o(Uwe,"parseTextData");function qwe(t){if(this.options.removeNSPrefix){let e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}o(qwe,"resolveNameSpace");var Gwe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Hwe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=RE(t,Gwe),a=i.length,c={},l=new Array(a),u=!1,A={};for(let m=0;m",c,"Closing Tag is not closed."),d=t.substring(c+2,A).trim();if(n.removeNSPrefix){let m=d.indexOf(":");m!==-1&&(d=d.substr(m+1))}d=FN(n.transformTagName,d,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(d&&n.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: `);p&&n.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=A}else if(u===63){let A=UN(t,c,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(d){let p=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1),i.setXmlVersion(Number(p)||1)}if(!(n.ignoreDeclaration&&A.tagName==="?xml"||n.ignorePiTags)){let p=new Dr(A.tagName);p.add(n.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&n.ignoreAttributes!==!0&&(p[":@"]=d),this.addChild(r,p,this.readonlyMatcher,c)}c=A.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let A=gu(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let d=t.substring(c+4,A-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:d}])}c=A}else if(u===33&&t.charCodeAt(c+2)===68){let A=i.readDocType(t,c);this.entityDecoder.addInputEntities(A.entities),c=A.i}else if(u===33&&t.charCodeAt(c+2)===91){let A=gu(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,A);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let p=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:d}]):r.add(n.textNodeName,p),c=A+2}else{let A=UN(t,c,n.removeNSPrefix);if(!A){let S=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${S}"`)}let d=A.tagName,p=A.rawTagName,m=A.tagExp,h=A.attrExpPresent,f=A.closeIndex;if({tagName:d,tagExp:m}=FN(n.transformTagName,d,m,n),n.strictReservedNames&&(d===n.commentPropName||d===n.cdataPropName||d===n.textNodeName||d===n.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let C=r;C&&n.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(E=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),m=d):m=m.substr(0,m.length-1),h=d!==m);let y=null,I={},B;B=Fwe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=Owe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let S="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let Ie=this.readStopNodeData(t,p,f+1);if(!Ie)throw new Error(`Unexpected end of ${p}`);c=Ie.i,S=Ie.tagContent}let U=new Dr(d);y&&(U[":@"]=y),U.add(n.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,U,this.readonlyMatcher,N)}else{if(E){({tagName:d,tagExp:m}=FN(n.transformTagName,d,m,n));let S=new Dr(d);y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let S=new Dr(d);y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let S=new Dr(d);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),r=S}s="",c=f}}}else s+=t[c];return e.child},"parseXml");function Vwe(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}o(Vwe,"addChild");function $we(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}o($we,"replaceEntitiesValue");function Ywe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(Ywe,"saveTextToParentTag");function Jwe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Jwe,"isItStopNode");function Wwe(t,e,r=">"){let s=0,n=t.length,i=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,c="",l=e;for(let u=e;u",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(n--,n===0))return{tagContent:t.substring(s,r),i:c};r=c}else if(a===63)r=gu(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=gu(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=gu(t,"]]>",r,"StopNode is not closed.")-2;else{let c=UN(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&n++,r=c.closeIndex)}}}o(Kwe,"readStopNodeData");function qN(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:LN(t,r)}else return t3(t)?t:""}o(qN,"parseValue");function FN(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=Q3(e,s),{tagName:e,tagExp:r}}o(FN,"transformTagName");function Q3(t,e){if(TE.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Ep.includes(t)?e.onDangerousProperty(t):t}o(Q3,"sanitizeName");var GN=Dr.getMetaDataSymbol();function Xwe(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let s in t)if(s.startsWith(e)){let n=s.substring(e.length);r[n]=t[s]}else r[s]=t[s];return r}o(Xwe,"stripAttributePrefix");function HN(t,e,r,s){return x3(t,e,r,s)}o(HN,"prettify");function x3(t,e,r,s){let n,i={};for(let a=0;a0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}o(x3,"compress");function Zwe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(LE,"safeCdata");function Wo(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(Wo,"escapeAttribute");var rbe=` -`;function sbe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if($N(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(sbe,"detectXmlVersionFromArray");function S3(t,e,r,s,n){return!r.sanitizeName||oc(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(S3,"resolveTagName");function VN(t,e){let r="";e.format&&(r=rbe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;ae.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=zN(l,e),l}return""}for(let l=0;l`,c=!1,s.pop();continue}else if(p===e.commentPropName){let I=u[A][0][e.textNodeName],B=_E(I);a+=r+``,c=!0,s.pop();continue}else if(p[0]==="?"){let I=N3(u[":@"],e,h,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=N3(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=T3(u[A],e):y=R3(u[A],e,f,s,n,i),e.unpairedTags.indexOf(p)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!y||y.length===0)&&e.suppressEmptyNode?a+=E+"/>":y&&y.endsWith(">")?a+=E+`>${y}${r}`:(a+=E+">",y&&r!==""&&(y.includes("/>")||y.includes("`),c=!0,s.pop()}return a}o(R3,"arrToStr");function nbe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=Wo(t[n]),s=!0}return s?r:null}o(nbe,"extractAttributeValues");function T3(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s`:r+=`<${i}${a}>${c}`}}}return r}o(T3,"getRawContent");function ibe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${Wo(n)}"`}return r}o(ibe,"attr_to_str_raw");function $N(t){let e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(YN,"getIgnoreAttributesFn");var abe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Lr(t){if(this.options=Object.assign({},abe,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e +`,"utf-8")],n=PIe(s);n&&t.headers.set("Content-Length",n),t.body=await dJ(s)}o(vIe,"buildRequestBody");var ap="multipartPolicy",kIe=70,DIe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function _Ie(t){if(t.length>kIe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!DIe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(_Ie,"assertValidBoundary");function pE(){return{name:ap,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?_Ie(r):r=SIe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await vIe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(pE,"multipartPolicy");function mE(){return Mg()}o(mE,"createEmptyPipeline");var pJ=Dg({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),VWe=pJ.logger;function qn(t){return pJ.createClientLogger(t)}o(qn,"createClientLogger");var Gn=qn("core-rest-pipeline");function Z0(t={}){return Hg({logger:Gn.info,...t})}o(Z0,"logPolicy");var eN=zg;function tN(t={}){return Vg(t)}o(tN,"redirectPolicy");var hE=b(require("node:os"),1),fE=b(require("node:process"),1);function mJ(){return"User-Agent"}o(mJ,"getHeaderName");async function hJ(t){if(fE.default&&fE.default.versions){let e=`${hE.default.type()} ${hE.default.release()}; ${hE.default.arch()}`,r=fE.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(hJ,"setPlatformSpecificData");var gE="1.22.2";function HIe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(HIe,"getUserAgentString");function fJ(){return mJ()}o(fJ,"getUserAgentHeaderName");async function EE(t){let e=new Map;e.set("core-rest-pipeline",gE),await hJ(e);let r=HIe(e);return t?`${t} ${r}`:r}o(EE,"getUserAgentValue");var gJ=fJ(),EJ="userAgentPolicy";function rN(t={}){let e=EE(t.userAgentPrefix);return{name:EJ,async sendRequest(r,s){return r.headers.has(gJ)||r.headers.set(gJ,await e),s(r)}}}o(rN,"userAgentPolicy");var os=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function sN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new os(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(sN,"createAbortablePromise");var JIe="The delay was aborted.";function cp(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return sN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??JIe})}o(cp,"delay");function Vo(t){if(Xa(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(Vo,"getErrorMessage");function yJ(t){return Xa(t)}o(yJ,"isError");function du(){return Ka()}o(du,"randomUUID");var we=tc;var CJ=Symbol("rawContent");function iN(t){return typeof t[CJ]=="function"}o(iN,"hasRawContent");function IJ(t){return iN(t)?t[CJ]():t}o(IJ,"getRawContent");var yE=ap;function oN(){let t=pE();return{name:yE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)iN(s.body)&&(s.body=IJ(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(oN,"multipartPolicy");var aN=$g;function cN(){return Yg()}o(cN,"decompressResponsePolicy");function lN(t={}){return jg(t)}o(lN,"defaultRetryPolicy");function uN(){return Kg()}o(uN,"formDataPolicy");function $o(t){return J0(t)}o($o,"getDefaultProxySettings");function AN(t,e){return cE(t,e)}o(AN,"proxyPolicy");var BJ="setClientRequestIdPolicy";function dN(t="x-ms-client-request-id"){return{name:BJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(dN,"setClientRequestIdPolicy");function pN(t){return lE(t)}o(pN,"agentPolicy");function mN(t){return uE(t)}o(mN,"tlsPolicy");var pu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function wJ(t={}){let e=new hN(t.parentContext);return t.span&&(e=e.setValue(pu.span,t.span)),t.namespace&&(e=e.setValue(pu.namespace,t.namespace)),e}o(wJ,"createTracingContext");var hN=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let s=new t(this);return s._contextMap.set(e,r),s}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var QJ=b(bJ(),1),IE=QJ.state;function WIe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(WIe,"createDefaultTracingSpan");function jIe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:WIe(),tracingContext:wJ({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(jIe,"createDefaultInstrumenter");function lp(){return IE.instrumenterImplementation||(IE.instrumenterImplementation=jIe()),IE.instrumenterImplementation}o(lp,"getInstrumenter");function up(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(u,A,d){let p=lp().startSpan(u,{...d,packageName:r,packageVersion:s,tracingContext:A?.tracingOptions?.tracingContext}),m=p.tracingContext,h=p.span;m.getValue(pu.namespace)||(m=m.setValue(pu.namespace,e)),h.setAttribute("az.namespace",m.getValue(pu.namespace));let f=Object.assign({},A,{tracingOptions:{...A?.tracingOptions,tracingContext:m}});return{span:h,updatedOptions:f}}o(n,"startSpan");async function i(u,A,d,p){let{span:m,updatedOptions:h}=n(u,A,p);try{let f=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,m)));return m.setStatus({status:"success"}),f}catch(f){throw m.setStatus({status:"error",error:f}),f}finally{m.end()}}o(i,"withSpan");function a(u,A,...d){return lp().withContext(u,A,...d)}o(a,"withContext");function c(u){return lp().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return lp().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:n,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(up,"createTracingClient");var Hi=mr;function sc(t){return Og(t)}o(sc,"isRestError");var xJ="tracingPolicy";function fN(t={}){let e=EE(t.userAgentPrefix),r=new un({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=KIe();return{name:xJ,async sendRequest(n,i){if(!s)return i(n);let a=await e,c={"http.url":r.sanitizeUrl(n.url),"http.method":n.method,"http.user_agent":a,requestId:n.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=XIe(s,n,c)??{};if(!l||!u)return i(n);try{let A=await s.withContext(u,i,n);return eBe(l,A),A}catch(A){throw ZIe(l,A),A}}}}o(fN,"tracingPolicy");function KIe(){try{return up({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:gE})}catch(t){Gn.warning(`Error when creating the TracingClient: ${Vo(t)}`);return}}o(KIe,"tryCreateTracingClient");function XIe(t,e,r){try{let{span:s,updatedOptions:n}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!s.isRecording()){s.end();return}let i=t.createRequestHeaders(n.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(s){Gn.warning(`Skipping creating a tracing span due to an error: ${Vo(s)}`);return}}o(XIe,"tryCreateSpan");function ZIe(t,e){try{t.setStatus({status:"error",error:yJ(e)?e:void 0}),sc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Gn.warning(`Skipping tracing span processing due to an error: ${Vo(r)}`)}}o(ZIe,"tryProcessError");function eBe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){Gn.warning(`Skipping tracing span processing due to an error: ${Vo(r)}`)}}o(eBe,"tryProcessResponse");function BE(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function s(){r&&(t.removeEventListener("abort",n),r=!1)}o(s,"cleanup");function n(){e.abort(t.reason),s()}return o(n,"listener"),t.addEventListener("abort",n),{abortSignal:e.signal,cleanup:s}}o(BE,"wrapAbortSignalLike");var tBe="wrapAbortSignalLikePolicy";function NJ(){return{name:tBe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=BE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}},"sendRequest")}}o(NJ,"wrapAbortSignalLikePolicy");function gN(t){let e=mE();return we&&(t.agent&&e.addPolicy(pN(t.agent)),t.tlsOptions&&e.addPolicy(mN(t.tlsOptions)),e.addPolicy(AN(t.proxyOptions)),e.addPolicy(cN())),e.addPolicy(NJ()),e.addPolicy(uN(),{beforePolicies:[yE]}),e.addPolicy(rN(t.userAgentOptions)),e.addPolicy(dN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(oN(),{afterPhase:"Deserialize"}),e.addPolicy(lN(t.retryOptions),{phase:"Retry"}),e.addPolicy(fN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),we&&e.addPolicy(tN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(Z0(t.loggingOptions),{afterPhase:"Sign"}),e}o(gN,"createPipelineFromOptions");function Ap(){let t=Gg();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?BE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}o(Ap,"createDefaultHttpClient");function zi(t){return rs(t)}o(zi,"createHttpHeaders");function dp(t){return Lg(t)}o(dp,"createPipelineRequest");var Ije=qn("core-rest-pipeline retryPolicy");var rBe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function sBe(t,e,r){async function s(){if(Date.now()t.getToken(l,u),"tryGetAccessToken"),i.retryIntervalInMs,s?.expiresOnTimestamp??Date.now()).then(d=>(r=null,s=d,n=u.tenantId,s)).catch(d=>{throw r=null,s=null,n=void 0,d})),r}return o(c,"refresh"),async(l,u)=>{let A=!!u.claims,d=n!==u.tenantId;return A&&(s=null),d||A||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),s)}}o(EN,"createTokenCycler");var PJ="bearerTokenAuthenticationPolicy";async function wE(t,e){try{return[await e(t),void 0]}catch(r){if(sc(r)&&r.response)return[r.response,r];throw r}}o(wE,"trySendRequest");async function nBe(t){let{scopes:e,getAccessToken:r,request:s}=t,n={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions,enableCae:!0},i=await r(e,n);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}o(nBe,"defaultAuthorizeRequest");function SJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(SJ,"isChallengeResponse");async function RJ(t,e){let{scopes:r}=t,s=await t.getAccessToken(r,{enableCae:!0,claims:e});return s?(t.request.headers.set("Authorization",`${s.tokenType??"Bearer"} ${s.token}`),!0):!1}o(RJ,"authorizeRequestOnCaeChallenge");function mu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||Gn,i={authorizeRequest:s?.authorizeRequest?.bind(s)??nBe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},a=e?EN(e):()=>Promise.resolve(null);return{name:PJ,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:n});let u,A,d;if([u,A]=await wE(c,l),SJ(u)){let p=TJ(u.headers.get("WWW-Authenticate"));if(p){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await RJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await wE(c,l))}else if(i.authorizeRequestOnChallenge&&(d=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:n}),d&&([u,A]=await wE(c,l)),SJ(u)&&(p=TJ(u.headers.get("WWW-Authenticate")),p))){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await RJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await wE(c,l))}}if(A)throw A;return u}}}o(mu,"bearerTokenAuthenticationPolicy");function iBe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,s=[],n;for(;(n=e.exec(t))!==null;){let i=n[1],a=n[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];s.push({scheme:i,params:c})}return s}o(iBe,"parseChallenges");function TJ(t){return t?iBe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(TJ,"getCaeChallengeClaims");function as(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(as,"isTokenCredential");var yN="DisableKeepAlivePolicy";function vJ(){return{name:yN,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(vJ,"createDisableKeepAlivePolicy");function kJ(t){return t.getOrderedPolicies().some(e=>e.name===yN)}o(kJ,"pipelineContainsDisableKeepAlivePolicy");function CN(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(CN,"encodeByteArray");function IN(t){return Buffer.from(t,"base64")}o(IN,"decodeString");function aBe(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(aBe,"isPrimitiveBody");var cBe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function DJ(t){return cBe.test(t)}o(DJ,"isDuration");var lBe=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function _J(t){return lBe.test(t)}o(_J,"isValidUuid");function uBe(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(uBe,"handleNullableResponseAndWrappableBody");function BN(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let s=e&&e.bodyMapper,n=!!s?.nullable,i=s?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=i==="Composite"&&s.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(i==="Sequence"||c){let l=t.parsedBody??[];for(let u of Object.keys(a))a[u].serializedName&&(l[u]=t.parsedBody?.[u]);if(r)for(let u of Object.keys(r))l[u]=r[u];return n&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return uBe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:aBe(t.parsedBody,i)})}o(BN,"flattenResponse");var wN=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,s){let n=o((i,a)=>{throw new Error(`"${s}" with value "${r}" should satisfy the constraint "${i}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:A,MinItems:d,MinLength:p,MultipleOf:m,Pattern:h,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&n("ExclusiveMaximum",i),a!==void 0&&r<=a&&n("ExclusiveMinimum",a),c!==void 0&&r>c&&n("InclusiveMaximum",c),l!==void 0&&ru&&n("MaxItems",u),A!==void 0&&r.length>A&&n("MaxLength",A),d!==void 0&&r.lengthy.indexOf(C)!==E)&&n("UniqueItems",f)}}serialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},a={},c=e.type.name;s||(s=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:u}=e;if(l&&u&&r===void 0)throw new Error(`${s} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${s} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${s} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=fBe(c,s,r):c.match(/^Enum$/i)!==null?a=gBe(s,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=CBe(c,r,s):c.match(/^ByteArray$/i)!==null?a=EBe(s,r):c.match(/^Base64Url$/i)!==null?a=yBe(s,r):c.match(/^Sequence$/i)!==null?a=IBe(this,e,r,s,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=BBe(this,e,r,s,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=bBe(this,e,r,s,!!this.isXML,i)),a}deserialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"},ignoreUnknownProperties:n.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(s||(s=e.serializedName),c.match(/^Composite$/i)!==null)a=xBe(this,e,r,s,i);else{if(this.isXML){let l=i.xml.xmlCharKey;r["$"]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=hBe(r):c.match(/^ByteArray$/i)!==null?a=IN(r):c.match(/^Base64Url$/i)!==null?a=pBe(r):c.match(/^Sequence$/i)!==null?a=SBe(this,e,r,s,i):c.match(/^Dictionary$/i)!==null&&(a=NBe(this,e,r,s,i))}return e.isConstant&&(a=e.defaultValue),a}};function cs(t={},e=!1){return new wN(t,e)}o(cs,"createSerializer");function ABe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(ABe,"trimEnd");function dBe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=CN(t);return ABe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(dBe,"bufferToBase64Url");function pBe(t){if(t){if(t&&typeof t.valueOf()!="string")throw new Error("Please provide an input of type string for converting to Uint8Array");return t=t.replace(/-/g,"+").replace(/_/g,"/"),IN(t)}}o(pBe,"base64UrlToByteArray");function bN(t){let e=[],r="";if(t){let s=t.split(".");for(let n of s)n.charAt(n.length-1)==="\\"?r+=n.substr(0,n.length-1)+".":(r+=n,e.push(r),r="")}return e}o(bN,"splitSerializeName");function mBe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(mBe,"dateToUnixTime");function hBe(t){if(t)return new Date(t*1e3)}o(hBe,"unixTimeToDate");function fBe(t,e,r){if(r!=null){if(t.match(/^Number$/i)!==null){if(typeof r!="number")throw new Error(`${e} with value ${r} must be of type number.`)}else if(t.match(/^String$/i)!==null){if(typeof r.valueOf()!="string")throw new Error(`${e} with value "${r}" must be of type string.`)}else if(t.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()=="string"&&_J(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let s=typeof r;if(s!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&s!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(fBe,"serializeBasicTypes");function gBe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(n=>typeof n.valueOf()=="string"?n.toLowerCase()===r.toLowerCase():n===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(gBe,"serializeEnumType");function EBe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=CN(e)}return e}o(EBe,"serializeByteArrayType");function yBe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=dBe(e)}return e}o(yBe,"serializeBase64UrlType");function CBe(t,e,r){if(e!=null){if(t.match(/^Date$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString().substring(0,10):new Date(e).toISOString().substring(0,10)}else if(t.match(/^DateTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString():new Date(e).toISOString()}else if(t.match(/^DateTimeRfc1123$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);e=e instanceof Date?e.toUTCString():new Date(e).toUTCString()}else if(t.match(/^UnixTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);e=mBe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!DJ(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(CBe,"serializeDateTypes");function IBe(t,e,r,s,n,i){if(!Array.isArray(r))throw new Error(`${s} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lp!==A)&&(a[A]=t.serialize(l,r[A],s+'["'+A+'"]',i))}return a}return r}o(bBe,"serializeCompositeType");function FJ(t,e,r,s){if(!r||!t.xmlNamespace)return e;let i={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=i,c}}let a={};return a[s.xml.xmlCharKey]=e,a["$"]=i,a}o(FJ,"getXmlObjectValue");function QBe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(QBe,"isSpecialXmlProperty");function xBe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";bE(t,e)&&(e=UJ(t,e,r,"serializedName"));let a=OJ(t,e,s),c={},l=[];for(let A of Object.keys(a)){let d=a[A],p=bN(a[A].serializedName);l.push(p[0]);let{serializedName:m,xmlName:h,xmlElementName:f}=d,C=s;m!==""&&m!==void 0&&(C=s+"."+m);let E=d.headerCollectionPrefix;if(E){let y={};for(let I of Object.keys(r))I.startsWith(E)&&(y[I.substring(E.length)]=t.deserialize(d.type.value,r[I],C,n)),l.push(I);c[A]=y}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[A]=t.deserialize(d,r["$"][h],C,n);else if(d.xmlIsMsText)r[i]!==void 0?c[A]=r[i]:typeof r=="string"&&(c[A]=r);else{let y=f||h||m;if(d.xmlIsWrapped){let B=r[h]?.[f]??[];c[A]=t.deserialize(d,B,C,n),l.push(h)}else{let I=r[y];c[A]=t.deserialize(d,I,C,n),l.push(y)}}else{let y,I=r,B=0;for(let U of p){if(!I)break;B++,I=I[U]}I===null&&B{for(let p in a)if(bN(a[p].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)A(d)&&(c[d]=t.deserialize(u,r[d],s+'["'+d+'"]',n))}else if(r&&!n.ignoreUnknownProperties)for(let A of Object.keys(r))c[A]===void 0&&!l.includes(A)&&!QBe(A,n)&&(c[A]=r[A]);return c}o(xBe,"deserializeCompositeType");function NBe(t,e,r,s,n){let i=e.type.value;if(!i||typeof i!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${s}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],s,n);return a}return r}o(NBe,"deserializeDictionaryType");function SBe(t,e,r,s,n){let i=e.type.element;if(!i||typeof i!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}`);if(r){Array.isArray(r)||(r=[r]),i.type.name==="Composite"&&i.type.className&&(i=t.modelMappers[i.type.className]??i);let a=[];for(let c=0;c0)if(n.isConstant)i=n.defaultValue;else{let a=HJ(t,s);!a.propertyFound&&r&&(a=HJ(r,s));let c=!1;a.propertyFound||(c=n.required||s[0]==="options"&&s.length===2),i=c?n.defaultValue:a.propertyValue}}else{n.required&&(i={});for(let a in s){let c=n.type.modelProperties[a],l=s[a],u=Jo(t,{parameterPath:l,mapper:c},r);u!==void 0&&(i||(i={}),i[a]=u)}}return i}o(Jo,"getOperationArgumentValueFromParameter");function HJ(t,e){let r={propertyFound:!1},s=0;for(;s=200&&r.status<300);l.headersMapper&&(i.parsedHeaders=c.serializer.deserialize(l.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}o(_Be,"deserializeResponseBody");function LBe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(LBe,"isOperationSpecEmpty");function MBe(t,e,r,s){let n=200<=t.status&&t.status<300;if(LBe(e)?n:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new Hi(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let u=a?.bodyMapper,A=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,p;if(u){let h=d;if(e.isXML&&u.type.name===Hn.Sequence){h=[];let f=u.xmlElementName;typeof d=="object"&&f&&(h=d[f])}p=e.serializer.deserialize(u,h,"error.response.parsedBody",s)}let m=d.error||p||d;l.code=m.code,m.message&&(l.message=m.message),u&&(l.response.parsedBody=p)}t.headers&&A&&(l.response.parsedHeaders=e.serializer.deserialize(A,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(MBe,"handleErrorResponse");async function OBe(t,e,r,s,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(i),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!n)throw new Error("Parsing XML not supported.");let l=await n(i,s.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,A=l.code||Hi.PARSE_ERROR;throw new Hi(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(OBe,"parse");function $J(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===Hn.Stream&&e.add(Number(r))}return e}o($J,"getStreamingResponseStatusCodes");function zn(t){let{parameterPath:e,mapper:r}=t,s;return typeof e=="string"?s=e:Array.isArray(e)?s=e.join("."):s=r.serializedName,s}o(zn,"getPathStringFromParameter");var YJ="serializationPolicy";function xE(t={}){let e=t.stringifyXML;return{name:YJ,async sendRequest(r,s){let n=Vi(r),i=n?.operationSpec,a=n?.operationArguments;return i&&a&&(FBe(r,a,i),UBe(r,a,i,e)),s(r)}}}o(xE,"serializationPolicy");function FBe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=Jo(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,zn(n));let a=n.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(i))t.headers.set(a+c,i[c]);else t.headers.set(n.mapper.serializedName||zn(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}o(FBe,"serializeHeaders");function UBe(t,e,r,s=function(){throw new Error("XML serialization unsupported!")}){let n=e.options?.serializerOptions,i={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},a=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=Jo(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:A,xmlElementName:d,xmlNamespace:p,xmlNamespacePrefix:m,nullable:h}=c,f=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=zn(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let E=f===Hn.Stream;if(r.isXML){let y=m?`xmlns:${m}`:"xmlns",I=qBe(p,y,f,t.body,i);f===Hn.Sequence?t.body=s(GBe(I,d||A||u,y,p),{rootName:A||u,xmlCharKey:a}):E||(t.body=s(I,{rootName:A||u,xmlCharKey:a}))}else{if(f===Hn.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;E||(t.body=JSON.stringify(t.body))}}}catch(C){throw new Error(`Error "${C.message}" occurred in serializing the payload - ${JSON.stringify(u,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=Jo(e,c);if(l!=null){let u=c.mapper.serializedName||zn(c);t.formData[u]=r.serializer.serialize(c.mapper,l,zn(c),i)}}}}o(UBe,"serializeRequestBody");function qBe(t,e,r,s,n){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[n.xml.xmlCharKey]=s,i["$"]={[e]:t},i}return s}o(qBe,"getXmlValueWithNamespace");function GBe(t,e,r,s){if(Array.isArray(t)||(t=[t]),!r||!s)return{[e]:t};let n={[e]:t};return n["$"]={[r]:s},n}o(GBe,"prepareXMLRootList");function pp(t={}){let e=gN(t??{});return t.credentialOptions&&e.addPolicy(mu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(xE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(xN(t.deserializationOptions),{phase:"Deserialize"}),e}o(pp,"createClientPipeline");var NN;function JJ(){return NN||(NN=Ap()),NN}o(JJ,"getCachedDefaultHttpClient");var HBe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function jJ(t,e,r,s){let n=zBe(e,r,s),i=!1,a=WJ(t,n);if(e.path){let u=WJ(e.path,n);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),VBe(u)?(a=u,i=!0):a=$Be(a,u)}let{queryParams:c,sequenceParams:l}=YBe(e,r,s);return a=WBe(a,c,l,i),a}o(jJ,"getRequestUrl");function WJ(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}o(WJ,"replaceAll");function zBe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=Jo(e,n,r),a=zn(n);i=t.serializer.serialize(n.mapper,i,a),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||a}}`,i)}return s}o(zBe,"calculateUrlReplacements");function VBe(t){return t.includes("://")}o(VBe,"isAbsoluteUrl");function $Be(t,e){if(!e)return t;let r=new URL(t),s=r.pathname;s.endsWith("/")||(s=`${s}/`),e.startsWith("/")&&(e=e.substring(1));let n=e.indexOf("?");if(n!==-1){let i=e.substring(0,n),a=e.substring(n+1);s=s+i,a&&(r.search=r.search?`${r.search}&${a}`:a)}else s=s+e;return r.pathname=s,r.toString()}o($Be,"appendPath");function YBe(t,e,r){let s=new Map,n=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&n.add(i.mapper.serializedName);let a=Jo(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,zn(i));let c=i.collectionFormat?HBe[i.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),i.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(a=a.join(c)),i.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(a=a.join(c)),s.set(i.mapper.serializedName||zn(i),a)}}return{queryParams:s,sequenceParams:n}}o(YBe,"calculateQueryParameters");function JBe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let s of r){let[n,i]=s.split("=",2),a=e.get(n);a?Array.isArray(a)?a.push(i):e.set(n,[a,i]):e.set(n,i)}return e}o(JBe,"simpleParseQueryParams");function WBe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=JBe(n.search);for(let[c,l]of e){let u=i.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let A=new Set(u);i.set(c,Array.from(A))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&i.set(c,[u,l]),s||i.set(c,l)):i.set(c,l)}let a=[];for(let[c,l]of i)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let u of l)a.push(`${c}=${u}`);else a.push(`${c}=${l}`);return n.search=a.length?`?${a.join("&")}`:"",n.toString()}o(WBe,"appendQueryParams");var SN=qn("core-client");var mp=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&SN.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||JJ(),this.pipeline=e.pipeline||jBe(e),e.additionalPolicies?.length)for(let{policy:r,position:s}of e.additionalPolicies){let n=s==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:n})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let s=r.baseUrl||this._endpoint;if(!s)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let n=jJ(s,r,e,this),i=dp({url:n});i.method=r.httpMethod;let a=Vi(i);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&i.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(i.timeout=u.timeout),u.onUploadProgress&&(i.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(i.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(i.allowInsecureConnection=!0)),l.abortSignal&&(i.abortSignal=l.abortSignal),l.tracingOptions&&(i.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=$J(r));try{let u=await this.sendRequest(i),A=BN(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,A),A}catch(u){if(typeof u=="object"&&u?.response){let A=u.response,d=BN(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};function jBe(t){let e=KBe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return pp({...t,credentialOptions:r})}o(jBe,"createDefaultPipeline");function KBe(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(KBe,"getCredentialScopes");var KJ={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function XBe(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}o(XBe,"isUuid");var NE=o(async t=>{let e=swe(t.request),r=twe(t.response);if(r){let s=rwe(r),n=ewe(t,s),i=ZBe(s);if(!i)return!1;let a=await t.getAccessToken(n,{...e,tenantId:i});return a?(t.request.headers.set(KJ.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function ZBe(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&XBe(s))return s}o(ZBe,"extractTenantId");function ewe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=KJ.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}o(ewe,"buildScopes");function twe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(twe,"getChallenge");function rwe(t){return`${t.slice(7).trim()} `.split(" ").filter(n=>n).map(n=>(([i,a])=>({[i]:a}))(n.trim().split("="))).reduce((n,i)=>({...n,...i}),{})}o(rwe,"parseChallenge");function swe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(swe,"requestToOptions");var XJ=Symbol("Original PipelineRequest"),nwe=Symbol.for("@azure/core-client original request");function fp(t,e={}){let s=t[XJ],n=zi(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=dp({url:t.url,method:t.method,headers:n,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(i[nwe]=e.originalRequest),i}}o(fp,"toPipelineRequest");function nc(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:gp(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(s,{get(n,i,a){return i===XJ?t:i==="clone"?()=>nc(fp(s,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(n,i,a)},set(n,i,a,c){return i==="keepAlive"&&(t.disableKeepAlive=!a),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=a),Reflect.set(n,i,a,c)}}):s}o(nc,"toWebResourceLike");function gp(t){return new RN(t.toJSON({preserveCase:!0}))}o(gp,"toHttpHeadersLike");function hp(t){return t.toLowerCase()}o(hp,"getHeaderKey");var RN=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[hp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[hp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[hp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[hp(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let s=0;s{let r=await t.sendRequest(nc(e,{createProxy:!0}));return RE(r)},"sendRequest")}}o(vN,"convertHttpClient");var t3=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",awe=t3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",cwe="["+t3+"]["+awe+"]*",lwe=new RegExp("^"+cwe+"$");function TE(t,e){let r=[],s=e.exec(t);for(;s;){let n=[];n.startIndex=e.lastIndex-s[0].length;let i=s.length;for(let a=0;a"u")},"isName");function r3(t){return typeof t<"u"}o(r3,"isExist");var yp=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],PE=["__proto__","constructor","prototype"];var uwe={allowBooleanAttributes:!1,unpairedTags:[]};function vE(t,e){e=Object.assign({},uwe,e);let r=[],s=!1,n=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i"&&t[i]!==" "&&t[i]!==" "&&t[i]!==` +`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!Ewe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",ut("InvalidTag",d,hr(t,i))}let u=pwe(t,i);if(u===!1)return ut("InvalidAttr","Attributes for '"+l+"' have open quote.",hr(t,i));let A=u.value;if(i=u.index,A[A.length-1]==="/"){let d=i-A.length;A=A.substring(0,A.length-1);let p=o3(A,e);if(p===!0)s=!0;else return ut(p.err.code,p.err.msg,hr(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return ut("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",hr(t,a));if(r.length===0)return ut("InvalidTag","Closing tag '"+l+"' has not been opened.",hr(t,a));{let d=r.pop();if(l!==d.tagName){let p=hr(t,d.tagStartPos);return ut("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",hr(t,a))}r.length==0&&(n=!0)}}else return ut("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",hr(t,i));else{let d=o3(A,e);if(d!==!0)return ut(d.err.code,d.err.msg,hr(t,i-A.length+d.err.line));if(n===!0)return ut("InvalidXml","Multiple possible root nodes found.",hr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i0)return ut("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ut("InvalidXml","Start tag expected.",1);return!0}o(vE,"validate");function s3(t){return t===" "||t===" "||t===` +`||t==="\r"}o(s3,"isWhiteSpace");function n3(t,e){let r=e;for(;e5&&s==="xml")return ut("InvalidXml","XML declaration allowed only at the start of the document.",hr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(n3,"readPI");function i3(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}o(i3,"readCommentAndCDATA");var Awe='"',dwe="'";function pwe(t,e){let r="",s="",n=!1;for(;e"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(pwe,"readAttributeStr");var mwe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function o3(t,e){let r=TE(t,mwe),s={};for(let n=0;n",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},c3={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},l3={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",Lcaron:"\u013D",lcaron:"\u013E",Lmidot:"\u013F",lmidot:"\u0140",Lstrok:"\u0141",lstrok:"\u0142",Nacute:"\u0143",nacute:"\u0144",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ENG:"\u014A",eng:"\u014B",Omacr:"\u014C",omacr:"\u014D",Odblac:"\u0150",odblac:"\u0151",OElig:"\u0152",oelig:"\u0153",Racute:"\u0154",racute:"\u0155",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",Sacute:"\u015A",sacute:"\u015B",Scirc:"\u015C",scirc:"\u015D",Scedil:"\u015E",scedil:"\u015F",Scaron:"\u0160",scaron:"\u0161",Tcedil:"\u0162",tcedil:"\u0163",Tcaron:"\u0164",tcaron:"\u0165",Tstrok:"\u0166",tstrok:"\u0167",Utilde:"\u0168",utilde:"\u0169",Umacr:"\u016A",umacr:"\u016B",Ubreve:"\u016C",ubreve:"\u016D",Uring:"\u016E",uring:"\u016F",Udblac:"\u0170",udblac:"\u0171",Uogon:"\u0172",uogon:"\u0173",Wcirc:"\u0174",wcirc:"\u0175",Ycirc:"\u0176",ycirc:"\u0177",Zacute:"\u0179",zacute:"\u017A",Zdot:"\u017B",zdot:"\u017C",Zcaron:"\u017D",zcaron:"\u017E"},u3={Alpha:"\u0391",alpha:"\u03B1",Beta:"\u0392",beta:"\u03B2",Gamma:"\u0393",gamma:"\u03B3",Delta:"\u0394",delta:"\u03B4",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",varepsilon:"\u03F5",Zeta:"\u0396",zeta:"\u03B6",Eta:"\u0397",eta:"\u03B7",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",vartheta:"\u03D1",Iota:"\u0399",iota:"\u03B9",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",Lambda:"\u039B",lambda:"\u03BB",Mu:"\u039C",mu:"\u03BC",Nu:"\u039D",nu:"\u03BD",Xi:"\u039E",xi:"\u03BE",Omicron:"\u039F",omicron:"\u03BF",Pi:"\u03A0",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",Tau:"\u03A4",tau:"\u03C4",Upsilon:"\u03A5",upsilon:"\u03C5",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",varphi:"\u03D5",Chi:"\u03A7",chi:"\u03C7",Psi:"\u03A8",psi:"\u03C8",Omega:"\u03A9",omega:"\u03C9",ohm:"\u03A9",Gammad:"\u03DC",gammad:"\u03DD",digamma:"\u03DD"},A3={Afr:"\u{1D504}",afr:"\u{1D51E}",Acy:"\u0410",acy:"\u0430",Bcy:"\u0411",bcy:"\u0431",Vcy:"\u0412",vcy:"\u0432",Gcy:"\u0413",gcy:"\u0433",Dcy:"\u0414",dcy:"\u0434",IEcy:"\u0415",iecy:"\u0435",IOcy:"\u0401",iocy:"\u0451",ZHcy:"\u0416",zhcy:"\u0436",Zcy:"\u0417",zcy:"\u0437",Icy:"\u0418",icy:"\u0438",Jcy:"\u0419",jcy:"\u0439",Kcy:"\u041A",kcy:"\u043A",Lcy:"\u041B",lcy:"\u043B",Mcy:"\u041C",mcy:"\u043C",Ncy:"\u041D",ncy:"\u043D",Ocy:"\u041E",ocy:"\u043E",Pcy:"\u041F",pcy:"\u043F",Rcy:"\u0420",rcy:"\u0440",Scy:"\u0421",scy:"\u0441",Tcy:"\u0422",tcy:"\u0442",Ucy:"\u0423",ucy:"\u0443",Fcy:"\u0424",fcy:"\u0444",KHcy:"\u0425",khcy:"\u0445",TScy:"\u0426",tscy:"\u0446",CHcy:"\u0427",chcy:"\u0447",SHcy:"\u0428",shcy:"\u0448",SHCHcy:"\u0429",shchcy:"\u0449",HARDcy:"\u042A",hardcy:"\u044A",Ycy:"\u042B",ycy:"\u044B",SOFTcy:"\u042C",softcy:"\u044C",Ecy:"\u042D",ecy:"\u044D",YUcy:"\u042E",yucy:"\u044E",YAcy:"\u042F",yacy:"\u044F",DJcy:"\u0402",djcy:"\u0452",GJcy:"\u0403",gjcy:"\u0453",Jukcy:"\u0404",jukcy:"\u0454",DScy:"\u0405",dscy:"\u0455",Iukcy:"\u0406",iukcy:"\u0456",YIcy:"\u0407",yicy:"\u0457",Jsercy:"\u0408",jsercy:"\u0458",LJcy:"\u0409",ljcy:"\u0459",NJcy:"\u040A",njcy:"\u045A",TSHcy:"\u040B",tshcy:"\u045B",KJcy:"\u040C",kjcy:"\u045C",Ubrcy:"\u040E",ubrcy:"\u045E",DZcy:"\u040F",dzcy:"\u045F"},d3={plus:"+",minus:"\u2212",mnplus:"\u2213",mp:"\u2213",pm:"\xB1",times:"\xD7",div:"\xF7",divide:"\xF7",sdot:"\u22C5",star:"\u2606",starf:"\u2605",bigstar:"\u2605",lowast:"\u2217",ast:"*",midast:"*",compfn:"\u2218",smallcircle:"\u2218",bullet:"\u2022",bull:"\u2022",nbsp:"\xA0",hellip:"\u2026",mldr:"\u2026",prime:"\u2032",Prime:"\u2033",tprime:"\u2034",bprime:"\u2035",backprime:"\u2035",minus:"\u2212",minusd:"\u2238",dotminus:"\u2238",plusdo:"\u2214",dotplus:"\u2214",plusmn:"\xB1",minusplus:"\u2213",mnplus:"\u2213",mp:"\u2213",setminus:"\u2216",smallsetminus:"\u2216",Backslash:"\u2216",setmn:"\u2216",ssetmn:"\u2216",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"\u2237",Proportion:"\u2237",ratio:"\u2236",equals:"=",ne:"\u2260",nequiv:"\u2262",equiv:"\u2261",Congruent:"\u2261",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",sime:"\u2243",simeq:"\u2243",TildeEqual:"\u2243",asymp:"\u2248",approx:"\u2248",thickapprox:"\u2248",thkap:"\u2248",TildeTilde:"\u2248",ncong:"\u2247",cong:"\u2245",TildeFullEqual:"\u2245",asympeq:"\u224D",CupCap:"\u224D",bump:"\u224E",Bumpeq:"\u224E",HumpDownHump:"\u224E",bumpe:"\u224F",bumpeq:"\u224F",HumpEqual:"\u224F",dotminus:"\u2238",minusd:"\u2238",plusdo:"\u2214",dotplus:"\u2214",le:"\u2264",LessEqual:"\u2264",ge:"\u2265",GreaterEqual:"\u2265",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",greater:">",less:"<"},p3={alefsym:"\u2135",aleph:"\u2135",beth:"\u2136",gimel:"\u2137",daleth:"\u2138",forall:"\u2200",ForAll:"\u2200",part:"\u2202",PartialD:"\u2202",exist:"\u2203",Exists:"\u2203",nexist:"\u2204",nexists:"\u2204",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",nabla:"\u2207",Del:"\u2207",isin:"\u2208",isinv:"\u2208",in:"\u2208",Element:"\u2208",notin:"\u2209",notinva:"\u2209",ni:"\u220B",niv:"\u220B",SuchThat:"\u220B",ReverseElement:"\u220B",notni:"\u220C",notniva:"\u220C",prod:"\u220F",Product:"\u220F",coprod:"\u2210",Coproduct:"\u2210",sum:"\u2211",Sum:"\u2211",minus:"\u2212",mp:"\u2213",plusdo:"\u2214",dotplus:"\u2214",setminus:"\u2216",lowast:"\u2217",radic:"\u221A",Sqrt:"\u221A",prop:"\u221D",propto:"\u221D",Proportional:"\u221D",varpropto:"\u221D",infin:"\u221E",infintie:"\u29DD",ang:"\u2220",angle:"\u2220",angmsd:"\u2221",measuredangle:"\u2221",angsph:"\u2222",mid:"\u2223",VerticalBar:"\u2223",nmid:"\u2224",nsmid:"\u2224",npar:"\u2226",parallel:"\u2225",spar:"\u2225",nparallel:"\u2226",nspar:"\u2226",and:"\u2227",wedge:"\u2227",or:"\u2228",vee:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",Integral:"\u222B",conint:"\u222E",ContourIntegral:"\u222E",Conint:"\u222F",DoubleContourIntegral:"\u222F",Cconint:"\u2230",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",becaus:"\u2235",because:"\u2235",Because:"\u2235",ratio:"\u2236",Proportion:"\u2237",minusd:"\u2238",dotminus:"\u2238",mDDot:"\u223A",homtht:"\u223B",sim:"\u223C",bsimg:"\u223D",backsim:"\u223D",ac:"\u223E",mstpos:"\u223E",acd:"\u223F",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",nsime:"\u2244",nsimeq:"\u2244",nsimeq:"\u2244",ncong:"\u2247",simne:"\u2246",ncongdot:"\u2A6D\u0338",ngsim:"\u2275",nsim:"\u2241",napprox:"\u2249",nap:"\u2249",ngeq:"\u2271",nge:"\u2271",nleq:"\u2270",nle:"\u2270",ngtr:"\u226F",ngt:"\u226F",nless:"\u226E",nlt:"\u226E",nprec:"\u2280",npr:"\u2280",nsucc:"\u2281",nsc:"\u2281"},m3={larr:"\u2190",leftarrow:"\u2190",LeftArrow:"\u2190",uarr:"\u2191",uparrow:"\u2191",UpArrow:"\u2191",rarr:"\u2192",rightarrow:"\u2192",RightArrow:"\u2192",darr:"\u2193",downarrow:"\u2193",DownArrow:"\u2193",harr:"\u2194",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",varr:"\u2195",updownarrow:"\u2195",UpDownArrow:"\u2195",nwarr:"\u2196",nwarrow:"\u2196",UpperLeftArrow:"\u2196",nearr:"\u2197",nearrow:"\u2197",UpperRightArrow:"\u2197",searr:"\u2198",searrow:"\u2198",LowerRightArrow:"\u2198",swarr:"\u2199",swarrow:"\u2199",LowerLeftArrow:"\u2199",lArr:"\u21D0",Leftarrow:"\u21D0",uArr:"\u21D1",Uparrow:"\u21D1",rArr:"\u21D2",Rightarrow:"\u21D2",dArr:"\u21D3",Downarrow:"\u21D3",hArr:"\u21D4",Leftrightarrow:"\u21D4",iff:"\u21D4",vArr:"\u21D5",Updownarrow:"\u21D5",lAarr:"\u21DA",Lleftarrow:"\u21DA",rAarr:"\u21DB",Rrightarrow:"\u21DB",lrarr:"\u21C6",leftrightarrows:"\u21C6",rlarr:"\u21C4",rightleftarrows:"\u21C4",lrhar:"\u21CB",leftrightharpoons:"\u21CB",ReverseEquilibrium:"\u21CB",rlhar:"\u21CC",rightleftharpoons:"\u21CC",Equilibrium:"\u21CC",udarr:"\u21C5",UpArrowDownArrow:"\u21C5",duarr:"\u21F5",DownArrowUpArrow:"\u21F5",llarr:"\u21C7",leftleftarrows:"\u21C7",rrarr:"\u21C9",rightrightarrows:"\u21C9",ddarr:"\u21CA",downdownarrows:"\u21CA",har:"\u21BD",lhard:"\u21BD",leftharpoondown:"\u21BD",lharu:"\u21BC",leftharpoonup:"\u21BC",rhard:"\u21C1",rightharpoondown:"\u21C1",rharu:"\u21C0",rightharpoonup:"\u21C0",lsh:"\u21B0",Lsh:"\u21B0",rsh:"\u21B1",Rsh:"\u21B1",ldsh:"\u21B2",rdsh:"\u21B3",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",mapstoleft:"\u21A4",mapstoup:"\u21A5",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",crarr:"\u21B5",nwarrow:"\u2196",nearrow:"\u2197",searrow:"\u2198",swarrow:"\u2199",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nrightarrow:"\u219B",nrarr:"\u219B",larrtl:"\u21A2",rarrtl:"\u21A3",leftarrowtail:"\u21A2",rightarrowtail:"\u21A3",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Larr:"\u219E",Rarr:"\u21A0",larrhk:"\u21A9",rarrhk:"\u21AA",larrlp:"\u21AB",looparrowleft:"\u21AB",rarrlp:"\u21AC",looparrowright:"\u21AC",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",nrarrw:"\u219D\u0338",rarrw:"\u219D",rightsquigarrow:"\u219D",larrbfs:"\u291F",rarrbfs:"\u2920",nvHarr:"\u2904",nvlArr:"\u2902",nvrArr:"\u2903",larrfs:"\u291D",rarrfs:"\u291E",Map:"\u2905",larrsim:"\u2973",rarrsim:"\u2974",harrcir:"\u2948",Uarrocir:"\u2949",lurdshar:"\u294A",ldrdhar:"\u2967",ldrushar:"\u294B",rdldhar:"\u2969",lrhard:"\u296D",rlhar:"\u21CC",uharr:"\u21BE",uharl:"\u21BF",dharr:"\u21C2",dharl:"\u21C3",Uarr:"\u219F",Darr:"\u21A1",zigrarr:"\u21DD",nwArr:"\u21D6",neArr:"\u21D7",seArr:"\u21D8",swArr:"\u21D9",nharr:"\u21AE",nhArr:"\u21CE",nlarr:"\u219A",nlArr:"\u21CD",nrarr:"\u219B",nrArr:"\u21CF",larrb:"\u21E4",LeftArrowBar:"\u21E4",rarrb:"\u21E5",RightArrowBar:"\u21E5"},h3={square:"\u25A1",Square:"\u25A1",squ:"\u25A1",squf:"\u25AA",squarf:"\u25AA",blacksquar:"\u25AA",blacksquare:"\u25AA",FilledVerySmallSquare:"\u25AA",blk34:"\u2593",blk12:"\u2592",blk14:"\u2591",block:"\u2588",srect:"\u25AD",rect:"\u25AD",sdot:"\u22C5",sdotb:"\u22A1",dotsquare:"\u22A1",triangle:"\u25B5",tri:"\u25B5",trine:"\u25B5",utri:"\u25B5",triangledown:"\u25BF",dtri:"\u25BF",tridown:"\u25BF",triangleleft:"\u25C3",ltri:"\u25C3",triangleright:"\u25B9",rtri:"\u25B9",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",loz:"\u25CA",lozenge:"\u25CA",blacklozenge:"\u29EB",lozf:"\u29EB",bigcirc:"\u25EF",xcirc:"\u25EF",circ:"\u02C6",Circle:"\u25CB",cir:"\u25CB",o:"\u25CB",bullet:"\u2022",bull:"\u2022",hellip:"\u2026",mldr:"\u2026",nldr:"\u2025",boxh:"\u2500",HorizontalLine:"\u2500",boxv:"\u2502",boxdr:"\u250C",boxdl:"\u2510",boxur:"\u2514",boxul:"\u2518",boxvr:"\u251C",boxvl:"\u2524",boxhd:"\u252C",boxhu:"\u2534",boxvh:"\u253C",boxH:"\u2550",boxV:"\u2551",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxDl:"\u2555",boxdL:"\u2556",boxDL:"\u2557",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxUl:"\u255C",boxuL:"\u255B",boxUL:"\u255D",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",boxVl:"\u2562",boxvL:"\u2561",boxVL:"\u2563",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C"},f3={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},kE={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},g3={frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044"},E3={trade:"\u2122",TRADE:"\u2122",telrec:"\u2315",target:"\u2316",ulcorn:"\u231C",ulcorner:"\u231C",urcorn:"\u231D",urcorner:"\u231D",dlcorn:"\u231E",llcorner:"\u231E",drcorn:"\u231F",lrcorner:"\u231F",intercal:"\u22BA",intcal:"\u22BA",oplus:"\u2295",CirclePlus:"\u2295",ominus:"\u2296",CircleMinus:"\u2296",otimes:"\u2297",CircleTimes:"\u2297",osol:"\u2298",odot:"\u2299",CircleDot:"\u2299",oast:"\u229B",circledast:"\u229B",odash:"\u229D",circleddash:"\u229D",ocirc:"\u229A",circledcirc:"\u229A",boxplus:"\u229E",plusb:"\u229E",boxminus:"\u229F",minusb:"\u229F",boxtimes:"\u22A0",timesb:"\u22A0",boxdot:"\u22A1",sdotb:"\u22A1",veebar:"\u22BB",vee:"\u2228",barvee:"\u22BD",and:"\u2227",wedge:"\u2227",Cap:"\u22D2",Cup:"\u22D3",Fork:"\u22D4",pitchfork:"\u22D4",epar:"\u22D5",ltlarr:"\u2976",nvap:"\u224D\u20D2",nvsim:"\u223C\u20D2",nvge:"\u2265\u20D2",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvgt:">\u20D2",nvltrie:"\u22B4\u20D2",nvrtrie:"\u22B5\u20D2",Vdash:"\u22A9",dashv:"\u22A3",vDash:"\u22A8",Vdash:"\u22A9",Vvdash:"\u22AA",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF"},ywe={...a3,...c3,...l3,...u3,...A3,...d3,...p3,...m3,...h3,...f3,...kE,...g3,...E3},Ip={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},DN={nbsp:"\xA0",copy:"\xA9",reg:"\xAE",trade:"\u2122",mdash:"\u2014",ndash:"\u2013",hellip:"\u2026",laquo:"\xAB",raquo:"\xBB",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",bull:"\u2022",para:"\xB6",sect:"\xA7",deg:"\xB0",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE"};var Cwe=new Set("!?\\\\/[]$%{}^&*()<>|+");function y3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(Cwe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(y3,"validateEntityName");function _N(...t){let e=Object.create(null);for(let r of t)if(r)for(let s of Object.keys(r)){let n=r[s];if(typeof n=="string")e[s]=n;else if(n&&typeof n=="object"&&n.val!==void 0){let i=n.val;typeof i=="string"&&(e[s]=i)}}return e}o(_N,"mergeEntityMaps");var ic="external",DE="base",LN="all";function Iwe(t){return!t||t===ic?new Set([ic]):t===LN?new Set([LN]):t===DE?new Set([DE]):Array.isArray(t)?new Set(t):new Set([ic])}o(Iwe,"parseLimitTiers");var kr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Bwe=new Set([9,10,13]);function wwe(t){if(!t)return{xmlVersion:1,onLevel:kr.allow,nullLevel:kr.remove};let e=t.xmlVersion===1.1?1.1:1,r=kr[t.onNCR]??kr.allow,s=kr[t.nullNCR]??kr.remove,n=Math.max(s,kr.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}o(wwe,"parseNCRConfig");var fu=class{static{o(this,"EntityDecoder")}constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:s=>s,this._limitTiers=Iwe(this._limit.applyLimitsTo??ic),this._numericAllowed=e.numericAllowed??!0,this._baseMap=_N(Ip,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=wwe(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(e){if(e)for(let r of Object.keys(e))y3(r);this._externalMap=_N(e)}addExternalEntity(e,r){y3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=_N(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let r=e,s=[],n=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,u=c||l;for(;a=n||e.charCodeAt(d)!==59){a++;continue}let p=e.slice(a+1,d);if(p.length===0){a++;continue}let m,h;if(this._removeSet.has(p))m="",h===void 0&&(h=ic);else if(this._leaveSet.has(p)){a++;continue}else if(p.charCodeAt(0)===35){let f=this._resolveNCR(p);if(f===void 0){a++;continue}m=f,h=DE}else{let f=this._resolveName(p);m=f?.value,h=f?.tier}if(m===void 0){a++;continue}if(a>i&&s.push(e.slice(i,a)),s.push(m),i=d+1,a=i,u&&this._tierCounts(h)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let f=m.length-(p.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!Bwe.has(e)?kr.remove:-1}_applyNCRAction(e,r,s){switch(e){case kr.allow:return String.fromCodePoint(s);case kr.remove:return"";case kr.leave:return;case kr.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${s.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(s)}}_resolveNCR(e){let r=e.charCodeAt(1),s;if(r===120||r===88?s=parseInt(e.slice(2),16):s=parseInt(e.slice(1),10),Number.isNaN(s)||s<0||s>1114111)return;let n=this._classifyNCR(s);if(!this._numericAllowed&&nyp.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),bwe={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(t,e,r){return t},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:C3};function Qwe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(yp.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(PE.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(Qwe,"validatePropertyName");function I3(t,e){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:I3(!0)}o(I3,"normalizeProcessEntities");var B3=o(function(t){let e=Object.assign({},bwe,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:s,name:n}of r)s&&Qwe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=C3),e.processEntities=I3(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(s=>typeof s=="string"&&s.startsWith("*.")?".."+s.substring(2):s)),e},"buildOptions");var _E;typeof Symbol!="function"?_E="@@xmlMetadata":_E=Symbol("XML Node Metadata");var Dr=class{static{o(this,"XmlNode")}constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][_E]={startIndex:r})}static getMetaDataSymbol(){return _E}};var w3=":A-Za-z_\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",xwe=w3+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",b3=":A-Za-z_\xC0-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",Nwe=b3+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",Q3=o((t,e,r="")=>{let s=t.replace(":",""),n=e.replace(":",""),i=`[${s}][${n}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),Swe=Q3(w3,xwe),Rwe=Q3(b3,Nwe,"u"),Twe=o((t="1.0")=>t==="1.1"?Rwe:Swe,"getRegexes");var oc=o((t,{xmlVersion:e="1.0"}={})=>Twe(e).qName.test(t),"qName");var wp=class{static{o(this,"DocTypeReader")}constructor(e,r){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=r||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,r){let s=Object.create(null),n=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let i=1,a=!1,c=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);s[u]=A,n++}}else if(a&&ac(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&ac(e,"!ATTLIST",r))r+=8;else if(a&&ac(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(ac(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:l+=e[r];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:s,i:r}}readEntityExp(e,r){r=_r(e,r);let s=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=_r(e,r);let s=r;for(;r{for(;e1||i.length===1&&!c))return t;{let l=Number(r),u=String(l);if(l===0)return l;if(u.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return u==="0"||u===a||u===`${n}${a}`?l:t;let A=i?a:r;return i?A===u||n+A===u?l:t:A===u||A===n+u?l:t}}else return t}}else return Fwe(t,Number(r),e)}o(ON,"toNumber");var Lwe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Mwe(t,e,r){if(!r.eNotation)return t;let s=e.match(Lwe);if(s){let n=s[1]||"",i=s[3].indexOf("e")===-1?"E":"e",a=s[2],c=n?t[a.length+1]===i:t[a.length]===i;return a.length>1&&c?t:a.length===1&&(s[3].startsWith(`.${i}`)||s[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(s[1]||"")+s[3],Number(e)):t:Number(e)}else return t}o(Mwe,"resolveEnotation");function Owe(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}o(Owe,"trimZeros");function MN(t,e){let r=t.trim();if((e===2||e===8)&&(t=r.substring(2)),parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}o(MN,"parse_int");function Fwe(t,e,r){let s=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return s?"Infinity":"-Infinity";default:return t}}o(Fwe,"handleInfinity");function FN(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(FN,"getIgnoreAttributesFn");var ls=class{static{o(this,"Expression")}constructor(e,r={},s){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=s,this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){let r=[],s=0,n="";for(;s0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let r=this._matcher.path;if(r.length!==0)return r[r.length-1].values?.[e]}hasAttr(e){let r=this._matcher.path;if(r.length===0)return!1;let s=r[r.length-1];return s.values!==void 0&&e in s.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,r=!0){return this._matcher.toString(e,r)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},Vn=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new UN(this)}push(e,r=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);let i=this.siblingStacks[n],a=s?`${s}:${e}`:e,c=i.get(a)||0,l=0;for(let A of i.values())l+=A;i.set(a,c+1);let u={tag:e,position:l,counter:c};s!=null&&(u.namespace=s),r!=null&&(u.values=r),this.path.push(u)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let s=e||this.separator;if(s===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let i=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(s);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(s)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r=0&&r>=0;){let n=e[s];if(n.type==="deep-wildcard"){if(s--,s<0)return!0;let i=e[s],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(i,this.path[c],c===this.path.length-1)){r=c-1,s--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(n,this.path[r],r===this.path.length-1))return!1;r--,s--}}return s<0}_matchSegment(e,r,s){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!s||!r.values||!(e.attrName in r.values)||e.attrValue!==void 0&&String(r.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!s)return!1;let n=r.counter??0;if(e.position==="first"&&n!==0)return!1;if(e.position==="odd"&&n%2!==1)return!1;if(e.position==="even"&&n%2!==0)return!1;if(e.position==="nth"&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}readOnly(){return this._view}};function Uwe(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let s={};for(let n in r)if(n.startsWith(e.attributeNamePrefix)){let i=n.substring(e.attributeNamePrefix.length);s[i]=r[n]}else s[n]=r[n];return s}o(Uwe,"extractRawAttributes");function qwe(t){if(!t||typeof t!="string")return;let e=t.indexOf(":");if(e!==-1&&e>0){let r=t.substring(0,e);if(r!=="xmlns")return r}}o(qwe,"extractNamespace");var bp=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=$we,this.parseTextData=Gwe,this.resolveNameSpace=Hwe,this.buildAttributesMap=Vwe,this.isItStopNode=jwe,this.replaceEntitiesValue=Jwe,this.readStopNodeData=Zwe,this.saveTextToParentTag=Wwe,this.addChild=Ywe,this.ignoreAttributesFn=FN(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let s={...Ip};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?s=this.options.htmlEntities:this.options.htmlEntities===!0&&(s={...DN,...kE}),this.entityDecoder=new fu({namedEntities:{...s,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Vn,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new gu;let n=this.options.stopNodes;if(n&&n.length>0){for(let i=0;i0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,u=c.tagValueProcessor(e,t,l,n,i);return u==null?t:typeof u!=typeof t||u!==t?u:c.trimValues||t.trim()===t?HN(t,c.parseTagValue,c.numberParseOptions):t}}o(Gwe,"parseTextData");function Hwe(t){if(this.options.removeNSPrefix){let e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}o(Hwe,"resolveNameSpace");var zwe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Vwe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=TE(t,zwe),a=i.length,c={},l=new Array(a),u=!1,A={};for(let m=0;m",c,"Closing Tag is not closed."),d=t.substring(c+2,A).trim();if(n.removeNSPrefix){let m=d.indexOf(":");m!==-1&&(d=d.substr(m+1))}d=qN(n.transformTagName,d,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(d&&n.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: `);p&&n.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=A}else if(u===63){let A=GN(t,c,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(d){let p=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1),i.setXmlVersion(Number(p)||1)}if(!(n.ignoreDeclaration&&A.tagName==="?xml"||n.ignorePiTags)){let p=new Dr(A.tagName);p.add(n.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&n.ignoreAttributes!==!0&&(p[":@"]=d),this.addChild(r,p,this.readonlyMatcher,c)}c=A.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let A=Eu(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let d=t.substring(c+4,A-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:d}])}c=A}else if(u===33&&t.charCodeAt(c+2)===68){let A=i.readDocType(t,c);this.entityDecoder.addInputEntities(A.entities),c=A.i}else if(u===33&&t.charCodeAt(c+2)===91){let A=Eu(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,A);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let p=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:d}]):r.add(n.textNodeName,p),c=A+2}else{let A=GN(t,c,n.removeNSPrefix);if(!A){let S=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${S}"`)}let d=A.tagName,p=A.rawTagName,m=A.tagExp,h=A.attrExpPresent,f=A.closeIndex;if({tagName:d,tagExp:m}=qN(n.transformTagName,d,m,n),n.strictReservedNames&&(d===n.commentPropName||d===n.cdataPropName||d===n.textNodeName||d===n.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let C=r;C&&n.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(E=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),m=d):m=m.substr(0,m.length-1),h=d!==m);let y=null,I={},B;B=qwe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=Uwe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let S="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let Ie=this.readStopNodeData(t,p,f+1);if(!Ie)throw new Error(`Unexpected end of ${p}`);c=Ie.i,S=Ie.tagContent}let U=new Dr(d);y&&(U[":@"]=y),U.add(n.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,U,this.readonlyMatcher,N)}else{if(E){({tagName:d,tagExp:m}=qN(n.transformTagName,d,m,n));let S=new Dr(d);y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let S=new Dr(d);y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let S=new Dr(d);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),r=S}s="",c=f}}}else s+=t[c];return e.child},"parseXml");function Ywe(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}o(Ywe,"addChild");function Jwe(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}o(Jwe,"replaceEntitiesValue");function Wwe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(Wwe,"saveTextToParentTag");function jwe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(jwe,"isItStopNode");function Kwe(t,e,r=">"){let s=0,n=t.length,i=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,c="",l=e;for(let u=e;u",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(n--,n===0))return{tagContent:t.substring(s,r),i:c};r=c}else if(a===63)r=Eu(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Eu(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Eu(t,"]]>",r,"StopNode is not closed.")-2;else{let c=GN(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&n++,r=c.closeIndex)}}}o(Zwe,"readStopNodeData");function HN(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:ON(t,r)}else return r3(t)?t:""}o(HN,"parseValue");function qN(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=x3(e,s),{tagName:e,tagExp:r}}o(qN,"transformTagName");function x3(t,e){if(PE.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return yp.includes(t)?e.onDangerousProperty(t):t}o(x3,"sanitizeName");var zN=Dr.getMetaDataSymbol();function ebe(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let s in t)if(s.startsWith(e)){let n=s.substring(e.length);r[n]=t[s]}else r[s]=t[s];return r}o(ebe,"stripAttributePrefix");function VN(t,e,r,s){return N3(t,e,r,s)}o(VN,"prettify");function N3(t,e,r,s){let n,i={};for(let a=0;a0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}o(N3,"compress");function tbe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(ME,"safeCdata");function Wo(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(Wo,"escapeAttribute");var nbe=` +`;function ibe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(JN(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(ibe,"detectXmlVersionFromArray");function R3(t,e,r,s,n){return!r.sanitizeName||oc(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(R3,"resolveTagName");function YN(t,e){let r="";e.format&&(r=nbe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;ae.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=$N(l,e),l}return""}for(let l=0;l`,c=!1,s.pop();continue}else if(p===e.commentPropName){let I=u[A][0][e.textNodeName],B=LE(I);a+=r+``,c=!0,s.pop();continue}else if(p[0]==="?"){let I=S3(u[":@"],e,h,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=S3(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=P3(u[A],e):y=T3(u[A],e,f,s,n,i),e.unpairedTags.indexOf(p)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!y||y.length===0)&&e.suppressEmptyNode?a+=E+"/>":y&&y.endsWith(">")?a+=E+`>${y}${r}`:(a+=E+">",y&&r!==""&&(y.includes("/>")||y.includes("`),c=!0,s.pop()}return a}o(T3,"arrToStr");function obe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=Wo(t[n]),s=!0}return s?r:null}o(obe,"extractAttributeValues");function P3(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s`:r+=`<${i}${a}>${c}`}}}return r}o(P3,"getRawContent");function abe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${Wo(n)}"`}return r}o(abe,"attr_to_str_raw");function JN(t){let e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(WN,"getIgnoreAttributesFn");var lbe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Lr(t){if(this.options=Object.assign({},lbe,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e `,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Lr,"Builder");function cbe(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o(cbe,"detectXmlVersionFromObj");function JN(t,e,r,s,n){return!r.sanitizeName||oc(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(JN,"resolveTagName");Lr.prototype.build=function(t){if(this.options.preserveOrder)return VN(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Vn,r=cbe(t,this.options);return this.j2x(t,0,e,r).val}};Lr.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let A=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:JN(l,!1,this.options,r,s);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||A===this.options.cdataPropName||A===this.options.commentPropName?i+="":A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],A,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let p=JN(d,!0,this.options,r,s);n+=this.buildAttrPairStr(p,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let p=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(p)}else{r.push(A);let p=this.checkStopNode(r);if(r.pop(),p){let m=""+t[l];m===""?i+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:i+=this.indentate(e)+"<"+A+">"+m+""u"))if(f===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(A);let C=this.j2x(f,e+1,r,s);r.pop(),p+=C.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(m+=C.attrStr)}else p+=this.processTextOrObjNode(f,A,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(A,f);C=this.replaceEntitiesValue(C),p+=C}else{r.push(A);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+f;E===""?p+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:p+=this.indentate(e)+"<"+A+">"+E+"${n}`;else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),a=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}`}}else if(typeof s=="object"&&s!==null){let n=this.buildRawContent(s),i=this.buildAttributesForStopNode(s);n===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${n}`}else e+=`<${r}>${s}`}return e};Lr.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let s in r){if(!Object.prototype.hasOwnProperty.call(r,s))continue;let n=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s,i=r[s];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let s=this.isAttribute(r);if(s){let n=t[r];n===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+n+'"'}}return e};Lr.prototype.buildObjectNode=function(t,e,r,s){if(t==="")return e[0]==="?"?this.indentate(s)+"<"+e+r+"?"+this.tagEndChar:this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let n=""+t+n:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(s)+``+this.newLine:this.indentate(s)+"<"+e+r+i+this.tagEndChar+t+this.indentate(s)+n}};Lr.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=_E(t);return this.indentate(s)+``+this.newLine}else{if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e${s.build(n)}`.replace(/\n/g,"")}o(ME,"stringifyXML");async function jN(t,e={}){if(!t)throw new Error("Document is empty");let r=P3.validate(t);if(r!==!0)throw r;let n=new Eu(pbe(e)).parse(t);if(n["?xml"]&&delete n["?xml"],!e.includeRoot)for(let i of Object.keys(n)){let a=n[i];return typeof a=="object"?Object.assign({},a):a}return n}o(jN,"parseXML");var OE=qn("storage-blob");var M3=require("events");var _3=require("node:stream");var FE=class extends _3.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,s){super(s),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let n=0;for(let i of this.buffers)n+=i.byteLength;if(n=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],s=0;for(;se-s){let c=this.byteOffsetInCurrentBuffer+e-s;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-s,this.byteOffsetInCurrentBuffer=c,s=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,s+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var L3=b(require("node:buffer"),1);var UE=L3.default.constants.MAX_LENGTH,qE=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,s){this.capacity=e,this._size=0;let n=Math.ceil(e/UE);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new FE(this.buffers,this.size)}};var GE=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new M3.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,s,n,i,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(s<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${s}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=s,this.readable=e,this.outgoingHandler=n,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",s=>{s=typeof s=="string"?Buffer.from(s,this.encoding):s,this.appendUnresolvedData(s),this.resolveData()||this.readable.pause()}),this.readable.on("error",s=>{this.emitter.emit("error",s)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",s=>{this.isError=!0,this.readable.pause(),r(s)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengths.getReadableStream(),s.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new qE(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(s){this.emitter.emit("error",s);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var KN;function XN(){return KN||(KN=up()),KN}o(XN,"getCachedDefaultHttpClient");var $n=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};var $i={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},te={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};function jo(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(jo,"setURLParameter");function HE(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(HE,"setURLHost");function zE(t){try{return new URL(t).pathname}catch{return}}o(zE,"getURLPath");function VE(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(n=>{let i=n.indexOf("="),a=n.lastIndexOf("=");return i>0&&i===a&&a{let i,a=o(()=>{i!==void 0&&clearTimeout(i),n(r)},"abortHandler");i=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),s()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o($E,"delay");var bp=class extends $n{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return we?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=jo(e.url,$i.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(te.COOKIE),e.headers.remove(te.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var Qp=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new bp(e,r)}};var cc=class extends $n{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var xp=class extends cc{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var lc=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Ve=class extends lc{static{o(this,"AnonymousCredential")}create(e,r){return new xp(e,r)}};var O3=require("node:crypto");var mbe=new Uint32Array([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,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),hbe=new Uint32Array([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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,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]),fbe=new Uint32Array([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,32786,0,0,0,0,0,33298,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,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]);function YE(t,e){return gbe(t,e)?-1:1}o(YE,"compareHeader");function gbe(t,e){let r=[mbe,hbe,fbe],s=0,n=0,i=0;for(;si;let a=n0&&e.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,te.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,te.CONTENT_ENCODING),this.getHeaderValueToSign(e,te.CONTENT_LENGTH),this.getHeaderValueToSign(e,te.CONTENT_MD5),this.getHeaderValueToSign(e,te.CONTENT_TYPE),this.getHeaderValueToSign(e,te.DATE),this.getHeaderValueToSign(e,te.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,te.IF_MATCH),this.getHeaderValueToSign(e,te.IF_NONE_MATCH),this.getHeaderValueToSign(e,te.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,te.RANGE)].join(` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Lr,"Builder");function ube(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o(ube,"detectXmlVersionFromObj");function jN(t,e,r,s,n){return!r.sanitizeName||oc(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(jN,"resolveTagName");Lr.prototype.build=function(t){if(this.options.preserveOrder)return YN(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Vn,r=ube(t,this.options);return this.j2x(t,0,e,r).val}};Lr.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let A=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:jN(l,!1,this.options,r,s);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||A===this.options.cdataPropName||A===this.options.commentPropName?i+="":A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],A,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let p=jN(d,!0,this.options,r,s);n+=this.buildAttrPairStr(p,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let p=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(p)}else{r.push(A);let p=this.checkStopNode(r);if(r.pop(),p){let m=""+t[l];m===""?i+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:i+=this.indentate(e)+"<"+A+">"+m+""u"))if(f===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(A);let C=this.j2x(f,e+1,r,s);r.pop(),p+=C.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(m+=C.attrStr)}else p+=this.processTextOrObjNode(f,A,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(A,f);C=this.replaceEntitiesValue(C),p+=C}else{r.push(A);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+f;E===""?p+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:p+=this.indentate(e)+"<"+A+">"+E+"${n}`;else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),a=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}`}}else if(typeof s=="object"&&s!==null){let n=this.buildRawContent(s),i=this.buildAttributesForStopNode(s);n===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${n}`}else e+=`<${r}>${s}`}return e};Lr.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let s in r){if(!Object.prototype.hasOwnProperty.call(r,s))continue;let n=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s,i=r[s];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let s=this.isAttribute(r);if(s){let n=t[r];n===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+n+'"'}}return e};Lr.prototype.buildObjectNode=function(t,e,r,s){if(t==="")return e[0]==="?"?this.indentate(s)+"<"+e+r+"?"+this.tagEndChar:this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let n=""+t+n:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(s)+``+this.newLine:this.indentate(s)+"<"+e+r+i+this.tagEndChar+t+this.indentate(s)+n}};Lr.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=LE(t);return this.indentate(s)+``+this.newLine}else{if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e${s.build(n)}`.replace(/\n/g,"")}o(OE,"stringifyXML");async function XN(t,e={}){if(!t)throw new Error("Document is empty");let r=v3.validate(t);if(r!==!0)throw r;let n=new yu(hbe(e)).parse(t);if(n["?xml"]&&delete n["?xml"],!e.includeRoot)for(let i of Object.keys(n)){let a=n[i];return typeof a=="object"?Object.assign({},a):a}return n}o(XN,"parseXML");var FE=qn("storage-blob");var O3=require("events");var L3=require("node:stream");var UE=class extends L3.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,s){super(s),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let n=0;for(let i of this.buffers)n+=i.byteLength;if(n=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],s=0;for(;se-s){let c=this.byteOffsetInCurrentBuffer+e-s;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-s,this.byteOffsetInCurrentBuffer=c,s=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,s+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var M3=b(require("node:buffer"),1);var qE=M3.default.constants.MAX_LENGTH,GE=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,s){this.capacity=e,this._size=0;let n=Math.ceil(e/qE);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new UE(this.buffers,this.size)}};var HE=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new O3.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,s,n,i,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(s<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${s}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=s,this.readable=e,this.outgoingHandler=n,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",s=>{s=typeof s=="string"?Buffer.from(s,this.encoding):s,this.appendUnresolvedData(s),this.resolveData()||this.readable.pause()}),this.readable.on("error",s=>{this.emitter.emit("error",s)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",s=>{this.isError=!0,this.readable.pause(),r(s)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengths.getReadableStream(),s.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new GE(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(s){this.emitter.emit("error",s);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var ZN;function eS(){return ZN||(ZN=Ap()),ZN}o(eS,"getCachedDefaultHttpClient");var $n=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};var $i={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},te={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};function jo(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(jo,"setURLParameter");function zE(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(zE,"setURLHost");function VE(t){try{return new URL(t).pathname}catch{return}}o(VE,"getURLPath");function $E(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(n=>{let i=n.indexOf("="),a=n.lastIndexOf("=");return i>0&&i===a&&a{let i,a=o(()=>{i!==void 0&&clearTimeout(i),n(r)},"abortHandler");i=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),s()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(YE,"delay");var Qp=class extends $n{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return we?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=jo(e.url,$i.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(te.COOKIE),e.headers.remove(te.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var xp=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new Qp(e,r)}};var cc=class extends $n{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Np=class extends cc{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var lc=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Ve=class extends lc{static{o(this,"AnonymousCredential")}create(e,r){return new Np(e,r)}};var F3=require("node:crypto");var fbe=new Uint32Array([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,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),gbe=new Uint32Array([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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,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]),Ebe=new Uint32Array([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,32786,0,0,0,0,0,33298,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,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]);function JE(t,e){return ybe(t,e)?-1:1}o(JE,"compareHeader");function ybe(t,e){let r=[fbe,gbe,Ebe],s=0,n=0,i=0;for(;si;let a=n0&&e.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,te.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,te.CONTENT_ENCODING),this.getHeaderValueToSign(e,te.CONTENT_LENGTH),this.getHeaderValueToSign(e,te.CONTENT_MD5),this.getHeaderValueToSign(e,te.CONTENT_TYPE),this.getHeaderValueToSign(e,te.DATE),this.getHeaderValueToSign(e,te.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,te.IF_MATCH),this.getHeaderValueToSign(e,te.IF_NONE_MATCH),this.getHeaderValueToSign(e,te.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,te.RANGE)].join(` `)+` -`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(te.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===te.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(te.PREFIX_FOR_STORAGE));r.sort((n,i)=>YE(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()} -`}),s}getCanonicalizedResourceString(e){let r=zE(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=VE(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=` -${c}:${decodeURIComponent(i[c])}`}return s}};var Ze=class extends lc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Np(e,r,this)}computeHMACSHA256(e){return(0,O3.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Nt=qn("storage-common");var vs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(vs||(vs={}));var Ko={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:vs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Ebe=new os("The operation was aborted."),Sp=class extends $n{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=Ko){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:Ko.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):Ko.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:Ko.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:Ko.maxRetryDelayInMs):Ko.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:Ko.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:Ko.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=HE(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=jo(n.url,$i.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Nt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(Nt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return Nt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return Nt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return Nt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Nt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(te.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(Nt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case vs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case vs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Nt.info(`RetryPolicy: Delay for ${n}ms`),$E(n,s,Ebe)}};var Rp=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Sp(e,r,this.retryOptions)}};var ybe="storageBrowserPolicy";function F3(){return{name:ybe,async sendRequest(t,e){return we||((t.method==="GET"||t.method==="HEAD")&&(t.url=jo(t.url,$i.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(te.COOKIE),t.headers.delete(te.CONTENT_LENGTH)),e(t)}}}o(F3,"storageBrowserPolicy");var Cbe="StorageCorrectContentLengthPolicy";function U3(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Cbe,async sendRequest(e,r){return t(e),r(e)}}}o(U3,"storageCorrectContentLengthPolicy");var Ibe="storageRetryPolicy",yu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:vs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Bbe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],wbe=new os("The operation was aborted.");function q3(t={}){let e=t.retryPolicyType??yu.retryPolicyType,r=t.maxTries??yu.maxTries,s=t.retryDelayInMs??yu.retryDelayInMs,n=t.maxRetryDelayInMs??yu.maxRetryDelayInMs,i=t.secondaryHost??yu.secondaryHost,a=t.tryTimeoutInMs??yu.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return Nt.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(p){for(let m of Bbe)if(p.name.toUpperCase().includes(m)||p.message.toUpperCase().includes(m)||p.code&&p.code.toString().toUpperCase()===m)return Nt.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(p?.code==="PARSE_ERROR"&&p?.message.startsWith('Error "Error: Unclosed root tag'))return Nt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||p){let m=d?.status??p?.statusCode??0;if(!u&&m===404)return Nt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return Nt.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(d&&d?.status>=400){let m=d.headers.get(te.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,A){let d=0;if(u)switch(e){case vs.EXPONENTIAL:d=Math.min((Math.pow(2,A-1)-1)*s,n);break;case vs.FIXED:d=s;break}else d=Math.random()*1e3;return Nt.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Ibe,async sendRequest(u,A){a&&(u.url=jo(u.url,$i.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,p=i?HE(u.url,i):void 0,m=!1,h=1,f=!0,C,E;for(;f;){let y=m||!p||!["GET","HEAD","OPTIONS"].includes(u.method)||h%2===1;u.url=y?d:p,C=void 0,E=void 0;try{Nt.info(`RetryPolicy: =====> Try=${h} ${y?"Primary":"Secondary"}`),C=await A(u),m=m||!y&&C.status===404}catch(I){if(sc(I))Nt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),E=I;else throw Nt.error(`RetryPolicy: Caught error, message: ${Vo(I)}`),I}f=c({isPrimaryRetry:y,attempt:h,response:C,error:E}),f&&await $E(l(y,h),u.abortSignal,wbe),h++}if(C)return C;throw E??new Hi("RetryPolicy failed without known error.")}}}o(q3,"storageRetryPolicy");var G3=require("node:crypto");var bbe="storageSharedKeyCredentialPolicy";function ZN(t){function e(i){i.headers.set(te.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(i.body));let a=[i.method.toUpperCase(),r(i,te.CONTENT_LANGUAGE),r(i,te.CONTENT_ENCODING),r(i,te.CONTENT_LENGTH),r(i,te.CONTENT_MD5),r(i,te.CONTENT_TYPE),r(i,te.DATE),r(i,te.IF_MODIFIED_SINCE),r(i,te.IF_MATCH),r(i,te.IF_NONE_MATCH),r(i,te.IF_UNMODIFIED_SINCE),r(i,te.RANGE)].join(` +`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(te.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===te.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(te.PREFIX_FOR_STORAGE));r.sort((n,i)=>JE(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()} +`}),s}getCanonicalizedResourceString(e){let r=VE(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=$E(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=` +${c}:${decodeURIComponent(i[c])}`}return s}};var Ze=class extends lc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Sp(e,r,this)}computeHMACSHA256(e){return(0,F3.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Nt=qn("storage-common");var vs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(vs||(vs={}));var Ko={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:vs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Cbe=new os("The operation was aborted."),Rp=class extends $n{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=Ko){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:Ko.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):Ko.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:Ko.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:Ko.maxRetryDelayInMs):Ko.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:Ko.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:Ko.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=zE(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=jo(n.url,$i.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Nt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(Nt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return Nt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return Nt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return Nt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Nt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(te.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(Nt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case vs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case vs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Nt.info(`RetryPolicy: Delay for ${n}ms`),YE(n,s,Cbe)}};var Tp=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Rp(e,r,this.retryOptions)}};var Ibe="storageBrowserPolicy";function U3(){return{name:Ibe,async sendRequest(t,e){return we||((t.method==="GET"||t.method==="HEAD")&&(t.url=jo(t.url,$i.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(te.COOKIE),t.headers.delete(te.CONTENT_LENGTH)),e(t)}}}o(U3,"storageBrowserPolicy");var Bbe="StorageCorrectContentLengthPolicy";function q3(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Bbe,async sendRequest(e,r){return t(e),r(e)}}}o(q3,"storageCorrectContentLengthPolicy");var wbe="storageRetryPolicy",Cu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:vs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},bbe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Qbe=new os("The operation was aborted.");function G3(t={}){let e=t.retryPolicyType??Cu.retryPolicyType,r=t.maxTries??Cu.maxTries,s=t.retryDelayInMs??Cu.retryDelayInMs,n=t.maxRetryDelayInMs??Cu.maxRetryDelayInMs,i=t.secondaryHost??Cu.secondaryHost,a=t.tryTimeoutInMs??Cu.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return Nt.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(p){for(let m of bbe)if(p.name.toUpperCase().includes(m)||p.message.toUpperCase().includes(m)||p.code&&p.code.toString().toUpperCase()===m)return Nt.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(p?.code==="PARSE_ERROR"&&p?.message.startsWith('Error "Error: Unclosed root tag'))return Nt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||p){let m=d?.status??p?.statusCode??0;if(!u&&m===404)return Nt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return Nt.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(d&&d?.status>=400){let m=d.headers.get(te.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,A){let d=0;if(u)switch(e){case vs.EXPONENTIAL:d=Math.min((Math.pow(2,A-1)-1)*s,n);break;case vs.FIXED:d=s;break}else d=Math.random()*1e3;return Nt.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:wbe,async sendRequest(u,A){a&&(u.url=jo(u.url,$i.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,p=i?zE(u.url,i):void 0,m=!1,h=1,f=!0,C,E;for(;f;){let y=m||!p||!["GET","HEAD","OPTIONS"].includes(u.method)||h%2===1;u.url=y?d:p,C=void 0,E=void 0;try{Nt.info(`RetryPolicy: =====> Try=${h} ${y?"Primary":"Secondary"}`),C=await A(u),m=m||!y&&C.status===404}catch(I){if(sc(I))Nt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),E=I;else throw Nt.error(`RetryPolicy: Caught error, message: ${Vo(I)}`),I}f=c({isPrimaryRetry:y,attempt:h,response:C,error:E}),f&&await YE(l(y,h),u.abortSignal,Qbe),h++}if(C)return C;throw E??new Hi("RetryPolicy failed without known error.")}}}o(G3,"storageRetryPolicy");var H3=require("node:crypto");var xbe="storageSharedKeyCredentialPolicy";function tS(t){function e(i){i.headers.set(te.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(i.body));let a=[i.method.toUpperCase(),r(i,te.CONTENT_LANGUAGE),r(i,te.CONTENT_ENCODING),r(i,te.CONTENT_LENGTH),r(i,te.CONTENT_MD5),r(i,te.CONTENT_TYPE),r(i,te.DATE),r(i,te.IF_MODIFIED_SINCE),r(i,te.IF_MATCH),r(i,te.IF_NONE_MATCH),r(i,te.IF_UNMODIFIED_SINCE),r(i,te.RANGE)].join(` `)+` -`+s(i)+n(i),c=(0,G3.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(te.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===te.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function s(i){let a=[];for(let[l,u]of i.headers)l.toLowerCase().startsWith(te.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>YE(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,A)=>!(u>0&&l.name.toLowerCase()===A[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} -`}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=zE(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=VE(i.url),u={};if(l){let A=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let p=d.toLowerCase();u[p]=l[d],A.push(p)}A.sort();for(let d of A)c+=` -${d}:${decodeURIComponent(u[d])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:bbe,async sendRequest(i,a){return e(i),a(i)}}}o(ZN,"storageSharedKeyCredentialPolicy");var Qbe="storageRequestFailureDetailsParserPolicy";function H3(){return{name:Qbe,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. -`),r}}}}o(H3,"storageRequestFailureDetailsParserPolicy");var z3=require("node:crypto");var JE=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,z3.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var WE="12.31.0",jE="2026-02-06";var KE="https://storage.azure.com/.default",Yi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var An="",eS="*",xbe=1*1024*1024;var Nbe=4*xbe;var V3="AES256",$3="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Y3=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],J3=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],W3="BlobUsesCustomerSpecifiedEncryption",j3="BlobDoesNotUseCustomerSpecifiedEncryption",K3=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Ji(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(Ji,"isPipelineLike");var Tp=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function At(t,e={}){t||(t=new Ve);let r=new Tp([],e);return r._credential=t,r}o(At,"newPipeline");function Sbe(t){let e=[Rbe,X3,Tbe,Pbe,vbe,kbe,_be];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>Dbe(n));return{wrappedPolicies:RN(r),afterRetry:s}}}}o(Sbe,"processDownlevelPipeline");function tS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?TN(e):XN(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${WE}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=dp({...r,loggingOptions:{additionalAllowedHeaderNames:Y3,additionalAllowedQueryParameters:J3,logger:OE.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:ME,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:jN,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:iN}),n.addPolicy(U3()),n.addPolicy(q3(r.retryOptions),{phase:"Retry"}),n.addPolicy(H3()),n.addPolicy(F3());let c=Sbe(t);c&&n.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=rS(t);as(l)?n.addPolicy(pu({credential:l,scopes:r.audience??KE,challengeCallbacks:{authorizeRequestOnChallenge:xE}}),{phase:"Sign"}):l instanceof Ze&&n.addPolicy(ZN({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}o(tS,"getCoreClientOptions");function rS(t){if(t._credential)return t._credential;let e=new Ve;for(let r of t.factories)if(as(r.credential))e=r.credential;else if(X3(r))return r;return e}o(rS,"getCredentialFromPipeline");function X3(t){return t instanceof Ze?!0:t.constructor.name==="StorageSharedKeyCredential"}o(X3,"isStorageSharedKeyCredential");function Rbe(t){return t instanceof Ve?!0:t.constructor.name==="AnonymousCredential"}o(Rbe,"isAnonymousCredential");function Tbe(t){return as(t.credential)}o(Tbe,"isCoreHttpBearerTokenFactory");function Pbe(t){return t instanceof Qp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Pbe,"isStorageBrowserPolicyFactory");function vbe(t){return t instanceof Rp?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(vbe,"isStorageRetryPolicyFactory");function kbe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(kbe,"isStorageTelemetryPolicyFactory");function Dbe(t){return t.constructor.name==="InjectorPolicyFactory"}o(Dbe,"isInjectorPolicyFactory");function _be(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},s={log(a,c){},shouldLog(a){return!1}},i=t.create(r,s).constructor.name;return e.some(a=>i.startsWith(a))}o(_be,"isCoreHttpPolicyFactory");var Z3;(function(t){t.AES256="AES256"})(Z3||(Z3={}));var eW;(function(t){t.Backup="backup"})(eW||(eW={}));var tW;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(tW||(tW={}));var rW;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(rW||(rW={}));var us={};sZ(us,{AccessPolicy:()=>Ybe,AppendBlobAppendBlockExceptionHeaders:()=>BT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>bT,AppendBlobAppendBlockFromUrlHeaders:()=>wT,AppendBlobAppendBlockHeaders:()=>IT,AppendBlobCreateExceptionHeaders:()=>CT,AppendBlobCreateHeaders:()=>yT,AppendBlobSealExceptionHeaders:()=>xT,AppendBlobSealHeaders:()=>QT,ArrowConfiguration:()=>aQe,ArrowField:()=>cQe,BlobAbortCopyFromURLExceptionHeaders:()=>$R,BlobAbortCopyFromURLHeaders:()=>VR,BlobAcquireLeaseExceptionHeaders:()=>TR,BlobAcquireLeaseHeaders:()=>RR,BlobBreakLeaseExceptionHeaders:()=>OR,BlobBreakLeaseHeaders:()=>MR,BlobChangeLeaseExceptionHeaders:()=>LR,BlobChangeLeaseHeaders:()=>_R,BlobCopyFromURLExceptionHeaders:()=>zR,BlobCopyFromURLHeaders:()=>HR,BlobCreateSnapshotExceptionHeaders:()=>UR,BlobCreateSnapshotHeaders:()=>FR,BlobDeleteExceptionHeaders:()=>mR,BlobDeleteHeaders:()=>pR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>bR,BlobDeleteImmutabilityPolicyHeaders:()=>wR,BlobDownloadExceptionHeaders:()=>uR,BlobDownloadHeaders:()=>ZE,BlobFlatListSegment:()=>Jbe,BlobGetAccountInfoExceptionHeaders:()=>WR,BlobGetAccountInfoHeaders:()=>JR,BlobGetPropertiesExceptionHeaders:()=>dR,BlobGetPropertiesHeaders:()=>AR,BlobGetTagsExceptionHeaders:()=>XR,BlobGetTagsHeaders:()=>KR,BlobHierarchyListSegment:()=>Xbe,BlobItemInternal:()=>Wbe,BlobName:()=>jbe,BlobPrefix:()=>Zbe,BlobPropertiesInternal:()=>Kbe,BlobQueryExceptionHeaders:()=>jR,BlobQueryHeaders:()=>ty,BlobReleaseLeaseExceptionHeaders:()=>vR,BlobReleaseLeaseHeaders:()=>PR,BlobRenewLeaseExceptionHeaders:()=>DR,BlobRenewLeaseHeaders:()=>kR,BlobServiceProperties:()=>Pp,BlobServiceStatistics:()=>sS,BlobSetExpiryExceptionHeaders:()=>ER,BlobSetExpiryHeaders:()=>gR,BlobSetHttpHeadersExceptionHeaders:()=>CR,BlobSetHttpHeadersHeaders:()=>yR,BlobSetImmutabilityPolicyExceptionHeaders:()=>BR,BlobSetImmutabilityPolicyHeaders:()=>IR,BlobSetLegalHoldExceptionHeaders:()=>xR,BlobSetLegalHoldHeaders:()=>QR,BlobSetMetadataExceptionHeaders:()=>SR,BlobSetMetadataHeaders:()=>NR,BlobSetTagsExceptionHeaders:()=>eT,BlobSetTagsHeaders:()=>ZR,BlobSetTierExceptionHeaders:()=>YR,BlobSetTierHeaders:()=>ey,BlobStartCopyFromURLExceptionHeaders:()=>GR,BlobStartCopyFromURLHeaders:()=>qR,BlobTag:()=>Vbe,BlobTags:()=>kp,BlobUndeleteExceptionHeaders:()=>fR,BlobUndeleteHeaders:()=>hR,Block:()=>eQe,BlockBlobCommitBlockListExceptionHeaders:()=>LT,BlockBlobCommitBlockListHeaders:()=>_T,BlockBlobGetBlockListExceptionHeaders:()=>OT,BlockBlobGetBlockListHeaders:()=>MT,BlockBlobPutBlobFromUrlExceptionHeaders:()=>TT,BlockBlobPutBlobFromUrlHeaders:()=>RT,BlockBlobStageBlockExceptionHeaders:()=>vT,BlockBlobStageBlockFromURLExceptionHeaders:()=>DT,BlockBlobStageBlockFromURLHeaders:()=>kT,BlockBlobStageBlockHeaders:()=>PT,BlockBlobUploadExceptionHeaders:()=>ST,BlockBlobUploadHeaders:()=>NT,BlockList:()=>uS,BlockLookupList:()=>lS,ClearRange:()=>rQe,ContainerAcquireLeaseExceptionHeaders:()=>WS,ContainerAcquireLeaseHeaders:()=>JS,ContainerBreakLeaseExceptionHeaders:()=>tR,ContainerBreakLeaseHeaders:()=>eR,ContainerChangeLeaseExceptionHeaders:()=>sR,ContainerChangeLeaseHeaders:()=>rR,ContainerCreateExceptionHeaders:()=>RS,ContainerCreateHeaders:()=>SS,ContainerDeleteExceptionHeaders:()=>kS,ContainerDeleteHeaders:()=>vS,ContainerFilterBlobsExceptionHeaders:()=>YS,ContainerFilterBlobsHeaders:()=>$S,ContainerGetAccessPolicyExceptionHeaders:()=>MS,ContainerGetAccessPolicyHeaders:()=>LS,ContainerGetAccountInfoExceptionHeaders:()=>lR,ContainerGetAccountInfoHeaders:()=>cR,ContainerGetPropertiesExceptionHeaders:()=>PS,ContainerGetPropertiesHeaders:()=>TS,ContainerItem:()=>Gbe,ContainerListBlobFlatSegmentExceptionHeaders:()=>iR,ContainerListBlobFlatSegmentHeaders:()=>nR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>aR,ContainerListBlobHierarchySegmentHeaders:()=>oR,ContainerProperties:()=>Hbe,ContainerReleaseLeaseExceptionHeaders:()=>KS,ContainerReleaseLeaseHeaders:()=>jS,ContainerRenameExceptionHeaders:()=>HS,ContainerRenameHeaders:()=>GS,ContainerRenewLeaseExceptionHeaders:()=>ZS,ContainerRenewLeaseHeaders:()=>XS,ContainerRestoreExceptionHeaders:()=>qS,ContainerRestoreHeaders:()=>US,ContainerSetAccessPolicyExceptionHeaders:()=>FS,ContainerSetAccessPolicyHeaders:()=>OS,ContainerSetMetadataExceptionHeaders:()=>_S,ContainerSetMetadataHeaders:()=>DS,ContainerSubmitBatchExceptionHeaders:()=>VS,ContainerSubmitBatchHeaders:()=>zS,CorsRule:()=>Fbe,DelimitedTextConfiguration:()=>iQe,FilterBlobItem:()=>zbe,FilterBlobSegment:()=>vp,GeoReplication:()=>qbe,JsonTextConfiguration:()=>oQe,KeyInfo:()=>iS,ListBlobsFlatSegmentResponse:()=>aS,ListBlobsHierarchySegmentResponse:()=>cS,ListContainersSegmentResponse:()=>nS,Logging:()=>Lbe,Metrics:()=>Obe,PageBlobClearPagesExceptionHeaders:()=>oT,PageBlobClearPagesHeaders:()=>iT,PageBlobCopyIncrementalExceptionHeaders:()=>ET,PageBlobCopyIncrementalHeaders:()=>gT,PageBlobCreateExceptionHeaders:()=>rT,PageBlobCreateHeaders:()=>tT,PageBlobGetPageRangesDiffExceptionHeaders:()=>dT,PageBlobGetPageRangesDiffHeaders:()=>AT,PageBlobGetPageRangesExceptionHeaders:()=>uT,PageBlobGetPageRangesHeaders:()=>lT,PageBlobResizeExceptionHeaders:()=>mT,PageBlobResizeHeaders:()=>pT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>fT,PageBlobUpdateSequenceNumberHeaders:()=>hT,PageBlobUploadPagesExceptionHeaders:()=>nT,PageBlobUploadPagesFromURLExceptionHeaders:()=>cT,PageBlobUploadPagesFromURLHeaders:()=>aT,PageBlobUploadPagesHeaders:()=>sT,PageList:()=>XE,PageRange:()=>tQe,QueryFormat:()=>nQe,QueryRequest:()=>AS,QuerySerialization:()=>sQe,RetentionPolicy:()=>Mbe,ServiceFilterBlobsExceptionHeaders:()=>NS,ServiceFilterBlobsHeaders:()=>xS,ServiceGetAccountInfoExceptionHeaders:()=>wS,ServiceGetAccountInfoHeaders:()=>BS,ServiceGetPropertiesExceptionHeaders:()=>hS,ServiceGetPropertiesHeaders:()=>mS,ServiceGetStatisticsExceptionHeaders:()=>gS,ServiceGetStatisticsHeaders:()=>fS,ServiceGetUserDelegationKeyExceptionHeaders:()=>IS,ServiceGetUserDelegationKeyHeaders:()=>CS,ServiceListContainersSegmentExceptionHeaders:()=>yS,ServiceListContainersSegmentHeaders:()=>ES,ServiceSetPropertiesExceptionHeaders:()=>pS,ServiceSetPropertiesHeaders:()=>dS,ServiceSubmitBatchExceptionHeaders:()=>QS,ServiceSubmitBatchHeaders:()=>bS,SignedIdentifier:()=>$be,StaticWebsite:()=>Ube,StorageError:()=>R,UserDelegationKey:()=>oS});var Pp={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},Lbe={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},Mbe={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},Obe={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},Fbe={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},Ube={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},R={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},sS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},qbe={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},nS={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Gbe={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},Hbe={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},iS={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}}}}},oS={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},vp={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},zbe={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},kp={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},Vbe={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},$be={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},Ybe={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},aS={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Jbe={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Wbe={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},jbe={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},Kbe={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},cS={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Xbe={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Zbe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},lS={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},uS={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},eQe={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},XE={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},tQe={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},rQe={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},AS={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},sQe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},nQe={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},iQe={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},oQe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},aQe={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},cQe={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},dS={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pS={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mS={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fS={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ES={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yS={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CS={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IS={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BS={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bS={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xS={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RS={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PS={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vS={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kS={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DS={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_S={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LS={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MS={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FS={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},US={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qS={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HS={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zS={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},VS={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$S={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},YS={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JS={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},WS={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jS={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},KS={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XS={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ZS={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eR={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},tR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rR={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nR={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cR={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},lR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZE={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},uR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AR={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pR={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mR={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gR={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ER={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yR={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CR={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},BR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wR={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},bR={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},xR={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SR={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},TR={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PR={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},vR={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},DR={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_R={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},LR={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MR={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},OR={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FR={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UR={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qR={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GR={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},HR={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zR={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},VR={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$R={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ey={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YR={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JR={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},WR={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ty={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},jR={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KR={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XR={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZR={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tT={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sT={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iT={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aT={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cT={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},lT={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AT={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pT={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mT={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hT={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gT={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ET={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yT={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CT={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IT={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wT={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bT={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},QT={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},xT={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ST={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RT={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},PT={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vT={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kT={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DT={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},_T={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LT={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MT={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OT={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Yn={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},sW={parameterPath:"blobServiceProperties",mapper:Pp},ks={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},T={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Dp={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ds={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},P={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},v={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},k={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},q={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},nW={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_p={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Lp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},Jn={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Wn={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},iW={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},oW={parameterPath:"keyInfo",mapper:iS},aW={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},ry={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},sy={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Mt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},ny={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},iy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oy={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Ot={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},tr={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},FT={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},cW={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},lW={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},ue={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ie={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},oe={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},ay={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},UT={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},uW={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},cy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AW={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},dW={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},pW={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mW={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},hW={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},_s={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ly={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},uy={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},Ay={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},dy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Xo={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},py={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},my={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},hy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},fy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},gy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},qT={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},GT={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},fW={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},fr={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},jn={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},uc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},gW={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},EW={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},et={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},tt={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},rt={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ee={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},ye={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},pe={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},yW={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},CW={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},IW={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BW={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},wW={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},Kn={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Xn={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Zn={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},ei={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},ti={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ri={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},HT={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},pn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},bW={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},QW={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Bt={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},xW={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Wi={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}},zT={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},si={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},ni={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},ii={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},oi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},Ey={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Ac={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},mn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},NW={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},ai={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},SW={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},ji={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Ki={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},yy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Xi={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},RW={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},TW={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},PW={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},vW={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kW={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}},DW={parameterPath:["options","queryRequest"],mapper:AS},_W={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},VT={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$T={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},YT={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},JT={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},WT={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},LW={parameterPath:["options","tags"],mapper:kp},Ls={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},ci={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},MW={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},jT={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},KT={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},dc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},pc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},mc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Cy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},XT={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Iy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},By={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},wy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},OW={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Iu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},FW={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Bu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},UW={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},ZT={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},qW={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},GW={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},HW={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},zW={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},VW={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},eP={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},tP={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},by={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Qy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},$W={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},rP={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},YW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},sP={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nP={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},JW={parameterPath:"blocks",mapper:lS},iP={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},WW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var xy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},lQe)}getProperties(e){return this.client.sendOperationRequest({options:e},uQe)}getStatistics(e){return this.client.sendOperationRequest({options:e},AQe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},dQe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},pQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},mQe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},hQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},fQe)}},Zo=cs(us,!0),lQe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:dS},default:{bodyMapper:R,headersMapper:pS}},requestBody:sW,queryParameters:[Dp,Ds,P],urlParameters:[T],headerParameters:[Yn,ks,v,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zo},uQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Pp,headersMapper:mS},default:{bodyMapper:R,headersMapper:hS}},queryParameters:[Dp,Ds,P],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},AQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sS,headersMapper:fS},default:{bodyMapper:R,headersMapper:gS}},queryParameters:[Dp,P,nW],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},dQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:nS,headersMapper:ES},default:{bodyMapper:R,headersMapper:yS}},queryParameters:[P,_p,Lp,Jn,Wn,iW],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},pQe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:oS,headersMapper:CS},default:{bodyMapper:R,headersMapper:IS}},requestBody:oW,queryParameters:[Dp,P,aW],urlParameters:[T],headerParameters:[Yn,ks,v,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zo},mQe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:BS},default:{bodyMapper:R,headersMapper:wS}},queryParameters:[Ds,P,Cu],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},hQe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:bS},default:{bodyMapper:R,headersMapper:QS}},requestBody:ry,queryParameters:[P,sy],urlParameters:[T],headerParameters:[ks,v,k,Mt,ny],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zo},fQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:vp,headersMapper:xS},default:{bodyMapper:R,headersMapper:NS}},queryParameters:[P,Jn,Wn,iy,oy],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo};var Ny=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},gQe)}getProperties(e){return this.client.sendOperationRequest({options:e},EQe)}delete(e){return this.client.sendOperationRequest({options:e},yQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},CQe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},IQe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},BQe)}restore(e){return this.client.sendOperationRequest({options:e},wQe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},bQe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},QQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},xQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},NQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},SQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},RQe)}breakLease(e){return this.client.sendOperationRequest({options:e},TQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},PQe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},vQe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},kQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},DQe)}},Ft=cs(us,!0),gQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:SS},default:{bodyMapper:R,headersMapper:RS}},queryParameters:[P,Ot],urlParameters:[T],headerParameters:[v,k,q,tr,FT,cW,lW],isXML:!0,serializer:Ft},EQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:TS},default:{bodyMapper:R,headersMapper:PS}},queryParameters:[P,Ot],urlParameters:[T],headerParameters:[v,k,q,ue],isXML:!0,serializer:Ft},yQe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:vS},default:{bodyMapper:R,headersMapper:kS}},queryParameters:[P,Ot],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe],isXML:!0,serializer:Ft},CQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:DS},default:{bodyMapper:R,headersMapper:_S}},queryParameters:[P,Ot,ay],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie],isXML:!0,serializer:Ft},IQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:LS},default:{bodyMapper:R,headersMapper:MS}},queryParameters:[P,Ot,UT],urlParameters:[T],headerParameters:[v,k,q,ue],isXML:!0,serializer:Ft},BQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:OS},default:{bodyMapper:R,headersMapper:FS}},requestBody:uW,queryParameters:[P,Ot,UT],urlParameters:[T],headerParameters:[Yn,ks,v,k,FT,ue,ie,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ft},wQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:US},default:{bodyMapper:R,headersMapper:qS}},queryParameters:[P,Ot,cy],urlParameters:[T],headerParameters:[v,k,q,AW,dW],isXML:!0,serializer:Ft},bQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:GS},default:{bodyMapper:R,headersMapper:HS}},queryParameters:[P,Ot,pW],urlParameters:[T],headerParameters:[v,k,q,mW,hW],isXML:!0,serializer:Ft},QQe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:zS},default:{bodyMapper:R,headersMapper:VS}},requestBody:ry,queryParameters:[P,sy,Ot],urlParameters:[T],headerParameters:[ks,v,k,Mt,ny],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ft},xQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:vp,headersMapper:$S},default:{bodyMapper:R,headersMapper:YS}},queryParameters:[P,Jn,Wn,iy,oy,Ot],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft},NQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:JS},default:{bodyMapper:R,headersMapper:WS}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,ly,uy,Ay],isXML:!0,serializer:Ft},SQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:jS},default:{bodyMapper:R,headersMapper:KS}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,dy,Xo],isXML:!0,serializer:Ft},RQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:XS},default:{bodyMapper:R,headersMapper:ZS}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,py],isXML:!0,serializer:Ft},TQe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:eR},default:{bodyMapper:R,headersMapper:tR}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,my,hy],isXML:!0,serializer:Ft},PQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:rR},default:{bodyMapper:R,headersMapper:sR}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,fy,gy],isXML:!0,serializer:Ft},vQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:aS,headersMapper:nR},default:{bodyMapper:R,headersMapper:iR}},queryParameters:[P,_p,Lp,Jn,Wn,Ot,qT,GT],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft},kQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:cS,headersMapper:oR},default:{bodyMapper:R,headersMapper:aR}},queryParameters:[P,_p,Lp,Jn,Wn,Ot,qT,GT,fW],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft},DQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:cR},default:{bodyMapper:R,headersMapper:lR}},queryParameters:[Ds,P,Cu],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft};var Sy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},_Qe)}getProperties(e){return this.client.sendOperationRequest({options:e},LQe)}delete(e){return this.client.sendOperationRequest({options:e},MQe)}undelete(e){return this.client.sendOperationRequest({options:e},OQe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},FQe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},UQe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},qQe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},GQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},HQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},zQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},VQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},$Qe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},YQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},JQe)}breakLease(e){return this.client.sendOperationRequest({options:e},WQe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},jQe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},KQe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},XQe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},ZQe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},exe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},txe)}query(e){return this.client.sendOperationRequest({options:e},rxe)}getTags(e){return this.client.sendOperationRequest({options:e},sxe)}setTags(e){return this.client.sendOperationRequest({options:e},nxe)}},$e=cs(us,!0),_Qe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ZE},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ZE},default:{bodyMapper:R,headersMapper:uR}},queryParameters:[P,fr,jn],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,uc,gW,EW,et,tt,rt,Ee,ye,pe],isXML:!0,serializer:$e},LQe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:AR},default:{bodyMapper:R,headersMapper:dR}},queryParameters:[P,fr,jn],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,et,tt,rt,Ee,ye,pe],isXML:!0,serializer:$e},MQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:pR},default:{bodyMapper:R,headersMapper:mR}},queryParameters:[P,fr,jn,CW],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,pe,yW],isXML:!0,serializer:$e},OQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hR},default:{bodyMapper:R,headersMapper:fR}},queryParameters:[P,cy],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:$e},FQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gR},default:{bodyMapper:R,headersMapper:ER}},queryParameters:[P,IW],urlParameters:[T],headerParameters:[v,k,q,BW,wW],isXML:!0,serializer:$e},UQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yR},default:{bodyMapper:R,headersMapper:CR}},queryParameters:[Ds,P],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri],isXML:!0,serializer:$e},qQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:IR},default:{bodyMapper:R,headersMapper:BR}},queryParameters:[P,fr,jn,HT],urlParameters:[T],headerParameters:[v,k,q,oe,dn,pn],isXML:!0,serializer:$e},GQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:wR},default:{bodyMapper:R,headersMapper:bR}},queryParameters:[P,fr,jn,HT],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:$e},HQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QR},default:{bodyMapper:R,headersMapper:xR}},queryParameters:[P,fr,jn,bW],urlParameters:[T],headerParameters:[v,k,q,QW],isXML:!0,serializer:$e},zQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NR},default:{bodyMapper:R,headersMapper:SR}},queryParameters:[P,ay],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt],isXML:!0,serializer:$e},VQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:RR},default:{bodyMapper:R,headersMapper:TR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,ly,uy,Ay,Ee,ye,pe],isXML:!0,serializer:$e},$Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:PR},default:{bodyMapper:R,headersMapper:vR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,dy,Xo,Ee,ye,pe],isXML:!0,serializer:$e},YQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kR},default:{bodyMapper:R,headersMapper:DR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,py,Ee,ye,pe],isXML:!0,serializer:$e},JQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_R},default:{bodyMapper:R,headersMapper:LR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,fy,gy,Ee,ye,pe],isXML:!0,serializer:$e},WQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:MR},default:{bodyMapper:R,headersMapper:OR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,my,hy,Ee,ye,pe],isXML:!0,serializer:$e},jQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:FR},default:{bodyMapper:R,headersMapper:UR}},queryParameters:[P,xW],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt],isXML:!0,serializer:$e},KQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:qR},default:{bodyMapper:R,headersMapper:GR}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,Ee,ye,pe,dn,pn,Wi,zT,si,ni,ii,oi,Ey,Ac,mn,NW,ai],isXML:!0,serializer:$e},XQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:HR},default:{bodyMapper:R,headersMapper:zR}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,Ee,ye,pe,dn,pn,Bt,Wi,si,ni,ii,oi,Ac,mn,ai,SW,ji,Ki,yy,Xi],isXML:!0,serializer:$e},ZQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:VR},default:{bodyMapper:R,headersMapper:$R}},queryParameters:[P,RW,PW],urlParameters:[T],headerParameters:[v,k,q,ue,TW],isXML:!0,serializer:$e},exe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ey},202:{headersMapper:ey},default:{bodyMapper:R,headersMapper:YR}},queryParameters:[P,fr,jn,vW],urlParameters:[T],headerParameters:[v,k,q,ue,pe,zT,kW],isXML:!0,serializer:$e},txe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:JR},default:{bodyMapper:R,headersMapper:WR}},queryParameters:[Ds,P,Cu],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:$e},rxe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ty},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ty},default:{bodyMapper:R,headersMapper:jR}},requestBody:DW,queryParameters:[P,fr,_W],urlParameters:[T],headerParameters:[Yn,ks,v,k,ue,ie,oe,et,tt,rt,Ee,ye,pe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$e},sxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:kp,headersMapper:KR},default:{bodyMapper:R,headersMapper:XR}},queryParameters:[P,fr,jn,VT],urlParameters:[T],headerParameters:[v,k,q,ue,pe,$T,YT,JT,WT],isXML:!0,serializer:$e},nxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:ZR},default:{bodyMapper:R,headersMapper:eT}},requestBody:LW,queryParameters:[P,jn,VT],urlParameters:[T],headerParameters:[Yn,ks,v,k,ue,pe,$T,YT,JT,WT,Ls,ci],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$e};var Ry=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,s){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:s},ixe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},oxe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},axe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},cxe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},lxe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},uxe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},Axe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},dxe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},pxe)}},Zi=cs(us,!0),ixe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tT},default:{bodyMapper:R,headersMapper:rT}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,Wi,mn,ai,MW,jT,KT],isXML:!0,serializer:Zi},oxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:sT},default:{bodyMapper:R,headersMapper:nT}},requestBody:pc,queryParameters:[P,Cy],urlParameters:[T],headerParameters:[v,k,Mt,ue,ie,oe,uc,et,tt,rt,Ee,ye,pe,Bt,Ls,ci,dc,mc,XT,Iy,By,wy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Zi},axe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:iT},default:{bodyMapper:R,headersMapper:oT}},queryParameters:[P,Cy],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,ie,oe,uc,et,tt,rt,Ee,ye,pe,Bt,Iy,By,wy,OW],isXML:!0,serializer:Zi},cxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aT},default:{bodyMapper:R,headersMapper:cT}},queryParameters:[P,Cy],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,si,ni,ii,oi,ji,Ki,Xi,XT,Iy,By,wy,Iu,FW,Bu,UW],isXML:!0,serializer:Zi},lxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:XE,headersMapper:lT},default:{bodyMapper:R,headersMapper:uT}},queryParameters:[P,Jn,Wn,fr,ZT],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,uc,Ee,ye,pe],isXML:!0,serializer:Zi},uxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:XE,headersMapper:AT},default:{bodyMapper:R,headersMapper:dT}},queryParameters:[P,Jn,Wn,fr,ZT,qW],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,uc,Ee,ye,pe,GW],isXML:!0,serializer:Zi},Axe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:pT},default:{bodyMapper:R,headersMapper:mT}},queryParameters:[Ds,P],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,jT],isXML:!0,serializer:Zi},dxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hT},default:{bodyMapper:R,headersMapper:fT}},queryParameters:[Ds,P],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,pe,KT,HW],isXML:!0,serializer:Zi},pxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:gT},default:{bodyMapper:R,headersMapper:ET}},queryParameters:[P,zW],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Ee,ye,pe,Ac],isXML:!0,serializer:Zi};var Ty=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},mxe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},hxe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},fxe)}seal(e){return this.client.sendOperationRequest({options:e},gxe)}},Py=cs(us,!0),mxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:yT},default:{bodyMapper:R,headersMapper:CT}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,mn,ai,VW],isXML:!0,serializer:Py},hxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IT},default:{bodyMapper:R,headersMapper:BT}},requestBody:pc,queryParameters:[P,eP],urlParameters:[T],headerParameters:[v,k,Mt,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,Ls,ci,dc,mc,tP,by],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Py},fxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wT},default:{bodyMapper:R,headersMapper:bT}},queryParameters:[P,eP],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,si,ni,ii,oi,ji,Ki,Xi,Ls,Iu,Bu,tP,by,Qy],isXML:!0,serializer:Py},gxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QT},default:{bodyMapper:R,headersMapper:xT}},queryParameters:[P,$W],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,by],isXML:!0,serializer:Py};var vy=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},Exe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},yxe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},Cxe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},Ixe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},Bxe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},wxe)}},bu=cs(us,!0),Exe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NT},default:{bodyMapper:R,headersMapper:ST}},requestBody:pc,queryParameters:[P],urlParameters:[T],headerParameters:[v,k,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,Wi,mn,ai,Ls,ci,dc,mc,rP],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:bu},yxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:RT},default:{bodyMapper:R,headersMapper:TT}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,Bt,Wi,si,ni,ii,oi,Ey,Ac,mn,ji,Ki,yy,Xi,Ls,rP,YW],isXML:!0,serializer:bu},Cxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PT},default:{bodyMapper:R,headersMapper:vT}},requestBody:pc,queryParameters:[P,sP,nP],urlParameters:[T],headerParameters:[v,k,Mt,ue,et,tt,rt,Bt,Ls,ci,dc,mc],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:bu},Ixe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:kT},default:{bodyMapper:R,headersMapper:DT}},queryParameters:[P,sP,nP],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,et,tt,rt,Bt,si,ni,ii,oi,ji,Ki,Xi,Iu,Bu,Qy],isXML:!0,serializer:bu},Bxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_T},default:{bodyMapper:R,headersMapper:LT}},requestBody:JW,queryParameters:[P,iP],urlParameters:[T],headerParameters:[Yn,ks,v,k,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,Wi,mn,ai,Ls,ci],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:bu},wxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:uS,headersMapper:MT},default:{bodyMapper:R,headersMapper:OT}},queryParameters:[P,fr,iP,WW],urlParameters:[T],headerParameters:[v,k,q,ue,pe],isXML:!0,serializer:bu};var Mp=class extends gp{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let s={requestContentType:"application/json; charset=utf-8"},n="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${n}`:`${n}`,a={...s,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new xy(this),this.container=new Ny(this),this.blob=new Sy(this),this.pageBlob=new Ry(this),this.appendBlob=new Ty(this),this.blockBlob=new vy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Op=class extends Mp{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let s={...r};return(s.path==="/{containerName}"||s.path==="/{containerName}/{blob}")&&(s.path=""),super.sendOperationRequest(e,s)}};function KW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=Qxe(r),e.pathname=r,e.toString()}o(KW,"escapeURLPath");function bxe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let s of r)s.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=s.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(bxe,"getProxyUriFromDevConnString");function hc(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}o(hc,"getValueInConnString");function fc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=bxe(t),t=$3);let r=hc(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let s="",n="",i=Buffer.from("accountKey","base64"),a="";if(n=hc(t,"AccountName"),i=Buffer.from(hc(t,"AccountKey"),"base64"),!r){s=hc(t,"DefaultEndpointsProtocol");let c=s.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=hc(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${s}://${n}.blob.${a}`}if(n){if(i.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:i,proxyUri:e}}else{let s=hc(t,"SharedAccessSignature"),n=hc(t,"AccountName");if(n||(n=lP(r)),r){if(!s)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return s.startsWith("?")&&(s=s.substring(1)),{kind:"SASConnString",url:r,accountName:n,accountSas:s}}}o(fc,"extractConnectionStringParts");function Qxe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Qxe,"escape");function St(t,e){let r=new URL(t),s=r.pathname;return s=s?s.endsWith("/")?`${s}${e}`:`${s}/${e}`:e,r.pathname=s,r.toString()}o(St,"appendToURLPath");function Qu(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(Qu,"setURLParameter");function oP(t,e){return new URL(t).searchParams.get(e)??void 0}o(oP,"getURLParameter");function XW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(XW,"getURLScheme");function Fp(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}o(Fp,"appendToURLQuery");function be(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(be,"truncatedISO8061Date");function xxe(t){return we?Buffer.from(t).toString("base64"):btoa(t)}o(xxe,"base64encode");function aP(t,e){t.length>42&&(t=t.slice(0,42));let i=t+Nxe(e.toString(),48-t.length,"0");return xxe(i)}o(aP,"generateBlockID");function Nxe(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(Nxe,"padStart");function cP(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(cP,"iEqual");function lP(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:ky(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(lP,"getAccountNameFromUrl");function ky(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&K3.includes(t.port)}o(ky,"isIpEndpointStyle");function ea(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(s)}`)}return e.join("&")}o(ea,"toBlobTagsString");function ZW(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.blobTagSet.push({key:r,value:s})}return e}o(ZW,"toBlobTags");function Dy(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(Dy,"toTags");function uP(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(uP,"toQuerySerialization");function _y(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let s=r.split("_"),n="or-";s[0].startsWith(n)&&(s[0]=s[0].substring(n.length));let i={ruleId:s[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===s[0]);a>-1?e[a].rules.push(i):e.push({policyId:s[0],rules:[i]})}return e}o(_y,"parseObjectReplicationRecord");function xu(t){return t?t.scheme+" "+t.value:void 0}o(xu,"httpAuthorizationToString");function*AP(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let s=0,n=0;for(;s0&&s.length>0&&e.push(`${r}=${s}`))}};function Up(t,e,r){return qp(t,e,r).sasQueryParameters}o(Up,"generateBlobSASQueryParameters");function qp(t,e,r){let s=t.version?t.version:jE,n=e instanceof Ze?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new JE(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?Txe(t,n):s>="2025-07-05"?Dxe(t,i):kxe(t,i);if(s>="2018-11-09")return n!==void 0?Rxe(t,n):s>="2020-02-10"?vxe(t,i):Pxe(t,i);if(s>="2015-04-05"){if(n!==void 0)return Sxe(t,n);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(qp,"generateBlobSASQueryParametersInternal");function Sxe(t,e){if(t=Ec(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let s;t.permissions&&(t.blobName?s=li.parse(t.permissions.toString()).toString():s=ui.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),i=e.computeHMACSHA256(n);return{sasQueryParameters:new fn(t.version,i,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}o(Sxe,"generateBlobSASQueryParameters20150405");function Rxe(t,e){if(t=Ec(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(Rxe,"generateBlobSASQueryParameters20181109");function Txe(t,e){if(t=Ec(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(Txe,"generateBlobSASQueryParameters20201206");function Pxe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(Pxe,"generateBlobSASQueryParametersUDK20181109");function vxe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(vxe,"generateBlobSASQueryParametersUDK20200210");function kxe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(kxe,"generateBlobSASQueryParametersUDK20201206");function Dxe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(Dxe,"generateBlobSASQueryParametersUDK20250705");function gc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(gc,"getCanonicalName");function Ec(t){let e=t.version?t.version:jE;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Ec,"SASSignatureValuesSanityCheckAndAutofill");var Gp=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=Au()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==An||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==An||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-acquireLease",r,async s=>Y(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==An||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==An||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=Y(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==An||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==An||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-releaseLease",e,async r=>Y(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==An||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==An||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==An||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==An||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-breakLease",r,async s=>{let n={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions};return Y(await this._containerOrBlobOperation.breakLease(n))})}};var t4=require("node:stream");var Ly=class extends t4.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,s,n,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=s,this.offset=s,this.end=s+n-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=o(e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()},"sourceDataHandler");sourceAbortedHandler=o(()=>{let e=new os("The operation was aborted.");this.destroy(e)},"sourceAbortedHandler");sourceErrorOrEndHandler=o(e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var My=class{static{o(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return we?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new Ly(this.originalResponse.readableStreamBody,r,s,n,i)}};var a4=require("node:stream");var dP=new Uint8Array([79,98,106,1]),r4="avro.codec",s4="avro.schema";var We=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,s={}){let n=await e.read(r,{abortSignal:s.abortSignal});if(n.length!==r)throw new Error("Hit stream end.");return n}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let s=0,n=0,i,a,c;do i=await t.readByte(e,r),a=i&128,s|=(i&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return s>>1^-(s&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let s=await t.readByte(e,r);if(s===1)return!0;if(s===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let s=await t.readFixedBytes(e,4,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let s=await t.readFixedBytes(e,8,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let s=await t.readLong(e,r);if(s<0)throw new Error("Bytes size was negative.");return e.read(s,{abortSignal:r.abortSignal})}static async readString(e,r={}){let s=await t.readBytes(e,r);return new TextDecoder().decode(s)}static async readMapPair(e,r,s={}){let n=await t.readString(e,s),i=await r(e,s);return{key:n,value:i}}static async readMap(e,r,s={}){let n=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),i=await t.readArray(e,n,s),a={};for(let c of i)a[c.key]=c.value;return a}static async readArray(e,r,s={}){let n=[];for(let i=await t.readLong(e,s);i!==0;i=await t.readLong(e,s))for(i<0&&(await t.readLong(e,s),i=-i);i--;){let a=await r(e,s);n.push(a)}return n}},yc;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(yc||(yc={}));var Ut;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(Ut||(Ut={}));var eo=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Ut.NULL:case Ut.BOOLEAN:case Ut.INT:case Ut.LONG:case Ut.FLOAT:case Ut.DOUBLE:case Ut.BYTES:case Ut.STRING:return new pP(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new hP(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case yc.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let s={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let n of e.fields)s[n.name]=t.fromSchema(n.type);return new gP(s,e.name);case yc.ENUM:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new mP(e.symbols);case yc.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new fP(t.fromSchema(e.values));case yc.ARRAY:case yc.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},pP=class extends eo{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Ut.NULL:return We.readNull();case Ut.BOOLEAN:return We.readBoolean(e,r);case Ut.INT:return We.readInt(e,r);case Ut.LONG:return We.readLong(e,r);case Ut.FLOAT:return We.readFloat(e,r);case Ut.DOUBLE:return We.readDouble(e,r);case Ut.BYTES:return We.readBytes(e,r);case Ut.STRING:return We.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},mP=class extends eo{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await We.readInt(e,r);return this._symbols[s]}},hP=class extends eo{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await We.readInt(e,r);return this._types[s].read(e,r)}},fP=class extends eo{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let s=o((n,i)=>this._itemType.read(n,i),"readItemMethod");return We.readMap(e,s,r)}},gP=class extends eo{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let s={};s.$schema=this._name;for(let n in this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(s[n]=await this._fields[n].read(e,r));return s}};function EP(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r0)for(let i=0;i0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let s=await We.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!EP(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await We.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await We.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var zp=class{static{o(this,"AvroReadable")}};var o4=require("buffer");var i4=new os("Reading from the avro stream was aborted."),Vp=class extends zp{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?o4.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw i4;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let s=this._readable.read(e);return s?(this._position+=s.length,this.toUint8Array(s)):new Promise((n,i)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",u)},"cleanUp"),c=o(()=>{let A=this._readable.read(e);A&&(this._position+=A.length,a(),n(this.toUint8Array(A)))},"readableCallback"),l=o(()=>{a(),i()},"rejectCallback"),u=o(()=>{a(),i(i4)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",u)})}};var Oy=class extends a4.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new Hp(new Vp(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,s=r.$schema;if(typeof s!="string")throw Error("Missing schema in avro record.");switch(s){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let n=r.data;if(!(n instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(n))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let n=r.bytesScanned;if(typeof n!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:n})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let n=r.totalBytes;if(typeof n!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:n})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let n=r.fatal;if(typeof n!="boolean")throw Error("Invalid fatal in avro error record.");let i=r.name;if(typeof i!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:i,isFatal:n,description:a})}break;default:throw Error(`Unknown schema ${s} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Fy=class{static{o(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return we?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Oy(this.originalResponse.readableStreamBody,r)}};var yP;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(yP||(yP={}));var CP;(function(t){t.P4="P4",t.P6="P6",t.P10="P10",t.P15="P15",t.P20="P20",t.P30="P30",t.P40="P40",t.P50="P50",t.P60="P60",t.P70="P70",t.P80="P80"})(CP||(CP={}));function ta(t){if(t!==void 0)return t}o(ta,"toAccessTier");function Rt(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=V3)}o(Rt,"ensureCpkIfSpecified");var IP;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(IP||(IP={}));function Uy(t){let e=(t._response.parsedBody.pageRange||[]).map(s=>({offset:s.start,count:s.end-s.start})),r=(t._response.parsedBody.clearRange||[]).map(s=>({offset:s.start,count:s.end-s.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(Uy,"rangeResponseFromModel");var $4=b(V4(),1);var jy=class extends $4.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:s,intervalInMs:n=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=Wp({...l,blobClient:r,copySource:s,startCopyFromURLOptions:c});super(u),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return ap(this.intervalInMs)}},P0e=o(async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?Wp(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,Wp(r)):(r.isCancelled=!0,Wp(r))},"cancel"),v0e=o(async function(e={}){let r=this.state,{blobClient:s,copySource:n,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,u=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==u&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await s.startCopyFromURL(n,i);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Wp(r)},"update"),k0e=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Wp(t){return{state:{...t},cancel:P0e,toString:k0e,update:v0e}}o(Wp,"makeBlobBeginCopyFromURLPollOperation");function Mr(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(Mr,"rangeToString");var Y4=require("events");var jp;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(jp||(jp={}));var Kp=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=jp.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Y4.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",s=>{this.state=jp.Error,r(s)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{let u=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=a){clearTimeout(u),c();return}let A=t.read();if(!A)return;typeof A=="string"&&(A=Buffer.from(A,n));let d=i+A.length>a?a-i:A.length;e.fill(A.slice(0,d),r+i,r+i+d),i+=d}),t.on("end",()=>{clearTimeout(u),i{clearTimeout(u),l(A)})})}o(W4,"streamToBuffer");async function j4(t,e){return new Promise((r,s)=>{let n=Ky.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}o(j4,"readStreamToLocalFile");var K4=J4.default.promisify(Ky.default.stat),X4=Ky.default.createReadStream;var to=class t extends Nu{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,s,n){n=n||{};let i,a;if(Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=oP(this.url,Yi.Parameters.SNAPSHOT),this._versionId=oP(this.url,Yi.Parameters.VERSIONID)}withSnapshot(e){return new t(Qu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Qu(this.url,Yi.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Zy(this.url,this.pipeline)}getBlockBlobClient(){return new Tu(this.url,this.pipeline)}getPageBlobClient(){return new eC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},Rt(s.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-download",s,async n=>{let i=Y(await this.blobContext.download({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onDownloadProgress:we?void 0:s.onProgress},range:e===0&&!r?void 0:Mr({offset:e,count:r}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey,tracingOptions:n.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:_y(i.objectReplicationRules)};if(!we)return a;if((s.maxRetryRequests===void 0||s.maxRetryRequests<0)&&(s.maxRetryRequests=5),i.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!i.etag)throw new RangeError("File download response doesn't contain valid etag header");return new My(a,async c=>{let l={leaseAccessConditions:s.conditions,modifiedAccessConditions:{ifMatch:s.conditions.ifMatch||i.etag,ifModifiedSince:s.conditions.ifModifiedSince,ifNoneMatch:s.conditions.ifNoneMatch,ifUnmodifiedSince:s.conditions.ifUnmodifiedSince,ifTags:s.conditions?.tagConditions},range:Mr({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey};return(await this.blobContext.download({abortSignal:s.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:s.maxRetryRequests,onProgress:s.onProgress})})}async exists(e={}){return H.withSpan("BlobClient-exists",e,async r=>{try{return Rt(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(s){if(s.statusCode===404)return!1;if(s.statusCode===409&&(s.details.errorCode===W3||s.details.errorCode===j3))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},Rt(e.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-getProperties",e,async r=>{let s=Y(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:_y(s.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},H.withSpan("BlobClient-delete",e,async r=>Y(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return H.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let s=Y(await this.delete(r));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobNotFound")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async undelete(e={}){return H.withSpan("BlobClient-undelete",e,async r=>Y(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-setHTTPHeaders",r,async s=>Y(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-setMetadata",r,async s=>Y(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async setTags(e,r={}){return H.withSpan("BlobClient-setTags",r,async s=>Y(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:s.tracingOptions,tags:ZW(e)})))}async getTags(e={}){return H.withSpan("BlobClient-getTags",e,async r=>{let s=Y(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,tags:Dy({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Gp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Rt(e.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-createSnapshot",e,async r=>Y(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let s={abortCopyFromURL:o((...i)=>this.abortCopyFromURL(...i),"abortCopyFromURL"),getProperties:o((...i)=>this.getProperties(...i),"getProperties"),startCopyFromURL:o((...i)=>this.startCopyFromURL(...i),"startCopyFromURL")},n=new jy({blobClient:s,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await n.poll(),n}async abortCopyFromURL(e,r={}){return H.withSpan("BlobClient-abortCopyFromURL",r,async s=>Y(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:s.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},H.withSpan("BlobClient-syncCopyFromURL",r,async s=>Y(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:xu(r.sourceAuthorization),tier:ta(r.tier),blobTagsString:ea(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async setAccessTier(e,r={}){return H.withSpan("BlobClient-setAccessTier",r,async s=>Y(await this.blobContext.setTier(ta(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:s.tracingOptions})))}async downloadToBuffer(e,r,s,n={}){let i,a=0,c=0,l=n;e instanceof Buffer?(i=e,a=r||0,c=typeof s=="number"?s:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=s||{});let u=l.blockSize??0;if(u<0)throw new RangeError("blockSize option must be >= 0");if(u===0&&(u=4194304),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),H.withSpan("BlobClient-downloadToBuffer",l,async A=>{if(!c){let m=await this.getProperties({...l,tracingOptions:A.tracingOptions});if(c=m.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${m.contentLength}`)}if(!i)try{i=Buffer.alloc(c)}catch(m){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${m.message}`)}if(i.length{let h=a+c;m+u{let a=await this.download(r,s,{...n,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await j4(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let s=new URL(this.url);if(s.host.split(".")[1]==="blob"){let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}else if(ky(s)){let n=s.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2],r=n[4]}else{let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return H.withSpan("BlobClient-startCopyFromURL",r,async s=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Y(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:ta(r.tier),blobTagsString:ea(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Ze))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Up({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Fp(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof Ze))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return qp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(s=>{let n=Up({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(Fp(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return qp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return H.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Y(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return H.withSpan("BlobClient-setImmutabilityPolicy",r,async s=>Y(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:s.tracingOptions})))}async setLegalHold(e,r={}){return H.withSpan("BlobClient-setLegalHold",r,async s=>Y(await this.blobContext.setLegalHold(e,{tracingOptions:s.tracingOptions})))}async getAccountInfo(e={}){return H.withSpan("BlobClient-getAccountInfo",e,async r=>Y(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},Zy=class t extends to{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(Qu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Rt(e.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-create",e,async r=>Y(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:ea(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:eS};return H.withSpan("AppendBlobClient-createIfNotExists",e,async s=>{try{let n=Y(await this.create({...s,conditions:r}));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async seal(e={}){return e.conditions=e.conditions||{},H.withSpan("AppendBlobClient-seal",e,async r=>Y(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,s={}){return s.conditions=s.conditions||{},Rt(s.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-appendBlock",s,async n=>Y(await this.appendBlobContext.appendBlock(r,e,{abortSignal:s.abortSignal,appendPositionAccessConditions:s.conditions,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async appendBlockFromURL(e,r,s,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},Rt(n.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>Y(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:Mr({offset:r,count:s}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:xu(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Tu=class t extends to{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(Qu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Rt(r.customerProvidedKey,this.isHttps),!we)throw new Error("This operation currently is only supported in Node.js.");return H.withSpan("BlockBlobClient-query",r,async s=>{let n=Y(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:uP(r.inputTextConfiguration),outputSerialization:uP(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new Fy(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},Rt(s.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-upload",s,async n=>Y(await this.blockBlobContext.upload(r,e,{abortSignal:s.abortSignal,blobHttpHeaders:s.blobHTTPHeaders,leaseAccessConditions:s.conditions,metadata:s.metadata,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,immutabilityPolicyExpiry:s.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:s.immutabilityPolicy?.policyMode,legalHold:s.legalHold,tier:ta(s.tier),blobTagsString:ea(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-syncUploadFromURL",r,async s=>Y(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:xu(r.sourceAuthorization),tier:ta(r.tier),blobTagsString:ea(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return Rt(n.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-stageBlock",n,async i=>Y(await this.blockBlobContext.stageBlock(e,s,r,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,s=0,n,i={}){return Rt(i.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>Y(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:s===0&&!n?void 0:Mr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:xu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-commitBlockList",r,async s=>Y(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:ta(r.tier),blobTagsString:ea(r.tags),tracingOptions:s.tracingOptions})))}async getBlockList(e,r={}){return H.withSpan("BlockBlobClient-getBlockList",r,async s=>{let n=Y(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return n.committedBlocks||(n.committedBlocks=[]),n.uncommittedBlocks||(n.uncommittedBlocks=[]),n})}async uploadData(e,r={}){return H.withSpan("BlockBlobClient-uploadData",r,async s=>{if(we){let n;return e instanceof Buffer?n=e:e instanceof ArrayBuffer?n=Buffer.from(e):(e=e,n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.byteLength,s)}else{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)}})}async uploadBrowserData(e,r={}){return H.withSpan("BlockBlobClient-uploadBrowserData",r,async s=>{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)})}async uploadSeekableInternal(e,r,s={}){let n=s.blockSize??0;if(n<0||n>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=s.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(n===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(n=Math.ceil(r/5e4),n<4194304&&(n=4194304))}return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),H.withSpan("BlockBlobClient-uploadSeekableInternal",s,async a=>{if(r<=i)return Y(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/n)+1;if(c>5e4)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${5e4}`);let l=[],u=Au(),A=0,d=new Kp(s.concurrency);for(let p=0;p{let m=aP(u,p),h=n*p,C=(p===c-1?r:h+n)-h;l.push(m),await this.stageBlock(m,e(h,C),C,{abortSignal:s.abortSignal,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:a.tracingOptions}),A+=C,s.onProgress&&s.onProgress({loadedBytes:A})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return H.withSpan("BlockBlobClient-uploadFile",r,async s=>{let n=(await K4(e)).size;return this.uploadSeekableInternal((i,a)=>()=>X4(e,{autoClose:!0,end:a?i+a-1:1/0,start:i}),n,{...r,tracingOptions:s.tracingOptions})})}async uploadStream(e,r=8388608,s=5,n={}){return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),H.withSpan("BlockBlobClient-uploadStream",n,async i=>{let a=0,c=Au(),l=0,u=[];return await new GE(e,r,s,async(d,p)=>{let m=aP(c,a);u.push(m),a++,await this.stageBlock(m,d,p,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}),l+=p,n.onProgress&&n.onProgress({loadedBytes:l})},Math.ceil(s/4*3)).do(),Y(await this.commitBlockList(u,{...n,tracingOptions:i.tracingOptions}))})}},eC=class t extends to{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(Qu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-create",r,async s=>Y(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:ta(r.tier),blobTagsString:ea(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return H.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:eS},i=Y(await this.create(e,{...r,conditions:n,tracingOptions:s.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async uploadPages(e,r,s,n={}){return n.conditions=n.conditions||{},Rt(n.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-uploadPages",n,async i=>Y(await this.pageBlobContext.uploadPages(s,e,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:Mr({offset:r,count:s}),sequenceNumberAccessConditions:n.conditions,transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,s,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Rt(i.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>Y(await this.pageBlobContext.uploadPagesFromURL(e,Mr({offset:r,count:n}),0,Mr({offset:s,count:n}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:xu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,s={}){return s.conditions=s.conditions||{},H.withSpan("PageBlobClient-clearPages",s,async n=>Y(await this.pageBlobContext.clearPages(0,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Mr({offset:e,count:r}),sequenceNumberAccessConditions:s.conditions,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async getPageRanges(e=0,r,s={}){return s.conditions=s.conditions||{},H.withSpan("PageBlobClient-getPageRanges",s,async n=>{let i=Y(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Mr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return Uy(i)})}async listPageRangesSegment(e=0,r,s,n={}){return H.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>Y(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Mr({offset:e,count:r}),marker:s,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,s,n={}){let i;if(s||s===void 0)do i=await this.listPageRangesSegment(e,r,s,n),s=i.continuationToken,yield await i;while(s)}async*listPageRangeItems(e=0,r,s={}){let n;for await(let i of this.listPageRangeItemSegments(e,r,n,s))yield*AP(i)}listPageRanges(e=0,r,s={}){s.conditions=s.conditions||{};let n=this.listPageRangeItems(e,r,s);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:o((i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...s}),"byPage")}}async getPageRangesDiff(e,r,s,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:s,range:Mr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Uy(a)})}async listPageRangesDiffSegment(e,r,s,n,i={}){return H.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:s,range:Mr({offset:e,count:r}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,s,n,i){let a;if(n||n===void 0)do a=await this.listPageRangesDiffSegment(e,r,s,n,i),n=a.continuationToken,yield await a;while(n)}async*listPageRangeDiffItems(e,r,s,n){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,s,i,n))yield*AP(a)}listPageRangesDiff(e,r,s,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeDiffItems(e,r,s,{...n});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,s,a.continuationToken,{maxPageSize:a.maxPageSize,...n}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,s,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:s,range:Mr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Uy(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},H.withSpan("PageBlobClient-resize",r,async s=>Y(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async updateSequenceNumber(e,r,s={}){return s.conditions=s.conditions||{},H.withSpan("PageBlobClient-updateSequenceNumber",s,async n=>Y(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:s.abortSignal,blobSequenceNumber:r,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async startCopyIncremental(e,r={}){return H.withSpan("PageBlobClient-startCopyIncremental",r,async s=>Y(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}};var Z4;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(Z4||(Z4={}));var e8;(function(t){t.AES256="AES256"})(e8||(e8={}));var tC=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var Pu=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e} -If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};Pu.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Bc=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. -More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Bc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Xp=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var z0e=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},VP=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);re(`Sent ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function t8(t,e,r){return z0e(this,void 0,void 0,function*(){var s;let n=new to(t),i=n.getBlockBlobClient(),a=new VP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),w(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new tC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw It(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(t8,"uploadCacheArchiveSDK");var s8=b(require("buffer"),1),Ai=b(require("fs"),1),n8=b(require("stream"),1),i8=b(require("util"),1);var rC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function sC(t){return t?t>=200&&t<300:!1}o(sC,"isSuccessStatusCode");function V0e(t){return t?t>=500:!0}o(V0e,"isServerErrorStatusCode");function $0e(t){return t?[Xe.BadGateway,Xe.ServiceUnavailable,Xe.GatewayTimeout].includes(t):!1}o($0e,"isRetryableStatusCode");function Y0e(t){return rC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Y0e,"sleep");function r8(t,e,r){return rC(this,arguments,void 0,function*(s,n,i,a=xg,c=Ng,l=void 0){let u="",A=1;for(;A<=a;){let d,p,m=!1;try{d=yield n()}catch(h){l&&(d=l(h)),m=!0,u=h.message}if(d&&(p=i(d),!V0e(p)))return d;if(p&&(m=$0e(p),u=`Cache service responded with ${p}`),w(`${s} - Attempt ${A} of ${a} failed with error: ${u}`),!m){w(`${s} - Error is not retryable`);break}yield Y0e(c),A++}throw Error(`${s} failed: ${u}`)})}o(r8,"retry");function Zp(t,e){return rC(this,arguments,void 0,function*(r,s,n=xg,i=Ng){return yield r8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Mn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Zp,"retryTypedResponse");function vu(t,e){return rC(this,arguments,void 0,function*(r,s,n=xg,i=Ng){return yield r8(r,s,a=>a.message.statusCode,n,i)})}o(vu,"retryHttpClientResponse");var Ms=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function J0e(t,e){return Ms(this,void 0,void 0,function*(){yield i8.promisify(n8.pipeline)(t.message,e)})}o(J0e,"pipeResponseToStream");var nC=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,w(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);re(`Received ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function iC(t,e){return Ms(this,void 0,void 0,function*(){let r=Ai.createWriteStream(e),s=new Gi("actions/cache"),n=yield vu("downloadCache",()=>Ms(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(h0,()=>{n.message.destroy(),w(`Aborting download, socket timed out after ${h0} ms`)}),yield J0e(n,r);let i=n.message.headers["content-length"];if(i){let a=parseInt(i),c=Ln(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else w("Unable to validate download, no Content-Length header")})}o(iC,"downloadCacheHttpClient");function o8(t,e,r){return Ms(this,void 0,void 0,function*(){var s;let n=yield Ai.promises.open(e,"w"),i=new Gi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield vu("downloadCacheMetadata",()=>Ms(this,void 0,void 0,function*(){return yield i.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let u=[],A=4*1024*1024;for(let y=0;yMs(this,void 0,void 0,function*(){return yield W0e(i,t,y,I)}),"promiseGetter")})}u.reverse();let d=0,p=0,m=new nC(l);m.startDisplayTimer();let h=m.onProgress(),f=[],C,E=o(()=>Ms(this,void 0,void 0,function*(){let y=yield Promise.race(Object.values(f));yield n.write(y.buffer,0,y.count,y.offset),d--,delete f[y.offset],p+=y.count,h({loadedBytes:p})}),"waitAndWrite");for(;C=u.pop();)f[C.offset]=C.promiseGetter(),d++,d>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)&&(yield E());for(;d>0;)yield E()}finally{i.dispose(),yield n.close()}})}o(o8,"downloadCacheHttpClientConcurrent");function W0e(t,e,r,s){return Ms(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield c8(3e4,j0e(t,e,r,s));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(i>=5)throw a;i++}})}o(W0e,"downloadSegmentRetry");function j0e(t,e,r,s){return Ms(this,void 0,void 0,function*(){let n=yield vu("downloadCachePart",()=>Ms(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+s-1}`})}));if(!n.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:s,buffer:yield n.readBodyBuffer()}})}o(j0e,"downloadSegment");function a8(t,e,r){return Ms(this,void 0,void 0,function*(){var s;let n=new Tu(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(s=(yield n.getProperties()).contentLength)!==null&&s!==void 0?s:-1;if(a<0)w("Unable to determine content length, downloading file with http-client..."),yield iC(t,e);else{let c=Math.min(134217728,s8.constants.MAX_LENGTH),l=new nC(a),u=Ai.openSync(e,"w");try{l.startDisplayTimer();let A=new AbortController,d=A.signal;for(;!l.isDone();){let p=l.segmentOffset+l.segmentSize,m=Math.min(c,a-p);l.nextSegment(m);let h=yield c8(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(p,m,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw A.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&Ai.writeFileSync(u,h)}}finally{l.stopDisplayTimer(),Ai.closeSync(u)}}})}o(a8,"downloadCacheStorageSDK");var c8=o((t,e)=>Ms(void 0,void 0,void 0,function*(){let r,s=new Promise(n=>{r=setTimeout(()=>n("timeout"),t)});return Promise.race([e,s]).then(n=>(clearTimeout(r),n))}),"promiseWithTimeout");function $P(t){let e={useAzureSdk:!1,uploadConcurrency:4,uploadChunkSize:33554432};return t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.uploadConcurrency=="number"&&(e.uploadConcurrency=t.uploadConcurrency),typeof t.uploadChunkSize=="number"&&(e.uploadChunkSize=t.uploadChunkSize)),e.uploadConcurrency=isNaN(Number(process.env.CACHE_UPLOAD_CONCURRENCY))?e.uploadConcurrency:Math.min(32,Number(process.env.CACHE_UPLOAD_CONCURRENCY)),e.uploadChunkSize=isNaN(Number(process.env.CACHE_UPLOAD_CHUNK_SIZE))?e.uploadChunkSize:Math.min(128*1024*1024,Number(process.env.CACHE_UPLOAD_CHUNK_SIZE)*1024*1024),w(`Use Azure SDK: ${e.useAzureSdk}`),w(`Upload concurrency: ${e.uploadConcurrency}`),w(`Upload chunk size: ${e.uploadChunkSize}`),e}o($P,"getUploadOptions");function l8(t){let e={useAzureSdk:!1,concurrentBlobDownloads:!0,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:!1};t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.concurrentBlobDownloads=="boolean"&&(e.concurrentBlobDownloads=t.concurrentBlobDownloads),typeof t.downloadConcurrency=="number"&&(e.downloadConcurrency=t.downloadConcurrency),typeof t.timeoutInMs=="number"&&(e.timeoutInMs=t.timeoutInMs),typeof t.segmentTimeoutInMs=="number"&&(e.segmentTimeoutInMs=t.segmentTimeoutInMs),typeof t.lookupOnly=="boolean"&&(e.lookupOnly=t.lookupOnly));let r=process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS;return r&&!isNaN(Number(r))&&isFinite(Number(r))&&(e.segmentTimeoutInMs=Number(r)*60*1e3),w(`Use Azure SDK: ${e.useAzureSdk}`),w(`Download concurrency: ${e.downloadConcurrency}`),w(`Request timeout (ms): ${e.timeoutInMs}`),w(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),w(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),w(`Lookup only: ${e.lookupOnly}`),e}o(l8,"getDownloadOptions");function YP(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",s=e.endsWith(".GHE.COM"),n=e.endsWith(".LOCALHOST");return!r&&!s&&!n}o(YP,"isGhes");function em(){return YP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(em,"getCacheServiceVersion");var u8=["none","read","write","write-only"];function JP(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(JP,"getCacheMode");function A8(t){return u8.includes(t)?t==="read"||t==="write":!0}o(A8,"isCacheReadable");function d8(t){return u8.includes(t)?t==="write"||t==="write-only":!0}o(d8,"isCacheWritable");function oC(){let t=em();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(oC,"getCacheServiceURL");var f8=b(h8(),1);function aC(){return`@actions/cache-${f8.version}`}o(aC,"getUserAgentString");var Or=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function tm(t){let e=oC();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return w(`Resource Url: ${r}`),r}o(tm,"getCacheApiUrl");function Z0e(t,e){return`${t};api-version=${e}`}o(Z0e,"createAcceptHeader");function eNe(){return{headers:{Accept:Z0e("application/json","6.0-preview.1")}}}o(eNe,"getRequestOptions");function WP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new su(t);return new Gi(aC(),[e],eNe())}o(WP,"createHttpClient");function y8(t,e,r){return Or(this,void 0,void 0,function*(){var s;let n=WP(),i=ru(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield Zp("getCacheEntry",()=>Or(this,void 0,void 0,function*(){return n.getJson(tm(a))}));if(c.statusCode===204)return za()&&(yield tNe(t[0],n,i)),null;if(!sC(c.statusCode)){let A=(s=c.error)===null||s===void 0?void 0:s.message;throw A?.includes(Sg)?new Error(A):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,u=l?.archiveLocation;if(!u)throw new Error("Cache not found.");return ql(u),w("Cache Result:"),w(JSON.stringify(l)),l})}o(y8,"getCacheEntry");function tNe(t,e,r){return Or(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield Zp("listCache",()=>Or(this,void 0,void 0,function*(){return e.getJson(tm(s))}));if(n.statusCode===200){let i=n.result,a=i?.totalCount;if(a&&a>0){w(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key -Other caches with similar key:`);for(let c of i?.artifactCaches||[])w(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(tNe,"printCachesListForDiagnostics");function jP(t,e,r){return Or(this,void 0,void 0,function*(){let s=new E8.URL(t),n=l8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield a8(t,e,n):n.concurrentBlobDownloads?yield o8(t,e,n):yield iC(t,e):yield iC(t,e)})}o(jP,"downloadCache");function C8(t,e,r){return Or(this,void 0,void 0,function*(){let s=WP(),n=ru(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield Zp("reserveCache",()=>Or(this,void 0,void 0,function*(){return s.postJson(tm("caches"),i)}))})}o(C8,"reserveCache");function g8(t,e){return`bytes ${t}-${e}/*`}o(g8,"getContentRange");function rNe(t,e,r,s,n){return Or(this,void 0,void 0,function*(){w(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${g8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":g8(s,n)},a=yield vu(`uploadChunk (start: ${s}, end: ${n})`,()=>Or(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!sC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(rNe,"uploadChunk");function sNe(t,e,r,s){return Or(this,void 0,void 0,function*(){let n=Ln(r),i=tm(`caches/${e.toString()}`),a=ku.openSync(r,"r"),c=$P(s),l=y0("uploadConcurrency",c.uploadConcurrency),u=y0("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];w("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>Or(this,void 0,void 0,function*(){for(;dku.createReadStream(r,{fd:a,start:m,end:h,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),m,h)}})))}finally{ku.closeSync(a)}})}o(sNe,"uploadFile");function nNe(t,e,r){return Or(this,void 0,void 0,function*(){let s={size:r};return yield Zp("commitCache",()=>Or(this,void 0,void 0,function*(){return t.postJson(tm(`caches/${e.toString()}`),s)}))})}o(nNe,"commitCache");function KP(t,e,r,s){return Or(this,void 0,void 0,function*(){if($P(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield t8(r,e,s)}else{let i=WP();w("Upload cache"),yield sNe(i,t,e,s),w("Commiting cache");let a=Ln(e);re(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield nNe(i,t,a);if(!sC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);re("Cache saved successfully")}})}o(KP,"saveCache");var m5=b(a5(),1),mt=b(pt(),1),ds=b(pt(),1),Nc=b(pt(),1),Sc=b(pt(),1),Rc=b(pt(),1);var Vv=b(pt(),1),$v=b(pt(),1),A5=b(pt(),1),d5=b(pt(),1),p5=b(pt(),1);var Gv=b(pt(),1),Hv=b(pt(),1),c5=b(pt(),1),l5=b(pt(),1),u5=b(pt(),1);var zv=class extends u5.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,l5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,c5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos$C,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,d5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,A5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posfi,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,Sc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posfi,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,Sc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posfi,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,Sc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.postk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=rk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>sk.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=nk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>ik.fromJson(n,{ignoreUnknownFields:!0}))}};function h5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(ql(r),ql(encodeURIComponent(r)))}catch(e){w(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(h5,"maskSigUrl");function f5(t){if(typeof t!="object"||t===null){w("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&h5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&h5(t.signed_download_url)}o(f5,"maskSecretUrls");var JC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ok=class{static{o(this,"CacheServiceClient")}constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=U$();this.baseUrl=oC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new Gi(e,[new su(i)])}request(e,r,s,n){return JC(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;w(`[Request] ${r} ${i}`);let a={"Content-Type":s};try{let{body:c}=yield this.retryableRequest(()=>JC(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(n),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return JC(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&It(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new Xp(`Rate limited: ${s}`)}}catch(c){if(c instanceof SyntaxError&&w(`Raw Body: ${n}`),c instanceof Bc||c instanceof Xp)throw c;if(Pu.isNetworkErrorCode(c?.code))throw new Pu(c?.code);i=!0,s=c.message}if(!i)throw new Error(`Received non-retryable error: ${s}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${s}`);let a=this.getExponentialRetryTimeMilliseconds(r);re(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${s}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Xe.BadGateway,Xe.GatewayTimeout,Xe.InternalServerError,Xe.ServiceUnavailable].includes(e):!1}sleep(e){return JC(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),s=r*this.retryMultiplier;return Math.trunc(Math.random()*(s-r)+r)}};function ak(t){let e=new ok(aC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new YC(e)}o(ak,"internalCacheTwirpClient");var WC=require("fs"),qr=b(require("path"),1);var gi=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ia=process.platform==="win32";function mRe(){return gi(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield F$(),e=_$;if(t)return{path:t,type:ts.GNU};if((0,WC.existsSync)(e))return{path:e,type:ts.BSD};break}case"darwin":{let t=yield Nr("gtar",!1);return t?{path:t,type:ts.GNU}:{path:yield Nr("tar",!0),type:ts.BSD}}default:break}return{path:yield Nr("tar",!0),type:ts.GNU}})}o(mRe,"getTarPath");function hRe(t,e,r){return gi(this,arguments,void 0,function*(s,n,i,a=""){let c=[`"${s.path}"`],l=Go(n),u="cache.tar",A=E5(),d=s.type===ts.BSD&&n!==dr.Gzip&&ia;switch(i){case"create":c.push("--posix","-cf",d?u:l.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"--exclude",d?u:l.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"--files-from",g0);break;case"extract":c.push("-xf",d?u:a.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"-P","-C",d?ck(A):A.replace(new RegExp(`\\${qr.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?u:a.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"-P");break}if(s.type===ts.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(hRe,"getTarArgs");function g5(t,e){return gi(this,arguments,void 0,function*(r,s,n=""){let i,a=yield mRe(),c=yield hRe(a,r,s,n),l=s!=="create"?yield fRe(a,r,n):yield gRe(a,r),u=a.type===ts.BSD&&r!==dr.Gzip&&ia;return u&&s!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],{commands:u?i:[i.join(" ")],requiresTempDirectory:u&&s!=="create"}})}o(g5,"getCommands");function E5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(E5,"getWorkingDirectory");function ck(t){return`"${qr.resolve(t).replace(new RegExp(`\\${qr.sep}`,"g"),"/")}"`}o(ck,"quoteAbsolutePath");function fRe(t,e,r){return gi(this,void 0,void 0,function*(){let s=t.type===ts.BSD&&e!==dr.Gzip&&ia;switch(e){case dr.Zstd:return s?["zstd -d --long=30 --force -o",Kd,ck(r)]:["--use-compress-program",ia?'"zstd -d --long=30"':"unzstd --long=30"];case dr.ZstdWithoutLong:return s?["zstd -d --force -o",Kd,ck(r)]:["--use-compress-program",ia?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(fRe,"getDecompressionProgram");function gRe(t,e){return gi(this,void 0,void 0,function*(){let r=Go(e),s=t.type===ts.BSD&&e!==dr.Gzip&&ia;switch(e){case dr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),Kd]:["--use-compress-program",ia?'"zstd -T0 --long=30"':"zstdmt --long=30"];case dr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),Kd]:["--use-compress-program",ia?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(gRe,"getCompressionProgram");function y5(t,e){return gi(this,void 0,void 0,function*(){for(let r of t)try{yield ko(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(s){throw new Error(`${r.split(" ")[0]} failed with error: ${s?.message}`)}})}o(y5,"execCommands");function C5(t,e,r){return gi(this,void 0,void 0,function*(){let{commands:s,requiresTempDirectory:n}=yield g5(e,r,t),i=n?yield ja():void 0;try{yield y5(s,i)}finally{if(i)try{yield bd(i)}catch(a){w(`Failed to delete temporary tar directory: ${a}`)}}})}o(C5,"execReadCommands");function fm(t,e){return gi(this,void 0,void 0,function*(){yield C5(t,e,"list")})}o(fm,"listTar");function lk(t,e){return gi(this,void 0,void 0,function*(){let r=E5();yield Ga(r),yield C5(t,e,"extract")})}o(lk,"extractTar");function uk(t,e,r){return gi(this,void 0,void 0,function*(){(0,WC.writeFileSync)(qr.join(t,g0),e.join(` -`));let{commands:s}=yield g5(r,"create");yield y5(s,t)})}o(uk,"createTar");var Wu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},yn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Tc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},Ak="cache write denied:",jC=class t extends Tc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},I5=Sg,KC=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},XC=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function B5(t){if(!t||t.length===0)throw new yn("Path Validation Error: At least one directory or file path is required")}o(B5,"checkPaths");function dk(t){if(t.length>512)throw new yn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new yn(`Key Validation Error: ${t} cannot contain commas.`)}o(dk,"checkKey");function pk(){return em()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(pk,"isFeatureAvailable");function w5(t,e,r,s){return Wu(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=em();w(`Cache service version: ${u}`),B5(n);let A=JP();if(!A8(A)){re(`Cache restore skipped: the effective cache-mode '${A}' does not permit reads.`),w(`Skipped restore for paths [${n.join(", ")}] with primary key '${i}'.`);return}return u==="v2"?yield yRe(n,i,a,c,l):yield ERe(n,i,a,c,l)})}o(w5,"restoreCache");function ERe(t,e,r,s){return Wu(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;a=a||[];let A=[i,...a];if(w("Resolved Keys:"),w(JSON.stringify(A)),A.length>10)throw new yn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)dk(m);let d=yield Zd(),p="";try{let m;try{m=yield y8(A,n,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(u=f?.message)!==null&&u!==void 0?u:"";throw C.includes(I5)?new KC(C):f}if(!m?.archiveLocation)return;if(c?.lookupOnly)return re("Lookup only - skipping download"),m.cacheKey;p=gm.join(yield ja(),Go(d)),w(`Archive Path: ${p}`),yield jP(m.archiveLocation,p,c),za()&&(yield fm(p,d));let h=Ln(p);return re(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield lk(p,d),re("Cache restored successfully"),m.cacheKey}catch(m){let h=m;if(h.name===yn.name)throw m;h instanceof Mn&&typeof h.statusCode=="number"&&h.statusCode>=500?$l(`Failed to restore: ${m.message}`):It(`Failed to restore: ${m.message}`)}finally{try{yield Xd(p)}catch(m){w(`Failed to delete archive: ${m}`)}}})}o(ERe,"restoreCacheV1");function yRe(t,e,r,s){return Wu(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(w("Resolved Keys:"),w(JSON.stringify(A)),A.length>10)throw new yn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of A)dk(p);let d="";try{let p=ak(),m=yield Zd(),h={key:i,restoreKeys:a,version:ru(n,m,l)},f;try{f=yield p.GetCacheEntryDownloadURL(h)}catch(y){let I=(u=y?.message)!==null&&u!==void 0?u:"";throw I.includes(I5)?new KC(I):y}if(!f.ok){w(`Cache not found for version ${h.version} of keys: ${A.join(", ")}`);return}if(h.key!==f.matchedKey?re(`Cache hit for restore-key: ${f.matchedKey}`):re(`Cache hit for: ${f.matchedKey}`),c?.lookupOnly)return re("Lookup only - skipping download"),f.matchedKey;d=gm.join(yield ja(),Go(m)),w(`Archive path: ${d}`),w(`Starting download of archive to: ${d}`),yield jP(f.signedDownloadUrl,d,c);let E=Ln(d);return re(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),za()&&(yield fm(d,m)),yield lk(d,m),re("Cache restored successfully"),f.matchedKey}catch(p){let m=p;if(m.name===yn.name)throw p;m instanceof Mn&&typeof m.statusCode=="number"&&m.statusCode>=500?$l(`Failed to restore: ${p.message}`):It(`Failed to restore: ${p.message}`)}finally{try{d&&(yield Xd(d))}catch(p){w(`Failed to delete archive: ${p}`)}}})}o(yRe,"restoreCacheV2");function mk(t,e,r){return Wu(this,arguments,void 0,function*(s,n,i,a=!1){let c=em();w(`Cache service version: ${c}`),B5(s),dk(n);let l=JP();return d8(l)?c==="v2"?yield IRe(s,n,i,a):yield CRe(s,n,i,a):(re(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),w(`Skipped save for paths [${s.join(", ")}] with key '${n}'.`),-1)})}o(mk,"saveCache");function CRe(t,e,r){return Wu(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,A,d,p;let m=yield Zd(),h=-1,f=yield E0(s);if(w("Cache Paths:"),w(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let C=yield ja(),E=gm.join(C,Go(m));w(`Archive Path: ${E}`);try{yield uk(C,f,m),za()&&(yield fm(E,m));let y=10*1024*1024*1024,I=Ln(E);if(w(`File Size: ${I}`),I>y&&!YP())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);w("Reserving Cache");let B=yield C8(n,s,{compressionMethod:m,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)h=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((A=(u=B?.error)===null||u===void 0?void 0:u.message)!==null&&A!==void 0?A:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let N=(d=B?.error)===null||d===void 0?void 0:d.message;throw N?.startsWith(Ak)?new jC(`Unable to reserve cache with key ${n}. More details: ${N}`):new Tc(`Unable to reserve cache with key ${n}, another job may be creating this cache. More details: ${(p=B?.error)===null||p===void 0?void 0:p.message}`)}}w(`Saving Cache (ID: ${h})`),yield KP(h,E,"",i)}catch(y){let I=y;if(I.name===yn.name)throw y;I.name===Tc.name?re(`Failed to save: ${I.message}`):I instanceof Mn&&typeof I.statusCode=="number"&&I.statusCode>=500?$l(`Failed to save: ${I.message}`):It(`Failed to save: ${I.message}`)}finally{try{yield Xd(E)}catch(y){w(`Failed to delete archive: ${y}`)}}return h})}o(CRe,"saveCacheV1");function IRe(t,e,r){return Wu(this,arguments,void 0,function*(s,n,i,a=!1){var c;i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield Zd(),u=ak(),A=-1,d=yield E0(s);if(w("Cache Paths:"),w(`${JSON.stringify(d)}`),d.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let p=yield ja(),m=gm.join(p,Go(l));w(`Archive Path: ${m}`);try{yield uk(p,d,l),za()&&(yield fm(m,l));let h=Ln(m);w(`File Size: ${h}`),i.archiveSizeBytes=h,w("Reserving Cache");let f=ru(s,l,a),C={key:n,version:f},E;try{let B=yield u.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(Ak)&&It(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");E=B.signedUploadUrl}catch(B){w(`Failed to reserve cache: ${B}`);let N=(c=B?.message)!==null&&c!==void 0?c:"";throw N.startsWith(Ak)?new jC(`Unable to reserve cache with key ${n}. More details: ${N}`):new Tc(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}w(`Attempting to upload cache located at: ${m}`),yield KP(A,m,E,i);let y={key:n,version:f,sizeBytes:`${h}`},I=yield u.FinalizeCacheEntryUpload(y);if(w(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new XC(I.message):new Error(`Unable to finalize cache with key ${n}, another job may be finalizing this cache.`);A=parseInt(I.entryId)}catch(h){let f=h;if(f.name===yn.name)throw h;f.name===Tc.name?re(`Failed to save: ${f.message}`):f.name===XC.name?It(f.message):f instanceof Mn&&typeof f.statusCode=="number"&&f.statusCode>=500?$l(`Failed to save: ${f.message}`):It(`Failed to save: ${f.message}`)}finally{try{yield Xd(m)}catch(h){w(`Failed to delete archive: ${h}`)}}return A})}o(IRe,"saveCacheV2");var b5=b(require("util"),1);var ju=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=b5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=fk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=fk.default.join(this.cacheDir,this.opts.cacheFile),Em.default.existsSync(this.cacheDir)||Em.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){w(`Cache.save ${e}`);let s=this.copyToCache(e),n=await this.cacheToHostedToolCache();if(n&&w(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&pk())if(r)try{w(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await mk([this.cacheDir],this.ghaCacheKey)}catch(i){It(`Failed to save cache: ${i}`)}else w(`Cache.save sending ${this.ghaCacheKey} to post state`),Wf(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=pz(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return re(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&pk()){if(w("GitHub Actions cache feature available"),await w5([this.cacheDir],this.ghaCacheKey)){if(re(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!Em.default.existsSync(this.cachePath))return It(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&re(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?re("GitHub Actions cache disabled"):re("GitHub Actions cache feature not available")}catch(e){It(`Failed to restore cache: ${e}`)}return""}static async post(){let e=mG(t.POST_CACHE_KEY);if(!e)return re("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(s){throw new Error(`Failed to parse cache post state: ${s}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{re(`Caching ${r.key} to GitHub Actions cache`),await mk([r.dir],r.key)}catch(s){It(`Failed to save cache: ${s}`)}return r}copyToCache(e){return re(`Copying ${e} to ${this.cachePath}`),Em.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await dz(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){re(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${hk.default.platform()}-${hk.default.arch()}${e?"v"+e:""}`}};var Q5=!!process.env.STATE_isPost;Q5||Wf("isPost","true");async function x5(t,e){if(Q5)e&&await e(),await xd("Post cache",async()=>{await ju.post()});else try{await t()}catch(r){pG(r.message)}}o(x5,"run");var Ws=b(require("fs"),1),Hr=b(require("path"),1),jX=require("util");var KX=b(g9(),1);var AI=class t{static{o(this,"Git")}static protoRegexp=new RegExp("^[a-zA-Z0-9]+://");static supportedProtos={http:{},https:{},ssh:{},git:{}};static parseURL(e){let r=e.match(t.protoRegexp);if(r&&r.length>0){let s=r[0].toLowerCase();if(s=s.slice(0,s.lastIndexOf("://")),!(s in t.supportedProtos))throw new Error(`Invalid protocol: ${s}`);return t.fromURL(new URL(e))}throw new Error("Unknown protocol")}static fromURL(e){let r=new URL(e.toString());r.hash="";let s;return(e.username||e.password)&&(s={username:e.username,password:e.password,passwordSet:e.password!==""}),{scheme:e.protocol.slice(0,-1),user:s,host:`${e.hostname}${e.port?":"+e.port:""}`,path:e.pathname,fragment:t.splitGitFragment(e.hash),remote:r.toString()}}static splitGitFragment(e){if(e==="")return;let[r,s]=e.slice(1).split(":");return{ref:r,subdir:s}}static parseRef(e){let r={},s;if(e.startsWith("./")||e.startsWith("../"))throw new Error("Invalid argument");if(e.startsWith("github.com/"))r.indistinguishableFromLocal=!0,s=t.fromURL(new URL("https://"+e));else if(s=t.parseURL(e),["http","git"].includes(s.scheme)&&(r.unencryptedTCP=!0),["http","https"].includes(s.scheme)&&!s.path.endsWith(".git"))throw new Error("Invalid argument");r.remote=s.remote,r.indistinguishableFromLocal&&(r.remote=r.remote.split("://")[1]),s.fragment&&(r.commit=s.fragment.ref,r.subDir=s.fragment.subdir);let n=r.remote.split("/");return r.shortName=n[n.length-1].replace(".git",""),r}};var qD=b(require("fs"),1),YK=b(require("os"),1),_m=b(require("path"),1),JK=require("util"),WK=b(b9(),1);var Gk=b(require("fs"),1),H9=b(require("os"),1),z9=b(require("path"),1),V9=b(G9(),1);var mI=class t{static{o(this,"Context")}static _tmpDir=Gk.default.mkdtempSync(z9.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||H9.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Gk.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return V9.tmpNameSync(e)}};var no=class{static{o(this,"Exec")}static async exec(e,r,s){return w(`Exec.exec: ${e} ${r?.join(" ")}`),ko(e,r,s)}static async getExecOutput(e,r,s){return w(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Ha(e,r,s)}};var UD=b(require("crypto"),1),VK=b(require("fs"),1),Dm=b(require("path"),1),$K=b(FK(),1);var me=class t extends Error{static{o(this,"CsvError")}constructor(e,r,s,...n){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of n)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(s.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var km=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var ZI=o(function(t){let e=[];for(let r=0,s=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let s=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),s.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let s=this.clone();this.buf[0]=e,s.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},FD=OD;var UK=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((s,n)=>{let i=Buffer.from(String.fromCharCode(n),t.encoding);return n!==63&&i.length===1&&i[0]===63||s.push(i),s},[]),r=new Uint8Array(256);for(let s of e)r[s[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new FD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(s=>s.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(s=>s.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new FD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(s=>s.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var qK=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var pA=o(function(t){let e={};for(let s in t)e[qK(s)]=t[s];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new me("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(e.bom===void 0||e.bom===null||e.bom===!1)e.bom=!1;else if(e.bom!==!0)throw new me("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,e.cast===void 0||e.cast===null||e.cast===!1||e.cast==="")e.cast=void 0;else if(typeof e.cast=="function")e.cast_function=e.cast,e.cast=!0;else if(e.cast!==!0)throw new me("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(s){let n=Date.parse(s);return isNaN(n)?s:new Date(n)};else if(typeof e.cast_date!="function")throw new me("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=void 0,e.columns===!0)e.cast_first_line_to_header=void 0;else if(typeof e.columns=="function")e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=ZI(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new me("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(e.group_columns_by_name===void 0||e.group_columns_by_name===null||e.group_columns_by_name===!1)e.group_columns_by_name=!1;else{if(e.group_columns_by_name!==!0)throw new me("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}`],e);if(e.columns===!1)throw new me("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e)}if(e.comment===void 0||e.comment===null||e.comment===!1||e.comment==="")e.comment=null;else if(typeof e.comment=="string"&&(e.comment=Buffer.from(e.comment,e.encoding)),!Buffer.isBuffer(e.comment))throw new me("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);if(e.comment_no_infix===void 0||e.comment_no_infix===null||e.comment_no_infix===!1)e.comment_no_infix=!1;else if(e.comment_no_infix!==!0)throw new me("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!km(e.delimiter_auto))throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!km(e.delimiter_auto.preferred))throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(s,n)=>(s.total-s.std)*(n.preferred[s.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","score must be a function,",`got ${JSON.stringify(e.delimiter_auto.score)}`],e);if(e.delimiter_auto.size===void 0)e.delimiter_auto.size=2048;else if(typeof e.delimiter_auto.size!="number")throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(s){if(typeof s=="string"&&(s=Buffer.from(s,e.encoding)),!Buffer.isBuffer(s)||s.length===0)throw new me("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return s}),e.escape===void 0||e.escape===!0?e.escape=Buffer.from('"',e.encoding):typeof e.escape=="string"?e.escape=Buffer.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Buffer.isBuffer(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new me("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(e.ignore_last_delimiters===!0&&e.columns===!1)throw new me("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(e.info===void 0||e.info===null||e.info===!1)e.info=!1;else if(e.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(e.max_record_size===void 0||e.max_record_size===null||e.max_record_size===!1)e.max_record_size=0;else if(!(Number.isInteger(e.max_record_size)&&e.max_record_size>=0))if(typeof e.max_record_size=="string"&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(e.objname===void 0||e.objname===null||e.objname===!1)e.objname=void 0;else if(Buffer.isBuffer(e.objname)){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");e.encoding===null||(e.objname=e.objname.toString(e.encoding))}else if(typeof e.objname=="string"){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof e.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(e.objname!==void 0){if(typeof e.objname=="number"){if(e.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(e.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(e.on_record===void 0||e.on_record===null)e.on_record=void 0;else if(typeof e.on_record!="function")throw new me("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(e.on_skip!==void 0&&e.on_skip!==null&&typeof e.on_skip!="function")throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(e.on_skip)}`);if(e.quote===null||e.quote===!1||e.quote==="")e.quote=null;else if(e.quote===void 0||e.quote===!0?e.quote=Buffer.from('"',e.encoding):typeof e.quote=="string"&&(e.quote=Buffer.from(e.quote,e.encoding)),!Buffer.isBuffer(e.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(e.raw===void 0||e.raw===null||e.raw===!1)e.raw=!1;else if(e.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(e.record_delimiter===void 0)e.record_delimiter=[];else if(typeof e.record_delimiter=="string"||Buffer.isBuffer(e.record_delimiter)){if(e.record_delimiter.length===0)throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(s,n){if(typeof s!="string"&&!Buffer.isBuffer(s))throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);if(s.length===0)throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);return typeof s=="string"&&(s=Buffer.from(s,e.encoding)),s}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&t.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&t.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(e.to!==-1)if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(e.to_line!==-1)if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e},"normalize_options");var GK=o(function(t,e){e||({delimiter_auto:e}=pA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(n=>{let i=[],a=eB({delimiter:[]}),c=o(A=>i.push(A),"push"),l=o(()=>{},"close"),u=a.parse(n,!0,c,l);if(u!==void 0)throw u;return i})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([n],i)=>{for(let a=0,c=n.length;a{n.char_code=i,n.std=X_e(n.lines),n.total=n.lines.reduce((a,c)=>a+c,0),n.preferred=!!e.preferred[i],n.score=e.score(n,e)});let s=r.reduce((n,i)=>n.score>i.score?n:i,{});return String.fromCharCode(s.char_code)},"delimiter_discover"),X_e=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((s,n)=>s+n)/e;return Math.sqrt(t.map(s=>Math.pow(s-r,2)).reduce((s,n)=>s+n)/e)},"std");var HK=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),Z_e=13,eLe=10,mA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},eB=o(function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=pA(t);return{info:e,original_options:t,options:r,state:UK(r),__needMoreData:o(function(s,n,i){if(i)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:u,needMoreDataSize:A,recordDelimiterMaxLength:d}=this.state,p=n-s-1,m=Math.max(A,d===0?Buffer.from(`\r -`,a).length:d,u?(c===null?0:c.length)+l.length:0,u?l.length+d:0);return pu.size)this.options.delimiter=[Buffer.from(GK(Ne,this.options.delimiter_auto))],this.state.previousBuf=Ne,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Ne;return}}let{previousBuf:gt}=this.state,ce;if(gt===void 0)if(s===void 0){a();return}else ce=s;else gt!==void 0&&s===void 0?ce=gt:ce=Buffer.concat([gt,s]);if(Ie===!1)if(c===!1)this.state.bomSkipped=!0;else if(ce.length<3){if(n===!1){this.state.previousBuf=ce;return}}else{for(let Ne in mA)if(mA[Ne].compare(ce,0,mA[Ne].length)===0){let Ao=mA[Ne].length;this.state.bufBytesStart+=Ao,ce=ce.slice(Ao);let Hm=pA({...this.original_options,encoding:Ne});for(let bt in Hm)this.options[bt]=Hm[bt];({comment:B,escape:N,quote:S}=this.options);break}this.state.bomSkipped=!0}let js=ce.length,z;for(z=0;zI){this.state.stop=!0,a();return}this.state.quoting===!1&&U.length===0&&this.__autoDiscoverRecordDelimiter(ce,z)&&(U=this.options.record_delimiter);let Ne=ce[z];if(h===!0&&ke.append(Ne),(Ne===Z_e||Ne===eLe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ce,z,Ne)&&z+N.lengthmA[pa].equals(this.state.field.toString())?pa:!1).filter(Boolean)[0],Bi=this.__error(new me("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(bt.column)} at line ${bt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,da?`(${da} bom)`:void 0],this.options,bt,{field:this.state.field}));if(Bi!==void 0)return Bi}}else{this.state.quoting=!0,z+=S.length-1;continue}if(this.state.quoting===!1){let bt=this.__isRecordDelimiter(Ne,ce,z);if(bt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),z+=bt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,z+=bt-1;continue}this.info.bytes=this.state.bufBytesStart+z;let pa=this.__onField();if(pa!==void 0)return pa;this.info.bytes=this.state.bufBytesStart+z+bt;let zm=this.__onRecord(i);if(zm!==void 0)return zm;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,z+=bt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ce,z,Ne)!==0){this.state.commenting=!0;continue}let da=this.__isDelimiter(ce,z,Ne);if(da!==0){this.info.bytes=this.state.bufBytesStart+z;let Bi=this.__onField();if(Bi!==void 0)return Bi;z+=da-1;continue}}}if(this.state.commenting===!1&&m!==0&&this.state.record_length+this.state.field.length>m)return this.__error(new me("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${m}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Ao=p===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ce,z),Hm=C===!1||this.state.wasQuoting===!1;if(Ao===!0&&Hm===!0)this.state.field.append(Ne);else{if(C===!0&&!this.__isCharTrimable(ce,z))return this.__error(new me("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));Ao===!1&&(z+=this.__isCharTrimable(ce,z)-1);continue}}if(n===!0)if(this.state.quoting===!0){let Ne=this.__error(new me("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(Ne!==void 0)return Ne}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+z;let Ne=this.__onField();if(Ne!==void 0)return Ne;let Ao=this.__onRecord(i);if(Ao!==void 0)return Ao}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=z,this.state.previousBuf=ce.slice(z);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(s){let{columns:n,group_columns_by_name:i,encoding:a,info:c,from:l,relax_column_count:u,relax_column_count_less:A,relax_column_count_more:d,raw:p,skip_records_with_empty_values:m}=this.options,{enabled:h,record:f}=this.state;if(h===!1)return this.__resetRecord();let C=f.length;if(n===!0){if(m===!0&&HK(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(n===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let E=n===!1?new me("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new me("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${n.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(u===!0||A===!0&&Cthis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=E;else{let y=this.__error(E);if(y)return y}}if(m===!0&&HK(f)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:E}=this.options;if(n!==!1){let y={};for(let I=0,B=f.length;I=0},"__isFloat"),__isQuote:o(function(s,n){let{quote:i}=this.options;if(i===null)return!1;let a=i.length;for(let c=0;cJE(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,A)=>!(u>0&&l.name.toLowerCase()===A[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} +`}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=VE(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=$E(i.url),u={};if(l){let A=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let p=d.toLowerCase();u[p]=l[d],A.push(p)}A.sort();for(let d of A)c+=` +${d}:${decodeURIComponent(u[d])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:xbe,async sendRequest(i,a){return e(i),a(i)}}}o(tS,"storageSharedKeyCredentialPolicy");var Nbe="storageRequestFailureDetailsParserPolicy";function z3(){return{name:Nbe,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. +`),r}}}}o(z3,"storageRequestFailureDetailsParserPolicy");var V3=require("node:crypto");var WE=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,V3.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var jE="12.31.0",KE="2026-02-06";var XE="https://storage.azure.com/.default",Yi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var An="",rS="*",Sbe=1*1024*1024;var Rbe=4*Sbe;var $3="AES256",Y3="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",J3=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],W3=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],j3="BlobUsesCustomerSpecifiedEncryption",K3="BlobDoesNotUseCustomerSpecifiedEncryption",X3=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Ji(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(Ji,"isPipelineLike");var Pp=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function At(t,e={}){t||(t=new Ve);let r=new Pp([],e);return r._credential=t,r}o(At,"newPipeline");function Tbe(t){let e=[Pbe,Z3,vbe,kbe,Dbe,_be,Mbe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>Lbe(n));return{wrappedPolicies:PN(r),afterRetry:s}}}}o(Tbe,"processDownlevelPipeline");function sS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?vN(e):eS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${jE}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=pp({...r,loggingOptions:{additionalAllowedHeaderNames:J3,additionalAllowedQueryParameters:W3,logger:FE.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:OE,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:XN,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:aN}),n.addPolicy(q3()),n.addPolicy(G3(r.retryOptions),{phase:"Retry"}),n.addPolicy(z3()),n.addPolicy(U3());let c=Tbe(t);c&&n.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=nS(t);as(l)?n.addPolicy(mu({credential:l,scopes:r.audience??XE,challengeCallbacks:{authorizeRequestOnChallenge:NE}}),{phase:"Sign"}):l instanceof Ze&&n.addPolicy(tS({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}o(sS,"getCoreClientOptions");function nS(t){if(t._credential)return t._credential;let e=new Ve;for(let r of t.factories)if(as(r.credential))e=r.credential;else if(Z3(r))return r;return e}o(nS,"getCredentialFromPipeline");function Z3(t){return t instanceof Ze?!0:t.constructor.name==="StorageSharedKeyCredential"}o(Z3,"isStorageSharedKeyCredential");function Pbe(t){return t instanceof Ve?!0:t.constructor.name==="AnonymousCredential"}o(Pbe,"isAnonymousCredential");function vbe(t){return as(t.credential)}o(vbe,"isCoreHttpBearerTokenFactory");function kbe(t){return t instanceof xp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(kbe,"isStorageBrowserPolicyFactory");function Dbe(t){return t instanceof Tp?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Dbe,"isStorageRetryPolicyFactory");function _be(t){return t.constructor.name==="TelemetryPolicyFactory"}o(_be,"isStorageTelemetryPolicyFactory");function Lbe(t){return t.constructor.name==="InjectorPolicyFactory"}o(Lbe,"isInjectorPolicyFactory");function Mbe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},s={log(a,c){},shouldLog(a){return!1}},i=t.create(r,s).constructor.name;return e.some(a=>i.startsWith(a))}o(Mbe,"isCoreHttpPolicyFactory");var eW;(function(t){t.AES256="AES256"})(eW||(eW={}));var tW;(function(t){t.Backup="backup"})(tW||(tW={}));var rW;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(rW||(rW={}));var sW;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(sW||(sW={}));var us={};iZ(us,{AccessPolicy:()=>Wbe,AppendBlobAppendBlockExceptionHeaders:()=>bT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>xT,AppendBlobAppendBlockFromUrlHeaders:()=>QT,AppendBlobAppendBlockHeaders:()=>wT,AppendBlobCreateExceptionHeaders:()=>BT,AppendBlobCreateHeaders:()=>IT,AppendBlobSealExceptionHeaders:()=>ST,AppendBlobSealHeaders:()=>NT,ArrowConfiguration:()=>lQe,ArrowField:()=>uQe,BlobAbortCopyFromURLExceptionHeaders:()=>JR,BlobAbortCopyFromURLHeaders:()=>YR,BlobAcquireLeaseExceptionHeaders:()=>vR,BlobAcquireLeaseHeaders:()=>PR,BlobBreakLeaseExceptionHeaders:()=>UR,BlobBreakLeaseHeaders:()=>FR,BlobChangeLeaseExceptionHeaders:()=>OR,BlobChangeLeaseHeaders:()=>MR,BlobCopyFromURLExceptionHeaders:()=>$R,BlobCopyFromURLHeaders:()=>VR,BlobCreateSnapshotExceptionHeaders:()=>GR,BlobCreateSnapshotHeaders:()=>qR,BlobDeleteExceptionHeaders:()=>fR,BlobDeleteHeaders:()=>hR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>xR,BlobDeleteImmutabilityPolicyHeaders:()=>QR,BlobDownloadExceptionHeaders:()=>dR,BlobDownloadHeaders:()=>ey,BlobFlatListSegment:()=>jbe,BlobGetAccountInfoExceptionHeaders:()=>KR,BlobGetAccountInfoHeaders:()=>jR,BlobGetPropertiesExceptionHeaders:()=>mR,BlobGetPropertiesHeaders:()=>pR,BlobGetTagsExceptionHeaders:()=>eT,BlobGetTagsHeaders:()=>ZR,BlobHierarchyListSegment:()=>eQe,BlobItemInternal:()=>Kbe,BlobName:()=>Xbe,BlobPrefix:()=>tQe,BlobPropertiesInternal:()=>Zbe,BlobQueryExceptionHeaders:()=>XR,BlobQueryHeaders:()=>ry,BlobReleaseLeaseExceptionHeaders:()=>DR,BlobReleaseLeaseHeaders:()=>kR,BlobRenewLeaseExceptionHeaders:()=>LR,BlobRenewLeaseHeaders:()=>_R,BlobServiceProperties:()=>vp,BlobServiceStatistics:()=>iS,BlobSetExpiryExceptionHeaders:()=>CR,BlobSetExpiryHeaders:()=>yR,BlobSetHttpHeadersExceptionHeaders:()=>BR,BlobSetHttpHeadersHeaders:()=>IR,BlobSetImmutabilityPolicyExceptionHeaders:()=>bR,BlobSetImmutabilityPolicyHeaders:()=>wR,BlobSetLegalHoldExceptionHeaders:()=>SR,BlobSetLegalHoldHeaders:()=>NR,BlobSetMetadataExceptionHeaders:()=>TR,BlobSetMetadataHeaders:()=>RR,BlobSetTagsExceptionHeaders:()=>rT,BlobSetTagsHeaders:()=>tT,BlobSetTierExceptionHeaders:()=>WR,BlobSetTierHeaders:()=>ty,BlobStartCopyFromURLExceptionHeaders:()=>zR,BlobStartCopyFromURLHeaders:()=>HR,BlobTag:()=>Ybe,BlobTags:()=>Dp,BlobUndeleteExceptionHeaders:()=>ER,BlobUndeleteHeaders:()=>gR,Block:()=>rQe,BlockBlobCommitBlockListExceptionHeaders:()=>OT,BlockBlobCommitBlockListHeaders:()=>MT,BlockBlobGetBlockListExceptionHeaders:()=>UT,BlockBlobGetBlockListHeaders:()=>FT,BlockBlobPutBlobFromUrlExceptionHeaders:()=>vT,BlockBlobPutBlobFromUrlHeaders:()=>PT,BlockBlobStageBlockExceptionHeaders:()=>DT,BlockBlobStageBlockFromURLExceptionHeaders:()=>LT,BlockBlobStageBlockFromURLHeaders:()=>_T,BlockBlobStageBlockHeaders:()=>kT,BlockBlobUploadExceptionHeaders:()=>TT,BlockBlobUploadHeaders:()=>RT,BlockList:()=>dS,BlockLookupList:()=>AS,ClearRange:()=>nQe,ContainerAcquireLeaseExceptionHeaders:()=>KS,ContainerAcquireLeaseHeaders:()=>jS,ContainerBreakLeaseExceptionHeaders:()=>sR,ContainerBreakLeaseHeaders:()=>rR,ContainerChangeLeaseExceptionHeaders:()=>iR,ContainerChangeLeaseHeaders:()=>nR,ContainerCreateExceptionHeaders:()=>PS,ContainerCreateHeaders:()=>TS,ContainerDeleteExceptionHeaders:()=>_S,ContainerDeleteHeaders:()=>DS,ContainerFilterBlobsExceptionHeaders:()=>WS,ContainerFilterBlobsHeaders:()=>JS,ContainerGetAccessPolicyExceptionHeaders:()=>FS,ContainerGetAccessPolicyHeaders:()=>OS,ContainerGetAccountInfoExceptionHeaders:()=>AR,ContainerGetAccountInfoHeaders:()=>uR,ContainerGetPropertiesExceptionHeaders:()=>kS,ContainerGetPropertiesHeaders:()=>vS,ContainerItem:()=>zbe,ContainerListBlobFlatSegmentExceptionHeaders:()=>aR,ContainerListBlobFlatSegmentHeaders:()=>oR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>lR,ContainerListBlobHierarchySegmentHeaders:()=>cR,ContainerProperties:()=>Vbe,ContainerReleaseLeaseExceptionHeaders:()=>ZS,ContainerReleaseLeaseHeaders:()=>XS,ContainerRenameExceptionHeaders:()=>VS,ContainerRenameHeaders:()=>zS,ContainerRenewLeaseExceptionHeaders:()=>tR,ContainerRenewLeaseHeaders:()=>eR,ContainerRestoreExceptionHeaders:()=>HS,ContainerRestoreHeaders:()=>GS,ContainerSetAccessPolicyExceptionHeaders:()=>qS,ContainerSetAccessPolicyHeaders:()=>US,ContainerSetMetadataExceptionHeaders:()=>MS,ContainerSetMetadataHeaders:()=>LS,ContainerSubmitBatchExceptionHeaders:()=>YS,ContainerSubmitBatchHeaders:()=>$S,CorsRule:()=>qbe,DelimitedTextConfiguration:()=>aQe,FilterBlobItem:()=>$be,FilterBlobSegment:()=>kp,GeoReplication:()=>Hbe,JsonTextConfiguration:()=>cQe,KeyInfo:()=>aS,ListBlobsFlatSegmentResponse:()=>lS,ListBlobsHierarchySegmentResponse:()=>uS,ListContainersSegmentResponse:()=>oS,Logging:()=>Obe,Metrics:()=>Ube,PageBlobClearPagesExceptionHeaders:()=>cT,PageBlobClearPagesHeaders:()=>aT,PageBlobCopyIncrementalExceptionHeaders:()=>CT,PageBlobCopyIncrementalHeaders:()=>yT,PageBlobCreateExceptionHeaders:()=>nT,PageBlobCreateHeaders:()=>sT,PageBlobGetPageRangesDiffExceptionHeaders:()=>mT,PageBlobGetPageRangesDiffHeaders:()=>pT,PageBlobGetPageRangesExceptionHeaders:()=>dT,PageBlobGetPageRangesHeaders:()=>AT,PageBlobResizeExceptionHeaders:()=>fT,PageBlobResizeHeaders:()=>hT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>ET,PageBlobUpdateSequenceNumberHeaders:()=>gT,PageBlobUploadPagesExceptionHeaders:()=>oT,PageBlobUploadPagesFromURLExceptionHeaders:()=>uT,PageBlobUploadPagesFromURLHeaders:()=>lT,PageBlobUploadPagesHeaders:()=>iT,PageList:()=>ZE,PageRange:()=>sQe,QueryFormat:()=>oQe,QueryRequest:()=>pS,QuerySerialization:()=>iQe,RetentionPolicy:()=>Fbe,ServiceFilterBlobsExceptionHeaders:()=>RS,ServiceFilterBlobsHeaders:()=>SS,ServiceGetAccountInfoExceptionHeaders:()=>QS,ServiceGetAccountInfoHeaders:()=>bS,ServiceGetPropertiesExceptionHeaders:()=>gS,ServiceGetPropertiesHeaders:()=>fS,ServiceGetStatisticsExceptionHeaders:()=>yS,ServiceGetStatisticsHeaders:()=>ES,ServiceGetUserDelegationKeyExceptionHeaders:()=>wS,ServiceGetUserDelegationKeyHeaders:()=>BS,ServiceListContainersSegmentExceptionHeaders:()=>IS,ServiceListContainersSegmentHeaders:()=>CS,ServiceSetPropertiesExceptionHeaders:()=>hS,ServiceSetPropertiesHeaders:()=>mS,ServiceSubmitBatchExceptionHeaders:()=>NS,ServiceSubmitBatchHeaders:()=>xS,SignedIdentifier:()=>Jbe,StaticWebsite:()=>Gbe,StorageError:()=>R,UserDelegationKey:()=>cS});var vp={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},Obe={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},Fbe={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},Ube={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},qbe={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},Gbe={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},R={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},iS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Hbe={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},oS={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},zbe={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},Vbe={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},aS={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}}}}},cS={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},kp={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},$be={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},Dp={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},Ybe={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},Jbe={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},Wbe={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},lS={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},jbe={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Kbe={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},Xbe={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},Zbe={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},uS={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},eQe={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},tQe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},AS={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},dS={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},rQe={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},ZE={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},sQe={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},nQe={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},pS={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},iQe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},oQe={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},aQe={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},cQe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},lQe={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},uQe={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},mS={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hS={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fS={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ES={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CS={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IS={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BS={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bS={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xS={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PS={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vS={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kS={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DS={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_S={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LS={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MS={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FS={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},US={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qS={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HS={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zS={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VS={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$S={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},YS={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JS={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},WS={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jS={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},KS={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XS={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ZS={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eR={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},tR={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rR={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nR={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},iR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cR={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uR={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},AR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ey={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},dR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pR={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fR={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gR={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yR={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},CR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BR={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wR={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},bR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},xR={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},SR={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TR={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PR={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},vR={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},DR={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_R={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},LR={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MR={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},OR={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FR={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},UR={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qR={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GR={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HR={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zR={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},VR={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$R={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},YR={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JR={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ty={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WR={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jR={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},KR={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ry={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},XR={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZR={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tT={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sT={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iT={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aT={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lT={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uT={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},AT={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pT={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hT={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fT={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gT={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ET={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yT={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CT={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IT={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BT={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wT={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QT={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xT={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NT={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},ST={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RT={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PT={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vT={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},kT={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DT={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_T={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LT={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},MT={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OT={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FT={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UT={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Yn={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},nW={parameterPath:"blobServiceProperties",mapper:vp},ks={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},T={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},_p={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ds={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},P={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},v={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},k={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},q={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},iW={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Lp={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Mp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},Jn={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Wn={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},oW={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},aW={parameterPath:"keyInfo",mapper:aS},cW={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Iu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},sy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},ny={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Mt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},iy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},oy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ay={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Ot={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},tr={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},qT={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},lW={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},uW={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},ue={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ie={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},oe={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},cy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},GT={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AW={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},ly={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dW={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},pW={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},mW={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},hW={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},fW={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},_s={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},uy={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ay={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},dy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},py={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Xo={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},my={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},hy={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},fy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},gy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ey={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},HT={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},zT={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},gW={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},fr={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},jn={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},uc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},EW={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},yW={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},et={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},tt={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},rt={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ee={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},ye={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},pe={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},CW={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},IW={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},BW={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wW={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},bW={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},Kn={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Xn={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Zn={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},ei={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},ti={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ri={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},VT={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},pn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},QW={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xW={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Bt={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},NW={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Wi={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}},$T={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},si={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},ni={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},ii={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},oi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},yy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Ac={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},mn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},SW={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},ai={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},RW={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},ji={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Ki={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Cy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Xi={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},TW={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},PW={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},vW={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},kW={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},DW={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}},_W={parameterPath:["options","queryRequest"],mapper:pS},LW={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},YT={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},JT={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},WT={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},jT={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},KT={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},MW={parameterPath:["options","tags"],mapper:Dp},Ls={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},ci={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},OW={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},XT={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},ZT={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},dc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},pc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},mc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Iy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},eP={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},By={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},wy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},by={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},FW={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Bu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},UW={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},wu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},qW={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},tP={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},GW={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},HW={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},zW={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},VW={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$W={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},rP={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sP={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Qy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},xy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},YW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nP={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},JW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},iP={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oP={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},WW={parameterPath:"blocks",mapper:AS},aP={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Ny=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},AQe)}getProperties(e){return this.client.sendOperationRequest({options:e},dQe)}getStatistics(e){return this.client.sendOperationRequest({options:e},pQe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},mQe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},hQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},fQe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},gQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},EQe)}},Zo=cs(us,!0),AQe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:mS},default:{bodyMapper:R,headersMapper:hS}},requestBody:nW,queryParameters:[_p,Ds,P],urlParameters:[T],headerParameters:[Yn,ks,v,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zo},dQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:vp,headersMapper:fS},default:{bodyMapper:R,headersMapper:gS}},queryParameters:[_p,Ds,P],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},pQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:iS,headersMapper:ES},default:{bodyMapper:R,headersMapper:yS}},queryParameters:[_p,P,iW],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},mQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:oS,headersMapper:CS},default:{bodyMapper:R,headersMapper:IS}},queryParameters:[P,Lp,Mp,Jn,Wn,oW],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},hQe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:cS,headersMapper:BS},default:{bodyMapper:R,headersMapper:wS}},requestBody:aW,queryParameters:[_p,P,cW],urlParameters:[T],headerParameters:[Yn,ks,v,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zo},fQe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:bS},default:{bodyMapper:R,headersMapper:QS}},queryParameters:[Ds,P,Iu],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo},gQe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:xS},default:{bodyMapper:R,headersMapper:NS}},requestBody:sy,queryParameters:[P,ny],urlParameters:[T],headerParameters:[ks,v,k,Mt,iy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Zo},EQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:kp,headersMapper:SS},default:{bodyMapper:R,headersMapper:RS}},queryParameters:[P,Jn,Wn,oy,ay],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Zo};var Sy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},yQe)}getProperties(e){return this.client.sendOperationRequest({options:e},CQe)}delete(e){return this.client.sendOperationRequest({options:e},IQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},BQe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},wQe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},bQe)}restore(e){return this.client.sendOperationRequest({options:e},QQe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},xQe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},NQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},SQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},RQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},TQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},PQe)}breakLease(e){return this.client.sendOperationRequest({options:e},vQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},kQe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},DQe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},_Qe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},LQe)}},Ft=cs(us,!0),yQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:TS},default:{bodyMapper:R,headersMapper:PS}},queryParameters:[P,Ot],urlParameters:[T],headerParameters:[v,k,q,tr,qT,lW,uW],isXML:!0,serializer:Ft},CQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:vS},default:{bodyMapper:R,headersMapper:kS}},queryParameters:[P,Ot],urlParameters:[T],headerParameters:[v,k,q,ue],isXML:!0,serializer:Ft},IQe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:DS},default:{bodyMapper:R,headersMapper:_S}},queryParameters:[P,Ot],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe],isXML:!0,serializer:Ft},BQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:LS},default:{bodyMapper:R,headersMapper:MS}},queryParameters:[P,Ot,cy],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie],isXML:!0,serializer:Ft},wQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:OS},default:{bodyMapper:R,headersMapper:FS}},queryParameters:[P,Ot,GT],urlParameters:[T],headerParameters:[v,k,q,ue],isXML:!0,serializer:Ft},bQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:US},default:{bodyMapper:R,headersMapper:qS}},requestBody:AW,queryParameters:[P,Ot,GT],urlParameters:[T],headerParameters:[Yn,ks,v,k,qT,ue,ie,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ft},QQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:GS},default:{bodyMapper:R,headersMapper:HS}},queryParameters:[P,Ot,ly],urlParameters:[T],headerParameters:[v,k,q,dW,pW],isXML:!0,serializer:Ft},xQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:zS},default:{bodyMapper:R,headersMapper:VS}},queryParameters:[P,Ot,mW],urlParameters:[T],headerParameters:[v,k,q,hW,fW],isXML:!0,serializer:Ft},NQe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:$S},default:{bodyMapper:R,headersMapper:YS}},requestBody:sy,queryParameters:[P,ny,Ot],urlParameters:[T],headerParameters:[ks,v,k,Mt,iy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ft},SQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:kp,headersMapper:JS},default:{bodyMapper:R,headersMapper:WS}},queryParameters:[P,Jn,Wn,oy,ay,Ot],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft},RQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:jS},default:{bodyMapper:R,headersMapper:KS}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,uy,Ay,dy],isXML:!0,serializer:Ft},TQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:XS},default:{bodyMapper:R,headersMapper:ZS}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,py,Xo],isXML:!0,serializer:Ft},PQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:eR},default:{bodyMapper:R,headersMapper:tR}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,my],isXML:!0,serializer:Ft},vQe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:rR},default:{bodyMapper:R,headersMapper:sR}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,hy,fy],isXML:!0,serializer:Ft},kQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:nR},default:{bodyMapper:R,headersMapper:iR}},queryParameters:[P,Ot,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,gy,Ey],isXML:!0,serializer:Ft},DQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:lS,headersMapper:oR},default:{bodyMapper:R,headersMapper:aR}},queryParameters:[P,Lp,Mp,Jn,Wn,Ot,HT,zT],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft},_Qe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:uS,headersMapper:cR},default:{bodyMapper:R,headersMapper:lR}},queryParameters:[P,Lp,Mp,Jn,Wn,Ot,HT,zT,gW],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft},LQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:uR},default:{bodyMapper:R,headersMapper:AR}},queryParameters:[Ds,P,Iu],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:Ft};var Ry=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},MQe)}getProperties(e){return this.client.sendOperationRequest({options:e},OQe)}delete(e){return this.client.sendOperationRequest({options:e},FQe)}undelete(e){return this.client.sendOperationRequest({options:e},UQe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},qQe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},GQe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},HQe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},zQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},VQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},$Qe)}acquireLease(e){return this.client.sendOperationRequest({options:e},YQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},JQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},WQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},jQe)}breakLease(e){return this.client.sendOperationRequest({options:e},KQe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},XQe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},ZQe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},exe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},txe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},rxe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},sxe)}query(e){return this.client.sendOperationRequest({options:e},nxe)}getTags(e){return this.client.sendOperationRequest({options:e},ixe)}setTags(e){return this.client.sendOperationRequest({options:e},oxe)}},$e=cs(us,!0),MQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ey},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ey},default:{bodyMapper:R,headersMapper:dR}},queryParameters:[P,fr,jn],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,uc,EW,yW,et,tt,rt,Ee,ye,pe],isXML:!0,serializer:$e},OQe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:pR},default:{bodyMapper:R,headersMapper:mR}},queryParameters:[P,fr,jn],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,et,tt,rt,Ee,ye,pe],isXML:!0,serializer:$e},FQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:hR},default:{bodyMapper:R,headersMapper:fR}},queryParameters:[P,fr,jn,IW],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,pe,CW],isXML:!0,serializer:$e},UQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gR},default:{bodyMapper:R,headersMapper:ER}},queryParameters:[P,ly],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:$e},qQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yR},default:{bodyMapper:R,headersMapper:CR}},queryParameters:[P,BW],urlParameters:[T],headerParameters:[v,k,q,wW,bW],isXML:!0,serializer:$e},GQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:IR},default:{bodyMapper:R,headersMapper:BR}},queryParameters:[Ds,P],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri],isXML:!0,serializer:$e},HQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wR},default:{bodyMapper:R,headersMapper:bR}},queryParameters:[P,fr,jn,VT],urlParameters:[T],headerParameters:[v,k,q,oe,dn,pn],isXML:!0,serializer:$e},zQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:QR},default:{bodyMapper:R,headersMapper:xR}},queryParameters:[P,fr,jn,VT],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:$e},VQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NR},default:{bodyMapper:R,headersMapper:SR}},queryParameters:[P,fr,jn,QW],urlParameters:[T],headerParameters:[v,k,q,xW],isXML:!0,serializer:$e},$Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:RR},default:{bodyMapper:R,headersMapper:TR}},queryParameters:[P,cy],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt],isXML:!0,serializer:$e},YQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PR},default:{bodyMapper:R,headersMapper:vR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,uy,Ay,dy,Ee,ye,pe],isXML:!0,serializer:$e},JQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kR},default:{bodyMapper:R,headersMapper:DR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,py,Xo,Ee,ye,pe],isXML:!0,serializer:$e},WQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_R},default:{bodyMapper:R,headersMapper:LR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,my,Ee,ye,pe],isXML:!0,serializer:$e},jQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:MR},default:{bodyMapper:R,headersMapper:OR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Xo,gy,Ey,Ee,ye,pe],isXML:!0,serializer:$e},KQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:FR},default:{bodyMapper:R,headersMapper:UR}},queryParameters:[P,_s],urlParameters:[T],headerParameters:[v,k,q,ie,oe,hy,fy,Ee,ye,pe],isXML:!0,serializer:$e},XQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qR},default:{bodyMapper:R,headersMapper:GR}},queryParameters:[P,NW],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt],isXML:!0,serializer:$e},ZQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:HR},default:{bodyMapper:R,headersMapper:zR}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,Ee,ye,pe,dn,pn,Wi,$T,si,ni,ii,oi,yy,Ac,mn,SW,ai],isXML:!0,serializer:$e},exe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:VR},default:{bodyMapper:R,headersMapper:$R}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,tr,ue,ie,oe,Ee,ye,pe,dn,pn,Bt,Wi,si,ni,ii,oi,Ac,mn,ai,RW,ji,Ki,Cy,Xi],isXML:!0,serializer:$e},txe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:YR},default:{bodyMapper:R,headersMapper:JR}},queryParameters:[P,TW,vW],urlParameters:[T],headerParameters:[v,k,q,ue,PW],isXML:!0,serializer:$e},rxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ty},202:{headersMapper:ty},default:{bodyMapper:R,headersMapper:WR}},queryParameters:[P,fr,jn,kW],urlParameters:[T],headerParameters:[v,k,q,ue,pe,$T,DW],isXML:!0,serializer:$e},sxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:jR},default:{bodyMapper:R,headersMapper:KR}},queryParameters:[Ds,P,Iu],urlParameters:[T],headerParameters:[v,k,q],isXML:!0,serializer:$e},nxe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ry},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ry},default:{bodyMapper:R,headersMapper:XR}},requestBody:_W,queryParameters:[P,fr,LW],urlParameters:[T],headerParameters:[Yn,ks,v,k,ue,ie,oe,et,tt,rt,Ee,ye,pe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$e},ixe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Dp,headersMapper:ZR},default:{bodyMapper:R,headersMapper:eT}},queryParameters:[P,fr,jn,YT],urlParameters:[T],headerParameters:[v,k,q,ue,pe,JT,WT,jT,KT],isXML:!0,serializer:$e},oxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:tT},default:{bodyMapper:R,headersMapper:rT}},requestBody:MW,queryParameters:[P,jn,YT],urlParameters:[T],headerParameters:[Yn,ks,v,k,ue,pe,JT,WT,jT,KT,Ls,ci],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$e};var Ty=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,s){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:s},axe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},cxe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},lxe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},uxe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Axe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},dxe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},pxe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},mxe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},hxe)}},Zi=cs(us,!0),axe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:sT},default:{bodyMapper:R,headersMapper:nT}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,Wi,mn,ai,OW,XT,ZT],isXML:!0,serializer:Zi},cxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:iT},default:{bodyMapper:R,headersMapper:oT}},requestBody:pc,queryParameters:[P,Iy],urlParameters:[T],headerParameters:[v,k,Mt,ue,ie,oe,uc,et,tt,rt,Ee,ye,pe,Bt,Ls,ci,dc,mc,eP,By,wy,by],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Zi},lxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aT},default:{bodyMapper:R,headersMapper:cT}},queryParameters:[P,Iy],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,ie,oe,uc,et,tt,rt,Ee,ye,pe,Bt,By,wy,by,FW],isXML:!0,serializer:Zi},uxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lT},default:{bodyMapper:R,headersMapper:uT}},queryParameters:[P,Iy],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,si,ni,ii,oi,ji,Ki,Xi,eP,By,wy,by,Bu,UW,wu,qW],isXML:!0,serializer:Zi},Axe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ZE,headersMapper:AT},default:{bodyMapper:R,headersMapper:dT}},queryParameters:[P,Jn,Wn,fr,tP],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,uc,Ee,ye,pe],isXML:!0,serializer:Zi},dxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ZE,headersMapper:pT},default:{bodyMapper:R,headersMapper:mT}},queryParameters:[P,Jn,Wn,fr,tP,GW],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,uc,Ee,ye,pe,HW],isXML:!0,serializer:Zi},pxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hT},default:{bodyMapper:R,headersMapper:fT}},queryParameters:[Ds,P],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,XT],isXML:!0,serializer:Zi},mxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gT},default:{bodyMapper:R,headersMapper:ET}},queryParameters:[Ds,P],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,pe,ZT,zW],isXML:!0,serializer:Zi},hxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:yT},default:{bodyMapper:R,headersMapper:CT}},queryParameters:[P,VW],urlParameters:[T],headerParameters:[v,k,q,ie,oe,Ee,ye,pe,Ac],isXML:!0,serializer:Zi};var Py=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},fxe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},gxe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},Exe)}seal(e){return this.client.sendOperationRequest({options:e},yxe)}},vy=cs(us,!0),fxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IT},default:{bodyMapper:R,headersMapper:BT}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,mn,ai,$W],isXML:!0,serializer:vy},gxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wT},default:{bodyMapper:R,headersMapper:bT}},requestBody:pc,queryParameters:[P,rP],urlParameters:[T],headerParameters:[v,k,Mt,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,Ls,ci,dc,mc,sP,Qy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:vy},Exe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QT},default:{bodyMapper:R,headersMapper:xT}},queryParameters:[P,rP],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,ie,oe,et,tt,rt,Ee,ye,pe,Bt,si,ni,ii,oi,ji,Ki,Xi,Ls,Bu,wu,sP,Qy,xy],isXML:!0,serializer:vy},yxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NT},default:{bodyMapper:R,headersMapper:ST}},queryParameters:[P,YW],urlParameters:[T],headerParameters:[v,k,q,ue,ie,oe,Ee,ye,Qy],isXML:!0,serializer:vy};var ky=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},Cxe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},Ixe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},Bxe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},wxe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},bxe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},Qxe)}},Qu=cs(us,!0),Cxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:RT},default:{bodyMapper:R,headersMapper:TT}},requestBody:pc,queryParameters:[P],urlParameters:[T],headerParameters:[v,k,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,Wi,mn,ai,Ls,ci,dc,mc,nP],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Qu},Ixe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PT},default:{bodyMapper:R,headersMapper:vT}},queryParameters:[P],urlParameters:[T],headerParameters:[v,k,q,Mt,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,Bt,Wi,si,ni,ii,oi,yy,Ac,mn,ji,Ki,Cy,Xi,Ls,nP,JW],isXML:!0,serializer:Qu},Bxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:kT},default:{bodyMapper:R,headersMapper:DT}},requestBody:pc,queryParameters:[P,iP,oP],urlParameters:[T],headerParameters:[v,k,Mt,ue,et,tt,rt,Bt,Ls,ci,dc,mc],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Qu},wxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_T},default:{bodyMapper:R,headersMapper:LT}},queryParameters:[P,iP,oP],urlParameters:[T],headerParameters:[v,k,q,Mt,ue,et,tt,rt,Bt,si,ni,ii,oi,ji,Ki,Xi,Bu,wu,xy],isXML:!0,serializer:Qu},bxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:MT},default:{bodyMapper:R,headersMapper:OT}},requestBody:WW,queryParameters:[P,aP],urlParameters:[T],headerParameters:[Yn,ks,v,k,tr,ue,ie,oe,et,tt,rt,Ee,ye,pe,Kn,Xn,Zn,ei,ti,ri,dn,pn,Bt,Wi,mn,ai,Ls,ci],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Qu},Qxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:dS,headersMapper:FT},default:{bodyMapper:R,headersMapper:UT}},queryParameters:[P,fr,aP,jW],urlParameters:[T],headerParameters:[v,k,q,ue,pe],isXML:!0,serializer:Qu};var Op=class extends Ep{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let s={requestContentType:"application/json; charset=utf-8"},n="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${n}`:`${n}`,a={...s,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new Ny(this),this.container=new Sy(this),this.blob=new Ry(this),this.pageBlob=new Ty(this),this.appendBlob=new Py(this),this.blockBlob=new ky(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Fp=class extends Op{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let s={...r};return(s.path==="/{containerName}"||s.path==="/{containerName}/{blob}")&&(s.path=""),super.sendOperationRequest(e,s)}};function XW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=Nxe(r),e.pathname=r,e.toString()}o(XW,"escapeURLPath");function xxe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let s of r)s.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=s.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(xxe,"getProxyUriFromDevConnString");function hc(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}o(hc,"getValueInConnString");function fc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=xxe(t),t=Y3);let r=hc(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let s="",n="",i=Buffer.from("accountKey","base64"),a="";if(n=hc(t,"AccountName"),i=Buffer.from(hc(t,"AccountKey"),"base64"),!r){s=hc(t,"DefaultEndpointsProtocol");let c=s.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=hc(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${s}://${n}.blob.${a}`}if(n){if(i.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:i,proxyUri:e}}else{let s=hc(t,"SharedAccessSignature"),n=hc(t,"AccountName");if(n||(n=AP(r)),r){if(!s)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return s.startsWith("?")&&(s=s.substring(1)),{kind:"SASConnString",url:r,accountName:n,accountSas:s}}}o(fc,"extractConnectionStringParts");function Nxe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(Nxe,"escape");function St(t,e){let r=new URL(t),s=r.pathname;return s=s?s.endsWith("/")?`${s}${e}`:`${s}/${e}`:e,r.pathname=s,r.toString()}o(St,"appendToURLPath");function xu(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(xu,"setURLParameter");function cP(t,e){return new URL(t).searchParams.get(e)??void 0}o(cP,"getURLParameter");function ZW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(ZW,"getURLScheme");function Up(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}o(Up,"appendToURLQuery");function be(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(be,"truncatedISO8061Date");function Sxe(t){return we?Buffer.from(t).toString("base64"):btoa(t)}o(Sxe,"base64encode");function lP(t,e){t.length>42&&(t=t.slice(0,42));let i=t+Rxe(e.toString(),48-t.length,"0");return Sxe(i)}o(lP,"generateBlockID");function Rxe(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(Rxe,"padStart");function uP(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(uP,"iEqual");function AP(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Dy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(AP,"getAccountNameFromUrl");function Dy(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&X3.includes(t.port)}o(Dy,"isIpEndpointStyle");function ea(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(s)}`)}return e.join("&")}o(ea,"toBlobTagsString");function e4(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.blobTagSet.push({key:r,value:s})}return e}o(e4,"toBlobTags");function _y(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(_y,"toTags");function dP(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(dP,"toQuerySerialization");function Ly(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let s=r.split("_"),n="or-";s[0].startsWith(n)&&(s[0]=s[0].substring(n.length));let i={ruleId:s[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===s[0]);a>-1?e[a].rules.push(i):e.push({policyId:s[0],rules:[i]})}return e}o(Ly,"parseObjectReplicationRecord");function Nu(t){return t?t.scheme+" "+t.value:void 0}o(Nu,"httpAuthorizationToString");function*pP(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let s=0,n=0;for(;s0&&s.length>0&&e.push(`${r}=${s}`))}};function qp(t,e,r){return Gp(t,e,r).sasQueryParameters}o(qp,"generateBlobSASQueryParameters");function Gp(t,e,r){let s=t.version?t.version:KE,n=e instanceof Ze?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new WE(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?vxe(t,n):s>="2025-07-05"?Lxe(t,i):_xe(t,i);if(s>="2018-11-09")return n!==void 0?Pxe(t,n):s>="2020-02-10"?Dxe(t,i):kxe(t,i);if(s>="2015-04-05"){if(n!==void 0)return Txe(t,n);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(Gp,"generateBlobSASQueryParametersInternal");function Txe(t,e){if(t=Ec(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let s;t.permissions&&(t.blobName?s=li.parse(t.permissions.toString()).toString():s=ui.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),i=e.computeHMACSHA256(n);return{sasQueryParameters:new fn(t.version,i,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}o(Txe,"generateBlobSASQueryParameters20150405");function Pxe(t,e){if(t=Ec(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(Pxe,"generateBlobSASQueryParameters20181109");function vxe(t,e){if(t=Ec(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(vxe,"generateBlobSASQueryParameters20201206");function kxe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(kxe,"generateBlobSASQueryParametersUDK20181109");function Dxe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(Dxe,"generateBlobSASQueryParametersUDK20200210");function _xe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(_xe,"generateBlobSASQueryParametersUDK20201206");function Lxe(t,e){if(t=Ec(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=li.parse(t.permissions.toString()).toString():n=ui.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?be(t.startsOn,!1):"",t.expiresOn?be(t.expiresOn,!1):"",gc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?hn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new fn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(Lxe,"generateBlobSASQueryParametersUDK20250705");function gc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(gc,"getCanonicalName");function Ec(t){let e=t.version?t.version:KE;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Ec,"SASSignatureValuesSanityCheckAndAutofill");var Hp=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=du()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==An||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==An||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-acquireLease",r,async s=>Y(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==An||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==An||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=Y(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==An||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==An||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-releaseLease",e,async r=>Y(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==An||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==An||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==An||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==An||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-breakLease",r,async s=>{let n={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions};return Y(await this._containerOrBlobOperation.breakLease(n))})}};var r4=require("node:stream");var My=class extends r4.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,s,n,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=s,this.offset=s,this.end=s+n-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=o(e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()},"sourceDataHandler");sourceAbortedHandler=o(()=>{let e=new os("The operation was aborted.");this.destroy(e)},"sourceAbortedHandler");sourceErrorOrEndHandler=o(e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var Oy=class{static{o(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return we?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new My(this.originalResponse.readableStreamBody,r,s,n,i)}};var c4=require("node:stream");var mP=new Uint8Array([79,98,106,1]),s4="avro.codec",n4="avro.schema";var We=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,s={}){let n=await e.read(r,{abortSignal:s.abortSignal});if(n.length!==r)throw new Error("Hit stream end.");return n}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let s=0,n=0,i,a,c;do i=await t.readByte(e,r),a=i&128,s|=(i&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return s>>1^-(s&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let s=await t.readByte(e,r);if(s===1)return!0;if(s===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let s=await t.readFixedBytes(e,4,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let s=await t.readFixedBytes(e,8,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let s=await t.readLong(e,r);if(s<0)throw new Error("Bytes size was negative.");return e.read(s,{abortSignal:r.abortSignal})}static async readString(e,r={}){let s=await t.readBytes(e,r);return new TextDecoder().decode(s)}static async readMapPair(e,r,s={}){let n=await t.readString(e,s),i=await r(e,s);return{key:n,value:i}}static async readMap(e,r,s={}){let n=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),i=await t.readArray(e,n,s),a={};for(let c of i)a[c.key]=c.value;return a}static async readArray(e,r,s={}){let n=[];for(let i=await t.readLong(e,s);i!==0;i=await t.readLong(e,s))for(i<0&&(await t.readLong(e,s),i=-i);i--;){let a=await r(e,s);n.push(a)}return n}},yc;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(yc||(yc={}));var Ut;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(Ut||(Ut={}));var eo=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Ut.NULL:case Ut.BOOLEAN:case Ut.INT:case Ut.LONG:case Ut.FLOAT:case Ut.DOUBLE:case Ut.BYTES:case Ut.STRING:return new hP(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new gP(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case yc.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let s={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let n of e.fields)s[n.name]=t.fromSchema(n.type);return new yP(s,e.name);case yc.ENUM:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new fP(e.symbols);case yc.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new EP(t.fromSchema(e.values));case yc.ARRAY:case yc.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},hP=class extends eo{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Ut.NULL:return We.readNull();case Ut.BOOLEAN:return We.readBoolean(e,r);case Ut.INT:return We.readInt(e,r);case Ut.LONG:return We.readLong(e,r);case Ut.FLOAT:return We.readFloat(e,r);case Ut.DOUBLE:return We.readDouble(e,r);case Ut.BYTES:return We.readBytes(e,r);case Ut.STRING:return We.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},fP=class extends eo{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await We.readInt(e,r);return this._symbols[s]}},gP=class extends eo{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await We.readInt(e,r);return this._types[s].read(e,r)}},EP=class extends eo{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let s=o((n,i)=>this._itemType.read(n,i),"readItemMethod");return We.readMap(e,s,r)}},yP=class extends eo{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let s={};s.$schema=this._name;for(let n in this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(s[n]=await this._fields[n].read(e,r));return s}};function CP(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r0)for(let i=0;i0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let s=await We.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!CP(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await We.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await We.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var Vp=class{static{o(this,"AvroReadable")}};var a4=require("buffer");var o4=new os("Reading from the avro stream was aborted."),$p=class extends Vp{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?a4.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw o4;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let s=this._readable.read(e);return s?(this._position+=s.length,this.toUint8Array(s)):new Promise((n,i)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",u)},"cleanUp"),c=o(()=>{let A=this._readable.read(e);A&&(this._position+=A.length,a(),n(this.toUint8Array(A)))},"readableCallback"),l=o(()=>{a(),i()},"rejectCallback"),u=o(()=>{a(),i(o4)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",u)})}};var Fy=class extends c4.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new zp(new $p(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,s=r.$schema;if(typeof s!="string")throw Error("Missing schema in avro record.");switch(s){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let n=r.data;if(!(n instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(n))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let n=r.bytesScanned;if(typeof n!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:n})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let n=r.totalBytes;if(typeof n!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:n})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let n=r.fatal;if(typeof n!="boolean")throw Error("Invalid fatal in avro error record.");let i=r.name;if(typeof i!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:i,isFatal:n,description:a})}break;default:throw Error(`Unknown schema ${s} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Uy=class{static{o(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return we?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Fy(this.originalResponse.readableStreamBody,r)}};var IP;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(IP||(IP={}));var BP;(function(t){t.P4="P4",t.P6="P6",t.P10="P10",t.P15="P15",t.P20="P20",t.P30="P30",t.P40="P40",t.P50="P50",t.P60="P60",t.P70="P70",t.P80="P80"})(BP||(BP={}));function ta(t){if(t!==void 0)return t}o(ta,"toAccessTier");function Rt(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=$3)}o(Rt,"ensureCpkIfSpecified");var wP;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(wP||(wP={}));function qy(t){let e=(t._response.parsedBody.pageRange||[]).map(s=>({offset:s.start,count:s.end-s.start})),r=(t._response.parsedBody.clearRange||[]).map(s=>({offset:s.start,count:s.end-s.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(qy,"rangeResponseFromModel");var Y4=b($4(),1);var Ky=class extends Y4.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:s,intervalInMs:n=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=jp({...l,blobClient:r,copySource:s,startCopyFromURLOptions:c});super(u),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return cp(this.intervalInMs)}},k0e=o(async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?jp(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,jp(r)):(r.isCancelled=!0,jp(r))},"cancel"),D0e=o(async function(e={}){let r=this.state,{blobClient:s,copySource:n,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,u=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==u&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await s.startCopyFromURL(n,i);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return jp(r)},"update"),_0e=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function jp(t){return{state:{...t},cancel:k0e,toString:_0e,update:D0e}}o(jp,"makeBlobBeginCopyFromURLPollOperation");function Mr(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(Mr,"rangeToString");var J4=require("events");var Kp;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Kp||(Kp={}));var Xp=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=Kp.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new J4.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",s=>{this.state=Kp.Error,r(s)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{let u=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=a){clearTimeout(u),c();return}let A=t.read();if(!A)return;typeof A=="string"&&(A=Buffer.from(A,n));let d=i+A.length>a?a-i:A.length;e.fill(A.slice(0,d),r+i,r+i+d),i+=d}),t.on("end",()=>{clearTimeout(u),i{clearTimeout(u),l(A)})})}o(j4,"streamToBuffer");async function K4(t,e){return new Promise((r,s)=>{let n=Xy.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}o(K4,"readStreamToLocalFile");var X4=W4.default.promisify(Xy.default.stat),Z4=Xy.default.createReadStream;var to=class t extends Su{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,s,n){n=n||{};let i,a;if(Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=cP(this.url,Yi.Parameters.SNAPSHOT),this._versionId=cP(this.url,Yi.Parameters.VERSIONID)}withSnapshot(e){return new t(xu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(xu(this.url,Yi.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new eC(this.url,this.pipeline)}getBlockBlobClient(){return new Pu(this.url,this.pipeline)}getPageBlobClient(){return new tC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},Rt(s.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-download",s,async n=>{let i=Y(await this.blobContext.download({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onDownloadProgress:we?void 0:s.onProgress},range:e===0&&!r?void 0:Mr({offset:e,count:r}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey,tracingOptions:n.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:Ly(i.objectReplicationRules)};if(!we)return a;if((s.maxRetryRequests===void 0||s.maxRetryRequests<0)&&(s.maxRetryRequests=5),i.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!i.etag)throw new RangeError("File download response doesn't contain valid etag header");return new Oy(a,async c=>{let l={leaseAccessConditions:s.conditions,modifiedAccessConditions:{ifMatch:s.conditions.ifMatch||i.etag,ifModifiedSince:s.conditions.ifModifiedSince,ifNoneMatch:s.conditions.ifNoneMatch,ifUnmodifiedSince:s.conditions.ifUnmodifiedSince,ifTags:s.conditions?.tagConditions},range:Mr({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey};return(await this.blobContext.download({abortSignal:s.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:s.maxRetryRequests,onProgress:s.onProgress})})}async exists(e={}){return H.withSpan("BlobClient-exists",e,async r=>{try{return Rt(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(s){if(s.statusCode===404)return!1;if(s.statusCode===409&&(s.details.errorCode===j3||s.details.errorCode===K3))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},Rt(e.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-getProperties",e,async r=>{let s=Y(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:Ly(s.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},H.withSpan("BlobClient-delete",e,async r=>Y(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return H.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let s=Y(await this.delete(r));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobNotFound")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async undelete(e={}){return H.withSpan("BlobClient-undelete",e,async r=>Y(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-setHTTPHeaders",r,async s=>Y(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-setMetadata",r,async s=>Y(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async setTags(e,r={}){return H.withSpan("BlobClient-setTags",r,async s=>Y(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:s.tracingOptions,tags:e4(e)})))}async getTags(e={}){return H.withSpan("BlobClient-getTags",e,async r=>{let s=Y(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,tags:_y({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Hp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Rt(e.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-createSnapshot",e,async r=>Y(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let s={abortCopyFromURL:o((...i)=>this.abortCopyFromURL(...i),"abortCopyFromURL"),getProperties:o((...i)=>this.getProperties(...i),"getProperties"),startCopyFromURL:o((...i)=>this.startCopyFromURL(...i),"startCopyFromURL")},n=new Ky({blobClient:s,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await n.poll(),n}async abortCopyFromURL(e,r={}){return H.withSpan("BlobClient-abortCopyFromURL",r,async s=>Y(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:s.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},H.withSpan("BlobClient-syncCopyFromURL",r,async s=>Y(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:Nu(r.sourceAuthorization),tier:ta(r.tier),blobTagsString:ea(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async setAccessTier(e,r={}){return H.withSpan("BlobClient-setAccessTier",r,async s=>Y(await this.blobContext.setTier(ta(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:s.tracingOptions})))}async downloadToBuffer(e,r,s,n={}){let i,a=0,c=0,l=n;e instanceof Buffer?(i=e,a=r||0,c=typeof s=="number"?s:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=s||{});let u=l.blockSize??0;if(u<0)throw new RangeError("blockSize option must be >= 0");if(u===0&&(u=4194304),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),H.withSpan("BlobClient-downloadToBuffer",l,async A=>{if(!c){let m=await this.getProperties({...l,tracingOptions:A.tracingOptions});if(c=m.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${m.contentLength}`)}if(!i)try{i=Buffer.alloc(c)}catch(m){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${m.message}`)}if(i.length{let h=a+c;m+u{let a=await this.download(r,s,{...n,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await K4(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let s=new URL(this.url);if(s.host.split(".")[1]==="blob"){let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}else if(Dy(s)){let n=s.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2],r=n[4]}else{let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return H.withSpan("BlobClient-startCopyFromURL",r,async s=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Y(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:ta(r.tier),blobTagsString:ea(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Ze))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=qp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Up(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof Ze))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Gp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(s=>{let n=qp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(Up(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return Gp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return H.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Y(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return H.withSpan("BlobClient-setImmutabilityPolicy",r,async s=>Y(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:s.tracingOptions})))}async setLegalHold(e,r={}){return H.withSpan("BlobClient-setLegalHold",r,async s=>Y(await this.blobContext.setLegalHold(e,{tracingOptions:s.tracingOptions})))}async getAccountInfo(e={}){return H.withSpan("BlobClient-getAccountInfo",e,async r=>Y(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},eC=class t extends to{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(xu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Rt(e.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-create",e,async r=>Y(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:ea(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:rS};return H.withSpan("AppendBlobClient-createIfNotExists",e,async s=>{try{let n=Y(await this.create({...s,conditions:r}));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async seal(e={}){return e.conditions=e.conditions||{},H.withSpan("AppendBlobClient-seal",e,async r=>Y(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,s={}){return s.conditions=s.conditions||{},Rt(s.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-appendBlock",s,async n=>Y(await this.appendBlobContext.appendBlock(r,e,{abortSignal:s.abortSignal,appendPositionAccessConditions:s.conditions,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async appendBlockFromURL(e,r,s,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},Rt(n.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>Y(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:Mr({offset:r,count:s}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Nu(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Pu=class t extends to{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(xu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Rt(r.customerProvidedKey,this.isHttps),!we)throw new Error("This operation currently is only supported in Node.js.");return H.withSpan("BlockBlobClient-query",r,async s=>{let n=Y(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:dP(r.inputTextConfiguration),outputSerialization:dP(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new Uy(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},Rt(s.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-upload",s,async n=>Y(await this.blockBlobContext.upload(r,e,{abortSignal:s.abortSignal,blobHttpHeaders:s.blobHTTPHeaders,leaseAccessConditions:s.conditions,metadata:s.metadata,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,immutabilityPolicyExpiry:s.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:s.immutabilityPolicy?.policyMode,legalHold:s.legalHold,tier:ta(s.tier),blobTagsString:ea(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-syncUploadFromURL",r,async s=>Y(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:Nu(r.sourceAuthorization),tier:ta(r.tier),blobTagsString:ea(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return Rt(n.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-stageBlock",n,async i=>Y(await this.blockBlobContext.stageBlock(e,s,r,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,s=0,n,i={}){return Rt(i.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>Y(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:s===0&&!n?void 0:Mr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Nu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-commitBlockList",r,async s=>Y(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:ta(r.tier),blobTagsString:ea(r.tags),tracingOptions:s.tracingOptions})))}async getBlockList(e,r={}){return H.withSpan("BlockBlobClient-getBlockList",r,async s=>{let n=Y(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return n.committedBlocks||(n.committedBlocks=[]),n.uncommittedBlocks||(n.uncommittedBlocks=[]),n})}async uploadData(e,r={}){return H.withSpan("BlockBlobClient-uploadData",r,async s=>{if(we){let n;return e instanceof Buffer?n=e:e instanceof ArrayBuffer?n=Buffer.from(e):(e=e,n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.byteLength,s)}else{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)}})}async uploadBrowserData(e,r={}){return H.withSpan("BlockBlobClient-uploadBrowserData",r,async s=>{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)})}async uploadSeekableInternal(e,r,s={}){let n=s.blockSize??0;if(n<0||n>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=s.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(n===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(n=Math.ceil(r/5e4),n<4194304&&(n=4194304))}return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),H.withSpan("BlockBlobClient-uploadSeekableInternal",s,async a=>{if(r<=i)return Y(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/n)+1;if(c>5e4)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${5e4}`);let l=[],u=du(),A=0,d=new Xp(s.concurrency);for(let p=0;p{let m=lP(u,p),h=n*p,C=(p===c-1?r:h+n)-h;l.push(m),await this.stageBlock(m,e(h,C),C,{abortSignal:s.abortSignal,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:a.tracingOptions}),A+=C,s.onProgress&&s.onProgress({loadedBytes:A})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return H.withSpan("BlockBlobClient-uploadFile",r,async s=>{let n=(await X4(e)).size;return this.uploadSeekableInternal((i,a)=>()=>Z4(e,{autoClose:!0,end:a?i+a-1:1/0,start:i}),n,{...r,tracingOptions:s.tracingOptions})})}async uploadStream(e,r=8388608,s=5,n={}){return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),H.withSpan("BlockBlobClient-uploadStream",n,async i=>{let a=0,c=du(),l=0,u=[];return await new HE(e,r,s,async(d,p)=>{let m=lP(c,a);u.push(m),a++,await this.stageBlock(m,d,p,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}),l+=p,n.onProgress&&n.onProgress({loadedBytes:l})},Math.ceil(s/4*3)).do(),Y(await this.commitBlockList(u,{...n,tracingOptions:i.tracingOptions}))})}},tC=class t extends to{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},Ji(r))a=e,i=r;else if(we&&r instanceof Ze||r instanceof Ve||as(r))a=e,n=s,i=At(r,n);else if(!r&&typeof r!="string")a=e,i=At(new Ve,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=fc(e);if(u.kind==="AccountConnString")if(we){let A=new Ze(u.accountName,u.accountKey);a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=$o(u.proxyUri)),i=At(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=St(St(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=At(new Ve,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(xu(this.url,Yi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Rt(r.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-create",r,async s=>Y(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:ta(r.tier),blobTagsString:ea(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return H.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:rS},i=Y(await this.create(e,{...r,conditions:n,tracingOptions:s.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async uploadPages(e,r,s,n={}){return n.conditions=n.conditions||{},Rt(n.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-uploadPages",n,async i=>Y(await this.pageBlobContext.uploadPages(s,e,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:Mr({offset:r,count:s}),sequenceNumberAccessConditions:n.conditions,transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,s,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Rt(i.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>Y(await this.pageBlobContext.uploadPagesFromURL(e,Mr({offset:r,count:n}),0,Mr({offset:s,count:n}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Nu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,s={}){return s.conditions=s.conditions||{},H.withSpan("PageBlobClient-clearPages",s,async n=>Y(await this.pageBlobContext.clearPages(0,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Mr({offset:e,count:r}),sequenceNumberAccessConditions:s.conditions,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async getPageRanges(e=0,r,s={}){return s.conditions=s.conditions||{},H.withSpan("PageBlobClient-getPageRanges",s,async n=>{let i=Y(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Mr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return qy(i)})}async listPageRangesSegment(e=0,r,s,n={}){return H.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>Y(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Mr({offset:e,count:r}),marker:s,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,s,n={}){let i;if(s||s===void 0)do i=await this.listPageRangesSegment(e,r,s,n),s=i.continuationToken,yield await i;while(s)}async*listPageRangeItems(e=0,r,s={}){let n;for await(let i of this.listPageRangeItemSegments(e,r,n,s))yield*pP(i)}listPageRanges(e=0,r,s={}){s.conditions=s.conditions||{};let n=this.listPageRangeItems(e,r,s);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:o((i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...s}),"byPage")}}async getPageRangesDiff(e,r,s,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:s,range:Mr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return qy(a)})}async listPageRangesDiffSegment(e,r,s,n,i={}){return H.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:s,range:Mr({offset:e,count:r}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,s,n,i){let a;if(n||n===void 0)do a=await this.listPageRangesDiffSegment(e,r,s,n,i),n=a.continuationToken,yield await a;while(n)}async*listPageRangeDiffItems(e,r,s,n){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,s,i,n))yield*pP(a)}listPageRangesDiff(e,r,s,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeDiffItems(e,r,s,{...n});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,s,a.continuationToken,{maxPageSize:a.maxPageSize,...n}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,s,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:s,range:Mr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return qy(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},H.withSpan("PageBlobClient-resize",r,async s=>Y(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async updateSequenceNumber(e,r,s={}){return s.conditions=s.conditions||{},H.withSpan("PageBlobClient-updateSequenceNumber",s,async n=>Y(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:s.abortSignal,blobSequenceNumber:r,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async startCopyIncremental(e,r={}){return H.withSpan("PageBlobClient-startCopyIncremental",r,async s=>Y(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}};var e8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(e8||(e8={}));var t8;(function(t){t.AES256="AES256"})(t8||(t8={}));var rC=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var vu=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e} +If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};vu.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Bc=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. +More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Bc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Zp=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var $0e=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},YP=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);re(`Sent ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function r8(t,e,r){return $0e(this,void 0,void 0,function*(){var s;let n=new to(t),i=n.getBlockBlobClient(),a=new YP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),w(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new rC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw It(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(r8,"uploadCacheArchiveSDK");var n8=b(require("buffer"),1),Ai=b(require("fs"),1),i8=b(require("stream"),1),o8=b(require("util"),1);var sC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function nC(t){return t?t>=200&&t<300:!1}o(nC,"isSuccessStatusCode");function Y0e(t){return t?t>=500:!0}o(Y0e,"isServerErrorStatusCode");function J0e(t){return t?[Xe.BadGateway,Xe.ServiceUnavailable,Xe.GatewayTimeout].includes(t):!1}o(J0e,"isRetryableStatusCode");function W0e(t){return sC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(W0e,"sleep");function s8(t,e,r){return sC(this,arguments,void 0,function*(s,n,i,a=Ng,c=Sg,l=void 0){let u="",A=1;for(;A<=a;){let d,p,m=!1;try{d=yield n()}catch(h){l&&(d=l(h)),m=!0,u=h.message}if(d&&(p=i(d),!Y0e(p)))return d;if(p&&(m=J0e(p),u=`Cache service responded with ${p}`),w(`${s} - Attempt ${A} of ${a} failed with error: ${u}`),!m){w(`${s} - Error is not retryable`);break}yield W0e(c),A++}throw Error(`${s} failed: ${u}`)})}o(s8,"retry");function em(t,e){return sC(this,arguments,void 0,function*(r,s,n=Ng,i=Sg){return yield s8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Mn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(em,"retryTypedResponse");function ku(t,e){return sC(this,arguments,void 0,function*(r,s,n=Ng,i=Sg){return yield s8(r,s,a=>a.message.statusCode,n,i)})}o(ku,"retryHttpClientResponse");var Ms=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function j0e(t,e){return Ms(this,void 0,void 0,function*(){yield o8.promisify(i8.pipeline)(t.message,e)})}o(j0e,"pipeResponseToStream");var iC=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,w(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);re(`Received ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function oC(t,e){return Ms(this,void 0,void 0,function*(){let r=Ai.createWriteStream(e),s=new Gi("actions/cache"),n=yield ku("downloadCache",()=>Ms(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(g0,()=>{n.message.destroy(),w(`Aborting download, socket timed out after ${g0} ms`)}),yield j0e(n,r);let i=n.message.headers["content-length"];if(i){let a=parseInt(i),c=Ln(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else w("Unable to validate download, no Content-Length header")})}o(oC,"downloadCacheHttpClient");function a8(t,e,r){return Ms(this,void 0,void 0,function*(){var s;let n=yield Ai.promises.open(e,"w"),i=new Gi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield ku("downloadCacheMetadata",()=>Ms(this,void 0,void 0,function*(){return yield i.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let u=[],A=4*1024*1024;for(let y=0;yMs(this,void 0,void 0,function*(){return yield K0e(i,t,y,I)}),"promiseGetter")})}u.reverse();let d=0,p=0,m=new iC(l);m.startDisplayTimer();let h=m.onProgress(),f=[],C,E=o(()=>Ms(this,void 0,void 0,function*(){let y=yield Promise.race(Object.values(f));yield n.write(y.buffer,0,y.count,y.offset),d--,delete f[y.offset],p+=y.count,h({loadedBytes:p})}),"waitAndWrite");for(;C=u.pop();)f[C.offset]=C.promiseGetter(),d++,d>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)&&(yield E());for(;d>0;)yield E()}finally{i.dispose(),yield n.close()}})}o(a8,"downloadCacheHttpClientConcurrent");function K0e(t,e,r,s){return Ms(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield l8(3e4,X0e(t,e,r,s));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(i>=5)throw a;i++}})}o(K0e,"downloadSegmentRetry");function X0e(t,e,r,s){return Ms(this,void 0,void 0,function*(){let n=yield ku("downloadCachePart",()=>Ms(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+s-1}`})}));if(!n.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:s,buffer:yield n.readBodyBuffer()}})}o(X0e,"downloadSegment");function c8(t,e,r){return Ms(this,void 0,void 0,function*(){var s;let n=new Pu(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(s=(yield n.getProperties()).contentLength)!==null&&s!==void 0?s:-1;if(a<0)w("Unable to determine content length, downloading file with http-client..."),yield oC(t,e);else{let c=Math.min(134217728,n8.constants.MAX_LENGTH),l=new iC(a),u=Ai.openSync(e,"w");try{l.startDisplayTimer();let A=new AbortController,d=A.signal;for(;!l.isDone();){let p=l.segmentOffset+l.segmentSize,m=Math.min(c,a-p);l.nextSegment(m);let h=yield l8(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(p,m,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw A.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&Ai.writeFileSync(u,h)}}finally{l.stopDisplayTimer(),Ai.closeSync(u)}}})}o(c8,"downloadCacheStorageSDK");var l8=o((t,e)=>Ms(void 0,void 0,void 0,function*(){let r,s=new Promise(n=>{r=setTimeout(()=>n("timeout"),t)});return Promise.race([e,s]).then(n=>(clearTimeout(r),n))}),"promiseWithTimeout");function JP(t){let e={useAzureSdk:!1,uploadConcurrency:4,uploadChunkSize:33554432};return t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.uploadConcurrency=="number"&&(e.uploadConcurrency=t.uploadConcurrency),typeof t.uploadChunkSize=="number"&&(e.uploadChunkSize=t.uploadChunkSize)),e.uploadConcurrency=isNaN(Number(process.env.CACHE_UPLOAD_CONCURRENCY))?e.uploadConcurrency:Math.min(32,Number(process.env.CACHE_UPLOAD_CONCURRENCY)),e.uploadChunkSize=isNaN(Number(process.env.CACHE_UPLOAD_CHUNK_SIZE))?e.uploadChunkSize:Math.min(128*1024*1024,Number(process.env.CACHE_UPLOAD_CHUNK_SIZE)*1024*1024),w(`Use Azure SDK: ${e.useAzureSdk}`),w(`Upload concurrency: ${e.uploadConcurrency}`),w(`Upload chunk size: ${e.uploadChunkSize}`),e}o(JP,"getUploadOptions");function u8(t){let e={useAzureSdk:!1,concurrentBlobDownloads:!0,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:!1};t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.concurrentBlobDownloads=="boolean"&&(e.concurrentBlobDownloads=t.concurrentBlobDownloads),typeof t.downloadConcurrency=="number"&&(e.downloadConcurrency=t.downloadConcurrency),typeof t.timeoutInMs=="number"&&(e.timeoutInMs=t.timeoutInMs),typeof t.segmentTimeoutInMs=="number"&&(e.segmentTimeoutInMs=t.segmentTimeoutInMs),typeof t.lookupOnly=="boolean"&&(e.lookupOnly=t.lookupOnly));let r=process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS;return r&&!isNaN(Number(r))&&isFinite(Number(r))&&(e.segmentTimeoutInMs=Number(r)*60*1e3),w(`Use Azure SDK: ${e.useAzureSdk}`),w(`Download concurrency: ${e.downloadConcurrency}`),w(`Request timeout (ms): ${e.timeoutInMs}`),w(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),w(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),w(`Lookup only: ${e.lookupOnly}`),e}o(u8,"getDownloadOptions");function WP(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",s=e.endsWith(".GHE.COM"),n=e.endsWith(".LOCALHOST");return!r&&!s&&!n}o(WP,"isGhes");function tm(){return WP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(tm,"getCacheServiceVersion");var A8=["none","read","write","write-only"];function jP(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(jP,"getCacheMode");function d8(t){return A8.includes(t)?t==="read"||t==="write":!0}o(d8,"isCacheReadable");function p8(t){return A8.includes(t)?t==="write"||t==="write-only":!0}o(p8,"isCacheWritable");function aC(){let t=tm();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(aC,"getCacheServiceURL");var g8=b(f8(),1);function cC(){return`@actions/cache-${g8.version}`}o(cC,"getUserAgentString");var Or=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function rm(t){let e=aC();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return w(`Resource Url: ${r}`),r}o(rm,"getCacheApiUrl");function tNe(t,e){return`${t};api-version=${e}`}o(tNe,"createAcceptHeader");function rNe(){return{headers:{Accept:tNe("application/json","6.0-preview.1")}}}o(rNe,"getRequestOptions");function KP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new nu(t);return new Gi(cC(),[e],rNe())}o(KP,"createHttpClient");function C8(t,e,r){return Or(this,void 0,void 0,function*(){var s;let n=KP(),i=su(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield em("getCacheEntry",()=>Or(this,void 0,void 0,function*(){return n.getJson(rm(a))}));if(c.statusCode===204)return za()&&(yield sNe(t[0],n,i)),null;if(!nC(c.statusCode)){let A=(s=c.error)===null||s===void 0?void 0:s.message;throw A?.includes(Rg)?new Error(A):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,u=l?.archiveLocation;if(!u)throw new Error("Cache not found.");return ql(u),w("Cache Result:"),w(JSON.stringify(l)),l})}o(C8,"getCacheEntry");function sNe(t,e,r){return Or(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield em("listCache",()=>Or(this,void 0,void 0,function*(){return e.getJson(rm(s))}));if(n.statusCode===200){let i=n.result,a=i?.totalCount;if(a&&a>0){w(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key +Other caches with similar key:`);for(let c of i?.artifactCaches||[])w(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(sNe,"printCachesListForDiagnostics");function XP(t,e,r){return Or(this,void 0,void 0,function*(){let s=new y8.URL(t),n=u8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield c8(t,e,n):n.concurrentBlobDownloads?yield a8(t,e,n):yield oC(t,e):yield oC(t,e)})}o(XP,"downloadCache");function I8(t,e,r){return Or(this,void 0,void 0,function*(){let s=KP(),n=su(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield em("reserveCache",()=>Or(this,void 0,void 0,function*(){return s.postJson(rm("caches"),i)}))})}o(I8,"reserveCache");function E8(t,e){return`bytes ${t}-${e}/*`}o(E8,"getContentRange");function nNe(t,e,r,s,n){return Or(this,void 0,void 0,function*(){w(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${E8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":E8(s,n)},a=yield ku(`uploadChunk (start: ${s}, end: ${n})`,()=>Or(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!nC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(nNe,"uploadChunk");function iNe(t,e,r,s){return Or(this,void 0,void 0,function*(){let n=Ln(r),i=rm(`caches/${e.toString()}`),a=Du.openSync(r,"r"),c=JP(s),l=I0("uploadConcurrency",c.uploadConcurrency),u=I0("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];w("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>Or(this,void 0,void 0,function*(){for(;dDu.createReadStream(r,{fd:a,start:m,end:h,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),m,h)}})))}finally{Du.closeSync(a)}})}o(iNe,"uploadFile");function oNe(t,e,r){return Or(this,void 0,void 0,function*(){let s={size:r};return yield em("commitCache",()=>Or(this,void 0,void 0,function*(){return t.postJson(rm(`caches/${e.toString()}`),s)}))})}o(oNe,"commitCache");function ZP(t,e,r,s){return Or(this,void 0,void 0,function*(){if(JP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield r8(r,e,s)}else{let i=KP();w("Upload cache"),yield iNe(i,t,e,s),w("Commiting cache");let a=Ln(e);re(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield oNe(i,t,a);if(!nC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);re("Cache saved successfully")}})}o(ZP,"saveCache");var h5=b(c5(),1),mt=b(pt(),1),ds=b(pt(),1),Nc=b(pt(),1),Sc=b(pt(),1),Rc=b(pt(),1);var Yv=b(pt(),1),Jv=b(pt(),1),d5=b(pt(),1),p5=b(pt(),1),m5=b(pt(),1);var zv=b(pt(),1),Vv=b(pt(),1),l5=b(pt(),1),u5=b(pt(),1),A5=b(pt(),1);var $v=class extends A5.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,u5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,l5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posYC,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,p5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,d5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posfi,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,Sc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posfi,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,Sc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posfi,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,Sc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.possk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=nk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>ik.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=ok.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>ak.fromJson(n,{ignoreUnknownFields:!0}))}};function f5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(ql(r),ql(encodeURIComponent(r)))}catch(e){w(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(f5,"maskSigUrl");function g5(t){if(typeof t!="object"||t===null){w("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&f5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&f5(t.signed_download_url)}o(g5,"maskSecretUrls");var WC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ck=class{static{o(this,"CacheServiceClient")}constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=q$();this.baseUrl=aC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new Gi(e,[new nu(i)])}request(e,r,s,n){return WC(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;w(`[Request] ${r} ${i}`);let a={"Content-Type":s};try{let{body:c}=yield this.retryableRequest(()=>WC(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(n),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return WC(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&It(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new Zp(`Rate limited: ${s}`)}}catch(c){if(c instanceof SyntaxError&&w(`Raw Body: ${n}`),c instanceof Bc||c instanceof Zp)throw c;if(vu.isNetworkErrorCode(c?.code))throw new vu(c?.code);i=!0,s=c.message}if(!i)throw new Error(`Received non-retryable error: ${s}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${s}`);let a=this.getExponentialRetryTimeMilliseconds(r);re(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${s}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Xe.BadGateway,Xe.GatewayTimeout,Xe.InternalServerError,Xe.ServiceUnavailable].includes(e):!1}sleep(e){return WC(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),s=r*this.retryMultiplier;return Math.trunc(Math.random()*(s-r)+r)}};function lk(t){let e=new ck(cC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new JC(e)}o(lk,"internalCacheTwirpClient");var jC=require("fs"),qr=b(require("path"),1);var gi=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ia=process.platform==="win32";function fRe(){return gi(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield U$(),e=L$;if(t)return{path:t,type:ts.GNU};if((0,jC.existsSync)(e))return{path:e,type:ts.BSD};break}case"darwin":{let t=yield Nr("gtar",!1);return t?{path:t,type:ts.GNU}:{path:yield Nr("tar",!0),type:ts.BSD}}default:break}return{path:yield Nr("tar",!0),type:ts.GNU}})}o(fRe,"getTarPath");function gRe(t,e,r){return gi(this,arguments,void 0,function*(s,n,i,a=""){let c=[`"${s.path}"`],l=Go(n),u="cache.tar",A=y5(),d=s.type===ts.BSD&&n!==dr.Gzip&&ia;switch(i){case"create":c.push("--posix","-cf",d?u:l.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"--exclude",d?u:l.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"--files-from",y0);break;case"extract":c.push("-xf",d?u:a.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"-P","-C",d?uk(A):A.replace(new RegExp(`\\${qr.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?u:a.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),"-P");break}if(s.type===ts.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(gRe,"getTarArgs");function E5(t,e){return gi(this,arguments,void 0,function*(r,s,n=""){let i,a=yield fRe(),c=yield gRe(a,r,s,n),l=s!=="create"?yield ERe(a,r,n):yield yRe(a,r),u=a.type===ts.BSD&&r!==dr.Gzip&&ia;return u&&s!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],{commands:u?i:[i.join(" ")],requiresTempDirectory:u&&s!=="create"}})}o(E5,"getCommands");function y5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(y5,"getWorkingDirectory");function uk(t){return`"${qr.resolve(t).replace(new RegExp(`\\${qr.sep}`,"g"),"/")}"`}o(uk,"quoteAbsolutePath");function ERe(t,e,r){return gi(this,void 0,void 0,function*(){let s=t.type===ts.BSD&&e!==dr.Gzip&&ia;switch(e){case dr.Zstd:return s?["zstd -d --long=30 --force -o",Xd,uk(r)]:["--use-compress-program",ia?'"zstd -d --long=30"':"unzstd --long=30"];case dr.ZstdWithoutLong:return s?["zstd -d --force -o",Xd,uk(r)]:["--use-compress-program",ia?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(ERe,"getDecompressionProgram");function yRe(t,e){return gi(this,void 0,void 0,function*(){let r=Go(e),s=t.type===ts.BSD&&e!==dr.Gzip&&ia;switch(e){case dr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),Xd]:["--use-compress-program",ia?'"zstd -T0 --long=30"':"zstdmt --long=30"];case dr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${qr.sep}`,"g"),"/"),Xd]:["--use-compress-program",ia?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(yRe,"getCompressionProgram");function C5(t,e){return gi(this,void 0,void 0,function*(){for(let r of t)try{yield ko(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(s){throw new Error(`${r.split(" ")[0]} failed with error: ${s?.message}`)}})}o(C5,"execCommands");function I5(t,e,r){return gi(this,void 0,void 0,function*(){let{commands:s,requiresTempDirectory:n}=yield E5(e,r,t),i=n?yield ja():void 0;try{yield C5(s,i)}finally{if(i)try{yield Qd(i)}catch(a){w(`Failed to delete temporary tar directory: ${a}`)}}})}o(I5,"execReadCommands");function gm(t,e){return gi(this,void 0,void 0,function*(){yield I5(t,e,"list")})}o(gm,"listTar");function Ak(t,e){return gi(this,void 0,void 0,function*(){let r=y5();yield Ga(r),yield I5(t,e,"extract")})}o(Ak,"extractTar");function dk(t,e,r){return gi(this,void 0,void 0,function*(){(0,jC.writeFileSync)(qr.join(t,y0),e.join(` +`));let{commands:s}=yield E5(r,"create");yield C5(s,t)})}o(dk,"createTar");var ju=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},yn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Tc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},pk="cache write denied:",KC=class t extends Tc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},B5=Rg,XC=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},ZC=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function w5(t){if(!t||t.length===0)throw new yn("Path Validation Error: At least one directory or file path is required")}o(w5,"checkPaths");function mk(t){if(t.length>512)throw new yn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new yn(`Key Validation Error: ${t} cannot contain commas.`)}o(mk,"checkKey");function hk(){return tm()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(hk,"isFeatureAvailable");function b5(t,e,r,s){return ju(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=tm();w(`Cache service version: ${u}`),w5(n);let A=jP();if(!d8(A)){re(`Cache restore skipped: the effective cache-mode '${A}' does not permit reads.`),w(`Skipped restore for paths [${n.join(", ")}] with primary key '${i}'.`);return}return u==="v2"?yield IRe(n,i,a,c,l):yield CRe(n,i,a,c,l)})}o(b5,"restoreCache");function CRe(t,e,r,s){return ju(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;a=a||[];let A=[i,...a];if(w("Resolved Keys:"),w(JSON.stringify(A)),A.length>10)throw new yn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)mk(m);let d=yield ep(),p="";try{let m;try{m=yield C8(A,n,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(u=f?.message)!==null&&u!==void 0?u:"";throw C.includes(B5)?new XC(C):f}if(!m?.archiveLocation)return;if(c?.lookupOnly)return re("Lookup only - skipping download"),m.cacheKey;p=Em.join(yield ja(),Go(d)),w(`Archive Path: ${p}`),yield XP(m.archiveLocation,p,c),za()&&(yield gm(p,d));let h=Ln(p);return re(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield Ak(p,d),re("Cache restored successfully"),m.cacheKey}catch(m){let h=m;if(h.name===yn.name)throw m;h instanceof Mn&&typeof h.statusCode=="number"&&h.statusCode>=500?$l(`Failed to restore: ${m.message}`):It(`Failed to restore: ${m.message}`)}finally{try{yield Zd(p)}catch(m){w(`Failed to delete archive: ${m}`)}}})}o(CRe,"restoreCacheV1");function IRe(t,e,r,s){return ju(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(w("Resolved Keys:"),w(JSON.stringify(A)),A.length>10)throw new yn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of A)mk(p);let d="";try{let p=lk(),m=yield ep(),h={key:i,restoreKeys:a,version:su(n,m,l)},f;try{f=yield p.GetCacheEntryDownloadURL(h)}catch(y){let I=(u=y?.message)!==null&&u!==void 0?u:"";throw I.includes(B5)?new XC(I):y}if(!f.ok){w(`Cache not found for version ${h.version} of keys: ${A.join(", ")}`);return}if(h.key!==f.matchedKey?re(`Cache hit for restore-key: ${f.matchedKey}`):re(`Cache hit for: ${f.matchedKey}`),c?.lookupOnly)return re("Lookup only - skipping download"),f.matchedKey;d=Em.join(yield ja(),Go(m)),w(`Archive path: ${d}`),w(`Starting download of archive to: ${d}`),yield XP(f.signedDownloadUrl,d,c);let E=Ln(d);return re(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),za()&&(yield gm(d,m)),yield Ak(d,m),re("Cache restored successfully"),f.matchedKey}catch(p){let m=p;if(m.name===yn.name)throw p;m instanceof Mn&&typeof m.statusCode=="number"&&m.statusCode>=500?$l(`Failed to restore: ${p.message}`):It(`Failed to restore: ${p.message}`)}finally{try{d&&(yield Zd(d))}catch(p){w(`Failed to delete archive: ${p}`)}}})}o(IRe,"restoreCacheV2");function fk(t,e,r){return ju(this,arguments,void 0,function*(s,n,i,a=!1){let c=tm();w(`Cache service version: ${c}`),w5(s),mk(n);let l=jP();return p8(l)?c==="v2"?yield wRe(s,n,i,a):yield BRe(s,n,i,a):(re(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),w(`Skipped save for paths [${s.join(", ")}] with key '${n}'.`),-1)})}o(fk,"saveCache");function BRe(t,e,r){return ju(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,A,d,p;let m=yield ep(),h=-1,f=yield C0(s);if(w("Cache Paths:"),w(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let C=yield ja(),E=Em.join(C,Go(m));w(`Archive Path: ${E}`);try{yield dk(C,f,m),za()&&(yield gm(E,m));let y=10*1024*1024*1024,I=Ln(E);if(w(`File Size: ${I}`),I>y&&!WP())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);w("Reserving Cache");let B=yield I8(n,s,{compressionMethod:m,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)h=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((A=(u=B?.error)===null||u===void 0?void 0:u.message)!==null&&A!==void 0?A:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let N=(d=B?.error)===null||d===void 0?void 0:d.message;throw N?.startsWith(pk)?new KC(`Unable to reserve cache with key ${n}. More details: ${N}`):new Tc(`Unable to reserve cache with key ${n}, another job may be creating this cache. More details: ${(p=B?.error)===null||p===void 0?void 0:p.message}`)}}w(`Saving Cache (ID: ${h})`),yield ZP(h,E,"",i)}catch(y){let I=y;if(I.name===yn.name)throw y;I.name===Tc.name?re(`Failed to save: ${I.message}`):I instanceof Mn&&typeof I.statusCode=="number"&&I.statusCode>=500?$l(`Failed to save: ${I.message}`):It(`Failed to save: ${I.message}`)}finally{try{yield Zd(E)}catch(y){w(`Failed to delete archive: ${y}`)}}return h})}o(BRe,"saveCacheV1");function wRe(t,e,r){return ju(this,arguments,void 0,function*(s,n,i,a=!1){var c;i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield ep(),u=lk(),A=-1,d=yield C0(s);if(w("Cache Paths:"),w(`${JSON.stringify(d)}`),d.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let p=yield ja(),m=Em.join(p,Go(l));w(`Archive Path: ${m}`);try{yield dk(p,d,l),za()&&(yield gm(m,l));let h=Ln(m);w(`File Size: ${h}`),i.archiveSizeBytes=h,w("Reserving Cache");let f=su(s,l,a),C={key:n,version:f},E;try{let B=yield u.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(pk)&&It(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");E=B.signedUploadUrl}catch(B){w(`Failed to reserve cache: ${B}`);let N=(c=B?.message)!==null&&c!==void 0?c:"";throw N.startsWith(pk)?new KC(`Unable to reserve cache with key ${n}. More details: ${N}`):new Tc(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}w(`Attempting to upload cache located at: ${m}`),yield ZP(A,m,E,i);let y={key:n,version:f,sizeBytes:`${h}`},I=yield u.FinalizeCacheEntryUpload(y);if(w(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new ZC(I.message):new Error(`Unable to finalize cache with key ${n}, another job may be finalizing this cache.`);A=parseInt(I.entryId)}catch(h){let f=h;if(f.name===yn.name)throw h;f.name===Tc.name?re(`Failed to save: ${f.message}`):f.name===ZC.name?It(f.message):f instanceof Mn&&typeof f.statusCode=="number"&&f.statusCode>=500?$l(`Failed to save: ${f.message}`):It(`Failed to save: ${f.message}`)}finally{try{yield Zd(m)}catch(h){w(`Failed to delete archive: ${h}`)}}return A})}o(wRe,"saveCacheV2");var Q5=b(require("util"),1);var Ku=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=Q5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Ek.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Ek.default.join(this.cacheDir,this.opts.cacheFile),ym.default.existsSync(this.cacheDir)||ym.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){w(`Cache.save ${e}`);let s=this.copyToCache(e),n=await this.cacheToHostedToolCache();if(n&&w(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&hk())if(r)try{w(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await fk([this.cacheDir],this.ghaCacheKey)}catch(i){It(`Failed to save cache: ${i}`)}else w(`Cache.save sending ${this.ghaCacheKey} to post state`),jf(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=mz(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return re(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&hk()){if(w("GitHub Actions cache feature available"),await b5([this.cacheDir],this.ghaCacheKey)){if(re(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!ym.default.existsSync(this.cachePath))return It(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&re(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?re("GitHub Actions cache disabled"):re("GitHub Actions cache feature not available")}catch(e){It(`Failed to restore cache: ${e}`)}return""}static async post(){let e=hG(t.POST_CACHE_KEY);if(!e)return re("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(s){throw new Error(`Failed to parse cache post state: ${s}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{re(`Caching ${r.key} to GitHub Actions cache`),await fk([r.dir],r.key)}catch(s){It(`Failed to save cache: ${s}`)}return r}copyToCache(e){return re(`Copying ${e} to ${this.cachePath}`),ym.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await pz(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){re(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${gk.default.platform()}-${gk.default.arch()}${e?"v"+e:""}`}};var x5=!!process.env.STATE_isPost;x5||jf("isPost","true");async function N5(t,e){if(x5)e&&await e(),await Yl("Post cache",async()=>{await Ku.post()});else try{await t()}catch(r){mG(r.message)}}o(N5,"run");var Ws=b(require("fs"),1),Hr=b(require("path"),1),KX=require("util");var XX=b(E9(),1);var dI=class t{static{o(this,"Git")}static protoRegexp=new RegExp("^[a-zA-Z0-9]+://");static supportedProtos={http:{},https:{},ssh:{},git:{}};static parseURL(e){let r=e.match(t.protoRegexp);if(r&&r.length>0){let s=r[0].toLowerCase();if(s=s.slice(0,s.lastIndexOf("://")),!(s in t.supportedProtos))throw new Error(`Invalid protocol: ${s}`);return t.fromURL(new URL(e))}throw new Error("Unknown protocol")}static fromURL(e){let r=new URL(e.toString());r.hash="";let s;return(e.username||e.password)&&(s={username:e.username,password:e.password,passwordSet:e.password!==""}),{scheme:e.protocol.slice(0,-1),user:s,host:`${e.hostname}${e.port?":"+e.port:""}`,path:e.pathname,fragment:t.splitGitFragment(e.hash),remote:r.toString()}}static splitGitFragment(e){if(e==="")return;let[r,s]=e.slice(1).split(":");return{ref:r,subdir:s}}static parseRef(e){let r={},s;if(e.startsWith("./")||e.startsWith("../"))throw new Error("Invalid argument");if(e.startsWith("github.com/"))r.indistinguishableFromLocal=!0,s=t.fromURL(new URL("https://"+e));else if(s=t.parseURL(e),["http","git"].includes(s.scheme)&&(r.unencryptedTCP=!0),["http","https"].includes(s.scheme)&&!s.path.endsWith(".git"))throw new Error("Invalid argument");r.remote=s.remote,r.indistinguishableFromLocal&&(r.remote=r.remote.split("://")[1]),s.fragment&&(r.commit=s.fragment.ref,r.subDir=s.fragment.subdir);let n=r.remote.split("/");return r.shortName=n[n.length-1].replace(".git",""),r}};var HD=b(require("fs"),1),JK=b(require("os"),1),Lm=b(require("path"),1),WK=require("util"),jK=b(Q9(),1);var zk=b(require("fs"),1),z9=b(require("os"),1),V9=b(require("path"),1),$9=b(H9(),1);var hI=class t{static{o(this,"Context")}static _tmpDir=zk.default.mkdtempSync(V9.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||z9.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return zk.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return $9.tmpNameSync(e)}};var no=class{static{o(this,"Exec")}static async exec(e,r,s){return w(`Exec.exec: ${e} ${r?.join(" ")}`),ko(e,r,s)}static async getExecOutput(e,r,s){return w(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Ha(e,r,s)}};var GD=b(require("crypto"),1),$K=b(require("fs"),1),_m=b(require("path"),1),YK=b(UK(),1);var me=class t extends Error{static{o(this,"CsvError")}constructor(e,r,s,...n){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of n)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(s.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var Dm=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var eB=o(function(t){let e=[];for(let r=0,s=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let s=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),s.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let s=this.clone();this.buf[0]=e,s.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},qD=UD;var qK=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((s,n)=>{let i=Buffer.from(String.fromCharCode(n),t.encoding);return n!==63&&i.length===1&&i[0]===63||s.push(i),s},[]),r=new Uint8Array(256);for(let s of e)r[s[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new qD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(s=>s.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(s=>s.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new qD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(s=>s.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var GK=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var mA=o(function(t){let e={};for(let s in t)e[GK(s)]=t[s];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new me("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(e.bom===void 0||e.bom===null||e.bom===!1)e.bom=!1;else if(e.bom!==!0)throw new me("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,e.cast===void 0||e.cast===null||e.cast===!1||e.cast==="")e.cast=void 0;else if(typeof e.cast=="function")e.cast_function=e.cast,e.cast=!0;else if(e.cast!==!0)throw new me("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(s){let n=Date.parse(s);return isNaN(n)?s:new Date(n)};else if(typeof e.cast_date!="function")throw new me("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=void 0,e.columns===!0)e.cast_first_line_to_header=void 0;else if(typeof e.columns=="function")e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=eB(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new me("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(e.group_columns_by_name===void 0||e.group_columns_by_name===null||e.group_columns_by_name===!1)e.group_columns_by_name=!1;else{if(e.group_columns_by_name!==!0)throw new me("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}`],e);if(e.columns===!1)throw new me("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e)}if(e.comment===void 0||e.comment===null||e.comment===!1||e.comment==="")e.comment=null;else if(typeof e.comment=="string"&&(e.comment=Buffer.from(e.comment,e.encoding)),!Buffer.isBuffer(e.comment))throw new me("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);if(e.comment_no_infix===void 0||e.comment_no_infix===null||e.comment_no_infix===!1)e.comment_no_infix=!1;else if(e.comment_no_infix!==!0)throw new me("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!Dm(e.delimiter_auto))throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!Dm(e.delimiter_auto.preferred))throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(s,n)=>(s.total-s.std)*(n.preferred[s.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","score must be a function,",`got ${JSON.stringify(e.delimiter_auto.score)}`],e);if(e.delimiter_auto.size===void 0)e.delimiter_auto.size=2048;else if(typeof e.delimiter_auto.size!="number")throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(s){if(typeof s=="string"&&(s=Buffer.from(s,e.encoding)),!Buffer.isBuffer(s)||s.length===0)throw new me("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return s}),e.escape===void 0||e.escape===!0?e.escape=Buffer.from('"',e.encoding):typeof e.escape=="string"?e.escape=Buffer.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Buffer.isBuffer(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new me("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(e.ignore_last_delimiters===!0&&e.columns===!1)throw new me("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(e.info===void 0||e.info===null||e.info===!1)e.info=!1;else if(e.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(e.max_record_size===void 0||e.max_record_size===null||e.max_record_size===!1)e.max_record_size=0;else if(!(Number.isInteger(e.max_record_size)&&e.max_record_size>=0))if(typeof e.max_record_size=="string"&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(e.objname===void 0||e.objname===null||e.objname===!1)e.objname=void 0;else if(Buffer.isBuffer(e.objname)){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");e.encoding===null||(e.objname=e.objname.toString(e.encoding))}else if(typeof e.objname=="string"){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof e.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(e.objname!==void 0){if(typeof e.objname=="number"){if(e.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(e.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(e.on_record===void 0||e.on_record===null)e.on_record=void 0;else if(typeof e.on_record!="function")throw new me("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(e.on_skip!==void 0&&e.on_skip!==null&&typeof e.on_skip!="function")throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(e.on_skip)}`);if(e.quote===null||e.quote===!1||e.quote==="")e.quote=null;else if(e.quote===void 0||e.quote===!0?e.quote=Buffer.from('"',e.encoding):typeof e.quote=="string"&&(e.quote=Buffer.from(e.quote,e.encoding)),!Buffer.isBuffer(e.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(e.raw===void 0||e.raw===null||e.raw===!1)e.raw=!1;else if(e.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(e.record_delimiter===void 0)e.record_delimiter=[];else if(typeof e.record_delimiter=="string"||Buffer.isBuffer(e.record_delimiter)){if(e.record_delimiter.length===0)throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(s,n){if(typeof s!="string"&&!Buffer.isBuffer(s))throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);if(s.length===0)throw new me("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);return typeof s=="string"&&(s=Buffer.from(s,e.encoding)),s}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&t.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&t.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(e.to!==-1)if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(e.to_line!==-1)if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e},"normalize_options");var HK=o(function(t,e){e||({delimiter_auto:e}=mA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(n=>{let i=[],a=tB({delimiter:[]}),c=o(A=>i.push(A),"push"),l=o(()=>{},"close"),u=a.parse(n,!0,c,l);if(u!==void 0)throw u;return i})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([n],i)=>{for(let a=0,c=n.length;a{n.char_code=i,n.std=eLe(n.lines),n.total=n.lines.reduce((a,c)=>a+c,0),n.preferred=!!e.preferred[i],n.score=e.score(n,e)});let s=r.reduce((n,i)=>n.score>i.score?n:i,{});return String.fromCharCode(s.char_code)},"delimiter_discover"),eLe=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((s,n)=>s+n)/e;return Math.sqrt(t.map(s=>Math.pow(s-r,2)).reduce((s,n)=>s+n)/e)},"std");var zK=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),tLe=13,rLe=10,hA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},tB=o(function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=mA(t);return{info:e,original_options:t,options:r,state:qK(r),__needMoreData:o(function(s,n,i){if(i)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:u,needMoreDataSize:A,recordDelimiterMaxLength:d}=this.state,p=n-s-1,m=Math.max(A,d===0?Buffer.from(`\r +`,a).length:d,u?(c===null?0:c.length)+l.length:0,u?l.length+d:0);return pu.size)this.options.delimiter=[Buffer.from(HK(Ne,this.options.delimiter_auto))],this.state.previousBuf=Ne,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Ne;return}}let{previousBuf:gt}=this.state,ce;if(gt===void 0)if(s===void 0){a();return}else ce=s;else gt!==void 0&&s===void 0?ce=gt:ce=Buffer.concat([gt,s]);if(Ie===!1)if(c===!1)this.state.bomSkipped=!0;else if(ce.length<3){if(n===!1){this.state.previousBuf=ce;return}}else{for(let Ne in hA)if(hA[Ne].compare(ce,0,hA[Ne].length)===0){let Ao=hA[Ne].length;this.state.bufBytesStart+=Ao,ce=ce.slice(Ao);let zm=mA({...this.original_options,encoding:Ne});for(let bt in zm)this.options[bt]=zm[bt];({comment:B,escape:N,quote:S}=this.options);break}this.state.bomSkipped=!0}let js=ce.length,z;for(z=0;zI){this.state.stop=!0,a();return}this.state.quoting===!1&&U.length===0&&this.__autoDiscoverRecordDelimiter(ce,z)&&(U=this.options.record_delimiter);let Ne=ce[z];if(h===!0&&ke.append(Ne),(Ne===tLe||Ne===rLe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ce,z,Ne)&&z+N.lengthhA[pa].equals(this.state.field.toString())?pa:!1).filter(Boolean)[0],Bi=this.__error(new me("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(bt.column)} at line ${bt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,da?`(${da} bom)`:void 0],this.options,bt,{field:this.state.field}));if(Bi!==void 0)return Bi}}else{this.state.quoting=!0,z+=S.length-1;continue}if(this.state.quoting===!1){let bt=this.__isRecordDelimiter(Ne,ce,z);if(bt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),z+=bt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,z+=bt-1;continue}this.info.bytes=this.state.bufBytesStart+z;let pa=this.__onField();if(pa!==void 0)return pa;this.info.bytes=this.state.bufBytesStart+z+bt;let Vm=this.__onRecord(i);if(Vm!==void 0)return Vm;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,z+=bt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ce,z,Ne)!==0){this.state.commenting=!0;continue}let da=this.__isDelimiter(ce,z,Ne);if(da!==0){this.info.bytes=this.state.bufBytesStart+z;let Bi=this.__onField();if(Bi!==void 0)return Bi;z+=da-1;continue}}}if(this.state.commenting===!1&&m!==0&&this.state.record_length+this.state.field.length>m)return this.__error(new me("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${m}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Ao=p===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ce,z),zm=C===!1||this.state.wasQuoting===!1;if(Ao===!0&&zm===!0)this.state.field.append(Ne);else{if(C===!0&&!this.__isCharTrimable(ce,z))return this.__error(new me("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));Ao===!1&&(z+=this.__isCharTrimable(ce,z)-1);continue}}if(n===!0)if(this.state.quoting===!0){let Ne=this.__error(new me("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(Ne!==void 0)return Ne}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+z;let Ne=this.__onField();if(Ne!==void 0)return Ne;let Ao=this.__onRecord(i);if(Ao!==void 0)return Ao}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=z,this.state.previousBuf=ce.slice(z);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(s){let{columns:n,group_columns_by_name:i,encoding:a,info:c,from:l,relax_column_count:u,relax_column_count_less:A,relax_column_count_more:d,raw:p,skip_records_with_empty_values:m}=this.options,{enabled:h,record:f}=this.state;if(h===!1)return this.__resetRecord();let C=f.length;if(n===!0){if(m===!0&&zK(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(n===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let E=n===!1?new me("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new me("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${n.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(u===!0||A===!0&&Cthis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=E;else{let y=this.__error(E);if(y)return y}}if(m===!0&&zK(f)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:E}=this.options;if(n!==!1){let y={};for(let I=0,B=f.length;I=0},"__isFloat"),__isQuote:o(function(s,n){let{quote:i}=this.options;if(i===null)return!1;let a=i.length;for(let c=0;cthis.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var zK=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=eB(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var co=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(Vl(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=zK(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=Vl(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;ssetTimeout(r,e*1e3))}static hash(e){return UD.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return UD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return $K.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=Dm.default.resolve(e);return Dm.default.resolve(r).startsWith(s.endsWith(Dm.default.sep)?s:`${s}${Dm.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var Lm=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||_m.default.join(YK.default.homedir(),".docker")}static configFile(){let e=_m.default.join(t.configDir,"config.json");if(qD.default.existsSync(e))return JSON.parse(qD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await Nr("docker",!0).then(e=>(w(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(w(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}catch{return!1}}static async exec(e,r){return no.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return no.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,JK.stripVTControlCharacters)(e).split(/[\r\n]/);for(let s=r.length-1;s>=0;s--){let n=r[s].trim();if(n)return n}return"unknown error"}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr);return s.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return JSON.parse(s.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,s=e.indexOf("@"),n=e.lastIndexOf(":");if(s>=0)r=s;else if(n>=0)r=n;else return{repository:e,tag:"latest"};let i=e.slice(r+1);return i.indexOf("/")===-1?{repository:e.slice(0,r),tag:i}:{repository:e,tag:"latest"}}static async pull(e,r,s){let n=[];if(s)try{await t.contextInspect(s),n.push("--context",s)}catch{n.push("--host",s)}let i=t.parseRepoTag(e),a=i.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),c=i.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),l=new ju({htcName:a,htcVersion:c,baseCacheDir:_m.default.join(t.configDir,".cache","images",a),cacheFile:"image.tar"}),u;r&&(u=await l.find(),u&&(re(`Image found from cache in ${u}`),await t.getExecOutput([...n,"load","-i",u],{ignoreReturnCode:!0}).then(d=>{d.stderr.length>0&&d.exitCode!=0&&It(`Failed to load image from cache: ${t.getErrorMessage(d.stderr)}`)})));let A=!0;try{await t.pullWithRetry(e,n)}catch(d){if(A=!1,u)It(`Failed to pull image, using one from cache: ${d.message}`);else throw d}if(r&&A){let d=_m.default.join(mI.tmpDir(),`${co.hash(e)}.tar`);await t.getExecOutput([...n,"save","-o",d,e],{ignoreReturnCode:!0}).then(async p=>{if(p.stderr.length>0&&p.exitCode!=0)It(`Failed to save image: ${t.getErrorMessage(p.stderr)}`);else{let m=await l.save(d);re(`Image cached to ${m}`)}})}}static async pullWithRetry(e,r){await(0,WK.default)(async n=>{let i=await t.getExecOutput([...r,"pull",e],{ignoreReturnCode:!0});if(i.stderr.length>0&&i.exitCode!=0){let a=t.getErrorMessage(i.stderr);if(!t.isPullTransientError(a)){n(new Error(a));return}throw new Error(a)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,i)=>{w(`Docker pull failed, retrying (${i}/5)... -${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var JX=b(require("crypto"),1);var tB=require("fs"),jK=require("os");var hA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,tB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,tB.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${jK.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var VD=b(tX(),1),rX=b(Ul(),1);var pLe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function sX(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}o(sX,"getAuthString");function nX(t){return new VD.HttpClient().getAgent(t)}o(nX,"getProxyAgent");function mLe(t){return new VD.HttpClient().getAgentDispatcher(t)}o(mLe,"getProxyAgentDispatcher");function iX(t){let e=mLe(t);return o((s,n)=>pLe(this,void 0,void 0,function*(){return(0,rX.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(iX,"getProxyFetch");function oX(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(oX,"getApiBaseUrl");function $D(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o($D,"getUserAgentWithOrchestrationId");function ua(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}o(ua,"getUserAgent");function cB(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>cB.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}o(cB,"register");function aX(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=o((i,a)=>Promise.resolve().then(n.bind(null,a)).then(i.bind(null,a)),"hook")),e==="after"&&(s=o((i,a)=>{let c;return Promise.resolve().then(i.bind(null,a)).then(l=>(c=l,n(c,a))).then(()=>c)},"hook")),e==="error"&&(s=o((i,a)=>Promise.resolve().then(i.bind(null,a)).catch(c=>n(c,a)),"hook")),t.registry[r].push({hook:s,orig:n})}o(aX,"addHook");function cX(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}o(cX,"removeHook");var lX=Function.bind,uX=lX.bind(lX);function AX(t,e,r){let s=uX(cX,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=uX(aX,null).apply(null,i)})}o(AX,"bindApi");function fLe(){let t=Symbol("Singular"),e={registry:{}},r=cB.bind(null,e,t);return AX(r,e,t),r}o(fLe,"Singular");function gLe(){let t={registry:{}},e=cB.bind(null,t);return AX(e,t),e}o(gLe,"Collection");var dX={Singular:fLe,Collection:gLe};var ELe="0.0.0-development",yLe=`octokit-endpoint.js/${ELe} ${ua()}`,CLe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":yLe},mediaType:{format:""}};function ILe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(ILe,"lowercaseKeys");function BLe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}o(BLe,"isPlainObject");function hX(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{BLe(e[s])?s in t?r[s]=hX(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}o(hX,"mergeDeep");function pX(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(pX,"removeUndefinedProperties");function JD(t,e,r){if(typeof e=="string"){let[n,i]=e.split(" ");r=Object.assign(i?{method:n,url:i}:{url:n},r)}else r=Object.assign({},e);r.headers=ILe(r.headers),pX(r),pX(r.headers);let s=hX(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(s.mediaType.previews=t.mediaType.previews.filter(n=>!s.mediaType.previews.includes(n)).concat(s.mediaType.previews)),s.mediaType.previews=(s.mediaType.previews||[]).map(n=>n.replace(/-preview/,""))),s}o(JD,"merge");function wLe(t,e){let r=/\?/.test(t)?"&":"?",s=Object.keys(e);return s.length===0?t:t+r+s.map(n=>n==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${n}=${encodeURIComponent(e[n])}`).join("&")}o(wLe,"addQueryParameters");var bLe=/\{[^{}}]+\}/g;function QLe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}o(xLe,"extractUrlVariableNames");function mX(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}o(mX,"omit");function fX(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")}o(fX,"encodeReserved");function gA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(gA,"encodeUnreserved");function Om(t,e,r){return e=t==="+"||t==="#"?fX(e):gA(e),r?gA(r)+"="+e:e}o(Om,"encodeValue");function fA(t){return t!=null}o(fA,"isDefined");function YD(t){return t===";"||t==="&"||t==="?"}o(YD,"isKeyOperator");function NLe(t,e,r,s){var n=t[r],i=[];if(fA(n)&&n!=="")if(typeof n=="string"||typeof n=="number"||typeof n=="bigint"||typeof n=="boolean")n=n.toString(),s&&s!=="*"&&(n=n.substring(0,parseInt(s,10))),i.push(Om(e,n,YD(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(fA).forEach(function(a){i.push(Om(e,a,YD(e)?r:""))}):Object.keys(n).forEach(function(a){fA(n[a])&&i.push(Om(e,n[a],a))});else{let a=[];Array.isArray(n)?n.filter(fA).forEach(function(c){a.push(Om(e,c))}):Object.keys(n).forEach(function(c){fA(n[c])&&(a.push(gA(c)),a.push(Om(e,n[c].toString())))}),YD(e)?i.push(gA(r)+"="+a.join(",")):a.length!==0&&i.push(a.join(","))}else e===";"?fA(n)&&i.push(gA(r)):n===""&&(e==="&"||e==="?")?i.push(gA(r)+"="):n===""&&i.push("");return i}o(NLe,"getValues");function SLe(t){return{expand:RLe.bind(null,t)}}o(SLe,"parseUrl");function RLe(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(s,n,i){if(n){let c="",l=[];if(r.indexOf(n.charAt(0))!==-1&&(c=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(u){var A=/([^:\*]*)(?::(\d+)|(\*))?/.exec(u);l.push(NLe(e,c,A[1],A[2]||A[3]))}),c&&c!=="+"){var a=",";return c==="?"?a="&":c!=="#"&&(a=c),(l.length!==0?c:"")+l.join(a)}else return l.join(",")}else return fX(i)}),t==="/"?t:t.replace(/\/$/,"")}o(RLe,"expand");function gX(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=mX(t,["method","baseUrl","url","headers","request","mediaType"]),a=xLe(r);r=SLe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(A=>a.includes(A)).concat("baseUrl"),l=mX(i,c);if(!/application\/octet-stream/i.test(s.accept)&&(t.mediaType.format&&(s.accept=s.accept.split(/,/).map(A=>A.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let A=s.accept.match(/(?{let p=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${p}`}).join(",")}return["GET","HEAD"].includes(e)?r=wLe(r,l):"data"in l?n=l.data:Object.keys(l).length&&(n=l),!s["content-type"]&&typeof n<"u"&&(s["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof n>"u"&&(n=""),Object.assign({method:e,url:r,headers:s},typeof n<"u"?{body:n}:null,t.request?{request:t.request}:null)}o(gX,"parse");function TLe(t,e,r){return gX(JD(t,e,r))}o(TLe,"endpointWithDefaults");function EX(t,e){let r=JD(t,e),s=TLe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:EX.bind(null,r),merge:JD.bind(null,r),parse:gX})}o(EX,"withDefaults");var yX=EX(null,CLe);var vX=b(wX(),1);var PLe=/^-?\d+$/,xX=/^-?\d+n+$/,WD=JSON.stringify,bX=JSON.parse,vLe=/^-?\d+n$/,kLe=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,DLe=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,NX=o((t,e,r)=>"rawJSON"in JSON?WD(t,(a,c)=>typeof c=="bigint"?JSON.rawJSON(c.toString()):typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r):t?WD(t,(a,c)=>typeof c=="string"&&!!c.match(xX)||typeof c=="bigint"?c.toString()+"n":typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r).replace(kLe,"$1$2$3").replace(DLe,"$1$2$3"):WD(t,e,r),"JSONStringify"),_Le=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),LLe=o((t,e,r,s)=>typeof e=="string"&&e.match(vLe)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(xX)?e.slice(0,-1):typeof s!="function"?e:s(t,e,r),"convertMarkedBigIntsReviver"),MLe=o((t,e)=>JSON.parse(t,(r,s,n)=>{let i=typeof s=="number"&&(s>Number.MAX_SAFE_INTEGER||s{if(!t)return bX(t,e);if(_Le())return MLe(t,e);let r=t.replace(OLe,(s,n,i,a)=>{let c=s[0]==='"';if(c&&!!s.match(FLe))return s.substring(0,s.length-1)+'n"';let u=i||a,A=n&&(n.lengthLLe(s,n,i,e))},"JSONParse");var Uc=class extends Error{static{o(this,"RequestError")}name;status;request;response;constructor(e,r,s){super(e,{cause:s.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in s&&(this.response=s.response);let n=Object.assign({},s.request);s.request.headers.authorization&&(n.headers=Object.assign({},s.request.headers,{authorization:s.request.headers.authorization.replace(/(?"","noop");async function PX(t){let e=t.request?.fetch||globalThis.fetch;if(!e)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let r=t.request?.log||console,s=t.request?.parseSuccessResponseBody!==!1,n=GLe(t.body)||Array.isArray(t.body)?NX(t.body):t.body,i=Object.fromEntries(Object.entries(t.headers).map(([d,p])=>[d,String(p)])),a;try{a=await e(t.url,{method:t.method,body:n,redirect:t.request?.redirect,headers:i,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(d){let p="Unknown Error";if(d instanceof Error){if(d.name==="AbortError")throw d.status=500,d;p=d.message,d.name==="TypeError"&&"cause"in d&&(d.cause instanceof Error?p=d.cause.message:typeof d.cause=="string"&&(p=d.cause))}let m=new Uc(p,500,{request:t});throw m.cause=d,m}let c=a.status,l=a.url,u={};for(let[d,p]of a.headers)u[d]=p;let A={url:l,status:c,headers:u,data:""};if("deprecation"in u){let d=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),p=d&&d.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${p?`. See ${p}`:""}`)}if(c===204||c===205)return A;if(t.method==="HEAD"){if(c<400)return A;throw new Uc(a.statusText,c,{response:A,request:t})}if(c===304)throw A.data=await jD(a),new Uc("Not modified",c,{response:A,request:t});if(c>=400)throw A.data=await jD(a),new Uc(zLe(A.data),c,{response:A,request:t});return A.data=s?await jD(a):a.body,A}o(PX,"fetchWrapper");async function jD(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(TX);let r=(0,vX.safeParse)(e);if(HLe(r)){let s="";try{return s=await t.text(),RX(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(TX):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(jD,"getResponseData");function HLe(t){return t.type==="application/json"||t.type==="application/scim+json"}o(HLe,"isJSONResponse");function zLe(t){if(typeof t=="string")return t;if(t instanceof ArrayBuffer)return"Unknown error";if("message"in t){let e="documentation_url"in t?` - ${t.documentation_url}`:"";return Array.isArray(t.errors)?`${t.message}: ${t.errors.map(r=>JSON.stringify(r)).join(", ")}${e}`:`${t.message}${e}`}return`Unknown error: ${JSON.stringify(t)}`}o(zLe,"toErrorMessage");function KD(t,e){let r=t.defaults(e);return Object.assign(o(function(n,i){let a=r.merge(n,i);if(!a.request||!a.request.hook)return PX(r.parse(a));let c=o((l,u)=>PX(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:KD.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:KD.bind(null,r)})}o(KD,"withDefaults");var Um=KD(yX,qLe);var VLe="0.0.0-development";function $Le(t){return`Request failed due to following response errors: +`,i),Buffer.from("\r",i)];e:for(let c=0;cthis.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var VK=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=tB(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var co=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(Vl(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=VK(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=Vl(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;ssetTimeout(r,e*1e3))}static hash(e){return GD.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return GD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return YK.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=_m.default.resolve(e);return _m.default.resolve(r).startsWith(s.endsWith(_m.default.sep)?s:`${s}${_m.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var Mm=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Lm.default.join(JK.default.homedir(),".docker")}static configFile(){let e=Lm.default.join(t.configDir,"config.json");if(HD.default.existsSync(e))return JSON.parse(HD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await Nr("docker",!0).then(e=>(w(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(w(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}catch{return!1}}static async exec(e,r){return no.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return no.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,WK.stripVTControlCharacters)(e).split(/[\r\n]/);for(let s=r.length-1;s>=0;s--){let n=r[s].trim();if(n)return n}return"unknown error"}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr);return s.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return JSON.parse(s.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,s=e.indexOf("@"),n=e.lastIndexOf(":");if(s>=0)r=s;else if(n>=0)r=n;else return{repository:e,tag:"latest"};let i=e.slice(r+1);return i.indexOf("/")===-1?{repository:e.slice(0,r),tag:i}:{repository:e,tag:"latest"}}static async pull(e,r,s){let n=[];if(s)try{await t.contextInspect(s),n.push("--context",s)}catch{n.push("--host",s)}let i=t.parseRepoTag(e),a=i.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),c=i.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),l=new Ku({htcName:a,htcVersion:c,baseCacheDir:Lm.default.join(t.configDir,".cache","images",a),cacheFile:"image.tar"}),u;r&&(u=await l.find(),u&&(re(`Image found from cache in ${u}`),await t.getExecOutput([...n,"load","-i",u],{ignoreReturnCode:!0}).then(d=>{d.stderr.length>0&&d.exitCode!=0&&It(`Failed to load image from cache: ${t.getErrorMessage(d.stderr)}`)})));let A=!0;try{await t.pullWithRetry(e,n)}catch(d){if(A=!1,u)It(`Failed to pull image, using one from cache: ${d.message}`);else throw d}if(r&&A){let d=Lm.default.join(hI.tmpDir(),`${co.hash(e)}.tar`);await t.getExecOutput([...n,"save","-o",d,e],{ignoreReturnCode:!0}).then(async p=>{if(p.stderr.length>0&&p.exitCode!=0)It(`Failed to save image: ${t.getErrorMessage(p.stderr)}`);else{let m=await l.save(d);re(`Image cached to ${m}`)}})}}static async pullWithRetry(e,r){await(0,jK.default)(async n=>{let i=await t.getExecOutput([...r,"pull",e],{ignoreReturnCode:!0});if(i.stderr.length>0&&i.exitCode!=0){let a=t.getErrorMessage(i.stderr);if(!t.isPullTransientError(a)){n(new Error(a));return}throw new Error(a)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,i)=>{w(`Docker pull failed, retrying (${i}/5)... +${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var WX=b(require("crypto"),1);var rB=require("fs"),KK=require("os");var fA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,rB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,rB.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${KK.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var YD=b(rX(),1),sX=b(Ul(),1);var hLe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function nX(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}o(nX,"getAuthString");function iX(t){return new YD.HttpClient().getAgent(t)}o(iX,"getProxyAgent");function fLe(t){return new YD.HttpClient().getAgentDispatcher(t)}o(fLe,"getProxyAgentDispatcher");function oX(t){let e=fLe(t);return o((s,n)=>hLe(this,void 0,void 0,function*(){return(0,sX.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(oX,"getProxyFetch");function aX(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(aX,"getApiBaseUrl");function JD(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o(JD,"getUserAgentWithOrchestrationId");function ua(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}o(ua,"getUserAgent");function lB(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>lB.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}o(lB,"register");function cX(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=o((i,a)=>Promise.resolve().then(n.bind(null,a)).then(i.bind(null,a)),"hook")),e==="after"&&(s=o((i,a)=>{let c;return Promise.resolve().then(i.bind(null,a)).then(l=>(c=l,n(c,a))).then(()=>c)},"hook")),e==="error"&&(s=o((i,a)=>Promise.resolve().then(i.bind(null,a)).catch(c=>n(c,a)),"hook")),t.registry[r].push({hook:s,orig:n})}o(cX,"addHook");function lX(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}o(lX,"removeHook");var uX=Function.bind,AX=uX.bind(uX);function dX(t,e,r){let s=AX(lX,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=AX(cX,null).apply(null,i)})}o(dX,"bindApi");function ELe(){let t=Symbol("Singular"),e={registry:{}},r=lB.bind(null,e,t);return dX(r,e,t),r}o(ELe,"Singular");function yLe(){let t={registry:{}},e=lB.bind(null,t);return dX(e,t),e}o(yLe,"Collection");var pX={Singular:ELe,Collection:yLe};var CLe="0.0.0-development",ILe=`octokit-endpoint.js/${CLe} ${ua()}`,BLe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":ILe},mediaType:{format:""}};function wLe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(wLe,"lowercaseKeys");function bLe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}o(bLe,"isPlainObject");function fX(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{bLe(e[s])?s in t?r[s]=fX(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}o(fX,"mergeDeep");function mX(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(mX,"removeUndefinedProperties");function jD(t,e,r){if(typeof e=="string"){let[n,i]=e.split(" ");r=Object.assign(i?{method:n,url:i}:{url:n},r)}else r=Object.assign({},e);r.headers=wLe(r.headers),mX(r),mX(r.headers);let s=fX(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(s.mediaType.previews=t.mediaType.previews.filter(n=>!s.mediaType.previews.includes(n)).concat(s.mediaType.previews)),s.mediaType.previews=(s.mediaType.previews||[]).map(n=>n.replace(/-preview/,""))),s}o(jD,"merge");function QLe(t,e){let r=/\?/.test(t)?"&":"?",s=Object.keys(e);return s.length===0?t:t+r+s.map(n=>n==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${n}=${encodeURIComponent(e[n])}`).join("&")}o(QLe,"addQueryParameters");var xLe=/\{[^{}}]+\}/g;function NLe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}o(SLe,"extractUrlVariableNames");function hX(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}o(hX,"omit");function gX(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")}o(gX,"encodeReserved");function EA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(EA,"encodeUnreserved");function Fm(t,e,r){return e=t==="+"||t==="#"?gX(e):EA(e),r?EA(r)+"="+e:e}o(Fm,"encodeValue");function gA(t){return t!=null}o(gA,"isDefined");function WD(t){return t===";"||t==="&"||t==="?"}o(WD,"isKeyOperator");function RLe(t,e,r,s){var n=t[r],i=[];if(gA(n)&&n!=="")if(typeof n=="string"||typeof n=="number"||typeof n=="bigint"||typeof n=="boolean")n=n.toString(),s&&s!=="*"&&(n=n.substring(0,parseInt(s,10))),i.push(Fm(e,n,WD(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(gA).forEach(function(a){i.push(Fm(e,a,WD(e)?r:""))}):Object.keys(n).forEach(function(a){gA(n[a])&&i.push(Fm(e,n[a],a))});else{let a=[];Array.isArray(n)?n.filter(gA).forEach(function(c){a.push(Fm(e,c))}):Object.keys(n).forEach(function(c){gA(n[c])&&(a.push(EA(c)),a.push(Fm(e,n[c].toString())))}),WD(e)?i.push(EA(r)+"="+a.join(",")):a.length!==0&&i.push(a.join(","))}else e===";"?gA(n)&&i.push(EA(r)):n===""&&(e==="&"||e==="?")?i.push(EA(r)+"="):n===""&&i.push("");return i}o(RLe,"getValues");function TLe(t){return{expand:PLe.bind(null,t)}}o(TLe,"parseUrl");function PLe(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(s,n,i){if(n){let c="",l=[];if(r.indexOf(n.charAt(0))!==-1&&(c=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(u){var A=/([^:\*]*)(?::(\d+)|(\*))?/.exec(u);l.push(RLe(e,c,A[1],A[2]||A[3]))}),c&&c!=="+"){var a=",";return c==="?"?a="&":c!=="#"&&(a=c),(l.length!==0?c:"")+l.join(a)}else return l.join(",")}else return gX(i)}),t==="/"?t:t.replace(/\/$/,"")}o(PLe,"expand");function EX(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=hX(t,["method","baseUrl","url","headers","request","mediaType"]),a=SLe(r);r=TLe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(A=>a.includes(A)).concat("baseUrl"),l=hX(i,c);if(!/application\/octet-stream/i.test(s.accept)&&(t.mediaType.format&&(s.accept=s.accept.split(/,/).map(A=>A.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let A=s.accept.match(/(?{let p=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${p}`}).join(",")}return["GET","HEAD"].includes(e)?r=QLe(r,l):"data"in l?n=l.data:Object.keys(l).length&&(n=l),!s["content-type"]&&typeof n<"u"&&(s["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof n>"u"&&(n=""),Object.assign({method:e,url:r,headers:s},typeof n<"u"?{body:n}:null,t.request?{request:t.request}:null)}o(EX,"parse");function vLe(t,e,r){return EX(jD(t,e,r))}o(vLe,"endpointWithDefaults");function yX(t,e){let r=jD(t,e),s=vLe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:yX.bind(null,r),merge:jD.bind(null,r),parse:EX})}o(yX,"withDefaults");var CX=yX(null,BLe);var kX=b(bX(),1);var kLe=/^-?\d+$/,NX=/^-?\d+n+$/,KD=JSON.stringify,QX=JSON.parse,DLe=/^-?\d+n$/,_Le=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,LLe=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,SX=o((t,e,r)=>"rawJSON"in JSON?KD(t,(a,c)=>typeof c=="bigint"?JSON.rawJSON(c.toString()):typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r):t?KD(t,(a,c)=>typeof c=="string"&&!!c.match(NX)||typeof c=="bigint"?c.toString()+"n":typeof e=="function"?e(a,c):(Array.isArray(e)&&e.includes(a),c),r).replace(_Le,"$1$2$3").replace(LLe,"$1$2$3"):KD(t,e,r),"JSONStringify"),MLe=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),OLe=o((t,e,r,s)=>typeof e=="string"&&e.match(DLe)?BigInt(e.slice(0,-1)):typeof e=="string"&&e.match(NX)?e.slice(0,-1):typeof s!="function"?e:s(t,e,r),"convertMarkedBigIntsReviver"),FLe=o((t,e)=>JSON.parse(t,(r,s,n)=>{let i=typeof s=="number"&&(s>Number.MAX_SAFE_INTEGER||s{if(!t)return QX(t,e);if(MLe())return FLe(t,e);let r=t.replace(ULe,(s,n,i,a)=>{let c=s[0]==='"';if(c&&!!s.match(qLe))return s.substring(0,s.length-1)+'n"';let u=i||a,A=n&&(n.lengthOLe(s,n,i,e))},"JSONParse");var Uc=class extends Error{static{o(this,"RequestError")}name;status;request;response;constructor(e,r,s){super(e,{cause:s.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in s&&(this.response=s.response);let n=Object.assign({},s.request);s.request.headers.authorization&&(n.headers=Object.assign({},s.request.headers,{authorization:s.request.headers.authorization.replace(/(?"","noop");async function vX(t){let e=t.request?.fetch||globalThis.fetch;if(!e)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let r=t.request?.log||console,s=t.request?.parseSuccessResponseBody!==!1,n=zLe(t.body)||Array.isArray(t.body)?SX(t.body):t.body,i=Object.fromEntries(Object.entries(t.headers).map(([d,p])=>[d,String(p)])),a;try{a=await e(t.url,{method:t.method,body:n,redirect:t.request?.redirect,headers:i,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(d){let p="Unknown Error";if(d instanceof Error){if(d.name==="AbortError")throw d.status=500,d;p=d.message,d.name==="TypeError"&&"cause"in d&&(d.cause instanceof Error?p=d.cause.message:typeof d.cause=="string"&&(p=d.cause))}let m=new Uc(p,500,{request:t});throw m.cause=d,m}let c=a.status,l=a.url,u={};for(let[d,p]of a.headers)u[d]=p;let A={url:l,status:c,headers:u,data:""};if("deprecation"in u){let d=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),p=d&&d.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${p?`. See ${p}`:""}`)}if(c===204||c===205)return A;if(t.method==="HEAD"){if(c<400)return A;throw new Uc(a.statusText,c,{response:A,request:t})}if(c===304)throw A.data=await XD(a),new Uc("Not modified",c,{response:A,request:t});if(c>=400)throw A.data=await XD(a),new Uc($Le(A.data),c,{response:A,request:t});return A.data=s?await XD(a):a.body,A}o(vX,"fetchWrapper");async function XD(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(PX);let r=(0,kX.safeParse)(e);if(VLe(r)){let s="";try{return s=await t.text(),TX(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(PX):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(XD,"getResponseData");function VLe(t){return t.type==="application/json"||t.type==="application/scim+json"}o(VLe,"isJSONResponse");function $Le(t){if(typeof t=="string")return t;if(t instanceof ArrayBuffer)return"Unknown error";if("message"in t){let e="documentation_url"in t?` - ${t.documentation_url}`:"";return Array.isArray(t.errors)?`${t.message}: ${t.errors.map(r=>JSON.stringify(r)).join(", ")}${e}`:`${t.message}${e}`}return`Unknown error: ${JSON.stringify(t)}`}o($Le,"toErrorMessage");function ZD(t,e){let r=t.defaults(e);return Object.assign(o(function(n,i){let a=r.merge(n,i);if(!a.request||!a.request.hook)return vX(r.parse(a));let c=o((l,u)=>vX(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:ZD.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:ZD.bind(null,r)})}o(ZD,"withDefaults");var qm=ZD(CX,HLe);var YLe="0.0.0-development";function JLe(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` -`)}o($Le,"_buildMessageForResponseErrors");var YLe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super($Le(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},JLe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],WLe=["query","method","url"],kX=/\/api\/v3\/?$/;function jLe(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(WLe.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>JLe.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return kX.test(i)&&(n.url=i.replace(kX,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new YLe(n,c,a.data)}return a.data.data})}o(jLe,"graphql");function XD(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>jLe(r,n,i),"newApi"),{defaults:XD.bind(null,r),endpoint:r.endpoint})}o(XD,"withDefaults");var hpt=XD(Um,{headers:{"user-agent":`octokit-graphql.js/${VLe} ${ua()}`},method:"POST",url:"/graphql"});function DX(t){return XD(t,{method:"POST",url:"/graphql"})}o(DX,"withCustomRequest");var ZD="(?:[a-zA-Z0-9_-]+)",_X="\\.",LX=new RegExp(`^${ZD}${_X}${ZD}${_X}${ZD}$`),KLe=LX.test.bind(LX);async function XLe(t){let e=KLe(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(XLe,"auth");function ZLe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(ZLe,"withAuthorizationPrefix");async function eMe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=ZLe(t),e(n)}o(eMe,"hook");var MX=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(XLe.bind(null,e),{hook:eMe.bind(null,e)})},"createTokenAuth2");var e_="7.0.6";var OX=o(()=>{},"noop"),tMe=console.warn.bind(console),rMe=console.error.bind(console);function sMe(t={}){return typeof t.debug!="function"&&(t.debug=OX),typeof t.info!="function"&&(t.info=OX),typeof t.warn!="function"&&(t.warn=tMe),typeof t.error!="function"&&(t.error=rMe),t}o(sMe,"createLogger");var FX=`octokit-core.js/${e_} ${ua()}`,dB=class{static{o(this,"Octokit")}static VERSION=e_;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new dX.Collection,s={baseUrl:Um.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${FX}`:FX,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=Um.defaults(s),this.graphql=DX(this.request).defaults(s),this.log=sMe(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=MX(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i({async next(){if(!c)return{done:!0};try{let l=await n({method:i,url:c,headers:a}),u=lMe(l);if(c=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!c&&"total_commits"in u.data){let A=new URL(u.url),d=A.searchParams,p=parseInt(d.get("page")||"1",10),m=parseInt(d.get("per_page")||"250",10);p*m{if(n.done)return e;let i=!1;function a(){i=!0}return o(a,"done"),e=e.concat(s?s(n.value,a):n.value.data),i?e:GX(t,e,r,s)})}o(GX,"gather");var qpt=Object.assign(qX,{iterator:n_});function i_(t){return{paginate:Object.assign(qX.bind(null,t),{iterator:n_.bind(null,t)})}}o(i_,"paginateRest");i_.VERSION=cMe;var Ypt=new hA,o_=oX(),uMe={baseUrl:o_,request:{agent:nX(o_),fetch:iX(o_)}},HX=dB.plugin(s_,i_).defaults(uMe);function zX(t,e){let r=Object.assign({},e||{}),s=sX(t,r);s&&(r.auth=s);let n=$D(r.userAgent);return n&&(r.userAgent=n),r}o(zX,"getOctokitOptions");var EA=new hA;function VX(t,e,...r){let s=HX.plugin(...r);return new s(zX(t,e))}o(VX,"getOctokit");var Gm=b(require("http"),1),u_=b(require("https"),1);function a_(t){let e=t.protocol==="https:";if(dMe(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new pB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new pB(`http://${r}`)}else return}o(a_,"getProxyUrl");function dMe(t){if(!t.hostname)return!1;let e=t.hostname;if(pMe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(dMe,"checkBypass");function pMe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(pMe,"isLoopbackAddress");var pB=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Aa=b(CA(),1),$X=b(Ul(),1);var ft=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Js;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Js||(Js={}));var Cr;(function(t){t.Accept="accept",t.ContentType="content-type"})(Cr||(Cr={}));var uo;(function(t){t.ApplicationJson="application/json"})(uo||(uo={}));var hMe=[Js.MovedPermanently,Js.ResourceMoved,Js.SeeOther,Js.TemporaryRedirect,Js.PermanentRedirect],fMe=[Js.BadGateway,Js.ServiceUnavailable,Js.GatewayTimeout],gMe=["OPTIONS","GET","DELETE","HEAD"],EMe=10,yMe=5,c_=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},l_=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var mB=class{static{o(this,"HttpClient")}constructor(e,r,s){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=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ft(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ft(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ft(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ft(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ft(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ft(this,arguments,void 0,function*(r,s={}){s[Cr.Accept]=this._getExistingOrDefaultHeader(s,Cr.Accept,uo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Cr.Accept]=this._getExistingOrDefaultHeader(i,Cr.Accept,uo.ApplicationJson),i[Cr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,uo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Cr.Accept]=this._getExistingOrDefaultHeader(i,Cr.Accept,uo.ApplicationJson),i[Cr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,uo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Cr.Accept]=this._getExistingOrDefaultHeader(i,Cr.Accept,uo.ApplicationJson),i[Cr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,uo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ft(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&gMe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Js.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&hMe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!fMe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new l_(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=a_(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?u_:Gm;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},qm(this.requestOptions.headers),qm(e||{})):qm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=qm(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=qm(this.requestOptions.headers)[Cr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Cr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=a_(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Gm.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Aa.httpsOverHttps:Aa.httpsOverHttp:l=u?Aa.httpOverHttps:Aa.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new u_.Agent(c):new Gm.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new $X.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ft(this,void 0,void 0,function*(){e=Math.min(EMe,e);let r=yMe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ft(this,void 0,void 0,function*(){return new Promise((s,n)=>ft(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Js.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new c_(A,i);d.result=a.result,n(d)}else s(a)}))})}},qm=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var WX=require("stream/consumers");var Gc=class extends Error{static{o(this,"InvalidTokenError")}};Gc.prototype.name="InvalidTokenError";function IMe(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let s=r.charCodeAt(0).toString(16).toUpperCase();return s.length<2&&(s="0"+s),"%"+s}))}o(IMe,"b64DecodeUnicode");function BMe(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return IMe(e)}catch{return atob(e)}}o(BMe,"base64UrlDecode");function YX(t,e){if(typeof t!="string")throw new Gc("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,s=t.split(".")[r];if(typeof s!="string")throw new Gc(`Invalid token specified: missing part #${r+1}`);let n;try{n=BMe(s)}catch(i){throw new Gc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Gc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}o(YX,"jwtDecode");var hB=[1e3,3e3],wMe=new Set(["ECONNRESET","ETIMEDOUT","EAI_AGAIN","ECONNREFUSED","EPIPE","ERR_STREAM_PREMATURE_CLOSE"]),yA=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=VX(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...EA.repo}).then(e=>e.data)}async releases(e,r){let s;try{s=await this.releasesRaw(e,r)}catch(n){if(!this.githubToken)throw n;s=await this.releasesRaw(e,r,this.githubToken)}return s}async releasesRaw(e,r,s){let n=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,i=s?{Authorization:`token ${s}`}:void 0,a;for(let c=0;c<=hB.length;c++)try{let u=await new mB("docker-actions-toolkit").get(n,i),A=await(0,WX.text)(u.message),d=u.message.statusCode||500;if(d>=400){let p=new Error(`Failed to get ${e} releases from ${n} with status code ${d}: ${A}`);throw p.statusCode=d,p}return JSON.parse(A)}catch(l){if(a=l instanceof Error?l:new Error(`${l}`),!t.isRetryableReleaseError(a)||c===hB.length)throw a;re(`${a.message}. Retrying (${c+1}/${hB.length})...`),await new Promise(u=>setTimeout(u,hB[c]))}throw a||new Error(`Failed to get ${e} releases from ${n}`)}static isRetryableReleaseError(e){let r=e.statusCode;if(r)return r===408||r===429||r>=500;let s=e.code,n=e.message.toLowerCase();return s&&wMe.has(s)||n.includes("socket hang up")||n.includes("read econnreset")}static get context(){return EA}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){let r=new URL(t.serverURL).hostname.trimEnd().toUpperCase(),s=r==="GITHUB.COM",n=r.endsWith(".GHE.COM"),i=r.endsWith(".LOCALHOST");return!s&&!n&&!i}static get repository(){return`${EA.repo.owner}/${EA.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:EA.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(e){return`${t.serverURL}/${t.repository}/actions/runs/${t.runId}${e?`/attempts/${t.runAttempt}`:""}`}static get actionsRuntimeToken(){let e=process.env.ACTIONS_RUNTIME_TOKEN||"";return e?YX(e):void 0}static printUntrusted(e){let r=JX.randomUUID();re(`::stop-commands::${r}`);try{re(e)}finally{re(`::${r}::`)}}static async printActionsRuntimeTokenACs(){let e;try{e=t.actionsRuntimeToken}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${r.message}`)}if(!e)throw new Error("ACTIONS_RUNTIME_TOKEN not set");try{JSON.parse(`${e.ac}`).forEach(r=>{let s;switch(r.Permission){case 1:s="read";break;case 2:s="write";break;case 3:s="read/write";break;default:s=`unimplemented (${r.Permission})`}re(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var fB=class t{static{o(this,"Buildx")}_version;_versionOnce;_standalone;static containerNamePrefix="buildx_buildkit_";constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}static get configDir(){return process.env.BUILDX_CONFIG||Hr.default.join(Lm.configDir,"buildx")}static get refsDir(){return Hr.default.join(t.configDir,"refs")}static get refsGroupDir(){return Hr.default.join(t.refsDir,"__group__")}static get certsDir(){return Hr.default.join(t.configDir,"certs")}async isStandalone(){let e=this._standalone??!await Lm.isAvailable();return w(`Buildx.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"buildx":"docker",args:r?e:["buildx",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await no.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(s=>s.stderr.length>0&&s.exitCode!=0?(w(`Buildx.isAvailable cmd err: ${s.stderr.trim()}`),!1):s.exitCode==0).catch(s=>(w(`Buildx.isAvailable error: ${s}`),!1));return w(`Buildx.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await no.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await no.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse buildx version");return r[1]}static getErrorMessage(e){let r=(0,jX.stripVTControlCharacters)(e).split(/[\r\n]/),s="";for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i.startsWith("ERROR:"))return i.slice(6).trim()||"unknown error";s||=i}return s||"unknown error"}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return w("Buildx.versionSatisfies false: undefined version"),!1;let n=KX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return w(`Buildx.versionSatisfies ${s} statisfies ${e}: ${n}`),n}static resolveCertsDriverOpts(e,r,s){let n;try{n=new URL(r)}catch{return[]}if(n.protocol!="tcp:")return[];let i=[];if(Object.keys(s).length==0)return i;let a=n.hostname;if(n.port.length>0&&(a+=`-${n.port}`),s.cacert!==void 0){let c=Hr.default.join(t.certsDir,`cacert_${a}.pem`);Ws.default.writeFileSync(c,s.cacert),i.push(`cacert=${c}`)}if(s.cert!==void 0){let c=Hr.default.join(t.certsDir,`cert_${a}.pem`);Ws.default.writeFileSync(c,s.cert),i.push(`cert=${c}`)}if(s.key!==void 0){let c=Hr.default.join(t.certsDir,`key_${a}.pem`);Ws.default.writeFileSync(c,s.key),i.push(`key=${c}`)}return e!="remote"?[]:i}static localState(e,r){let[s,n,i]=e.split("/");if(!s||!n||!i)throw new Error(`Invalid build reference: ${e}`);let a=Hr.default.join(r||t.refsDir,s,n,i);if(!Ws.default.existsSync(a))throw new Error(`Local state not found in ${a}`);return t.fixLocalState(JSON.parse(Ws.default.readFileSync(a,"utf8")))}static fixLocalState(e){let r=o(function(a){let c=a.match(/(.*)(https?:\/{1,2}\S+|ssh:\/{1,2}\S+|git:\/{1,2}\S+)/i);if(c&&c.length==3){let l=c[1],u=c[2];return u.startsWith("https:/")&&!u.startsWith("https://")&&(u=u.replace("https:/","https://")),u.startsWith("http:/")&&!u.startsWith("http://")&&(u=u.replace("http:/","http://")),u.startsWith("ssh:/")&&!u.startsWith("ssh://")&&(u=u.replace("ssh:/","ssh://")),u.startsWith("git:/")&&!u.startsWith("git://")&&(u=u.replace("git:/","git://")),[u,l,!0]}return[a,"",!1]},"fnTrimToValidContext"),[s,n,i]=r(e.LocalPath);return i&&(e.LocalPath=s,e.DockerfilePath.indexOf(n)===0&&(e.DockerfilePath=e.DockerfilePath.substring(n.length))),e.LocalPath=e.LocalPath.endsWith("/-")?"-":e.LocalPath,e.DockerfilePath=e.DockerfilePath.endsWith("/-")?"-":e.DockerfilePath,e}static refs(e,r={}){let{dir:s,builderName:n,nodeName:i,since:a}=e,c=Hr.default.resolve(s);if(e.builderName&&(c=Hr.default.join(c,e.builderName)),e.nodeName&&(c=Hr.default.join(c,e.nodeName)),!Ws.default.existsSync(c))return r;let l=Ws.default.readdirSync(c);for(let u of l){let A=Hr.default.join(c,u),d=Ws.default.statSync(A);if(d.isDirectory()){let p={...e};if(n)i||(p.nodeName=u);else{if(u==="__group__")continue;p.builderName=u}t.refs(p,r)}else{if(a&&d.mtimeatob(f)).join(" "),p=atob(l.short).replace(/\s\(line \d+\)$/,"");l.url&&(p+=` -More info: ${l.url}`);let m=l.range&&l.range.length>0?l.range[0]?.start.line:void 0,h=!1;for(let f of a)if(f.remote||f.path.endsWith(u)&&f.content===A){c.push({title:d,message:p,file:f.path,startLine:m}),h=!0;break}h||w(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${d}`)}return c}};x5(async()=>{let t=Vl("workdir"),e=co.getInputList("files"),r=Vl("target"),s=co.getInputList("fields"),n=await xd("Parsing definition",async()=>{let i=["buildx","bake"];for(let l of e)i.push("--file",l);r&&i.push(r),i.push("--print");let a=await Ha("docker",i,{ignoreReturnCode:!0,silent:!0,cwd:t});if(a.exitCode!==0)throw new Error(`buildx bake failed with: ${fB.getErrorMessage(a.stderr)}`);let c=JSON.parse(a.stdout.trim());return re(JSON.stringify(c,null,2)),c});await xd("Generating matrix",async()=>{let i=[];for(let[a,c]of Object.entries(n.target)){let l={target:a};if(s.length===0){i.push(l);continue}let u=!1;Object.keys(c).forEach(A=>{if(s.includes(A)){u=!0;let d=c[A];Array.isArray(d)?d.forEach(p=>{l[A]=p,i.push({...l})}):(l[A]=d,i.push({...l}))}}),u||i.push(l)}re(JSON.stringify(i,null,2)),dG("matrix",JSON.stringify(i))})}); +`)}o(JLe,"_buildMessageForResponseErrors");var WLe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(JLe(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},jLe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],KLe=["query","method","url"],DX=/\/api\/v3\/?$/;function XLe(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(KLe.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>jLe.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return DX.test(i)&&(n.url=i.replace(DX,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new WLe(n,c,a.data)}return a.data.data})}o(XLe,"graphql");function e_(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>XLe(r,n,i),"newApi"),{defaults:e_.bind(null,r),endpoint:r.endpoint})}o(e_,"withDefaults");var Cpt=e_(qm,{headers:{"user-agent":`octokit-graphql.js/${YLe} ${ua()}`},method:"POST",url:"/graphql"});function _X(t){return e_(t,{method:"POST",url:"/graphql"})}o(_X,"withCustomRequest");var t_="(?:[a-zA-Z0-9_-]+)",LX="\\.",MX=new RegExp(`^${t_}${LX}${t_}${LX}${t_}$`),ZLe=MX.test.bind(MX);async function eMe(t){let e=ZLe(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(eMe,"auth");function tMe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(tMe,"withAuthorizationPrefix");async function rMe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=tMe(t),e(n)}o(rMe,"hook");var OX=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(eMe.bind(null,e),{hook:rMe.bind(null,e)})},"createTokenAuth2");var r_="7.0.6";var FX=o(()=>{},"noop"),sMe=console.warn.bind(console),nMe=console.error.bind(console);function iMe(t={}){return typeof t.debug!="function"&&(t.debug=FX),typeof t.info!="function"&&(t.info=FX),typeof t.warn!="function"&&(t.warn=sMe),typeof t.error!="function"&&(t.error=nMe),t}o(iMe,"createLogger");var UX=`octokit-core.js/${r_} ${ua()}`,pB=class{static{o(this,"Octokit")}static VERSION=r_;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new pX.Collection,s={baseUrl:qm.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${UX}`:UX,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=qm.defaults(s),this.graphql=_X(this.request).defaults(s),this.log=iMe(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=OX(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i({async next(){if(!c)return{done:!0};try{let l=await n({method:i,url:c,headers:a}),u=AMe(l);if(c=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!c&&"total_commits"in u.data){let A=new URL(u.url),d=A.searchParams,p=parseInt(d.get("page")||"1",10),m=parseInt(d.get("per_page")||"250",10);p*m{if(n.done)return e;let i=!1;function a(){i=!0}return o(a,"done"),e=e.concat(s?s(n.value,a):n.value.data),i?e:HX(t,e,r,s)})}o(HX,"gather");var $pt=Object.assign(GX,{iterator:o_});function a_(t){return{paginate:Object.assign(GX.bind(null,t),{iterator:o_.bind(null,t)})}}o(a_,"paginateRest");a_.VERSION=uMe;var Xpt=new fA,c_=aX(),dMe={baseUrl:c_,request:{agent:iX(c_),fetch:oX(c_)}},zX=pB.plugin(i_,a_).defaults(dMe);function VX(t,e){let r=Object.assign({},e||{}),s=nX(t,r);s&&(r.auth=s);let n=JD(r.userAgent);return n&&(r.userAgent=n),r}o(VX,"getOctokitOptions");var yA=new fA;function $X(t,e,...r){let s=zX.plugin(...r);return new s(VX(t,e))}o($X,"getOctokit");var Hm=b(require("http"),1),d_=b(require("https"),1);function l_(t){let e=t.protocol==="https:";if(mMe(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new mB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new mB(`http://${r}`)}else return}o(l_,"getProxyUrl");function mMe(t){if(!t.hostname)return!1;let e=t.hostname;if(hMe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(mMe,"checkBypass");function hMe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(hMe,"isLoopbackAddress");var mB=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Aa=b(IA(),1),YX=b(Ul(),1);var ft=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Js;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(Js||(Js={}));var Cr;(function(t){t.Accept="accept",t.ContentType="content-type"})(Cr||(Cr={}));var uo;(function(t){t.ApplicationJson="application/json"})(uo||(uo={}));var gMe=[Js.MovedPermanently,Js.ResourceMoved,Js.SeeOther,Js.TemporaryRedirect,Js.PermanentRedirect],EMe=[Js.BadGateway,Js.ServiceUnavailable,Js.GatewayTimeout],yMe=["OPTIONS","GET","DELETE","HEAD"],CMe=10,IMe=5,u_=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},A_=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var hB=class{static{o(this,"HttpClient")}constructor(e,r,s){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=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ft(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ft(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ft(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ft(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ft(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ft(this,arguments,void 0,function*(r,s={}){s[Cr.Accept]=this._getExistingOrDefaultHeader(s,Cr.Accept,uo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Cr.Accept]=this._getExistingOrDefaultHeader(i,Cr.Accept,uo.ApplicationJson),i[Cr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,uo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Cr.Accept]=this._getExistingOrDefaultHeader(i,Cr.Accept,uo.ApplicationJson),i[Cr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,uo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Cr.Accept]=this._getExistingOrDefaultHeader(i,Cr.Accept,uo.ApplicationJson),i[Cr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,uo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ft(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&yMe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Js.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&gMe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!EMe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new A_(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=l_(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?d_:Hm;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Gm(this.requestOptions.headers),Gm(e||{})):Gm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Gm(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Gm(this.requestOptions.headers)[Cr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Cr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=l_(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Hm.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Aa.httpsOverHttps:Aa.httpsOverHttp:l=u?Aa.httpOverHttps:Aa.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new d_.Agent(c):new Hm.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new YX.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ft(this,void 0,void 0,function*(){e=Math.min(CMe,e);let r=IMe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ft(this,void 0,void 0,function*(){return new Promise((s,n)=>ft(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Js.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new u_(A,i);d.result=a.result,n(d)}else s(a)}))})}},Gm=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var jX=require("stream/consumers");var Gc=class extends Error{static{o(this,"InvalidTokenError")}};Gc.prototype.name="InvalidTokenError";function wMe(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let s=r.charCodeAt(0).toString(16).toUpperCase();return s.length<2&&(s="0"+s),"%"+s}))}o(wMe,"b64DecodeUnicode");function bMe(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return wMe(e)}catch{return atob(e)}}o(bMe,"base64UrlDecode");function JX(t,e){if(typeof t!="string")throw new Gc("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,s=t.split(".")[r];if(typeof s!="string")throw new Gc(`Invalid token specified: missing part #${r+1}`);let n;try{n=bMe(s)}catch(i){throw new Gc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Gc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}o(JX,"jwtDecode");var fB=[1e3,3e3],QMe=new Set(["ECONNRESET","ETIMEDOUT","EAI_AGAIN","ECONNREFUSED","EPIPE","ERR_STREAM_PREMATURE_CLOSE"]),CA=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=$X(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...yA.repo}).then(e=>e.data)}async releases(e,r){let s;try{s=await this.releasesRaw(e,r)}catch(n){if(!this.githubToken)throw n;s=await this.releasesRaw(e,r,this.githubToken)}return s}async releasesRaw(e,r,s){let n=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,i=s?{Authorization:`token ${s}`}:void 0,a;for(let c=0;c<=fB.length;c++)try{let u=await new hB("docker-actions-toolkit").get(n,i),A=await(0,jX.text)(u.message),d=u.message.statusCode||500;if(d>=400){let p=new Error(`Failed to get ${e} releases from ${n} with status code ${d}: ${A}`);throw p.statusCode=d,p}return JSON.parse(A)}catch(l){if(a=l instanceof Error?l:new Error(`${l}`),!t.isRetryableReleaseError(a)||c===fB.length)throw a;re(`${a.message}. Retrying (${c+1}/${fB.length})...`),await new Promise(u=>setTimeout(u,fB[c]))}throw a||new Error(`Failed to get ${e} releases from ${n}`)}static isRetryableReleaseError(e){let r=e.statusCode;if(r)return r===408||r===429||r>=500;let s=e.code,n=e.message.toLowerCase();return s&&QMe.has(s)||n.includes("socket hang up")||n.includes("read econnreset")}static get context(){return yA}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){let r=new URL(t.serverURL).hostname.trimEnd().toUpperCase(),s=r==="GITHUB.COM",n=r.endsWith(".GHE.COM"),i=r.endsWith(".LOCALHOST");return!s&&!n&&!i}static get repository(){return`${yA.repo.owner}/${yA.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:yA.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(e){return`${t.serverURL}/${t.repository}/actions/runs/${t.runId}${e?`/attempts/${t.runAttempt}`:""}`}static get actionsRuntimeToken(){let e=process.env.ACTIONS_RUNTIME_TOKEN||"";return e?JX(e):void 0}static printUntrusted(e){let r=WX.randomUUID();re(`::stop-commands::${r}`);try{re(e)}finally{re(`::${r}::`)}}static async printActionsRuntimeTokenACs(){let e;try{e=t.actionsRuntimeToken}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${r.message}`)}if(!e)throw new Error("ACTIONS_RUNTIME_TOKEN not set");try{JSON.parse(`${e.ac}`).forEach(r=>{let s;switch(r.Permission){case 1:s="read";break;case 2:s="write";break;case 3:s="read/write";break;default:s=`unimplemented (${r.Permission})`}re(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var gB=class t{static{o(this,"Buildx")}_version;_versionOnce;_standalone;static containerNamePrefix="buildx_buildkit_";constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}static get configDir(){return process.env.BUILDX_CONFIG||Hr.default.join(Mm.configDir,"buildx")}static get refsDir(){return Hr.default.join(t.configDir,"refs")}static get refsGroupDir(){return Hr.default.join(t.refsDir,"__group__")}static get certsDir(){return Hr.default.join(t.configDir,"certs")}async isStandalone(){let e=this._standalone??!await Mm.isAvailable();return w(`Buildx.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"buildx":"docker",args:r?e:["buildx",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await no.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(s=>s.stderr.length>0&&s.exitCode!=0?(w(`Buildx.isAvailable cmd err: ${s.stderr.trim()}`),!1):s.exitCode==0).catch(s=>(w(`Buildx.isAvailable error: ${s}`),!1));return w(`Buildx.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await no.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await no.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse buildx version");return r[1]}static getErrorMessage(e){let r=(0,KX.stripVTControlCharacters)(e).split(/[\r\n]/),s="";for(let n=r.length-1;n>=0;n--){let i=r[n].trim();if(i.startsWith("ERROR:"))return i.slice(6).trim()||"unknown error";s||=i}return s||"unknown error"}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return w("Buildx.versionSatisfies false: undefined version"),!1;let n=XX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return w(`Buildx.versionSatisfies ${s} statisfies ${e}: ${n}`),n}static resolveCertsDriverOpts(e,r,s){let n;try{n=new URL(r)}catch{return[]}if(n.protocol!="tcp:")return[];let i=[];if(Object.keys(s).length==0)return i;let a=n.hostname;if(n.port.length>0&&(a+=`-${n.port}`),s.cacert!==void 0){let c=Hr.default.join(t.certsDir,`cacert_${a}.pem`);Ws.default.writeFileSync(c,s.cacert),i.push(`cacert=${c}`)}if(s.cert!==void 0){let c=Hr.default.join(t.certsDir,`cert_${a}.pem`);Ws.default.writeFileSync(c,s.cert),i.push(`cert=${c}`)}if(s.key!==void 0){let c=Hr.default.join(t.certsDir,`key_${a}.pem`);Ws.default.writeFileSync(c,s.key),i.push(`key=${c}`)}return e!="remote"?[]:i}static localState(e,r){let[s,n,i]=e.split("/");if(!s||!n||!i)throw new Error(`Invalid build reference: ${e}`);let a=Hr.default.join(r||t.refsDir,s,n,i);if(!Ws.default.existsSync(a))throw new Error(`Local state not found in ${a}`);return t.fixLocalState(JSON.parse(Ws.default.readFileSync(a,"utf8")))}static fixLocalState(e){let r=o(function(a){let c=a.match(/(.*)(https?:\/{1,2}\S+|ssh:\/{1,2}\S+|git:\/{1,2}\S+)/i);if(c&&c.length==3){let l=c[1],u=c[2];return u.startsWith("https:/")&&!u.startsWith("https://")&&(u=u.replace("https:/","https://")),u.startsWith("http:/")&&!u.startsWith("http://")&&(u=u.replace("http:/","http://")),u.startsWith("ssh:/")&&!u.startsWith("ssh://")&&(u=u.replace("ssh:/","ssh://")),u.startsWith("git:/")&&!u.startsWith("git://")&&(u=u.replace("git:/","git://")),[u,l,!0]}return[a,"",!1]},"fnTrimToValidContext"),[s,n,i]=r(e.LocalPath);return i&&(e.LocalPath=s,e.DockerfilePath.indexOf(n)===0&&(e.DockerfilePath=e.DockerfilePath.substring(n.length))),e.LocalPath=e.LocalPath.endsWith("/-")?"-":e.LocalPath,e.DockerfilePath=e.DockerfilePath.endsWith("/-")?"-":e.DockerfilePath,e}static refs(e,r={}){let{dir:s,builderName:n,nodeName:i,since:a}=e,c=Hr.default.resolve(s);if(e.builderName&&(c=Hr.default.join(c,e.builderName)),e.nodeName&&(c=Hr.default.join(c,e.nodeName)),!Ws.default.existsSync(c))return r;let l=Ws.default.readdirSync(c);for(let u of l){let A=Hr.default.join(c,u),d=Ws.default.statSync(A);if(d.isDirectory()){let p={...e};if(n)i||(p.nodeName=u);else{if(u==="__group__")continue;p.builderName=u}t.refs(p,r)}else{if(a&&d.mtimeatob(f)).join(" "),p=atob(l.short).replace(/\s\(line \d+\)$/,"");l.url&&(p+=` +More info: ${l.url}`);let m=l.range&&l.range.length>0?l.range[0]?.start.line:void 0,h=!1;for(let f of a)if(f.remote||f.path.endsWith(u)&&f.content===A){c.push({title:d,message:p,file:f.path,startLine:m}),h=!0;break}h||w(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${u}: ${d}`)}return c}};var EB=class{static{o(this,"DependencyGraph")}definition;_maxDepth=-1;predecessors={};get maxDepth(){if(this._maxDepth==-1){let e=[];for(let r in this.predecessors)e.push(this.getMaxDepth(r));this._maxDepth=Math.max(...e,0)}return this._maxDepth}constructor(e){this.definition=e;for(let r in this.definition.target)this.predecessors[r]=this.getTargetDependencies(r)}getTargetDependencies(e){let r=new Set,s=this.definition.target[e].contexts;if(!s)return r;for(let n of Object.values(s))n.startsWith("target:")&&r.add(n.substring(7));return r}getMaxDepth(e){let r=[];for(let s of this.predecessors[e])r.push(this.getMaxDepth(s)+1);return Math.max(...r,1)}getTargetsWithoutDependencies(){let e=new Set;for(let r in this.predecessors)this.predecessors[r].size==0&&e.add(r);return e}getReadyTargets(e){if(e.length==0)return this.getTargetsWithoutDependencies();let r=new Set;for(let s in this.predecessors){if(e.includes(s))continue;let n=!0;for(let i of this.predecessors[s].values())if(!e.includes(i)){n=!1;break}n&&r.add(s)}return r}getLayeredMatrix(){let e=[],r=this.getReadyTargets([]);for(;r.size>0;)e.push([...r]),r=this.getReadyTargets(e.flat());return e}};N5(async()=>{let t=Vl("workdir"),e=co.getInputList("files"),r=Vl("target"),s=co.getInputList("fields"),n=await Yl("Parsing definition",async()=>{let i=await xMe(t,e,r);return re(JSON.stringify(i,null,2)),i});await Yl("Generating matrix",async()=>{let i=NMe(n,s);re(JSON.stringify(i,null,2)),Nd("matrix",JSON.stringify(i))}),await Yl("Generating layered matrix",async()=>{let i=new EB(n);re(`Max amount of layers: ${i.maxDepth}`),Nd("max-layers",i.maxDepth);let a=SMe(i,s);re(JSON.stringify(a,null,2)),Nd("layered-matrix",JSON.stringify(a)),Nd("layers",a.length)})});async function xMe(t,e,r){let s=["buildx","bake"];for(let i of e)s.push("--file",i);r&&s.push(r),s.push("--print");let n=await Ha("docker",s,{ignoreReturnCode:!0,silent:!0,cwd:t});if(n.exitCode!==0)throw new Error(`buildx bake failed with: ${gB.getErrorMessage(n.stderr)}`);return JSON.parse(n.stdout.trim())}o(xMe,"getBakeDefinition");function ZX(t,e,r){let s={target:t};if(r.length===0)return[{...s}];let n=[],i=!1;return Object.keys(e).forEach(a=>{if(r.includes(a)){i=!0;let c=e[a];Array.isArray(c)?c.forEach(l=>{s[a]=l,n.push({...s})}):(s[a]=c,n.push({...s}))}}),i||n.push({...s}),n}o(ZX,"getTargetsWithFields");function NMe(t,e){let r=[];for(let[s,n]of Object.entries(t.target))r.push(...ZX(s,n,e));return r}o(NMe,"generateDefaultMatrix");function SMe(t,e){let r=t.getLayeredMatrix(),s=[];for(let n of r){let i=[];for(let a of n.sort())i.push(...ZX(a,t.definition.target[a],e));s.push(i)}return s}o(SMe,"generateLayeredMatrix"); /*! Bundled license information: undici/lib/web/fetch/body.js: diff --git a/subaction/matrix/dist/index.cjs.map b/subaction/matrix/dist/index.cjs.map index 08df639..8bb8ac6 100644 --- a/subaction/matrix/dist/index.cjs.map +++ b/subaction/matrix/dist/index.cjs.map @@ -1,7 +1,7 @@ { "version": 3, - "sources": ["../../../node_modules/tunnel/lib/tunnel.js", "../../../node_modules/tunnel/index.js", "../../../node_modules/undici/lib/core/symbols.js", "../../../node_modules/undici/lib/core/errors.js", "../../../node_modules/undici/lib/core/constants.js", "../../../node_modules/undici/lib/core/tree.js", "../../../node_modules/undici/lib/core/util.js", "../../../node_modules/undici/lib/core/diagnostics.js", "../../../node_modules/undici/lib/core/request.js", "../../../node_modules/undici/lib/dispatcher/dispatcher.js", "../../../node_modules/undici/lib/dispatcher/dispatcher-base.js", "../../../node_modules/undici/lib/util/timers.js", "../../../node_modules/undici/lib/core/connect.js", "../../../node_modules/undici/lib/llhttp/utils.js", "../../../node_modules/undici/lib/llhttp/constants.js", "../../../node_modules/undici/lib/llhttp/llhttp-wasm.js", "../../../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../../../node_modules/undici/lib/web/fetch/constants.js", "../../../node_modules/undici/lib/web/fetch/global.js", "../../../node_modules/undici/lib/web/fetch/data-url.js", "../../../node_modules/undici/lib/web/fetch/webidl.js", "../../../node_modules/undici/lib/web/fetch/util.js", "../../../node_modules/undici/lib/web/fetch/symbols.js", "../../../node_modules/undici/lib/web/fetch/file.js", "../../../node_modules/undici/lib/web/fetch/formdata.js", "../../../node_modules/undici/lib/web/fetch/formdata-parser.js", "../../../node_modules/undici/lib/web/fetch/body.js", "../../../node_modules/undici/lib/dispatcher/client-h1.js", "../../../node_modules/undici/lib/dispatcher/client-h2.js", "../../../node_modules/undici/lib/handler/redirect-handler.js", "../../../node_modules/undici/lib/interceptor/redirect-interceptor.js", "../../../node_modules/undici/lib/dispatcher/client.js", "../../../node_modules/undici/lib/dispatcher/fixed-queue.js", "../../../node_modules/undici/lib/dispatcher/pool-stats.js", "../../../node_modules/undici/lib/dispatcher/pool-base.js", "../../../node_modules/undici/lib/dispatcher/pool.js", "../../../node_modules/undici/lib/dispatcher/balanced-pool.js", "../../../node_modules/undici/lib/dispatcher/agent.js", "../../../node_modules/undici/lib/dispatcher/proxy-agent.js", "../../../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js", "../../../node_modules/undici/lib/handler/retry-handler.js", "../../../node_modules/undici/lib/dispatcher/retry-agent.js", "../../../node_modules/undici/lib/api/readable.js", "../../../node_modules/undici/lib/api/util.js", "../../../node_modules/undici/lib/api/api-request.js", "../../../node_modules/undici/lib/api/abort-signal.js", "../../../node_modules/undici/lib/api/api-stream.js", "../../../node_modules/undici/lib/api/api-pipeline.js", "../../../node_modules/undici/lib/api/api-upgrade.js", "../../../node_modules/undici/lib/api/api-connect.js", "../../../node_modules/undici/lib/api/index.js", "../../../node_modules/undici/lib/mock/mock-errors.js", "../../../node_modules/undici/lib/mock/mock-symbols.js", "../../../node_modules/undici/lib/mock/mock-utils.js", "../../../node_modules/undici/lib/mock/mock-interceptor.js", "../../../node_modules/undici/lib/mock/mock-client.js", "../../../node_modules/undici/lib/mock/mock-pool.js", "../../../node_modules/undici/lib/mock/pluralizer.js", "../../../node_modules/undici/lib/mock/pending-interceptors-formatter.js", "../../../node_modules/undici/lib/mock/mock-agent.js", "../../../node_modules/undici/lib/global.js", "../../../node_modules/undici/lib/handler/decorator-handler.js", "../../../node_modules/undici/lib/interceptor/redirect.js", "../../../node_modules/undici/lib/interceptor/retry.js", "../../../node_modules/undici/lib/interceptor/dump.js", "../../../node_modules/undici/lib/interceptor/dns.js", "../../../node_modules/undici/lib/web/fetch/headers.js", "../../../node_modules/undici/lib/web/fetch/response.js", "../../../node_modules/undici/lib/web/fetch/dispatcher-weakref.js", "../../../node_modules/undici/lib/web/fetch/request.js", "../../../node_modules/undici/lib/web/fetch/index.js", "../../../node_modules/undici/lib/web/fileapi/symbols.js", "../../../node_modules/undici/lib/web/fileapi/progressevent.js", "../../../node_modules/undici/lib/web/fileapi/encoding.js", "../../../node_modules/undici/lib/web/fileapi/util.js", "../../../node_modules/undici/lib/web/fileapi/filereader.js", "../../../node_modules/undici/lib/web/cache/symbols.js", "../../../node_modules/undici/lib/web/cache/util.js", "../../../node_modules/undici/lib/web/cache/cache.js", "../../../node_modules/undici/lib/web/cache/cachestorage.js", "../../../node_modules/undici/lib/web/cookies/constants.js", "../../../node_modules/undici/lib/web/cookies/util.js", "../../../node_modules/undici/lib/web/cookies/parse.js", "../../../node_modules/undici/lib/web/cookies/index.js", "../../../node_modules/undici/lib/web/websocket/events.js", "../../../node_modules/undici/lib/web/websocket/constants.js", "../../../node_modules/undici/lib/web/websocket/symbols.js", "../../../node_modules/undici/lib/web/websocket/util.js", "../../../node_modules/undici/lib/web/websocket/frame.js", "../../../node_modules/undici/lib/web/websocket/connection.js", "../../../node_modules/undici/lib/web/websocket/permessage-deflate.js", "../../../node_modules/undici/lib/web/websocket/receiver.js", "../../../node_modules/undici/lib/web/websocket/sender.js", "../../../node_modules/undici/lib/web/websocket/websocket.js", "../../../node_modules/undici/lib/web/eventsource/util.js", "../../../node_modules/undici/lib/web/eventsource/eventsource-stream.js", "../../../node_modules/undici/lib/web/eventsource/eventsource.js", "../../../node_modules/undici/index.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/internal/constants.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/internal/debug.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/internal/re.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/internal/parse-options.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/internal/identifiers.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/classes/semver.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/parse.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/valid.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/clean.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/inc.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/diff.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/major.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/minor.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/patch.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/prerelease.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/compare.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/rcompare.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/compare-loose.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/compare-build.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/sort.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/rsort.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/gt.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/lt.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/eq.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/neq.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/gte.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/lte.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/cmp.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/coerce.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/internal/lrucache.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/classes/range.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/classes/comparator.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/functions/satisfies.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/to-comparators.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/max-satisfying.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/min-satisfying.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/min-version.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/valid.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/outside.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/gtr.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/ltr.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/intersects.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/simplify.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/ranges/subset.js", "../../../node_modules/@actions/tool-cache/node_modules/semver/index.js", "../../../node_modules/@actions/cache/node_modules/semver/internal/constants.js", "../../../node_modules/@actions/cache/node_modules/semver/internal/debug.js", "../../../node_modules/@actions/cache/node_modules/semver/internal/re.js", "../../../node_modules/@actions/cache/node_modules/semver/internal/parse-options.js", "../../../node_modules/@actions/cache/node_modules/semver/internal/identifiers.js", "../../../node_modules/@actions/cache/node_modules/semver/classes/semver.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/parse.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/valid.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/clean.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/inc.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/diff.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/major.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/minor.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/patch.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/prerelease.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/compare.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/rcompare.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/compare-loose.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/compare-build.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/sort.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/rsort.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/gt.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/lt.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/eq.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/neq.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/gte.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/lte.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/cmp.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/coerce.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/truncate.js", "../../../node_modules/@actions/cache/node_modules/semver/internal/lrucache.js", "../../../node_modules/@actions/cache/node_modules/semver/classes/range.js", "../../../node_modules/@actions/cache/node_modules/semver/classes/comparator.js", "../../../node_modules/@actions/cache/node_modules/semver/functions/satisfies.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/to-comparators.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/max-satisfying.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/min-satisfying.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/min-version.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/valid.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/outside.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/gtr.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/ltr.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/intersects.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/simplify.js", "../../../node_modules/@actions/cache/node_modules/semver/ranges/subset.js", "../../../node_modules/@actions/cache/node_modules/semver/index.js", "../../../node_modules/ms/index.js", "../../../node_modules/debug/src/common.js", "../../../node_modules/debug/src/browser.js", "../../../node_modules/has-flag/index.js", "../../../node_modules/supports-color/index.js", "../../../node_modules/debug/src/node.js", "../../../node_modules/debug/src/index.js", "../../../node_modules/https-proxy-agent/node_modules/agent-base/src/helpers.ts", "../../../node_modules/https-proxy-agent/node_modules/agent-base/src/index.ts", "../../../node_modules/https-proxy-agent/src/parse-proxy-response.ts", "../../../node_modules/https-proxy-agent/src/index.ts", "../../../node_modules/agent-base/src/helpers.ts", "../../../node_modules/agent-base/src/index.ts", "../../../node_modules/http-proxy-agent/src/index.ts", "../../../node_modules/@azure/core-tracing/src/state-cjs.cts", "../../../node_modules/@azure/core-client/src/state-cjs.cts", "../../../node_modules/@azure/core-lro/node_modules/@azure/logger/src/log.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/logger/src/debug.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/logger/src/index.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/abort-controller/src/AbortSignal.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/abort-controller/src/AbortController.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/createAbortablePromise.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/delay.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/random.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/object.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/error.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/sha256.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/typeGuards.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/uuidUtils.native.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/uuidUtils.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/checkEnvironment.ts", "../../../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/bytesEncoding.ts", "../../../node_modules/@azure/core-lro/src/logger.ts", "../../../node_modules/@azure/core-lro/src/poller/constants.ts", "../../../node_modules/@azure/core-lro/src/poller/operation.ts", "../../../node_modules/@azure/core-lro/src/http/operation.ts", "../../../node_modules/@azure/core-lro/src/poller/poller.ts", "../../../node_modules/@azure/core-lro/src/http/poller.ts", "../../../node_modules/@azure/core-lro/src/legacy/lroEngine/operation.ts", "../../../node_modules/@azure/core-lro/src/legacy/poller.ts", "../../../node_modules/@azure/core-lro/src/legacy/lroEngine/lroEngine.ts", "../../../node_modules/@actions/cache/package.json", "../../../node_modules/@actions/cache/lib/internal/shared/package-version.cjs", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/json-typings.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/base64.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/protobufjs-utf8.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/binary-format-contract.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/goog-varint.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/pb-long.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/binary-reader.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/assert.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/binary-writer.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/json-format-contract.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/message-type-contract.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/lower-camel-case.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-info.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/oneof.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-type-check.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-long-convert.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-reader.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-writer.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-scalar-default.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-reader.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-writer.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-create.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-merge-partial.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-equals.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/message-type.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-contains-message-type.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/enum-object.js", "../../../node_modules/@protobuf-ts/runtime/build/commonjs/index.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/reflection-info.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/service-type.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-error.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-options.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/deferred.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/unary-call.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-streaming-call.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/client-streaming-call.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/duplex-streaming-call.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/test-transport.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-interceptor.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-call-context.js", "../../../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/index.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/internal/constants.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/internal/debug.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/internal/re.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/internal/parse-options.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/internal/identifiers.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/classes/semver.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/parse.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/valid.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/clean.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/inc.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/diff.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/major.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/minor.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/patch.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/prerelease.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/compare.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/rcompare.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/compare-loose.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/compare-build.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/sort.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/rsort.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/gt.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/lt.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/eq.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/neq.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/gte.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/lte.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/cmp.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/coerce.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/truncate.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/internal/lrucache.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/classes/range.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/classes/comparator.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/functions/satisfies.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/to-comparators.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/max-satisfying.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/min-satisfying.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/min-version.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/valid.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/outside.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/gtr.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/ltr.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/intersects.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/simplify.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/subset.js", "../../../node_modules/@docker/actions-toolkit/node_modules/semver/index.js", "../../../node_modules/retry/lib/retry_operation.js", "../../../node_modules/retry/lib/retry.js", "../../../node_modules/retry/index.js", "../../../node_modules/async-retry/lib/index.js", "../../../node_modules/tmp/lib/tmp.js", "../../../node_modules/handlebars/lib/handlebars/utils.js", "../../../node_modules/handlebars/lib/handlebars/exception.js", "../../../node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js", "../../../node_modules/handlebars/lib/handlebars/helpers/each.js", "../../../node_modules/handlebars/lib/handlebars/helpers/helper-missing.js", "../../../node_modules/handlebars/lib/handlebars/helpers/if.js", "../../../node_modules/handlebars/lib/handlebars/helpers/log.js", "../../../node_modules/handlebars/lib/handlebars/helpers/lookup.js", "../../../node_modules/handlebars/lib/handlebars/helpers/with.js", "../../../node_modules/handlebars/lib/handlebars/helpers.js", "../../../node_modules/handlebars/lib/handlebars/decorators/inline.js", "../../../node_modules/handlebars/lib/handlebars/decorators.js", "../../../node_modules/handlebars/lib/handlebars/logger.js", "../../../node_modules/handlebars/lib/handlebars/internal/proto-access.js", "../../../node_modules/handlebars/lib/handlebars/base.js", "../../../node_modules/handlebars/lib/handlebars/safe-string.js", "../../../node_modules/handlebars/lib/handlebars/internal/wrapHelper.js", "../../../node_modules/handlebars/lib/handlebars/runtime.js", "../../../node_modules/handlebars/lib/handlebars/no-conflict.js", "../../../node_modules/handlebars/lib/handlebars.runtime.js", "../../../node_modules/handlebars/lib/handlebars/compiler/ast.js", "../../../node_modules/handlebars/lib/handlebars/compiler/parser.js", "../../../node_modules/handlebars/lib/handlebars/compiler/node-types.js", "../../../node_modules/handlebars/lib/handlebars/compiler/visitor.js", "../../../node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js", "../../../node_modules/handlebars/lib/handlebars/compiler/helpers.js", "../../../node_modules/handlebars/lib/handlebars/compiler/base.js", "../../../node_modules/handlebars/lib/handlebars/compiler/compiler.js", "../../../node_modules/source-map/lib/base64.js", "../../../node_modules/source-map/lib/base64-vlq.js", "../../../node_modules/source-map/lib/util.js", "../../../node_modules/source-map/lib/array-set.js", "../../../node_modules/source-map/lib/mapping-list.js", "../../../node_modules/source-map/lib/source-map-generator.js", "../../../node_modules/source-map/lib/binary-search.js", "../../../node_modules/source-map/lib/quick-sort.js", "../../../node_modules/source-map/lib/source-map-consumer.js", "../../../node_modules/source-map/lib/source-node.js", "../../../node_modules/source-map/source-map.js", "../../../node_modules/handlebars/lib/handlebars/compiler/code-gen.js", "../../../node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js", "../../../node_modules/handlebars/lib/handlebars.js", "../../../node_modules/handlebars/lib/handlebars/compiler/printer.js", "../../../node_modules/handlebars/lib/index.js", "../../../node_modules/@actions/github/node_modules/@actions/http-client/src/proxy.ts", "../../../node_modules/@actions/github/node_modules/@actions/http-client/src/index.ts", "../../../node_modules/fast-content-type-parse/index.js", "../../../node_modules/@actions/core/src/command.ts", "../../../node_modules/@actions/core/src/utils.ts", "../../../node_modules/@actions/core/src/file-command.ts", "../../../node_modules/@actions/core/src/core.ts", "../../../node_modules/@actions/http-client/src/index.ts", "../../../node_modules/@actions/core/src/summary.ts", "../../../node_modules/@actions/core/src/platform.ts", "../../../node_modules/@actions/exec/src/exec.ts", "../../../node_modules/@actions/exec/src/toolrunner.ts", "../../../node_modules/@actions/io/src/io.ts", "../../../node_modules/@actions/io/src/io-util.ts", "../../../node_modules/@docker/actions-toolkit/src/cache.ts", "../../../node_modules/@actions/tool-cache/node_modules/@actions/core/src/command.ts", "../../../node_modules/@actions/tool-cache/node_modules/@actions/core/src/utils.ts", "../../../node_modules/@actions/tool-cache/node_modules/@actions/core/src/summary.ts", "../../../node_modules/@actions/tool-cache/node_modules/@actions/core/src/platform.ts", "../../../node_modules/@actions/tool-cache/node_modules/@actions/core/src/core.ts", "../../../node_modules/@actions/tool-cache/src/tool-cache.ts", "../../../node_modules/@actions/tool-cache/src/manifest.ts", "../../../node_modules/@actions/cache/src/cache.ts", "../../../node_modules/@actions/glob/node_modules/@actions/core/src/command.ts", "../../../node_modules/@actions/glob/node_modules/@actions/core/src/utils.ts", "../../../node_modules/@actions/glob/node_modules/@actions/core/src/summary.ts", "../../../node_modules/@actions/glob/node_modules/@actions/core/src/platform.ts", "../../../node_modules/@actions/glob/node_modules/@actions/core/src/core.ts", "../../../node_modules/@actions/glob/src/internal-globber.ts", "../../../node_modules/@actions/glob/src/internal-glob-options-helper.ts", "../../../node_modules/@actions/glob/src/internal-path-helper.ts", "../../../node_modules/@actions/glob/src/internal-match-kind.ts", "../../../node_modules/@actions/glob/src/internal-pattern-helper.ts", "../../../node_modules/@actions/glob/src/internal-pattern.ts", "../../../node_modules/@actions/glob/node_modules/balanced-match/src/index.ts", "../../../node_modules/@actions/glob/node_modules/brace-expansion/src/index.ts", "../../../node_modules/@actions/glob/node_modules/minimatch/src/assert-valid-pattern.ts", "../../../node_modules/@actions/glob/node_modules/minimatch/src/brace-expressions.ts", "../../../node_modules/@actions/glob/node_modules/minimatch/src/unescape.ts", "../../../node_modules/@actions/glob/node_modules/minimatch/src/ast.ts", "../../../node_modules/@actions/glob/node_modules/minimatch/src/escape.ts", "../../../node_modules/@actions/glob/node_modules/minimatch/src/index.ts", "../../../node_modules/@actions/glob/src/internal-path.ts", "../../../node_modules/@actions/glob/src/internal-search-state.ts", "../../../node_modules/@actions/glob/src/glob.ts", "../../../node_modules/@actions/cache/src/internal/cacheUtils.ts", "../../../node_modules/@actions/cache/src/internal/constants.ts", "../../../node_modules/@actions/cache/node_modules/@actions/http-client/src/index.ts", "../../../node_modules/@actions/cache/node_modules/@actions/http-client/src/proxy.ts", "../../../node_modules/@actions/cache/node_modules/@actions/http-client/src/auth.ts", "../../../node_modules/@actions/cache/src/internal/cacheHttpClient.ts", "../../../node_modules/@typespec/ts-http-runtime/src/abort-controller/AbortError.ts", "../../../node_modules/@typespec/ts-http-runtime/src/logger/log.ts", "../../../node_modules/@typespec/ts-http-runtime/src/logger/debug.ts", "../../../node_modules/@typespec/ts-http-runtime/src/logger/logger.ts", "../../../node_modules/@typespec/ts-http-runtime/src/httpHeaders.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/uuidUtils.ts", "../../../node_modules/@typespec/ts-http-runtime/src/pipelineRequest.ts", "../../../node_modules/@typespec/ts-http-runtime/src/pipeline.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/object.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/error.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/inspect.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/sanitizer.ts", "../../../node_modules/@typespec/ts-http-runtime/src/restError.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/bytesEncoding.ts", "../../../node_modules/@typespec/ts-http-runtime/src/nodeHttpClient.ts", "../../../node_modules/@typespec/ts-http-runtime/src/log.ts", "../../../node_modules/@typespec/ts-http-runtime/src/defaultHttpClient.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/logPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/redirectPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/userAgentPlatform.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/userAgent.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/userAgentPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/decompressResponsePolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/random.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/delay.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/helpers.ts", "../../../node_modules/@typespec/ts-http-runtime/src/retryStrategies/throttlingRetryStrategy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/retryStrategies/exponentialRetryStrategy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/retryPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/defaultRetryPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/checkEnvironment.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/formDataPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/proxyPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/agentPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/tlsPolicy.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/typeGuards.ts", "../../../node_modules/@typespec/ts-http-runtime/src/util/concat.ts", "../../../node_modules/@typespec/ts-http-runtime/src/policies/multipartPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/pipeline.ts", "../../../node_modules/@azure/logger/src/index.ts", "../../../node_modules/@azure/core-rest-pipeline/src/log.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/logPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/redirectPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/util/userAgentPlatform.ts", "../../../node_modules/@azure/core-rest-pipeline/src/constants.ts", "../../../node_modules/@azure/core-rest-pipeline/src/util/userAgent.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/userAgentPolicy.ts", "../../../node_modules/@azure/abort-controller/src/AbortError.ts", "../../../node_modules/@azure/core-util/src/createAbortablePromise.ts", "../../../node_modules/@azure/core-util/src/delay.ts", "../../../node_modules/@azure/core-util/src/error.ts", "../../../node_modules/@azure/core-util/src/index.ts", "../../../node_modules/@azure/core-rest-pipeline/src/util/file.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/multipartPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/decompressResponsePolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/defaultRetryPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/formDataPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/proxyPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/setClientRequestIdPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/agentPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/tlsPolicy.ts", "../../../node_modules/@azure/core-tracing/src/tracingContext.ts", "../../../node_modules/@azure/core-tracing/src/state.ts", "../../../node_modules/@azure/core-tracing/src/instrumenter.ts", "../../../node_modules/@azure/core-tracing/src/tracingClient.ts", "../../../node_modules/@azure/core-rest-pipeline/src/restError.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/tracingPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/util/wrapAbortSignal.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/wrapAbortSignalLikePolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/createPipelineFromOptions.ts", "../../../node_modules/@azure/core-rest-pipeline/src/defaultHttpClient.ts", "../../../node_modules/@azure/core-rest-pipeline/src/httpHeaders.ts", "../../../node_modules/@azure/core-rest-pipeline/src/pipelineRequest.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/retryPolicy.ts", "../../../node_modules/@azure/core-rest-pipeline/src/util/tokenCycler.ts", "../../../node_modules/@azure/core-rest-pipeline/src/policies/bearerTokenAuthenticationPolicy.ts", "../../../node_modules/@azure/core-auth/src/tokenCredential.ts", "../../../node_modules/@azure/core-http-compat/src/policies/disableKeepAlivePolicy.ts", "../../../node_modules/@azure/core-client/src/base64.ts", "../../../node_modules/@azure/core-client/src/utils.ts", "../../../node_modules/@azure/core-client/src/serializer.ts", "../../../node_modules/@azure/core-client/src/state.ts", "../../../node_modules/@azure/core-client/src/operationHelpers.ts", "../../../node_modules/@azure/core-client/src/deserializationPolicy.ts", "../../../node_modules/@azure/core-client/src/interfaceHelpers.ts", "../../../node_modules/@azure/core-client/src/serializationPolicy.ts", "../../../node_modules/@azure/core-client/src/pipeline.ts", "../../../node_modules/@azure/core-client/src/httpClientCache.ts", "../../../node_modules/@azure/core-client/src/urlHelpers.ts", "../../../node_modules/@azure/core-client/src/log.ts", "../../../node_modules/@azure/core-client/src/serviceClient.ts", "../../../node_modules/@azure/core-client/src/authorizeRequestOnTenantChallenge.ts", "../../../node_modules/@azure/core-http-compat/src/util.ts", "../../../node_modules/@azure/core-http-compat/src/response.ts", "../../../node_modules/@azure/core-http-compat/src/extendedClient.ts", "../../../node_modules/@azure/core-http-compat/src/policies/requestPolicyFactoryPolicy.ts", "../../../node_modules/@azure/core-http-compat/src/httpClientAdapter.ts", "../../../node_modules/fast-xml-parser/src/util.js", "../../../node_modules/fast-xml-parser/src/validator.js", "../../../node_modules/@nodable/entities/src/entities.js", "../../../node_modules/@nodable/entities/src/EntityDecoder.js", "../../../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js", "../../../node_modules/fast-xml-parser/src/xmlparser/xmlNode.js", "../../../node_modules/xml-naming/src/index.js", "../../../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js", "../../../node_modules/strnum/strnum.js", "../../../node_modules/fast-xml-parser/src/ignoreAttributes.js", "../../../node_modules/path-expression-matcher/src/Expression.js", "../../../node_modules/path-expression-matcher/src/ExpressionSet.js", "../../../node_modules/path-expression-matcher/src/Matcher.js", "../../../node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js", "../../../node_modules/fast-xml-parser/src/xmlparser/node2json.js", "../../../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js", "../../../node_modules/fast-xml-builder/src/util.js", "../../../node_modules/fast-xml-builder/src/orderedJs2Xml.js", "../../../node_modules/fast-xml-builder/src/ignoreAttributes.js", "../../../node_modules/fast-xml-builder/src/fxb.js", "../../../node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js", "../../../node_modules/fast-xml-parser/src/fxp.js", "../../../node_modules/@azure/core-xml/src/xml.ts", "../../../node_modules/@azure/storage-blob/src/log.ts", "../../../node_modules/@azure/storage-common/src/BufferScheduler.ts", "../../../node_modules/@azure/storage-common/src/BuffersStream.ts", "../../../node_modules/@azure/storage-common/src/PooledBuffer.ts", "../../../node_modules/@azure/storage-common/src/cache.ts", "../../../node_modules/@azure/storage-common/src/policies/RequestPolicy.ts", "../../../node_modules/@azure/storage-common/src/utils/constants.ts", "../../../node_modules/@azure/storage-common/src/utils/utils.common.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageBrowserPolicy.ts", "../../../node_modules/@azure/storage-common/src/StorageBrowserPolicyFactory.ts", "../../../node_modules/@azure/storage-common/src/policies/CredentialPolicy.ts", "../../../node_modules/@azure/storage-common/src/policies/AnonymousCredentialPolicy.ts", "../../../node_modules/@azure/storage-common/src/credentials/Credential.ts", "../../../node_modules/@azure/storage-common/src/credentials/AnonymousCredential.ts", "../../../node_modules/@azure/storage-common/src/credentials/StorageSharedKeyCredential.ts", "../../../node_modules/@azure/storage-common/src/utils/SharedKeyComparator.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageSharedKeyCredentialPolicy.ts", "../../../node_modules/@azure/storage-common/src/log.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageRetryPolicyType.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageRetryPolicy.ts", "../../../node_modules/@azure/storage-common/src/StorageRetryPolicyFactory.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageBrowserPolicyV2.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageCorrectContentLengthPolicy.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageRetryPolicyV2.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageSharedKeyCredentialPolicyV2.ts", "../../../node_modules/@azure/storage-common/src/policies/StorageRequestFailureDetailsParserPolicy.ts", "../../../node_modules/@azure/storage-common/src/credentials/UserDelegationKeyCredential.ts", "../../../node_modules/@azure/storage-blob/src/utils/constants.ts", "../../../node_modules/@azure/storage-blob/src/Pipeline.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/models/index.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/models/mappers.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/models/parameters.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/operations/service.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/operations/container.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/operations/blob.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/operations/pageBlob.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/operations/appendBlob.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/operations/blockBlob.ts", "../../../node_modules/@azure/storage-blob/src/generated/src/storageClient.ts", "../../../node_modules/@azure/storage-blob/src/StorageContextClient.ts", "../../../node_modules/@azure/storage-blob/src/utils/utils.common.ts", "../../../node_modules/@azure/storage-blob/src/StorageClient.ts", "../../../node_modules/@azure/storage-blob/src/utils/tracing.ts", "../../../node_modules/@azure/storage-blob/src/sas/BlobSASPermissions.ts", "../../../node_modules/@azure/storage-blob/src/sas/ContainerSASPermissions.ts", "../../../node_modules/@azure/storage-blob/src/sas/SasIPRange.ts", "../../../node_modules/@azure/storage-blob/src/sas/SASQueryParameters.ts", "../../../node_modules/@azure/storage-blob/src/sas/BlobSASSignatureValues.ts", "../../../node_modules/@azure/storage-blob/src/BlobLeaseClient.ts", "../../../node_modules/@azure/storage-blob/src/utils/RetriableReadableStream.ts", "../../../node_modules/@azure/storage-blob/src/BlobDownloadResponse.ts", "../../../node_modules/@azure/storage-blob/src/utils/BlobQuickQueryStream.ts", "../../../node_modules/@azure/storage-blob/src/internal-avro/AvroConstants.ts", "../../../node_modules/@azure/storage-blob/src/internal-avro/AvroParser.ts", "../../../node_modules/@azure/storage-blob/src/internal-avro/utils/utils.common.ts", "../../../node_modules/@azure/storage-blob/src/internal-avro/AvroReader.ts", "../../../node_modules/@azure/storage-blob/src/internal-avro/AvroReadable.ts", "../../../node_modules/@azure/storage-blob/src/internal-avro/AvroReadableFromStream.ts", "../../../node_modules/@azure/storage-blob/src/BlobQueryResponse.ts", "../../../node_modules/@azure/storage-blob/src/models.ts", "../../../node_modules/@azure/storage-blob/src/PageBlobRangeResponse.ts", "../../../node_modules/@azure/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.ts", "../../../node_modules/@azure/storage-blob/src/Range.ts", "../../../node_modules/@azure/storage-blob/src/utils/Batch.ts", "../../../node_modules/@azure/storage-blob/src/utils/utils.ts", "../../../node_modules/@azure/storage-blob/src/Clients.ts", "../../../node_modules/@azure/storage-blob/src/utils/Mutex.ts", "../../../node_modules/@azure/storage-blob/src/generatedModels.ts", "../../../node_modules/@actions/cache/src/internal/shared/errors.ts", "../../../node_modules/@actions/cache/src/internal/uploadUtils.ts", "../../../node_modules/@actions/cache/src/internal/downloadUtils.ts", "../../../node_modules/@actions/cache/src/internal/requestUtils.ts", "../../../node_modules/@actions/cache/src/options.ts", "../../../node_modules/@actions/cache/src/internal/config.ts", "../../../node_modules/@actions/cache/src/internal/shared/user-agent.ts", "../../../node_modules/@actions/cache/src/generated/results/api/v1/cache.ts", "../../../node_modules/@actions/cache/src/generated/results/entities/v1/cachemetadata.ts", "../../../node_modules/@actions/cache/src/generated/results/entities/v1/cachescope.ts", "../../../node_modules/@actions/cache/src/generated/results/api/v1/cache.twirp-client.ts", "../../../node_modules/@actions/cache/src/internal/shared/util.ts", "../../../node_modules/@actions/cache/src/internal/shared/cacheTwirpClient.ts", "../../../node_modules/@actions/cache/src/internal/tar.ts", "../../../node_modules/@docker/actions-toolkit/src/index.ts", "../../../node_modules/@docker/actions-toolkit/src/buildx/buildx.ts", "../../../node_modules/@docker/actions-toolkit/src/buildkit/git.ts", "../../../node_modules/@docker/actions-toolkit/src/docker/docker.ts", "../../../node_modules/@docker/actions-toolkit/src/context.ts", "../../../node_modules/@docker/actions-toolkit/src/exec.ts", "../../../node_modules/@docker/actions-toolkit/src/util.ts", "../../../node_modules/csv-parse/lib/api/CsvError.js", "../../../node_modules/csv-parse/lib/utils/is_object.js", "../../../node_modules/csv-parse/lib/api/normalize_columns_array.js", "../../../node_modules/csv-parse/lib/utils/ResizeableBuffer.js", "../../../node_modules/csv-parse/lib/api/init_state.js", "../../../node_modules/csv-parse/lib/utils/underscore.js", "../../../node_modules/csv-parse/lib/api/normalize_options.js", "../../../node_modules/csv-parse/lib/utils/delimiter_discover.js", "../../../node_modules/csv-parse/lib/api/index.js", "../../../node_modules/csv-parse/lib/sync.js", "../../../node_modules/@docker/actions-toolkit/src/github/github.ts", "../../../node_modules/@actions/github/src/context.ts", "../../../node_modules/@actions/github/src/internal/utils.ts", "../../../node_modules/universal-user-agent/index.js", "../../../node_modules/before-after-hook/lib/register.js", "../../../node_modules/before-after-hook/lib/add.js", "../../../node_modules/before-after-hook/lib/remove.js", "../../../node_modules/before-after-hook/index.js", "../../../node_modules/@octokit/endpoint/dist-bundle/index.js", "../../../node_modules/@octokit/request/dist-bundle/index.js", "../../../node_modules/json-with-bigint/json-with-bigint.js", "../../../node_modules/@octokit/request-error/dist-src/index.js", "../../../node_modules/@octokit/graphql/dist-bundle/index.js", "../../../node_modules/@octokit/auth-token/dist-bundle/index.js", "../../../node_modules/@octokit/core/dist-src/version.js", "../../../node_modules/@octokit/core/dist-src/index.js", "../../../node_modules/@octokit/src/version.ts", "../../../node_modules/@octokit/src/generated/endpoints.ts", "../../../node_modules/@octokit/src/endpoints-to-methods.ts", "../../../node_modules/@octokit/src/index.ts", "../../../node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.js", "../../../node_modules/@actions/github/src/utils.ts", "../../../node_modules/@actions/github/src/github.ts", "../../../node_modules/@docker/actions-toolkit/node_modules/@actions/http-client/src/index.ts", "../../../node_modules/@docker/actions-toolkit/node_modules/@actions/http-client/src/proxy.ts", "../../../node_modules/jwt-decode/build/esm/index.js", "../src/main.ts"], - "sourcesContent": ["'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n", "module.exports = require('./lib/tunnel');\n", "module.exports = {\n kClose: Symbol('close'),\n kDestroy: Symbol('destroy'),\n kDispatch: Symbol('dispatch'),\n kUrl: Symbol('url'),\n kWriting: Symbol('writing'),\n kResuming: Symbol('resuming'),\n kQueue: Symbol('queue'),\n kConnect: Symbol('connect'),\n kConnecting: Symbol('connecting'),\n kKeepAliveDefaultTimeout: Symbol('default keep alive timeout'),\n kKeepAliveMaxTimeout: Symbol('max keep alive timeout'),\n kKeepAliveTimeoutThreshold: Symbol('keep alive timeout threshold'),\n kKeepAliveTimeoutValue: Symbol('keep alive timeout'),\n kKeepAlive: Symbol('keep alive'),\n kHeadersTimeout: Symbol('headers timeout'),\n kBodyTimeout: Symbol('body timeout'),\n kServerName: Symbol('server name'),\n kLocalAddress: Symbol('local address'),\n kHost: Symbol('host'),\n kNoRef: Symbol('no ref'),\n kBodyUsed: Symbol('used'),\n kBody: Symbol('abstracted request body'),\n kRunning: Symbol('running'),\n kBlocking: Symbol('blocking'),\n kPending: Symbol('pending'),\n kSize: Symbol('size'),\n kBusy: Symbol('busy'),\n kQueued: Symbol('queued'),\n kFree: Symbol('free'),\n kConnected: Symbol('connected'),\n kClosed: Symbol('closed'),\n kNeedDrain: Symbol('need drain'),\n kReset: Symbol('reset'),\n kDestroyed: Symbol.for('nodejs.stream.destroyed'),\n kResume: Symbol('resume'),\n kOnError: Symbol('on error'),\n kMaxHeadersSize: Symbol('max headers size'),\n kRunningIdx: Symbol('running index'),\n kPendingIdx: Symbol('pending index'),\n kError: Symbol('error'),\n kClients: Symbol('clients'),\n kClient: Symbol('client'),\n kParser: Symbol('parser'),\n kOnDestroyed: Symbol('destroy callbacks'),\n kPipelining: Symbol('pipelining'),\n kSocket: Symbol('socket'),\n kHostHeader: Symbol('host header'),\n kConnector: Symbol('connector'),\n kStrictContentLength: Symbol('strict content length'),\n kMaxRedirections: Symbol('maxRedirections'),\n kMaxRequests: Symbol('maxRequestsPerClient'),\n kProxy: Symbol('proxy agent options'),\n kCounter: Symbol('socket request counter'),\n kInterceptors: Symbol('dispatch interceptors'),\n kMaxResponseSize: Symbol('max response size'),\n kHTTP2Session: Symbol('http2Session'),\n kHTTP2SessionState: Symbol('http2Session state'),\n kRetryHandlerDefaultRetry: Symbol('retry agent default retry'),\n kConstruct: Symbol('constructable'),\n kListeners: Symbol('listeners'),\n kHTTPContext: Symbol('http context'),\n kMaxConcurrentStreams: Symbol('max concurrent streams'),\n kNoProxyAgent: Symbol('no proxy agent'),\n kHttpProxyAgent: Symbol('http proxy agent'),\n kHttpsProxyAgent: Symbol('https proxy agent')\n}\n", "'use strict'\n\nconst kUndiciError = Symbol.for('undici.error.UND_ERR')\nclass UndiciError extends Error {\n constructor (message) {\n super(message)\n this.name = 'UndiciError'\n this.code = 'UND_ERR'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kUndiciError] === true\n }\n\n [kUndiciError] = true\n}\n\nconst kConnectTimeoutError = Symbol.for('undici.error.UND_ERR_CONNECT_TIMEOUT')\nclass ConnectTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ConnectTimeoutError'\n this.message = message || 'Connect Timeout Error'\n this.code = 'UND_ERR_CONNECT_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kConnectTimeoutError] === true\n }\n\n [kConnectTimeoutError] = true\n}\n\nconst kHeadersTimeoutError = Symbol.for('undici.error.UND_ERR_HEADERS_TIMEOUT')\nclass HeadersTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'HeadersTimeoutError'\n this.message = message || 'Headers Timeout Error'\n this.code = 'UND_ERR_HEADERS_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHeadersTimeoutError] === true\n }\n\n [kHeadersTimeoutError] = true\n}\n\nconst kHeadersOverflowError = Symbol.for('undici.error.UND_ERR_HEADERS_OVERFLOW')\nclass HeadersOverflowError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'HeadersOverflowError'\n this.message = message || 'Headers Overflow Error'\n this.code = 'UND_ERR_HEADERS_OVERFLOW'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHeadersOverflowError] === true\n }\n\n [kHeadersOverflowError] = true\n}\n\nconst kBodyTimeoutError = Symbol.for('undici.error.UND_ERR_BODY_TIMEOUT')\nclass BodyTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'BodyTimeoutError'\n this.message = message || 'Body Timeout Error'\n this.code = 'UND_ERR_BODY_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kBodyTimeoutError] === true\n }\n\n [kBodyTimeoutError] = true\n}\n\nconst kResponseStatusCodeError = Symbol.for('undici.error.UND_ERR_RESPONSE_STATUS_CODE')\nclass ResponseStatusCodeError extends UndiciError {\n constructor (message, statusCode, headers, body) {\n super(message)\n this.name = 'ResponseStatusCodeError'\n this.message = message || 'Response Status Code Error'\n this.code = 'UND_ERR_RESPONSE_STATUS_CODE'\n this.body = body\n this.status = statusCode\n this.statusCode = statusCode\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseStatusCodeError] === true\n }\n\n [kResponseStatusCodeError] = true\n}\n\nconst kInvalidArgumentError = Symbol.for('undici.error.UND_ERR_INVALID_ARG')\nclass InvalidArgumentError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InvalidArgumentError'\n this.message = message || 'Invalid Argument Error'\n this.code = 'UND_ERR_INVALID_ARG'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInvalidArgumentError] === true\n }\n\n [kInvalidArgumentError] = true\n}\n\nconst kInvalidReturnValueError = Symbol.for('undici.error.UND_ERR_INVALID_RETURN_VALUE')\nclass InvalidReturnValueError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InvalidReturnValueError'\n this.message = message || 'Invalid Return Value Error'\n this.code = 'UND_ERR_INVALID_RETURN_VALUE'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInvalidReturnValueError] === true\n }\n\n [kInvalidReturnValueError] = true\n}\n\nconst kAbortError = Symbol.for('undici.error.UND_ERR_ABORT')\nclass AbortError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'AbortError'\n this.message = message || 'The operation was aborted'\n this.code = 'UND_ERR_ABORT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kAbortError] === true\n }\n\n [kAbortError] = true\n}\n\nconst kRequestAbortedError = Symbol.for('undici.error.UND_ERR_ABORTED')\nclass RequestAbortedError extends AbortError {\n constructor (message) {\n super(message)\n this.name = 'AbortError'\n this.message = message || 'Request aborted'\n this.code = 'UND_ERR_ABORTED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestAbortedError] === true\n }\n\n [kRequestAbortedError] = true\n}\n\nconst kInformationalError = Symbol.for('undici.error.UND_ERR_INFO')\nclass InformationalError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InformationalError'\n this.message = message || 'Request information'\n this.code = 'UND_ERR_INFO'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInformationalError] === true\n }\n\n [kInformationalError] = true\n}\n\nconst kRequestContentLengthMismatchError = Symbol.for('undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH')\nclass RequestContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'RequestContentLengthMismatchError'\n this.message = message || 'Request body length does not match content-length header'\n this.code = 'UND_ERR_REQ_CONTENT_LENGTH_MISMATCH'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestContentLengthMismatchError] === true\n }\n\n [kRequestContentLengthMismatchError] = true\n}\n\nconst kResponseContentLengthMismatchError = Symbol.for('undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH')\nclass ResponseContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ResponseContentLengthMismatchError'\n this.message = message || 'Response body length does not match content-length header'\n this.code = 'UND_ERR_RES_CONTENT_LENGTH_MISMATCH'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseContentLengthMismatchError] === true\n }\n\n [kResponseContentLengthMismatchError] = true\n}\n\nconst kClientDestroyedError = Symbol.for('undici.error.UND_ERR_DESTROYED')\nclass ClientDestroyedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ClientDestroyedError'\n this.message = message || 'The client is destroyed'\n this.code = 'UND_ERR_DESTROYED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kClientDestroyedError] === true\n }\n\n [kClientDestroyedError] = true\n}\n\nconst kClientClosedError = Symbol.for('undici.error.UND_ERR_CLOSED')\nclass ClientClosedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ClientClosedError'\n this.message = message || 'The client is closed'\n this.code = 'UND_ERR_CLOSED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kClientClosedError] === true\n }\n\n [kClientClosedError] = true\n}\n\nconst kSocketError = Symbol.for('undici.error.UND_ERR_SOCKET')\nclass SocketError extends UndiciError {\n constructor (message, socket) {\n super(message)\n this.name = 'SocketError'\n this.message = message || 'Socket error'\n this.code = 'UND_ERR_SOCKET'\n this.socket = socket\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kSocketError] === true\n }\n\n [kSocketError] = true\n}\n\nconst kNotSupportedError = Symbol.for('undici.error.UND_ERR_NOT_SUPPORTED')\nclass NotSupportedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'NotSupportedError'\n this.message = message || 'Not supported error'\n this.code = 'UND_ERR_NOT_SUPPORTED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kNotSupportedError] === true\n }\n\n [kNotSupportedError] = true\n}\n\nconst kBalancedPoolMissingUpstreamError = Symbol.for('undici.error.UND_ERR_BPL_MISSING_UPSTREAM')\nclass BalancedPoolMissingUpstreamError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'MissingUpstreamError'\n this.message = message || 'No upstream has been added to the BalancedPool'\n this.code = 'UND_ERR_BPL_MISSING_UPSTREAM'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kBalancedPoolMissingUpstreamError] === true\n }\n\n [kBalancedPoolMissingUpstreamError] = true\n}\n\nconst kHTTPParserError = Symbol.for('undici.error.UND_ERR_HTTP_PARSER')\nclass HTTPParserError extends Error {\n constructor (message, code, data) {\n super(message)\n this.name = 'HTTPParserError'\n this.code = code ? `HPE_${code}` : undefined\n this.data = data ? data.toString() : undefined\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHTTPParserError] === true\n }\n\n [kHTTPParserError] = true\n}\n\nconst kResponseExceededMaxSizeError = Symbol.for('undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE')\nclass ResponseExceededMaxSizeError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ResponseExceededMaxSizeError'\n this.message = message || 'Response content exceeded max size'\n this.code = 'UND_ERR_RES_EXCEEDED_MAX_SIZE'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseExceededMaxSizeError] === true\n }\n\n [kResponseExceededMaxSizeError] = true\n}\n\nconst kRequestRetryError = Symbol.for('undici.error.UND_ERR_REQ_RETRY')\nclass RequestRetryError extends UndiciError {\n constructor (message, code, { headers, data }) {\n super(message)\n this.name = 'RequestRetryError'\n this.message = message || 'Request retry error'\n this.code = 'UND_ERR_REQ_RETRY'\n this.statusCode = code\n this.data = data\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestRetryError] === true\n }\n\n [kRequestRetryError] = true\n}\n\nconst kResponseError = Symbol.for('undici.error.UND_ERR_RESPONSE')\nclass ResponseError extends UndiciError {\n constructor (message, code, { headers, data }) {\n super(message)\n this.name = 'ResponseError'\n this.message = message || 'Response error'\n this.code = 'UND_ERR_RESPONSE'\n this.statusCode = code\n this.data = data\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseError] === true\n }\n\n [kResponseError] = true\n}\n\nconst kSecureProxyConnectionError = Symbol.for('undici.error.UND_ERR_PRX_TLS')\nclass SecureProxyConnectionError extends UndiciError {\n constructor (cause, message, options) {\n super(message, { cause, ...(options ?? {}) })\n this.name = 'SecureProxyConnectionError'\n this.message = message || 'Secure Proxy Connection failed'\n this.code = 'UND_ERR_PRX_TLS'\n this.cause = cause\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kSecureProxyConnectionError] === true\n }\n\n [kSecureProxyConnectionError] = true\n}\n\nconst kMessageSizeExceededError = Symbol.for('undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED')\nclass MessageSizeExceededError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'MessageSizeExceededError'\n this.message = message || 'Max decompressed message size exceeded'\n this.code = 'UND_ERR_WS_MESSAGE_SIZE_EXCEEDED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kMessageSizeExceededError] === true\n }\n\n get [kMessageSizeExceededError] () {\n return true\n }\n}\n\nmodule.exports = {\n AbortError,\n HTTPParserError,\n UndiciError,\n HeadersTimeoutError,\n HeadersOverflowError,\n BodyTimeoutError,\n RequestContentLengthMismatchError,\n ConnectTimeoutError,\n ResponseStatusCodeError,\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError,\n ClientDestroyedError,\n ClientClosedError,\n InformationalError,\n SocketError,\n NotSupportedError,\n ResponseContentLengthMismatchError,\n BalancedPoolMissingUpstreamError,\n ResponseExceededMaxSizeError,\n RequestRetryError,\n ResponseError,\n SecureProxyConnectionError,\n MessageSizeExceededError\n}\n", "'use strict'\n\n/** @type {Record} */\nconst headerNameLowerCasedRecord = {}\n\n// https://developer.mozilla.org/docs/Web/HTTP/Headers\nconst wellknownHeaderNames = [\n 'Accept',\n 'Accept-Encoding',\n 'Accept-Language',\n 'Accept-Ranges',\n 'Access-Control-Allow-Credentials',\n 'Access-Control-Allow-Headers',\n 'Access-Control-Allow-Methods',\n 'Access-Control-Allow-Origin',\n 'Access-Control-Expose-Headers',\n 'Access-Control-Max-Age',\n 'Access-Control-Request-Headers',\n 'Access-Control-Request-Method',\n 'Age',\n 'Allow',\n 'Alt-Svc',\n 'Alt-Used',\n 'Authorization',\n 'Cache-Control',\n 'Clear-Site-Data',\n 'Connection',\n 'Content-Disposition',\n 'Content-Encoding',\n 'Content-Language',\n 'Content-Length',\n 'Content-Location',\n 'Content-Range',\n 'Content-Security-Policy',\n 'Content-Security-Policy-Report-Only',\n 'Content-Type',\n 'Cookie',\n 'Cross-Origin-Embedder-Policy',\n 'Cross-Origin-Opener-Policy',\n 'Cross-Origin-Resource-Policy',\n 'Date',\n 'Device-Memory',\n 'Downlink',\n 'ECT',\n 'ETag',\n 'Expect',\n 'Expect-CT',\n 'Expires',\n 'Forwarded',\n 'From',\n 'Host',\n 'If-Match',\n 'If-Modified-Since',\n 'If-None-Match',\n 'If-Range',\n 'If-Unmodified-Since',\n 'Keep-Alive',\n 'Last-Modified',\n 'Link',\n 'Location',\n 'Max-Forwards',\n 'Origin',\n 'Permissions-Policy',\n 'Pragma',\n 'Proxy-Authenticate',\n 'Proxy-Authorization',\n 'RTT',\n 'Range',\n 'Referer',\n 'Referrer-Policy',\n 'Refresh',\n 'Retry-After',\n 'Sec-WebSocket-Accept',\n 'Sec-WebSocket-Extensions',\n 'Sec-WebSocket-Key',\n 'Sec-WebSocket-Protocol',\n 'Sec-WebSocket-Version',\n 'Server',\n 'Server-Timing',\n 'Service-Worker-Allowed',\n 'Service-Worker-Navigation-Preload',\n 'Set-Cookie',\n 'SourceMap',\n 'Strict-Transport-Security',\n 'Supports-Loading-Mode',\n 'TE',\n 'Timing-Allow-Origin',\n 'Trailer',\n 'Transfer-Encoding',\n 'Upgrade',\n 'Upgrade-Insecure-Requests',\n 'User-Agent',\n 'Vary',\n 'Via',\n 'WWW-Authenticate',\n 'X-Content-Type-Options',\n 'X-DNS-Prefetch-Control',\n 'X-Frame-Options',\n 'X-Permitted-Cross-Domain-Policies',\n 'X-Powered-By',\n 'X-Requested-With',\n 'X-XSS-Protection'\n]\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = wellknownHeaderNames[i]\n const lowerCasedKey = key.toLowerCase()\n headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] =\n lowerCasedKey\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(headerNameLowerCasedRecord, null)\n\nmodule.exports = {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n}\n", "'use strict'\n\nconst {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n} = require('./constants')\n\nclass TstNode {\n /** @type {any} */\n value = null\n /** @type {null | TstNode} */\n left = null\n /** @type {null | TstNode} */\n middle = null\n /** @type {null | TstNode} */\n right = null\n /** @type {number} */\n code\n /**\n * @param {string} key\n * @param {any} value\n * @param {number} index\n */\n constructor (key, value, index) {\n if (index === undefined || index >= key.length) {\n throw new TypeError('Unreachable')\n }\n const code = this.code = key.charCodeAt(index)\n // check code is ascii string\n if (code > 0x7F) {\n throw new TypeError('key must be ascii string')\n }\n if (key.length !== ++index) {\n this.middle = new TstNode(key, value, index)\n } else {\n this.value = value\n }\n }\n\n /**\n * @param {string} key\n * @param {any} value\n */\n add (key, value) {\n const length = key.length\n if (length === 0) {\n throw new TypeError('Unreachable')\n }\n let index = 0\n let node = this\n while (true) {\n const code = key.charCodeAt(index)\n // check code is ascii string\n if (code > 0x7F) {\n throw new TypeError('key must be ascii string')\n }\n if (node.code === code) {\n if (length === ++index) {\n node.value = value\n break\n } else if (node.middle !== null) {\n node = node.middle\n } else {\n node.middle = new TstNode(key, value, index)\n break\n }\n } else if (node.code < code) {\n if (node.left !== null) {\n node = node.left\n } else {\n node.left = new TstNode(key, value, index)\n break\n }\n } else if (node.right !== null) {\n node = node.right\n } else {\n node.right = new TstNode(key, value, index)\n break\n }\n }\n }\n\n /**\n * @param {Uint8Array} key\n * @return {TstNode | null}\n */\n search (key) {\n const keylength = key.length\n let index = 0\n let node = this\n while (node !== null && index < keylength) {\n let code = key[index]\n // A-Z\n // First check if it is bigger than 0x5a.\n // Lowercase letters have higher char codes than uppercase ones.\n // Also we assume that headers will mostly contain lowercase characters.\n if (code <= 0x5a && code >= 0x41) {\n // Lowercase for uppercase.\n code |= 32\n }\n while (node !== null) {\n if (code === node.code) {\n if (keylength === ++index) {\n // Returns Node since it is the last key.\n return node\n }\n node = node.middle\n break\n }\n node = node.code < code ? node.left : node.right\n }\n }\n return null\n }\n}\n\nclass TernarySearchTree {\n /** @type {TstNode | null} */\n node = null\n\n /**\n * @param {string} key\n * @param {any} value\n * */\n insert (key, value) {\n if (this.node === null) {\n this.node = new TstNode(key, value, 0)\n } else {\n this.node.add(key, value)\n }\n }\n\n /**\n * @param {Uint8Array} key\n * @return {any}\n */\n lookup (key) {\n return this.node?.search(key)?.value ?? null\n }\n}\n\nconst tree = new TernarySearchTree()\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = headerNameLowerCasedRecord[wellknownHeaderNames[i]]\n tree.insert(key, key)\n}\n\nmodule.exports = {\n TernarySearchTree,\n tree\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { kDestroyed, kBodyUsed, kListeners, kBody } = require('./symbols')\nconst { IncomingMessage } = require('node:http')\nconst stream = require('node:stream')\nconst net = require('node:net')\nconst { Blob } = require('node:buffer')\nconst nodeUtil = require('node:util')\nconst { stringify } = require('node:querystring')\nconst { EventEmitter: EE } = require('node:events')\nconst { InvalidArgumentError } = require('./errors')\nconst { headerNameLowerCasedRecord } = require('./constants')\nconst { tree } = require('./tree')\n\nconst [nodeMajor, nodeMinor] = process.versions.node.split('.').map(v => Number(v))\n\nclass BodyAsyncIterable {\n constructor (body) {\n this[kBody] = body\n this[kBodyUsed] = false\n }\n\n async * [Symbol.asyncIterator] () {\n assert(!this[kBodyUsed], 'disturbed')\n this[kBodyUsed] = true\n yield * this[kBody]\n }\n}\n\nfunction wrapRequestBody (body) {\n if (isStream(body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if (bodyLength(body) === 0) {\n body\n .on('data', function () {\n assert(false)\n })\n }\n\n if (typeof body.readableDidRead !== 'boolean') {\n body[kBodyUsed] = false\n EE.prototype.on.call(body, 'data', function () {\n this[kBodyUsed] = true\n })\n }\n\n return body\n } else if (body && typeof body.pipeTo === 'function') {\n // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n return new BodyAsyncIterable(body)\n } else if (\n body &&\n typeof body !== 'string' &&\n !ArrayBuffer.isView(body) &&\n isIterable(body)\n ) {\n // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n return new BodyAsyncIterable(body)\n } else {\n return body\n }\n}\n\nfunction nop () {}\n\nfunction isStream (obj) {\n return obj && typeof obj === 'object' && typeof obj.pipe === 'function' && typeof obj.on === 'function'\n}\n\n// based on https://github.com/node-fetch/fetch-blob/blob/8ab587d34080de94140b54f07168451e7d0b655e/index.js#L229-L241 (MIT License)\nfunction isBlobLike (object) {\n if (object === null) {\n return false\n } else if (object instanceof Blob) {\n return true\n } else if (typeof object !== 'object') {\n return false\n } else {\n const sTag = object[Symbol.toStringTag]\n\n return (sTag === 'Blob' || sTag === 'File') && (\n ('stream' in object && typeof object.stream === 'function') ||\n ('arrayBuffer' in object && typeof object.arrayBuffer === 'function')\n )\n }\n}\n\nfunction buildURL (url, queryParams) {\n if (url.includes('?') || url.includes('#')) {\n throw new Error('Query params cannot be passed when url already contains \"?\" or \"#\".')\n }\n\n const stringified = stringify(queryParams)\n\n if (stringified) {\n url += '?' + stringified\n }\n\n return url\n}\n\nfunction isValidPort (port) {\n const value = parseInt(port, 10)\n return (\n value === Number(port) &&\n value >= 0 &&\n value <= 65535\n )\n}\n\nfunction isHttpOrHttpsPrefixed (value) {\n return (\n value != null &&\n value[0] === 'h' &&\n value[1] === 't' &&\n value[2] === 't' &&\n value[3] === 'p' &&\n (\n value[4] === ':' ||\n (\n value[4] === 's' &&\n value[5] === ':'\n )\n )\n )\n}\n\nfunction parseURL (url) {\n if (typeof url === 'string') {\n url = new URL(url)\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n return url\n }\n\n if (!url || typeof url !== 'object') {\n throw new InvalidArgumentError('Invalid URL: The URL argument must be a non-null object.')\n }\n\n if (!(url instanceof URL)) {\n if (url.port != null && url.port !== '' && isValidPort(url.port) === false) {\n throw new InvalidArgumentError('Invalid URL: port must be a valid integer or a string representation of an integer.')\n }\n\n if (url.path != null && typeof url.path !== 'string') {\n throw new InvalidArgumentError('Invalid URL path: the path must be a string or null/undefined.')\n }\n\n if (url.pathname != null && typeof url.pathname !== 'string') {\n throw new InvalidArgumentError('Invalid URL pathname: the pathname must be a string or null/undefined.')\n }\n\n if (url.hostname != null && typeof url.hostname !== 'string') {\n throw new InvalidArgumentError('Invalid URL hostname: the hostname must be a string or null/undefined.')\n }\n\n if (url.origin != null && typeof url.origin !== 'string') {\n throw new InvalidArgumentError('Invalid URL origin: the origin must be a string or null/undefined.')\n }\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n const port = url.port != null\n ? url.port\n : (url.protocol === 'https:' ? 443 : 80)\n let origin = url.origin != null\n ? url.origin\n : `${url.protocol || ''}//${url.hostname || ''}:${port}`\n let path = url.path != null\n ? url.path\n : `${url.pathname || ''}${url.search || ''}`\n\n if (origin[origin.length - 1] === '/') {\n origin = origin.slice(0, origin.length - 1)\n }\n\n if (path && path[0] !== '/') {\n path = `/${path}`\n }\n // new URL(path, origin) is unsafe when `path` contains an absolute URL\n // From https://developer.mozilla.org/en-US/docs/Web/API/URL/URL:\n // If first parameter is a relative URL, second param is required, and will be used as the base URL.\n // If first parameter is an absolute URL, a given second param will be ignored.\n return new URL(`${origin}${path}`)\n }\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n return url\n}\n\nfunction parseOrigin (url) {\n url = parseURL(url)\n\n if (url.pathname !== '/' || url.search || url.hash) {\n throw new InvalidArgumentError('invalid url')\n }\n\n return url\n}\n\nfunction getHostname (host) {\n if (host[0] === '[') {\n const idx = host.indexOf(']')\n\n assert(idx !== -1)\n return host.substring(1, idx)\n }\n\n const idx = host.indexOf(':')\n if (idx === -1) return host\n\n return host.substring(0, idx)\n}\n\n// IP addresses are not valid server names per RFC6066\n// > Currently, the only server names supported are DNS hostnames\nfunction getServerName (host) {\n if (!host) {\n return null\n }\n\n assert(typeof host === 'string')\n\n const servername = getHostname(host)\n if (net.isIP(servername)) {\n return ''\n }\n\n return servername\n}\n\nfunction deepClone (obj) {\n return JSON.parse(JSON.stringify(obj))\n}\n\nfunction isAsyncIterable (obj) {\n return !!(obj != null && typeof obj[Symbol.asyncIterator] === 'function')\n}\n\nfunction isIterable (obj) {\n return !!(obj != null && (typeof obj[Symbol.iterator] === 'function' || typeof obj[Symbol.asyncIterator] === 'function'))\n}\n\nfunction bodyLength (body) {\n if (body == null) {\n return 0\n } else if (isStream(body)) {\n const state = body._readableState\n return state && state.objectMode === false && state.ended === true && Number.isFinite(state.length)\n ? state.length\n : null\n } else if (isBlobLike(body)) {\n return body.size != null ? body.size : null\n } else if (isBuffer(body)) {\n return body.byteLength\n }\n\n return null\n}\n\nfunction isDestroyed (body) {\n return body && !!(body.destroyed || body[kDestroyed] || (stream.isDestroyed?.(body)))\n}\n\nfunction destroy (stream, err) {\n if (stream == null || !isStream(stream) || isDestroyed(stream)) {\n return\n }\n\n if (typeof stream.destroy === 'function') {\n if (Object.getPrototypeOf(stream).constructor === IncomingMessage) {\n // See: https://github.com/nodejs/node/pull/38505/files\n stream.socket = null\n }\n\n stream.destroy(err)\n } else if (err) {\n queueMicrotask(() => {\n stream.emit('error', err)\n })\n }\n\n if (stream.destroyed !== true) {\n stream[kDestroyed] = true\n }\n}\n\nconst KEEPALIVE_TIMEOUT_EXPR = /timeout=(\\d+)/\nfunction parseKeepAliveTimeout (val) {\n const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR)\n return m ? parseInt(m[1], 10) * 1000 : null\n}\n\n/**\n * Retrieves a header name and returns its lowercase value.\n * @param {string | Buffer} value Header name\n * @returns {string}\n */\nfunction headerNameToString (value) {\n return typeof value === 'string'\n ? headerNameLowerCasedRecord[value] ?? value.toLowerCase()\n : tree.lookup(value) ?? value.toString('latin1').toLowerCase()\n}\n\n/**\n * Receive the buffer as a string and return its lowercase value.\n * @param {Buffer} value Header name\n * @returns {string}\n */\nfunction bufferToLowerCasedHeaderName (value) {\n return tree.lookup(value) ?? value.toString('latin1').toLowerCase()\n}\n\n/**\n * @param {Record | (Buffer | string | (Buffer | string)[])[]} headers\n * @param {Record} [obj]\n * @returns {Record}\n */\nfunction parseHeaders (headers, obj) {\n if (obj === undefined) obj = {}\n for (let i = 0; i < headers.length; i += 2) {\n const key = headerNameToString(headers[i])\n let val = obj[key]\n\n if (val) {\n if (typeof val === 'string') {\n val = [val]\n obj[key] = val\n }\n val.push(headers[i + 1].toString('utf8'))\n } else {\n const headersValue = headers[i + 1]\n if (typeof headersValue === 'string') {\n obj[key] = headersValue\n } else {\n obj[key] = Array.isArray(headersValue) ? headersValue.map(x => x.toString('utf8')) : headersValue.toString('utf8')\n }\n }\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if ('content-length' in obj && 'content-disposition' in obj) {\n obj['content-disposition'] = Buffer.from(obj['content-disposition']).toString('latin1')\n }\n\n return obj\n}\n\nfunction parseRawHeaders (headers) {\n const len = headers.length\n const ret = new Array(len)\n\n let hasContentLength = false\n let contentDispositionIdx = -1\n let key\n let val\n let kLen = 0\n\n for (let n = 0; n < headers.length; n += 2) {\n key = headers[n]\n val = headers[n + 1]\n\n typeof key !== 'string' && (key = key.toString())\n typeof val !== 'string' && (val = val.toString('utf8'))\n\n kLen = key.length\n if (kLen === 14 && key[7] === '-' && (key === 'content-length' || key.toLowerCase() === 'content-length')) {\n hasContentLength = true\n } else if (kLen === 19 && key[7] === '-' && (key === 'content-disposition' || key.toLowerCase() === 'content-disposition')) {\n contentDispositionIdx = n + 1\n }\n ret[n] = key\n ret[n + 1] = val\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if (hasContentLength && contentDispositionIdx !== -1) {\n ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString('latin1')\n }\n\n return ret\n}\n\nfunction isBuffer (buffer) {\n // See, https://github.com/mcollina/undici/pull/319\n return buffer instanceof Uint8Array || Buffer.isBuffer(buffer)\n}\n\nfunction validateHandler (handler, method, upgrade) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n if (typeof handler.onConnect !== 'function') {\n throw new InvalidArgumentError('invalid onConnect method')\n }\n\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n if (typeof handler.onBodySent !== 'function' && handler.onBodySent !== undefined) {\n throw new InvalidArgumentError('invalid onBodySent method')\n }\n\n if (upgrade || method === 'CONNECT') {\n if (typeof handler.onUpgrade !== 'function') {\n throw new InvalidArgumentError('invalid onUpgrade method')\n }\n } else {\n if (typeof handler.onHeaders !== 'function') {\n throw new InvalidArgumentError('invalid onHeaders method')\n }\n\n if (typeof handler.onData !== 'function') {\n throw new InvalidArgumentError('invalid onData method')\n }\n\n if (typeof handler.onComplete !== 'function') {\n throw new InvalidArgumentError('invalid onComplete method')\n }\n }\n}\n\n// A body is disturbed if it has been read from and it cannot\n// be re-used without losing state or data.\nfunction isDisturbed (body) {\n // TODO (fix): Why is body[kBodyUsed] needed?\n return !!(body && (stream.isDisturbed(body) || body[kBodyUsed]))\n}\n\nfunction isErrored (body) {\n return !!(body && stream.isErrored(body))\n}\n\nfunction isReadable (body) {\n return !!(body && stream.isReadable(body))\n}\n\nfunction getSocketInfo (socket) {\n return {\n localAddress: socket.localAddress,\n localPort: socket.localPort,\n remoteAddress: socket.remoteAddress,\n remotePort: socket.remotePort,\n remoteFamily: socket.remoteFamily,\n timeout: socket.timeout,\n bytesWritten: socket.bytesWritten,\n bytesRead: socket.bytesRead\n }\n}\n\n/** @type {globalThis['ReadableStream']} */\nfunction ReadableStreamFrom (iterable) {\n // We cannot use ReadableStream.from here because it does not return a byte stream.\n\n let iterator\n return new ReadableStream(\n {\n async start () {\n iterator = iterable[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { done, value } = await iterator.next()\n if (done) {\n queueMicrotask(() => {\n controller.close()\n controller.byobRequest?.respond(0)\n })\n } else {\n const buf = Buffer.isBuffer(value) ? value : Buffer.from(value)\n if (buf.byteLength) {\n controller.enqueue(new Uint8Array(buf))\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: 'bytes'\n }\n )\n}\n\n// The chunk should be a FormData instance and contains\n// all the required methods.\nfunction isFormDataLike (object) {\n return (\n object &&\n typeof object === 'object' &&\n typeof object.append === 'function' &&\n typeof object.delete === 'function' &&\n typeof object.get === 'function' &&\n typeof object.getAll === 'function' &&\n typeof object.has === 'function' &&\n typeof object.set === 'function' &&\n object[Symbol.toStringTag] === 'FormData'\n )\n}\n\nfunction addAbortListener (signal, listener) {\n if ('addEventListener' in signal) {\n signal.addEventListener('abort', listener, { once: true })\n return () => signal.removeEventListener('abort', listener)\n }\n signal.addListener('abort', listener)\n return () => signal.removeListener('abort', listener)\n}\n\nconst hasToWellFormed = typeof String.prototype.toWellFormed === 'function'\nconst hasIsWellFormed = typeof String.prototype.isWellFormed === 'function'\n\n/**\n * @param {string} val\n */\nfunction toUSVString (val) {\n return hasToWellFormed ? `${val}`.toWellFormed() : nodeUtil.toUSVString(val)\n}\n\n/**\n * @param {string} val\n */\n// TODO: move this to webidl\nfunction isUSVString (val) {\n return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`\n}\n\n/**\n * @see https://tools.ietf.org/html/rfc7230#section-3.2.6\n * @param {number} c\n */\nfunction isTokenCharCode (c) {\n switch (c) {\n case 0x22:\n case 0x28:\n case 0x29:\n case 0x2c:\n case 0x2f:\n case 0x3a:\n case 0x3b:\n case 0x3c:\n case 0x3d:\n case 0x3e:\n case 0x3f:\n case 0x40:\n case 0x5b:\n case 0x5c:\n case 0x5d:\n case 0x7b:\n case 0x7d:\n // DQUOTE and \"(),/:;<=>?@[\\]{}\"\n return false\n default:\n // VCHAR %x21-7E\n return c >= 0x21 && c <= 0x7e\n }\n}\n\n/**\n * @param {string} characters\n */\nfunction isValidHTTPToken (characters) {\n if (characters.length === 0) {\n return false\n }\n for (let i = 0; i < characters.length; ++i) {\n if (!isTokenCharCode(characters.charCodeAt(i))) {\n return false\n }\n }\n return true\n}\n\n// headerCharRegex have been lifted from\n// https://github.com/nodejs/node/blob/main/lib/_http_common.js\n\n/**\n * Matches if val contains an invalid field-vchar\n * field-value = *( field-content / obs-fold )\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n */\nconst headerCharRegex = /[^\\t\\x20-\\x7e\\x80-\\xff]/\n\n/**\n * @param {string} characters\n */\nfunction isValidHeaderValue (characters) {\n return !headerCharRegex.test(characters)\n}\n\n// Parsed accordingly to RFC 9110\n// https://www.rfc-editor.org/rfc/rfc9110#field.content-range\nfunction parseRangeHeader (range) {\n if (range == null || range === '') return { start: 0, end: null, size: null }\n\n const m = range ? range.match(/^bytes (\\d+)-(\\d+)\\/(\\d+)?$/) : null\n return m\n ? {\n start: parseInt(m[1]),\n end: m[2] ? parseInt(m[2]) : null,\n size: m[3] ? parseInt(m[3]) : null\n }\n : null\n}\n\nfunction addListener (obj, name, listener) {\n const listeners = (obj[kListeners] ??= [])\n listeners.push([name, listener])\n obj.on(name, listener)\n return obj\n}\n\nfunction removeAllListeners (obj) {\n for (const [name, listener] of obj[kListeners] ?? []) {\n obj.removeListener(name, listener)\n }\n obj[kListeners] = null\n}\n\nfunction errorRequest (client, request, err) {\n try {\n request.onError(err)\n assert(request.aborted)\n } catch (err) {\n client.emit('error', err)\n }\n}\n\nconst kEnumerableProperty = Object.create(null)\nkEnumerableProperty.enumerable = true\n\nconst normalizedMethodRecordsBase = {\n delete: 'DELETE',\n DELETE: 'DELETE',\n get: 'GET',\n GET: 'GET',\n head: 'HEAD',\n HEAD: 'HEAD',\n options: 'OPTIONS',\n OPTIONS: 'OPTIONS',\n post: 'POST',\n POST: 'POST',\n put: 'PUT',\n PUT: 'PUT'\n}\n\nconst normalizedMethodRecords = {\n ...normalizedMethodRecordsBase,\n patch: 'patch',\n PATCH: 'PATCH'\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(normalizedMethodRecordsBase, null)\nObject.setPrototypeOf(normalizedMethodRecords, null)\n\nmodule.exports = {\n kEnumerableProperty,\n nop,\n isDisturbed,\n isErrored,\n isReadable,\n toUSVString,\n isUSVString,\n isBlobLike,\n parseOrigin,\n parseURL,\n getServerName,\n isStream,\n isIterable,\n isAsyncIterable,\n isDestroyed,\n headerNameToString,\n bufferToLowerCasedHeaderName,\n addListener,\n removeAllListeners,\n errorRequest,\n parseRawHeaders,\n parseHeaders,\n parseKeepAliveTimeout,\n destroy,\n bodyLength,\n deepClone,\n ReadableStreamFrom,\n isBuffer,\n validateHandler,\n getSocketInfo,\n isFormDataLike,\n buildURL,\n addAbortListener,\n isValidHTTPToken,\n isValidHeaderValue,\n isTokenCharCode,\n parseRangeHeader,\n normalizedMethodRecordsBase,\n normalizedMethodRecords,\n isValidPort,\n isHttpOrHttpsPrefixed,\n nodeMajor,\n nodeMinor,\n safeHTTPMethods: ['GET', 'HEAD', 'OPTIONS', 'TRACE'],\n wrapRequestBody\n}\n", "'use strict'\nconst diagnosticsChannel = require('node:diagnostics_channel')\nconst util = require('node:util')\n\nconst undiciDebugLog = util.debuglog('undici')\nconst fetchDebuglog = util.debuglog('fetch')\nconst websocketDebuglog = util.debuglog('websocket')\nlet isClientSet = false\nconst channels = {\n // Client\n beforeConnect: diagnosticsChannel.channel('undici:client:beforeConnect'),\n connected: diagnosticsChannel.channel('undici:client:connected'),\n connectError: diagnosticsChannel.channel('undici:client:connectError'),\n sendHeaders: diagnosticsChannel.channel('undici:client:sendHeaders'),\n // Request\n create: diagnosticsChannel.channel('undici:request:create'),\n bodySent: diagnosticsChannel.channel('undici:request:bodySent'),\n headers: diagnosticsChannel.channel('undici:request:headers'),\n trailers: diagnosticsChannel.channel('undici:request:trailers'),\n error: diagnosticsChannel.channel('undici:request:error'),\n // WebSocket\n open: diagnosticsChannel.channel('undici:websocket:open'),\n close: diagnosticsChannel.channel('undici:websocket:close'),\n socketError: diagnosticsChannel.channel('undici:websocket:socket_error'),\n ping: diagnosticsChannel.channel('undici:websocket:ping'),\n pong: diagnosticsChannel.channel('undici:websocket:pong')\n}\n\nif (undiciDebugLog.enabled || fetchDebuglog.enabled) {\n const debuglog = fetchDebuglog.enabled ? fetchDebuglog : undiciDebugLog\n\n // Track all Client events\n diagnosticsChannel.channel('undici:client:beforeConnect').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connecting to %s using %s%s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connected').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connected to %s using %s%s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connectError').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host },\n error\n } = evt\n debuglog(\n 'connection to %s using %s%s errored - %s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version,\n error.message\n )\n })\n\n diagnosticsChannel.channel('undici:client:sendHeaders').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('sending request to %s %s/%s', method, origin, path)\n })\n\n // Track Request events\n diagnosticsChannel.channel('undici:request:headers').subscribe(evt => {\n const {\n request: { method, path, origin },\n response: { statusCode }\n } = evt\n debuglog(\n 'received response to %s %s/%s - HTTP %d',\n method,\n origin,\n path,\n statusCode\n )\n })\n\n diagnosticsChannel.channel('undici:request:trailers').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('trailers received from %s %s/%s', method, origin, path)\n })\n\n diagnosticsChannel.channel('undici:request:error').subscribe(evt => {\n const {\n request: { method, path, origin },\n error\n } = evt\n debuglog(\n 'request to %s %s/%s errored - %s',\n method,\n origin,\n path,\n error.message\n )\n })\n\n isClientSet = true\n}\n\nif (websocketDebuglog.enabled) {\n if (!isClientSet) {\n const debuglog = undiciDebugLog.enabled ? undiciDebugLog : websocketDebuglog\n diagnosticsChannel.channel('undici:client:beforeConnect').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connecting to %s%s using %s%s',\n host,\n port ? `:${port}` : '',\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connected').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connected to %s%s using %s%s',\n host,\n port ? `:${port}` : '',\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connectError').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host },\n error\n } = evt\n debuglog(\n 'connection to %s%s using %s%s errored - %s',\n host,\n port ? `:${port}` : '',\n protocol,\n version,\n error.message\n )\n })\n\n diagnosticsChannel.channel('undici:client:sendHeaders').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('sending request to %s %s/%s', method, origin, path)\n })\n }\n\n // Track all WebSocket events\n diagnosticsChannel.channel('undici:websocket:open').subscribe(evt => {\n const {\n address: { address, port }\n } = evt\n websocketDebuglog('connection opened %s%s', address, port ? `:${port}` : '')\n })\n\n diagnosticsChannel.channel('undici:websocket:close').subscribe(evt => {\n const { websocket, code, reason } = evt\n websocketDebuglog(\n 'closed connection to %s - %s %s',\n websocket.url,\n code,\n reason\n )\n })\n\n diagnosticsChannel.channel('undici:websocket:socket_error').subscribe(err => {\n websocketDebuglog('connection errored - %s', err.message)\n })\n\n diagnosticsChannel.channel('undici:websocket:ping').subscribe(evt => {\n websocketDebuglog('ping received')\n })\n\n diagnosticsChannel.channel('undici:websocket:pong').subscribe(evt => {\n websocketDebuglog('pong received')\n })\n}\n\nmodule.exports = {\n channels\n}\n", "'use strict'\n\nconst {\n InvalidArgumentError,\n NotSupportedError\n} = require('./errors')\nconst assert = require('node:assert')\nconst {\n isValidHTTPToken,\n isValidHeaderValue,\n isStream,\n destroy,\n isBuffer,\n isFormDataLike,\n isIterable,\n isBlobLike,\n buildURL,\n validateHandler,\n getServerName,\n normalizedMethodRecords\n} = require('./util')\nconst { channels } = require('./diagnostics.js')\nconst { headerNameLowerCasedRecord } = require('./constants')\n\n// Verifies that a given path is valid does not contain control chars \\x00 to \\x20\nconst invalidPathRegex = /[^\\u0021-\\u00ff]/\n\nconst kHandler = Symbol('handler')\n\nclass Request {\n constructor (origin, {\n path,\n method,\n body,\n headers,\n query,\n idempotent,\n blocking,\n upgrade,\n headersTimeout,\n bodyTimeout,\n reset,\n throwOnError,\n expectContinue,\n servername\n }, handler) {\n if (typeof path !== 'string') {\n throw new InvalidArgumentError('path must be a string')\n } else if (\n path[0] !== '/' &&\n !(path.startsWith('http://') || path.startsWith('https://')) &&\n method !== 'CONNECT'\n ) {\n throw new InvalidArgumentError('path must be an absolute URL or start with a slash')\n } else if (invalidPathRegex.test(path)) {\n throw new InvalidArgumentError('invalid request path')\n }\n\n if (typeof method !== 'string') {\n throw new InvalidArgumentError('method must be a string')\n } else if (normalizedMethodRecords[method] === undefined && !isValidHTTPToken(method)) {\n throw new InvalidArgumentError('invalid request method')\n }\n\n if (upgrade && typeof upgrade !== 'string') {\n throw new InvalidArgumentError('upgrade must be a string')\n }\n\n if (upgrade && !isValidHeaderValue(upgrade)) {\n throw new InvalidArgumentError('invalid upgrade header')\n }\n\n if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('invalid headersTimeout')\n }\n\n if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('invalid bodyTimeout')\n }\n\n if (reset != null && typeof reset !== 'boolean') {\n throw new InvalidArgumentError('invalid reset')\n }\n\n if (expectContinue != null && typeof expectContinue !== 'boolean') {\n throw new InvalidArgumentError('invalid expectContinue')\n }\n\n this.headersTimeout = headersTimeout\n\n this.bodyTimeout = bodyTimeout\n\n this.throwOnError = throwOnError === true\n\n this.method = method\n\n this.abort = null\n\n if (body == null) {\n this.body = null\n } else if (isStream(body)) {\n this.body = body\n\n const rState = this.body._readableState\n if (!rState || !rState.autoDestroy) {\n this.endHandler = function autoDestroy () {\n destroy(this)\n }\n this.body.on('end', this.endHandler)\n }\n\n this.errorHandler = err => {\n if (this.abort) {\n this.abort(err)\n } else {\n this.error = err\n }\n }\n this.body.on('error', this.errorHandler)\n } else if (isBuffer(body)) {\n this.body = body.byteLength ? body : null\n } else if (ArrayBuffer.isView(body)) {\n this.body = body.buffer.byteLength ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : null\n } else if (body instanceof ArrayBuffer) {\n this.body = body.byteLength ? Buffer.from(body) : null\n } else if (typeof body === 'string') {\n this.body = body.length ? Buffer.from(body) : null\n } else if (isFormDataLike(body) || isIterable(body) || isBlobLike(body)) {\n this.body = body\n } else {\n throw new InvalidArgumentError('body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable')\n }\n\n this.completed = false\n\n this.aborted = false\n\n this.upgrade = upgrade || null\n\n this.path = query ? buildURL(path, query) : path\n\n this.origin = origin\n\n this.idempotent = idempotent == null\n ? method === 'HEAD' || method === 'GET'\n : idempotent\n\n this.blocking = blocking == null ? false : blocking\n\n this.reset = reset == null ? null : reset\n\n this.host = null\n\n this.contentLength = null\n\n this.contentType = null\n\n this.headers = []\n\n // Only for H2\n this.expectContinue = expectContinue != null ? expectContinue : false\n\n if (Array.isArray(headers)) {\n if (headers.length % 2 !== 0) {\n throw new InvalidArgumentError('headers array must be even')\n }\n for (let i = 0; i < headers.length; i += 2) {\n processHeader(this, headers[i], headers[i + 1])\n }\n } else if (headers && typeof headers === 'object') {\n if (headers[Symbol.iterator]) {\n for (const header of headers) {\n if (!Array.isArray(header) || header.length !== 2) {\n throw new InvalidArgumentError('headers must be in key-value pair format')\n }\n processHeader(this, header[0], header[1])\n }\n } else {\n const keys = Object.keys(headers)\n for (let i = 0; i < keys.length; ++i) {\n processHeader(this, keys[i], headers[keys[i]])\n }\n }\n } else if (headers != null) {\n throw new InvalidArgumentError('headers must be an object or an array')\n }\n\n validateHandler(handler, method, upgrade)\n\n this.servername = servername || getServerName(this.host)\n\n this[kHandler] = handler\n\n if (channels.create.hasSubscribers) {\n channels.create.publish({ request: this })\n }\n }\n\n onBodySent (chunk) {\n if (this[kHandler].onBodySent) {\n try {\n return this[kHandler].onBodySent(chunk)\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onRequestSent () {\n if (channels.bodySent.hasSubscribers) {\n channels.bodySent.publish({ request: this })\n }\n\n if (this[kHandler].onRequestSent) {\n try {\n return this[kHandler].onRequestSent()\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onConnect (abort) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (this.error) {\n abort(this.error)\n } else {\n this.abort = abort\n return this[kHandler].onConnect(abort)\n }\n }\n\n onResponseStarted () {\n return this[kHandler].onResponseStarted?.()\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (channels.headers.hasSubscribers) {\n channels.headers.publish({ request: this, response: { statusCode, headers, statusText } })\n }\n\n try {\n return this[kHandler].onHeaders(statusCode, headers, resume, statusText)\n } catch (err) {\n this.abort(err)\n }\n }\n\n onData (chunk) {\n assert(!this.aborted)\n assert(!this.completed)\n\n try {\n return this[kHandler].onData(chunk)\n } catch (err) {\n this.abort(err)\n return false\n }\n }\n\n onUpgrade (statusCode, headers, socket) {\n assert(!this.aborted)\n assert(!this.completed)\n\n return this[kHandler].onUpgrade(statusCode, headers, socket)\n }\n\n onComplete (trailers) {\n this.onFinally()\n\n assert(!this.aborted)\n\n this.completed = true\n if (channels.trailers.hasSubscribers) {\n channels.trailers.publish({ request: this, trailers })\n }\n\n try {\n return this[kHandler].onComplete(trailers)\n } catch (err) {\n // TODO (fix): This might be a bad idea?\n this.onError(err)\n }\n }\n\n onError (error) {\n this.onFinally()\n\n if (channels.error.hasSubscribers) {\n channels.error.publish({ request: this, error })\n }\n\n if (this.aborted) {\n return\n }\n this.aborted = true\n\n return this[kHandler].onError(error)\n }\n\n onFinally () {\n if (this.errorHandler) {\n this.body.off('error', this.errorHandler)\n this.errorHandler = null\n }\n\n if (this.endHandler) {\n this.body.off('end', this.endHandler)\n this.endHandler = null\n }\n }\n\n addHeader (key, value) {\n processHeader(this, key, value)\n return this\n }\n}\n\nfunction processHeader (request, key, val) {\n if (val && (typeof val === 'object' && !Array.isArray(val))) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n } else if (val === undefined) {\n return\n }\n\n let headerName = headerNameLowerCasedRecord[key]\n\n if (headerName === undefined) {\n headerName = key.toLowerCase()\n if (headerNameLowerCasedRecord[headerName] === undefined && !isValidHTTPToken(headerName)) {\n throw new InvalidArgumentError('invalid header key')\n }\n }\n\n if (Array.isArray(val)) {\n const arr = []\n for (let i = 0; i < val.length; i++) {\n if (typeof val[i] === 'string') {\n if (!isValidHeaderValue(val[i])) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n arr.push(val[i])\n } else if (val[i] === null) {\n arr.push('')\n } else if (typeof val[i] === 'object') {\n throw new InvalidArgumentError(`invalid ${key} header`)\n } else {\n // Coerce primitives (and reject unsafe coercions such as functions\n // with a crafted toString/Symbol.toPrimitive).\n const str = `${val[i]}`\n if (!isValidHeaderValue(str)) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n arr.push(str)\n }\n }\n val = arr\n } else if (typeof val === 'string') {\n if (!isValidHeaderValue(val)) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n } else if (val === null) {\n val = ''\n } else {\n // Coerce primitives (and reject unsafe coercions such as functions\n // with a crafted toString/Symbol.toPrimitive).\n val = `${val}`\n if (!isValidHeaderValue(val)) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n }\n\n if (headerName === 'host') {\n if (request.host !== null) {\n throw new InvalidArgumentError('duplicate host header')\n }\n if (typeof val !== 'string') {\n throw new InvalidArgumentError('invalid host header')\n }\n // Consumed by Client\n request.host = val\n } else if (headerName === 'content-length') {\n if (request.contentLength !== null) {\n throw new InvalidArgumentError('duplicate content-length header')\n }\n request.contentLength = parseInt(val, 10)\n if (!Number.isFinite(request.contentLength)) {\n throw new InvalidArgumentError('invalid content-length header')\n }\n } else if (request.contentType === null && headerName === 'content-type') {\n request.contentType = val\n request.headers.push(key, val)\n } else if (headerName === 'transfer-encoding' || headerName === 'keep-alive' || headerName === 'upgrade') {\n throw new InvalidArgumentError(`invalid ${headerName} header`)\n } else if (headerName === 'connection') {\n const value = typeof val === 'string' ? val.toLowerCase() : null\n if (value !== 'close' && value !== 'keep-alive') {\n throw new InvalidArgumentError('invalid connection header')\n }\n\n if (value === 'close') {\n request.reset = true\n }\n } else if (headerName === 'expect') {\n throw new NotSupportedError('expect header not supported')\n } else {\n request.headers.push(key, val)\n }\n}\n\nmodule.exports = Request\n", "'use strict'\nconst EventEmitter = require('node:events')\n\nclass Dispatcher extends EventEmitter {\n dispatch () {\n throw new Error('not implemented')\n }\n\n close () {\n throw new Error('not implemented')\n }\n\n destroy () {\n throw new Error('not implemented')\n }\n\n compose (...args) {\n // So we handle [interceptor1, interceptor2] or interceptor1, interceptor2, ...\n const interceptors = Array.isArray(args[0]) ? args[0] : args\n let dispatch = this.dispatch.bind(this)\n\n for (const interceptor of interceptors) {\n if (interceptor == null) {\n continue\n }\n\n if (typeof interceptor !== 'function') {\n throw new TypeError(`invalid interceptor, expected function received ${typeof interceptor}`)\n }\n\n dispatch = interceptor(dispatch)\n\n if (dispatch == null || typeof dispatch !== 'function' || dispatch.length !== 2) {\n throw new TypeError('invalid interceptor')\n }\n }\n\n return new ComposedDispatcher(this, dispatch)\n }\n}\n\nclass ComposedDispatcher extends Dispatcher {\n #dispatcher = null\n #dispatch = null\n\n constructor (dispatcher, dispatch) {\n super()\n this.#dispatcher = dispatcher\n this.#dispatch = dispatch\n }\n\n dispatch (...args) {\n this.#dispatch(...args)\n }\n\n close (...args) {\n return this.#dispatcher.close(...args)\n }\n\n destroy (...args) {\n return this.#dispatcher.destroy(...args)\n }\n}\n\nmodule.exports = Dispatcher\n", "'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst {\n ClientDestroyedError,\n ClientClosedError,\n InvalidArgumentError\n} = require('../core/errors')\nconst { kDestroy, kClose, kClosed, kDestroyed, kDispatch, kInterceptors } = require('../core/symbols')\n\nconst kOnDestroyed = Symbol('onDestroyed')\nconst kOnClosed = Symbol('onClosed')\nconst kInterceptedDispatch = Symbol('Intercepted Dispatch')\nconst kWebSocketOptions = Symbol('webSocketOptions')\n\nclass DispatcherBase extends Dispatcher {\n constructor (opts) {\n super()\n\n this[kDestroyed] = false\n this[kOnDestroyed] = null\n this[kClosed] = false\n this[kOnClosed] = []\n this[kWebSocketOptions] = opts?.webSocket ?? {}\n }\n\n get webSocketOptions () {\n return {\n maxFragments: this[kWebSocketOptions].maxFragments ?? 131072,\n maxPayloadSize: this[kWebSocketOptions].maxPayloadSize ?? 128 * 1024 * 1024\n }\n }\n\n get destroyed () {\n return this[kDestroyed]\n }\n\n get closed () {\n return this[kClosed]\n }\n\n get interceptors () {\n return this[kInterceptors]\n }\n\n set interceptors (newInterceptors) {\n if (newInterceptors) {\n for (let i = newInterceptors.length - 1; i >= 0; i--) {\n const interceptor = this[kInterceptors][i]\n if (typeof interceptor !== 'function') {\n throw new InvalidArgumentError('interceptor must be an function')\n }\n }\n }\n\n this[kInterceptors] = newInterceptors\n }\n\n close (callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.close((err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n queueMicrotask(() => callback(new ClientDestroyedError(), null))\n return\n }\n\n if (this[kClosed]) {\n if (this[kOnClosed]) {\n this[kOnClosed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n this[kClosed] = true\n this[kOnClosed].push(callback)\n\n const onClosed = () => {\n const callbacks = this[kOnClosed]\n this[kOnClosed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kClose]()\n .then(() => this.destroy())\n .then(() => {\n queueMicrotask(onClosed)\n })\n }\n\n destroy (err, callback) {\n if (typeof err === 'function') {\n callback = err\n err = null\n }\n\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.destroy(err, (err, data) => {\n return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n if (this[kOnDestroyed]) {\n this[kOnDestroyed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n if (!err) {\n err = new ClientDestroyedError()\n }\n\n this[kDestroyed] = true\n this[kOnDestroyed] = this[kOnDestroyed] || []\n this[kOnDestroyed].push(callback)\n\n const onDestroyed = () => {\n const callbacks = this[kOnDestroyed]\n this[kOnDestroyed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kDestroy](err).then(() => {\n queueMicrotask(onDestroyed)\n })\n }\n\n [kInterceptedDispatch] (opts, handler) {\n if (!this[kInterceptors] || this[kInterceptors].length === 0) {\n this[kInterceptedDispatch] = this[kDispatch]\n return this[kDispatch](opts, handler)\n }\n\n let dispatch = this[kDispatch].bind(this)\n for (let i = this[kInterceptors].length - 1; i >= 0; i--) {\n dispatch = this[kInterceptors][i](dispatch)\n }\n this[kInterceptedDispatch] = dispatch\n return dispatch(opts, handler)\n }\n\n dispatch (opts, handler) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n try {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object.')\n }\n\n if (this[kDestroyed] || this[kOnDestroyed]) {\n throw new ClientDestroyedError()\n }\n\n if (this[kClosed]) {\n throw new ClientClosedError()\n }\n\n return this[kInterceptedDispatch](opts, handler)\n } catch (err) {\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n handler.onError(err)\n\n return false\n }\n }\n}\n\nmodule.exports = DispatcherBase\n", "'use strict'\n\n/**\n * This module offers an optimized timer implementation designed for scenarios\n * where high precision is not critical.\n *\n * The timer achieves faster performance by using a low-resolution approach,\n * with an accuracy target of within 500ms. This makes it particularly useful\n * for timers with delays of 1 second or more, where exact timing is less\n * crucial.\n *\n * It's important to note that Node.js timers are inherently imprecise, as\n * delays can occur due to the event loop being blocked by other operations.\n * Consequently, timers may trigger later than their scheduled time.\n */\n\n/**\n * The fastNow variable contains the internal fast timer clock value.\n *\n * @type {number}\n */\nlet fastNow = 0\n\n/**\n * RESOLUTION_MS represents the target resolution time in milliseconds.\n *\n * @type {number}\n * @default 1000\n */\nconst RESOLUTION_MS = 1e3\n\n/**\n * TICK_MS defines the desired interval in milliseconds between each tick.\n * The target value is set to half the resolution time, minus 1 ms, to account\n * for potential event loop overhead.\n *\n * @type {number}\n * @default 499\n */\nconst TICK_MS = (RESOLUTION_MS >> 1) - 1\n\n/**\n * fastNowTimeout is a Node.js timer used to manage and process\n * the FastTimers stored in the `fastTimers` array.\n *\n * @type {NodeJS.Timeout}\n */\nlet fastNowTimeout\n\n/**\n * The kFastTimer symbol is used to identify FastTimer instances.\n *\n * @type {Symbol}\n */\nconst kFastTimer = Symbol('kFastTimer')\n\n/**\n * The fastTimers array contains all active FastTimers.\n *\n * @type {FastTimer[]}\n */\nconst fastTimers = []\n\n/**\n * These constants represent the various states of a FastTimer.\n */\n\n/**\n * The `NOT_IN_LIST` constant indicates that the FastTimer is not included\n * in the `fastTimers` array. Timers with this status will not be processed\n * during the next tick by the `onTick` function.\n *\n * A FastTimer can be re-added to the `fastTimers` array by invoking the\n * `refresh` method on the FastTimer instance.\n *\n * @type {-2}\n */\nconst NOT_IN_LIST = -2\n\n/**\n * The `TO_BE_CLEARED` constant indicates that the FastTimer is scheduled\n * for removal from the `fastTimers` array. A FastTimer in this state will\n * be removed in the next tick by the `onTick` function and will no longer\n * be processed.\n *\n * This status is also set when the `clear` method is called on the FastTimer instance.\n *\n * @type {-1}\n */\nconst TO_BE_CLEARED = -1\n\n/**\n * The `PENDING` constant signifies that the FastTimer is awaiting processing\n * in the next tick by the `onTick` function. Timers with this status will have\n * their `_idleStart` value set and their status updated to `ACTIVE` in the next tick.\n *\n * @type {0}\n */\nconst PENDING = 0\n\n/**\n * The `ACTIVE` constant indicates that the FastTimer is active and waiting\n * for its timer to expire. During the next tick, the `onTick` function will\n * check if the timer has expired, and if so, it will execute the associated callback.\n *\n * @type {1}\n */\nconst ACTIVE = 1\n\n/**\n * The onTick function processes the fastTimers array.\n *\n * @returns {void}\n */\nfunction onTick () {\n /**\n * Increment the fastNow value by the TICK_MS value, despite the actual time\n * that has passed since the last tick. This approach ensures independence\n * from the system clock and delays caused by a blocked event loop.\n *\n * @type {number}\n */\n fastNow += TICK_MS\n\n /**\n * The `idx` variable is used to iterate over the `fastTimers` array.\n * Expired timers are removed by replacing them with the last element in the array.\n * Consequently, `idx` is only incremented when the current element is not removed.\n *\n * @type {number}\n */\n let idx = 0\n\n /**\n * The len variable will contain the length of the fastTimers array\n * and will be decremented when a FastTimer should be removed from the\n * fastTimers array.\n *\n * @type {number}\n */\n let len = fastTimers.length\n\n while (idx < len) {\n /**\n * @type {FastTimer}\n */\n const timer = fastTimers[idx]\n\n // If the timer is in the ACTIVE state and the timer has expired, it will\n // be processed in the next tick.\n if (timer._state === PENDING) {\n // Set the _idleStart value to the fastNow value minus the TICK_MS value\n // to account for the time the timer was in the PENDING state.\n timer._idleStart = fastNow - TICK_MS\n timer._state = ACTIVE\n } else if (\n timer._state === ACTIVE &&\n fastNow >= timer._idleStart + timer._idleTimeout\n ) {\n timer._state = TO_BE_CLEARED\n timer._idleStart = -1\n timer._onTimeout(timer._timerArg)\n }\n\n if (timer._state === TO_BE_CLEARED) {\n timer._state = NOT_IN_LIST\n\n // Move the last element to the current index and decrement len if it is\n // not the only element in the array.\n if (--len !== 0) {\n fastTimers[idx] = fastTimers[len]\n }\n } else {\n ++idx\n }\n }\n\n // Set the length of the fastTimers array to the new length and thus\n // removing the excess FastTimers elements from the array.\n fastTimers.length = len\n\n // If there are still active FastTimers in the array, refresh the Timer.\n // If there are no active FastTimers, the timer will be refreshed again\n // when a new FastTimer is instantiated.\n if (fastTimers.length !== 0) {\n refreshTimeout()\n }\n}\n\nfunction refreshTimeout () {\n // If the fastNowTimeout is already set, refresh it.\n if (fastNowTimeout) {\n fastNowTimeout.refresh()\n // fastNowTimeout is not instantiated yet, create a new Timer.\n } else {\n clearTimeout(fastNowTimeout)\n fastNowTimeout = setTimeout(onTick, TICK_MS)\n\n // If the Timer has an unref method, call it to allow the process to exit if\n // there are no other active handles.\n if (fastNowTimeout.unref) {\n fastNowTimeout.unref()\n }\n }\n}\n\n/**\n * The `FastTimer` class is a data structure designed to store and manage\n * timer information.\n */\nclass FastTimer {\n [kFastTimer] = true\n\n /**\n * The state of the timer, which can be one of the following:\n * - NOT_IN_LIST (-2)\n * - TO_BE_CLEARED (-1)\n * - PENDING (0)\n * - ACTIVE (1)\n *\n * @type {-2|-1|0|1}\n * @private\n */\n _state = NOT_IN_LIST\n\n /**\n * The number of milliseconds to wait before calling the callback.\n *\n * @type {number}\n * @private\n */\n _idleTimeout = -1\n\n /**\n * The time in milliseconds when the timer was started. This value is used to\n * calculate when the timer should expire.\n *\n * @type {number}\n * @default -1\n * @private\n */\n _idleStart = -1\n\n /**\n * The function to be executed when the timer expires.\n * @type {Function}\n * @private\n */\n _onTimeout\n\n /**\n * The argument to be passed to the callback when the timer expires.\n *\n * @type {*}\n * @private\n */\n _timerArg\n\n /**\n * @constructor\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should wait\n * before the specified function or code is executed.\n * @param {*} arg\n */\n constructor (callback, delay, arg) {\n this._onTimeout = callback\n this._idleTimeout = delay\n this._timerArg = arg\n\n this.refresh()\n }\n\n /**\n * Sets the timer's start time to the current time, and reschedules the timer\n * to call its callback at the previously specified duration adjusted to the\n * current time.\n * Using this on a timer that has already called its callback will reactivate\n * the timer.\n *\n * @returns {void}\n */\n refresh () {\n // In the special case that the timer is not in the list of active timers,\n // add it back to the array to be processed in the next tick by the onTick\n // function.\n if (this._state === NOT_IN_LIST) {\n fastTimers.push(this)\n }\n\n // If the timer is the only active timer, refresh the fastNowTimeout for\n // better resolution.\n if (!fastNowTimeout || fastTimers.length === 1) {\n refreshTimeout()\n }\n\n // Setting the state to PENDING will cause the timer to be reset in the\n // next tick by the onTick function.\n this._state = PENDING\n }\n\n /**\n * The `clear` method cancels the timer, preventing it from executing.\n *\n * @returns {void}\n * @private\n */\n clear () {\n // Set the state to TO_BE_CLEARED to mark the timer for removal in the next\n // tick by the onTick function.\n this._state = TO_BE_CLEARED\n\n // Reset the _idleStart value to -1 to indicate that the timer is no longer\n // active.\n this._idleStart = -1\n }\n}\n\n/**\n * This module exports a setTimeout and clearTimeout function that can be\n * used as a drop-in replacement for the native functions.\n */\nmodule.exports = {\n /**\n * The setTimeout() method sets a timer which executes a function once the\n * timer expires.\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should\n * wait before the specified function or code is executed.\n * @param {*} [arg] An optional argument to be passed to the callback function\n * when the timer expires.\n * @returns {NodeJS.Timeout|FastTimer}\n */\n setTimeout (callback, delay, arg) {\n // If the delay is less than or equal to the RESOLUTION_MS value return a\n // native Node.js Timer instance.\n return delay <= RESOLUTION_MS\n ? setTimeout(callback, delay, arg)\n : new FastTimer(callback, delay, arg)\n },\n /**\n * The clearTimeout method cancels an instantiated Timer previously created\n * by calling setTimeout.\n *\n * @param {NodeJS.Timeout|FastTimer} timeout\n */\n clearTimeout (timeout) {\n // If the timeout is a FastTimer, call its own clear method.\n if (timeout[kFastTimer]) {\n /**\n * @type {FastTimer}\n */\n timeout.clear()\n // Otherwise it is an instance of a native NodeJS.Timeout, so call the\n // Node.js native clearTimeout function.\n } else {\n clearTimeout(timeout)\n }\n },\n /**\n * The setFastTimeout() method sets a fastTimer which executes a function once\n * the timer expires.\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should\n * wait before the specified function or code is executed.\n * @param {*} [arg] An optional argument to be passed to the callback function\n * when the timer expires.\n * @returns {FastTimer}\n */\n setFastTimeout (callback, delay, arg) {\n return new FastTimer(callback, delay, arg)\n },\n /**\n * The clearTimeout method cancels an instantiated FastTimer previously\n * created by calling setFastTimeout.\n *\n * @param {FastTimer} timeout\n */\n clearFastTimeout (timeout) {\n timeout.clear()\n },\n /**\n * The now method returns the value of the internal fast timer clock.\n *\n * @returns {number}\n */\n now () {\n return fastNow\n },\n /**\n * Trigger the onTick function to process the fastTimers array.\n * Exported for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n * @param {number} [delay=0] The delay in milliseconds to add to the now value.\n */\n tick (delay = 0) {\n fastNow += delay - RESOLUTION_MS + 1\n onTick()\n onTick()\n },\n /**\n * Reset FastTimers.\n * Exported for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n */\n reset () {\n fastNow = 0\n fastTimers.length = 0\n clearTimeout(fastNowTimeout)\n fastNowTimeout = null\n },\n /**\n * Exporting for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n */\n kFastTimer\n}\n", "'use strict'\n\nconst net = require('node:net')\nconst assert = require('node:assert')\nconst util = require('./util')\nconst { InvalidArgumentError, ConnectTimeoutError } = require('./errors')\nconst timers = require('../util/timers')\n\nfunction noop () {}\n\nlet tls // include tls conditionally since it is not always available\n\n// TODO: session re-use does not wait for the first\n// connection to resolve the session and might therefore\n// resolve the same servername multiple times even when\n// re-use is enabled.\n\nlet SessionCache\n// FIXME: remove workaround when the Node bug is fixed\n// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\nif (global.FinalizationRegistry && !(process.env.NODE_V8_COVERAGE || process.env.UNDICI_NO_FG)) {\n SessionCache = class WeakSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n this._sessionRegistry = new global.FinalizationRegistry((key) => {\n if (this._sessionCache.size < this._maxCachedSessions) {\n return\n }\n\n const ref = this._sessionCache.get(key)\n if (ref !== undefined && ref.deref() === undefined) {\n this._sessionCache.delete(key)\n }\n })\n }\n\n get (sessionKey) {\n const ref = this._sessionCache.get(sessionKey)\n return ref ? ref.deref() : null\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n this._sessionCache.set(sessionKey, new WeakRef(session))\n this._sessionRegistry.register(session, sessionKey)\n }\n }\n} else {\n SessionCache = class SimpleSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n }\n\n get (sessionKey) {\n return this._sessionCache.get(sessionKey)\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n if (this._sessionCache.size >= this._maxCachedSessions) {\n // remove the oldest session\n const { value: oldestKey } = this._sessionCache.keys().next()\n this._sessionCache.delete(oldestKey)\n }\n\n this._sessionCache.set(sessionKey, session)\n }\n }\n}\n\nfunction buildConnector ({ allowH2, maxCachedSessions, socketPath, timeout, session: customSession, ...opts }) {\n if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) {\n throw new InvalidArgumentError('maxCachedSessions must be a positive integer or zero')\n }\n\n const options = { path: socketPath, ...opts }\n const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions)\n timeout = timeout == null ? 10e3 : timeout\n allowH2 = allowH2 != null ? allowH2 : false\n return function connect ({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) {\n let socket\n if (protocol === 'https:') {\n if (!tls) {\n tls = require('node:tls')\n }\n servername = servername || options.servername || util.getServerName(host) || null\n\n const sessionKey = servername || hostname\n assert(sessionKey)\n\n const session = customSession || sessionCache.get(sessionKey) || null\n\n port = port || 443\n\n socket = tls.connect({\n highWaterMark: 16384, // TLS in node can't have bigger HWM anyway...\n ...options,\n servername,\n session,\n localAddress,\n // TODO(HTTP/2): Add support for h2c\n ALPNProtocols: allowH2 ? ['http/1.1', 'h2'] : ['http/1.1'],\n socket: httpSocket, // upgrade socket connection\n port,\n host: hostname\n })\n\n socket\n .on('session', function (session) {\n // TODO (fix): Can a session become invalid once established? Don't think so?\n sessionCache.set(sessionKey, session)\n })\n } else {\n assert(!httpSocket, 'httpSocket can only be sent on TLS update')\n\n port = port || 80\n\n socket = net.connect({\n highWaterMark: 64 * 1024, // Same as nodejs fs streams.\n ...options,\n localAddress,\n port,\n host: hostname\n })\n }\n\n // Set TCP keep alive options on the socket here instead of in connect() for the case of assigning the socket\n if (options.keepAlive == null || options.keepAlive) {\n const keepAliveInitialDelay = options.keepAliveInitialDelay === undefined ? 60e3 : options.keepAliveInitialDelay\n socket.setKeepAlive(true, keepAliveInitialDelay)\n }\n\n const clearConnectTimeout = setupConnectTimeout(new WeakRef(socket), { timeout, hostname, port })\n\n socket\n .setNoDelay(true)\n .once(protocol === 'https:' ? 'secureConnect' : 'connect', function () {\n queueMicrotask(clearConnectTimeout)\n\n if (callback) {\n const cb = callback\n callback = null\n cb(null, this)\n }\n })\n .on('error', function (err) {\n queueMicrotask(clearConnectTimeout)\n\n if (callback) {\n const cb = callback\n callback = null\n cb(err)\n }\n })\n\n return socket\n }\n}\n\n/**\n * @param {WeakRef} socketWeakRef\n * @param {object} opts\n * @param {number} opts.timeout\n * @param {string} opts.hostname\n * @param {number} opts.port\n * @returns {() => void}\n */\nconst setupConnectTimeout = process.platform === 'win32'\n ? (socketWeakRef, opts) => {\n if (!opts.timeout) {\n return noop\n }\n\n let s1 = null\n let s2 = null\n const fastTimer = timers.setFastTimeout(() => {\n // setImmediate is added to make sure that we prioritize socket error events over timeouts\n s1 = setImmediate(() => {\n // Windows needs an extra setImmediate probably due to implementation differences in the socket logic\n s2 = setImmediate(() => onConnectTimeout(socketWeakRef.deref(), opts))\n })\n }, opts.timeout)\n return () => {\n timers.clearFastTimeout(fastTimer)\n clearImmediate(s1)\n clearImmediate(s2)\n }\n }\n : (socketWeakRef, opts) => {\n if (!opts.timeout) {\n return noop\n }\n\n let s1 = null\n const fastTimer = timers.setFastTimeout(() => {\n // setImmediate is added to make sure that we prioritize socket error events over timeouts\n s1 = setImmediate(() => {\n onConnectTimeout(socketWeakRef.deref(), opts)\n })\n }, opts.timeout)\n return () => {\n timers.clearFastTimeout(fastTimer)\n clearImmediate(s1)\n }\n }\n\n/**\n * @param {net.Socket} socket\n * @param {object} opts\n * @param {number} opts.timeout\n * @param {string} opts.hostname\n * @param {number} opts.port\n */\nfunction onConnectTimeout (socket, opts) {\n // The socket could be already garbage collected\n if (socket == null) {\n return\n }\n\n let message = 'Connect Timeout Error'\n if (Array.isArray(socket.autoSelectFamilyAttemptedAddresses)) {\n message += ` (attempted addresses: ${socket.autoSelectFamilyAttemptedAddresses.join(', ')},`\n } else {\n message += ` (attempted address: ${opts.hostname}:${opts.port},`\n }\n\n message += ` timeout: ${opts.timeout}ms)`\n\n util.destroy(socket, new ConnectTimeoutError(message))\n}\n\nmodule.exports = buildConnector\n", "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.enumToMap = void 0;\nfunction enumToMap(obj) {\n const res = {};\n Object.keys(obj).forEach((key) => {\n const value = obj[key];\n if (typeof value === 'number') {\n res[key] = value;\n }\n });\n return res;\n}\nexports.enumToMap = enumToMap;\n//# sourceMappingURL=utils.js.map", "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0;\nconst utils_1 = require(\"./utils\");\n// C headers\nvar ERROR;\n(function (ERROR) {\n ERROR[ERROR[\"OK\"] = 0] = \"OK\";\n ERROR[ERROR[\"INTERNAL\"] = 1] = \"INTERNAL\";\n ERROR[ERROR[\"STRICT\"] = 2] = \"STRICT\";\n ERROR[ERROR[\"LF_EXPECTED\"] = 3] = \"LF_EXPECTED\";\n ERROR[ERROR[\"UNEXPECTED_CONTENT_LENGTH\"] = 4] = \"UNEXPECTED_CONTENT_LENGTH\";\n ERROR[ERROR[\"CLOSED_CONNECTION\"] = 5] = \"CLOSED_CONNECTION\";\n ERROR[ERROR[\"INVALID_METHOD\"] = 6] = \"INVALID_METHOD\";\n ERROR[ERROR[\"INVALID_URL\"] = 7] = \"INVALID_URL\";\n ERROR[ERROR[\"INVALID_CONSTANT\"] = 8] = \"INVALID_CONSTANT\";\n ERROR[ERROR[\"INVALID_VERSION\"] = 9] = \"INVALID_VERSION\";\n ERROR[ERROR[\"INVALID_HEADER_TOKEN\"] = 10] = \"INVALID_HEADER_TOKEN\";\n ERROR[ERROR[\"INVALID_CONTENT_LENGTH\"] = 11] = \"INVALID_CONTENT_LENGTH\";\n ERROR[ERROR[\"INVALID_CHUNK_SIZE\"] = 12] = \"INVALID_CHUNK_SIZE\";\n ERROR[ERROR[\"INVALID_STATUS\"] = 13] = \"INVALID_STATUS\";\n ERROR[ERROR[\"INVALID_EOF_STATE\"] = 14] = \"INVALID_EOF_STATE\";\n ERROR[ERROR[\"INVALID_TRANSFER_ENCODING\"] = 15] = \"INVALID_TRANSFER_ENCODING\";\n ERROR[ERROR[\"CB_MESSAGE_BEGIN\"] = 16] = \"CB_MESSAGE_BEGIN\";\n ERROR[ERROR[\"CB_HEADERS_COMPLETE\"] = 17] = \"CB_HEADERS_COMPLETE\";\n ERROR[ERROR[\"CB_MESSAGE_COMPLETE\"] = 18] = \"CB_MESSAGE_COMPLETE\";\n ERROR[ERROR[\"CB_CHUNK_HEADER\"] = 19] = \"CB_CHUNK_HEADER\";\n ERROR[ERROR[\"CB_CHUNK_COMPLETE\"] = 20] = \"CB_CHUNK_COMPLETE\";\n ERROR[ERROR[\"PAUSED\"] = 21] = \"PAUSED\";\n ERROR[ERROR[\"PAUSED_UPGRADE\"] = 22] = \"PAUSED_UPGRADE\";\n ERROR[ERROR[\"PAUSED_H2_UPGRADE\"] = 23] = \"PAUSED_H2_UPGRADE\";\n ERROR[ERROR[\"USER\"] = 24] = \"USER\";\n})(ERROR = exports.ERROR || (exports.ERROR = {}));\nvar TYPE;\n(function (TYPE) {\n TYPE[TYPE[\"BOTH\"] = 0] = \"BOTH\";\n TYPE[TYPE[\"REQUEST\"] = 1] = \"REQUEST\";\n TYPE[TYPE[\"RESPONSE\"] = 2] = \"RESPONSE\";\n})(TYPE = exports.TYPE || (exports.TYPE = {}));\nvar FLAGS;\n(function (FLAGS) {\n FLAGS[FLAGS[\"CONNECTION_KEEP_ALIVE\"] = 1] = \"CONNECTION_KEEP_ALIVE\";\n FLAGS[FLAGS[\"CONNECTION_CLOSE\"] = 2] = \"CONNECTION_CLOSE\";\n FLAGS[FLAGS[\"CONNECTION_UPGRADE\"] = 4] = \"CONNECTION_UPGRADE\";\n FLAGS[FLAGS[\"CHUNKED\"] = 8] = \"CHUNKED\";\n FLAGS[FLAGS[\"UPGRADE\"] = 16] = \"UPGRADE\";\n FLAGS[FLAGS[\"CONTENT_LENGTH\"] = 32] = \"CONTENT_LENGTH\";\n FLAGS[FLAGS[\"SKIPBODY\"] = 64] = \"SKIPBODY\";\n FLAGS[FLAGS[\"TRAILING\"] = 128] = \"TRAILING\";\n // 1 << 8 is unused\n FLAGS[FLAGS[\"TRANSFER_ENCODING\"] = 512] = \"TRANSFER_ENCODING\";\n})(FLAGS = exports.FLAGS || (exports.FLAGS = {}));\nvar LENIENT_FLAGS;\n(function (LENIENT_FLAGS) {\n LENIENT_FLAGS[LENIENT_FLAGS[\"HEADERS\"] = 1] = \"HEADERS\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"CHUNKED_LENGTH\"] = 2] = \"CHUNKED_LENGTH\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"KEEP_ALIVE\"] = 4] = \"KEEP_ALIVE\";\n})(LENIENT_FLAGS = exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {}));\nvar METHODS;\n(function (METHODS) {\n METHODS[METHODS[\"DELETE\"] = 0] = \"DELETE\";\n METHODS[METHODS[\"GET\"] = 1] = \"GET\";\n METHODS[METHODS[\"HEAD\"] = 2] = \"HEAD\";\n METHODS[METHODS[\"POST\"] = 3] = \"POST\";\n METHODS[METHODS[\"PUT\"] = 4] = \"PUT\";\n /* pathological */\n METHODS[METHODS[\"CONNECT\"] = 5] = \"CONNECT\";\n METHODS[METHODS[\"OPTIONS\"] = 6] = \"OPTIONS\";\n METHODS[METHODS[\"TRACE\"] = 7] = \"TRACE\";\n /* WebDAV */\n METHODS[METHODS[\"COPY\"] = 8] = \"COPY\";\n METHODS[METHODS[\"LOCK\"] = 9] = \"LOCK\";\n METHODS[METHODS[\"MKCOL\"] = 10] = \"MKCOL\";\n METHODS[METHODS[\"MOVE\"] = 11] = \"MOVE\";\n METHODS[METHODS[\"PROPFIND\"] = 12] = \"PROPFIND\";\n METHODS[METHODS[\"PROPPATCH\"] = 13] = \"PROPPATCH\";\n METHODS[METHODS[\"SEARCH\"] = 14] = \"SEARCH\";\n METHODS[METHODS[\"UNLOCK\"] = 15] = \"UNLOCK\";\n METHODS[METHODS[\"BIND\"] = 16] = \"BIND\";\n METHODS[METHODS[\"REBIND\"] = 17] = \"REBIND\";\n METHODS[METHODS[\"UNBIND\"] = 18] = \"UNBIND\";\n METHODS[METHODS[\"ACL\"] = 19] = \"ACL\";\n /* subversion */\n METHODS[METHODS[\"REPORT\"] = 20] = \"REPORT\";\n METHODS[METHODS[\"MKACTIVITY\"] = 21] = \"MKACTIVITY\";\n METHODS[METHODS[\"CHECKOUT\"] = 22] = \"CHECKOUT\";\n METHODS[METHODS[\"MERGE\"] = 23] = \"MERGE\";\n /* upnp */\n METHODS[METHODS[\"M-SEARCH\"] = 24] = \"M-SEARCH\";\n METHODS[METHODS[\"NOTIFY\"] = 25] = \"NOTIFY\";\n METHODS[METHODS[\"SUBSCRIBE\"] = 26] = \"SUBSCRIBE\";\n METHODS[METHODS[\"UNSUBSCRIBE\"] = 27] = \"UNSUBSCRIBE\";\n /* RFC-5789 */\n METHODS[METHODS[\"PATCH\"] = 28] = \"PATCH\";\n METHODS[METHODS[\"PURGE\"] = 29] = \"PURGE\";\n /* CalDAV */\n METHODS[METHODS[\"MKCALENDAR\"] = 30] = \"MKCALENDAR\";\n /* RFC-2068, section 19.6.1.2 */\n METHODS[METHODS[\"LINK\"] = 31] = \"LINK\";\n METHODS[METHODS[\"UNLINK\"] = 32] = \"UNLINK\";\n /* icecast */\n METHODS[METHODS[\"SOURCE\"] = 33] = \"SOURCE\";\n /* RFC-7540, section 11.6 */\n METHODS[METHODS[\"PRI\"] = 34] = \"PRI\";\n /* RFC-2326 RTSP */\n METHODS[METHODS[\"DESCRIBE\"] = 35] = \"DESCRIBE\";\n METHODS[METHODS[\"ANNOUNCE\"] = 36] = \"ANNOUNCE\";\n METHODS[METHODS[\"SETUP\"] = 37] = \"SETUP\";\n METHODS[METHODS[\"PLAY\"] = 38] = \"PLAY\";\n METHODS[METHODS[\"PAUSE\"] = 39] = \"PAUSE\";\n METHODS[METHODS[\"TEARDOWN\"] = 40] = \"TEARDOWN\";\n METHODS[METHODS[\"GET_PARAMETER\"] = 41] = \"GET_PARAMETER\";\n METHODS[METHODS[\"SET_PARAMETER\"] = 42] = \"SET_PARAMETER\";\n METHODS[METHODS[\"REDIRECT\"] = 43] = \"REDIRECT\";\n METHODS[METHODS[\"RECORD\"] = 44] = \"RECORD\";\n /* RAOP */\n METHODS[METHODS[\"FLUSH\"] = 45] = \"FLUSH\";\n})(METHODS = exports.METHODS || (exports.METHODS = {}));\nexports.METHODS_HTTP = [\n METHODS.DELETE,\n METHODS.GET,\n METHODS.HEAD,\n METHODS.POST,\n METHODS.PUT,\n METHODS.CONNECT,\n METHODS.OPTIONS,\n METHODS.TRACE,\n METHODS.COPY,\n METHODS.LOCK,\n METHODS.MKCOL,\n METHODS.MOVE,\n METHODS.PROPFIND,\n METHODS.PROPPATCH,\n METHODS.SEARCH,\n METHODS.UNLOCK,\n METHODS.BIND,\n METHODS.REBIND,\n METHODS.UNBIND,\n METHODS.ACL,\n METHODS.REPORT,\n METHODS.MKACTIVITY,\n METHODS.CHECKOUT,\n METHODS.MERGE,\n METHODS['M-SEARCH'],\n METHODS.NOTIFY,\n METHODS.SUBSCRIBE,\n METHODS.UNSUBSCRIBE,\n METHODS.PATCH,\n METHODS.PURGE,\n METHODS.MKCALENDAR,\n METHODS.LINK,\n METHODS.UNLINK,\n METHODS.PRI,\n // TODO(indutny): should we allow it with HTTP?\n METHODS.SOURCE,\n];\nexports.METHODS_ICE = [\n METHODS.SOURCE,\n];\nexports.METHODS_RTSP = [\n METHODS.OPTIONS,\n METHODS.DESCRIBE,\n METHODS.ANNOUNCE,\n METHODS.SETUP,\n METHODS.PLAY,\n METHODS.PAUSE,\n METHODS.TEARDOWN,\n METHODS.GET_PARAMETER,\n METHODS.SET_PARAMETER,\n METHODS.REDIRECT,\n METHODS.RECORD,\n METHODS.FLUSH,\n // For AirPlay\n METHODS.GET,\n METHODS.POST,\n];\nexports.METHOD_MAP = utils_1.enumToMap(METHODS);\nexports.H_METHOD_MAP = {};\nObject.keys(exports.METHOD_MAP).forEach((key) => {\n if (/^H/.test(key)) {\n exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key];\n }\n});\nvar FINISH;\n(function (FINISH) {\n FINISH[FINISH[\"SAFE\"] = 0] = \"SAFE\";\n FINISH[FINISH[\"SAFE_WITH_CB\"] = 1] = \"SAFE_WITH_CB\";\n FINISH[FINISH[\"UNSAFE\"] = 2] = \"UNSAFE\";\n})(FINISH = exports.FINISH || (exports.FINISH = {}));\nexports.ALPHA = [];\nfor (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) {\n // Upper case\n exports.ALPHA.push(String.fromCharCode(i));\n // Lower case\n exports.ALPHA.push(String.fromCharCode(i + 0x20));\n}\nexports.NUM_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n};\nexports.HEX_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n A: 0XA, B: 0XB, C: 0XC, D: 0XD, E: 0XE, F: 0XF,\n a: 0xa, b: 0xb, c: 0xc, d: 0xd, e: 0xe, f: 0xf,\n};\nexports.NUM = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n];\nexports.ALPHANUM = exports.ALPHA.concat(exports.NUM);\nexports.MARK = ['-', '_', '.', '!', '~', '*', '\\'', '(', ')'];\nexports.USERINFO_CHARS = exports.ALPHANUM\n .concat(exports.MARK)\n .concat(['%', ';', ':', '&', '=', '+', '$', ',']);\n// TODO(indutny): use RFC\nexports.STRICT_URL_CHAR = [\n '!', '\"', '$', '%', '&', '\\'',\n '(', ')', '*', '+', ',', '-', '.', '/',\n ':', ';', '<', '=', '>',\n '@', '[', '\\\\', ']', '^', '_',\n '`',\n '{', '|', '}', '~',\n].concat(exports.ALPHANUM);\nexports.URL_CHAR = exports.STRICT_URL_CHAR\n .concat(['\\t', '\\f']);\n// All characters with 0x80 bit set to 1\nfor (let i = 0x80; i <= 0xff; i++) {\n exports.URL_CHAR.push(i);\n}\nexports.HEX = exports.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']);\n/* Tokens as defined by rfc 2616. Also lowercases them.\n * token = 1*\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n */\nexports.STRICT_TOKEN = [\n '!', '#', '$', '%', '&', '\\'',\n '*', '+', '-', '.',\n '^', '_', '`',\n '|', '~',\n].concat(exports.ALPHANUM);\nexports.TOKEN = exports.STRICT_TOKEN.concat([' ']);\n/*\n * Verify that a char is a valid visible (printable) US-ASCII\n * character or %x80-FF\n */\nexports.HEADER_CHARS = ['\\t'];\nfor (let i = 32; i <= 255; i++) {\n if (i !== 127) {\n exports.HEADER_CHARS.push(i);\n }\n}\n// ',' = \\x44\nexports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44);\nexports.MAJOR = exports.NUM_MAP;\nexports.MINOR = exports.MAJOR;\nvar HEADER_STATE;\n(function (HEADER_STATE) {\n HEADER_STATE[HEADER_STATE[\"GENERAL\"] = 0] = \"GENERAL\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION\"] = 1] = \"CONNECTION\";\n HEADER_STATE[HEADER_STATE[\"CONTENT_LENGTH\"] = 2] = \"CONTENT_LENGTH\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING\"] = 3] = \"TRANSFER_ENCODING\";\n HEADER_STATE[HEADER_STATE[\"UPGRADE\"] = 4] = \"UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_KEEP_ALIVE\"] = 5] = \"CONNECTION_KEEP_ALIVE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_CLOSE\"] = 6] = \"CONNECTION_CLOSE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_UPGRADE\"] = 7] = \"CONNECTION_UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING_CHUNKED\"] = 8] = \"TRANSFER_ENCODING_CHUNKED\";\n})(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {}));\nexports.SPECIAL_HEADERS = {\n 'connection': HEADER_STATE.CONNECTION,\n 'content-length': HEADER_STATE.CONTENT_LENGTH,\n 'proxy-connection': HEADER_STATE.CONNECTION,\n 'transfer-encoding': HEADER_STATE.TRANSFER_ENCODING,\n 'upgrade': HEADER_STATE.UPGRADE,\n};\n//# sourceMappingURL=constants.js.map", "'use strict'\n\nconst { Buffer } = require('node:buffer')\n\nmodule.exports = Buffer.from('AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh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JBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZ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ACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUI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EEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEg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QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==', 'base64')\n", "'use strict'\n\nconst corsSafeListedMethods = /** @type {const} */ (['GET', 'HEAD', 'POST'])\nconst corsSafeListedMethodsSet = new Set(corsSafeListedMethods)\n\nconst nullBodyStatus = /** @type {const} */ ([101, 204, 205, 304])\n\nconst redirectStatus = /** @type {const} */ ([301, 302, 303, 307, 308])\nconst redirectStatusSet = new Set(redirectStatus)\n\n/**\n * @see https://fetch.spec.whatwg.org/#block-bad-port\n */\nconst badPorts = /** @type {const} */ ([\n '1', '7', '9', '11', '13', '15', '17', '19', '20', '21', '22', '23', '25', '37', '42', '43', '53', '69', '77', '79',\n '87', '95', '101', '102', '103', '104', '109', '110', '111', '113', '115', '117', '119', '123', '135', '137',\n '139', '143', '161', '179', '389', '427', '465', '512', '513', '514', '515', '526', '530', '531', '532',\n '540', '548', '554', '556', '563', '587', '601', '636', '989', '990', '993', '995', '1719', '1720', '1723',\n '2049', '3659', '4045', '4190', '5060', '5061', '6000', '6566', '6665', '6666', '6667', '6668', '6669', '6679',\n '6697', '10080'\n])\nconst badPortsSet = new Set(badPorts)\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#referrer-policies\n */\nconst referrerPolicy = /** @type {const} */ ([\n '',\n 'no-referrer',\n 'no-referrer-when-downgrade',\n 'same-origin',\n 'origin',\n 'strict-origin',\n 'origin-when-cross-origin',\n 'strict-origin-when-cross-origin',\n 'unsafe-url'\n])\nconst referrerPolicySet = new Set(referrerPolicy)\n\nconst requestRedirect = /** @type {const} */ (['follow', 'manual', 'error'])\n\nconst safeMethods = /** @type {const} */ (['GET', 'HEAD', 'OPTIONS', 'TRACE'])\nconst safeMethodsSet = new Set(safeMethods)\n\nconst requestMode = /** @type {const} */ (['navigate', 'same-origin', 'no-cors', 'cors'])\n\nconst requestCredentials = /** @type {const} */ (['omit', 'same-origin', 'include'])\n\nconst requestCache = /** @type {const} */ ([\n 'default',\n 'no-store',\n 'reload',\n 'no-cache',\n 'force-cache',\n 'only-if-cached'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#request-body-header-name\n */\nconst requestBodyHeader = /** @type {const} */ ([\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n // See https://github.com/nodejs/undici/issues/2021\n // 'Content-Length' is a forbidden header name, which is typically\n // removed in the Headers implementation. However, undici doesn't\n // filter out headers, so we add it here.\n 'content-length'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#enumdef-requestduplex\n */\nconst requestDuplex = /** @type {const} */ ([\n 'half'\n])\n\n/**\n * @see http://fetch.spec.whatwg.org/#forbidden-method\n */\nconst forbiddenMethods = /** @type {const} */ (['CONNECT', 'TRACE', 'TRACK'])\nconst forbiddenMethodsSet = new Set(forbiddenMethods)\n\nconst subresource = /** @type {const} */ ([\n 'audio',\n 'audioworklet',\n 'font',\n 'image',\n 'manifest',\n 'paintworklet',\n 'script',\n 'style',\n 'track',\n 'video',\n 'xslt',\n ''\n])\nconst subresourceSet = new Set(subresource)\n\nmodule.exports = {\n subresource,\n forbiddenMethods,\n requestBodyHeader,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n redirectStatus,\n corsSafeListedMethods,\n nullBodyStatus,\n safeMethods,\n badPorts,\n requestDuplex,\n subresourceSet,\n badPortsSet,\n redirectStatusSet,\n corsSafeListedMethodsSet,\n safeMethodsSet,\n forbiddenMethodsSet,\n referrerPolicySet\n}\n", "'use strict'\n\n// In case of breaking changes, increase the version\n// number to avoid conflicts.\nconst globalOrigin = Symbol.for('undici.globalOrigin.1')\n\nfunction getGlobalOrigin () {\n return globalThis[globalOrigin]\n}\n\nfunction setGlobalOrigin (newOrigin) {\n if (newOrigin === undefined) {\n Object.defineProperty(globalThis, globalOrigin, {\n value: undefined,\n writable: true,\n enumerable: false,\n configurable: false\n })\n\n return\n }\n\n const parsedURL = new URL(newOrigin)\n\n if (parsedURL.protocol !== 'http:' && parsedURL.protocol !== 'https:') {\n throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`)\n }\n\n Object.defineProperty(globalThis, globalOrigin, {\n value: parsedURL,\n writable: true,\n enumerable: false,\n configurable: false\n })\n}\n\nmodule.exports = {\n getGlobalOrigin,\n setGlobalOrigin\n}\n", "'use strict'\n\nconst assert = require('node:assert')\n\nconst encoder = new TextEncoder()\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-token-code-point\n */\nconst HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+\\-.^_|~A-Za-z0-9]+$/\nconst HTTP_WHITESPACE_REGEX = /[\\u000A\\u000D\\u0009\\u0020]/ // eslint-disable-line\nconst ASCII_WHITESPACE_REPLACE_REGEX = /[\\u0009\\u000A\\u000C\\u000D\\u0020]/g // eslint-disable-line\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-quoted-string-token-code-point\n */\nconst HTTP_QUOTED_STRING_TOKENS = /^[\\u0009\\u0020-\\u007E\\u0080-\\u00FF]+$/ // eslint-disable-line\n\n// https://fetch.spec.whatwg.org/#data-url-processor\n/** @param {URL} dataURL */\nfunction dataURLProcessor (dataURL) {\n // 1. Assert: dataURL\u2019s scheme is \"data\".\n assert(dataURL.protocol === 'data:')\n\n // 2. Let input be the result of running the URL\n // serializer on dataURL with exclude fragment\n // set to true.\n let input = URLSerializer(dataURL, true)\n\n // 3. Remove the leading \"data:\" string from input.\n input = input.slice(5)\n\n // 4. Let position point at the start of input.\n const position = { position: 0 }\n\n // 5. Let mimeType be the result of collecting a\n // sequence of code points that are not equal\n // to U+002C (,), given position.\n let mimeType = collectASequenceOfCodePointsFast(\n ',',\n input,\n position\n )\n\n // 6. Strip leading and trailing ASCII whitespace\n // from mimeType.\n // Undici implementation note: we need to store the\n // length because if the mimetype has spaces removed,\n // the wrong amount will be sliced from the input in\n // step #9\n const mimeTypeLength = mimeType.length\n mimeType = removeASCIIWhitespace(mimeType, true, true)\n\n // 7. If position is past the end of input, then\n // return failure\n if (position.position >= input.length) {\n return 'failure'\n }\n\n // 8. Advance position by 1.\n position.position++\n\n // 9. Let encodedBody be the remainder of input.\n const encodedBody = input.slice(mimeTypeLength + 1)\n\n // 10. Let body be the percent-decoding of encodedBody.\n let body = stringPercentDecode(encodedBody)\n\n // 11. If mimeType ends with U+003B (;), followed by\n // zero or more U+0020 SPACE, followed by an ASCII\n // case-insensitive match for \"base64\", then:\n if (/;(\\u0020){0,}base64$/i.test(mimeType)) {\n // 1. Let stringBody be the isomorphic decode of body.\n const stringBody = isomorphicDecode(body)\n\n // 2. Set body to the forgiving-base64 decode of\n // stringBody.\n body = forgivingBase64(stringBody)\n\n // 3. If body is failure, then return failure.\n if (body === 'failure') {\n return 'failure'\n }\n\n // 4. Remove the last 6 code points from mimeType.\n mimeType = mimeType.slice(0, -6)\n\n // 5. Remove trailing U+0020 SPACE code points from mimeType,\n // if any.\n mimeType = mimeType.replace(/(\\u0020)+$/, '')\n\n // 6. Remove the last U+003B (;) code point from mimeType.\n mimeType = mimeType.slice(0, -1)\n }\n\n // 12. If mimeType starts with U+003B (;), then prepend\n // \"text/plain\" to mimeType.\n if (mimeType.startsWith(';')) {\n mimeType = 'text/plain' + mimeType\n }\n\n // 13. Let mimeTypeRecord be the result of parsing\n // mimeType.\n let mimeTypeRecord = parseMIMEType(mimeType)\n\n // 14. If mimeTypeRecord is failure, then set\n // mimeTypeRecord to text/plain;charset=US-ASCII.\n if (mimeTypeRecord === 'failure') {\n mimeTypeRecord = parseMIMEType('text/plain;charset=US-ASCII')\n }\n\n // 15. Return a new data: URL struct whose MIME\n // type is mimeTypeRecord and body is body.\n // https://fetch.spec.whatwg.org/#data-url-struct\n return { mimeType: mimeTypeRecord, body }\n}\n\n// https://url.spec.whatwg.org/#concept-url-serializer\n/**\n * @param {URL} url\n * @param {boolean} excludeFragment\n */\nfunction URLSerializer (url, excludeFragment = false) {\n if (!excludeFragment) {\n return url.href\n }\n\n const href = url.href\n const hashLength = url.hash.length\n\n const serialized = hashLength === 0 ? href : href.substring(0, href.length - hashLength)\n\n if (!hashLength && href.endsWith('#')) {\n return serialized.slice(0, -1)\n }\n\n return serialized\n}\n\n// https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points\n/**\n * @param {(char: string) => boolean} condition\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePoints (condition, input, position) {\n // 1. Let result be the empty string.\n let result = ''\n\n // 2. While position doesn\u2019t point past the end of input and the\n // code point at position within input meets the condition condition:\n while (position.position < input.length && condition(input[position.position])) {\n // 1. Append that code point to the end of result.\n result += input[position.position]\n\n // 2. Advance position by 1.\n position.position++\n }\n\n // 3. Return result.\n return result\n}\n\n/**\n * A faster collectASequenceOfCodePoints that only works when comparing a single character.\n * @param {string} char\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePointsFast (char, input, position) {\n const idx = input.indexOf(char, position.position)\n const start = position.position\n\n if (idx === -1) {\n position.position = input.length\n return input.slice(start)\n }\n\n position.position = idx\n return input.slice(start, position.position)\n}\n\n// https://url.spec.whatwg.org/#string-percent-decode\n/** @param {string} input */\nfunction stringPercentDecode (input) {\n // 1. Let bytes be the UTF-8 encoding of input.\n const bytes = encoder.encode(input)\n\n // 2. Return the percent-decoding of bytes.\n return percentDecode(bytes)\n}\n\n/**\n * @param {number} byte\n */\nfunction isHexCharByte (byte) {\n // 0-9 A-F a-f\n return (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x46) || (byte >= 0x61 && byte <= 0x66)\n}\n\n/**\n * @param {number} byte\n */\nfunction hexByteToNumber (byte) {\n return (\n // 0-9\n byte >= 0x30 && byte <= 0x39\n ? (byte - 48)\n // Convert to uppercase\n // ((byte & 0xDF) - 65) + 10\n : ((byte & 0xDF) - 55)\n )\n}\n\n// https://url.spec.whatwg.org/#percent-decode\n/** @param {Uint8Array} input */\nfunction percentDecode (input) {\n const length = input.length\n // 1. Let output be an empty byte sequence.\n /** @type {Uint8Array} */\n const output = new Uint8Array(length)\n let j = 0\n // 2. For each byte byte in input:\n for (let i = 0; i < length; ++i) {\n const byte = input[i]\n\n // 1. If byte is not 0x25 (%), then append byte to output.\n if (byte !== 0x25) {\n output[j++] = byte\n\n // 2. Otherwise, if byte is 0x25 (%) and the next two bytes\n // after byte in input are not in the ranges\n // 0x30 (0) to 0x39 (9), 0x41 (A) to 0x46 (F),\n // and 0x61 (a) to 0x66 (f), all inclusive, append byte\n // to output.\n } else if (\n byte === 0x25 &&\n !(isHexCharByte(input[i + 1]) && isHexCharByte(input[i + 2]))\n ) {\n output[j++] = 0x25\n\n // 3. Otherwise:\n } else {\n // 1. Let bytePoint be the two bytes after byte in input,\n // decoded, and then interpreted as hexadecimal number.\n // 2. Append a byte whose value is bytePoint to output.\n output[j++] = (hexByteToNumber(input[i + 1]) << 4) | hexByteToNumber(input[i + 2])\n\n // 3. Skip the next two bytes in input.\n i += 2\n }\n }\n\n // 3. Return output.\n return length === j ? output : output.subarray(0, j)\n}\n\n// https://mimesniff.spec.whatwg.org/#parse-a-mime-type\n/** @param {string} input */\nfunction parseMIMEType (input) {\n // 1. Remove any leading and trailing HTTP whitespace\n // from input.\n input = removeHTTPWhitespace(input, true, true)\n\n // 2. Let position be a position variable for input,\n // initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let type be the result of collecting a sequence\n // of code points that are not U+002F (/) from\n // input, given position.\n const type = collectASequenceOfCodePointsFast(\n '/',\n input,\n position\n )\n\n // 4. If type is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n // https://mimesniff.spec.whatwg.org/#http-token-code-point\n if (type.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(type)) {\n return 'failure'\n }\n\n // 5. If position is past the end of input, then return\n // failure\n if (position.position > input.length) {\n return 'failure'\n }\n\n // 6. Advance position by 1. (This skips past U+002F (/).)\n position.position++\n\n // 7. Let subtype be the result of collecting a sequence of\n // code points that are not U+003B (;) from input, given\n // position.\n let subtype = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 8. Remove any trailing HTTP whitespace from subtype.\n subtype = removeHTTPWhitespace(subtype, false, true)\n\n // 9. If subtype is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n if (subtype.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(subtype)) {\n return 'failure'\n }\n\n const typeLowercase = type.toLowerCase()\n const subtypeLowercase = subtype.toLowerCase()\n\n // 10. Let mimeType be a new MIME type record whose type\n // is type, in ASCII lowercase, and subtype is subtype,\n // in ASCII lowercase.\n // https://mimesniff.spec.whatwg.org/#mime-type\n const mimeType = {\n type: typeLowercase,\n subtype: subtypeLowercase,\n /** @type {Map} */\n parameters: new Map(),\n // https://mimesniff.spec.whatwg.org/#mime-type-essence\n essence: `${typeLowercase}/${subtypeLowercase}`\n }\n\n // 11. While position is not past the end of input:\n while (position.position < input.length) {\n // 1. Advance position by 1. (This skips past U+003B (;).)\n position.position++\n\n // 2. Collect a sequence of code points that are HTTP\n // whitespace from input given position.\n collectASequenceOfCodePoints(\n // https://fetch.spec.whatwg.org/#http-whitespace\n char => HTTP_WHITESPACE_REGEX.test(char),\n input,\n position\n )\n\n // 3. Let parameterName be the result of collecting a\n // sequence of code points that are not U+003B (;)\n // or U+003D (=) from input, given position.\n let parameterName = collectASequenceOfCodePoints(\n (char) => char !== ';' && char !== '=',\n input,\n position\n )\n\n // 4. Set parameterName to parameterName, in ASCII\n // lowercase.\n parameterName = parameterName.toLowerCase()\n\n // 5. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 1. If the code point at position within input is\n // U+003B (;), then continue.\n if (input[position.position] === ';') {\n continue\n }\n\n // 2. Advance position by 1. (This skips past U+003D (=).)\n position.position++\n }\n\n // 6. If position is past the end of input, then break.\n if (position.position > input.length) {\n break\n }\n\n // 7. Let parameterValue be null.\n let parameterValue = null\n\n // 8. If the code point at position within input is\n // U+0022 (\"), then:\n if (input[position.position] === '\"') {\n // 1. Set parameterValue to the result of collecting\n // an HTTP quoted string from input, given position\n // and the extract-value flag.\n parameterValue = collectAnHTTPQuotedString(input, position, true)\n\n // 2. Collect a sequence of code points that are not\n // U+003B (;) from input, given position.\n collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 9. Otherwise:\n } else {\n // 1. Set parameterValue to the result of collecting\n // a sequence of code points that are not U+003B (;)\n // from input, given position.\n parameterValue = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 2. Remove any trailing HTTP whitespace from parameterValue.\n parameterValue = removeHTTPWhitespace(parameterValue, false, true)\n\n // 3. If parameterValue is the empty string, then continue.\n if (parameterValue.length === 0) {\n continue\n }\n }\n\n // 10. If all of the following are true\n // - parameterName is not the empty string\n // - parameterName solely contains HTTP token code points\n // - parameterValue solely contains HTTP quoted-string token code points\n // - mimeType\u2019s parameters[parameterName] does not exist\n // then set mimeType\u2019s parameters[parameterName] to parameterValue.\n if (\n parameterName.length !== 0 &&\n HTTP_TOKEN_CODEPOINTS.test(parameterName) &&\n (parameterValue.length === 0 || HTTP_QUOTED_STRING_TOKENS.test(parameterValue)) &&\n !mimeType.parameters.has(parameterName)\n ) {\n mimeType.parameters.set(parameterName, parameterValue)\n }\n }\n\n // 12. Return mimeType.\n return mimeType\n}\n\n// https://infra.spec.whatwg.org/#forgiving-base64-decode\n/** @param {string} data */\nfunction forgivingBase64 (data) {\n // 1. Remove all ASCII whitespace from data.\n data = data.replace(ASCII_WHITESPACE_REPLACE_REGEX, '') // eslint-disable-line\n\n let dataLength = data.length\n // 2. If data\u2019s code point length divides by 4 leaving\n // no remainder, then:\n if (dataLength % 4 === 0) {\n // 1. If data ends with one or two U+003D (=) code points,\n // then remove them from data.\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n }\n }\n }\n\n // 3. If data\u2019s code point length divides by 4 leaving\n // a remainder of 1, then return failure.\n if (dataLength % 4 === 1) {\n return 'failure'\n }\n\n // 4. If data contains a code point that is not one of\n // U+002B (+)\n // U+002F (/)\n // ASCII alphanumeric\n // then return failure.\n if (/[^+/0-9A-Za-z]/.test(data.length === dataLength ? data : data.substring(0, dataLength))) {\n return 'failure'\n }\n\n const buffer = Buffer.from(data, 'base64')\n return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength)\n}\n\n// https://fetch.spec.whatwg.org/#collect-an-http-quoted-string\n// tests: https://fetch.spec.whatwg.org/#example-http-quoted-string\n/**\n * @param {string} input\n * @param {{ position: number }} position\n * @param {boolean?} extractValue\n */\nfunction collectAnHTTPQuotedString (input, position, extractValue) {\n // 1. Let positionStart be position.\n const positionStart = position.position\n\n // 2. Let value be the empty string.\n let value = ''\n\n // 3. Assert: the code point at position within input\n // is U+0022 (\").\n assert(input[position.position] === '\"')\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. While true:\n while (true) {\n // 1. Append the result of collecting a sequence of code points\n // that are not U+0022 (\") or U+005C (\\) from input, given\n // position, to value.\n value += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== '\\\\',\n input,\n position\n )\n\n // 2. If position is past the end of input, then break.\n if (position.position >= input.length) {\n break\n }\n\n // 3. Let quoteOrBackslash be the code point at position within\n // input.\n const quoteOrBackslash = input[position.position]\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. If quoteOrBackslash is U+005C (\\), then:\n if (quoteOrBackslash === '\\\\') {\n // 1. If position is past the end of input, then append\n // U+005C (\\) to value and break.\n if (position.position >= input.length) {\n value += '\\\\'\n break\n }\n\n // 2. Append the code point at position within input to value.\n value += input[position.position]\n\n // 3. Advance position by 1.\n position.position++\n\n // 6. Otherwise:\n } else {\n // 1. Assert: quoteOrBackslash is U+0022 (\").\n assert(quoteOrBackslash === '\"')\n\n // 2. Break.\n break\n }\n }\n\n // 6. If the extract-value flag is set, then return value.\n if (extractValue) {\n return value\n }\n\n // 7. Return the code points from positionStart to position,\n // inclusive, within input.\n return input.slice(positionStart, position.position)\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type\n */\nfunction serializeAMimeType (mimeType) {\n assert(mimeType !== 'failure')\n const { parameters, essence } = mimeType\n\n // 1. Let serialization be the concatenation of mimeType\u2019s\n // type, U+002F (/), and mimeType\u2019s subtype.\n let serialization = essence\n\n // 2. For each name \u2192 value of mimeType\u2019s parameters:\n for (let [name, value] of parameters.entries()) {\n // 1. Append U+003B (;) to serialization.\n serialization += ';'\n\n // 2. Append name to serialization.\n serialization += name\n\n // 3. Append U+003D (=) to serialization.\n serialization += '='\n\n // 4. If value does not solely contain HTTP token code\n // points or value is the empty string, then:\n if (!HTTP_TOKEN_CODEPOINTS.test(value)) {\n // 1. Precede each occurrence of U+0022 (\") or\n // U+005C (\\) in value with U+005C (\\).\n value = value.replace(/(\\\\|\")/g, '\\\\$1')\n\n // 2. Prepend U+0022 (\") to value.\n value = '\"' + value\n\n // 3. Append U+0022 (\") to value.\n value += '\"'\n }\n\n // 5. Append value to serialization.\n serialization += value\n }\n\n // 3. Return serialization.\n return serialization\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {number} char\n */\nfunction isHTTPWhiteSpace (char) {\n // \"\\r\\n\\t \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x020\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeHTTPWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isHTTPWhiteSpace)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n * @param {number} char\n */\nfunction isASCIIWhitespace (char) {\n // \"\\r\\n\\t\\f \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x00c || char === 0x020\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeASCIIWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isASCIIWhitespace)\n}\n\n/**\n * @param {string} str\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns\n */\nfunction removeChars (str, leading, trailing, predicate) {\n let lead = 0\n let trail = str.length - 1\n\n if (leading) {\n while (lead < str.length && predicate(str.charCodeAt(lead))) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(str.charCodeAt(trail))) trail--\n }\n\n return lead === 0 && trail === str.length - 1 ? str : str.slice(lead, trail + 1)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-decode\n * @param {Uint8Array} input\n * @returns {string}\n */\nfunction isomorphicDecode (input) {\n // 1. To isomorphic decode a byte sequence input, return a string whose code point\n // length is equal to input\u2019s length and whose code points have the same values\n // as the values of input\u2019s bytes, in the same order.\n const length = input.length\n if ((2 << 15) - 1 > length) {\n return String.fromCharCode.apply(null, input)\n }\n let result = ''; let i = 0\n let addition = (2 << 15) - 1\n while (i < length) {\n if (i + addition > length) {\n addition = length - i\n }\n result += String.fromCharCode.apply(null, input.subarray(i, i += addition))\n }\n return result\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#minimize-a-supported-mime-type\n * @param {Exclude, 'failure'>} mimeType\n */\nfunction minimizeSupportedMimeType (mimeType) {\n switch (mimeType.essence) {\n case 'application/ecmascript':\n case 'application/javascript':\n case 'application/x-ecmascript':\n case 'application/x-javascript':\n case 'text/ecmascript':\n case 'text/javascript':\n case 'text/javascript1.0':\n case 'text/javascript1.1':\n case 'text/javascript1.2':\n case 'text/javascript1.3':\n case 'text/javascript1.4':\n case 'text/javascript1.5':\n case 'text/jscript':\n case 'text/livescript':\n case 'text/x-ecmascript':\n case 'text/x-javascript':\n // 1. If mimeType is a JavaScript MIME type, then return \"text/javascript\".\n return 'text/javascript'\n case 'application/json':\n case 'text/json':\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n return 'application/json'\n case 'image/svg+xml':\n // 3. If mimeType\u2019s essence is \"image/svg+xml\", then return \"image/svg+xml\".\n return 'image/svg+xml'\n case 'text/xml':\n case 'application/xml':\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n return 'application/xml'\n }\n\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n if (mimeType.subtype.endsWith('+json')) {\n return 'application/json'\n }\n\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n if (mimeType.subtype.endsWith('+xml')) {\n return 'application/xml'\n }\n\n // 5. If mimeType is supported by the user agent, then return mimeType\u2019s essence.\n // Technically, node doesn't support any mimetypes.\n\n // 6. Return the empty string.\n return ''\n}\n\nmodule.exports = {\n dataURLProcessor,\n URLSerializer,\n collectASequenceOfCodePoints,\n collectASequenceOfCodePointsFast,\n stringPercentDecode,\n parseMIMEType,\n collectAnHTTPQuotedString,\n serializeAMimeType,\n removeChars,\n removeHTTPWhitespace,\n minimizeSupportedMimeType,\n HTTP_TOKEN_CODEPOINTS,\n isomorphicDecode\n}\n", "'use strict'\n\nconst { types, inspect } = require('node:util')\nconst { markAsUncloneable } = require('node:worker_threads')\nconst { toUSVString } = require('../../core/util')\n\n/** @type {import('../../../types/webidl').Webidl} */\nconst webidl = {}\nwebidl.converters = {}\nwebidl.util = {}\nwebidl.errors = {}\n\nwebidl.errors.exception = function (message) {\n return new TypeError(`${message.header}: ${message.message}`)\n}\n\nwebidl.errors.conversionFailed = function (context) {\n const plural = context.types.length === 1 ? '' : ' one of'\n const message =\n `${context.argument} could not be converted to` +\n `${plural}: ${context.types.join(', ')}.`\n\n return webidl.errors.exception({\n header: context.prefix,\n message\n })\n}\n\nwebidl.errors.invalidArgument = function (context) {\n return webidl.errors.exception({\n header: context.prefix,\n message: `\"${context.value}\" is an invalid ${context.type}.`\n })\n}\n\n// https://webidl.spec.whatwg.org/#implements\nwebidl.brandCheck = function (V, I, opts) {\n if (opts?.strict !== false) {\n if (!(V instanceof I)) {\n const err = new TypeError('Illegal invocation')\n err.code = 'ERR_INVALID_THIS' // node compat.\n throw err\n }\n } else {\n if (V?.[Symbol.toStringTag] !== I.prototype[Symbol.toStringTag]) {\n const err = new TypeError('Illegal invocation')\n err.code = 'ERR_INVALID_THIS' // node compat.\n throw err\n }\n }\n}\n\nwebidl.argumentLengthCheck = function ({ length }, min, ctx) {\n if (length < min) {\n throw webidl.errors.exception({\n message: `${min} argument${min !== 1 ? 's' : ''} required, ` +\n `but${length ? ' only' : ''} ${length} found.`,\n header: ctx\n })\n }\n}\n\nwebidl.illegalConstructor = function () {\n throw webidl.errors.exception({\n header: 'TypeError',\n message: 'Illegal constructor'\n })\n}\n\n// https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values\nwebidl.util.Type = function (V) {\n switch (typeof V) {\n case 'undefined': return 'Undefined'\n case 'boolean': return 'Boolean'\n case 'string': return 'String'\n case 'symbol': return 'Symbol'\n case 'number': return 'Number'\n case 'bigint': return 'BigInt'\n case 'function':\n case 'object': {\n if (V === null) {\n return 'Null'\n }\n\n return 'Object'\n }\n }\n}\n\nwebidl.util.markAsUncloneable = markAsUncloneable || (() => {})\n// https://webidl.spec.whatwg.org/#abstract-opdef-converttoint\nwebidl.util.ConvertToInt = function (V, bitLength, signedness, opts) {\n let upperBound\n let lowerBound\n\n // 1. If bitLength is 64, then:\n if (bitLength === 64) {\n // 1. Let upperBound be 2^53 \u2212 1.\n upperBound = Math.pow(2, 53) - 1\n\n // 2. If signedness is \"unsigned\", then let lowerBound be 0.\n if (signedness === 'unsigned') {\n lowerBound = 0\n } else {\n // 3. Otherwise let lowerBound be \u22122^53 + 1.\n lowerBound = Math.pow(-2, 53) + 1\n }\n } else if (signedness === 'unsigned') {\n // 2. Otherwise, if signedness is \"unsigned\", then:\n\n // 1. Let lowerBound be 0.\n lowerBound = 0\n\n // 2. Let upperBound be 2^bitLength \u2212 1.\n upperBound = Math.pow(2, bitLength) - 1\n } else {\n // 3. Otherwise:\n\n // 1. Let lowerBound be -2^bitLength \u2212 1.\n lowerBound = Math.pow(-2, bitLength) - 1\n\n // 2. Let upperBound be 2^bitLength \u2212 1 \u2212 1.\n upperBound = Math.pow(2, bitLength - 1) - 1\n }\n\n // 4. Let x be ? ToNumber(V).\n let x = Number(V)\n\n // 5. If x is \u22120, then set x to +0.\n if (x === 0) {\n x = 0\n }\n\n // 6. If the conversion is to an IDL type associated\n // with the [EnforceRange] extended attribute, then:\n if (opts?.enforceRange === true) {\n // 1. If x is NaN, +\u221E, or \u2212\u221E, then throw a TypeError.\n if (\n Number.isNaN(x) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Could not convert ${webidl.util.Stringify(V)} to an integer.`\n })\n }\n\n // 2. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 3. If x < lowerBound or x > upperBound, then\n // throw a TypeError.\n if (x < lowerBound || x > upperBound) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Value must be between ${lowerBound}-${upperBound}, got ${x}.`\n })\n }\n\n // 4. Return x.\n return x\n }\n\n // 7. If x is not NaN and the conversion is to an IDL\n // type associated with the [Clamp] extended\n // attribute, then:\n if (!Number.isNaN(x) && opts?.clamp === true) {\n // 1. Set x to min(max(x, lowerBound), upperBound).\n x = Math.min(Math.max(x, lowerBound), upperBound)\n\n // 2. Round x to the nearest integer, choosing the\n // even integer if it lies halfway between two,\n // and choosing +0 rather than \u22120.\n if (Math.floor(x) % 2 === 0) {\n x = Math.floor(x)\n } else {\n x = Math.ceil(x)\n }\n\n // 3. Return x.\n return x\n }\n\n // 8. If x is NaN, +0, +\u221E, or \u2212\u221E, then return +0.\n if (\n Number.isNaN(x) ||\n (x === 0 && Object.is(0, x)) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n return 0\n }\n\n // 9. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 10. Set x to x modulo 2^bitLength.\n x = x % Math.pow(2, bitLength)\n\n // 11. If signedness is \"signed\" and x \u2265 2^bitLength \u2212 1,\n // then return x \u2212 2^bitLength.\n if (signedness === 'signed' && x >= Math.pow(2, bitLength) - 1) {\n return x - Math.pow(2, bitLength)\n }\n\n // 12. Otherwise, return x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#abstract-opdef-integerpart\nwebidl.util.IntegerPart = function (n) {\n // 1. Let r be floor(abs(n)).\n const r = Math.floor(Math.abs(n))\n\n // 2. If n < 0, then return -1 \u00D7 r.\n if (n < 0) {\n return -1 * r\n }\n\n // 3. Otherwise, return r.\n return r\n}\n\nwebidl.util.Stringify = function (V) {\n const type = webidl.util.Type(V)\n\n switch (type) {\n case 'Symbol':\n return `Symbol(${V.description})`\n case 'Object':\n return inspect(V)\n case 'String':\n return `\"${V}\"`\n default:\n return `${V}`\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-sequence\nwebidl.sequenceConverter = function (converter) {\n return (V, prefix, argument, Iterable) => {\n // 1. If Type(V) is not Object, throw a TypeError.\n if (webidl.util.Type(V) !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} (${webidl.util.Stringify(V)}) is not iterable.`\n })\n }\n\n // 2. Let method be ? GetMethod(V, @@iterator).\n /** @type {Generator} */\n const method = typeof Iterable === 'function' ? Iterable() : V?.[Symbol.iterator]?.()\n const seq = []\n let index = 0\n\n // 3. If method is undefined, throw a TypeError.\n if (\n method === undefined ||\n typeof method.next !== 'function'\n ) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} is not iterable.`\n })\n }\n\n // https://webidl.spec.whatwg.org/#create-sequence-from-iterable\n while (true) {\n const { done, value } = method.next()\n\n if (done) {\n break\n }\n\n seq.push(converter(value, prefix, `${argument}[${index++}]`))\n }\n\n return seq\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-to-record\nwebidl.recordConverter = function (keyConverter, valueConverter) {\n return (O, prefix, argument) => {\n // 1. If Type(O) is not Object, throw a TypeError.\n if (webidl.util.Type(O) !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} (\"${webidl.util.Type(O)}\") is not an Object.`\n })\n }\n\n // 2. Let result be a new empty instance of record.\n const result = {}\n\n if (!types.isProxy(O)) {\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const keys = [...Object.getOwnPropertyNames(O), ...Object.getOwnPropertySymbols(O)]\n\n for (const key of keys) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key, prefix, argument)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key], prefix, argument)\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n\n // 5. Return result.\n return result\n }\n\n // 3. Let keys be ? O.[[OwnPropertyKeys]]().\n const keys = Reflect.ownKeys(O)\n\n // 4. For each key of keys.\n for (const key of keys) {\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const desc = Reflect.getOwnPropertyDescriptor(O, key)\n\n // 2. If desc is not undefined and desc.[[Enumerable]] is true:\n if (desc?.enumerable) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key, prefix, argument)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key], prefix, argument)\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n }\n\n // 5. Return result.\n return result\n }\n}\n\nwebidl.interfaceConverter = function (i) {\n return (V, prefix, argument, opts) => {\n if (opts?.strict !== false && !(V instanceof i)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `Expected ${argument} (\"${webidl.util.Stringify(V)}\") to be an instance of ${i.name}.`\n })\n }\n\n return V\n }\n}\n\nwebidl.dictionaryConverter = function (converters) {\n return (dictionary, prefix, argument) => {\n const type = webidl.util.Type(dictionary)\n const dict = {}\n\n if (type === 'Null' || type === 'Undefined') {\n return dict\n } else if (type !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `Expected ${dictionary} to be one of: Null, Undefined, Object.`\n })\n }\n\n for (const options of converters) {\n const { key, defaultValue, required, converter } = options\n\n if (required === true) {\n if (!Object.hasOwn(dictionary, key)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `Missing required key \"${key}\".`\n })\n }\n }\n\n let value = dictionary[key]\n const hasDefault = Object.hasOwn(options, 'defaultValue')\n\n // Only use defaultValue if value is undefined and\n // a defaultValue options was provided.\n if (hasDefault && value !== null) {\n value ??= defaultValue()\n }\n\n // A key can be optional and have no default value.\n // When this happens, do not perform a conversion,\n // and do not assign the key a value.\n if (required || hasDefault || value !== undefined) {\n value = converter(value, prefix, `${argument}.${key}`)\n\n if (\n options.allowedValues &&\n !options.allowedValues.includes(value)\n ) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(', ')}.`\n })\n }\n\n dict[key] = value\n }\n }\n\n return dict\n }\n}\n\nwebidl.nullableConverter = function (converter) {\n return (V, prefix, argument) => {\n if (V === null) {\n return V\n }\n\n return converter(V, prefix, argument)\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-DOMString\nwebidl.converters.DOMString = function (V, prefix, argument, opts) {\n // 1. If V is null and the conversion is to an IDL type\n // associated with the [LegacyNullToEmptyString]\n // extended attribute, then return the DOMString value\n // that represents the empty string.\n if (V === null && opts?.legacyNullToEmptyString) {\n return ''\n }\n\n // 2. Let x be ? ToString(V).\n if (typeof V === 'symbol') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} is a symbol, which cannot be converted to a DOMString.`\n })\n }\n\n // 3. Return the IDL DOMString value that represents the\n // same sequence of code units as the one the\n // ECMAScript String value x represents.\n return String(V)\n}\n\n// https://webidl.spec.whatwg.org/#es-ByteString\nwebidl.converters.ByteString = function (V, prefix, argument) {\n // 1. Let x be ? ToString(V).\n // Note: DOMString converter perform ? ToString(V)\n const x = webidl.converters.DOMString(V, prefix, argument)\n\n // 2. If the value of any element of x is greater than\n // 255, then throw a TypeError.\n for (let index = 0; index < x.length; index++) {\n if (x.charCodeAt(index) > 255) {\n throw new TypeError(\n 'Cannot convert argument to a ByteString because the character at ' +\n `index ${index} has a value of ${x.charCodeAt(index)} which is greater than 255.`\n )\n }\n }\n\n // 3. Return an IDL ByteString value whose length is the\n // length of x, and where the value of each element is\n // the value of the corresponding element of x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-USVString\n// TODO: rewrite this so we can control the errors thrown\nwebidl.converters.USVString = toUSVString\n\n// https://webidl.spec.whatwg.org/#es-boolean\nwebidl.converters.boolean = function (V) {\n // 1. Let x be the result of computing ToBoolean(V).\n const x = Boolean(V)\n\n // 2. Return the IDL boolean value that is the one that represents\n // the same truth value as the ECMAScript Boolean value x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-any\nwebidl.converters.any = function (V) {\n return V\n}\n\n// https://webidl.spec.whatwg.org/#es-long-long\nwebidl.converters['long long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 64, \"signed\").\n const x = webidl.util.ConvertToInt(V, 64, 'signed', undefined, prefix, argument)\n\n // 2. Return the IDL long long value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long-long\nwebidl.converters['unsigned long long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 64, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 64, 'unsigned', undefined, prefix, argument)\n\n // 2. Return the IDL unsigned long long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long\nwebidl.converters['unsigned long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 32, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 32, 'unsigned', undefined, prefix, argument)\n\n // 2. Return the IDL unsigned long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-short\nwebidl.converters['unsigned short'] = function (V, prefix, argument, opts) {\n // 1. Let x be ? ConvertToInt(V, 16, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 16, 'unsigned', opts, prefix, argument)\n\n // 2. Return the IDL unsigned short value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#idl-ArrayBuffer\nwebidl.converters.ArrayBuffer = function (V, prefix, argument, opts) {\n // 1. If Type(V) is not Object, or V does not have an\n // [[ArrayBufferData]] internal slot, then throw a\n // TypeError.\n // see: https://tc39.es/ecma262/#sec-properties-of-the-arraybuffer-instances\n // see: https://tc39.es/ecma262/#sec-properties-of-the-sharedarraybuffer-instances\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isAnyArrayBuffer(V)\n ) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${argument} (\"${webidl.util.Stringify(V)}\")`,\n types: ['ArrayBuffer']\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V) is true, then throw a\n // TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V) is true, then throw a\n // TypeError.\n if (V.resizable || V.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 4. Return the IDL ArrayBuffer value that is a\n // reference to the same object as V.\n return V\n}\n\nwebidl.converters.TypedArray = function (V, T, prefix, name, opts) {\n // 1. Let T be the IDL type V is being converted to.\n\n // 2. If Type(V) is not Object, or V does not have a\n // [[TypedArrayName]] internal slot with a value\n // equal to T\u2019s name, then throw a TypeError.\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isTypedArray(V) ||\n V.constructor.name !== T.name\n ) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${name} (\"${webidl.util.Stringify(V)}\")`,\n types: [T.name]\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 4. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (V.buffer.resizable || V.buffer.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 5. Return the IDL value of type T that is a reference\n // to the same object as V.\n return V\n}\n\nwebidl.converters.DataView = function (V, prefix, name, opts) {\n // 1. If Type(V) is not Object, or V does not have a\n // [[DataView]] internal slot, then throw a TypeError.\n if (webidl.util.Type(V) !== 'Object' || !types.isDataView(V)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${name} is not a DataView.`\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is true,\n // then throw a TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (V.buffer.resizable || V.buffer.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 4. Return the IDL DataView value that is a reference\n // to the same object as V.\n return V\n}\n\n// https://webidl.spec.whatwg.org/#BufferSource\nwebidl.converters.BufferSource = function (V, prefix, name, opts) {\n if (types.isAnyArrayBuffer(V)) {\n return webidl.converters.ArrayBuffer(V, prefix, name, { ...opts, allowShared: false })\n }\n\n if (types.isTypedArray(V)) {\n return webidl.converters.TypedArray(V, V.constructor, prefix, name, { ...opts, allowShared: false })\n }\n\n if (types.isDataView(V)) {\n return webidl.converters.DataView(V, prefix, name, { ...opts, allowShared: false })\n }\n\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${name} (\"${webidl.util.Stringify(V)}\")`,\n types: ['BufferSource']\n })\n}\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.ByteString\n)\n\nwebidl.converters['sequence>'] = webidl.sequenceConverter(\n webidl.converters['sequence']\n)\n\nwebidl.converters['record'] = webidl.recordConverter(\n webidl.converters.ByteString,\n webidl.converters.ByteString\n)\n\nmodule.exports = {\n webidl\n}\n", "'use strict'\n\nconst { Transform } = require('node:stream')\nconst zlib = require('node:zlib')\nconst { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require('./constants')\nconst { getGlobalOrigin } = require('./global')\nconst { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = require('./data-url')\nconst { performance } = require('node:perf_hooks')\nconst { isBlobLike, ReadableStreamFrom, isValidHTTPToken, normalizedMethodRecordsBase } = require('../../core/util')\nconst assert = require('node:assert')\nconst { isUint8Array } = require('node:util/types')\nconst { webidl } = require('./webidl')\n\nlet supportedHashes = []\n\n// https://nodejs.org/api/crypto.html#determining-if-crypto-support-is-unavailable\n/** @type {import('crypto')} */\nlet crypto\ntry {\n crypto = require('node:crypto')\n const possibleRelevantHashes = ['sha256', 'sha384', 'sha512']\n supportedHashes = crypto.getHashes().filter((hash) => possibleRelevantHashes.includes(hash))\n/* c8 ignore next 3 */\n} catch {\n\n}\n\nfunction responseURL (response) {\n // https://fetch.spec.whatwg.org/#responses\n // A response has an associated URL. It is a pointer to the last URL\n // in response\u2019s URL list and null if response\u2019s URL list is empty.\n const urlList = response.urlList\n const length = urlList.length\n return length === 0 ? null : urlList[length - 1].toString()\n}\n\n// https://fetch.spec.whatwg.org/#concept-response-location-url\nfunction responseLocationURL (response, requestFragment) {\n // 1. If response\u2019s status is not a redirect status, then return null.\n if (!redirectStatusSet.has(response.status)) {\n return null\n }\n\n // 2. Let location be the result of extracting header list values given\n // `Location` and response\u2019s header list.\n let location = response.headersList.get('location', true)\n\n // 3. If location is a header value, then set location to the result of\n // parsing location with response\u2019s URL.\n if (location !== null && isValidHeaderValue(location)) {\n if (!isValidEncodedURL(location)) {\n // Some websites respond location header in UTF-8 form without encoding them as ASCII\n // and major browsers redirect them to correctly UTF-8 encoded addresses.\n // Here, we handle that behavior in the same way.\n location = normalizeBinaryStringToUtf8(location)\n }\n location = new URL(location, responseURL(response))\n }\n\n // 4. If location is a URL whose fragment is null, then set location\u2019s\n // fragment to requestFragment.\n if (location && !location.hash) {\n location.hash = requestFragment\n }\n\n // 5. Return location.\n return location\n}\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc1738#section-2.2\n * @param {string} url\n * @returns {boolean}\n */\nfunction isValidEncodedURL (url) {\n for (let i = 0; i < url.length; ++i) {\n const code = url.charCodeAt(i)\n\n if (\n code > 0x7E || // Non-US-ASCII + DEL\n code < 0x20 // Control characters NUL - US\n ) {\n return false\n }\n }\n return true\n}\n\n/**\n * If string contains non-ASCII characters, assumes it's UTF-8 encoded and decodes it.\n * Since UTF-8 is a superset of ASCII, this will work for ASCII strings as well.\n * @param {string} value\n * @returns {string}\n */\nfunction normalizeBinaryStringToUtf8 (value) {\n return Buffer.from(value, 'binary').toString('utf8')\n}\n\n/** @returns {URL} */\nfunction requestCurrentURL (request) {\n return request.urlList[request.urlList.length - 1]\n}\n\nfunction requestBadPort (request) {\n // 1. Let url be request\u2019s current URL.\n const url = requestCurrentURL(request)\n\n // 2. If url\u2019s scheme is an HTTP(S) scheme and url\u2019s port is a bad port,\n // then return blocked.\n if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) {\n return 'blocked'\n }\n\n // 3. Return allowed.\n return 'allowed'\n}\n\nfunction isErrorLike (object) {\n return object instanceof Error || (\n object?.constructor?.name === 'Error' ||\n object?.constructor?.name === 'DOMException'\n )\n}\n\n// Check whether |statusText| is a ByteString and\n// matches the Reason-Phrase token production.\n// RFC 2616: https://tools.ietf.org/html/rfc2616\n// RFC 7230: https://tools.ietf.org/html/rfc7230\n// \"reason-phrase = *( HTAB / SP / VCHAR / obs-text )\"\n// https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116\nfunction isValidReasonPhrase (statusText) {\n for (let i = 0; i < statusText.length; ++i) {\n const c = statusText.charCodeAt(i)\n if (\n !(\n (\n c === 0x09 || // HTAB\n (c >= 0x20 && c <= 0x7e) || // SP / VCHAR\n (c >= 0x80 && c <= 0xff)\n ) // obs-text\n )\n ) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-name\n * @param {string} potentialValue\n */\nconst isValidHeaderName = isValidHTTPToken\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-value\n * @param {string} potentialValue\n */\nfunction isValidHeaderValue (potentialValue) {\n // - Has no leading or trailing HTTP tab or space bytes.\n // - Contains no 0x00 (NUL) or HTTP newline bytes.\n return (\n potentialValue[0] === '\\t' ||\n potentialValue[0] === ' ' ||\n potentialValue[potentialValue.length - 1] === '\\t' ||\n potentialValue[potentialValue.length - 1] === ' ' ||\n potentialValue.includes('\\n') ||\n potentialValue.includes('\\r') ||\n potentialValue.includes('\\0')\n ) === false\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect\nfunction setRequestReferrerPolicyOnRedirect (request, actualResponse) {\n // Given a request request and a response actualResponse, this algorithm\n // updates request\u2019s referrer policy according to the Referrer-Policy\n // header (if any) in actualResponse.\n\n // 1. Let policy be the result of executing \u00A7 8.1 Parse a referrer policy\n // from a Referrer-Policy header on actualResponse.\n\n // 8.1 Parse a referrer policy from a Referrer-Policy header\n // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response\u2019s header list.\n const { headersList } = actualResponse\n // 2. Let policy be the empty string.\n // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token.\n // 4. Return policy.\n const policyHeader = (headersList.get('referrer-policy', true) ?? '').split(',')\n\n // Note: As the referrer-policy can contain multiple policies\n // separated by comma, we need to loop through all of them\n // and pick the first valid one.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy\n let policy = ''\n if (policyHeader.length > 0) {\n // The right-most policy takes precedence.\n // The left-most policy is the fallback.\n for (let i = policyHeader.length; i !== 0; i--) {\n const token = policyHeader[i - 1].trim()\n if (referrerPolicyTokens.has(token)) {\n policy = token\n break\n }\n }\n }\n\n // 2. If policy is not the empty string, then set request\u2019s referrer policy to policy.\n if (policy !== '') {\n request.referrerPolicy = policy\n }\n}\n\n// https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check\nfunction crossOriginResourcePolicyCheck () {\n // TODO\n return 'allowed'\n}\n\n// https://fetch.spec.whatwg.org/#concept-cors-check\nfunction corsCheck () {\n // TODO\n return 'success'\n}\n\n// https://fetch.spec.whatwg.org/#concept-tao-check\nfunction TAOCheck () {\n // TODO\n return 'success'\n}\n\nfunction appendFetchMetadata (httpRequest) {\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header\n\n // 1. Assert: r\u2019s url is a potentially trustworthy URL.\n // TODO\n\n // 2. Let header be a Structured Header whose value is a token.\n let header = null\n\n // 3. Set header\u2019s value to r\u2019s mode.\n header = httpRequest.mode\n\n // 4. Set a structured field value `Sec-Fetch-Mode`/header in r\u2019s header list.\n httpRequest.headersList.set('sec-fetch-mode', header, true)\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header\n // TODO\n}\n\n// https://fetch.spec.whatwg.org/#append-a-request-origin-header\nfunction appendRequestOriginHeader (request) {\n // 1. Let serializedOrigin be the result of byte-serializing a request origin\n // with request.\n // TODO: implement \"byte-serializing a request origin\"\n let serializedOrigin = request.origin\n\n // - \"'client' is changed to an origin during fetching.\"\n // This doesn't happen in undici (in most cases) because undici, by default,\n // has no concept of origin.\n // - request.origin can also be set to request.client.origin (client being\n // an environment settings object), which is undefined without using\n // setGlobalOrigin.\n if (serializedOrigin === 'client' || serializedOrigin === undefined) {\n return\n }\n\n // 2. If request\u2019s response tainting is \"cors\" or request\u2019s mode is \"websocket\",\n // then append (`Origin`, serializedOrigin) to request\u2019s header list.\n // 3. Otherwise, if request\u2019s method is neither `GET` nor `HEAD`, then:\n if (request.responseTainting === 'cors' || request.mode === 'websocket') {\n request.headersList.append('origin', serializedOrigin, true)\n } else if (request.method !== 'GET' && request.method !== 'HEAD') {\n // 1. Switch on request\u2019s referrer policy:\n switch (request.referrerPolicy) {\n case 'no-referrer':\n // Set serializedOrigin to `null`.\n serializedOrigin = null\n break\n case 'no-referrer-when-downgrade':\n case 'strict-origin':\n case 'strict-origin-when-cross-origin':\n // If request\u2019s origin is a tuple origin, its scheme is \"https\", and\n // request\u2019s current URL\u2019s scheme is not \"https\", then set\n // serializedOrigin to `null`.\n if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n case 'same-origin':\n // If request\u2019s origin is not same origin with request\u2019s current URL\u2019s\n // origin, then set serializedOrigin to `null`.\n if (!sameOrigin(request, requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n default:\n // Do nothing.\n }\n\n // 2. Append (`Origin`, serializedOrigin) to request\u2019s header list.\n request.headersList.append('origin', serializedOrigin, true)\n }\n}\n\n// https://w3c.github.io/hr-time/#dfn-coarsen-time\nfunction coarsenTime (timestamp, crossOriginIsolatedCapability) {\n // TODO\n return timestamp\n}\n\n// https://fetch.spec.whatwg.org/#clamp-and-coarsen-connection-timing-info\nfunction clampAndCoarsenConnectionTimingInfo (connectionTimingInfo, defaultStartTime, crossOriginIsolatedCapability) {\n if (!connectionTimingInfo?.startTime || connectionTimingInfo.startTime < defaultStartTime) {\n return {\n domainLookupStartTime: defaultStartTime,\n domainLookupEndTime: defaultStartTime,\n connectionStartTime: defaultStartTime,\n connectionEndTime: defaultStartTime,\n secureConnectionStartTime: defaultStartTime,\n ALPNNegotiatedProtocol: connectionTimingInfo?.ALPNNegotiatedProtocol\n }\n }\n\n return {\n domainLookupStartTime: coarsenTime(connectionTimingInfo.domainLookupStartTime, crossOriginIsolatedCapability),\n domainLookupEndTime: coarsenTime(connectionTimingInfo.domainLookupEndTime, crossOriginIsolatedCapability),\n connectionStartTime: coarsenTime(connectionTimingInfo.connectionStartTime, crossOriginIsolatedCapability),\n connectionEndTime: coarsenTime(connectionTimingInfo.connectionEndTime, crossOriginIsolatedCapability),\n secureConnectionStartTime: coarsenTime(connectionTimingInfo.secureConnectionStartTime, crossOriginIsolatedCapability),\n ALPNNegotiatedProtocol: connectionTimingInfo.ALPNNegotiatedProtocol\n }\n}\n\n// https://w3c.github.io/hr-time/#dfn-coarsened-shared-current-time\nfunction coarsenedSharedCurrentTime (crossOriginIsolatedCapability) {\n return coarsenTime(performance.now(), crossOriginIsolatedCapability)\n}\n\n// https://fetch.spec.whatwg.org/#create-an-opaque-timing-info\nfunction createOpaqueTimingInfo (timingInfo) {\n return {\n startTime: timingInfo.startTime ?? 0,\n redirectStartTime: 0,\n redirectEndTime: 0,\n postRedirectStartTime: timingInfo.startTime ?? 0,\n finalServiceWorkerStartTime: 0,\n finalNetworkResponseStartTime: 0,\n finalNetworkRequestStartTime: 0,\n endTime: 0,\n encodedBodySize: 0,\n decodedBodySize: 0,\n finalConnectionTimingInfo: null\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#policy-container\nfunction makePolicyContainer () {\n // Note: the fetch spec doesn't make use of embedder policy or CSP list\n return {\n referrerPolicy: 'strict-origin-when-cross-origin'\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container\nfunction clonePolicyContainer (policyContainer) {\n return {\n referrerPolicy: policyContainer.referrerPolicy\n }\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer\nfunction determineRequestsReferrer (request) {\n // 1. Let policy be request's referrer policy.\n const policy = request.referrerPolicy\n\n // Note: policy cannot (shouldn't) be null or an empty string.\n assert(policy)\n\n // 2. Let environment be request\u2019s client.\n\n let referrerSource = null\n\n // 3. Switch on request\u2019s referrer:\n if (request.referrer === 'client') {\n // Note: node isn't a browser and doesn't implement document/iframes,\n // so we bypass this step and replace it with our own.\n\n const globalOrigin = getGlobalOrigin()\n\n if (!globalOrigin || globalOrigin.origin === 'null') {\n return 'no-referrer'\n }\n\n // note: we need to clone it as it's mutated\n referrerSource = new URL(globalOrigin)\n } else if (request.referrer instanceof URL) {\n // Let referrerSource be request\u2019s referrer.\n referrerSource = request.referrer\n }\n\n // 4. Let request\u2019s referrerURL be the result of stripping referrerSource for\n // use as a referrer.\n let referrerURL = stripURLForReferrer(referrerSource)\n\n // 5. Let referrerOrigin be the result of stripping referrerSource for use as\n // a referrer, with the origin-only flag set to true.\n const referrerOrigin = stripURLForReferrer(referrerSource, true)\n\n // 6. If the result of serializing referrerURL is a string whose length is\n // greater than 4096, set referrerURL to referrerOrigin.\n if (referrerURL.toString().length > 4096) {\n referrerURL = referrerOrigin\n }\n\n const areSameOrigin = sameOrigin(request, referrerURL)\n const isNonPotentiallyTrustWorthy = isURLPotentiallyTrustworthy(referrerURL) &&\n !isURLPotentiallyTrustworthy(request.url)\n\n // 8. Execute the switch statements corresponding to the value of policy:\n switch (policy) {\n case 'origin': return referrerOrigin != null ? referrerOrigin : stripURLForReferrer(referrerSource, true)\n case 'unsafe-url': return referrerURL\n case 'same-origin':\n return areSameOrigin ? referrerOrigin : 'no-referrer'\n case 'origin-when-cross-origin':\n return areSameOrigin ? referrerURL : referrerOrigin\n case 'strict-origin-when-cross-origin': {\n const currentURL = requestCurrentURL(request)\n\n // 1. If the origin of referrerURL and the origin of request\u2019s current\n // URL are the same, then return referrerURL.\n if (sameOrigin(referrerURL, currentURL)) {\n return referrerURL\n }\n\n // 2. If referrerURL is a potentially trustworthy URL and request\u2019s\n // current URL is not a potentially trustworthy URL, then return no\n // referrer.\n if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {\n return 'no-referrer'\n }\n\n // 3. Return referrerOrigin.\n return referrerOrigin\n }\n case 'strict-origin': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request\u2019s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n case 'no-referrer-when-downgrade': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request\u2019s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n\n default: // eslint-disable-line\n return isNonPotentiallyTrustWorthy ? 'no-referrer' : referrerOrigin\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url\n * @param {URL} url\n * @param {boolean|undefined} originOnly\n */\nfunction stripURLForReferrer (url, originOnly) {\n // 1. Assert: url is a URL.\n assert(url instanceof URL)\n\n url = new URL(url)\n\n // 2. If url\u2019s scheme is a local scheme, then return no referrer.\n if (url.protocol === 'file:' || url.protocol === 'about:' || url.protocol === 'blank:') {\n return 'no-referrer'\n }\n\n // 3. Set url\u2019s username to the empty string.\n url.username = ''\n\n // 4. Set url\u2019s password to the empty string.\n url.password = ''\n\n // 5. Set url\u2019s fragment to null.\n url.hash = ''\n\n // 6. If the origin-only flag is true, then:\n if (originOnly) {\n // 1. Set url\u2019s path to \u00AB the empty string \u00BB.\n url.pathname = ''\n\n // 2. Set url\u2019s query to null.\n url.search = ''\n }\n\n // 7. Return url.\n return url\n}\n\nfunction isURLPotentiallyTrustworthy (url) {\n if (!(url instanceof URL)) {\n return false\n }\n\n // If child of about, return true\n if (url.href === 'about:blank' || url.href === 'about:srcdoc') {\n return true\n }\n\n // If scheme is data, return true\n if (url.protocol === 'data:') return true\n\n // If file, return true\n if (url.protocol === 'file:') return true\n\n return isOriginPotentiallyTrustworthy(url.origin)\n\n function isOriginPotentiallyTrustworthy (origin) {\n // If origin is explicitly null, return false\n if (origin == null || origin === 'null') return false\n\n const originAsURL = new URL(origin)\n\n // If secure, return true\n if (originAsURL.protocol === 'https:' || originAsURL.protocol === 'wss:') {\n return true\n }\n\n // If localhost or variants, return true\n if (/^127(?:\\.[0-9]+){0,2}\\.[0-9]+$|^\\[(?:0*:)*?:?0*1\\]$/.test(originAsURL.hostname) ||\n (originAsURL.hostname === 'localhost' || originAsURL.hostname.includes('localhost.')) ||\n (originAsURL.hostname.endsWith('.localhost'))) {\n return true\n }\n\n // If any other, return false\n return false\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist\n * @param {Uint8Array} bytes\n * @param {string} metadataList\n */\nfunction bytesMatch (bytes, metadataList) {\n // If node is not built with OpenSSL support, we cannot check\n // a request's integrity, so allow it by default (the spec will\n // allow requests if an invalid hash is given, as precedence).\n /* istanbul ignore if: only if node is built with --without-ssl */\n if (crypto === undefined) {\n return true\n }\n\n // 1. Let parsedMetadata be the result of parsing metadataList.\n const parsedMetadata = parseMetadata(metadataList)\n\n // 2. If parsedMetadata is no metadata, return true.\n if (parsedMetadata === 'no metadata') {\n return true\n }\n\n // 3. If response is not eligible for integrity validation, return false.\n // TODO\n\n // 4. If parsedMetadata is the empty set, return true.\n if (parsedMetadata.length === 0) {\n return true\n }\n\n // 5. Let metadata be the result of getting the strongest\n // metadata from parsedMetadata.\n const strongest = getStrongestMetadata(parsedMetadata)\n const metadata = filterMetadataListByAlgorithm(parsedMetadata, strongest)\n\n // 6. For each item in metadata:\n for (const item of metadata) {\n // 1. Let algorithm be the alg component of item.\n const algorithm = item.algo\n\n // 2. Let expectedValue be the val component of item.\n const expectedValue = item.hash\n\n // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e\n // \"be liberal with padding\". This is annoying, and it's not even in the spec.\n\n // 3. Let actualValue be the result of applying algorithm to bytes.\n let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64')\n\n if (actualValue[actualValue.length - 1] === '=') {\n if (actualValue[actualValue.length - 2] === '=') {\n actualValue = actualValue.slice(0, -2)\n } else {\n actualValue = actualValue.slice(0, -1)\n }\n }\n\n // 4. If actualValue is a case-sensitive match for expectedValue,\n // return true.\n if (compareBase64Mixed(actualValue, expectedValue)) {\n return true\n }\n }\n\n // 7. Return false.\n return false\n}\n\n// https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options\n// https://www.w3.org/TR/CSP2/#source-list-syntax\n// https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1\nconst parseHashWithOptions = /(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\\s|$)( +[!-~]*)?)?/i\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata\n * @param {string} metadata\n */\nfunction parseMetadata (metadata) {\n // 1. Let result be the empty set.\n /** @type {{ algo: string, hash: string }[]} */\n const result = []\n\n // 2. Let empty be equal to true.\n let empty = true\n\n // 3. For each token returned by splitting metadata on spaces:\n for (const token of metadata.split(' ')) {\n // 1. Set empty to false.\n empty = false\n\n // 2. Parse token as a hash-with-options.\n const parsedToken = parseHashWithOptions.exec(token)\n\n // 3. If token does not parse, continue to the next token.\n if (\n parsedToken === null ||\n parsedToken.groups === undefined ||\n parsedToken.groups.algo === undefined\n ) {\n // Note: Chromium blocks the request at this point, but Firefox\n // gives a warning that an invalid integrity was given. The\n // correct behavior is to ignore these, and subsequently not\n // check the integrity of the resource.\n continue\n }\n\n // 4. Let algorithm be the hash-algo component of token.\n const algorithm = parsedToken.groups.algo.toLowerCase()\n\n // 5. If algorithm is a hash function recognized by the user\n // agent, add the parsed token to result.\n if (supportedHashes.includes(algorithm)) {\n result.push(parsedToken.groups)\n }\n }\n\n // 4. Return no metadata if empty is true, otherwise return result.\n if (empty === true) {\n return 'no metadata'\n }\n\n return result\n}\n\n/**\n * @param {{ algo: 'sha256' | 'sha384' | 'sha512' }[]} metadataList\n */\nfunction getStrongestMetadata (metadataList) {\n // Let algorithm be the algo component of the first item in metadataList.\n // Can be sha256\n let algorithm = metadataList[0].algo\n // If the algorithm is sha512, then it is the strongest\n // and we can return immediately\n if (algorithm[3] === '5') {\n return algorithm\n }\n\n for (let i = 1; i < metadataList.length; ++i) {\n const metadata = metadataList[i]\n // If the algorithm is sha512, then it is the strongest\n // and we can break the loop immediately\n if (metadata.algo[3] === '5') {\n algorithm = 'sha512'\n break\n // If the algorithm is sha384, then a potential sha256 or sha384 is ignored\n } else if (algorithm[3] === '3') {\n continue\n // algorithm is sha256, check if algorithm is sha384 and if so, set it as\n // the strongest\n } else if (metadata.algo[3] === '3') {\n algorithm = 'sha384'\n }\n }\n return algorithm\n}\n\nfunction filterMetadataListByAlgorithm (metadataList, algorithm) {\n if (metadataList.length === 1) {\n return metadataList\n }\n\n let pos = 0\n for (let i = 0; i < metadataList.length; ++i) {\n if (metadataList[i].algo === algorithm) {\n metadataList[pos++] = metadataList[i]\n }\n }\n\n metadataList.length = pos\n\n return metadataList\n}\n\n/**\n * Compares two base64 strings, allowing for base64url\n * in the second string.\n *\n* @param {string} actualValue always base64\n * @param {string} expectedValue base64 or base64url\n * @returns {boolean}\n */\nfunction compareBase64Mixed (actualValue, expectedValue) {\n if (actualValue.length !== expectedValue.length) {\n return false\n }\n for (let i = 0; i < actualValue.length; ++i) {\n if (actualValue[i] !== expectedValue[i]) {\n if (\n (actualValue[i] === '+' && expectedValue[i] === '-') ||\n (actualValue[i] === '/' && expectedValue[i] === '_')\n ) {\n continue\n }\n return false\n }\n }\n\n return true\n}\n\n// https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request\nfunction tryUpgradeRequestToAPotentiallyTrustworthyURL (request) {\n // TODO\n}\n\n/**\n * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin}\n * @param {URL} A\n * @param {URL} B\n */\nfunction sameOrigin (A, B) {\n // 1. If A and B are the same opaque origin, then return true.\n if (A.origin === B.origin && A.origin === 'null') {\n return true\n }\n\n // 2. If A and B are both tuple origins and their schemes,\n // hosts, and port are identical, then return true.\n if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) {\n return true\n }\n\n // 3. Return false.\n return false\n}\n\nfunction createDeferredPromise () {\n let res\n let rej\n const promise = new Promise((resolve, reject) => {\n res = resolve\n rej = reject\n })\n\n return { promise, resolve: res, reject: rej }\n}\n\nfunction isAborted (fetchParams) {\n return fetchParams.controller.state === 'aborted'\n}\n\nfunction isCancelled (fetchParams) {\n return fetchParams.controller.state === 'aborted' ||\n fetchParams.controller.state === 'terminated'\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-method-normalize\n * @param {string} method\n */\nfunction normalizeMethod (method) {\n return normalizedMethodRecordsBase[method.toLowerCase()] ?? method\n}\n\n// https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string\nfunction serializeJavascriptValueToJSONString (value) {\n // 1. Let result be ? Call(%JSON.stringify%, undefined, \u00AB value \u00BB).\n const result = JSON.stringify(value)\n\n // 2. If result is undefined, then throw a TypeError.\n if (result === undefined) {\n throw new TypeError('Value is not JSON serializable')\n }\n\n // 3. Assert: result is a string.\n assert(typeof result === 'string')\n\n // 4. Return result.\n return result\n}\n\n// https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object\nconst esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))\n\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {string} name name of the instance\n * @param {symbol} kInternalIterator\n * @param {string | number} [keyIndex]\n * @param {string | number} [valueIndex]\n */\nfunction createIterator (name, kInternalIterator, keyIndex = 0, valueIndex = 1) {\n class FastIterableIterator {\n /** @type {any} */\n #target\n /** @type {'key' | 'value' | 'key+value'} */\n #kind\n /** @type {number} */\n #index\n\n /**\n * @see https://webidl.spec.whatwg.org/#dfn-default-iterator-object\n * @param {unknown} target\n * @param {'key' | 'value' | 'key+value'} kind\n */\n constructor (target, kind) {\n this.#target = target\n this.#kind = kind\n this.#index = 0\n }\n\n next () {\n // 1. Let interface be the interface for which the iterator prototype object exists.\n // 2. Let thisValue be the this value.\n // 3. Let object be ? ToObject(thisValue).\n // 4. If object is a platform object, then perform a security\n // check, passing:\n // 5. If object is not a default iterator object for interface,\n // then throw a TypeError.\n if (typeof this !== 'object' || this === null || !(#target in this)) {\n throw new TypeError(\n `'next' called on an object that does not implement interface ${name} Iterator.`\n )\n }\n\n // 6. Let index be object\u2019s index.\n // 7. Let kind be object\u2019s kind.\n // 8. Let values be object\u2019s target's value pairs to iterate over.\n const index = this.#index\n const values = this.#target[kInternalIterator]\n\n // 9. Let len be the length of values.\n const len = values.length\n\n // 10. If index is greater than or equal to len, then return\n // CreateIterResultObject(undefined, true).\n if (index >= len) {\n return {\n value: undefined,\n done: true\n }\n }\n\n // 11. Let pair be the entry in values at index index.\n const { [keyIndex]: key, [valueIndex]: value } = values[index]\n\n // 12. Set object\u2019s index to index + 1.\n this.#index = index + 1\n\n // 13. Return the iterator result for pair and kind.\n\n // https://webidl.spec.whatwg.org/#iterator-result\n\n // 1. Let result be a value determined by the value of kind:\n let result\n switch (this.#kind) {\n case 'key':\n // 1. Let idlKey be pair\u2019s key.\n // 2. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 3. result is key.\n result = key\n break\n case 'value':\n // 1. Let idlValue be pair\u2019s value.\n // 2. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 3. result is value.\n result = value\n break\n case 'key+value':\n // 1. Let idlKey be pair\u2019s key.\n // 2. Let idlValue be pair\u2019s value.\n // 3. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 4. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 5. Let array be ! ArrayCreate(2).\n // 6. Call ! CreateDataProperty(array, \"0\", key).\n // 7. Call ! CreateDataProperty(array, \"1\", value).\n // 8. result is array.\n result = [key, value]\n break\n }\n\n // 2. Return CreateIterResultObject(result, false).\n return {\n value: result,\n done: false\n }\n }\n }\n\n // https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n // @ts-ignore\n delete FastIterableIterator.prototype.constructor\n\n Object.setPrototypeOf(FastIterableIterator.prototype, esIteratorPrototype)\n\n Object.defineProperties(FastIterableIterator.prototype, {\n [Symbol.toStringTag]: {\n writable: false,\n enumerable: false,\n configurable: true,\n value: `${name} Iterator`\n },\n next: { writable: true, enumerable: true, configurable: true }\n })\n\n /**\n * @param {unknown} target\n * @param {'key' | 'value' | 'key+value'} kind\n * @returns {IterableIterator}\n */\n return function (target, kind) {\n return new FastIterableIterator(target, kind)\n }\n}\n\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {string} name name of the instance\n * @param {any} object class\n * @param {symbol} kInternalIterator\n * @param {string | number} [keyIndex]\n * @param {string | number} [valueIndex]\n */\nfunction iteratorMixin (name, object, kInternalIterator, keyIndex = 0, valueIndex = 1) {\n const makeIterator = createIterator(name, kInternalIterator, keyIndex, valueIndex)\n\n const properties = {\n keys: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function keys () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'key')\n }\n },\n values: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function values () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'value')\n }\n },\n entries: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function entries () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'key+value')\n }\n },\n forEach: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function forEach (callbackfn, thisArg = globalThis) {\n webidl.brandCheck(this, object)\n webidl.argumentLengthCheck(arguments, 1, `${name}.forEach`)\n if (typeof callbackfn !== 'function') {\n throw new TypeError(\n `Failed to execute 'forEach' on '${name}': parameter 1 is not of type 'Function'.`\n )\n }\n for (const { 0: key, 1: value } of makeIterator(this, 'key+value')) {\n callbackfn.call(thisArg, value, key, this)\n }\n }\n }\n }\n\n return Object.defineProperties(object.prototype, {\n ...properties,\n [Symbol.iterator]: {\n writable: true,\n enumerable: false,\n configurable: true,\n value: properties.entries.value\n }\n })\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#body-fully-read\n */\nasync function fullyReadBody (body, processBody, processBodyError) {\n // 1. If taskDestination is null, then set taskDestination to\n // the result of starting a new parallel queue.\n\n // 2. Let successSteps given a byte sequence bytes be to queue a\n // fetch task to run processBody given bytes, with taskDestination.\n const successSteps = processBody\n\n // 3. Let errorSteps be to queue a fetch task to run processBodyError,\n // with taskDestination.\n const errorSteps = processBodyError\n\n // 4. Let reader be the result of getting a reader for body\u2019s stream.\n // If that threw an exception, then run errorSteps with that\n // exception and return.\n let reader\n\n try {\n reader = body.stream.getReader()\n } catch (e) {\n errorSteps(e)\n return\n }\n\n // 5. Read all bytes from reader, given successSteps and errorSteps.\n try {\n successSteps(await readAllBytes(reader))\n } catch (e) {\n errorSteps(e)\n }\n}\n\nfunction isReadableStreamLike (stream) {\n return stream instanceof ReadableStream || (\n stream[Symbol.toStringTag] === 'ReadableStream' &&\n typeof stream.tee === 'function'\n )\n}\n\n/**\n * @param {ReadableStreamController} controller\n */\nfunction readableStreamClose (controller) {\n try {\n controller.close()\n controller.byobRequest?.respond(0)\n } catch (err) {\n // TODO: add comment explaining why this error occurs.\n if (!err.message.includes('Controller is already closed') && !err.message.includes('ReadableStream is already closed')) {\n throw err\n }\n }\n}\n\nconst invalidIsomorphicEncodeValueRegex = /[^\\x00-\\xFF]/ // eslint-disable-line\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-encode\n * @param {string} input\n */\nfunction isomorphicEncode (input) {\n // 1. Assert: input contains no code points greater than U+00FF.\n assert(!invalidIsomorphicEncodeValueRegex.test(input))\n\n // 2. Return a byte sequence whose length is equal to input\u2019s code\n // point length and whose bytes have the same values as the\n // values of input\u2019s code points, in the same order\n return input\n}\n\n/**\n * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes\n * @see https://streams.spec.whatwg.org/#read-loop\n * @param {ReadableStreamDefaultReader} reader\n */\nasync function readAllBytes (reader) {\n const bytes = []\n let byteLength = 0\n\n while (true) {\n const { done, value: chunk } = await reader.read()\n\n if (done) {\n // 1. Call successSteps with bytes.\n return Buffer.concat(bytes, byteLength)\n }\n\n // 1. If chunk is not a Uint8Array object, call failureSteps\n // with a TypeError and abort these steps.\n if (!isUint8Array(chunk)) {\n throw new TypeError('Received non-Uint8Array chunk')\n }\n\n // 2. Append the bytes represented by chunk to bytes.\n bytes.push(chunk)\n byteLength += chunk.length\n\n // 3. Read-loop given reader, bytes, successSteps, and failureSteps.\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#is-local\n * @param {URL} url\n */\nfunction urlIsLocal (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'about:' || protocol === 'blob:' || protocol === 'data:'\n}\n\n/**\n * @param {string|URL} url\n * @returns {boolean}\n */\nfunction urlHasHttpsScheme (url) {\n return (\n (\n typeof url === 'string' &&\n url[5] === ':' &&\n url[0] === 'h' &&\n url[1] === 't' &&\n url[2] === 't' &&\n url[3] === 'p' &&\n url[4] === 's'\n ) ||\n url.protocol === 'https:'\n )\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-scheme\n * @param {URL} url\n */\nfunction urlIsHttpHttpsScheme (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'http:' || protocol === 'https:'\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#simple-range-header-value\n * @param {string} value\n * @param {boolean} allowWhitespace\n */\nfunction simpleRangeHeaderValue (value, allowWhitespace) {\n // 1. Let data be the isomorphic decoding of value.\n // Note: isomorphic decoding takes a sequence of bytes (ie. a Uint8Array) and turns it into a string,\n // nothing more. We obviously don't need to do that if value is a string already.\n const data = value\n\n // 2. If data does not start with \"bytes\", then return failure.\n if (!data.startsWith('bytes')) {\n return 'failure'\n }\n\n // 3. Let position be a position variable for data, initially pointing at the 5th code point of data.\n const position = { position: 5 }\n\n // 4. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,\n // from data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 5. If the code point at position within data is not U+003D (=), then return failure.\n if (data.charCodeAt(position.position) !== 0x3D) {\n return 'failure'\n }\n\n // 6. Advance position by 1.\n position.position++\n\n // 7. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space, from\n // data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 8. Let rangeStart be the result of collecting a sequence of code points that are ASCII digits,\n // from data given position.\n const rangeStart = collectASequenceOfCodePoints(\n (char) => {\n const code = char.charCodeAt(0)\n\n return code >= 0x30 && code <= 0x39\n },\n data,\n position\n )\n\n // 9. Let rangeStartValue be rangeStart, interpreted as decimal number, if rangeStart is not the\n // empty string; otherwise null.\n const rangeStartValue = rangeStart.length ? Number(rangeStart) : null\n\n // 10. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,\n // from data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 11. If the code point at position within data is not U+002D (-), then return failure.\n if (data.charCodeAt(position.position) !== 0x2D) {\n return 'failure'\n }\n\n // 12. Advance position by 1.\n position.position++\n\n // 13. If allowWhitespace is true, collect a sequence of code points that are HTTP tab\n // or space, from data given position.\n // Note from Khafra: its the same step as in #8 again lol\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 14. Let rangeEnd be the result of collecting a sequence of code points that are\n // ASCII digits, from data given position.\n // Note from Khafra: you wouldn't guess it, but this is also the same step as #8\n const rangeEnd = collectASequenceOfCodePoints(\n (char) => {\n const code = char.charCodeAt(0)\n\n return code >= 0x30 && code <= 0x39\n },\n data,\n position\n )\n\n // 15. Let rangeEndValue be rangeEnd, interpreted as decimal number, if rangeEnd\n // is not the empty string; otherwise null.\n // Note from Khafra: THE SAME STEP, AGAIN!!!\n // Note: why interpret as a decimal if we only collect ascii digits?\n const rangeEndValue = rangeEnd.length ? Number(rangeEnd) : null\n\n // 16. If position is not past the end of data, then return failure.\n if (position.position < data.length) {\n return 'failure'\n }\n\n // 17. If rangeEndValue and rangeStartValue are null, then return failure.\n if (rangeEndValue === null && rangeStartValue === null) {\n return 'failure'\n }\n\n // 18. If rangeStartValue and rangeEndValue are numbers, and rangeStartValue is\n // greater than rangeEndValue, then return failure.\n // Note: ... when can they not be numbers?\n if (rangeStartValue > rangeEndValue) {\n return 'failure'\n }\n\n // 19. Return (rangeStartValue, rangeEndValue).\n return { rangeStartValue, rangeEndValue }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#build-a-content-range\n * @param {number} rangeStart\n * @param {number} rangeEnd\n * @param {number} fullLength\n */\nfunction buildContentRange (rangeStart, rangeEnd, fullLength) {\n // 1. Let contentRange be `bytes `.\n let contentRange = 'bytes '\n\n // 2. Append rangeStart, serialized and isomorphic encoded, to contentRange.\n contentRange += isomorphicEncode(`${rangeStart}`)\n\n // 3. Append 0x2D (-) to contentRange.\n contentRange += '-'\n\n // 4. Append rangeEnd, serialized and isomorphic encoded to contentRange.\n contentRange += isomorphicEncode(`${rangeEnd}`)\n\n // 5. Append 0x2F (/) to contentRange.\n contentRange += '/'\n\n // 6. Append fullLength, serialized and isomorphic encoded to contentRange.\n contentRange += isomorphicEncode(`${fullLength}`)\n\n // 7. Return contentRange.\n return contentRange\n}\n\n// A Stream, which pipes the response to zlib.createInflate() or\n// zlib.createInflateRaw() depending on the first byte of the Buffer.\n// If the lower byte of the first byte is 0x08, then the stream is\n// interpreted as a zlib stream, otherwise it's interpreted as a\n// raw deflate stream.\nclass InflateStream extends Transform {\n #zlibOptions\n\n /** @param {zlib.ZlibOptions} [zlibOptions] */\n constructor (zlibOptions) {\n super()\n this.#zlibOptions = zlibOptions\n }\n\n _transform (chunk, encoding, callback) {\n if (!this._inflateStream) {\n if (chunk.length === 0) {\n callback()\n return\n }\n this._inflateStream = (chunk[0] & 0x0F) === 0x08\n ? zlib.createInflate(this.#zlibOptions)\n : zlib.createInflateRaw(this.#zlibOptions)\n\n this._inflateStream.on('data', this.push.bind(this))\n this._inflateStream.on('end', () => this.push(null))\n this._inflateStream.on('error', (err) => this.destroy(err))\n }\n\n this._inflateStream.write(chunk, encoding, callback)\n }\n\n _final (callback) {\n if (this._inflateStream) {\n this._inflateStream.end()\n this._inflateStream = null\n }\n callback()\n }\n}\n\n/**\n * @param {zlib.ZlibOptions} [zlibOptions]\n * @returns {InflateStream}\n */\nfunction createInflate (zlibOptions) {\n return new InflateStream(zlibOptions)\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-extract-mime-type\n * @param {import('./headers').HeadersList} headers\n */\nfunction extractMimeType (headers) {\n // 1. Let charset be null.\n let charset = null\n\n // 2. Let essence be null.\n let essence = null\n\n // 3. Let mimeType be null.\n let mimeType = null\n\n // 4. Let values be the result of getting, decoding, and splitting `Content-Type` from headers.\n const values = getDecodeSplit('content-type', headers)\n\n // 5. If values is null, then return failure.\n if (values === null) {\n return 'failure'\n }\n\n // 6. For each value of values:\n for (const value of values) {\n // 6.1. Let temporaryMimeType be the result of parsing value.\n const temporaryMimeType = parseMIMEType(value)\n\n // 6.2. If temporaryMimeType is failure or its essence is \"*/*\", then continue.\n if (temporaryMimeType === 'failure' || temporaryMimeType.essence === '*/*') {\n continue\n }\n\n // 6.3. Set mimeType to temporaryMimeType.\n mimeType = temporaryMimeType\n\n // 6.4. If mimeType\u2019s essence is not essence, then:\n if (mimeType.essence !== essence) {\n // 6.4.1. Set charset to null.\n charset = null\n\n // 6.4.2. If mimeType\u2019s parameters[\"charset\"] exists, then set charset to\n // mimeType\u2019s parameters[\"charset\"].\n if (mimeType.parameters.has('charset')) {\n charset = mimeType.parameters.get('charset')\n }\n\n // 6.4.3. Set essence to mimeType\u2019s essence.\n essence = mimeType.essence\n } else if (!mimeType.parameters.has('charset') && charset !== null) {\n // 6.5. Otherwise, if mimeType\u2019s parameters[\"charset\"] does not exist, and\n // charset is non-null, set mimeType\u2019s parameters[\"charset\"] to charset.\n mimeType.parameters.set('charset', charset)\n }\n }\n\n // 7. If mimeType is null, then return failure.\n if (mimeType == null) {\n return 'failure'\n }\n\n // 8. Return mimeType.\n return mimeType\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-value-get-decode-and-split\n * @param {string|null} value\n */\nfunction gettingDecodingSplitting (value) {\n // 1. Let input be the result of isomorphic decoding value.\n const input = value\n\n // 2. Let position be a position variable for input, initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let values be a list of strings, initially empty.\n const values = []\n\n // 4. Let temporaryValue be the empty string.\n let temporaryValue = ''\n\n // 5. While position is not past the end of input:\n while (position.position < input.length) {\n // 5.1. Append the result of collecting a sequence of code points that are not U+0022 (\")\n // or U+002C (,) from input, given position, to temporaryValue.\n temporaryValue += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== ',',\n input,\n position\n )\n\n // 5.2. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 5.2.1. If the code point at position within input is U+0022 (\"), then:\n if (input.charCodeAt(position.position) === 0x22) {\n // 5.2.1.1. Append the result of collecting an HTTP quoted string from input, given position, to temporaryValue.\n temporaryValue += collectAnHTTPQuotedString(\n input,\n position\n )\n\n // 5.2.1.2. If position is not past the end of input, then continue.\n if (position.position < input.length) {\n continue\n }\n } else {\n // 5.2.2. Otherwise:\n\n // 5.2.2.1. Assert: the code point at position within input is U+002C (,).\n assert(input.charCodeAt(position.position) === 0x2C)\n\n // 5.2.2.2. Advance position by 1.\n position.position++\n }\n }\n\n // 5.3. Remove all HTTP tab or space from the start and end of temporaryValue.\n temporaryValue = removeChars(temporaryValue, true, true, (char) => char === 0x9 || char === 0x20)\n\n // 5.4. Append temporaryValue to values.\n values.push(temporaryValue)\n\n // 5.6. Set temporaryValue to the empty string.\n temporaryValue = ''\n }\n\n // 6. Return values.\n return values\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split\n * @param {string} name lowercase header name\n * @param {import('./headers').HeadersList} list\n */\nfunction getDecodeSplit (name, list) {\n // 1. Let value be the result of getting name from list.\n const value = list.get(name, true)\n\n // 2. If value is null, then return null.\n if (value === null) {\n return null\n }\n\n // 3. Return the result of getting, decoding, and splitting value.\n return gettingDecodingSplitting(value)\n}\n\nconst textDecoder = new TextDecoder()\n\n/**\n * @see https://encoding.spec.whatwg.org/#utf-8-decode\n * @param {Buffer} buffer\n */\nfunction utf8DecodeBytes (buffer) {\n if (buffer.length === 0) {\n return ''\n }\n\n // 1. Let buffer be the result of peeking three bytes from\n // ioQueue, converted to a byte sequence.\n\n // 2. If buffer is 0xEF 0xBB 0xBF, then read three\n // bytes from ioQueue. (Do nothing with those bytes.)\n if (buffer[0] === 0xEF && buffer[1] === 0xBB && buffer[2] === 0xBF) {\n buffer = buffer.subarray(3)\n }\n\n // 3. Process a queue with an instance of UTF-8\u2019s\n // decoder, ioQueue, output, and \"replacement\".\n const output = textDecoder.decode(buffer)\n\n // 4. Return output.\n return output\n}\n\nclass EnvironmentSettingsObjectBase {\n get baseUrl () {\n return getGlobalOrigin()\n }\n\n get origin () {\n return this.baseUrl?.origin\n }\n\n policyContainer = makePolicyContainer()\n}\n\nclass EnvironmentSettingsObject {\n settingsObject = new EnvironmentSettingsObjectBase()\n}\n\nconst environmentSettingsObject = new EnvironmentSettingsObject()\n\nmodule.exports = {\n isAborted,\n isCancelled,\n isValidEncodedURL,\n createDeferredPromise,\n ReadableStreamFrom,\n tryUpgradeRequestToAPotentiallyTrustworthyURL,\n clampAndCoarsenConnectionTimingInfo,\n coarsenedSharedCurrentTime,\n determineRequestsReferrer,\n makePolicyContainer,\n clonePolicyContainer,\n appendFetchMetadata,\n appendRequestOriginHeader,\n TAOCheck,\n corsCheck,\n crossOriginResourcePolicyCheck,\n createOpaqueTimingInfo,\n setRequestReferrerPolicyOnRedirect,\n isValidHTTPToken,\n requestBadPort,\n requestCurrentURL,\n responseURL,\n responseLocationURL,\n isBlobLike,\n isURLPotentiallyTrustworthy,\n isValidReasonPhrase,\n sameOrigin,\n normalizeMethod,\n serializeJavascriptValueToJSONString,\n iteratorMixin,\n createIterator,\n isValidHeaderName,\n isValidHeaderValue,\n isErrorLike,\n fullyReadBody,\n bytesMatch,\n isReadableStreamLike,\n readableStreamClose,\n isomorphicEncode,\n urlIsLocal,\n urlHasHttpsScheme,\n urlIsHttpHttpsScheme,\n readAllBytes,\n simpleRangeHeaderValue,\n buildContentRange,\n parseMetadata,\n createInflate,\n extractMimeType,\n getDecodeSplit,\n utf8DecodeBytes,\n environmentSettingsObject\n}\n", "'use strict'\n\nmodule.exports = {\n kUrl: Symbol('url'),\n kHeaders: Symbol('headers'),\n kSignal: Symbol('signal'),\n kState: Symbol('state'),\n kDispatcher: Symbol('dispatcher')\n}\n", "'use strict'\n\nconst { Blob, File } = require('node:buffer')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\n\n// TODO(@KhafraDev): remove\nclass FileLike {\n constructor (blobLike, fileName, options = {}) {\n // TODO: argument idl type check\n\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName\n\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // TODO\n const t = options.type\n\n // 2. Convert every character in t to ASCII lowercase.\n // TODO\n\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n const d = options.lastModified ?? Date.now()\n\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n\n this[kState] = {\n blobLike,\n name: n,\n type: t,\n lastModified: d\n }\n }\n\n stream (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.stream(...args)\n }\n\n arrayBuffer (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.arrayBuffer(...args)\n }\n\n slice (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.slice(...args)\n }\n\n text (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.text(...args)\n }\n\n get size () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.size\n }\n\n get type () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.type\n }\n\n get name () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].name\n }\n\n get lastModified () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].lastModified\n }\n\n get [Symbol.toStringTag] () {\n return 'File'\n }\n}\n\nwebidl.converters.Blob = webidl.interfaceConverter(Blob)\n\n// If this function is moved to ./util.js, some tools (such as\n// rollup) will warn about circular dependencies. See:\n// https://github.com/nodejs/undici/issues/1629\nfunction isFileLike (object) {\n return (\n (object instanceof File) ||\n (\n object &&\n (typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function') &&\n object[Symbol.toStringTag] === 'File'\n )\n )\n}\n\nmodule.exports = { FileLike, isFileLike }\n", "'use strict'\n\nconst { isBlobLike, iteratorMixin } = require('./util')\nconst { kState } = require('./symbols')\nconst { kEnumerableProperty } = require('../../core/util')\nconst { FileLike, isFileLike } = require('./file')\nconst { webidl } = require('./webidl')\nconst { File: NativeFile } = require('node:buffer')\nconst nodeUtil = require('node:util')\n\n/** @type {globalThis['File']} */\nconst File = globalThis.File ?? NativeFile\n\n// https://xhr.spec.whatwg.org/#formdata\nclass FormData {\n constructor (form) {\n webidl.util.markAsUncloneable(this)\n\n if (form !== undefined) {\n throw webidl.errors.conversionFailed({\n prefix: 'FormData constructor',\n argument: 'Argument 1',\n types: ['undefined']\n })\n }\n\n this[kState] = []\n }\n\n append (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.append'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name, prefix, 'name')\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, prefix, 'value', { strict: false })\n : webidl.converters.USVString(value, prefix, 'value')\n filename = arguments.length === 3\n ? webidl.converters.USVString(filename, prefix, 'filename')\n : undefined\n\n // 2. Let entry be the result of creating an entry with\n // name, value, and filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. Append entry to this\u2019s entry list.\n this[kState].push(entry)\n }\n\n delete (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // The delete(name) method steps are to remove all entries whose name\n // is name from this\u2019s entry list.\n this[kState] = this[kState].filter(entry => entry.name !== name)\n }\n\n get (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.get'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // 1. If there is no entry whose name is name in this\u2019s entry list,\n // then return null.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx === -1) {\n return null\n }\n\n // 2. Return the value of the first entry whose name is name from\n // this\u2019s entry list.\n return this[kState][idx].value\n }\n\n getAll (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.getAll'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // 1. If there is no entry whose name is name in this\u2019s entry list,\n // then return the empty list.\n // 2. Return the values of all entries whose name is name, in order,\n // from this\u2019s entry list.\n return this[kState]\n .filter((entry) => entry.name === name)\n .map((entry) => entry.value)\n }\n\n has (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.has'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // The has(name) method steps are to return true if there is an entry\n // whose name is name in this\u2019s entry list; otherwise false.\n return this[kState].findIndex((entry) => entry.name === name) !== -1\n }\n\n set (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.set'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // The set(name, value) and set(name, blobValue, filename) method steps\n // are:\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name, prefix, 'name')\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, prefix, 'name', { strict: false })\n : webidl.converters.USVString(value, prefix, 'name')\n filename = arguments.length === 3\n ? webidl.converters.USVString(filename, prefix, 'name')\n : undefined\n\n // 2. Let entry be the result of creating an entry with name, value, and\n // filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. If there are entries in this\u2019s entry list whose name is name, then\n // replace the first such entry with entry and remove the others.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx !== -1) {\n this[kState] = [\n ...this[kState].slice(0, idx),\n entry,\n ...this[kState].slice(idx + 1).filter((entry) => entry.name !== name)\n ]\n } else {\n // 4. Otherwise, append entry to this\u2019s entry list.\n this[kState].push(entry)\n }\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n const state = this[kState].reduce((a, b) => {\n if (a[b.name]) {\n if (Array.isArray(a[b.name])) {\n a[b.name].push(b.value)\n } else {\n a[b.name] = [a[b.name], b.value]\n }\n } else {\n a[b.name] = b.value\n }\n\n return a\n }, { __proto__: null })\n\n options.depth ??= depth\n options.colors ??= true\n\n const output = nodeUtil.formatWithOptions(options, state)\n\n // remove [Object null prototype]\n return `FormData ${output.slice(output.indexOf(']') + 2)}`\n }\n}\n\niteratorMixin('FormData', FormData, kState, 'name', 'value')\n\nObject.defineProperties(FormData.prototype, {\n append: kEnumerableProperty,\n delete: kEnumerableProperty,\n get: kEnumerableProperty,\n getAll: kEnumerableProperty,\n has: kEnumerableProperty,\n set: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'FormData',\n configurable: true\n }\n})\n\n/**\n * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#create-an-entry\n * @param {string} name\n * @param {string|Blob} value\n * @param {?string} filename\n * @returns\n */\nfunction makeEntry (name, value, filename) {\n // 1. Set name to the result of converting name into a scalar value string.\n // Note: This operation was done by the webidl converter USVString.\n\n // 2. If value is a string, then set value to the result of converting\n // value into a scalar value string.\n if (typeof value === 'string') {\n // Note: This operation was done by the webidl converter USVString.\n } else {\n // 3. Otherwise:\n\n // 1. If value is not a File object, then set value to a new File object,\n // representing the same bytes, whose name attribute value is \"blob\"\n if (!isFileLike(value)) {\n value = value instanceof Blob\n ? new File([value], 'blob', { type: value.type })\n : new FileLike(value, 'blob', { type: value.type })\n }\n\n // 2. If filename is given, then set value to a new File object,\n // representing the same bytes, whose name attribute is filename.\n if (filename !== undefined) {\n /** @type {FilePropertyBag} */\n const options = {\n type: value.type,\n lastModified: value.lastModified\n }\n\n value = value instanceof NativeFile\n ? new File([value], filename, options)\n : new FileLike(value, filename, options)\n }\n }\n\n // 4. Return an entry whose name is name and whose value is value.\n return { name, value }\n}\n\nmodule.exports = { FormData, makeEntry }\n", "'use strict'\n\nconst { isUSVString, bufferToLowerCasedHeaderName } = require('../../core/util')\nconst { utf8DecodeBytes } = require('./util')\nconst { HTTP_TOKEN_CODEPOINTS, isomorphicDecode } = require('./data-url')\nconst { isFileLike } = require('./file')\nconst { makeEntry } = require('./formdata')\nconst assert = require('node:assert')\nconst { File: NodeFile } = require('node:buffer')\n\nconst File = globalThis.File ?? NodeFile\n\nconst formDataNameBuffer = Buffer.from('form-data; name=\"')\nconst filenameBuffer = Buffer.from('; filename')\nconst dd = Buffer.from('--')\nconst ddcrlf = Buffer.from('--\\r\\n')\n\n/**\n * @param {string} chars\n */\nfunction isAsciiString (chars) {\n for (let i = 0; i < chars.length; ++i) {\n if ((chars.charCodeAt(i) & ~0x7F) !== 0) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-boundary\n * @param {string} boundary\n */\nfunction validateBoundary (boundary) {\n const length = boundary.length\n\n // - its length is greater or equal to 27 and lesser or equal to 70, and\n if (length < 27 || length > 70) {\n return false\n }\n\n // - it is composed by bytes in the ranges 0x30 to 0x39, 0x41 to 0x5A, or\n // 0x61 to 0x7A, inclusive (ASCII alphanumeric), or which are 0x27 ('),\n // 0x2D (-) or 0x5F (_).\n for (let i = 0; i < length; ++i) {\n const cp = boundary.charCodeAt(i)\n\n if (!(\n (cp >= 0x30 && cp <= 0x39) ||\n (cp >= 0x41 && cp <= 0x5a) ||\n (cp >= 0x61 && cp <= 0x7a) ||\n cp === 0x27 ||\n cp === 0x2d ||\n cp === 0x5f\n )) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-parser\n * @param {Buffer} input\n * @param {ReturnType} mimeType\n */\nfunction multipartFormDataParser (input, mimeType) {\n // 1. Assert: mimeType\u2019s essence is \"multipart/form-data\".\n assert(mimeType !== 'failure' && mimeType.essence === 'multipart/form-data')\n\n const boundaryString = mimeType.parameters.get('boundary')\n\n // 2. If mimeType\u2019s parameters[\"boundary\"] does not exist, return failure.\n // Otherwise, let boundary be the result of UTF-8 decoding mimeType\u2019s\n // parameters[\"boundary\"].\n if (boundaryString === undefined) {\n return 'failure'\n }\n\n const boundary = Buffer.from(`--${boundaryString}`, 'utf8')\n\n // 3. Let entry list be an empty entry list.\n const entryList = []\n\n // 4. Let position be a pointer to a byte in input, initially pointing at\n // the first byte.\n const position = { position: 0 }\n\n // Note: undici addition, allows leading and trailing CRLFs.\n while (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n position.position += 2\n }\n\n let trailing = input.length\n\n while (input[trailing - 1] === 0x0a && input[trailing - 2] === 0x0d) {\n trailing -= 2\n }\n\n if (trailing !== input.length) {\n input = input.subarray(0, trailing)\n }\n\n // 5. While true:\n while (true) {\n // 5.1. If position points to a sequence of bytes starting with 0x2D 0x2D\n // (`--`) followed by boundary, advance position by 2 + the length of\n // boundary. Otherwise, return failure.\n // Note: boundary is padded with 2 dashes already, no need to add 2.\n if (input.subarray(position.position, position.position + boundary.length).equals(boundary)) {\n position.position += boundary.length\n } else {\n return 'failure'\n }\n\n // 5.2. If position points to the sequence of bytes 0x2D 0x2D 0x0D 0x0A\n // (`--` followed by CR LF) followed by the end of input, return entry list.\n // Note: a body does NOT need to end with CRLF. It can end with --.\n if (\n (position.position === input.length - 2 && bufferStartsWith(input, dd, position)) ||\n (position.position === input.length - 4 && bufferStartsWith(input, ddcrlf, position))\n ) {\n return entryList\n }\n\n // 5.3. If position does not point to a sequence of bytes starting with 0x0D\n // 0x0A (CR LF), return failure.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n }\n\n // 5.4. Advance position by 2. (This skips past the newline.)\n position.position += 2\n\n // 5.5. Let name, filename and contentType be the result of parsing\n // multipart/form-data headers on input and position, if the result\n // is not failure. Otherwise, return failure.\n const result = parseMultipartFormDataHeaders(input, position)\n\n if (result === 'failure') {\n return 'failure'\n }\n\n let { name, filename, contentType, encoding } = result\n\n // 5.6. Advance position by 2. (This skips past the empty line that marks\n // the end of the headers.)\n position.position += 2\n\n // 5.7. Let body be the empty byte sequence.\n let body\n\n // 5.8. Body loop: While position is not past the end of input:\n // TODO: the steps here are completely wrong\n {\n const boundaryIndex = input.indexOf(boundary.subarray(2), position.position)\n\n if (boundaryIndex === -1) {\n return 'failure'\n }\n\n body = input.subarray(position.position, boundaryIndex - 4)\n\n position.position += body.length\n\n // Note: position must be advanced by the body's length before being\n // decoded, otherwise the parsing will fail.\n if (encoding === 'base64') {\n body = Buffer.from(body.toString(), 'base64')\n }\n }\n\n // 5.9. If position does not point to a sequence of bytes starting with\n // 0x0D 0x0A (CR LF), return failure. Otherwise, advance position by 2.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n\n // 5.10. If filename is not null:\n let value\n\n if (filename !== null) {\n // 5.10.1. If contentType is null, set contentType to \"text/plain\".\n contentType ??= 'text/plain'\n\n // 5.10.2. If contentType is not an ASCII string, set contentType to the empty string.\n\n // Note: `buffer.isAscii` can be used at zero-cost, but converting a string to a buffer is a high overhead.\n // Content-Type is a relatively small string, so it is faster to use `String#charCodeAt`.\n if (!isAsciiString(contentType)) {\n contentType = ''\n }\n\n // 5.10.3. Let value be a new File object with name filename, type contentType, and body body.\n value = new File([body], filename, { type: contentType })\n } else {\n // 5.11. Otherwise:\n\n // 5.11.1. Let value be the UTF-8 decoding without BOM of body.\n value = utf8DecodeBytes(Buffer.from(body))\n }\n\n // 5.12. Assert: name is a scalar value string and value is either a scalar value string or a File object.\n assert(isUSVString(name))\n assert((typeof value === 'string' && isUSVString(value)) || isFileLike(value))\n\n // 5.13. Create an entry with name and value, and append it to entry list.\n entryList.push(makeEntry(name, value, filename))\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-multipart-form-data-headers\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataHeaders (input, position) {\n // 1. Let name, filename and contentType be null.\n let name = null\n let filename = null\n let contentType = null\n let encoding = null\n\n // 2. While true:\n while (true) {\n // 2.1. If position points to a sequence of bytes starting with 0x0D 0x0A (CR LF):\n if (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n // 2.1.1. If name is null, return failure.\n if (name === null) {\n return 'failure'\n }\n\n // 2.1.2. Return name, filename and contentType.\n return { name, filename, contentType, encoding }\n }\n\n // 2.2. Let header name be the result of collecting a sequence of bytes that are\n // not 0x0A (LF), 0x0D (CR) or 0x3A (:), given position.\n let headerName = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x3a,\n input,\n position\n )\n\n // 2.3. Remove any HTTP tab or space bytes from the start or end of header name.\n headerName = removeChars(headerName, true, true, (char) => char === 0x9 || char === 0x20)\n\n // 2.4. If header name does not match the field-name token production, return failure.\n if (!HTTP_TOKEN_CODEPOINTS.test(headerName.toString())) {\n return 'failure'\n }\n\n // 2.5. If the byte at position is not 0x3A (:), return failure.\n if (input[position.position] !== 0x3a) {\n return 'failure'\n }\n\n // 2.6. Advance position by 1.\n position.position++\n\n // 2.7. Collect a sequence of bytes that are HTTP tab or space bytes given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char === 0x20 || char === 0x09,\n input,\n position\n )\n\n // 2.8. Byte-lowercase header name and switch on the result:\n switch (bufferToLowerCasedHeaderName(headerName)) {\n case 'content-disposition': {\n // 1. Set name and filename to null.\n name = filename = null\n\n // 2. If position does not point to a sequence of bytes starting with\n // `form-data; name=\"`, return failure.\n if (!bufferStartsWith(input, formDataNameBuffer, position)) {\n return 'failure'\n }\n\n // 3. Advance position so it points at the byte after the next 0x22 (\")\n // byte (the one in the sequence of bytes matched above).\n position.position += 17\n\n // 4. Set name to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return\n // failure.\n name = parseMultipartFormDataName(input, position)\n\n if (name === null) {\n return 'failure'\n }\n\n // 5. If position points to a sequence of bytes starting with `; filename=\"`:\n if (bufferStartsWith(input, filenameBuffer, position)) {\n // Note: undici also handles filename*\n let check = position.position + filenameBuffer.length\n\n if (input[check] === 0x2a) {\n position.position += 1\n check += 1\n }\n\n if (input[check] !== 0x3d || input[check + 1] !== 0x22) { // =\"\n return 'failure'\n }\n\n // 1. Advance position so it points at the byte after the next 0x22 (\") byte\n // (the one in the sequence of bytes matched above).\n position.position += 12\n\n // 2. Set filename to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return failure.\n filename = parseMultipartFormDataName(input, position)\n\n if (filename === null) {\n return 'failure'\n }\n }\n\n break\n }\n case 'content-type': {\n // 1. Let header value be the result of collecting a sequence of bytes that are\n // not 0x0A (LF) or 0x0D (CR), given position.\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n // 2. Remove any HTTP tab or space bytes from the end of header value.\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n // 3. Set contentType to the isomorphic decoding of header value.\n contentType = isomorphicDecode(headerValue)\n\n break\n }\n case 'content-transfer-encoding': {\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n encoding = isomorphicDecode(headerValue)\n\n break\n }\n default: {\n // Collect a sequence of bytes that are not 0x0A (LF) or 0x0D (CR), given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n }\n }\n\n // 2.9. If position does not point to a sequence of bytes starting with 0x0D 0x0A\n // (CR LF), return failure. Otherwise, advance position by 2 (past the newline).\n if (input[position.position] !== 0x0d && input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-a-multipart-form-data-name\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataName (input, position) {\n // 1. Assert: The byte at (position - 1) is 0x22 (\").\n assert(input[position.position - 1] === 0x22)\n\n // 2. Let name be the result of collecting a sequence of bytes that are not 0x0A (LF), 0x0D (CR) or 0x22 (\"), given position.\n /** @type {string | Buffer} */\n let name = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x22,\n input,\n position\n )\n\n // 3. If the byte at position is not 0x22 (\"), return failure. Otherwise, advance position by 1.\n if (input[position.position] !== 0x22) {\n return null // name could be 'failure'\n } else {\n position.position++\n }\n\n // 4. Replace any occurrence of the following subsequences in name with the given byte:\n // - `%0A`: 0x0A (LF)\n // - `%0D`: 0x0D (CR)\n // - `%22`: 0x22 (\")\n name = new TextDecoder().decode(name)\n .replace(/%0A/ig, '\\n')\n .replace(/%0D/ig, '\\r')\n .replace(/%22/g, '\"')\n\n // 5. Return the UTF-8 decoding without BOM of name.\n return name\n}\n\n/**\n * @param {(char: number) => boolean} condition\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfBytes (condition, input, position) {\n let start = position.position\n\n while (start < input.length && condition(input[start])) {\n ++start\n }\n\n return input.subarray(position.position, (position.position = start))\n}\n\n/**\n * @param {Buffer} buf\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns {Buffer}\n */\nfunction removeChars (buf, leading, trailing, predicate) {\n let lead = 0\n let trail = buf.length - 1\n\n if (leading) {\n while (lead < buf.length && predicate(buf[lead])) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(buf[trail])) trail--\n }\n\n return lead === 0 && trail === buf.length - 1 ? buf : buf.subarray(lead, trail + 1)\n}\n\n/**\n * Checks if {@param buffer} starts with {@param start}\n * @param {Buffer} buffer\n * @param {Buffer} start\n * @param {{ position: number }} position\n */\nfunction bufferStartsWith (buffer, start, position) {\n if (buffer.length < start.length) {\n return false\n }\n\n for (let i = 0; i < start.length; i++) {\n if (start[i] !== buffer[position.position + i]) {\n return false\n }\n }\n\n return true\n}\n\nmodule.exports = {\n multipartFormDataParser,\n validateBoundary\n}\n", "'use strict'\n\nconst util = require('../../core/util')\nconst {\n ReadableStreamFrom,\n isBlobLike,\n isReadableStreamLike,\n readableStreamClose,\n createDeferredPromise,\n fullyReadBody,\n extractMimeType,\n utf8DecodeBytes\n} = require('./util')\nconst { FormData } = require('./formdata')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { Blob } = require('node:buffer')\nconst assert = require('node:assert')\nconst { isErrored, isDisturbed } = require('node:stream')\nconst { isArrayBuffer } = require('node:util/types')\nconst { serializeAMimeType } = require('./data-url')\nconst { multipartFormDataParser } = require('./formdata-parser')\nlet random\n\ntry {\n const crypto = require('node:crypto')\n random = (max) => crypto.randomInt(0, max)\n} catch {\n random = (max) => Math.floor(Math.random(max))\n}\n\nconst textEncoder = new TextEncoder()\nfunction noop () {}\n\nconst hasFinalizationRegistry = globalThis.FinalizationRegistry && process.version.indexOf('v18') !== 0\nlet streamRegistry\n\nif (hasFinalizationRegistry) {\n streamRegistry = new FinalizationRegistry((weakRef) => {\n const stream = weakRef.deref()\n if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) {\n stream.cancel('Response object has been garbage collected').catch(noop)\n }\n })\n}\n\n// https://fetch.spec.whatwg.org/#concept-bodyinit-extract\nfunction extractBody (object, keepalive = false) {\n // 1. Let stream be null.\n let stream = null\n\n // 2. If object is a ReadableStream object, then set stream to object.\n if (object instanceof ReadableStream) {\n stream = object\n } else if (isBlobLike(object)) {\n // 3. Otherwise, if object is a Blob object, set stream to the\n // result of running object\u2019s get stream.\n stream = object.stream()\n } else {\n // 4. Otherwise, set stream to a new ReadableStream object, and set\n // up stream with byte reading support.\n stream = new ReadableStream({\n async pull (controller) {\n const buffer = typeof source === 'string' ? textEncoder.encode(source) : source\n\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n\n queueMicrotask(() => readableStreamClose(controller))\n },\n start () {},\n type: 'bytes'\n })\n }\n\n // 5. Assert: stream is a ReadableStream object.\n assert(isReadableStreamLike(stream))\n\n // 6. Let action be null.\n let action = null\n\n // 7. Let source be null.\n let source = null\n\n // 8. Let length be null.\n let length = null\n\n // 9. Let type be null.\n let type = null\n\n // 10. Switch on object:\n if (typeof object === 'string') {\n // Set source to the UTF-8 encoding of object.\n // Note: setting source to a Uint8Array here breaks some mocking assumptions.\n source = object\n\n // Set type to `text/plain;charset=UTF-8`.\n type = 'text/plain;charset=UTF-8'\n } else if (object instanceof URLSearchParams) {\n // URLSearchParams\n\n // spec says to run application/x-www-form-urlencoded on body.list\n // this is implemented in Node.js as apart of an URLSearchParams instance toString method\n // See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490\n // and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100\n\n // Set source to the result of running the application/x-www-form-urlencoded serializer with object\u2019s list.\n source = object.toString()\n\n // Set type to `application/x-www-form-urlencoded;charset=UTF-8`.\n type = 'application/x-www-form-urlencoded;charset=UTF-8'\n } else if (isArrayBuffer(object)) {\n // BufferSource/ArrayBuffer\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.slice())\n } else if (ArrayBuffer.isView(object)) {\n // BufferSource/ArrayBufferView\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))\n } else if (util.isFormDataLike(object)) {\n const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`\n const prefix = `--${boundary}\\r\\nContent-Disposition: form-data`\n\n /*! formdata-polyfill. MIT License. Jimmy W\u00E4rting */\n const escape = (str) =>\n str.replace(/\\n/g, '%0A').replace(/\\r/g, '%0D').replace(/\"/g, '%22')\n const normalizeLinefeeds = (value) => value.replace(/\\r?\\n|\\r/g, '\\r\\n')\n\n // Set action to this step: run the multipart/form-data\n // encoding algorithm, with object\u2019s entry list and UTF-8.\n // - This ensures that the body is immutable and can't be changed afterwords\n // - That the content-length is calculated in advance.\n // - And that all parts are pre-encoded and ready to be sent.\n\n const blobParts = []\n const rn = new Uint8Array([13, 10]) // '\\r\\n'\n length = 0\n let hasUnknownSizeValue = false\n\n for (const [name, value] of object) {\n if (typeof value === 'string') {\n const chunk = textEncoder.encode(prefix +\n `; name=\"${escape(normalizeLinefeeds(name))}\"` +\n `\\r\\n\\r\\n${normalizeLinefeeds(value)}\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n } else {\n const chunk = textEncoder.encode(`${prefix}; name=\"${escape(normalizeLinefeeds(name))}\"` +\n (value.name ? `; filename=\"${escape(value.name)}\"` : '') + '\\r\\n' +\n `Content-Type: ${\n value.type || 'application/octet-stream'\n }\\r\\n\\r\\n`)\n blobParts.push(chunk, value, rn)\n if (typeof value.size === 'number') {\n length += chunk.byteLength + value.size + rn.byteLength\n } else {\n hasUnknownSizeValue = true\n }\n }\n }\n\n // CRLF is appended to the body to function with legacy servers and match other implementations.\n // https://github.com/curl/curl/blob/3434c6b46e682452973972e8313613dfa58cd690/lib/mime.c#L1029-L1030\n // https://github.com/form-data/form-data/issues/63\n const chunk = textEncoder.encode(`--${boundary}--\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n if (hasUnknownSizeValue) {\n length = null\n }\n\n // Set source to object.\n source = object\n\n action = async function * () {\n for (const part of blobParts) {\n if (part.stream) {\n yield * part.stream()\n } else {\n yield part\n }\n }\n }\n\n // Set type to `multipart/form-data; boundary=`,\n // followed by the multipart/form-data boundary string generated\n // by the multipart/form-data encoding algorithm.\n type = `multipart/form-data; boundary=${boundary}`\n } else if (isBlobLike(object)) {\n // Blob\n\n // Set source to object.\n source = object\n\n // Set length to object\u2019s size.\n length = object.size\n\n // If object\u2019s type attribute is not the empty byte sequence, set\n // type to its value.\n if (object.type) {\n type = object.type\n }\n } else if (typeof object[Symbol.asyncIterator] === 'function') {\n // If keepalive is true, then throw a TypeError.\n if (keepalive) {\n throw new TypeError('keepalive')\n }\n\n // If object is disturbed or locked, then throw a TypeError.\n if (util.isDisturbed(object) || object.locked) {\n throw new TypeError(\n 'Response body object should not be disturbed or locked'\n )\n }\n\n stream =\n object instanceof ReadableStream ? object : ReadableStreamFrom(object)\n }\n\n // 11. If source is a byte sequence, then set action to a\n // step that returns source and length to source\u2019s length.\n if (typeof source === 'string' || util.isBuffer(source)) {\n length = Buffer.byteLength(source)\n }\n\n // 12. If action is non-null, then run these steps in in parallel:\n if (action != null) {\n // Run action.\n let iterator\n stream = new ReadableStream({\n async start () {\n iterator = action(object)[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { value, done } = await iterator.next()\n if (done) {\n // When running action is done, close stream.\n queueMicrotask(() => {\n controller.close()\n controller.byobRequest?.respond(0)\n })\n } else {\n // Whenever one or more bytes are available and stream is not errored,\n // enqueue a Uint8Array wrapping an ArrayBuffer containing the available\n // bytes into stream.\n if (!isErrored(stream)) {\n const buffer = new Uint8Array(value)\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: 'bytes'\n })\n }\n\n // 13. Let body be a body whose stream is stream, source is source,\n // and length is length.\n const body = { stream, source, length }\n\n // 14. Return (body, type).\n return [body, type]\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit-safely-extract\nfunction safelyExtractBody (object, keepalive = false) {\n // To safely extract a body and a `Content-Type` value from\n // a byte sequence or BodyInit object object, run these steps:\n\n // 1. If object is a ReadableStream object, then:\n if (object instanceof ReadableStream) {\n // Assert: object is neither disturbed nor locked.\n // istanbul ignore next\n assert(!util.isDisturbed(object), 'The body has already been consumed.')\n // istanbul ignore next\n assert(!object.locked, 'The stream is locked.')\n }\n\n // 2. Return the results of extracting object.\n return extractBody(object, keepalive)\n}\n\nfunction cloneBody (instance, body) {\n // To clone a body body, run these steps:\n\n // https://fetch.spec.whatwg.org/#concept-body-clone\n\n // 1. Let \u00AB out1, out2 \u00BB be the result of teeing body\u2019s stream.\n const [out1, out2] = body.stream.tee()\n\n // 2. Set body\u2019s stream to out1.\n body.stream = out1\n\n // 3. Return a body whose stream is out2 and other members are copied from body.\n return {\n stream: out2,\n length: body.length,\n source: body.source\n }\n}\n\nfunction throwIfAborted (state) {\n if (state.aborted) {\n throw new DOMException('The operation was aborted.', 'AbortError')\n }\n}\n\nfunction bodyMixinMethods (instance) {\n const methods = {\n blob () {\n // The blob() method steps are to return the result of\n // running consume body with this and the following step\n // given a byte sequence bytes: return a Blob whose\n // contents are bytes and whose type attribute is this\u2019s\n // MIME type.\n return consumeBody(this, (bytes) => {\n let mimeType = bodyMimeType(this)\n\n if (mimeType === null) {\n mimeType = ''\n } else if (mimeType) {\n mimeType = serializeAMimeType(mimeType)\n }\n\n // Return a Blob whose contents are bytes and type attribute\n // is mimeType.\n return new Blob([bytes], { type: mimeType })\n }, instance)\n },\n\n arrayBuffer () {\n // The arrayBuffer() method steps are to return the result\n // of running consume body with this and the following step\n // given a byte sequence bytes: return a new ArrayBuffer\n // whose contents are bytes.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes).buffer\n }, instance)\n },\n\n text () {\n // The text() method steps are to return the result of running\n // consume body with this and UTF-8 decode.\n return consumeBody(this, utf8DecodeBytes, instance)\n },\n\n json () {\n // The json() method steps are to return the result of running\n // consume body with this and parse JSON from bytes.\n return consumeBody(this, parseJSONFromBytes, instance)\n },\n\n formData () {\n // The formData() method steps are to return the result of running\n // consume body with this and the following step given a byte sequence bytes:\n return consumeBody(this, (value) => {\n // 1. Let mimeType be the result of get the MIME type with this.\n const mimeType = bodyMimeType(this)\n\n // 2. If mimeType is non-null, then switch on mimeType\u2019s essence and run\n // the corresponding steps:\n if (mimeType !== null) {\n switch (mimeType.essence) {\n case 'multipart/form-data': {\n // 1. ... [long step]\n const parsed = multipartFormDataParser(value, mimeType)\n\n // 2. If that fails for some reason, then throw a TypeError.\n if (parsed === 'failure') {\n throw new TypeError('Failed to parse body as FormData.')\n }\n\n // 3. Return a new FormData object, appending each entry,\n // resulting from the parsing operation, to its entry list.\n const fd = new FormData()\n fd[kState] = parsed\n\n return fd\n }\n case 'application/x-www-form-urlencoded': {\n // 1. Let entries be the result of parsing bytes.\n const entries = new URLSearchParams(value.toString())\n\n // 2. If entries is failure, then throw a TypeError.\n\n // 3. Return a new FormData object whose entry list is entries.\n const fd = new FormData()\n\n for (const [name, value] of entries) {\n fd.append(name, value)\n }\n\n return fd\n }\n }\n }\n\n // 3. Throw a TypeError.\n throw new TypeError(\n 'Content-Type was not one of \"multipart/form-data\" or \"application/x-www-form-urlencoded\".'\n )\n }, instance)\n },\n\n bytes () {\n // The bytes() method steps are to return the result of running consume body\n // with this and the following step given a byte sequence bytes: return the\n // result of creating a Uint8Array from bytes in this\u2019s relevant realm.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes)\n }, instance)\n }\n }\n\n return methods\n}\n\nfunction mixinBody (prototype) {\n Object.assign(prototype.prototype, bodyMixinMethods(prototype))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-consume-body\n * @param {Response|Request} object\n * @param {(value: unknown) => unknown} convertBytesToJSValue\n * @param {Response|Request} instance\n */\nasync function consumeBody (object, convertBytesToJSValue, instance) {\n webidl.brandCheck(object, instance)\n\n // 1. If object is unusable, then return a promise rejected\n // with a TypeError.\n if (bodyUnusable(object)) {\n throw new TypeError('Body is unusable: Body has already been read')\n }\n\n throwIfAborted(object[kState])\n\n // 2. Let promise be a new promise.\n const promise = createDeferredPromise()\n\n // 3. Let errorSteps given error be to reject promise with error.\n const errorSteps = (error) => promise.reject(error)\n\n // 4. Let successSteps given a byte sequence data be to resolve\n // promise with the result of running convertBytesToJSValue\n // with data. If that threw an exception, then run errorSteps\n // with that exception.\n const successSteps = (data) => {\n try {\n promise.resolve(convertBytesToJSValue(data))\n } catch (e) {\n errorSteps(e)\n }\n }\n\n // 5. If object\u2019s body is null, then run successSteps with an\n // empty byte sequence.\n if (object[kState].body == null) {\n successSteps(Buffer.allocUnsafe(0))\n return promise.promise\n }\n\n // 6. Otherwise, fully read object\u2019s body given successSteps,\n // errorSteps, and object\u2019s relevant global object.\n await fullyReadBody(object[kState].body, successSteps, errorSteps)\n\n // 7. Return promise.\n return promise.promise\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction bodyUnusable (object) {\n const body = object[kState].body\n\n // An object including the Body interface mixin is\n // said to be unusable if its body is non-null and\n // its body\u2019s stream is disturbed or locked.\n return body != null && (body.stream.locked || util.isDisturbed(body.stream))\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value\n * @param {Uint8Array} bytes\n */\nfunction parseJSONFromBytes (bytes) {\n return JSON.parse(utf8DecodeBytes(bytes))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-mime-type\n * @param {import('./response').Response|import('./request').Request} requestOrResponse\n */\nfunction bodyMimeType (requestOrResponse) {\n // 1. Let headers be null.\n // 2. If requestOrResponse is a Request object, then set headers to requestOrResponse\u2019s request\u2019s header list.\n // 3. Otherwise, set headers to requestOrResponse\u2019s response\u2019s header list.\n /** @type {import('./headers').HeadersList} */\n const headers = requestOrResponse[kState].headersList\n\n // 4. Let mimeType be the result of extracting a MIME type from headers.\n const mimeType = extractMimeType(headers)\n\n // 5. If mimeType is failure, then return null.\n if (mimeType === 'failure') {\n return null\n }\n\n // 6. Return mimeType.\n return mimeType\n}\n\nmodule.exports = {\n extractBody,\n safelyExtractBody,\n cloneBody,\n mixinBody,\n streamRegistry,\n hasFinalizationRegistry,\n bodyUnusable\n}\n", "'use strict'\n\n/* global WebAssembly */\n\nconst assert = require('node:assert')\nconst util = require('../core/util.js')\nconst { channels } = require('../core/diagnostics.js')\nconst timers = require('../util/timers.js')\nconst {\n RequestContentLengthMismatchError,\n ResponseContentLengthMismatchError,\n RequestAbortedError,\n InvalidArgumentError,\n HeadersTimeoutError,\n HeadersOverflowError,\n SocketError,\n InformationalError,\n BodyTimeoutError,\n HTTPParserError,\n ResponseExceededMaxSizeError\n} = require('../core/errors.js')\nconst {\n kUrl,\n kReset,\n kClient,\n kParser,\n kBlocking,\n kRunning,\n kPending,\n kSize,\n kWriting,\n kQueue,\n kNoRef,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kSocket,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kMaxRequests,\n kCounter,\n kMaxResponseSize,\n kOnError,\n kResume,\n kHTTPContext\n} = require('../core/symbols.js')\n\nconst constants = require('../llhttp/constants.js')\nconst EMPTY_BUF = Buffer.alloc(0)\nconst FastBuffer = Buffer[Symbol.species]\nconst addListener = util.addListener\nconst removeAllListeners = util.removeAllListeners\nconst kIdleSocketValidation = Symbol('kIdleSocketValidation')\nconst kIdleSocketValidationTimeout = Symbol('kIdleSocketValidationTimeout')\nconst kSocketUsed = Symbol('kSocketUsed')\n\nlet extractBody\n\nasync function lazyllhttp () {\n const llhttpWasmData = process.env.JEST_WORKER_ID ? require('../llhttp/llhttp-wasm.js') : undefined\n\n let mod\n try {\n mod = await WebAssembly.compile(require('../llhttp/llhttp_simd-wasm.js'))\n } catch (e) {\n /* istanbul ignore next */\n\n // We could check if the error was caused by the simd option not\n // being enabled, but the occurring of this other error\n // * https://github.com/emscripten-core/emscripten/issues/11495\n // got me to remove that check to avoid breaking Node 12.\n mod = await WebAssembly.compile(llhttpWasmData || require('../llhttp/llhttp-wasm.js'))\n }\n\n return await WebAssembly.instantiate(mod, {\n env: {\n /* eslint-disable camelcase */\n\n wasm_on_url: (p, at, len) => {\n /* istanbul ignore next */\n return 0\n },\n wasm_on_status: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_begin: (p) => {\n assert(currentParser.ptr === p)\n return currentParser.onMessageBegin() || 0\n },\n wasm_on_header_field: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_header_value: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => {\n assert(currentParser.ptr === p)\n return currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0\n },\n wasm_on_body: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_complete: (p) => {\n assert(currentParser.ptr === p)\n return currentParser.onMessageComplete() || 0\n }\n\n /* eslint-enable camelcase */\n }\n })\n}\n\nlet llhttpInstance = null\nlet llhttpPromise = lazyllhttp()\nllhttpPromise.catch()\n\nlet currentParser = null\nlet currentBufferRef = null\nlet currentBufferSize = 0\nlet currentBufferPtr = null\n\nconst USE_NATIVE_TIMER = 0\nconst USE_FAST_TIMER = 1\n\n// Use fast timers for headers and body to take eventual event loop\n// latency into account.\nconst TIMEOUT_HEADERS = 2 | USE_FAST_TIMER\nconst TIMEOUT_BODY = 4 | USE_FAST_TIMER\n\n// Use native timers to ignore event loop latency for keep-alive\n// handling.\nconst TIMEOUT_KEEP_ALIVE = 8 | USE_NATIVE_TIMER\n\nclass Parser {\n constructor (client, socket, { exports }) {\n assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0)\n\n this.llhttp = exports\n this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE)\n this.client = client\n this.socket = socket\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n this.statusCode = null\n this.statusText = ''\n this.upgrade = false\n this.headers = []\n this.headersSize = 0\n this.headersMaxSize = client[kMaxHeadersSize]\n this.shouldKeepAlive = false\n this.paused = false\n this.resume = this.resume.bind(this)\n\n this.bytesRead = 0\n\n this.keepAlive = ''\n this.contentLength = ''\n this.connection = ''\n this.maxResponseSize = client[kMaxResponseSize]\n }\n\n setTimeout (delay, type) {\n // If the existing timer and the new timer are of different timer type\n // (fast or native) or have different delay, we need to clear the existing\n // timer and set a new one.\n if (\n delay !== this.timeoutValue ||\n (type & USE_FAST_TIMER) ^ (this.timeoutType & USE_FAST_TIMER)\n ) {\n // If a timeout is already set, clear it with clearTimeout of the fast\n // timer implementation, as it can clear fast and native timers.\n if (this.timeout) {\n timers.clearTimeout(this.timeout)\n this.timeout = null\n }\n\n if (delay) {\n if (type & USE_FAST_TIMER) {\n this.timeout = timers.setFastTimeout(onParserTimeout, delay, new WeakRef(this))\n } else {\n this.timeout = setTimeout(onParserTimeout, delay, new WeakRef(this))\n this.timeout.unref()\n }\n }\n\n this.timeoutValue = delay\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n this.timeoutType = type\n }\n\n resume () {\n if (this.socket.destroyed || !this.paused) {\n return\n }\n\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_resume(this.ptr)\n\n assert(this.timeoutType === TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n this.paused = false\n this.execute(this.socket.read() || EMPTY_BUF) // Flush parser.\n this.readMore()\n }\n\n readMore () {\n while (!this.paused && this.ptr) {\n const chunk = this.socket.read()\n if (chunk === null) {\n break\n }\n this.execute(chunk)\n }\n }\n\n execute (data) {\n assert(this.ptr != null)\n assert(currentParser == null)\n assert(!this.paused)\n\n const { socket, llhttp } = this\n\n if (data.length > currentBufferSize) {\n if (currentBufferPtr) {\n llhttp.free(currentBufferPtr)\n }\n currentBufferSize = Math.ceil(data.length / 4096) * 4096\n currentBufferPtr = llhttp.malloc(currentBufferSize)\n }\n\n new Uint8Array(llhttp.memory.buffer, currentBufferPtr, currentBufferSize).set(data)\n\n // Call `execute` on the wasm parser.\n // We pass the `llhttp_parser` pointer address, the pointer address of buffer view data,\n // and finally the length of bytes to parse.\n // The return value is an error code or `constants.ERROR.OK`.\n try {\n let ret\n\n try {\n currentBufferRef = data\n currentParser = this\n ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, data.length)\n /* eslint-disable-next-line no-useless-catch */\n } catch (err) {\n /* istanbul ignore next: difficult to make a test case for */\n throw err\n } finally {\n currentParser = null\n currentBufferRef = null\n }\n\n const offset = llhttp.llhttp_get_error_pos(this.ptr) - currentBufferPtr\n\n if (ret !== constants.ERROR.OK) {\n const body = data.subarray(offset)\n\n if (ret === constants.ERROR.PAUSED_UPGRADE) {\n this.onUpgrade(body)\n } else if (ret === constants.ERROR.PAUSED) {\n this.paused = true\n socket.unshift(body)\n } else {\n throw this.createError(ret, body)\n }\n }\n } catch (err) {\n util.destroy(socket, err)\n }\n }\n\n finish () {\n assert(currentParser === null)\n assert(this.ptr != null)\n assert(!this.paused)\n\n const { llhttp } = this\n\n let ret\n\n try {\n currentParser = this\n ret = llhttp.llhttp_finish(this.ptr)\n } finally {\n currentParser = null\n }\n\n if (ret === constants.ERROR.OK) {\n return null\n }\n\n if (ret === constants.ERROR.PAUSED || ret === constants.ERROR.PAUSED_UPGRADE) {\n this.paused = true\n return null\n }\n\n return this.createError(ret, EMPTY_BUF)\n }\n\n createError (ret, data) {\n const { llhttp, contentLength, bytesRead } = this\n\n if (contentLength && bytesRead !== parseInt(contentLength, 10)) {\n return new ResponseContentLengthMismatchError()\n }\n\n const ptr = llhttp.llhttp_get_error_reason(this.ptr)\n let message = ''\n if (ptr) {\n const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0)\n message =\n 'Response does not match the HTTP/1.1 protocol (' +\n Buffer.from(llhttp.memory.buffer, ptr, len).toString() +\n ')'\n }\n\n return new HTTPParserError(message, constants.ERROR[ret], data)\n }\n\n destroy () {\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_free(this.ptr)\n this.ptr = null\n\n this.timeout && timers.clearTimeout(this.timeout)\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n\n this.paused = false\n }\n\n onStatus (buf) {\n this.statusText = buf.toString()\n }\n\n onMessageBegin () {\n const { socket, client } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n if (client[kRunning] === 0) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n if (!request) {\n return -1\n }\n request.onResponseStarted()\n }\n\n onHeaderField (buf) {\n const len = this.headers.length\n\n if ((len & 1) === 0) {\n this.headers.push(buf)\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n this.trackHeader(buf.length)\n }\n\n onHeaderValue (buf) {\n let len = this.headers.length\n\n if ((len & 1) === 1) {\n this.headers.push(buf)\n len += 1\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n const key = this.headers[len - 2]\n if (key.length === 10) {\n const headerName = util.bufferToLowerCasedHeaderName(key)\n if (headerName === 'keep-alive') {\n this.keepAlive += buf.toString()\n } else if (headerName === 'connection') {\n this.connection += buf.toString()\n }\n } else if (key.length === 14 && util.bufferToLowerCasedHeaderName(key) === 'content-length') {\n this.contentLength += buf.toString()\n }\n\n this.trackHeader(buf.length)\n }\n\n trackHeader (len) {\n this.headersSize += len\n if (this.headersSize >= this.headersMaxSize) {\n util.destroy(this.socket, new HeadersOverflowError())\n }\n }\n\n onUpgrade (head) {\n const { upgrade, client, socket, headers, statusCode } = this\n\n assert(upgrade)\n assert(client[kSocket] === socket)\n assert(!socket.destroyed)\n assert(!this.paused)\n assert((headers.length & 1) === 0)\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n assert(request.upgrade || request.method === 'CONNECT')\n\n this.statusCode = null\n this.statusText = ''\n this.shouldKeepAlive = null\n\n this.headers = []\n this.headersSize = 0\n\n socket.unshift(head)\n\n socket[kParser].destroy()\n socket[kParser] = null\n\n socket[kClient] = null\n socket[kError] = null\n\n removeAllListeners(socket)\n\n client[kSocket] = null\n client[kHTTPContext] = null // TODO (fix): This is hacky...\n client[kQueue][client[kRunningIdx]++] = null\n client.emit('disconnect', client[kUrl], [client], new InformationalError('upgrade'))\n\n try {\n request.onUpgrade(statusCode, headers, socket)\n } catch (err) {\n util.destroy(socket, err)\n }\n\n client[kResume]()\n }\n\n onHeadersComplete (statusCode, upgrade, shouldKeepAlive) {\n const { client, socket, headers, statusText } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n if (client[kRunning] === 0) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n\n /* istanbul ignore next: difficult to make a test case for */\n if (!request) {\n return -1\n }\n\n assert(!this.upgrade)\n assert(this.statusCode < 200)\n\n if (statusCode === 100) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n /* this can only happen if server is misbehaving */\n if (upgrade && !request.upgrade) {\n util.destroy(socket, new SocketError('bad upgrade', util.getSocketInfo(socket)))\n return -1\n }\n\n assert(this.timeoutType === TIMEOUT_HEADERS)\n\n this.statusCode = statusCode\n this.shouldKeepAlive = (\n shouldKeepAlive ||\n // Override llhttp value which does not allow keepAlive for HEAD.\n (request.method === 'HEAD' && !socket[kReset] && this.connection.toLowerCase() === 'keep-alive')\n )\n\n if (this.statusCode >= 200) {\n const bodyTimeout = request.bodyTimeout != null\n ? request.bodyTimeout\n : client[kBodyTimeout]\n this.setTimeout(bodyTimeout, TIMEOUT_BODY)\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n if (request.method === 'CONNECT') {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n if (upgrade) {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n assert((this.headers.length & 1) === 0)\n this.headers = []\n this.headersSize = 0\n\n if (this.shouldKeepAlive && client[kPipelining]) {\n const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null\n\n if (keepAliveTimeout != null) {\n const timeout = Math.min(\n keepAliveTimeout - client[kKeepAliveTimeoutThreshold],\n client[kKeepAliveMaxTimeout]\n )\n if (timeout <= 0) {\n socket[kReset] = true\n } else {\n client[kKeepAliveTimeoutValue] = timeout\n }\n } else {\n client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout]\n }\n } else {\n // Stop more requests from being dispatched.\n socket[kReset] = true\n }\n\n const pause = request.onHeaders(statusCode, headers, this.resume, statusText) === false\n\n if (request.aborted) {\n return -1\n }\n\n if (request.method === 'HEAD') {\n return 1\n }\n\n if (statusCode < 200) {\n return 1\n }\n\n if (socket[kBlocking]) {\n socket[kBlocking] = false\n client[kResume]()\n }\n\n return pause ? constants.ERROR.PAUSED : 0\n }\n\n onBody (buf) {\n const { client, socket, statusCode, maxResponseSize } = this\n\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n assert(this.timeoutType === TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n assert(statusCode >= 200)\n\n if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) {\n util.destroy(socket, new ResponseExceededMaxSizeError())\n return -1\n }\n\n this.bytesRead += buf.length\n\n if (request.onData(buf) === false) {\n return constants.ERROR.PAUSED\n }\n }\n\n onMessageComplete () {\n const { client, socket, statusCode, upgrade, headers, contentLength, bytesRead, shouldKeepAlive } = this\n\n if (socket.destroyed && (!statusCode || shouldKeepAlive)) {\n return -1\n }\n\n if (upgrade) {\n return\n }\n\n assert(statusCode >= 100)\n assert((this.headers.length & 1) === 0)\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n this.statusCode = null\n this.statusText = ''\n this.bytesRead = 0\n this.contentLength = ''\n this.keepAlive = ''\n this.connection = ''\n\n this.headers = []\n this.headersSize = 0\n\n if (statusCode < 200) {\n return\n }\n\n /* istanbul ignore next: should be handled by llhttp? */\n if (request.method !== 'HEAD' && contentLength && bytesRead !== parseInt(contentLength, 10)) {\n util.destroy(socket, new ResponseContentLengthMismatchError())\n return -1\n }\n\n request.onComplete(headers)\n\n client[kQueue][client[kRunningIdx]++] = null\n socket[kSocketUsed] = true\n\n if (socket[kWriting]) {\n assert(client[kRunning] === 0)\n // Response completed before request.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (!shouldKeepAlive) {\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (socket[kReset] && client[kRunning] === 0) {\n // Destroy socket once all requests have completed.\n // The request at the tail of the pipeline is the one\n // that requested reset and no further requests should\n // have been queued since then.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (client[kPipelining] == null || client[kPipelining] === 1) {\n // We must wait a full event loop cycle to reuse this socket to make sure\n // that non-spec compliant servers are not closing the connection even if they\n // said they won't.\n setImmediate(() => client[kResume]())\n } else {\n client[kResume]()\n }\n }\n}\n\nfunction onParserTimeout (parser) {\n const { socket, timeoutType, client, paused } = parser.deref()\n\n /* istanbul ignore else */\n if (timeoutType === TIMEOUT_HEADERS) {\n if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) {\n assert(!paused, 'cannot be paused while waiting for headers')\n util.destroy(socket, new HeadersTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_BODY) {\n if (!paused) {\n util.destroy(socket, new BodyTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_KEEP_ALIVE) {\n assert(client[kRunning] === 0 && client[kKeepAliveTimeoutValue])\n util.destroy(socket, new InformationalError('socket idle timeout'))\n }\n}\n\nasync function connectH1 (client, socket) {\n client[kSocket] = socket\n\n if (!llhttpInstance) {\n llhttpInstance = await llhttpPromise\n llhttpPromise = null\n }\n\n socket[kNoRef] = false\n socket[kWriting] = false\n socket[kReset] = false\n socket[kBlocking] = false\n socket[kIdleSocketValidation] = 0\n socket[kIdleSocketValidationTimeout] = null\n socket[kSocketUsed] = false\n socket[kParser] = new Parser(client, socket, llhttpInstance)\n\n addListener(socket, 'error', function (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n const parser = this[kParser]\n\n // On Mac OS, we get an ECONNRESET even if there is a full body to be forwarded\n // to the user.\n if (err.code === 'ECONNRESET' && parser.statusCode && !parser.shouldKeepAlive) {\n const parserErr = parser.finish()\n if (parserErr) {\n this[kError] = parserErr\n this[kClient][kOnError](parserErr)\n }\n return\n }\n\n this[kError] = err\n\n this[kClient][kOnError](err)\n })\n addListener(socket, 'readable', function () {\n const parser = this[kParser]\n\n if (parser) {\n parser.readMore()\n }\n })\n addListener(socket, 'end', function () {\n const parser = this[kParser]\n\n if (parser.statusCode && !parser.shouldKeepAlive) {\n const parserErr = parser.finish()\n if (parserErr) {\n util.destroy(this, parserErr)\n }\n return\n }\n\n util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))\n })\n addListener(socket, 'close', function () {\n const client = this[kClient]\n const parser = this[kParser]\n\n clearIdleSocketValidation(this)\n\n if (parser) {\n if (!this[kError] && parser.statusCode && !parser.shouldKeepAlive) {\n this[kError] = parser.finish() || this[kError]\n }\n\n this[kParser].destroy()\n this[kParser] = null\n }\n\n const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))\n\n client[kSocket] = null\n client[kHTTPContext] = null // TODO (fix): This is hacky...\n\n if (client.destroyed) {\n assert(client[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n } else if (client[kRunning] > 0 && err.code !== 'UND_ERR_INFO') {\n // Fail head of pipeline.\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n\n util.errorRequest(client, request, err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n })\n\n let closed = false\n socket.on('close', () => {\n closed = true\n })\n\n return {\n version: 'h1',\n defaultPipelining: 1,\n write (...args) {\n return writeH1(client, ...args)\n },\n resume () {\n resumeH1(client)\n },\n destroy (err, callback) {\n if (closed) {\n queueMicrotask(callback)\n } else {\n socket.destroy(err).on('close', callback)\n }\n },\n get destroyed () {\n return socket.destroyed\n },\n busy (request) {\n if (socket[kWriting] || socket[kReset] || socket[kBlocking] || socket[kIdleSocketValidation] === 1) {\n return true\n }\n\n if (request) {\n if (client[kRunning] > 0 && !request.idempotent) {\n // Non-idempotent request cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return true\n }\n\n if (client[kRunning] > 0 && (request.upgrade || request.method === 'CONNECT')) {\n // Don't dispatch an upgrade until all preceding requests have completed.\n // A misbehaving server might upgrade the connection before all pipelined\n // request has completed.\n return true\n }\n\n if (client[kRunning] > 0 && util.bodyLength(request.body) !== 0 &&\n (util.isStream(request.body) || util.isAsyncIterable(request.body) || util.isFormDataLike(request.body))) {\n // Request with stream or iterator body can error while other requests\n // are inflight and indirectly error those as well.\n // Ensure this doesn't happen by waiting for inflight\n // to complete before dispatching.\n\n // Request with stream or iterator body cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return true\n }\n }\n\n return false\n }\n }\n}\n\nfunction clearIdleSocketValidation (socket) {\n if (socket[kIdleSocketValidationTimeout]) {\n clearImmediate(socket[kIdleSocketValidationTimeout])\n socket[kIdleSocketValidationTimeout] = null\n }\n\n socket[kIdleSocketValidation] = 0\n}\n\nfunction scheduleIdleSocketValidation (client, socket) {\n socket[kIdleSocketValidation] = 1\n // Yield to the check phase (after poll) so unsolicited bytes / FIN / RST\n // already pending on this idle keep-alive socket are processed before the\n // next request is written (GHSA-35p6-xmwp-9g52).\n //\n // setTimeout(0) pays Node's ~1ms timer floor on every sequential reuse\n // (#5493). setImmediate avoids that, but an *unref'd* Immediate lets poll\n // block for ~500ms when the event loop is otherwise idle (#5600 / #5606).\n // A ref'd Immediate both keeps the pending request alive and makes poll\n // return immediately \u2014 the hybrid those issues asked for.\n socket[kIdleSocketValidationTimeout] = setImmediate(() => {\n socket[kIdleSocketValidationTimeout] = null\n socket[kIdleSocketValidation] = 2\n\n if (client[kSocket] === socket && !socket.destroyed) {\n client[kResume]()\n }\n })\n}\n\n/**\n * @param {import('./client.js')} client\n */\nfunction resumeH1 (client) {\n const socket = client[kSocket]\n\n if (socket && !socket.destroyed) {\n if (client[kSize] === 0) {\n if (!socket[kNoRef] && socket.unref) {\n socket.unref()\n socket[kNoRef] = true\n }\n } else if (socket[kNoRef] && socket.ref) {\n socket.ref()\n socket[kNoRef] = false\n }\n\n if (client[kRunning] === 0 && client[kPending] > 0 && socket[kSocketUsed]) {\n if (socket[kIdleSocketValidation] === 0) {\n scheduleIdleSocketValidation(client, socket)\n socket[kParser].readMore()\n if (socket.destroyed) {\n return\n }\n return\n }\n\n if (socket[kIdleSocketValidation] === 1) {\n socket[kParser].readMore()\n if (socket.destroyed) {\n return\n }\n return\n }\n }\n\n if (client[kRunning] === 0) {\n socket[kParser].readMore()\n if (socket.destroyed) {\n return\n }\n }\n\n if (client[kSize] === 0) {\n if (socket[kParser].timeoutType !== TIMEOUT_KEEP_ALIVE) {\n socket[kParser].setTimeout(client[kKeepAliveTimeoutValue], TIMEOUT_KEEP_ALIVE)\n }\n } else if (client[kRunning] > 0 && socket[kParser].statusCode < 200) {\n if (socket[kParser].timeoutType !== TIMEOUT_HEADERS) {\n const request = client[kQueue][client[kRunningIdx]]\n const headersTimeout = request.headersTimeout != null\n ? request.headersTimeout\n : client[kHeadersTimeout]\n socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS)\n }\n }\n }\n}\n\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction shouldSendContentLength (method) {\n return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'\n}\n\nfunction writeH1 (client, request) {\n const { method, path, host, upgrade, blocking, reset } = request\n\n let { body, headers, contentLength } = request\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH' ||\n method === 'QUERY' ||\n method === 'PROPFIND' ||\n method === 'PROPPATCH'\n )\n\n if (util.isFormDataLike(body)) {\n if (!extractBody) {\n extractBody = require('../web/fetch/body.js').extractBody\n }\n\n const [bodyStream, contentType] = extractBody(body)\n if (request.contentType == null) {\n headers.push('content-type', contentType)\n }\n body = bodyStream.stream\n contentLength = bodyStream.length\n } else if (util.isBlobLike(body) && request.contentType == null) {\n const contentType = body.type\n if (contentType) {\n const contentTypeValue = `${contentType}`\n if (!util.isValidHeaderValue(contentTypeValue)) {\n util.errorRequest(client, request, new InvalidArgumentError('invalid content-type header'))\n return false\n }\n headers.push('content-type', contentTypeValue)\n }\n }\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n const bodyLength = util.bodyLength(body)\n\n contentLength = bodyLength ?? contentLength\n\n if (contentLength === null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 && !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n util.errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n const socket = client[kSocket]\n clearIdleSocketValidation(socket)\n\n const abort = (err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n util.errorRequest(client, request, err || new RequestAbortedError())\n\n util.destroy(body)\n util.destroy(socket, new InformationalError('aborted'))\n }\n\n try {\n request.onConnect(abort)\n } catch (err) {\n util.errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n if (method === 'HEAD') {\n // https://github.com/mcollina/undici/issues/258\n // Close after a HEAD request to interop with misbehaving servers\n // that may send a body in the response.\n\n socket[kReset] = true\n }\n\n if (upgrade || method === 'CONNECT') {\n // On CONNECT or upgrade, block pipeline from dispatching further\n // requests on this connection.\n\n socket[kReset] = true\n }\n\n if (reset != null) {\n socket[kReset] = reset\n }\n\n if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {\n socket[kReset] = true\n }\n\n if (blocking) {\n socket[kBlocking] = true\n }\n\n let header = `${method} ${path} HTTP/1.1\\r\\n`\n\n if (typeof host === 'string') {\n header += `host: ${host}\\r\\n`\n } else {\n header += client[kHostHeader]\n }\n\n if (upgrade) {\n header += `connection: upgrade\\r\\nupgrade: ${upgrade}\\r\\n`\n } else if (client[kPipelining] && !socket[kReset]) {\n header += 'connection: keep-alive\\r\\n'\n } else {\n header += 'connection: close\\r\\n'\n }\n\n if (Array.isArray(headers)) {\n for (let n = 0; n < headers.length; n += 2) {\n const key = headers[n + 0]\n const val = headers[n + 1]\n\n if (Array.isArray(val)) {\n for (let i = 0; i < val.length; i++) {\n header += `${key}: ${val[i]}\\r\\n`\n }\n } else {\n header += `${key}: ${val}\\r\\n`\n }\n }\n }\n\n if (channels.sendHeaders.hasSubscribers) {\n channels.sendHeaders.publish({ request, headers: header, socket })\n }\n\n /* istanbul ignore else: assertion */\n if (!body || bodyLength === 0) {\n writeBuffer(abort, null, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isBuffer(body)) {\n writeBuffer(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable(abort, body.stream(), client, request, socket, contentLength, header, expectsPayload)\n } else {\n writeBlob(abort, body, client, request, socket, contentLength, header, expectsPayload)\n }\n } else if (util.isStream(body)) {\n writeStream(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isIterable(body)) {\n writeIterable(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else {\n assert(false)\n }\n\n return true\n}\n\nfunction writeStream (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')\n\n let finished = false\n\n const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })\n\n const onData = function (chunk) {\n if (finished) {\n return\n }\n\n try {\n if (!writer.write(chunk) && this.pause) {\n this.pause()\n }\n } catch (err) {\n util.destroy(this, err)\n }\n }\n const onDrain = function () {\n if (finished) {\n return\n }\n\n if (body.resume) {\n body.resume()\n }\n }\n const onClose = function () {\n // 'close' might be emitted *before* 'error' for\n // broken streams. Wait a tick to avoid this case.\n queueMicrotask(() => {\n // It's only safe to remove 'error' listener after\n // 'close'.\n body.removeListener('error', onFinished)\n })\n\n if (!finished) {\n const err = new RequestAbortedError()\n queueMicrotask(() => onFinished(err))\n }\n }\n const onFinished = function (err) {\n if (finished) {\n return\n }\n\n finished = true\n\n assert(socket.destroyed || (socket[kWriting] && client[kRunning] <= 1))\n\n socket\n .off('drain', onDrain)\n .off('error', onFinished)\n\n body\n .removeListener('data', onData)\n .removeListener('end', onFinished)\n .removeListener('close', onClose)\n\n if (!err) {\n try {\n writer.end()\n } catch (er) {\n err = er\n }\n }\n\n writer.destroy(err)\n\n if (err && (err.code !== 'UND_ERR_INFO' || err.message !== 'reset')) {\n util.destroy(body, err)\n } else {\n util.destroy(body)\n }\n }\n\n body\n .on('data', onData)\n .on('end', onFinished)\n .on('error', onFinished)\n .on('close', onClose)\n\n if (body.resume) {\n body.resume()\n }\n\n socket\n .on('drain', onDrain)\n .on('error', onFinished)\n\n if (body.errorEmitted ?? body.errored) {\n setImmediate(() => onFinished(body.errored))\n } else if (body.endEmitted ?? body.readableEnded) {\n setImmediate(() => onFinished(null))\n }\n\n if (body.closeEmitted ?? body.closed) {\n setImmediate(onClose)\n }\n}\n\nfunction writeBuffer (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n try {\n if (!body) {\n if (contentLength === 0) {\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n assert(contentLength === null, 'no body must not have content length')\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n } else if (util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(body)\n socket.uncork()\n request.onBodySent(body)\n\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n }\n request.onRequestSent()\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeBlob (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength === body.size, 'blob body must have content length')\n\n try {\n if (contentLength != null && contentLength !== body.size) {\n throw new RequestContentLengthMismatchError()\n }\n\n const buffer = Buffer.from(await body.arrayBuffer())\n\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(buffer)\n socket.uncork()\n\n request.onBodySent(buffer)\n request.onRequestSent()\n\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeIterable (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')\n\n let callback = null\n function onDrain () {\n if (callback) {\n const cb = callback\n callback = null\n cb()\n }\n }\n\n const waitForDrain = () => new Promise((resolve, reject) => {\n assert(callback === null)\n\n if (socket[kError]) {\n reject(socket[kError])\n } else {\n callback = resolve\n }\n })\n\n socket\n .on('close', onDrain)\n .on('drain', onDrain)\n\n const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (!writer.write(chunk)) {\n await waitForDrain()\n }\n }\n\n writer.end()\n } catch (err) {\n writer.destroy(err)\n } finally {\n socket\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n}\n\nclass AsyncWriter {\n constructor ({ abort, socket, request, contentLength, client, expectsPayload, header }) {\n this.socket = socket\n this.request = request\n this.contentLength = contentLength\n this.client = client\n this.bytesWritten = 0\n this.expectsPayload = expectsPayload\n this.header = header\n this.abort = abort\n\n socket[kWriting] = true\n }\n\n write (chunk) {\n const { socket, request, contentLength, client, bytesWritten, expectsPayload, header } = this\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return false\n }\n\n const len = Buffer.byteLength(chunk)\n if (!len) {\n return true\n }\n\n // We should defer writing chunks.\n if (contentLength !== null && bytesWritten + len > contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n socket.cork()\n\n if (bytesWritten === 0) {\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n\n if (contentLength === null) {\n socket.write(`${header}transfer-encoding: chunked\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n }\n }\n\n if (contentLength === null) {\n socket.write(`\\r\\n${len.toString(16)}\\r\\n`, 'latin1')\n }\n\n this.bytesWritten += len\n\n const ret = socket.write(chunk)\n\n socket.uncork()\n\n request.onBodySent(chunk)\n\n if (!ret) {\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n }\n\n return ret\n }\n\n end () {\n const { socket, contentLength, client, bytesWritten, expectsPayload, header, request } = this\n request.onRequestSent()\n\n socket[kWriting] = false\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return\n }\n\n if (bytesWritten === 0) {\n if (expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD send a Content-Length in a request message when\n // no Transfer-Encoding is sent and the request method defines a meaning\n // for an enclosed payload body.\n\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n } else if (contentLength === null) {\n socket.write('\\r\\n0\\r\\n\\r\\n', 'latin1')\n }\n\n if (contentLength !== null && bytesWritten !== contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n } else {\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n }\n\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n\n client[kResume]()\n }\n\n destroy (err) {\n const { socket, client, abort } = this\n\n socket[kWriting] = false\n\n if (err) {\n assert(client[kRunning] <= 1, 'pipeline should only contain this request')\n abort(err)\n }\n }\n}\n\nmodule.exports = connectH1\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { pipeline } = require('node:stream')\nconst util = require('../core/util.js')\nconst {\n RequestContentLengthMismatchError,\n RequestAbortedError,\n SocketError,\n InformationalError\n} = require('../core/errors.js')\nconst {\n kUrl,\n kReset,\n kClient,\n kRunning,\n kPending,\n kQueue,\n kPendingIdx,\n kRunningIdx,\n kError,\n kSocket,\n kStrictContentLength,\n kOnError,\n kMaxConcurrentStreams,\n kHTTP2Session,\n kResume,\n kSize,\n kHTTPContext\n} = require('../core/symbols.js')\n\nconst kOpenStreams = Symbol('open streams')\n\nlet extractBody\n\n// Experimental\nlet h2ExperimentalWarned = false\n\n/** @type {import('http2')} */\nlet http2\ntry {\n http2 = require('node:http2')\n} catch {\n // @ts-ignore\n http2 = { constants: {} }\n}\n\nconst {\n constants: {\n HTTP2_HEADER_AUTHORITY,\n HTTP2_HEADER_METHOD,\n HTTP2_HEADER_PATH,\n HTTP2_HEADER_SCHEME,\n HTTP2_HEADER_CONTENT_LENGTH,\n HTTP2_HEADER_EXPECT,\n HTTP2_HEADER_STATUS\n }\n} = http2\n\nfunction parseH2Headers (headers) {\n const result = []\n\n for (const [name, value] of Object.entries(headers)) {\n // h2 may concat the header value by array\n // e.g. Set-Cookie\n if (Array.isArray(value)) {\n for (const subvalue of value) {\n // we need to provide each header value of header name\n // because the headers handler expect name-value pair\n result.push(Buffer.from(name), Buffer.from(subvalue))\n }\n } else {\n result.push(Buffer.from(name), Buffer.from(value))\n }\n }\n\n return result\n}\n\nasync function connectH2 (client, socket) {\n client[kSocket] = socket\n\n if (!h2ExperimentalWarned) {\n h2ExperimentalWarned = true\n process.emitWarning('H2 support is experimental, expect them to change at any time.', {\n code: 'UNDICI-H2'\n })\n }\n\n const session = http2.connect(client[kUrl], {\n createConnection: () => socket,\n peerMaxConcurrentStreams: client[kMaxConcurrentStreams]\n })\n\n session[kOpenStreams] = 0\n session[kClient] = client\n session[kSocket] = socket\n\n util.addListener(session, 'error', onHttp2SessionError)\n util.addListener(session, 'frameError', onHttp2FrameError)\n util.addListener(session, 'end', onHttp2SessionEnd)\n util.addListener(session, 'goaway', onHTTP2GoAway)\n util.addListener(session, 'close', function () {\n const { [kClient]: client } = this\n const { [kSocket]: socket } = client\n\n const err = this[kSocket][kError] || this[kError] || new SocketError('closed', util.getSocketInfo(socket))\n\n client[kHTTP2Session] = null\n\n if (client.destroyed) {\n assert(client[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n }\n })\n\n session.unref()\n\n client[kHTTP2Session] = session\n socket[kHTTP2Session] = session\n\n util.addListener(socket, 'error', function (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n this[kError] = err\n\n this[kClient][kOnError](err)\n })\n\n util.addListener(socket, 'end', function () {\n util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))\n })\n\n util.addListener(socket, 'close', function () {\n const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))\n\n client[kSocket] = null\n\n if (this[kHTTP2Session] != null) {\n this[kHTTP2Session].destroy(err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n })\n\n let closed = false\n socket.on('close', () => {\n closed = true\n })\n\n return {\n version: 'h2',\n defaultPipelining: Infinity,\n write (...args) {\n return writeH2(client, ...args)\n },\n resume () {\n resumeH2(client)\n },\n destroy (err, callback) {\n if (closed) {\n queueMicrotask(callback)\n } else {\n // Destroying the socket will trigger the session close\n socket.destroy(err).on('close', callback)\n }\n },\n get destroyed () {\n return socket.destroyed\n },\n busy () {\n return false\n }\n }\n}\n\nfunction resumeH2 (client) {\n const socket = client[kSocket]\n\n if (socket?.destroyed === false) {\n if (client[kSize] === 0 && client[kMaxConcurrentStreams] === 0) {\n socket.unref()\n client[kHTTP2Session].unref()\n } else {\n socket.ref()\n client[kHTTP2Session].ref()\n }\n }\n}\n\nfunction onHttp2SessionError (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n this[kSocket][kError] = err\n this[kClient][kOnError](err)\n}\n\nfunction onHttp2FrameError (type, code, id) {\n if (id === 0) {\n const err = new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`)\n this[kSocket][kError] = err\n this[kClient][kOnError](err)\n }\n}\n\nfunction onHttp2SessionEnd () {\n const err = new SocketError('other side closed', util.getSocketInfo(this[kSocket]))\n this.destroy(err)\n util.destroy(this[kSocket], err)\n}\n\n/**\n * This is the root cause of #3011\n * We need to handle GOAWAY frames properly, and trigger the session close\n * along with the socket right away\n */\nfunction onHTTP2GoAway (code) {\n // We cannot recover, so best to close the session and the socket\n const err = this[kError] || new SocketError(`HTTP/2: \"GOAWAY\" frame received with code ${code}`, util.getSocketInfo(this))\n const client = this[kClient]\n\n client[kSocket] = null\n client[kHTTPContext] = null\n\n if (this[kHTTP2Session] != null) {\n this[kHTTP2Session].destroy(err)\n this[kHTTP2Session] = null\n }\n\n util.destroy(this[kSocket], err)\n\n // Fail head of pipeline.\n if (client[kRunningIdx] < client[kQueue].length) {\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n util.errorRequest(client, request, err)\n client[kPendingIdx] = client[kRunningIdx]\n }\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n}\n\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction shouldSendContentLength (method) {\n return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'\n}\n\nfunction writeH2 (client, request) {\n const session = client[kHTTP2Session]\n const { method, path, host, upgrade, expectContinue, signal, headers: reqHeaders } = request\n let { body } = request\n\n if (upgrade) {\n util.errorRequest(client, request, new Error('Upgrade not supported for H2'))\n return false\n }\n\n const headers = {}\n for (let n = 0; n < reqHeaders.length; n += 2) {\n const key = reqHeaders[n + 0]\n const val = reqHeaders[n + 1]\n\n if (Array.isArray(val)) {\n for (let i = 0; i < val.length; i++) {\n if (headers[key]) {\n headers[key] += `,${val[i]}`\n } else {\n headers[key] = val[i]\n }\n }\n } else {\n headers[key] = val\n }\n }\n\n /** @type {import('node:http2').ClientHttp2Stream} */\n let stream\n\n const { hostname, port } = client[kUrl]\n\n headers[HTTP2_HEADER_AUTHORITY] = host || `${hostname}${port ? `:${port}` : ''}`\n headers[HTTP2_HEADER_METHOD] = method\n\n const abort = (err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n err = err || new RequestAbortedError()\n\n util.errorRequest(client, request, err)\n\n if (stream != null) {\n util.destroy(stream, err)\n }\n\n // We do not destroy the socket as we can continue using the session\n // the stream get's destroyed and the session remains to create new streams\n util.destroy(body, err)\n client[kQueue][client[kRunningIdx]++] = null\n client[kResume]()\n }\n\n try {\n // We are already connected, streams are pending.\n // We can call on connect, and wait for abort\n request.onConnect(abort)\n } catch (err) {\n util.errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n if (method === 'CONNECT') {\n session.ref()\n // We are already connected, streams are pending, first request\n // will create a new stream. We trigger a request to create the stream and wait until\n // `ready` event is triggered\n // We disabled endStream to allow the user to write to the stream\n stream = session.request(headers, { endStream: false, signal })\n\n if (stream.id && !stream.pending) {\n request.onUpgrade(null, null, stream)\n ++session[kOpenStreams]\n client[kQueue][client[kRunningIdx]++] = null\n } else {\n stream.once('ready', () => {\n request.onUpgrade(null, null, stream)\n ++session[kOpenStreams]\n client[kQueue][client[kRunningIdx]++] = null\n })\n }\n\n stream.once('close', () => {\n session[kOpenStreams] -= 1\n if (session[kOpenStreams] === 0) session.unref()\n })\n\n return true\n }\n\n // https://tools.ietf.org/html/rfc7540#section-8.3\n // :path and :scheme headers must be omitted when sending CONNECT\n\n headers[HTTP2_HEADER_PATH] = path\n headers[HTTP2_HEADER_SCHEME] = 'https'\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH'\n )\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n let contentLength = util.bodyLength(body)\n\n if (util.isFormDataLike(body)) {\n extractBody ??= require('../web/fetch/body.js').extractBody\n\n const [bodyStream, contentType] = extractBody(body)\n headers['content-type'] = contentType\n\n body = bodyStream.stream\n contentLength = bodyStream.length\n }\n\n if (contentLength == null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 || !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength != null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n util.errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n if (contentLength != null) {\n assert(body, 'no body must not have content length')\n headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`\n }\n\n session.ref()\n\n const shouldEndStream = method === 'GET' || method === 'HEAD' || body === null\n if (expectContinue) {\n headers[HTTP2_HEADER_EXPECT] = '100-continue'\n stream = session.request(headers, { endStream: shouldEndStream, signal })\n\n stream.once('continue', writeBodyH2)\n } else {\n stream = session.request(headers, {\n endStream: shouldEndStream,\n signal\n })\n writeBodyH2()\n }\n\n // Increment counter as we have new streams open\n ++session[kOpenStreams]\n\n stream.once('response', headers => {\n const { [HTTP2_HEADER_STATUS]: statusCode, ...realHeaders } = headers\n request.onResponseStarted()\n\n // Due to the stream nature, it is possible we face a race condition\n // where the stream has been assigned, but the request has been aborted\n // the request remains in-flight and headers hasn't been received yet\n // for those scenarios, best effort is to destroy the stream immediately\n // as there's no value to keep it open.\n if (request.aborted) {\n const err = new RequestAbortedError()\n util.errorRequest(client, request, err)\n util.destroy(stream, err)\n return\n }\n\n if (request.onHeaders(Number(statusCode), parseH2Headers(realHeaders), stream.resume.bind(stream), '') === false) {\n stream.pause()\n }\n\n stream.on('data', (chunk) => {\n if (request.onData(chunk) === false) {\n stream.pause()\n }\n })\n })\n\n stream.once('end', () => {\n // When state is null, it means we haven't consumed body and the stream still do not have\n // a state.\n // Present specially when using pipeline or stream\n if (stream.state?.state == null || stream.state.state < 6) {\n request.onComplete([])\n }\n\n if (session[kOpenStreams] === 0) {\n // Stream is closed or half-closed-remote (6), decrement counter and cleanup\n // It does not have sense to continue working with the stream as we do not\n // have yet RST_STREAM support on client-side\n\n session.unref()\n }\n\n abort(new InformationalError('HTTP/2: stream half-closed (remote)'))\n client[kQueue][client[kRunningIdx]++] = null\n client[kPendingIdx] = client[kRunningIdx]\n client[kResume]()\n })\n\n stream.once('close', () => {\n session[kOpenStreams] -= 1\n if (session[kOpenStreams] === 0) {\n session.unref()\n }\n })\n\n stream.once('error', function (err) {\n abort(err)\n })\n\n stream.once('frameError', (type, code) => {\n abort(new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`))\n })\n\n // stream.on('aborted', () => {\n // // TODO(HTTP/2): Support aborted\n // })\n\n // stream.on('timeout', () => {\n // // TODO(HTTP/2): Support timeout\n // })\n\n // stream.on('push', headers => {\n // // TODO(HTTP/2): Support push\n // })\n\n // stream.on('trailers', headers => {\n // // TODO(HTTP/2): Support trailers\n // })\n\n return true\n\n function writeBodyH2 () {\n /* istanbul ignore else: assertion */\n if (!body || contentLength === 0) {\n writeBuffer(\n abort,\n stream,\n null,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else if (util.isBuffer(body)) {\n writeBuffer(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable(\n abort,\n stream,\n body.stream(),\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else {\n writeBlob(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n }\n } else if (util.isStream(body)) {\n writeStream(\n abort,\n client[kSocket],\n expectsPayload,\n stream,\n body,\n client,\n request,\n contentLength\n )\n } else if (util.isIterable(body)) {\n writeIterable(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else {\n assert(false)\n }\n }\n}\n\nfunction writeBuffer (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n try {\n if (body != null && util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n h2stream.cork()\n h2stream.write(body)\n h2stream.uncork()\n h2stream.end()\n\n request.onBodySent(body)\n }\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n request.onRequestSent()\n client[kResume]()\n } catch (error) {\n abort(error)\n }\n}\n\nfunction writeStream (abort, socket, expectsPayload, h2stream, body, client, request, contentLength) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')\n\n // For HTTP/2, is enough to pipe the stream\n const pipe = pipeline(\n body,\n h2stream,\n (err) => {\n if (err) {\n util.destroy(pipe, err)\n abort(err)\n } else {\n util.removeAllListeners(pipe)\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n }\n }\n )\n\n util.addListener(pipe, 'data', onPipeData)\n\n function onPipeData (chunk) {\n request.onBodySent(chunk)\n }\n}\n\nasync function writeBlob (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n assert(contentLength === body.size, 'blob body must have content length')\n\n try {\n if (contentLength != null && contentLength !== body.size) {\n throw new RequestContentLengthMismatchError()\n }\n\n const buffer = Buffer.from(await body.arrayBuffer())\n\n h2stream.cork()\n h2stream.write(buffer)\n h2stream.uncork()\n h2stream.end()\n\n request.onBodySent(buffer)\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeIterable (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')\n\n let callback = null\n function onDrain () {\n if (callback) {\n const cb = callback\n callback = null\n cb()\n }\n }\n\n const waitForDrain = () => new Promise((resolve, reject) => {\n assert(callback === null)\n\n if (socket[kError]) {\n reject(socket[kError])\n } else {\n callback = resolve\n }\n })\n\n h2stream\n .on('close', onDrain)\n .on('drain', onDrain)\n\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n const res = h2stream.write(chunk)\n request.onBodySent(chunk)\n if (!res) {\n await waitForDrain()\n }\n }\n\n h2stream.end()\n\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n } finally {\n h2stream\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n}\n\nmodule.exports = connectH2\n", "'use strict'\n\nconst util = require('../core/util')\nconst { kBodyUsed } = require('../core/symbols')\nconst assert = require('node:assert')\nconst { InvalidArgumentError } = require('../core/errors')\nconst EE = require('node:events')\n\nconst redirectableStatusCodes = [300, 301, 302, 303, 307, 308]\n\nconst kBody = Symbol('body')\n\nclass BodyAsyncIterable {\n constructor (body) {\n this[kBody] = body\n this[kBodyUsed] = false\n }\n\n async * [Symbol.asyncIterator] () {\n assert(!this[kBodyUsed], 'disturbed')\n this[kBodyUsed] = true\n yield * this[kBody]\n }\n}\n\nclass RedirectHandler {\n constructor (dispatch, maxRedirections, opts, handler) {\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n util.validateHandler(handler, opts.method, opts.upgrade)\n\n this.dispatch = dispatch\n this.location = null\n this.abort = null\n this.opts = { ...opts, maxRedirections: 0 } // opts must be a copy\n this.maxRedirections = maxRedirections\n this.handler = handler\n this.history = []\n this.redirectionLimitReached = false\n\n if (util.isStream(this.opts.body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if (util.bodyLength(this.opts.body) === 0) {\n this.opts.body\n .on('data', function () {\n assert(false)\n })\n }\n\n if (typeof this.opts.body.readableDidRead !== 'boolean') {\n this.opts.body[kBodyUsed] = false\n EE.prototype.on.call(this.opts.body, 'data', function () {\n this[kBodyUsed] = true\n })\n }\n } else if (this.opts.body && typeof this.opts.body.pipeTo === 'function') {\n // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n } else if (\n this.opts.body &&\n typeof this.opts.body !== 'string' &&\n !ArrayBuffer.isView(this.opts.body) &&\n util.isIterable(this.opts.body)\n ) {\n // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n }\n }\n\n onConnect (abort) {\n this.abort = abort\n this.handler.onConnect(abort, { history: this.history })\n }\n\n onUpgrade (statusCode, headers, socket) {\n this.handler.onUpgrade(statusCode, headers, socket)\n }\n\n onError (error) {\n this.handler.onError(error)\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n this.location = this.history.length >= this.maxRedirections || util.isDisturbed(this.opts.body)\n ? null\n : parseLocation(statusCode, headers)\n\n if (this.opts.throwOnMaxRedirect && this.history.length >= this.maxRedirections) {\n if (this.request) {\n this.request.abort(new Error('max redirects'))\n }\n\n this.redirectionLimitReached = true\n this.abort(new Error('max redirects'))\n return\n }\n\n if (this.opts.origin) {\n this.history.push(new URL(this.opts.path, this.opts.origin))\n }\n\n if (!this.location) {\n return this.handler.onHeaders(statusCode, headers, resume, statusText)\n }\n\n const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin)))\n const path = search ? `${pathname}${search}` : pathname\n\n // Remove headers referring to the original URL.\n // By default it is Host only, unless it's a 303 (see below), which removes also all Content-* headers.\n // https://tools.ietf.org/html/rfc7231#section-6.4\n this.opts.headers = cleanRequestHeaders(this.opts.headers, statusCode === 303, this.opts.origin !== origin)\n this.opts.path = path\n this.opts.origin = origin\n this.opts.maxRedirections = 0\n this.opts.query = null\n\n // https://tools.ietf.org/html/rfc7231#section-6.4.4\n // In case of HTTP 303, always replace method to be either HEAD or GET\n if (statusCode === 303 && this.opts.method !== 'HEAD') {\n this.opts.method = 'GET'\n this.opts.body = null\n }\n }\n\n onData (chunk) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response bodies.\n\n Redirection is used to serve the requested resource from another URL, so it is assumes that\n no body is generated (and thus can be ignored). Even though generating a body is not prohibited.\n\n For status 301, 302, 303, 307 and 308 (the latter from RFC 7238), the specs mention that the body usually\n (which means it's optional and not mandated) contain just an hyperlink to the value of\n the Location response header, so the body can be ignored safely.\n\n For status 300, which is \"Multiple Choices\", the spec mentions both generating a Location\n response header AND a response body with the other possible location to follow.\n Since the spec explicitly chooses not to specify a format for such body and leave it to\n servers and browsers implementors, we ignore the body as there is no specified way to eventually parse it.\n */\n } else {\n return this.handler.onData(chunk)\n }\n }\n\n onComplete (trailers) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response trailers as they are not expected in case of redirections\n and neither are useful if present.\n\n See comment on onData method above for more detailed information.\n */\n\n this.location = null\n this.abort = null\n\n this.dispatch(this.opts, this)\n } else {\n this.handler.onComplete(trailers)\n }\n }\n\n onBodySent (chunk) {\n if (this.handler.onBodySent) {\n this.handler.onBodySent(chunk)\n }\n }\n}\n\nfunction parseLocation (statusCode, headers) {\n if (redirectableStatusCodes.indexOf(statusCode) === -1) {\n return null\n }\n\n for (let i = 0; i < headers.length; i += 2) {\n if (headers[i].length === 8 && util.headerNameToString(headers[i]) === 'location') {\n return headers[i + 1]\n }\n }\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4.4\nfunction shouldRemoveHeader (header, removeContent, unknownOrigin) {\n if (header.length === 4) {\n return util.headerNameToString(header) === 'host'\n }\n if (removeContent && util.headerNameToString(header).startsWith('content-')) {\n return true\n }\n if (unknownOrigin && (header.length === 13 || header.length === 6 || header.length === 19)) {\n const name = util.headerNameToString(header)\n return name === 'authorization' || name === 'cookie' || name === 'proxy-authorization'\n }\n return false\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4\nfunction cleanRequestHeaders (headers, removeContent, unknownOrigin) {\n const ret = []\n if (Array.isArray(headers)) {\n for (let i = 0; i < headers.length; i += 2) {\n if (!shouldRemoveHeader(headers[i], removeContent, unknownOrigin)) {\n ret.push(headers[i], headers[i + 1])\n }\n }\n } else if (headers && typeof headers === 'object') {\n for (const key of Object.keys(headers)) {\n if (!shouldRemoveHeader(key, removeContent, unknownOrigin)) {\n ret.push(key, headers[key])\n }\n }\n } else {\n assert(headers == null, 'headers must be an object or an array')\n }\n return ret\n}\n\nmodule.exports = RedirectHandler\n", "'use strict'\n\nconst RedirectHandler = require('../handler/redirect-handler')\n\nfunction createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) {\n return (dispatch) => {\n return function Intercept (opts, handler) {\n const { maxRedirections = defaultMaxRedirections } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler)\n opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting.\n return dispatch(opts, redirectHandler)\n }\n }\n}\n\nmodule.exports = createRedirectInterceptor\n", "// @ts-check\n\n'use strict'\n\nconst assert = require('node:assert')\nconst net = require('node:net')\nconst http = require('node:http')\nconst util = require('../core/util.js')\nconst { channels } = require('../core/diagnostics.js')\nconst Request = require('../core/request.js')\nconst DispatcherBase = require('./dispatcher-base')\nconst {\n InvalidArgumentError,\n InformationalError,\n ClientDestroyedError\n} = require('../core/errors.js')\nconst buildConnector = require('../core/connect.js')\nconst {\n kUrl,\n kServerName,\n kClient,\n kBusy,\n kConnect,\n kResuming,\n kRunning,\n kPending,\n kSize,\n kQueue,\n kConnected,\n kConnecting,\n kNeedDrain,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kConnector,\n kMaxRedirections,\n kMaxRequests,\n kCounter,\n kClose,\n kDestroy,\n kDispatch,\n kInterceptors,\n kLocalAddress,\n kMaxResponseSize,\n kOnError,\n kHTTPContext,\n kMaxConcurrentStreams,\n kResume\n} = require('../core/symbols.js')\nconst connectH1 = require('./client-h1.js')\nconst connectH2 = require('./client-h2.js')\nlet deprecatedInterceptorWarned = false\n\nconst kClosedResolve = Symbol('kClosedResolve')\n\nconst noop = () => {}\n\nfunction getPipelining (client) {\n return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1\n}\n\n/**\n * @type {import('../../types/client.js').default}\n */\nclass Client extends DispatcherBase {\n /**\n *\n * @param {string|URL} url\n * @param {import('../../types/client.js').Client.Options} options\n */\n constructor (url, {\n interceptors,\n maxHeaderSize,\n headersTimeout,\n socketTimeout,\n requestTimeout,\n connectTimeout,\n bodyTimeout,\n idleTimeout,\n keepAlive,\n keepAliveTimeout,\n maxKeepAliveTimeout,\n keepAliveMaxTimeout,\n keepAliveTimeoutThreshold,\n socketPath,\n pipelining,\n tls,\n strictContentLength,\n maxCachedSessions,\n maxRedirections,\n connect,\n maxRequestsPerClient,\n localAddress,\n maxResponseSize,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n // h2\n maxConcurrentStreams,\n allowH2,\n webSocket\n } = {}) {\n super({ webSocket })\n\n if (keepAlive !== undefined) {\n throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead')\n }\n\n if (socketTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported socketTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (requestTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported requestTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (idleTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported idleTimeout, use keepAliveTimeout instead')\n }\n\n if (maxKeepAliveTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead')\n }\n\n if (maxHeaderSize != null && !Number.isFinite(maxHeaderSize)) {\n throw new InvalidArgumentError('invalid maxHeaderSize')\n }\n\n if (socketPath != null && typeof socketPath !== 'string') {\n throw new InvalidArgumentError('invalid socketPath')\n }\n\n if (connectTimeout != null && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) {\n throw new InvalidArgumentError('invalid connectTimeout')\n }\n\n if (keepAliveTimeout != null && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveTimeout')\n }\n\n if (keepAliveMaxTimeout != null && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveMaxTimeout')\n }\n\n if (keepAliveTimeoutThreshold != null && !Number.isFinite(keepAliveTimeoutThreshold)) {\n throw new InvalidArgumentError('invalid keepAliveTimeoutThreshold')\n }\n\n if (headersTimeout != null && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('headersTimeout must be a positive integer or zero')\n }\n\n if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('bodyTimeout must be a positive integer or zero')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) {\n throw new InvalidArgumentError('maxRequestsPerClient must be a positive number')\n }\n\n if (localAddress != null && (typeof localAddress !== 'string' || net.isIP(localAddress) === 0)) {\n throw new InvalidArgumentError('localAddress must be valid string IP address')\n }\n\n if (maxResponseSize != null && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) {\n throw new InvalidArgumentError('maxResponseSize must be a positive number')\n }\n\n if (\n autoSelectFamilyAttemptTimeout != null &&\n (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1)\n ) {\n throw new InvalidArgumentError('autoSelectFamilyAttemptTimeout must be a positive number')\n }\n\n // h2\n if (allowH2 != null && typeof allowH2 !== 'boolean') {\n throw new InvalidArgumentError('allowH2 must be a valid boolean value')\n }\n\n if (maxConcurrentStreams != null && (typeof maxConcurrentStreams !== 'number' || maxConcurrentStreams < 1)) {\n throw new InvalidArgumentError('maxConcurrentStreams must be a positive integer, greater than 0')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n if (interceptors?.Client && Array.isArray(interceptors.Client)) {\n this[kInterceptors] = interceptors.Client\n if (!deprecatedInterceptorWarned) {\n deprecatedInterceptorWarned = true\n process.emitWarning('Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.', {\n code: 'UNDICI-CLIENT-INTERCEPTOR-DEPRECATED'\n })\n }\n } else {\n this[kInterceptors] = [createRedirectInterceptor({ maxRedirections })]\n }\n\n this[kUrl] = util.parseOrigin(url)\n this[kConnector] = connect\n this[kPipelining] = pipelining != null ? pipelining : 1\n this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize\n this[kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4e3 : keepAliveTimeout\n this[kKeepAliveMaxTimeout] = keepAliveMaxTimeout == null ? 600e3 : keepAliveMaxTimeout\n this[kKeepAliveTimeoutThreshold] = keepAliveTimeoutThreshold == null ? 2e3 : keepAliveTimeoutThreshold\n this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout]\n this[kServerName] = null\n this[kLocalAddress] = localAddress != null ? localAddress : null\n this[kResuming] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kNeedDrain] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kHostHeader] = `host: ${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}\\r\\n`\n this[kBodyTimeout] = bodyTimeout != null ? bodyTimeout : 300e3\n this[kHeadersTimeout] = headersTimeout != null ? headersTimeout : 300e3\n this[kStrictContentLength] = strictContentLength == null ? true : strictContentLength\n this[kMaxRedirections] = maxRedirections\n this[kMaxRequests] = maxRequestsPerClient\n this[kClosedResolve] = null\n this[kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1\n this[kMaxConcurrentStreams] = maxConcurrentStreams != null ? maxConcurrentStreams : 100 // Max peerConcurrentStreams for a Node h2 server\n this[kHTTPContext] = null\n\n // kQueue is built up of 3 sections separated by\n // the kRunningIdx and kPendingIdx indices.\n // | complete | running | pending |\n // ^ kRunningIdx ^ kPendingIdx ^ kQueue.length\n // kRunningIdx points to the first running element.\n // kPendingIdx points to the first pending element.\n // This implements a fast queue with an amortized\n // time of O(1).\n\n this[kQueue] = []\n this[kRunningIdx] = 0\n this[kPendingIdx] = 0\n\n this[kResume] = (sync) => resume(this, sync)\n this[kOnError] = (err) => onError(this, err)\n }\n\n get pipelining () {\n return this[kPipelining]\n }\n\n set pipelining (value) {\n this[kPipelining] = value\n this[kResume](true)\n }\n\n get [kPending] () {\n return this[kQueue].length - this[kPendingIdx]\n }\n\n get [kRunning] () {\n return this[kPendingIdx] - this[kRunningIdx]\n }\n\n get [kSize] () {\n return this[kQueue].length - this[kRunningIdx]\n }\n\n get [kConnected] () {\n return !!this[kHTTPContext] && !this[kConnecting] && !this[kHTTPContext].destroyed\n }\n\n get [kBusy] () {\n return Boolean(\n this[kHTTPContext]?.busy(null) ||\n (this[kSize] >= (getPipelining(this) || 1)) ||\n this[kPending] > 0\n )\n }\n\n /* istanbul ignore: only used for test */\n [kConnect] (cb) {\n connect(this)\n this.once('connect', cb)\n }\n\n [kDispatch] (opts, handler) {\n const origin = opts.origin || this[kUrl].origin\n const request = new Request(origin, opts, handler)\n\n this[kQueue].push(request)\n if (this[kResuming]) {\n // Do nothing.\n } else if (util.bodyLength(request.body) == null && util.isIterable(request.body)) {\n // Wait a tick in case stream/iterator is ended in the same tick.\n this[kResuming] = 1\n queueMicrotask(() => resume(this))\n } else {\n this[kResume](true)\n }\n\n if (this[kResuming] && this[kNeedDrain] !== 2 && this[kBusy]) {\n this[kNeedDrain] = 2\n }\n\n return this[kNeedDrain] < 2\n }\n\n async [kClose] () {\n // TODO: for H2 we need to gracefully flush the remaining enqueued\n // request and close each stream.\n return new Promise((resolve) => {\n if (this[kSize]) {\n this[kClosedResolve] = resolve\n } else {\n resolve(null)\n }\n })\n }\n\n async [kDestroy] (err) {\n return new Promise((resolve) => {\n const requests = this[kQueue].splice(this[kPendingIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(this, request, err)\n }\n\n const callback = () => {\n if (this[kClosedResolve]) {\n // TODO (fix): Should we error here with ClientDestroyedError?\n this[kClosedResolve]()\n this[kClosedResolve] = null\n }\n resolve(null)\n }\n\n if (this[kHTTPContext]) {\n this[kHTTPContext].destroy(err, callback)\n this[kHTTPContext] = null\n } else {\n queueMicrotask(callback)\n }\n\n this[kResume]()\n })\n }\n}\n\nconst createRedirectInterceptor = require('../interceptor/redirect-interceptor.js')\n\nfunction onError (client, err) {\n if (\n client[kRunning] === 0 &&\n err.code !== 'UND_ERR_INFO' &&\n err.code !== 'UND_ERR_SOCKET'\n ) {\n // Error is not caused by running request and not a recoverable\n // socket error.\n\n assert(client[kPendingIdx] === client[kRunningIdx])\n\n const requests = client[kQueue].splice(client[kRunningIdx])\n\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n assert(client[kSize] === 0)\n }\n}\n\n/**\n * @param {Client} client\n * @returns\n */\nasync function connect (client) {\n assert(!client[kConnecting])\n assert(!client[kHTTPContext])\n\n let { host, hostname, protocol, port } = client[kUrl]\n\n // Resolve ipv6\n if (hostname[0] === '[') {\n const idx = hostname.indexOf(']')\n\n assert(idx !== -1)\n const ip = hostname.substring(1, idx)\n\n assert(net.isIP(ip))\n hostname = ip\n }\n\n client[kConnecting] = true\n\n if (channels.beforeConnect.hasSubscribers) {\n channels.beforeConnect.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector]\n })\n }\n\n try {\n const socket = await new Promise((resolve, reject) => {\n client[kConnector]({\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n }, (err, socket) => {\n if (err) {\n reject(err)\n } else {\n resolve(socket)\n }\n })\n })\n\n if (client.destroyed) {\n util.destroy(socket.on('error', noop), new ClientDestroyedError())\n return\n }\n\n assert(socket)\n\n try {\n client[kHTTPContext] = socket.alpnProtocol === 'h2'\n ? await connectH2(client, socket)\n : await connectH1(client, socket)\n } catch (err) {\n socket.destroy().on('error', noop)\n throw err\n }\n\n client[kConnecting] = false\n\n socket[kCounter] = 0\n socket[kMaxRequests] = client[kMaxRequests]\n socket[kClient] = client\n socket[kError] = null\n\n if (channels.connected.hasSubscribers) {\n channels.connected.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n socket\n })\n }\n client.emit('connect', client[kUrl], [client])\n } catch (err) {\n if (client.destroyed) {\n return\n }\n\n client[kConnecting] = false\n\n if (channels.connectError.hasSubscribers) {\n channels.connectError.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n error: err\n })\n }\n\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n assert(client[kRunning] === 0)\n while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) {\n const request = client[kQueue][client[kPendingIdx]++]\n util.errorRequest(client, request, err)\n }\n } else {\n onError(client, err)\n }\n\n client.emit('connectionError', client[kUrl], [client], err)\n }\n\n client[kResume]()\n}\n\nfunction emitDrain (client) {\n client[kNeedDrain] = 0\n client.emit('drain', client[kUrl], [client])\n}\n\nfunction resume (client, sync) {\n if (client[kResuming] === 2) {\n return\n }\n\n client[kResuming] = 2\n\n _resume(client, sync)\n client[kResuming] = 0\n\n if (client[kRunningIdx] > 256) {\n client[kQueue].splice(0, client[kRunningIdx])\n client[kPendingIdx] -= client[kRunningIdx]\n client[kRunningIdx] = 0\n }\n}\n\nfunction _resume (client, sync) {\n while (true) {\n if (client.destroyed) {\n assert(client[kPending] === 0)\n return\n }\n\n if (client[kClosedResolve] && !client[kSize]) {\n client[kClosedResolve]()\n client[kClosedResolve] = null\n return\n }\n\n if (client[kHTTPContext]) {\n client[kHTTPContext].resume()\n }\n\n if (client[kBusy]) {\n client[kNeedDrain] = 2\n } else if (client[kNeedDrain] === 2) {\n if (sync) {\n client[kNeedDrain] = 1\n queueMicrotask(() => emitDrain(client))\n } else {\n emitDrain(client)\n }\n continue\n }\n\n if (client[kPending] === 0) {\n return\n }\n\n if (client[kRunning] >= (getPipelining(client) || 1)) {\n return\n }\n\n const request = client[kQueue][client[kPendingIdx]]\n\n if (client[kUrl].protocol === 'https:' && client[kServerName] !== request.servername) {\n if (client[kRunning] > 0) {\n return\n }\n\n client[kServerName] = request.servername\n client[kHTTPContext]?.destroy(new InformationalError('servername changed'), () => {\n client[kHTTPContext] = null\n resume(client)\n })\n }\n\n if (client[kConnecting]) {\n return\n }\n\n if (!client[kHTTPContext]) {\n connect(client)\n return\n }\n\n if (client[kHTTPContext].destroyed) {\n return\n }\n\n if (client[kHTTPContext].busy(request)) {\n return\n }\n\n if (!request.aborted && client[kHTTPContext].write(request)) {\n client[kPendingIdx]++\n } else {\n client[kQueue].splice(client[kPendingIdx], 1)\n }\n }\n}\n\nmodule.exports = Client\n", "/* eslint-disable */\n\n'use strict'\n\n// Extracted from node/lib/internal/fixed_queue.js\n\n// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.\nconst kSize = 2048;\nconst kMask = kSize - 1;\n\n// The FixedQueue is implemented as a singly-linked list of fixed-size\n// circular buffers. It looks something like this:\n//\n// head tail\n// | |\n// v v\n// +-----------+ <-----\\ +-----------+ <------\\ +-----------+\n// | [null] | \\----- | next | \\------- | next |\n// +-----------+ +-----------+ +-----------+\n// | item | <-- bottom | item | <-- bottom | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | bottom --> | item |\n// | item | | item | | item |\n// | ... | | ... | | ... |\n// | item | | item | | item |\n// | item | | item | | item |\n// | [empty] | <-- top | item | | item |\n// | [empty] | | item | | item |\n// | [empty] | | [empty] | <-- top top --> | [empty] |\n// +-----------+ +-----------+ +-----------+\n//\n// Or, if there is only one circular buffer, it looks something\n// like either of these:\n//\n// head tail head tail\n// | | | |\n// v v v v\n// +-----------+ +-----------+\n// | [null] | | [null] |\n// +-----------+ +-----------+\n// | [empty] | | item |\n// | [empty] | | item |\n// | item | <-- bottom top --> | [empty] |\n// | item | | [empty] |\n// | [empty] | <-- top bottom --> | item |\n// | [empty] | | item |\n// +-----------+ +-----------+\n//\n// Adding a value means moving `top` forward by one, removing means\n// moving `bottom` forward by one. After reaching the end, the queue\n// wraps around.\n//\n// When `top === bottom` the current queue is empty and when\n// `top + 1 === bottom` it's full. This wastes a single space of storage\n// but allows much quicker checks.\n\nclass FixedCircularBuffer {\n constructor() {\n this.bottom = 0;\n this.top = 0;\n this.list = new Array(kSize);\n this.next = null;\n }\n\n isEmpty() {\n return this.top === this.bottom;\n }\n\n isFull() {\n return ((this.top + 1) & kMask) === this.bottom;\n }\n\n push(data) {\n this.list[this.top] = data;\n this.top = (this.top + 1) & kMask;\n }\n\n shift() {\n const nextItem = this.list[this.bottom];\n if (nextItem === undefined)\n return null;\n this.list[this.bottom] = undefined;\n this.bottom = (this.bottom + 1) & kMask;\n return nextItem;\n }\n}\n\nmodule.exports = class FixedQueue {\n constructor() {\n this.head = this.tail = new FixedCircularBuffer();\n }\n\n isEmpty() {\n return this.head.isEmpty();\n }\n\n push(data) {\n if (this.head.isFull()) {\n // Head is full: Creates a new queue, sets the old queue's `.next` to it,\n // and sets it as the new main queue.\n this.head = this.head.next = new FixedCircularBuffer();\n }\n this.head.push(data);\n }\n\n shift() {\n const tail = this.tail;\n const next = tail.shift();\n if (tail.isEmpty() && tail.next !== null) {\n // If there is another queue, it forms the new tail.\n this.tail = tail.next;\n }\n return next;\n }\n};\n", "const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('../core/symbols')\nconst kPool = Symbol('pool')\n\nclass PoolStats {\n constructor (pool) {\n this[kPool] = pool\n }\n\n get connected () {\n return this[kPool][kConnected]\n }\n\n get free () {\n return this[kPool][kFree]\n }\n\n get pending () {\n return this[kPool][kPending]\n }\n\n get queued () {\n return this[kPool][kQueued]\n }\n\n get running () {\n return this[kPool][kRunning]\n }\n\n get size () {\n return this[kPool][kSize]\n }\n}\n\nmodule.exports = PoolStats\n", "'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst FixedQueue = require('./fixed-queue')\nconst { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('../core/symbols')\nconst PoolStats = require('./pool-stats')\n\nconst kClients = Symbol('clients')\nconst kNeedDrain = Symbol('needDrain')\nconst kQueue = Symbol('queue')\nconst kClosedResolve = Symbol('closed resolve')\nconst kOnDrain = Symbol('onDrain')\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kGetDispatcher = Symbol('get dispatcher')\nconst kAddClient = Symbol('add client')\nconst kRemoveClient = Symbol('remove client')\nconst kStats = Symbol('stats')\n\nclass PoolBase extends DispatcherBase {\n constructor (opts) {\n super(opts)\n\n this[kQueue] = new FixedQueue()\n this[kClients] = []\n this[kQueued] = 0\n\n const pool = this\n\n this[kOnDrain] = function onDrain (origin, targets) {\n const queue = pool[kQueue]\n\n let needDrain = false\n\n while (!needDrain) {\n const item = queue.shift()\n if (!item) {\n break\n }\n pool[kQueued]--\n needDrain = !this.dispatch(item.opts, item.handler)\n }\n\n this[kNeedDrain] = needDrain\n\n if (!this[kNeedDrain] && pool[kNeedDrain]) {\n pool[kNeedDrain] = false\n pool.emit('drain', origin, [pool, ...targets])\n }\n\n if (pool[kClosedResolve] && queue.isEmpty()) {\n Promise\n .all(pool[kClients].map(c => c.close()))\n .then(pool[kClosedResolve])\n }\n }\n\n this[kOnConnect] = (origin, targets) => {\n pool.emit('connect', origin, [pool, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n pool.emit('disconnect', origin, [pool, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n pool.emit('connectionError', origin, [pool, ...targets], err)\n }\n\n this[kStats] = new PoolStats(this)\n }\n\n get [kBusy] () {\n return this[kNeedDrain]\n }\n\n get [kConnected] () {\n return this[kClients].filter(client => client[kConnected]).length\n }\n\n get [kFree] () {\n return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length\n }\n\n get [kPending] () {\n let ret = this[kQueued]\n for (const { [kPending]: pending } of this[kClients]) {\n ret += pending\n }\n return ret\n }\n\n get [kRunning] () {\n let ret = 0\n for (const { [kRunning]: running } of this[kClients]) {\n ret += running\n }\n return ret\n }\n\n get [kSize] () {\n let ret = this[kQueued]\n for (const { [kSize]: size } of this[kClients]) {\n ret += size\n }\n return ret\n }\n\n get stats () {\n return this[kStats]\n }\n\n async [kClose] () {\n if (this[kQueue].isEmpty()) {\n await Promise.all(this[kClients].map(c => c.close()))\n } else {\n await new Promise((resolve) => {\n this[kClosedResolve] = resolve\n })\n }\n }\n\n async [kDestroy] (err) {\n while (true) {\n const item = this[kQueue].shift()\n if (!item) {\n break\n }\n item.handler.onError(err)\n }\n\n await Promise.all(this[kClients].map(c => c.destroy(err)))\n }\n\n [kDispatch] (opts, handler) {\n const dispatcher = this[kGetDispatcher]()\n\n if (!dispatcher) {\n this[kNeedDrain] = true\n this[kQueue].push({ opts, handler })\n this[kQueued]++\n } else if (!dispatcher.dispatch(opts, handler)) {\n dispatcher[kNeedDrain] = true\n this[kNeedDrain] = !this[kGetDispatcher]()\n }\n\n return !this[kNeedDrain]\n }\n\n [kAddClient] (client) {\n client\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n this[kClients].push(client)\n\n if (this[kNeedDrain]) {\n queueMicrotask(() => {\n if (this[kNeedDrain]) {\n this[kOnDrain](client[kUrl], [this, client])\n }\n })\n }\n\n return this\n }\n\n [kRemoveClient] (client) {\n client.close(() => {\n const idx = this[kClients].indexOf(client)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n })\n\n this[kNeedDrain] = this[kClients].some(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n }\n}\n\nmodule.exports = {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n}\n", "'use strict'\n\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Client = require('./client')\nconst {\n InvalidArgumentError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { kUrl, kInterceptors } = require('../core/symbols')\nconst buildConnector = require('../core/connect')\n\nconst kOptions = Symbol('options')\nconst kConnections = Symbol('connections')\nconst kFactory = Symbol('factory')\n\nfunction defaultFactory (origin, opts) {\n return new Client(origin, opts)\n}\n\nclass Pool extends PoolBase {\n constructor (origin, {\n connections,\n factory = defaultFactory,\n connect,\n connectTimeout,\n tls,\n maxCachedSessions,\n socketPath,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n allowH2,\n ...options\n } = {}) {\n if (connections != null && (!Number.isFinite(connections) || connections < 0)) {\n throw new InvalidArgumentError('invalid connections')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n super(options)\n\n this[kInterceptors] = options.interceptors?.Pool && Array.isArray(options.interceptors.Pool)\n ? options.interceptors.Pool\n : []\n this[kConnections] = connections || null\n this[kUrl] = util.parseOrigin(origin)\n this[kOptions] = { ...util.deepClone(options), connect, allowH2 }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kFactory] = factory\n\n this.on('connectionError', (origin, targets, error) => {\n // If a connection error occurs, we remove the client from the pool,\n // and emit a connectionError event. They will not be re-used.\n // Fixes https://github.com/nodejs/undici/issues/3895\n for (const target of targets) {\n // Do not use kRemoveClient here, as it will close the client,\n // but the client cannot be closed in this state.\n const idx = this[kClients].indexOf(target)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n }\n })\n }\n\n [kGetDispatcher] () {\n for (const client of this[kClients]) {\n if (!client[kNeedDrain]) {\n return client\n }\n }\n\n if (!this[kConnections] || this[kClients].length < this[kConnections]) {\n const dispatcher = this[kFactory](this[kUrl], this[kOptions])\n this[kAddClient](dispatcher)\n return dispatcher\n }\n }\n}\n\nmodule.exports = Pool\n", "'use strict'\n\nconst {\n BalancedPoolMissingUpstreamError,\n InvalidArgumentError\n} = require('../core/errors')\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Pool = require('./pool')\nconst { kUrl, kInterceptors } = require('../core/symbols')\nconst { parseOrigin } = require('../core/util')\nconst kFactory = Symbol('factory')\n\nconst kOptions = Symbol('options')\nconst kGreatestCommonDivisor = Symbol('kGreatestCommonDivisor')\nconst kCurrentWeight = Symbol('kCurrentWeight')\nconst kIndex = Symbol('kIndex')\nconst kWeight = Symbol('kWeight')\nconst kMaxWeightPerServer = Symbol('kMaxWeightPerServer')\nconst kErrorPenalty = Symbol('kErrorPenalty')\n\n/**\n * Calculate the greatest common divisor of two numbers by\n * using the Euclidean algorithm.\n *\n * @param {number} a\n * @param {number} b\n * @returns {number}\n */\nfunction getGreatestCommonDivisor (a, b) {\n if (a === 0) return b\n\n while (b !== 0) {\n const t = b\n b = a % b\n a = t\n }\n return a\n}\n\nfunction defaultFactory (origin, opts) {\n return new Pool(origin, opts)\n}\n\nclass BalancedPool extends PoolBase {\n constructor (upstreams = [], { factory = defaultFactory, ...opts } = {}) {\n super()\n\n this[kOptions] = opts\n this[kIndex] = -1\n this[kCurrentWeight] = 0\n\n this[kMaxWeightPerServer] = this[kOptions].maxWeightPerServer || 100\n this[kErrorPenalty] = this[kOptions].errorPenalty || 15\n\n if (!Array.isArray(upstreams)) {\n upstreams = [upstreams]\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n this[kInterceptors] = opts.interceptors?.BalancedPool && Array.isArray(opts.interceptors.BalancedPool)\n ? opts.interceptors.BalancedPool\n : []\n this[kFactory] = factory\n\n for (const upstream of upstreams) {\n this.addUpstream(upstream)\n }\n this._updateBalancedPoolStats()\n }\n\n addUpstream (upstream) {\n const upstreamOrigin = parseOrigin(upstream).origin\n\n if (this[kClients].find((pool) => (\n pool[kUrl].origin === upstreamOrigin &&\n pool.closed !== true &&\n pool.destroyed !== true\n ))) {\n return this\n }\n const pool = this[kFactory](upstreamOrigin, Object.assign({}, this[kOptions]))\n\n this[kAddClient](pool)\n pool.on('connect', () => {\n pool[kWeight] = Math.min(this[kMaxWeightPerServer], pool[kWeight] + this[kErrorPenalty])\n })\n\n pool.on('connectionError', () => {\n pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])\n this._updateBalancedPoolStats()\n })\n\n pool.on('disconnect', (...args) => {\n const err = args[2]\n if (err && err.code === 'UND_ERR_SOCKET') {\n // decrease the weight of the pool.\n pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])\n this._updateBalancedPoolStats()\n }\n })\n\n for (const client of this[kClients]) {\n client[kWeight] = this[kMaxWeightPerServer]\n }\n\n this._updateBalancedPoolStats()\n\n return this\n }\n\n _updateBalancedPoolStats () {\n let result = 0\n for (let i = 0; i < this[kClients].length; i++) {\n result = getGreatestCommonDivisor(this[kClients][i][kWeight], result)\n }\n\n this[kGreatestCommonDivisor] = result\n }\n\n removeUpstream (upstream) {\n const upstreamOrigin = parseOrigin(upstream).origin\n\n const pool = this[kClients].find((pool) => (\n pool[kUrl].origin === upstreamOrigin &&\n pool.closed !== true &&\n pool.destroyed !== true\n ))\n\n if (pool) {\n this[kRemoveClient](pool)\n }\n\n return this\n }\n\n get upstreams () {\n return this[kClients]\n .filter(dispatcher => dispatcher.closed !== true && dispatcher.destroyed !== true)\n .map((p) => p[kUrl].origin)\n }\n\n [kGetDispatcher] () {\n // We validate that pools is greater than 0,\n // otherwise we would have to wait until an upstream\n // is added, which might never happen.\n if (this[kClients].length === 0) {\n throw new BalancedPoolMissingUpstreamError()\n }\n\n const dispatcher = this[kClients].find(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n\n if (!dispatcher) {\n return\n }\n\n const allClientsBusy = this[kClients].map(pool => pool[kNeedDrain]).reduce((a, b) => a && b, true)\n\n if (allClientsBusy) {\n return\n }\n\n let counter = 0\n\n let maxWeightIndex = this[kClients].findIndex(pool => !pool[kNeedDrain])\n\n while (counter++ < this[kClients].length) {\n this[kIndex] = (this[kIndex] + 1) % this[kClients].length\n const pool = this[kClients][this[kIndex]]\n\n // find pool index with the largest weight\n if (pool[kWeight] > this[kClients][maxWeightIndex][kWeight] && !pool[kNeedDrain]) {\n maxWeightIndex = this[kIndex]\n }\n\n // decrease the current weight every `this[kClients].length`.\n if (this[kIndex] === 0) {\n // Set the current weight to the next lower weight.\n this[kCurrentWeight] = this[kCurrentWeight] - this[kGreatestCommonDivisor]\n\n if (this[kCurrentWeight] <= 0) {\n this[kCurrentWeight] = this[kMaxWeightPerServer]\n }\n }\n if (pool[kWeight] >= this[kCurrentWeight] && (!pool[kNeedDrain])) {\n return pool\n }\n }\n\n this[kCurrentWeight] = this[kClients][maxWeightIndex][kWeight]\n this[kIndex] = maxWeightIndex\n return this[kClients][maxWeightIndex]\n }\n}\n\nmodule.exports = BalancedPool\n", "'use strict'\n\nconst { InvalidArgumentError } = require('../core/errors')\nconst { kClients, kRunning, kClose, kDestroy, kDispatch, kInterceptors } = require('../core/symbols')\nconst DispatcherBase = require('./dispatcher-base')\nconst Pool = require('./pool')\nconst Client = require('./client')\nconst util = require('../core/util')\nconst createRedirectInterceptor = require('../interceptor/redirect-interceptor')\n\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kMaxRedirections = Symbol('maxRedirections')\nconst kOnDrain = Symbol('onDrain')\nconst kFactory = Symbol('factory')\nconst kOptions = Symbol('options')\n\nfunction defaultFactory (origin, opts) {\n return opts && opts.connections === 1\n ? new Client(origin, opts)\n : new Pool(origin, opts)\n}\n\nclass Agent extends DispatcherBase {\n constructor ({ factory = defaultFactory, maxRedirections = 0, connect, ...options } = {}) {\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (!Number.isInteger(maxRedirections) || maxRedirections < 0) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n super(options)\n\n if (connect && typeof connect !== 'function') {\n connect = { ...connect }\n }\n\n this[kInterceptors] = options.interceptors?.Agent && Array.isArray(options.interceptors.Agent)\n ? options.interceptors.Agent\n : [createRedirectInterceptor({ maxRedirections })]\n\n this[kOptions] = { ...util.deepClone(options), connect }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kMaxRedirections] = maxRedirections\n this[kFactory] = factory\n this[kClients] = new Map()\n\n this[kOnDrain] = (origin, targets) => {\n this.emit('drain', origin, [this, ...targets])\n }\n\n this[kOnConnect] = (origin, targets) => {\n this.emit('connect', origin, [this, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n this.emit('disconnect', origin, [this, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n this.emit('connectionError', origin, [this, ...targets], err)\n }\n }\n\n get [kRunning] () {\n let ret = 0\n for (const client of this[kClients].values()) {\n ret += client[kRunning]\n }\n return ret\n }\n\n [kDispatch] (opts, handler) {\n let key\n if (opts.origin && (typeof opts.origin === 'string' || opts.origin instanceof URL)) {\n key = String(opts.origin)\n } else {\n throw new InvalidArgumentError('opts.origin must be a non-empty string or URL.')\n }\n\n let dispatcher = this[kClients].get(key)\n\n if (!dispatcher) {\n dispatcher = this[kFactory](opts.origin, this[kOptions])\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n // This introduces a tiny memory leak, as dispatchers are never removed from the map.\n // TODO(mcollina): remove te timer when the client/pool do not have any more\n // active connections.\n this[kClients].set(key, dispatcher)\n }\n\n return dispatcher.dispatch(opts, handler)\n }\n\n async [kClose] () {\n const closePromises = []\n for (const client of this[kClients].values()) {\n closePromises.push(client.close())\n }\n this[kClients].clear()\n\n await Promise.all(closePromises)\n }\n\n async [kDestroy] (err) {\n const destroyPromises = []\n for (const client of this[kClients].values()) {\n destroyPromises.push(client.destroy(err))\n }\n this[kClients].clear()\n\n await Promise.all(destroyPromises)\n }\n}\n\nmodule.exports = Agent\n", "'use strict'\n\nconst { kProxy, kClose, kDestroy, kDispatch, kInterceptors } = require('../core/symbols')\nconst { URL } = require('node:url')\nconst Agent = require('./agent')\nconst Pool = require('./pool')\nconst DispatcherBase = require('./dispatcher-base')\nconst { InvalidArgumentError, RequestAbortedError, SecureProxyConnectionError } = require('../core/errors')\nconst buildConnector = require('../core/connect')\nconst Client = require('./client')\n\nconst kAgent = Symbol('proxy agent')\nconst kClient = Symbol('proxy client')\nconst kProxyHeaders = Symbol('proxy headers')\nconst kRequestTls = Symbol('request tls settings')\nconst kProxyTls = Symbol('proxy tls settings')\nconst kConnectEndpoint = Symbol('connect endpoint function')\nconst kTunnelProxy = Symbol('tunnel proxy')\n\nfunction defaultProtocolPort (protocol) {\n return protocol === 'https:' ? 443 : 80\n}\n\nfunction defaultFactory (origin, opts) {\n return new Pool(origin, opts)\n}\n\nconst noop = () => {}\n\nfunction defaultAgentFactory (origin, opts) {\n if (opts.connections === 1) {\n return new Client(origin, opts)\n }\n return new Pool(origin, opts)\n}\n\nclass Http1ProxyWrapper extends DispatcherBase {\n #client\n\n constructor (proxyUrl, { headers = {}, connect, factory }) {\n super()\n if (!proxyUrl) {\n throw new InvalidArgumentError('Proxy URL is mandatory')\n }\n\n this[kProxyHeaders] = headers\n if (factory) {\n this.#client = factory(proxyUrl, { connect })\n } else {\n this.#client = new Client(proxyUrl, { connect })\n }\n }\n\n [kDispatch] (opts, handler) {\n const onHeaders = handler.onHeaders\n handler.onHeaders = function (statusCode, data, resume) {\n if (statusCode === 407) {\n if (typeof handler.onError === 'function') {\n handler.onError(new InvalidArgumentError('Proxy Authentication Required (407)'))\n }\n return\n }\n if (onHeaders) onHeaders.call(this, statusCode, data, resume)\n }\n\n // Rewrite request as an HTTP1 Proxy request, without tunneling.\n const {\n origin,\n path = '/',\n headers = {}\n } = opts\n\n opts.path = origin + path\n\n if (!('host' in headers) && !('Host' in headers)) {\n const { host } = new URL(origin)\n headers.host = host\n }\n opts.headers = { ...this[kProxyHeaders], ...headers }\n\n return this.#client[kDispatch](opts, handler)\n }\n\n async [kClose] () {\n return this.#client.close()\n }\n\n async [kDestroy] (err) {\n return this.#client.destroy(err)\n }\n}\n\nclass ProxyAgent extends DispatcherBase {\n constructor (opts) {\n super()\n\n if (!opts || (typeof opts === 'object' && !(opts instanceof URL) && !opts.uri)) {\n throw new InvalidArgumentError('Proxy uri is mandatory')\n }\n\n const { clientFactory = defaultFactory } = opts\n if (typeof clientFactory !== 'function') {\n throw new InvalidArgumentError('Proxy opts.clientFactory must be a function.')\n }\n\n const { proxyTunnel = true } = opts\n\n const url = this.#getUrl(opts)\n const { href, origin, port, protocol, username, password, hostname: proxyHostname } = url\n\n this[kProxy] = { uri: href, protocol }\n this[kInterceptors] = opts.interceptors?.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent)\n ? opts.interceptors.ProxyAgent\n : []\n this[kRequestTls] = opts.requestTls\n this[kProxyTls] = opts.proxyTls\n this[kProxyHeaders] = opts.headers || {}\n this[kTunnelProxy] = proxyTunnel\n\n if (opts.auth && opts.token) {\n throw new InvalidArgumentError('opts.auth cannot be used in combination with opts.token')\n } else if (opts.auth) {\n /* @deprecated in favour of opts.token */\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${opts.auth}`\n } else if (opts.token) {\n this[kProxyHeaders]['proxy-authorization'] = opts.token\n } else if (username && password) {\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${Buffer.from(`${decodeURIComponent(username)}:${decodeURIComponent(password)}`).toString('base64')}`\n }\n\n const connect = buildConnector({ ...opts.proxyTls })\n this[kConnectEndpoint] = buildConnector({ ...opts.requestTls })\n\n const agentFactory = opts.factory || defaultAgentFactory\n const factory = (origin, options) => {\n const { protocol } = new URL(origin)\n if (!this[kTunnelProxy] && protocol === 'http:' && this[kProxy].protocol === 'http:') {\n return new Http1ProxyWrapper(this[kProxy].uri, {\n headers: this[kProxyHeaders],\n connect,\n factory: agentFactory\n })\n }\n return agentFactory(origin, options)\n }\n this[kClient] = clientFactory(url, { connect })\n this[kAgent] = new Agent({\n ...opts,\n factory,\n connect: async (opts, callback) => {\n let requestedPath = opts.host\n if (!opts.port) {\n requestedPath += `:${defaultProtocolPort(opts.protocol)}`\n }\n try {\n const { socket, statusCode } = await this[kClient].connect({\n origin,\n port,\n path: requestedPath,\n signal: opts.signal,\n headers: {\n ...this[kProxyHeaders],\n host: opts.host\n },\n servername: this[kProxyTls]?.servername || proxyHostname\n })\n if (statusCode !== 200) {\n socket.on('error', noop).destroy()\n callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))\n }\n if (opts.protocol !== 'https:') {\n callback(null, socket)\n return\n }\n let servername\n if (this[kRequestTls]) {\n servername = this[kRequestTls].servername\n } else {\n servername = opts.servername\n }\n this[kConnectEndpoint]({ ...opts, servername, httpSocket: socket }, callback)\n } catch (err) {\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n // Throw a custom error to avoid loop in client.js#connect\n callback(new SecureProxyConnectionError(err))\n } else {\n callback(err)\n }\n }\n }\n })\n }\n\n dispatch (opts, handler) {\n const headers = buildHeaders(opts.headers)\n throwIfProxyAuthIsSent(headers)\n\n if (headers && !('host' in headers) && !('Host' in headers)) {\n const { host } = new URL(opts.origin)\n headers.host = host\n }\n\n return this[kAgent].dispatch(\n {\n ...opts,\n headers\n },\n handler\n )\n }\n\n /**\n * @param {import('../types/proxy-agent').ProxyAgent.Options | string | URL} opts\n * @returns {URL}\n */\n #getUrl (opts) {\n if (typeof opts === 'string') {\n return new URL(opts)\n } else if (opts instanceof URL) {\n return opts\n } else {\n return new URL(opts.uri)\n }\n }\n\n async [kClose] () {\n await this[kAgent].close()\n await this[kClient].close()\n }\n\n async [kDestroy] () {\n await this[kAgent].destroy()\n await this[kClient].destroy()\n }\n}\n\n/**\n * @param {string[] | Record} headers\n * @returns {Record}\n */\nfunction buildHeaders (headers) {\n // When using undici.fetch, the headers list is stored\n // as an array.\n if (Array.isArray(headers)) {\n /** @type {Record} */\n const headersPair = {}\n\n for (let i = 0; i < headers.length; i += 2) {\n headersPair[headers[i]] = headers[i + 1]\n }\n\n return headersPair\n }\n\n return headers\n}\n\n/**\n * @param {Record} headers\n *\n * Previous versions of ProxyAgent suggests the Proxy-Authorization in request headers\n * Nevertheless, it was changed and to avoid a security vulnerability by end users\n * this check was created.\n * It should be removed in the next major version for performance reasons\n */\nfunction throwIfProxyAuthIsSent (headers) {\n const existProxyAuth = headers && Object.keys(headers)\n .find((key) => key.toLowerCase() === 'proxy-authorization')\n if (existProxyAuth) {\n throw new InvalidArgumentError('Proxy-Authorization should be sent in ProxyAgent constructor')\n }\n}\n\nmodule.exports = ProxyAgent\n", "'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst { kClose, kDestroy, kClosed, kDestroyed, kDispatch, kNoProxyAgent, kHttpProxyAgent, kHttpsProxyAgent } = require('../core/symbols')\nconst ProxyAgent = require('./proxy-agent')\nconst Agent = require('./agent')\n\nconst DEFAULT_PORTS = {\n 'http:': 80,\n 'https:': 443\n}\n\nlet experimentalWarned = false\n\nclass EnvHttpProxyAgent extends DispatcherBase {\n #noProxyValue = null\n #noProxyEntries = null\n #opts = null\n\n constructor (opts = {}) {\n super()\n this.#opts = opts\n\n if (!experimentalWarned) {\n experimentalWarned = true\n process.emitWarning('EnvHttpProxyAgent is experimental, expect them to change at any time.', {\n code: 'UNDICI-EHPA'\n })\n }\n\n const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts\n\n this[kNoProxyAgent] = new Agent(agentOpts)\n\n const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY\n if (HTTP_PROXY) {\n this[kHttpProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTP_PROXY })\n } else {\n this[kHttpProxyAgent] = this[kNoProxyAgent]\n }\n\n const HTTPS_PROXY = httpsProxy ?? process.env.https_proxy ?? process.env.HTTPS_PROXY\n if (HTTPS_PROXY) {\n this[kHttpsProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTPS_PROXY })\n } else {\n this[kHttpsProxyAgent] = this[kHttpProxyAgent]\n }\n\n this.#parseNoProxy()\n }\n\n [kDispatch] (opts, handler) {\n const url = new URL(opts.origin)\n const agent = this.#getProxyAgentForUrl(url)\n return agent.dispatch(opts, handler)\n }\n\n async [kClose] () {\n await this[kNoProxyAgent].close()\n if (!this[kHttpProxyAgent][kClosed]) {\n await this[kHttpProxyAgent].close()\n }\n if (!this[kHttpsProxyAgent][kClosed]) {\n await this[kHttpsProxyAgent].close()\n }\n }\n\n async [kDestroy] (err) {\n await this[kNoProxyAgent].destroy(err)\n if (!this[kHttpProxyAgent][kDestroyed]) {\n await this[kHttpProxyAgent].destroy(err)\n }\n if (!this[kHttpsProxyAgent][kDestroyed]) {\n await this[kHttpsProxyAgent].destroy(err)\n }\n }\n\n #getProxyAgentForUrl (url) {\n let { protocol, host: hostname, port } = url\n\n // Stripping ports in this way instead of using parsedUrl.hostname to make\n // sure that the brackets around IPv6 addresses are kept.\n hostname = hostname.replace(/:\\d*$/, '').toLowerCase()\n port = Number.parseInt(port, 10) || DEFAULT_PORTS[protocol] || 0\n if (!this.#shouldProxy(hostname, port)) {\n return this[kNoProxyAgent]\n }\n if (protocol === 'https:') {\n return this[kHttpsProxyAgent]\n }\n return this[kHttpProxyAgent]\n }\n\n #shouldProxy (hostname, port) {\n if (this.#noProxyChanged) {\n this.#parseNoProxy()\n }\n\n if (this.#noProxyEntries.length === 0) {\n return true // Always proxy if NO_PROXY is not set or empty.\n }\n if (this.#noProxyValue === '*') {\n return false // Never proxy if wildcard is set.\n }\n\n for (let i = 0; i < this.#noProxyEntries.length; i++) {\n const entry = this.#noProxyEntries[i]\n if (entry.port && entry.port !== port) {\n continue // Skip if ports don't match.\n }\n if (!/^[.*]/.test(entry.hostname)) {\n // No wildcards, so don't proxy only if there is not an exact match.\n if (hostname === entry.hostname) {\n return false\n }\n } else {\n // Don't proxy if the hostname ends with the no_proxy host.\n if (hostname.endsWith(entry.hostname.replace(/^\\*/, ''))) {\n return false\n }\n }\n }\n\n return true\n }\n\n #parseNoProxy () {\n const noProxyValue = this.#opts.noProxy ?? this.#noProxyEnv\n const noProxySplit = noProxyValue.split(/[,\\s]/)\n const noProxyEntries = []\n\n for (let i = 0; i < noProxySplit.length; i++) {\n const entry = noProxySplit[i]\n if (!entry) {\n continue\n }\n const parsed = entry.match(/^(.+):(\\d+)$/)\n noProxyEntries.push({\n hostname: (parsed ? parsed[1] : entry).toLowerCase(),\n port: parsed ? Number.parseInt(parsed[2], 10) : 0\n })\n }\n\n this.#noProxyValue = noProxyValue\n this.#noProxyEntries = noProxyEntries\n }\n\n get #noProxyChanged () {\n if (this.#opts.noProxy !== undefined) {\n return false\n }\n return this.#noProxyValue !== this.#noProxyEnv\n }\n\n get #noProxyEnv () {\n return process.env.no_proxy ?? process.env.NO_PROXY ?? ''\n }\n}\n\nmodule.exports = EnvHttpProxyAgent\n", "'use strict'\nconst assert = require('node:assert')\n\nconst { kRetryHandlerDefaultRetry } = require('../core/symbols')\nconst { RequestRetryError } = require('../core/errors')\nconst {\n isDisturbed,\n parseHeaders,\n parseRangeHeader,\n wrapRequestBody\n} = require('../core/util')\n\nfunction calculateRetryAfterHeader (retryAfter) {\n const current = Date.now()\n return new Date(retryAfter).getTime() - current\n}\n\nfunction validatePartialResponseContentLength (headers, range, statusCode, retryCount) {\n const contentLength = headers['content-length']\n if (contentLength == null) {\n return null\n }\n\n if (!Number.isFinite(range.start) || !Number.isFinite(range.end)) {\n return null\n }\n\n const length = Number(contentLength)\n const expectedLength = range.end - range.start + 1\n if (!Number.isFinite(length) || length !== expectedLength) {\n return new RequestRetryError('Content-Length mismatch', statusCode, {\n headers,\n data: { count: retryCount }\n })\n }\n\n return null\n}\n\nclass RetryHandler {\n constructor (opts, handlers) {\n const { retryOptions, ...dispatchOpts } = opts\n const {\n // Retry scoped\n retry: retryFn,\n maxRetries,\n maxTimeout,\n minTimeout,\n timeoutFactor,\n // Response scoped\n methods,\n errorCodes,\n retryAfter,\n statusCodes\n } = retryOptions ?? {}\n\n this.dispatch = handlers.dispatch\n this.handler = handlers.handler\n this.opts = { ...dispatchOpts, body: wrapRequestBody(opts.body) }\n this.abort = null\n this.aborted = false\n this.retryOpts = {\n retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry],\n retryAfter: retryAfter ?? true,\n maxTimeout: maxTimeout ?? 30 * 1000, // 30s,\n minTimeout: minTimeout ?? 500, // .5s\n timeoutFactor: timeoutFactor ?? 2,\n maxRetries: maxRetries ?? 5,\n // What errors we should retry\n methods: methods ?? ['GET', 'HEAD', 'OPTIONS', 'PUT', 'DELETE', 'TRACE'],\n // Indicates which errors to retry\n statusCodes: statusCodes ?? [500, 502, 503, 504, 429],\n // List of errors to retry\n errorCodes: errorCodes ?? [\n 'ECONNRESET',\n 'ECONNREFUSED',\n 'ENOTFOUND',\n 'ENETDOWN',\n 'ENETUNREACH',\n 'EHOSTDOWN',\n 'EHOSTUNREACH',\n 'EPIPE',\n 'UND_ERR_SOCKET'\n ]\n }\n\n this.retryCount = 0\n this.retryCountCheckpoint = 0\n this.start = 0\n this.end = null\n this.etag = null\n this.resume = null\n this.headersSent = false\n\n // Handle possible onConnect duplication\n this.handler.onConnect(reason => {\n this.aborted = true\n if (this.abort) {\n this.abort(reason)\n } else {\n this.reason = reason\n }\n })\n }\n\n checkpointResponseEnd (headers, resume) {\n if (this.end == null && this.opts.method !== 'HEAD') {\n const contentLength = headers['content-length']\n this.end = contentLength != null ? Number(contentLength) - 1 : null\n\n assert(\n this.end == null || Number.isFinite(this.end),\n 'invalid content-length'\n )\n }\n\n this.resume = this.end != null ? resume : null\n }\n\n onRequestSent () {\n if (this.handler.onRequestSent) {\n this.handler.onRequestSent()\n }\n }\n\n onUpgrade (statusCode, headers, socket) {\n if (this.handler.onUpgrade) {\n this.handler.onUpgrade(statusCode, headers, socket)\n }\n }\n\n onConnect (abort) {\n if (this.aborted) {\n abort(this.reason)\n } else {\n this.abort = abort\n }\n }\n\n onBodySent (chunk) {\n if (this.handler.onBodySent) return this.handler.onBodySent(chunk)\n }\n\n static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) {\n const { statusCode, code, headers } = err\n const { method, retryOptions } = opts\n const {\n maxRetries,\n minTimeout,\n maxTimeout,\n timeoutFactor,\n statusCodes,\n errorCodes,\n methods\n } = retryOptions\n const { counter } = state\n\n // Any code that is not a Undici's originated and allowed to retry\n if (code && code !== 'UND_ERR_REQ_RETRY' && !errorCodes.includes(code)) {\n cb(err)\n return\n }\n\n // If a set of method are provided and the current method is not in the list\n if (Array.isArray(methods) && !methods.includes(method)) {\n cb(err)\n return\n }\n\n // If a set of status code are provided and the current status code is not in the list\n if (\n statusCode != null &&\n Array.isArray(statusCodes) &&\n !statusCodes.includes(statusCode)\n ) {\n cb(err)\n return\n }\n\n // If we reached the max number of retries\n if (counter > maxRetries) {\n cb(err)\n return\n }\n\n let retryAfterHeader = headers?.['retry-after']\n if (retryAfterHeader) {\n retryAfterHeader = Number(retryAfterHeader)\n retryAfterHeader = Number.isNaN(retryAfterHeader)\n ? calculateRetryAfterHeader(retryAfterHeader)\n : retryAfterHeader * 1e3 // Retry-After is in seconds\n }\n\n const retryTimeout =\n retryAfterHeader > 0\n ? Math.min(retryAfterHeader, maxTimeout)\n : Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout)\n\n setTimeout(() => cb(null), retryTimeout)\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const headers = parseHeaders(rawHeaders)\n\n this.retryCount += 1\n\n if (statusCode >= 300) {\n if (this.retryOpts.statusCodes.includes(statusCode) === false) {\n this.headersSent = true\n this.checkpointResponseEnd(headers, resume)\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n } else {\n this.abort(\n new RequestRetryError('Request failed', statusCode, {\n headers,\n data: {\n count: this.retryCount\n }\n })\n )\n return false\n }\n }\n\n // Checkpoint for resume from where we left it\n if (this.resume != null) {\n this.resume = null\n\n // Only Partial Content 206 supposed to provide Content-Range,\n // any other status code that partially consumed the payload\n // should not be retry because it would result in downstream\n // wrongly concatanete multiple responses.\n if (statusCode !== 206 && (this.start > 0 || statusCode !== 200)) {\n this.abort(\n new RequestRetryError('server does not support the range header and the payload was partially consumed', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n const contentRange = parseRangeHeader(headers['content-range'])\n // If no content range\n if (!contentRange) {\n this.abort(\n new RequestRetryError('Content-Range mismatch', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n // Let's start with a weak etag check\n if (this.etag != null && this.etag !== headers.etag) {\n this.abort(\n new RequestRetryError('ETag mismatch', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n const contentLengthError = validatePartialResponseContentLength(headers, contentRange, statusCode, this.retryCount)\n if (contentLengthError != null) {\n this.abort(contentLengthError)\n return false\n }\n\n const { start, size, end = size - 1 } = contentRange\n\n if (this.start !== start || (this.end != null && this.end !== end)) {\n this.abort(\n new RequestRetryError('Content-Range mismatch', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n this.resume = resume\n return true\n }\n\n if (this.end == null) {\n if (statusCode === 206) {\n // First time we receive 206\n const range = parseRangeHeader(headers['content-range'])\n\n if (range == null) {\n this.headersSent = true\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n const contentLengthError = validatePartialResponseContentLength(headers, range, statusCode, this.retryCount)\n if (contentLengthError != null) {\n this.abort(contentLengthError)\n return false\n }\n\n const { start, size, end = size - 1 } = range\n assert(\n start != null && Number.isFinite(start),\n 'content-range mismatch'\n )\n assert(end != null && Number.isFinite(end), 'invalid content-length')\n\n this.start = start\n this.end = end\n }\n\n // We make our best to checkpoint the body for further range headers\n if (this.end == null) {\n const contentLength = headers['content-length']\n this.end = contentLength != null ? Number(contentLength) - 1 : null\n }\n\n assert(Number.isFinite(this.start))\n assert(\n this.end == null || Number.isFinite(this.end),\n 'invalid content-length'\n )\n\n this.resume = resume\n this.headersSent = true\n this.etag = headers.etag != null ? headers.etag : null\n\n // Weak etags are not useful for comparison nor cache\n // for instance not safe to assume if the response is byte-per-byte\n // equal\n if (this.etag != null && this.etag.startsWith('W/')) {\n this.etag = null\n }\n\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n const err = new RequestRetryError('Request failed', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n\n this.abort(err)\n\n return false\n }\n\n onData (chunk) {\n this.start += chunk.length\n\n return this.handler.onData(chunk)\n }\n\n onComplete (rawTrailers) {\n this.retryCount = 0\n return this.handler.onComplete(rawTrailers)\n }\n\n onError (err) {\n if (this.aborted || isDisturbed(this.opts.body) || (this.headersSent && this.resume == null)) {\n return this.handler.onError(err)\n }\n\n // We reconcile in case of a mix between network errors\n // and server error response\n if (this.retryCount - this.retryCountCheckpoint > 0) {\n // We count the difference between the last checkpoint and the current retry count\n this.retryCount =\n this.retryCountCheckpoint +\n (this.retryCount - this.retryCountCheckpoint)\n } else {\n this.retryCount += 1\n }\n\n this.retryOpts.retry(\n err,\n {\n state: { counter: this.retryCount },\n opts: { retryOptions: this.retryOpts, ...this.opts }\n },\n onRetry.bind(this)\n )\n\n function onRetry (err) {\n if (err != null || this.aborted || isDisturbed(this.opts.body)) {\n return this.handler.onError(err)\n }\n\n if (this.start !== 0) {\n const headers = { range: `bytes=${this.start}-${this.end ?? ''}` }\n\n // Weak etag check - weak etags will make comparison algorithms never match\n if (this.etag != null) {\n headers['if-match'] = this.etag\n }\n\n this.opts = {\n ...this.opts,\n headers: {\n ...this.opts.headers,\n ...headers\n }\n }\n }\n\n try {\n this.retryCountCheckpoint = this.retryCount\n this.dispatch(this.opts, this)\n } catch (err) {\n this.handler.onError(err)\n }\n }\n }\n}\n\nmodule.exports = RetryHandler\n", "'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst RetryHandler = require('../handler/retry-handler')\n\nclass RetryAgent extends Dispatcher {\n #agent = null\n #options = null\n constructor (agent, options = {}) {\n super(options)\n this.#agent = agent\n this.#options = options\n }\n\n dispatch (opts, handler) {\n const retry = new RetryHandler({\n ...opts,\n retryOptions: this.#options\n }, {\n dispatch: this.#agent.dispatch.bind(this.#agent),\n handler\n })\n return this.#agent.dispatch(opts, retry)\n }\n\n close () {\n return this.#agent.close()\n }\n\n destroy () {\n return this.#agent.destroy()\n }\n}\n\nmodule.exports = RetryAgent\n", "// Ported from https://github.com/nodejs/undici/pull/907\n\n'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('node:stream')\nconst { RequestAbortedError, NotSupportedError, InvalidArgumentError, AbortError } = require('../core/errors')\nconst util = require('../core/util')\nconst { ReadableStreamFrom } = require('../core/util')\n\nconst kConsume = Symbol('kConsume')\nconst kReading = Symbol('kReading')\nconst kBody = Symbol('kBody')\nconst kAbort = Symbol('kAbort')\nconst kContentType = Symbol('kContentType')\nconst kContentLength = Symbol('kContentLength')\n\nconst noop = () => {}\n\nclass BodyReadable extends Readable {\n constructor ({\n resume,\n abort,\n contentType = '',\n contentLength,\n highWaterMark = 64 * 1024 // Same as nodejs fs streams.\n }) {\n super({\n autoDestroy: true,\n read: resume,\n highWaterMark\n })\n\n this._readableState.dataEmitted = false\n\n this[kAbort] = abort\n this[kConsume] = null\n this[kBody] = null\n this[kContentType] = contentType\n this[kContentLength] = contentLength\n\n // Is stream being consumed through Readable API?\n // This is an optimization so that we avoid checking\n // for 'data' and 'readable' listeners in the hot path\n // inside push().\n this[kReading] = false\n }\n\n destroy (err) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (err) {\n this[kAbort]()\n }\n\n return super.destroy(err)\n }\n\n _destroy (err, callback) {\n // Workaround for Node \"bug\". If the stream is destroyed in same\n // tick as it is created, then a user who is waiting for a\n // promise (i.e micro tick) for installing a 'error' listener will\n // never get a chance and will always encounter an unhandled exception.\n if (!this[kReading]) {\n setImmediate(() => {\n callback(err)\n })\n } else {\n callback(err)\n }\n }\n\n on (ev, ...args) {\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = true\n }\n return super.on(ev, ...args)\n }\n\n addListener (ev, ...args) {\n return this.on(ev, ...args)\n }\n\n off (ev, ...args) {\n const ret = super.off(ev, ...args)\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = (\n this.listenerCount('data') > 0 ||\n this.listenerCount('readable') > 0\n )\n }\n return ret\n }\n\n removeListener (ev, ...args) {\n return this.off(ev, ...args)\n }\n\n push (chunk) {\n if (this[kConsume] && chunk !== null) {\n consumePush(this[kConsume], chunk)\n return this[kReading] ? super.push(chunk) : true\n }\n return super.push(chunk)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-text\n async text () {\n return consume(this, 'text')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-json\n async json () {\n return consume(this, 'json')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-blob\n async blob () {\n return consume(this, 'blob')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bytes\n async bytes () {\n return consume(this, 'bytes')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-arraybuffer\n async arrayBuffer () {\n return consume(this, 'arrayBuffer')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-formdata\n async formData () {\n // TODO: Implement.\n throw new NotSupportedError()\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bodyused\n get bodyUsed () {\n return util.isDisturbed(this)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-body\n get body () {\n if (!this[kBody]) {\n this[kBody] = ReadableStreamFrom(this)\n if (this[kConsume]) {\n // TODO: Is this the best way to force a lock?\n this[kBody].getReader() // Ensure stream is locked.\n assert(this[kBody].locked)\n }\n }\n return this[kBody]\n }\n\n async dump (opts) {\n let limit = Number.isFinite(opts?.limit) ? opts.limit : 128 * 1024\n const signal = opts?.signal\n\n if (signal != null && (typeof signal !== 'object' || !('aborted' in signal))) {\n throw new InvalidArgumentError('signal must be an AbortSignal')\n }\n\n signal?.throwIfAborted()\n\n if (this._readableState.closeEmitted) {\n return null\n }\n\n return await new Promise((resolve, reject) => {\n if (this[kContentLength] > limit) {\n this.destroy(new AbortError())\n }\n\n const onAbort = () => {\n this.destroy(signal.reason ?? new AbortError())\n }\n signal?.addEventListener('abort', onAbort)\n\n this\n .on('close', function () {\n signal?.removeEventListener('abort', onAbort)\n if (signal?.aborted) {\n reject(signal.reason ?? new AbortError())\n } else {\n resolve(null)\n }\n })\n .on('error', noop)\n .on('data', function (chunk) {\n limit -= chunk.length\n if (limit <= 0) {\n this.destroy()\n }\n })\n .resume()\n })\n }\n}\n\n// https://streams.spec.whatwg.org/#readablestream-locked\nfunction isLocked (self) {\n // Consume is an implicit lock.\n return (self[kBody] && self[kBody].locked === true) || self[kConsume]\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction isUnusable (self) {\n return util.isDisturbed(self) || isLocked(self)\n}\n\nasync function consume (stream, type) {\n assert(!stream[kConsume])\n\n return new Promise((resolve, reject) => {\n if (isUnusable(stream)) {\n const rState = stream._readableState\n if (rState.destroyed && rState.closeEmitted === false) {\n stream\n .on('error', err => {\n reject(err)\n })\n .on('close', () => {\n reject(new TypeError('unusable'))\n })\n } else {\n reject(rState.errored ?? new TypeError('unusable'))\n }\n } else {\n queueMicrotask(() => {\n stream[kConsume] = {\n type,\n stream,\n resolve,\n reject,\n length: 0,\n body: []\n }\n\n stream\n .on('error', function (err) {\n consumeFinish(this[kConsume], err)\n })\n .on('close', function () {\n if (this[kConsume].body !== null) {\n consumeFinish(this[kConsume], new RequestAbortedError())\n }\n })\n\n consumeStart(stream[kConsume])\n })\n }\n })\n}\n\nfunction consumeStart (consume) {\n if (consume.body === null) {\n return\n }\n\n const { _readableState: state } = consume.stream\n\n if (state.bufferIndex) {\n const start = state.bufferIndex\n const end = state.buffer.length\n for (let n = start; n < end; n++) {\n consumePush(consume, state.buffer[n])\n }\n } else {\n for (const chunk of state.buffer) {\n consumePush(consume, chunk)\n }\n }\n\n if (state.endEmitted) {\n consumeEnd(this[kConsume])\n } else {\n consume.stream.on('end', function () {\n consumeEnd(this[kConsume])\n })\n }\n\n consume.stream.resume()\n\n while (consume.stream.read() != null) {\n // Loop\n }\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n */\nfunction chunksDecode (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return ''\n }\n const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length)\n const bufferLength = buffer.length\n\n // Skip BOM.\n const start =\n bufferLength > 2 &&\n buffer[0] === 0xef &&\n buffer[1] === 0xbb &&\n buffer[2] === 0xbf\n ? 3\n : 0\n return buffer.utf8Slice(start, bufferLength)\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n * @returns {Uint8Array}\n */\nfunction chunksConcat (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return new Uint8Array(0)\n }\n if (chunks.length === 1) {\n // fast-path\n return new Uint8Array(chunks[0])\n }\n const buffer = new Uint8Array(Buffer.allocUnsafeSlow(length).buffer)\n\n let offset = 0\n for (let i = 0; i < chunks.length; ++i) {\n const chunk = chunks[i]\n buffer.set(chunk, offset)\n offset += chunk.length\n }\n\n return buffer\n}\n\nfunction consumeEnd (consume) {\n const { type, body, resolve, stream, length } = consume\n\n try {\n if (type === 'text') {\n resolve(chunksDecode(body, length))\n } else if (type === 'json') {\n resolve(JSON.parse(chunksDecode(body, length)))\n } else if (type === 'arrayBuffer') {\n resolve(chunksConcat(body, length).buffer)\n } else if (type === 'blob') {\n resolve(new Blob(body, { type: stream[kContentType] }))\n } else if (type === 'bytes') {\n resolve(chunksConcat(body, length))\n }\n\n consumeFinish(consume)\n } catch (err) {\n stream.destroy(err)\n }\n}\n\nfunction consumePush (consume, chunk) {\n consume.length += chunk.length\n consume.body.push(chunk)\n}\n\nfunction consumeFinish (consume, err) {\n if (consume.body === null) {\n return\n }\n\n if (err) {\n consume.reject(err)\n } else {\n consume.resolve()\n }\n\n consume.type = null\n consume.stream = null\n consume.resolve = null\n consume.reject = null\n consume.length = 0\n consume.body = null\n}\n\nmodule.exports = { Readable: BodyReadable, chunksDecode }\n", "const assert = require('node:assert')\nconst {\n ResponseStatusCodeError\n} = require('../core/errors')\n\nconst { chunksDecode } = require('./readable')\nconst CHUNK_LIMIT = 128 * 1024\n\nasync function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) {\n assert(body)\n\n let chunks = []\n let length = 0\n\n try {\n for await (const chunk of body) {\n chunks.push(chunk)\n length += chunk.length\n if (length > CHUNK_LIMIT) {\n chunks = []\n length = 0\n break\n }\n }\n } catch {\n chunks = []\n length = 0\n // Do nothing....\n }\n\n const message = `Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`\n\n if (statusCode === 204 || !contentType || !length) {\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers)))\n return\n }\n\n const stackTraceLimit = Error.stackTraceLimit\n Error.stackTraceLimit = 0\n let payload\n\n try {\n if (isContentTypeApplicationJson(contentType)) {\n payload = JSON.parse(chunksDecode(chunks, length))\n } else if (isContentTypeText(contentType)) {\n payload = chunksDecode(chunks, length)\n }\n } catch {\n // process in a callback to avoid throwing in the microtask queue\n } finally {\n Error.stackTraceLimit = stackTraceLimit\n }\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers, payload)))\n}\n\nconst isContentTypeApplicationJson = (contentType) => {\n return (\n contentType.length > 15 &&\n contentType[11] === '/' &&\n contentType[0] === 'a' &&\n contentType[1] === 'p' &&\n contentType[2] === 'p' &&\n contentType[3] === 'l' &&\n contentType[4] === 'i' &&\n contentType[5] === 'c' &&\n contentType[6] === 'a' &&\n contentType[7] === 't' &&\n contentType[8] === 'i' &&\n contentType[9] === 'o' &&\n contentType[10] === 'n' &&\n contentType[12] === 'j' &&\n contentType[13] === 's' &&\n contentType[14] === 'o' &&\n contentType[15] === 'n'\n )\n}\n\nconst isContentTypeText = (contentType) => {\n return (\n contentType.length > 4 &&\n contentType[4] === '/' &&\n contentType[0] === 't' &&\n contentType[1] === 'e' &&\n contentType[2] === 'x' &&\n contentType[3] === 't'\n )\n}\n\nmodule.exports = {\n getResolveErrorBodyCallback,\n isContentTypeApplicationJson,\n isContentTypeText\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('./readable')\nconst { InvalidArgumentError, RequestAbortedError } = require('../core/errors')\nconst util = require('../core/util')\nconst { getResolveErrorBodyCallback } = require('./util')\nconst { AsyncResource } = require('node:async_hooks')\n\nclass RequestHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError, highWaterMark } = opts\n\n try {\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (highWaterMark && (typeof highWaterMark !== 'number' || highWaterMark < 0)) {\n throw new InvalidArgumentError('invalid highWaterMark')\n }\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_REQUEST')\n } catch (err) {\n if (util.isStream(body)) {\n util.destroy(body.on('error', util.nop), err)\n }\n throw err\n }\n\n this.method = method\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.callback = callback\n this.res = null\n this.abort = null\n this.body = body\n this.trailers = {}\n this.context = null\n this.onInfo = onInfo || null\n this.throwOnError = throwOnError\n this.highWaterMark = highWaterMark\n this.signal = signal\n this.reason = null\n this.removeAbortListener = null\n\n if (util.isStream(body)) {\n body.on('error', (err) => {\n this.onError(err)\n })\n }\n\n if (this.signal) {\n if (this.signal.aborted) {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n } else {\n this.removeAbortListener = util.addAbortListener(this.signal, () => {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n if (this.res) {\n util.destroy(this.res.on('error', util.nop), this.reason)\n } else if (this.abort) {\n this.abort(this.reason)\n }\n\n if (this.removeAbortListener) {\n this.res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n })\n }\n }\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const { callback, opaque, abort, context, responseHeaders, highWaterMark } = this\n\n const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n\n if (statusCode < 200) {\n if (this.onInfo) {\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers\n const contentType = parsedHeaders['content-type']\n const contentLength = parsedHeaders['content-length']\n const res = new Readable({\n resume,\n abort,\n contentType,\n contentLength: this.method !== 'HEAD' && contentLength\n ? Number(contentLength)\n : null,\n highWaterMark\n })\n\n if (this.removeAbortListener) {\n res.on('close', this.removeAbortListener)\n }\n\n this.callback = null\n this.res = res\n if (callback !== null) {\n if (this.throwOnError && statusCode >= 400) {\n this.runInAsyncScope(getResolveErrorBodyCallback, null,\n { callback, body: res, contentType, statusCode, statusMessage, headers }\n )\n } else {\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n trailers: this.trailers,\n opaque,\n body: res,\n context\n })\n }\n }\n }\n\n onData (chunk) {\n return this.res.push(chunk)\n }\n\n onComplete (trailers) {\n util.parseHeaders(trailers, this.trailers)\n this.res.push(null)\n }\n\n onError (err) {\n const { res, callback, body, opaque } = this\n\n if (callback) {\n // TODO: Does this need queueMicrotask?\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n\n if (res) {\n this.res = null\n // Ensure all queued handlers are invoked before destroying res.\n queueMicrotask(() => {\n util.destroy(res, err)\n })\n }\n\n if (body) {\n this.body = null\n util.destroy(body, err)\n }\n\n if (this.removeAbortListener) {\n res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n }\n}\n\nfunction request (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n request.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n this.dispatch(opts, new RequestHandler(opts, callback))\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = request\nmodule.exports.RequestHandler = RequestHandler\n", "const { addAbortListener } = require('../core/util')\nconst { RequestAbortedError } = require('../core/errors')\n\nconst kListener = Symbol('kListener')\nconst kSignal = Symbol('kSignal')\n\nfunction abort (self) {\n if (self.abort) {\n self.abort(self[kSignal]?.reason)\n } else {\n self.reason = self[kSignal]?.reason ?? new RequestAbortedError()\n }\n removeSignal(self)\n}\n\nfunction addSignal (self, signal) {\n self.reason = null\n\n self[kSignal] = null\n self[kListener] = null\n\n if (!signal) {\n return\n }\n\n if (signal.aborted) {\n abort(self)\n return\n }\n\n self[kSignal] = signal\n self[kListener] = () => {\n abort(self)\n }\n\n addAbortListener(self[kSignal], self[kListener])\n}\n\nfunction removeSignal (self) {\n if (!self[kSignal]) {\n return\n }\n\n if ('removeEventListener' in self[kSignal]) {\n self[kSignal].removeEventListener('abort', self[kListener])\n } else {\n self[kSignal].removeListener('abort', self[kListener])\n }\n\n self[kSignal] = null\n self[kListener] = null\n}\n\nmodule.exports = {\n addSignal,\n removeSignal\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { finished, PassThrough } = require('node:stream')\nconst { InvalidArgumentError, InvalidReturnValueError } = require('../core/errors')\nconst util = require('../core/util')\nconst { getResolveErrorBodyCallback } = require('./util')\nconst { AsyncResource } = require('node:async_hooks')\nconst { addSignal, removeSignal } = require('./abort-signal')\n\nclass StreamHandler extends AsyncResource {\n constructor (opts, factory, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError } = opts\n\n try {\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('invalid factory')\n }\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_STREAM')\n } catch (err) {\n if (util.isStream(body)) {\n util.destroy(body.on('error', util.nop), err)\n }\n throw err\n }\n\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.factory = factory\n this.callback = callback\n this.res = null\n this.abort = null\n this.context = null\n this.trailers = null\n this.body = body\n this.onInfo = onInfo || null\n this.throwOnError = throwOnError || false\n\n if (util.isStream(body)) {\n body.on('error', (err) => {\n this.onError(err)\n })\n }\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const { factory, opaque, context, callback, responseHeaders } = this\n\n const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n\n if (statusCode < 200) {\n if (this.onInfo) {\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n this.factory = null\n\n let res\n\n if (this.throwOnError && statusCode >= 400) {\n const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers\n const contentType = parsedHeaders['content-type']\n res = new PassThrough()\n\n this.callback = null\n this.runInAsyncScope(getResolveErrorBodyCallback, null,\n { callback, body: res, contentType, statusCode, statusMessage, headers }\n )\n } else {\n if (factory === null) {\n return\n }\n\n res = this.runInAsyncScope(factory, null, {\n statusCode,\n headers,\n opaque,\n context\n })\n\n if (\n !res ||\n typeof res.write !== 'function' ||\n typeof res.end !== 'function' ||\n typeof res.on !== 'function'\n ) {\n throw new InvalidReturnValueError('expected Writable')\n }\n\n // TODO: Avoid finished. It registers an unnecessary amount of listeners.\n finished(res, { readable: false }, (err) => {\n const { callback, res, opaque, trailers, abort } = this\n\n this.res = null\n if (err || !res.readable) {\n util.destroy(res, err)\n }\n\n this.callback = null\n this.runInAsyncScope(callback, null, err || null, { opaque, trailers })\n\n if (err) {\n abort()\n }\n })\n }\n\n res.on('drain', resume)\n\n this.res = res\n\n const needDrain = res.writableNeedDrain !== undefined\n ? res.writableNeedDrain\n : res._writableState?.needDrain\n\n return needDrain !== true\n }\n\n onData (chunk) {\n const { res } = this\n\n return res ? res.write(chunk) : true\n }\n\n onComplete (trailers) {\n const { res } = this\n\n removeSignal(this)\n\n if (!res) {\n return\n }\n\n this.trailers = util.parseHeaders(trailers)\n\n res.end()\n }\n\n onError (err) {\n const { res, callback, opaque, body } = this\n\n removeSignal(this)\n\n this.factory = null\n\n if (res) {\n this.res = null\n util.destroy(res, err)\n } else if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n\n if (body) {\n this.body = null\n util.destroy(body, err)\n }\n }\n}\n\nfunction stream (opts, factory, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n stream.call(this, opts, factory, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n this.dispatch(opts, new StreamHandler(opts, factory, callback))\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = stream\n", "'use strict'\n\nconst {\n Readable,\n Duplex,\n PassThrough\n} = require('node:stream')\nconst {\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { AsyncResource } = require('node:async_hooks')\nconst { addSignal, removeSignal } = require('./abort-signal')\nconst assert = require('node:assert')\n\nconst kResume = Symbol('resume')\n\nclass PipelineRequest extends Readable {\n constructor () {\n super({ autoDestroy: true })\n\n this[kResume] = null\n }\n\n _read () {\n const { [kResume]: resume } = this\n\n if (resume) {\n this[kResume] = null\n resume()\n }\n }\n\n _destroy (err, callback) {\n this._read()\n\n callback(err)\n }\n}\n\nclass PipelineResponse extends Readable {\n constructor (resume) {\n super({ autoDestroy: true })\n this[kResume] = resume\n }\n\n _read () {\n this[kResume]()\n }\n\n _destroy (err, callback) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n callback(err)\n }\n}\n\nclass PipelineHandler extends AsyncResource {\n constructor (opts, handler) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof handler !== 'function') {\n throw new InvalidArgumentError('invalid handler')\n }\n\n const { signal, method, opaque, onInfo, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_PIPELINE')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.handler = handler\n this.abort = null\n this.context = null\n this.onInfo = onInfo || null\n\n this.req = new PipelineRequest().on('error', util.nop)\n\n this.ret = new Duplex({\n readableObjectMode: opts.objectMode,\n autoDestroy: true,\n read: () => {\n const { body } = this\n\n if (body?.resume) {\n body.resume()\n }\n },\n write: (chunk, encoding, callback) => {\n const { req } = this\n\n if (req.push(chunk, encoding) || req._readableState.destroyed) {\n callback()\n } else {\n req[kResume] = callback\n }\n },\n destroy: (err, callback) => {\n const { body, req, res, ret, abort } = this\n\n if (!err && !ret._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (abort && err) {\n abort()\n }\n\n util.destroy(body, err)\n util.destroy(req, err)\n util.destroy(res, err)\n\n removeSignal(this)\n\n callback(err)\n }\n }).on('prefinish', () => {\n const { req } = this\n\n // Node < 15 does not call _final in same tick.\n req.push(null)\n })\n\n this.res = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n const { ret, res } = this\n\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(!res, 'pipeline cannot be retried')\n assert(!ret.destroyed)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume) {\n const { opaque, handler, context } = this\n\n if (statusCode < 200) {\n if (this.onInfo) {\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n this.res = new PipelineResponse(resume)\n\n let body\n try {\n this.handler = null\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n body = this.runInAsyncScope(handler, null, {\n statusCode,\n headers,\n opaque,\n body: this.res,\n context\n })\n } catch (err) {\n this.res.on('error', util.nop)\n throw err\n }\n\n if (!body || typeof body.on !== 'function') {\n throw new InvalidReturnValueError('expected Readable')\n }\n\n body\n .on('data', (chunk) => {\n const { ret, body } = this\n\n if (!ret.push(chunk) && body.pause) {\n body.pause()\n }\n })\n .on('error', (err) => {\n const { ret } = this\n\n util.destroy(ret, err)\n })\n .on('end', () => {\n const { ret } = this\n\n ret.push(null)\n })\n .on('close', () => {\n const { ret } = this\n\n if (!ret._readableState.ended) {\n util.destroy(ret, new RequestAbortedError())\n }\n })\n\n this.body = body\n }\n\n onData (chunk) {\n const { res } = this\n return res.push(chunk)\n }\n\n onComplete (trailers) {\n const { res } = this\n res.push(null)\n }\n\n onError (err) {\n const { ret } = this\n this.handler = null\n util.destroy(ret, err)\n }\n}\n\nfunction pipeline (opts, handler) {\n try {\n const pipelineHandler = new PipelineHandler(opts, handler)\n this.dispatch({ ...opts, body: pipelineHandler.req }, pipelineHandler)\n return pipelineHandler.ret\n } catch (err) {\n return new PassThrough().destroy(err)\n }\n}\n\nmodule.exports = pipeline\n", "'use strict'\n\nconst { InvalidArgumentError, SocketError } = require('../core/errors')\nconst { AsyncResource } = require('node:async_hooks')\nconst util = require('../core/util')\nconst { addSignal, removeSignal } = require('./abort-signal')\nconst assert = require('node:assert')\n\nclass UpgradeHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n const { signal, opaque, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n super('UNDICI_UPGRADE')\n\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.callback = callback\n this.abort = null\n this.context = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = null\n }\n\n onHeaders () {\n throw new SocketError('bad upgrade', null)\n }\n\n onUpgrade (statusCode, rawHeaders, socket) {\n assert(statusCode === 101)\n\n const { callback, opaque, context } = this\n\n removeSignal(this)\n\n this.callback = null\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n this.runInAsyncScope(callback, null, null, {\n headers,\n socket,\n opaque,\n context\n })\n }\n\n onError (err) {\n const { callback, opaque } = this\n\n removeSignal(this)\n\n if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n }\n}\n\nfunction upgrade (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n upgrade.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n const upgradeHandler = new UpgradeHandler(opts, callback)\n this.dispatch({\n ...opts,\n method: opts.method || 'GET',\n upgrade: opts.protocol || 'Websocket'\n }, upgradeHandler)\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = upgrade\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { AsyncResource } = require('node:async_hooks')\nconst { InvalidArgumentError, SocketError } = require('../core/errors')\nconst util = require('../core/util')\nconst { addSignal, removeSignal } = require('./abort-signal')\n\nclass ConnectHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n const { signal, opaque, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n super('UNDICI_CONNECT')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.callback = callback\n this.abort = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders () {\n throw new SocketError('bad connect', null)\n }\n\n onUpgrade (statusCode, rawHeaders, socket) {\n const { callback, opaque, context } = this\n\n removeSignal(this)\n\n this.callback = null\n\n let headers = rawHeaders\n // Indicates is an HTTP2Session\n if (headers != null) {\n headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n }\n\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n socket,\n opaque,\n context\n })\n }\n\n onError (err) {\n const { callback, opaque } = this\n\n removeSignal(this)\n\n if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n }\n}\n\nfunction connect (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n connect.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n const connectHandler = new ConnectHandler(opts, callback)\n this.dispatch({ ...opts, method: 'CONNECT' }, connectHandler)\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = connect\n", "'use strict'\n\nmodule.exports.request = require('./api-request')\nmodule.exports.stream = require('./api-stream')\nmodule.exports.pipeline = require('./api-pipeline')\nmodule.exports.upgrade = require('./api-upgrade')\nmodule.exports.connect = require('./api-connect')\n", "'use strict'\n\nconst { UndiciError } = require('../core/errors')\n\nconst kMockNotMatchedError = Symbol.for('undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED')\n\n/**\n * The request does not match any registered mock dispatches.\n */\nclass MockNotMatchedError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, MockNotMatchedError)\n this.name = 'MockNotMatchedError'\n this.message = message || 'The request does not match any registered mock dispatches'\n this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kMockNotMatchedError] === true\n }\n\n [kMockNotMatchedError] = true\n}\n\nmodule.exports = {\n MockNotMatchedError\n}\n", "'use strict'\n\nmodule.exports = {\n kAgent: Symbol('agent'),\n kOptions: Symbol('options'),\n kFactory: Symbol('factory'),\n kDispatches: Symbol('dispatches'),\n kDispatchKey: Symbol('dispatch key'),\n kDefaultHeaders: Symbol('default headers'),\n kDefaultTrailers: Symbol('default trailers'),\n kContentLength: Symbol('content length'),\n kMockAgent: Symbol('mock agent'),\n kMockAgentSet: Symbol('mock agent set'),\n kMockAgentGet: Symbol('mock agent get'),\n kMockDispatch: Symbol('mock dispatch'),\n kClose: Symbol('close'),\n kOriginalClose: Symbol('original agent close'),\n kOrigin: Symbol('origin'),\n kIsMockActive: Symbol('is mock active'),\n kNetConnect: Symbol('net connect'),\n kGetNetConnect: Symbol('get net connect'),\n kConnected: Symbol('connected')\n}\n", "'use strict'\n\nconst { MockNotMatchedError } = require('./mock-errors')\nconst {\n kDispatches,\n kMockAgent,\n kOriginalDispatch,\n kOrigin,\n kGetNetConnect\n} = require('./mock-symbols')\nconst { buildURL } = require('../core/util')\nconst { STATUS_CODES } = require('node:http')\nconst {\n types: {\n isPromise\n }\n} = require('node:util')\n\nfunction matchValue (match, value) {\n if (typeof match === 'string') {\n return match === value\n }\n if (match instanceof RegExp) {\n return match.test(value)\n }\n if (typeof match === 'function') {\n return match(value) === true\n }\n return false\n}\n\nfunction lowerCaseEntries (headers) {\n return Object.fromEntries(\n Object.entries(headers).map(([headerName, headerValue]) => {\n return [headerName.toLocaleLowerCase(), headerValue]\n })\n )\n}\n\n/**\n * @param {import('../../index').Headers|string[]|Record} headers\n * @param {string} key\n */\nfunction getHeaderByName (headers, key) {\n if (Array.isArray(headers)) {\n for (let i = 0; i < headers.length; i += 2) {\n if (headers[i].toLocaleLowerCase() === key.toLocaleLowerCase()) {\n return headers[i + 1]\n }\n }\n\n return undefined\n } else if (typeof headers.get === 'function') {\n return headers.get(key)\n } else {\n return lowerCaseEntries(headers)[key.toLocaleLowerCase()]\n }\n}\n\n/** @param {string[]} headers */\nfunction buildHeadersFromArray (headers) { // fetch HeadersList\n const clone = headers.slice()\n const entries = []\n for (let index = 0; index < clone.length; index += 2) {\n entries.push([clone[index], clone[index + 1]])\n }\n return Object.fromEntries(entries)\n}\n\nfunction matchHeaders (mockDispatch, headers) {\n if (typeof mockDispatch.headers === 'function') {\n if (Array.isArray(headers)) { // fetch HeadersList\n headers = buildHeadersFromArray(headers)\n }\n return mockDispatch.headers(headers ? lowerCaseEntries(headers) : {})\n }\n if (typeof mockDispatch.headers === 'undefined') {\n return true\n }\n if (typeof headers !== 'object' || typeof mockDispatch.headers !== 'object') {\n return false\n }\n\n for (const [matchHeaderName, matchHeaderValue] of Object.entries(mockDispatch.headers)) {\n const headerValue = getHeaderByName(headers, matchHeaderName)\n\n if (!matchValue(matchHeaderValue, headerValue)) {\n return false\n }\n }\n return true\n}\n\nfunction safeUrl (path) {\n if (typeof path !== 'string') {\n return path\n }\n\n const pathSegments = path.split('?')\n\n if (pathSegments.length !== 2) {\n return path\n }\n\n const qp = new URLSearchParams(pathSegments.pop())\n qp.sort()\n return [...pathSegments, qp.toString()].join('?')\n}\n\nfunction matchKey (mockDispatch, { path, method, body, headers }) {\n const pathMatch = matchValue(mockDispatch.path, path)\n const methodMatch = matchValue(mockDispatch.method, method)\n const bodyMatch = typeof mockDispatch.body !== 'undefined' ? matchValue(mockDispatch.body, body) : true\n const headersMatch = matchHeaders(mockDispatch, headers)\n return pathMatch && methodMatch && bodyMatch && headersMatch\n}\n\nfunction getResponseData (data) {\n if (Buffer.isBuffer(data)) {\n return data\n } else if (data instanceof Uint8Array) {\n return data\n } else if (data instanceof ArrayBuffer) {\n return data\n } else if (typeof data === 'object') {\n return JSON.stringify(data)\n } else {\n return data.toString()\n }\n}\n\nfunction getMockDispatch (mockDispatches, key) {\n const basePath = key.query ? buildURL(key.path, key.query) : key.path\n const resolvedPath = typeof basePath === 'string' ? safeUrl(basePath) : basePath\n\n // Match path\n let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path }) => matchValue(safeUrl(path), resolvedPath))\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`)\n }\n\n // Match method\n matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key.method))\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for method '${key.method}' on path '${resolvedPath}'`)\n }\n\n // Match body\n matchedMockDispatches = matchedMockDispatches.filter(({ body }) => typeof body !== 'undefined' ? matchValue(body, key.body) : true)\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}' on path '${resolvedPath}'`)\n }\n\n // Match headers\n matchedMockDispatches = matchedMockDispatches.filter((mockDispatch) => matchHeaders(mockDispatch, key.headers))\n if (matchedMockDispatches.length === 0) {\n const headers = typeof key.headers === 'object' ? JSON.stringify(key.headers) : key.headers\n throw new MockNotMatchedError(`Mock dispatch not matched for headers '${headers}' on path '${resolvedPath}'`)\n }\n\n return matchedMockDispatches[0]\n}\n\nfunction addMockDispatch (mockDispatches, key, data) {\n const baseData = { timesInvoked: 0, times: 1, persist: false, consumed: false }\n const replyData = typeof data === 'function' ? { callback: data } : { ...data }\n const newMockDispatch = { ...baseData, ...key, pending: true, data: { error: null, ...replyData } }\n mockDispatches.push(newMockDispatch)\n return newMockDispatch\n}\n\nfunction deleteMockDispatch (mockDispatches, key) {\n const index = mockDispatches.findIndex(dispatch => {\n if (!dispatch.consumed) {\n return false\n }\n return matchKey(dispatch, key)\n })\n if (index !== -1) {\n mockDispatches.splice(index, 1)\n }\n}\n\nfunction buildKey (opts) {\n const { path, method, body, headers, query } = opts\n return {\n path,\n method,\n body,\n headers,\n query\n }\n}\n\nfunction generateKeyValues (data) {\n const keys = Object.keys(data)\n const result = []\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i]\n const value = data[key]\n const name = Buffer.from(`${key}`)\n if (Array.isArray(value)) {\n for (let j = 0; j < value.length; ++j) {\n result.push(name, Buffer.from(`${value[j]}`))\n }\n } else {\n result.push(name, Buffer.from(`${value}`))\n }\n }\n return result\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status\n * @param {number} statusCode\n */\nfunction getStatusText (statusCode) {\n return STATUS_CODES[statusCode] || 'unknown'\n}\n\nasync function getResponse (body) {\n const buffers = []\n for await (const data of body) {\n buffers.push(data)\n }\n return Buffer.concat(buffers).toString('utf8')\n}\n\n/**\n * Mock dispatch function used to simulate undici dispatches\n */\nfunction mockDispatch (opts, handler) {\n // Get mock dispatch from built key\n const key = buildKey(opts)\n const mockDispatch = getMockDispatch(this[kDispatches], key)\n\n mockDispatch.timesInvoked++\n\n // Here's where we resolve a callback if a callback is present for the dispatch data.\n if (mockDispatch.data.callback) {\n mockDispatch.data = { ...mockDispatch.data, ...mockDispatch.data.callback(opts) }\n }\n\n // Parse mockDispatch data\n const { data: { statusCode, data, headers, trailers, error }, delay, persist } = mockDispatch\n const { timesInvoked, times } = mockDispatch\n\n // If it's used up and not persistent, mark as consumed\n mockDispatch.consumed = !persist && timesInvoked >= times\n mockDispatch.pending = timesInvoked < times\n\n // If specified, trigger dispatch error\n if (error !== null) {\n deleteMockDispatch(this[kDispatches], key)\n handler.onError(error)\n return true\n }\n\n // Handle the request with a delay if necessary\n if (typeof delay === 'number' && delay > 0) {\n setTimeout(() => {\n handleReply(this[kDispatches])\n }, delay)\n } else {\n handleReply(this[kDispatches])\n }\n\n function handleReply (mockDispatches, _data = data) {\n // fetch's HeadersList is a 1D string array\n const optsHeaders = Array.isArray(opts.headers)\n ? buildHeadersFromArray(opts.headers)\n : opts.headers\n const body = typeof _data === 'function'\n ? _data({ ...opts, headers: optsHeaders })\n : _data\n\n // util.types.isPromise is likely needed for jest.\n if (isPromise(body)) {\n // If handleReply is asynchronous, throwing an error\n // in the callback will reject the promise, rather than\n // synchronously throw the error, which breaks some tests.\n // Rather, we wait for the callback to resolve if it is a\n // promise, and then re-run handleReply with the new body.\n body.then((newData) => handleReply(mockDispatches, newData))\n return\n }\n\n const responseData = getResponseData(body)\n const responseHeaders = generateKeyValues(headers)\n const responseTrailers = generateKeyValues(trailers)\n\n handler.onConnect?.(err => handler.onError(err), null)\n handler.onHeaders?.(statusCode, responseHeaders, resume, getStatusText(statusCode))\n handler.onData?.(Buffer.from(responseData))\n handler.onComplete?.(responseTrailers)\n deleteMockDispatch(mockDispatches, key)\n }\n\n function resume () {}\n\n return true\n}\n\nfunction buildMockDispatch () {\n const agent = this[kMockAgent]\n const origin = this[kOrigin]\n const originalDispatch = this[kOriginalDispatch]\n\n return function dispatch (opts, handler) {\n if (agent.isMockActive) {\n try {\n mockDispatch.call(this, opts, handler)\n } catch (error) {\n if (error instanceof MockNotMatchedError) {\n const netConnect = agent[kGetNetConnect]()\n if (netConnect === false) {\n throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect disabled)`)\n }\n if (checkNetConnect(netConnect, origin)) {\n originalDispatch.call(this, opts, handler)\n } else {\n throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect is not enabled for this origin)`)\n }\n } else {\n throw error\n }\n }\n } else {\n originalDispatch.call(this, opts, handler)\n }\n }\n}\n\nfunction checkNetConnect (netConnect, origin) {\n const url = new URL(origin)\n if (netConnect === true) {\n return true\n } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url.host))) {\n return true\n }\n return false\n}\n\nfunction buildMockOptions (opts) {\n if (opts) {\n const { agent, ...mockOptions } = opts\n return mockOptions\n }\n}\n\nmodule.exports = {\n getResponseData,\n getMockDispatch,\n addMockDispatch,\n deleteMockDispatch,\n buildKey,\n generateKeyValues,\n matchValue,\n getResponse,\n getStatusText,\n mockDispatch,\n buildMockDispatch,\n checkNetConnect,\n buildMockOptions,\n getHeaderByName,\n buildHeadersFromArray\n}\n", "'use strict'\n\nconst { getResponseData, buildKey, addMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kDispatchKey,\n kDefaultHeaders,\n kDefaultTrailers,\n kContentLength,\n kMockDispatch\n} = require('./mock-symbols')\nconst { InvalidArgumentError } = require('../core/errors')\nconst { buildURL } = require('../core/util')\n\n/**\n * Defines the scope API for an interceptor reply\n */\nclass MockScope {\n constructor (mockDispatch) {\n this[kMockDispatch] = mockDispatch\n }\n\n /**\n * Delay a reply by a set amount in ms.\n */\n delay (waitInMs) {\n if (typeof waitInMs !== 'number' || !Number.isInteger(waitInMs) || waitInMs <= 0) {\n throw new InvalidArgumentError('waitInMs must be a valid integer > 0')\n }\n\n this[kMockDispatch].delay = waitInMs\n return this\n }\n\n /**\n * For a defined reply, never mark as consumed.\n */\n persist () {\n this[kMockDispatch].persist = true\n return this\n }\n\n /**\n * Allow one to define a reply for a set amount of matching requests.\n */\n times (repeatTimes) {\n if (typeof repeatTimes !== 'number' || !Number.isInteger(repeatTimes) || repeatTimes <= 0) {\n throw new InvalidArgumentError('repeatTimes must be a valid integer > 0')\n }\n\n this[kMockDispatch].times = repeatTimes\n return this\n }\n}\n\n/**\n * Defines an interceptor for a Mock\n */\nclass MockInterceptor {\n constructor (opts, mockDispatches) {\n if (typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object')\n }\n if (typeof opts.path === 'undefined') {\n throw new InvalidArgumentError('opts.path must be defined')\n }\n if (typeof opts.method === 'undefined') {\n opts.method = 'GET'\n }\n // See https://github.com/nodejs/undici/issues/1245\n // As per RFC 3986, clients are not supposed to send URI\n // fragments to servers when they retrieve a document,\n if (typeof opts.path === 'string') {\n if (opts.query) {\n opts.path = buildURL(opts.path, opts.query)\n } else {\n // Matches https://github.com/nodejs/undici/blob/main/lib/web/fetch/index.js#L1811\n const parsedURL = new URL(opts.path, 'data://')\n opts.path = parsedURL.pathname + parsedURL.search\n }\n }\n if (typeof opts.method === 'string') {\n opts.method = opts.method.toUpperCase()\n }\n\n this[kDispatchKey] = buildKey(opts)\n this[kDispatches] = mockDispatches\n this[kDefaultHeaders] = {}\n this[kDefaultTrailers] = {}\n this[kContentLength] = false\n }\n\n createMockScopeDispatchData ({ statusCode, data, responseOptions }) {\n const responseData = getResponseData(data)\n const contentLength = this[kContentLength] ? { 'content-length': responseData.length } : {}\n const headers = { ...this[kDefaultHeaders], ...contentLength, ...responseOptions.headers }\n const trailers = { ...this[kDefaultTrailers], ...responseOptions.trailers }\n\n return { statusCode, data, headers, trailers }\n }\n\n validateReplyParameters (replyParameters) {\n if (typeof replyParameters.statusCode === 'undefined') {\n throw new InvalidArgumentError('statusCode must be defined')\n }\n if (typeof replyParameters.responseOptions !== 'object' || replyParameters.responseOptions === null) {\n throw new InvalidArgumentError('responseOptions must be an object')\n }\n }\n\n /**\n * Mock an undici request with a defined reply.\n */\n reply (replyOptionsCallbackOrStatusCode) {\n // Values of reply aren't available right now as they\n // can only be available when the reply callback is invoked.\n if (typeof replyOptionsCallbackOrStatusCode === 'function') {\n // We'll first wrap the provided callback in another function,\n // this function will properly resolve the data from the callback\n // when invoked.\n const wrappedDefaultsCallback = (opts) => {\n // Our reply options callback contains the parameter for statusCode, data and options.\n const resolvedData = replyOptionsCallbackOrStatusCode(opts)\n\n // Check if it is in the right format\n if (typeof resolvedData !== 'object' || resolvedData === null) {\n throw new InvalidArgumentError('reply options callback must return an object')\n }\n\n const replyParameters = { data: '', responseOptions: {}, ...resolvedData }\n this.validateReplyParameters(replyParameters)\n // Since the values can be obtained immediately we return them\n // from this higher order function that will be resolved later.\n return {\n ...this.createMockScopeDispatchData(replyParameters)\n }\n }\n\n // Add usual dispatch data, but this time set the data parameter to function that will eventually provide data.\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], wrappedDefaultsCallback)\n return new MockScope(newMockDispatch)\n }\n\n // We can have either one or three parameters, if we get here,\n // we should have 1-3 parameters. So we spread the arguments of\n // this function to obtain the parameters, since replyData will always\n // just be the statusCode.\n const replyParameters = {\n statusCode: replyOptionsCallbackOrStatusCode,\n data: arguments[1] === undefined ? '' : arguments[1],\n responseOptions: arguments[2] === undefined ? {} : arguments[2]\n }\n this.validateReplyParameters(replyParameters)\n\n // Send in-already provided data like usual\n const dispatchData = this.createMockScopeDispatchData(replyParameters)\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], dispatchData)\n return new MockScope(newMockDispatch)\n }\n\n /**\n * Mock an undici request with a defined error.\n */\n replyWithError (error) {\n if (typeof error === 'undefined') {\n throw new InvalidArgumentError('error must be defined')\n }\n\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], { error })\n return new MockScope(newMockDispatch)\n }\n\n /**\n * Set default reply headers on the interceptor for subsequent replies\n */\n defaultReplyHeaders (headers) {\n if (typeof headers === 'undefined') {\n throw new InvalidArgumentError('headers must be defined')\n }\n\n this[kDefaultHeaders] = headers\n return this\n }\n\n /**\n * Set default reply trailers on the interceptor for subsequent replies\n */\n defaultReplyTrailers (trailers) {\n if (typeof trailers === 'undefined') {\n throw new InvalidArgumentError('trailers must be defined')\n }\n\n this[kDefaultTrailers] = trailers\n return this\n }\n\n /**\n * Set reply content length header for replies on the interceptor\n */\n replyContentLength () {\n this[kContentLength] = true\n return this\n }\n}\n\nmodule.exports.MockInterceptor = MockInterceptor\nmodule.exports.MockScope = MockScope\n", "'use strict'\n\nconst { promisify } = require('node:util')\nconst Client = require('../dispatcher/client')\nconst { buildMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kMockAgent,\n kClose,\n kOriginalClose,\n kOrigin,\n kOriginalDispatch,\n kConnected\n} = require('./mock-symbols')\nconst { MockInterceptor } = require('./mock-interceptor')\nconst Symbols = require('../core/symbols')\nconst { InvalidArgumentError } = require('../core/errors')\n\n/**\n * MockClient provides an API that extends the Client to influence the mockDispatches.\n */\nclass MockClient extends Client {\n constructor (origin, opts) {\n super(origin, opts)\n\n if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n\n this[kMockAgent] = opts.agent\n this[kOrigin] = origin\n this[kDispatches] = []\n this[kConnected] = 1\n this[kOriginalDispatch] = this.dispatch\n this[kOriginalClose] = this.close.bind(this)\n\n this.dispatch = buildMockDispatch.call(this)\n this.close = this[kClose]\n }\n\n get [Symbols.kConnected] () {\n return this[kConnected]\n }\n\n /**\n * Sets up the base interceptor for mocking replies from undici.\n */\n intercept (opts) {\n return new MockInterceptor(opts, this[kDispatches])\n }\n\n async [kClose] () {\n await promisify(this[kOriginalClose])()\n this[kConnected] = 0\n this[kMockAgent][Symbols.kClients].delete(this[kOrigin])\n }\n}\n\nmodule.exports = MockClient\n", "'use strict'\n\nconst { promisify } = require('node:util')\nconst Pool = require('../dispatcher/pool')\nconst { buildMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kMockAgent,\n kClose,\n kOriginalClose,\n kOrigin,\n kOriginalDispatch,\n kConnected\n} = require('./mock-symbols')\nconst { MockInterceptor } = require('./mock-interceptor')\nconst Symbols = require('../core/symbols')\nconst { InvalidArgumentError } = require('../core/errors')\n\n/**\n * MockPool provides an API that extends the Pool to influence the mockDispatches.\n */\nclass MockPool extends Pool {\n constructor (origin, opts) {\n super(origin, opts)\n\n if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n\n this[kMockAgent] = opts.agent\n this[kOrigin] = origin\n this[kDispatches] = []\n this[kConnected] = 1\n this[kOriginalDispatch] = this.dispatch\n this[kOriginalClose] = this.close.bind(this)\n\n this.dispatch = buildMockDispatch.call(this)\n this.close = this[kClose]\n }\n\n get [Symbols.kConnected] () {\n return this[kConnected]\n }\n\n /**\n * Sets up the base interceptor for mocking replies from undici.\n */\n intercept (opts) {\n return new MockInterceptor(opts, this[kDispatches])\n }\n\n async [kClose] () {\n await promisify(this[kOriginalClose])()\n this[kConnected] = 0\n this[kMockAgent][Symbols.kClients].delete(this[kOrigin])\n }\n}\n\nmodule.exports = MockPool\n", "'use strict'\n\nconst singulars = {\n pronoun: 'it',\n is: 'is',\n was: 'was',\n this: 'this'\n}\n\nconst plurals = {\n pronoun: 'they',\n is: 'are',\n was: 'were',\n this: 'these'\n}\n\nmodule.exports = class Pluralizer {\n constructor (singular, plural) {\n this.singular = singular\n this.plural = plural\n }\n\n pluralize (count) {\n const one = count === 1\n const keys = one ? singulars : plurals\n const noun = one ? this.singular : this.plural\n return { ...keys, count, noun }\n }\n}\n", "'use strict'\n\nconst { Transform } = require('node:stream')\nconst { Console } = require('node:console')\n\nconst PERSISTENT = process.versions.icu ? '\u2705' : 'Y '\nconst NOT_PERSISTENT = process.versions.icu ? '\u274C' : 'N '\n\n/**\n * Gets the output of `console.table(\u2026)` as a string.\n */\nmodule.exports = class PendingInterceptorsFormatter {\n constructor ({ disableColors } = {}) {\n this.transform = new Transform({\n transform (chunk, _enc, cb) {\n cb(null, chunk)\n }\n })\n\n this.logger = new Console({\n stdout: this.transform,\n inspectOptions: {\n colors: !disableColors && !process.env.CI\n }\n })\n }\n\n format (pendingInterceptors) {\n const withPrettyHeaders = pendingInterceptors.map(\n ({ method, path, data: { statusCode }, persist, times, timesInvoked, origin }) => ({\n Method: method,\n Origin: origin,\n Path: path,\n 'Status code': statusCode,\n Persistent: persist ? PERSISTENT : NOT_PERSISTENT,\n Invocations: timesInvoked,\n Remaining: persist ? Infinity : times - timesInvoked\n }))\n\n this.logger.table(withPrettyHeaders)\n return this.transform.read().toString()\n }\n}\n", "'use strict'\n\nconst { kClients } = require('../core/symbols')\nconst Agent = require('../dispatcher/agent')\nconst {\n kAgent,\n kMockAgentSet,\n kMockAgentGet,\n kDispatches,\n kIsMockActive,\n kNetConnect,\n kGetNetConnect,\n kOptions,\n kFactory\n} = require('./mock-symbols')\nconst MockClient = require('./mock-client')\nconst MockPool = require('./mock-pool')\nconst { matchValue, buildMockOptions } = require('./mock-utils')\nconst { InvalidArgumentError, UndiciError } = require('../core/errors')\nconst Dispatcher = require('../dispatcher/dispatcher')\nconst Pluralizer = require('./pluralizer')\nconst PendingInterceptorsFormatter = require('./pending-interceptors-formatter')\n\nclass MockAgent extends Dispatcher {\n constructor (opts) {\n super(opts)\n\n this[kNetConnect] = true\n this[kIsMockActive] = true\n\n // Instantiate Agent and encapsulate\n if ((opts?.agent && typeof opts.agent.dispatch !== 'function')) {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n const agent = opts?.agent ? opts.agent : new Agent(opts)\n this[kAgent] = agent\n\n this[kClients] = agent[kClients]\n this[kOptions] = buildMockOptions(opts)\n }\n\n get (origin) {\n let dispatcher = this[kMockAgentGet](origin)\n\n if (!dispatcher) {\n dispatcher = this[kFactory](origin)\n this[kMockAgentSet](origin, dispatcher)\n }\n return dispatcher\n }\n\n dispatch (opts, handler) {\n // Call MockAgent.get to perform additional setup before dispatching as normal\n this.get(opts.origin)\n return this[kAgent].dispatch(opts, handler)\n }\n\n async close () {\n await this[kAgent].close()\n this[kClients].clear()\n }\n\n deactivate () {\n this[kIsMockActive] = false\n }\n\n activate () {\n this[kIsMockActive] = true\n }\n\n enableNetConnect (matcher) {\n if (typeof matcher === 'string' || typeof matcher === 'function' || matcher instanceof RegExp) {\n if (Array.isArray(this[kNetConnect])) {\n this[kNetConnect].push(matcher)\n } else {\n this[kNetConnect] = [matcher]\n }\n } else if (typeof matcher === 'undefined') {\n this[kNetConnect] = true\n } else {\n throw new InvalidArgumentError('Unsupported matcher. Must be one of String|Function|RegExp.')\n }\n }\n\n disableNetConnect () {\n this[kNetConnect] = false\n }\n\n // This is required to bypass issues caused by using global symbols - see:\n // https://github.com/nodejs/undici/issues/1447\n get isMockActive () {\n return this[kIsMockActive]\n }\n\n [kMockAgentSet] (origin, dispatcher) {\n this[kClients].set(origin, dispatcher)\n }\n\n [kFactory] (origin) {\n const mockOptions = Object.assign({ agent: this }, this[kOptions])\n return this[kOptions] && this[kOptions].connections === 1\n ? new MockClient(origin, mockOptions)\n : new MockPool(origin, mockOptions)\n }\n\n [kMockAgentGet] (origin) {\n // First check if we can immediately find it\n const client = this[kClients].get(origin)\n if (client) {\n return client\n }\n\n // If the origin is not a string create a dummy parent pool and return to user\n if (typeof origin !== 'string') {\n const dispatcher = this[kFactory]('http://localhost:9999')\n this[kMockAgentSet](origin, dispatcher)\n return dispatcher\n }\n\n // If we match, create a pool and assign the same dispatches\n for (const [keyMatcher, nonExplicitDispatcher] of Array.from(this[kClients])) {\n if (nonExplicitDispatcher && typeof keyMatcher !== 'string' && matchValue(keyMatcher, origin)) {\n const dispatcher = this[kFactory](origin)\n this[kMockAgentSet](origin, dispatcher)\n dispatcher[kDispatches] = nonExplicitDispatcher[kDispatches]\n return dispatcher\n }\n }\n }\n\n [kGetNetConnect] () {\n return this[kNetConnect]\n }\n\n pendingInterceptors () {\n const mockAgentClients = this[kClients]\n\n return Array.from(mockAgentClients.entries())\n .flatMap(([origin, scope]) => scope[kDispatches].map(dispatch => ({ ...dispatch, origin })))\n .filter(({ pending }) => pending)\n }\n\n assertNoPendingInterceptors ({ pendingInterceptorsFormatter = new PendingInterceptorsFormatter() } = {}) {\n const pending = this.pendingInterceptors()\n\n if (pending.length === 0) {\n return\n }\n\n const pluralizer = new Pluralizer('interceptor', 'interceptors').pluralize(pending.length)\n\n throw new UndiciError(`\n${pluralizer.count} ${pluralizer.noun} ${pluralizer.is} pending:\n\n${pendingInterceptorsFormatter.format(pending)}\n`.trim())\n }\n}\n\nmodule.exports = MockAgent\n", "'use strict'\n\n// We include a version number for the Dispatcher API. In case of breaking changes,\n// this version number must be increased to avoid conflicts.\nconst globalDispatcher = Symbol.for('undici.globalDispatcher.1')\nconst { InvalidArgumentError } = require('./core/errors')\nconst Agent = require('./dispatcher/agent')\n\nif (getGlobalDispatcher() === undefined) {\n setGlobalDispatcher(new Agent())\n}\n\nfunction setGlobalDispatcher (agent) {\n if (!agent || typeof agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument agent must implement Agent')\n }\n Object.defineProperty(globalThis, globalDispatcher, {\n value: agent,\n writable: true,\n enumerable: false,\n configurable: false\n })\n}\n\nfunction getGlobalDispatcher () {\n return globalThis[globalDispatcher]\n}\n\nmodule.exports = {\n setGlobalDispatcher,\n getGlobalDispatcher\n}\n", "'use strict'\n\nmodule.exports = class DecoratorHandler {\n #handler\n\n constructor (handler) {\n if (typeof handler !== 'object' || handler === null) {\n throw new TypeError('handler must be an object')\n }\n this.#handler = handler\n }\n\n onConnect (...args) {\n return this.#handler.onConnect?.(...args)\n }\n\n onError (...args) {\n return this.#handler.onError?.(...args)\n }\n\n onUpgrade (...args) {\n return this.#handler.onUpgrade?.(...args)\n }\n\n onResponseStarted (...args) {\n return this.#handler.onResponseStarted?.(...args)\n }\n\n onHeaders (...args) {\n return this.#handler.onHeaders?.(...args)\n }\n\n onData (...args) {\n return this.#handler.onData?.(...args)\n }\n\n onComplete (...args) {\n return this.#handler.onComplete?.(...args)\n }\n\n onBodySent (...args) {\n return this.#handler.onBodySent?.(...args)\n }\n}\n", "'use strict'\nconst RedirectHandler = require('../handler/redirect-handler')\n\nmodule.exports = opts => {\n const globalMaxRedirections = opts?.maxRedirections\n return dispatch => {\n return function redirectInterceptor (opts, handler) {\n const { maxRedirections = globalMaxRedirections, ...baseOpts } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(\n dispatch,\n maxRedirections,\n opts,\n handler\n )\n\n return dispatch(baseOpts, redirectHandler)\n }\n }\n}\n", "'use strict'\nconst RetryHandler = require('../handler/retry-handler')\n\nmodule.exports = globalOpts => {\n return dispatch => {\n return function retryInterceptor (opts, handler) {\n return dispatch(\n opts,\n new RetryHandler(\n { ...opts, retryOptions: { ...globalOpts, ...opts.retryOptions } },\n {\n handler,\n dispatch\n }\n )\n )\n }\n }\n}\n", "'use strict'\n\nconst util = require('../core/util')\nconst { InvalidArgumentError, RequestAbortedError } = require('../core/errors')\nconst DecoratorHandler = require('../handler/decorator-handler')\n\nclass DumpHandler extends DecoratorHandler {\n #maxSize = 1024 * 1024\n #abort = null\n #dumped = false\n #aborted = false\n #size = 0\n #reason = null\n #handler = null\n\n constructor ({ maxSize }, handler) {\n super(handler)\n\n if (maxSize != null && (!Number.isFinite(maxSize) || maxSize < 1)) {\n throw new InvalidArgumentError('maxSize must be a number greater than 0')\n }\n\n this.#maxSize = maxSize ?? this.#maxSize\n this.#handler = handler\n }\n\n onConnect (abort) {\n this.#abort = abort\n\n this.#handler.onConnect(this.#customAbort.bind(this))\n }\n\n #customAbort (reason) {\n this.#aborted = true\n this.#reason = reason\n }\n\n // TODO: will require adjustment after new hooks are out\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const headers = util.parseHeaders(rawHeaders)\n const contentLength = headers['content-length']\n\n if (contentLength != null && contentLength > this.#maxSize) {\n throw new RequestAbortedError(\n `Response size (${contentLength}) larger than maxSize (${\n this.#maxSize\n })`\n )\n }\n\n if (this.#aborted) {\n return true\n }\n\n return this.#handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n onError (err) {\n if (this.#dumped) {\n return\n }\n\n err = this.#reason ?? err\n\n this.#handler.onError(err)\n }\n\n onData (chunk) {\n this.#size = this.#size + chunk.length\n\n if (this.#size >= this.#maxSize) {\n this.#dumped = true\n\n if (this.#aborted) {\n this.#handler.onError(this.#reason)\n } else {\n this.#handler.onComplete([])\n }\n }\n\n return true\n }\n\n onComplete (trailers) {\n if (this.#dumped) {\n return\n }\n\n if (this.#aborted) {\n this.#handler.onError(this.reason)\n return\n }\n\n this.#handler.onComplete(trailers)\n }\n}\n\nfunction createDumpInterceptor (\n { maxSize: defaultMaxSize } = {\n maxSize: 1024 * 1024\n }\n) {\n return dispatch => {\n return function Intercept (opts, handler) {\n const { dumpMaxSize = defaultMaxSize } =\n opts\n\n const dumpHandler = new DumpHandler(\n { maxSize: dumpMaxSize },\n handler\n )\n\n return dispatch(opts, dumpHandler)\n }\n }\n}\n\nmodule.exports = createDumpInterceptor\n", "'use strict'\nconst { isIP } = require('node:net')\nconst { lookup } = require('node:dns')\nconst DecoratorHandler = require('../handler/decorator-handler')\nconst { InvalidArgumentError, InformationalError } = require('../core/errors')\nconst maxInt = Math.pow(2, 31) - 1\n\nclass DNSInstance {\n #maxTTL = 0\n #maxItems = 0\n #records = new Map()\n dualStack = true\n affinity = null\n lookup = null\n pick = null\n\n constructor (opts) {\n this.#maxTTL = opts.maxTTL\n this.#maxItems = opts.maxItems\n this.dualStack = opts.dualStack\n this.affinity = opts.affinity\n this.lookup = opts.lookup ?? this.#defaultLookup\n this.pick = opts.pick ?? this.#defaultPick\n }\n\n get full () {\n return this.#records.size === this.#maxItems\n }\n\n runLookup (origin, opts, cb) {\n const ips = this.#records.get(origin.hostname)\n\n // If full, we just return the origin\n if (ips == null && this.full) {\n cb(null, origin.origin)\n return\n }\n\n const newOpts = {\n affinity: this.affinity,\n dualStack: this.dualStack,\n lookup: this.lookup,\n pick: this.pick,\n ...opts.dns,\n maxTTL: this.#maxTTL,\n maxItems: this.#maxItems\n }\n\n // If no IPs we lookup\n if (ips == null) {\n this.lookup(origin, newOpts, (err, addresses) => {\n if (err || addresses == null || addresses.length === 0) {\n cb(err ?? new InformationalError('No DNS entries found'))\n return\n }\n\n this.setRecords(origin, addresses)\n const records = this.#records.get(origin.hostname)\n\n const ip = this.pick(\n origin,\n records,\n newOpts.affinity\n )\n\n let port\n if (typeof ip.port === 'number') {\n port = `:${ip.port}`\n } else if (origin.port !== '') {\n port = `:${origin.port}`\n } else {\n port = ''\n }\n\n cb(\n null,\n `${origin.protocol}//${\n ip.family === 6 ? `[${ip.address}]` : ip.address\n }${port}`\n )\n })\n } else {\n // If there's IPs we pick\n const ip = this.pick(\n origin,\n ips,\n newOpts.affinity\n )\n\n // If no IPs we lookup - deleting old records\n if (ip == null) {\n this.#records.delete(origin.hostname)\n this.runLookup(origin, opts, cb)\n return\n }\n\n let port\n if (typeof ip.port === 'number') {\n port = `:${ip.port}`\n } else if (origin.port !== '') {\n port = `:${origin.port}`\n } else {\n port = ''\n }\n\n cb(\n null,\n `${origin.protocol}//${\n ip.family === 6 ? `[${ip.address}]` : ip.address\n }${port}`\n )\n }\n }\n\n #defaultLookup (origin, opts, cb) {\n lookup(\n origin.hostname,\n {\n all: true,\n family: this.dualStack === false ? this.affinity : 0,\n order: 'ipv4first'\n },\n (err, addresses) => {\n if (err) {\n return cb(err)\n }\n\n const results = new Map()\n\n for (const addr of addresses) {\n // On linux we found duplicates, we attempt to remove them with\n // the latest record\n results.set(`${addr.address}:${addr.family}`, addr)\n }\n\n cb(null, results.values())\n }\n )\n }\n\n #defaultPick (origin, hostnameRecords, affinity) {\n let ip = null\n const { records, offset } = hostnameRecords\n\n let family\n if (this.dualStack) {\n if (affinity == null) {\n // Balance between ip families\n if (offset == null || offset === maxInt) {\n hostnameRecords.offset = 0\n affinity = 4\n } else {\n hostnameRecords.offset++\n affinity = (hostnameRecords.offset & 1) === 1 ? 6 : 4\n }\n }\n\n if (records[affinity] != null && records[affinity].ips.length > 0) {\n family = records[affinity]\n } else {\n family = records[affinity === 4 ? 6 : 4]\n }\n } else {\n family = records[affinity]\n }\n\n // If no IPs we return null\n if (family == null || family.ips.length === 0) {\n return ip\n }\n\n if (family.offset == null || family.offset === maxInt) {\n family.offset = 0\n } else {\n family.offset++\n }\n\n const position = family.offset % family.ips.length\n ip = family.ips[position] ?? null\n\n if (ip == null) {\n return ip\n }\n\n if (Date.now() - ip.timestamp > ip.ttl) { // record TTL is already in ms\n // We delete expired records\n // It is possible that they have different TTL, so we manage them individually\n family.ips.splice(position, 1)\n return this.pick(origin, hostnameRecords, affinity)\n }\n\n return ip\n }\n\n setRecords (origin, addresses) {\n const timestamp = Date.now()\n const records = { records: { 4: null, 6: null } }\n for (const record of addresses) {\n record.timestamp = timestamp\n if (typeof record.ttl === 'number') {\n // The record TTL is expected to be in ms\n record.ttl = Math.min(record.ttl, this.#maxTTL)\n } else {\n record.ttl = this.#maxTTL\n }\n\n const familyRecords = records.records[record.family] ?? { ips: [] }\n\n familyRecords.ips.push(record)\n records.records[record.family] = familyRecords\n }\n\n this.#records.set(origin.hostname, records)\n }\n\n getHandler (meta, opts) {\n return new DNSDispatchHandler(this, meta, opts)\n }\n}\n\nclass DNSDispatchHandler extends DecoratorHandler {\n #state = null\n #opts = null\n #dispatch = null\n #handler = null\n #origin = null\n\n constructor (state, { origin, handler, dispatch }, opts) {\n super(handler)\n this.#origin = origin\n this.#handler = handler\n this.#opts = { ...opts }\n this.#state = state\n this.#dispatch = dispatch\n }\n\n onError (err) {\n switch (err.code) {\n case 'ETIMEDOUT':\n case 'ECONNREFUSED': {\n if (this.#state.dualStack) {\n // We delete the record and retry\n this.#state.runLookup(this.#origin, this.#opts, (err, newOrigin) => {\n if (err) {\n return this.#handler.onError(err)\n }\n\n const dispatchOpts = {\n ...this.#opts,\n origin: newOrigin\n }\n\n this.#dispatch(dispatchOpts, this)\n })\n\n // if dual-stack disabled, we error out\n return\n }\n\n this.#handler.onError(err)\n return\n }\n case 'ENOTFOUND':\n this.#state.deleteRecord(this.#origin)\n // eslint-disable-next-line no-fallthrough\n default:\n this.#handler.onError(err)\n break\n }\n }\n}\n\nmodule.exports = interceptorOpts => {\n if (\n interceptorOpts?.maxTTL != null &&\n (typeof interceptorOpts?.maxTTL !== 'number' || interceptorOpts?.maxTTL < 0)\n ) {\n throw new InvalidArgumentError('Invalid maxTTL. Must be a positive number')\n }\n\n if (\n interceptorOpts?.maxItems != null &&\n (typeof interceptorOpts?.maxItems !== 'number' ||\n interceptorOpts?.maxItems < 1)\n ) {\n throw new InvalidArgumentError(\n 'Invalid maxItems. Must be a positive number and greater than zero'\n )\n }\n\n if (\n interceptorOpts?.affinity != null &&\n interceptorOpts?.affinity !== 4 &&\n interceptorOpts?.affinity !== 6\n ) {\n throw new InvalidArgumentError('Invalid affinity. Must be either 4 or 6')\n }\n\n if (\n interceptorOpts?.dualStack != null &&\n typeof interceptorOpts?.dualStack !== 'boolean'\n ) {\n throw new InvalidArgumentError('Invalid dualStack. Must be a boolean')\n }\n\n if (\n interceptorOpts?.lookup != null &&\n typeof interceptorOpts?.lookup !== 'function'\n ) {\n throw new InvalidArgumentError('Invalid lookup. Must be a function')\n }\n\n if (\n interceptorOpts?.pick != null &&\n typeof interceptorOpts?.pick !== 'function'\n ) {\n throw new InvalidArgumentError('Invalid pick. Must be a function')\n }\n\n const dualStack = interceptorOpts?.dualStack ?? true\n let affinity\n if (dualStack) {\n affinity = interceptorOpts?.affinity ?? null\n } else {\n affinity = interceptorOpts?.affinity ?? 4\n }\n\n const opts = {\n maxTTL: interceptorOpts?.maxTTL ?? 10e3, // Expressed in ms\n lookup: interceptorOpts?.lookup ?? null,\n pick: interceptorOpts?.pick ?? null,\n dualStack,\n affinity,\n maxItems: interceptorOpts?.maxItems ?? Infinity\n }\n\n const instance = new DNSInstance(opts)\n\n return dispatch => {\n return function dnsInterceptor (origDispatchOpts, handler) {\n const origin =\n origDispatchOpts.origin.constructor === URL\n ? origDispatchOpts.origin\n : new URL(origDispatchOpts.origin)\n\n if (isIP(origin.hostname) !== 0) {\n return dispatch(origDispatchOpts, handler)\n }\n\n instance.runLookup(origin, origDispatchOpts, (err, newOrigin) => {\n if (err) {\n return handler.onError(err)\n }\n\n let dispatchOpts = null\n dispatchOpts = {\n ...origDispatchOpts,\n servername: origin.hostname, // For SNI on TLS\n origin: newOrigin,\n headers: {\n host: origin.hostname,\n ...origDispatchOpts.headers\n }\n }\n\n dispatch(\n dispatchOpts,\n instance.getHandler({ origin, dispatch, handler }, origDispatchOpts)\n )\n })\n\n return true\n }\n }\n}\n", "// https://github.com/Ethan-Arrowood/undici-fetch\n\n'use strict'\n\nconst { kConstruct } = require('../../core/symbols')\nconst { kEnumerableProperty } = require('../../core/util')\nconst {\n iteratorMixin,\n isValidHeaderName,\n isValidHeaderValue\n} = require('./util')\nconst { webidl } = require('./webidl')\nconst assert = require('node:assert')\nconst util = require('node:util')\n\nconst kHeadersMap = Symbol('headers map')\nconst kHeadersSortedMap = Symbol('headers map sorted')\n\n/**\n * @param {number} code\n */\nfunction isHTTPWhiteSpaceCharCode (code) {\n return code === 0x00a || code === 0x00d || code === 0x009 || code === 0x020\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-value-normalize\n * @param {string} potentialValue\n */\nfunction headerValueNormalize (potentialValue) {\n // To normalize a byte sequence potentialValue, remove\n // any leading and trailing HTTP whitespace bytes from\n // potentialValue.\n let i = 0; let j = potentialValue.length\n\n while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(j - 1))) --j\n while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(i))) ++i\n\n return i === 0 && j === potentialValue.length ? potentialValue : potentialValue.substring(i, j)\n}\n\nfunction fill (headers, object) {\n // To fill a Headers object headers with a given object object, run these steps:\n\n // 1. If object is a sequence, then for each header in object:\n // Note: webidl conversion to array has already been done.\n if (Array.isArray(object)) {\n for (let i = 0; i < object.length; ++i) {\n const header = object[i]\n // 1. If header does not contain exactly two items, then throw a TypeError.\n if (header.length !== 2) {\n throw webidl.errors.exception({\n header: 'Headers constructor',\n message: `expected name/value pair to be length 2, found ${header.length}.`\n })\n }\n\n // 2. Append (header\u2019s first item, header\u2019s second item) to headers.\n appendHeader(headers, header[0], header[1])\n }\n } else if (typeof object === 'object' && object !== null) {\n // Note: null should throw\n\n // 2. Otherwise, object is a record, then for each key \u2192 value in object,\n // append (key, value) to headers\n const keys = Object.keys(object)\n for (let i = 0; i < keys.length; ++i) {\n appendHeader(headers, keys[i], object[keys[i]])\n }\n } else {\n throw webidl.errors.conversionFailed({\n prefix: 'Headers constructor',\n argument: 'Argument 1',\n types: ['sequence>', 'record']\n })\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-headers-append\n */\nfunction appendHeader (headers, name, value) {\n // 1. Normalize value.\n value = headerValueNormalize(value)\n\n // 2. If name is not a header name or value is not a\n // header value, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.append',\n value: name,\n type: 'header name'\n })\n } else if (!isValidHeaderValue(value)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.append',\n value,\n type: 'header value'\n })\n }\n\n // 3. If headers\u2019s guard is \"immutable\", then throw a TypeError.\n // 4. Otherwise, if headers\u2019s guard is \"request\" and name is a\n // forbidden header name, return.\n // 5. Otherwise, if headers\u2019s guard is \"request-no-cors\":\n // TODO\n // Note: undici does not implement forbidden header names\n if (getHeadersGuard(headers) === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 6. Otherwise, if headers\u2019s guard is \"response\" and name is a\n // forbidden response-header name, return.\n\n // 7. Append (name, value) to headers\u2019s header list.\n return getHeadersList(headers).append(name, value, false)\n\n // 8. If headers\u2019s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from headers\n}\n\nfunction compareHeaderName (a, b) {\n return a[0] < b[0] ? -1 : 1\n}\n\nclass HeadersList {\n /** @type {[string, string][]|null} */\n cookies = null\n\n constructor (init) {\n if (init instanceof HeadersList) {\n this[kHeadersMap] = new Map(init[kHeadersMap])\n this[kHeadersSortedMap] = init[kHeadersSortedMap]\n this.cookies = init.cookies === null ? null : [...init.cookies]\n } else {\n this[kHeadersMap] = new Map(init)\n this[kHeadersSortedMap] = null\n }\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#header-list-contains\n * @param {string} name\n * @param {boolean} isLowerCase\n */\n contains (name, isLowerCase) {\n // A header list list contains a header name name if list\n // contains a header whose name is a byte-case-insensitive\n // match for name.\n\n return this[kHeadersMap].has(isLowerCase ? name : name.toLowerCase())\n }\n\n clear () {\n this[kHeadersMap].clear()\n this[kHeadersSortedMap] = null\n this.cookies = null\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-append\n * @param {string} name\n * @param {string} value\n * @param {boolean} isLowerCase\n */\n append (name, value, isLowerCase) {\n this[kHeadersSortedMap] = null\n\n // 1. If list contains name, then set name to the first such\n // header\u2019s name.\n const lowercaseName = isLowerCase ? name : name.toLowerCase()\n const exists = this[kHeadersMap].get(lowercaseName)\n\n // 2. Append (name, value) to list.\n if (exists) {\n const delimiter = lowercaseName === 'cookie' ? '; ' : ', '\n this[kHeadersMap].set(lowercaseName, {\n name: exists.name,\n value: `${exists.value}${delimiter}${value}`\n })\n } else {\n this[kHeadersMap].set(lowercaseName, { name, value })\n }\n\n if (lowercaseName === 'set-cookie') {\n (this.cookies ??= []).push(value)\n }\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-set\n * @param {string} name\n * @param {string} value\n * @param {boolean} isLowerCase\n */\n set (name, value, isLowerCase) {\n this[kHeadersSortedMap] = null\n const lowercaseName = isLowerCase ? name : name.toLowerCase()\n\n if (lowercaseName === 'set-cookie') {\n this.cookies = [value]\n }\n\n // 1. If list contains name, then set the value of\n // the first such header to value and remove the\n // others.\n // 2. Otherwise, append header (name, value) to list.\n this[kHeadersMap].set(lowercaseName, { name, value })\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-delete\n * @param {string} name\n * @param {boolean} isLowerCase\n */\n delete (name, isLowerCase) {\n this[kHeadersSortedMap] = null\n if (!isLowerCase) name = name.toLowerCase()\n\n if (name === 'set-cookie') {\n this.cookies = null\n }\n\n this[kHeadersMap].delete(name)\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-get\n * @param {string} name\n * @param {boolean} isLowerCase\n * @returns {string | null}\n */\n get (name, isLowerCase) {\n // 1. If list does not contain name, then return null.\n // 2. Return the values of all headers in list whose name\n // is a byte-case-insensitive match for name,\n // separated from each other by 0x2C 0x20, in order.\n return this[kHeadersMap].get(isLowerCase ? name : name.toLowerCase())?.value ?? null\n }\n\n * [Symbol.iterator] () {\n // use the lowercased name\n for (const { 0: name, 1: { value } } of this[kHeadersMap]) {\n yield [name, value]\n }\n }\n\n get entries () {\n const headers = {}\n\n if (this[kHeadersMap].size !== 0) {\n for (const { name, value } of this[kHeadersMap].values()) {\n headers[name] = value\n }\n }\n\n return headers\n }\n\n rawValues () {\n return this[kHeadersMap].values()\n }\n\n get entriesList () {\n const headers = []\n\n if (this[kHeadersMap].size !== 0) {\n for (const { 0: lowerName, 1: { name, value } } of this[kHeadersMap]) {\n if (lowerName === 'set-cookie') {\n for (const cookie of this.cookies) {\n headers.push([name, cookie])\n }\n } else {\n headers.push([name, value])\n }\n }\n }\n\n return headers\n }\n\n // https://fetch.spec.whatwg.org/#convert-header-names-to-a-sorted-lowercase-set\n toSortedArray () {\n const size = this[kHeadersMap].size\n const array = new Array(size)\n // In most cases, you will use the fast-path.\n // fast-path: Use binary insertion sort for small arrays.\n if (size <= 32) {\n if (size === 0) {\n // If empty, it is an empty array. To avoid the first index assignment.\n return array\n }\n // Improve performance by unrolling loop and avoiding double-loop.\n // Double-loop-less version of the binary insertion sort.\n const iterator = this[kHeadersMap][Symbol.iterator]()\n const firstValue = iterator.next().value\n // set [name, value] to first index.\n array[0] = [firstValue[0], firstValue[1].value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(firstValue[1].value !== null)\n for (\n let i = 1, j = 0, right = 0, left = 0, pivot = 0, x, value;\n i < size;\n ++i\n ) {\n // get next value\n value = iterator.next().value\n // set [name, value] to current index.\n x = array[i] = [value[0], value[1].value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(x[1] !== null)\n left = 0\n right = i\n // binary search\n while (left < right) {\n // middle index\n pivot = left + ((right - left) >> 1)\n // compare header name\n if (array[pivot][0] <= x[0]) {\n left = pivot + 1\n } else {\n right = pivot\n }\n }\n if (i !== pivot) {\n j = i\n while (j > left) {\n array[j] = array[--j]\n }\n array[left] = x\n }\n }\n /* c8 ignore next 4 */\n if (!iterator.next().done) {\n // This is for debugging and will never be called.\n throw new TypeError('Unreachable')\n }\n return array\n } else {\n // This case would be a rare occurrence.\n // slow-path: fallback\n let i = 0\n for (const { 0: name, 1: { value } } of this[kHeadersMap]) {\n array[i++] = [name, value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(value !== null)\n }\n return array.sort(compareHeaderName)\n }\n }\n}\n\n// https://fetch.spec.whatwg.org/#headers-class\nclass Headers {\n #guard\n #headersList\n\n constructor (init = undefined) {\n webidl.util.markAsUncloneable(this)\n\n if (init === kConstruct) {\n return\n }\n\n this.#headersList = new HeadersList()\n\n // The new Headers(init) constructor steps are:\n\n // 1. Set this\u2019s guard to \"none\".\n this.#guard = 'none'\n\n // 2. If init is given, then fill this with init.\n if (init !== undefined) {\n init = webidl.converters.HeadersInit(init, 'Headers contructor', 'init')\n fill(this, init)\n }\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-append\n append (name, value) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 2, 'Headers.append')\n\n const prefix = 'Headers.append'\n name = webidl.converters.ByteString(name, prefix, 'name')\n value = webidl.converters.ByteString(value, prefix, 'value')\n\n return appendHeader(this, name, value)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-delete\n delete (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.delete')\n\n const prefix = 'Headers.delete'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.delete',\n value: name,\n type: 'header name'\n })\n }\n\n // 2. If this\u2019s guard is \"immutable\", then throw a TypeError.\n // 3. Otherwise, if this\u2019s guard is \"request\" and name is a\n // forbidden header name, return.\n // 4. Otherwise, if this\u2019s guard is \"request-no-cors\", name\n // is not a no-CORS-safelisted request-header name, and\n // name is not a privileged no-CORS request-header name,\n // return.\n // 5. Otherwise, if this\u2019s guard is \"response\" and name is\n // a forbidden response-header name, return.\n // Note: undici does not implement forbidden header names\n if (this.#guard === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 6. If this\u2019s header list does not contain name, then\n // return.\n if (!this.#headersList.contains(name, false)) {\n return\n }\n\n // 7. Delete name from this\u2019s header list.\n // 8. If this\u2019s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from this.\n this.#headersList.delete(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-get\n get (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.get')\n\n const prefix = 'Headers.get'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n }\n\n // 2. Return the result of getting name from this\u2019s header\n // list.\n return this.#headersList.get(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-has\n has (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.has')\n\n const prefix = 'Headers.has'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n }\n\n // 2. Return true if this\u2019s header list contains name;\n // otherwise false.\n return this.#headersList.contains(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-set\n set (name, value) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 2, 'Headers.set')\n\n const prefix = 'Headers.set'\n name = webidl.converters.ByteString(name, prefix, 'name')\n value = webidl.converters.ByteString(value, prefix, 'value')\n\n // 1. Normalize value.\n value = headerValueNormalize(value)\n\n // 2. If name is not a header name or value is not a\n // header value, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n } else if (!isValidHeaderValue(value)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value,\n type: 'header value'\n })\n }\n\n // 3. If this\u2019s guard is \"immutable\", then throw a TypeError.\n // 4. Otherwise, if this\u2019s guard is \"request\" and name is a\n // forbidden header name, return.\n // 5. Otherwise, if this\u2019s guard is \"request-no-cors\" and\n // name/value is not a no-CORS-safelisted request-header,\n // return.\n // 6. Otherwise, if this\u2019s guard is \"response\" and name is a\n // forbidden response-header name, return.\n // Note: undici does not implement forbidden header names\n if (this.#guard === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 7. Set (name, value) in this\u2019s header list.\n // 8. If this\u2019s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from this\n this.#headersList.set(name, value, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-getsetcookie\n getSetCookie () {\n webidl.brandCheck(this, Headers)\n\n // 1. If this\u2019s header list does not contain `Set-Cookie`, then return \u00AB \u00BB.\n // 2. Return the values of all headers in this\u2019s header list whose name is\n // a byte-case-insensitive match for `Set-Cookie`, in order.\n\n const list = this.#headersList.cookies\n\n if (list) {\n return [...list]\n }\n\n return []\n }\n\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n get [kHeadersSortedMap] () {\n if (this.#headersList[kHeadersSortedMap]) {\n return this.#headersList[kHeadersSortedMap]\n }\n\n // 1. Let headers be an empty list of headers with the key being the name\n // and value the value.\n const headers = []\n\n // 2. Let names be the result of convert header names to a sorted-lowercase\n // set with all the names of the headers in list.\n const names = this.#headersList.toSortedArray()\n\n const cookies = this.#headersList.cookies\n\n // fast-path\n if (cookies === null || cookies.length === 1) {\n // Note: The non-null assertion of value has already been done by `HeadersList#toSortedArray`\n return (this.#headersList[kHeadersSortedMap] = names)\n }\n\n // 3. For each name of names:\n for (let i = 0; i < names.length; ++i) {\n const { 0: name, 1: value } = names[i]\n // 1. If name is `set-cookie`, then:\n if (name === 'set-cookie') {\n // 1. Let values be a list of all values of headers in list whose name\n // is a byte-case-insensitive match for name, in order.\n\n // 2. For each value of values:\n // 1. Append (name, value) to headers.\n for (let j = 0; j < cookies.length; ++j) {\n headers.push([name, cookies[j]])\n }\n } else {\n // 2. Otherwise:\n\n // 1. Let value be the result of getting name from list.\n\n // 2. Assert: value is non-null.\n // Note: This operation was done by `HeadersList#toSortedArray`.\n\n // 3. Append (name, value) to headers.\n headers.push([name, value])\n }\n }\n\n // 4. Return headers.\n return (this.#headersList[kHeadersSortedMap] = headers)\n }\n\n [util.inspect.custom] (depth, options) {\n options.depth ??= depth\n\n return `Headers ${util.formatWithOptions(options, this.#headersList.entries)}`\n }\n\n static getHeadersGuard (o) {\n return o.#guard\n }\n\n static setHeadersGuard (o, guard) {\n o.#guard = guard\n }\n\n static getHeadersList (o) {\n return o.#headersList\n }\n\n static setHeadersList (o, list) {\n o.#headersList = list\n }\n}\n\nconst { getHeadersGuard, setHeadersGuard, getHeadersList, setHeadersList } = Headers\nReflect.deleteProperty(Headers, 'getHeadersGuard')\nReflect.deleteProperty(Headers, 'setHeadersGuard')\nReflect.deleteProperty(Headers, 'getHeadersList')\nReflect.deleteProperty(Headers, 'setHeadersList')\n\niteratorMixin('Headers', Headers, kHeadersSortedMap, 0, 1)\n\nObject.defineProperties(Headers.prototype, {\n append: kEnumerableProperty,\n delete: kEnumerableProperty,\n get: kEnumerableProperty,\n has: kEnumerableProperty,\n set: kEnumerableProperty,\n getSetCookie: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Headers',\n configurable: true\n },\n [util.inspect.custom]: {\n enumerable: false\n }\n})\n\nwebidl.converters.HeadersInit = function (V, prefix, argument) {\n if (webidl.util.Type(V) === 'Object') {\n const iterator = Reflect.get(V, Symbol.iterator)\n\n // A work-around to ensure we send the properly-cased Headers when V is a Headers object.\n // Read https://github.com/nodejs/undici/pull/3159#issuecomment-2075537226 before touching, please.\n if (!util.types.isProxy(V) && iterator === Headers.prototype.entries) { // Headers object\n try {\n return getHeadersList(V).entriesList\n } catch {\n // fall-through\n }\n }\n\n if (typeof iterator === 'function') {\n return webidl.converters['sequence>'](V, prefix, argument, iterator.bind(V))\n }\n\n return webidl.converters['record'](V, prefix, argument)\n }\n\n throw webidl.errors.conversionFailed({\n prefix: 'Headers constructor',\n argument: 'Argument 1',\n types: ['sequence>', 'record']\n })\n}\n\nmodule.exports = {\n fill,\n // for test.\n compareHeaderName,\n Headers,\n HeadersList,\n getHeadersGuard,\n setHeadersGuard,\n setHeadersList,\n getHeadersList\n}\n", "'use strict'\n\nconst { Headers, HeadersList, fill, getHeadersGuard, setHeadersGuard, setHeadersList } = require('./headers')\nconst { extractBody, cloneBody, mixinBody, hasFinalizationRegistry, streamRegistry, bodyUnusable } = require('./body')\nconst util = require('../../core/util')\nconst nodeUtil = require('node:util')\nconst { kEnumerableProperty } = util\nconst {\n isValidReasonPhrase,\n isCancelled,\n isAborted,\n isBlobLike,\n serializeJavascriptValueToJSONString,\n isErrorLike,\n isomorphicEncode,\n environmentSettingsObject: relevantRealm\n} = require('./util')\nconst {\n redirectStatusSet,\n nullBodyStatus\n} = require('./constants')\nconst { kState, kHeaders } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { FormData } = require('./formdata')\nconst { URLSerializer } = require('./data-url')\nconst { kConstruct } = require('../../core/symbols')\nconst assert = require('node:assert')\nconst { types } = require('node:util')\n\nconst textEncoder = new TextEncoder('utf-8')\n\n// https://fetch.spec.whatwg.org/#response-class\nclass Response {\n // Creates network error Response.\n static error () {\n // The static error() method steps are to return the result of creating a\n // Response object, given a new network error, \"immutable\", and this\u2019s\n // relevant Realm.\n const responseObject = fromInnerResponse(makeNetworkError(), 'immutable')\n\n return responseObject\n }\n\n // https://fetch.spec.whatwg.org/#dom-response-json\n static json (data, init = {}) {\n webidl.argumentLengthCheck(arguments, 1, 'Response.json')\n\n if (init !== null) {\n init = webidl.converters.ResponseInit(init)\n }\n\n // 1. Let bytes the result of running serialize a JavaScript value to JSON bytes on data.\n const bytes = textEncoder.encode(\n serializeJavascriptValueToJSONString(data)\n )\n\n // 2. Let body be the result of extracting bytes.\n const body = extractBody(bytes)\n\n // 3. Let responseObject be the result of creating a Response object, given a new response,\n // \"response\", and this\u2019s relevant Realm.\n const responseObject = fromInnerResponse(makeResponse({}), 'response')\n\n // 4. Perform initialize a response given responseObject, init, and (body, \"application/json\").\n initializeResponse(responseObject, init, { body: body[0], type: 'application/json' })\n\n // 5. Return responseObject.\n return responseObject\n }\n\n // Creates a redirect Response that redirects to url with status status.\n static redirect (url, status = 302) {\n webidl.argumentLengthCheck(arguments, 1, 'Response.redirect')\n\n url = webidl.converters.USVString(url)\n status = webidl.converters['unsigned short'](status)\n\n // 1. Let parsedURL be the result of parsing url with current settings\n // object\u2019s API base URL.\n // 2. If parsedURL is failure, then throw a TypeError.\n // TODO: base-URL?\n let parsedURL\n try {\n parsedURL = new URL(url, relevantRealm.settingsObject.baseUrl)\n } catch (err) {\n throw new TypeError(`Failed to parse URL from ${url}`, { cause: err })\n }\n\n // 3. If status is not a redirect status, then throw a RangeError.\n if (!redirectStatusSet.has(status)) {\n throw new RangeError(`Invalid status code ${status}`)\n }\n\n // 4. Let responseObject be the result of creating a Response object,\n // given a new response, \"immutable\", and this\u2019s relevant Realm.\n const responseObject = fromInnerResponse(makeResponse({}), 'immutable')\n\n // 5. Set responseObject\u2019s response\u2019s status to status.\n responseObject[kState].status = status\n\n // 6. Let value be parsedURL, serialized and isomorphic encoded.\n const value = isomorphicEncode(URLSerializer(parsedURL))\n\n // 7. Append `Location`/value to responseObject\u2019s response\u2019s header list.\n responseObject[kState].headersList.append('location', value, true)\n\n // 8. Return responseObject.\n return responseObject\n }\n\n // https://fetch.spec.whatwg.org/#dom-response\n constructor (body = null, init = {}) {\n webidl.util.markAsUncloneable(this)\n if (body === kConstruct) {\n return\n }\n\n if (body !== null) {\n body = webidl.converters.BodyInit(body)\n }\n\n init = webidl.converters.ResponseInit(init)\n\n // 1. Set this\u2019s response to a new response.\n this[kState] = makeResponse({})\n\n // 2. Set this\u2019s headers to a new Headers object with this\u2019s relevant\n // Realm, whose header list is this\u2019s response\u2019s header list and guard\n // is \"response\".\n this[kHeaders] = new Headers(kConstruct)\n setHeadersGuard(this[kHeaders], 'response')\n setHeadersList(this[kHeaders], this[kState].headersList)\n\n // 3. Let bodyWithType be null.\n let bodyWithType = null\n\n // 4. If body is non-null, then set bodyWithType to the result of extracting body.\n if (body != null) {\n const [extractedBody, type] = extractBody(body)\n bodyWithType = { body: extractedBody, type }\n }\n\n // 5. Perform initialize a response given this, init, and bodyWithType.\n initializeResponse(this, init, bodyWithType)\n }\n\n // Returns response\u2019s type, e.g., \"cors\".\n get type () {\n webidl.brandCheck(this, Response)\n\n // The type getter steps are to return this\u2019s response\u2019s type.\n return this[kState].type\n }\n\n // Returns response\u2019s URL, if it has one; otherwise the empty string.\n get url () {\n webidl.brandCheck(this, Response)\n\n const urlList = this[kState].urlList\n\n // The url getter steps are to return the empty string if this\u2019s\n // response\u2019s URL is null; otherwise this\u2019s response\u2019s URL,\n // serialized with exclude fragment set to true.\n const url = urlList[urlList.length - 1] ?? null\n\n if (url === null) {\n return ''\n }\n\n return URLSerializer(url, true)\n }\n\n // Returns whether response was obtained through a redirect.\n get redirected () {\n webidl.brandCheck(this, Response)\n\n // The redirected getter steps are to return true if this\u2019s response\u2019s URL\n // list has more than one item; otherwise false.\n return this[kState].urlList.length > 1\n }\n\n // Returns response\u2019s status.\n get status () {\n webidl.brandCheck(this, Response)\n\n // The status getter steps are to return this\u2019s response\u2019s status.\n return this[kState].status\n }\n\n // Returns whether response\u2019s status is an ok status.\n get ok () {\n webidl.brandCheck(this, Response)\n\n // The ok getter steps are to return true if this\u2019s response\u2019s status is an\n // ok status; otherwise false.\n return this[kState].status >= 200 && this[kState].status <= 299\n }\n\n // Returns response\u2019s status message.\n get statusText () {\n webidl.brandCheck(this, Response)\n\n // The statusText getter steps are to return this\u2019s response\u2019s status\n // message.\n return this[kState].statusText\n }\n\n // Returns response\u2019s headers as Headers.\n get headers () {\n webidl.brandCheck(this, Response)\n\n // The headers getter steps are to return this\u2019s headers.\n return this[kHeaders]\n }\n\n get body () {\n webidl.brandCheck(this, Response)\n\n return this[kState].body ? this[kState].body.stream : null\n }\n\n get bodyUsed () {\n webidl.brandCheck(this, Response)\n\n return !!this[kState].body && util.isDisturbed(this[kState].body.stream)\n }\n\n // Returns a clone of response.\n clone () {\n webidl.brandCheck(this, Response)\n\n // 1. If this is unusable, then throw a TypeError.\n if (bodyUnusable(this)) {\n throw webidl.errors.exception({\n header: 'Response.clone',\n message: 'Body has already been consumed.'\n })\n }\n\n // 2. Let clonedResponse be the result of cloning this\u2019s response.\n const clonedResponse = cloneResponse(this[kState])\n\n // Note: To re-register because of a new stream.\n if (hasFinalizationRegistry && this[kState].body?.stream) {\n streamRegistry.register(this, new WeakRef(this[kState].body.stream))\n }\n\n // 3. Return the result of creating a Response object, given\n // clonedResponse, this\u2019s headers\u2019s guard, and this\u2019s relevant Realm.\n return fromInnerResponse(clonedResponse, getHeadersGuard(this[kHeaders]))\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n if (options.depth === null) {\n options.depth = 2\n }\n\n options.colors ??= true\n\n const properties = {\n status: this.status,\n statusText: this.statusText,\n headers: this.headers,\n body: this.body,\n bodyUsed: this.bodyUsed,\n ok: this.ok,\n redirected: this.redirected,\n type: this.type,\n url: this.url\n }\n\n return `Response ${nodeUtil.formatWithOptions(options, properties)}`\n }\n}\n\nmixinBody(Response)\n\nObject.defineProperties(Response.prototype, {\n type: kEnumerableProperty,\n url: kEnumerableProperty,\n status: kEnumerableProperty,\n ok: kEnumerableProperty,\n redirected: kEnumerableProperty,\n statusText: kEnumerableProperty,\n headers: kEnumerableProperty,\n clone: kEnumerableProperty,\n body: kEnumerableProperty,\n bodyUsed: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Response',\n configurable: true\n }\n})\n\nObject.defineProperties(Response, {\n json: kEnumerableProperty,\n redirect: kEnumerableProperty,\n error: kEnumerableProperty\n})\n\n// https://fetch.spec.whatwg.org/#concept-response-clone\nfunction cloneResponse (response) {\n // To clone a response response, run these steps:\n\n // 1. If response is a filtered response, then return a new identical\n // filtered response whose internal response is a clone of response\u2019s\n // internal response.\n if (response.internalResponse) {\n return filterResponse(\n cloneResponse(response.internalResponse),\n response.type\n )\n }\n\n // 2. Let newResponse be a copy of response, except for its body.\n const newResponse = makeResponse({ ...response, body: null })\n\n // 3. If response\u2019s body is non-null, then set newResponse\u2019s body to the\n // result of cloning response\u2019s body.\n if (response.body != null) {\n newResponse.body = cloneBody(newResponse, response.body)\n }\n\n // 4. Return newResponse.\n return newResponse\n}\n\nfunction makeResponse (init) {\n return {\n aborted: false,\n rangeRequested: false,\n timingAllowPassed: false,\n requestIncludesCredentials: false,\n type: 'default',\n status: 200,\n timingInfo: null,\n cacheState: '',\n statusText: '',\n ...init,\n headersList: init?.headersList\n ? new HeadersList(init?.headersList)\n : new HeadersList(),\n urlList: init?.urlList ? [...init.urlList] : []\n }\n}\n\nfunction makeNetworkError (reason) {\n const isError = isErrorLike(reason)\n return makeResponse({\n type: 'error',\n status: 0,\n error: isError\n ? reason\n : new Error(reason ? String(reason) : reason),\n aborted: reason && reason.name === 'AbortError'\n })\n}\n\n// @see https://fetch.spec.whatwg.org/#concept-network-error\nfunction isNetworkError (response) {\n return (\n // A network error is a response whose type is \"error\",\n response.type === 'error' &&\n // status is 0\n response.status === 0\n )\n}\n\nfunction makeFilteredResponse (response, state) {\n state = {\n internalResponse: response,\n ...state\n }\n\n return new Proxy(response, {\n get (target, p) {\n return p in state ? state[p] : target[p]\n },\n set (target, p, value) {\n assert(!(p in state))\n target[p] = value\n return true\n }\n })\n}\n\n// https://fetch.spec.whatwg.org/#concept-filtered-response\nfunction filterResponse (response, type) {\n // Set response to the following filtered response with response as its\n // internal response, depending on request\u2019s response tainting:\n if (type === 'basic') {\n // A basic filtered response is a filtered response whose type is \"basic\"\n // and header list excludes any headers in internal response\u2019s header list\n // whose name is a forbidden response-header name.\n\n // Note: undici does not implement forbidden response-header names\n return makeFilteredResponse(response, {\n type: 'basic',\n headersList: response.headersList\n })\n } else if (type === 'cors') {\n // A CORS filtered response is a filtered response whose type is \"cors\"\n // and header list excludes any headers in internal response\u2019s header\n // list whose name is not a CORS-safelisted response-header name, given\n // internal response\u2019s CORS-exposed header-name list.\n\n // Note: undici does not implement CORS-safelisted response-header names\n return makeFilteredResponse(response, {\n type: 'cors',\n headersList: response.headersList\n })\n } else if (type === 'opaque') {\n // An opaque filtered response is a filtered response whose type is\n // \"opaque\", URL list is the empty list, status is 0, status message\n // is the empty byte sequence, header list is empty, and body is null.\n\n return makeFilteredResponse(response, {\n type: 'opaque',\n urlList: Object.freeze([]),\n status: 0,\n statusText: '',\n body: null\n })\n } else if (type === 'opaqueredirect') {\n // An opaque-redirect filtered response is a filtered response whose type\n // is \"opaqueredirect\", status is 0, status message is the empty byte\n // sequence, header list is empty, and body is null.\n\n return makeFilteredResponse(response, {\n type: 'opaqueredirect',\n status: 0,\n statusText: '',\n headersList: [],\n body: null\n })\n } else {\n assert(false)\n }\n}\n\n// https://fetch.spec.whatwg.org/#appropriate-network-error\nfunction makeAppropriateNetworkError (fetchParams, err = null) {\n // 1. Assert: fetchParams is canceled.\n assert(isCancelled(fetchParams))\n\n // 2. Return an aborted network error if fetchParams is aborted;\n // otherwise return a network error.\n return isAborted(fetchParams)\n ? makeNetworkError(Object.assign(new DOMException('The operation was aborted.', 'AbortError'), { cause: err }))\n : makeNetworkError(Object.assign(new DOMException('Request was cancelled.'), { cause: err }))\n}\n\n// https://whatpr.org/fetch/1392.html#initialize-a-response\nfunction initializeResponse (response, init, body) {\n // 1. If init[\"status\"] is not in the range 200 to 599, inclusive, then\n // throw a RangeError.\n if (init.status !== null && (init.status < 200 || init.status > 599)) {\n throw new RangeError('init[\"status\"] must be in the range of 200 to 599, inclusive.')\n }\n\n // 2. If init[\"statusText\"] does not match the reason-phrase token production,\n // then throw a TypeError.\n if ('statusText' in init && init.statusText != null) {\n // See, https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2:\n // reason-phrase = *( HTAB / SP / VCHAR / obs-text )\n if (!isValidReasonPhrase(String(init.statusText))) {\n throw new TypeError('Invalid statusText')\n }\n }\n\n // 3. Set response\u2019s response\u2019s status to init[\"status\"].\n if ('status' in init && init.status != null) {\n response[kState].status = init.status\n }\n\n // 4. Set response\u2019s response\u2019s status message to init[\"statusText\"].\n if ('statusText' in init && init.statusText != null) {\n response[kState].statusText = init.statusText\n }\n\n // 5. If init[\"headers\"] exists, then fill response\u2019s headers with init[\"headers\"].\n if ('headers' in init && init.headers != null) {\n fill(response[kHeaders], init.headers)\n }\n\n // 6. If body was given, then:\n if (body) {\n // 1. If response's status is a null body status, then throw a TypeError.\n if (nullBodyStatus.includes(response.status)) {\n throw webidl.errors.exception({\n header: 'Response constructor',\n message: `Invalid response status code ${response.status}`\n })\n }\n\n // 2. Set response's body to body's body.\n response[kState].body = body.body\n\n // 3. If body's type is non-null and response's header list does not contain\n // `Content-Type`, then append (`Content-Type`, body's type) to response's header list.\n if (body.type != null && !response[kState].headersList.contains('content-type', true)) {\n response[kState].headersList.append('content-type', body.type, true)\n }\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#response-create\n * @param {any} innerResponse\n * @param {'request' | 'immutable' | 'request-no-cors' | 'response' | 'none'} guard\n * @returns {Response}\n */\nfunction fromInnerResponse (innerResponse, guard) {\n const response = new Response(kConstruct)\n response[kState] = innerResponse\n response[kHeaders] = new Headers(kConstruct)\n setHeadersList(response[kHeaders], innerResponse.headersList)\n setHeadersGuard(response[kHeaders], guard)\n\n if (hasFinalizationRegistry && innerResponse.body?.stream) {\n // If the target (response) is reclaimed, the cleanup callback may be called at some point with\n // the held value provided for it (innerResponse.body.stream). The held value can be any value:\n // a primitive or an object, even undefined. If the held value is an object, the registry keeps\n // a strong reference to it (so it can pass it to the cleanup callback later). Reworded from\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry\n streamRegistry.register(response, new WeakRef(innerResponse.body.stream))\n }\n\n return response\n}\n\nwebidl.converters.ReadableStream = webidl.interfaceConverter(\n ReadableStream\n)\n\nwebidl.converters.FormData = webidl.interfaceConverter(\n FormData\n)\n\nwebidl.converters.URLSearchParams = webidl.interfaceConverter(\n URLSearchParams\n)\n\n// https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit\nwebidl.converters.XMLHttpRequestBodyInit = function (V, prefix, name) {\n if (typeof V === 'string') {\n return webidl.converters.USVString(V, prefix, name)\n }\n\n if (isBlobLike(V)) {\n return webidl.converters.Blob(V, prefix, name, { strict: false })\n }\n\n if (ArrayBuffer.isView(V) || types.isArrayBuffer(V)) {\n return webidl.converters.BufferSource(V, prefix, name)\n }\n\n if (util.isFormDataLike(V)) {\n return webidl.converters.FormData(V, prefix, name, { strict: false })\n }\n\n if (V instanceof URLSearchParams) {\n return webidl.converters.URLSearchParams(V, prefix, name)\n }\n\n return webidl.converters.DOMString(V, prefix, name)\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit\nwebidl.converters.BodyInit = function (V, prefix, argument) {\n if (V instanceof ReadableStream) {\n return webidl.converters.ReadableStream(V, prefix, argument)\n }\n\n // Note: the spec doesn't include async iterables,\n // this is an undici extension.\n if (V?.[Symbol.asyncIterator]) {\n return V\n }\n\n return webidl.converters.XMLHttpRequestBodyInit(V, prefix, argument)\n}\n\nwebidl.converters.ResponseInit = webidl.dictionaryConverter([\n {\n key: 'status',\n converter: webidl.converters['unsigned short'],\n defaultValue: () => 200\n },\n {\n key: 'statusText',\n converter: webidl.converters.ByteString,\n defaultValue: () => ''\n },\n {\n key: 'headers',\n converter: webidl.converters.HeadersInit\n }\n])\n\nmodule.exports = {\n isNetworkError,\n makeNetworkError,\n makeResponse,\n makeAppropriateNetworkError,\n filterResponse,\n Response,\n cloneResponse,\n fromInnerResponse\n}\n", "'use strict'\n\nconst { kConnected, kSize } = require('../../core/symbols')\n\nclass CompatWeakRef {\n constructor (value) {\n this.value = value\n }\n\n deref () {\n return this.value[kConnected] === 0 && this.value[kSize] === 0\n ? undefined\n : this.value\n }\n}\n\nclass CompatFinalizer {\n constructor (finalizer) {\n this.finalizer = finalizer\n }\n\n register (dispatcher, key) {\n if (dispatcher.on) {\n dispatcher.on('disconnect', () => {\n if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) {\n this.finalizer(key)\n }\n })\n }\n }\n\n unregister (key) {}\n}\n\nmodule.exports = function () {\n // FIXME: remove workaround when the Node bug is backported to v18\n // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\n if (process.env.NODE_V8_COVERAGE && process.version.startsWith('v18')) {\n process._rawDebug('Using compatibility WeakRef and FinalizationRegistry')\n return {\n WeakRef: CompatWeakRef,\n FinalizationRegistry: CompatFinalizer\n }\n }\n return { WeakRef, FinalizationRegistry }\n}\n", "/* globals AbortController */\n\n'use strict'\n\nconst { extractBody, mixinBody, cloneBody, bodyUnusable } = require('./body')\nconst { Headers, fill: fillHeaders, HeadersList, setHeadersGuard, getHeadersGuard, setHeadersList, getHeadersList } = require('./headers')\nconst { FinalizationRegistry } = require('./dispatcher-weakref')()\nconst util = require('../../core/util')\nconst nodeUtil = require('node:util')\nconst {\n isValidHTTPToken,\n sameOrigin,\n environmentSettingsObject\n} = require('./util')\nconst {\n forbiddenMethodsSet,\n corsSafeListedMethodsSet,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n requestDuplex\n} = require('./constants')\nconst { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util\nconst { kHeaders, kSignal, kState, kDispatcher } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { URLSerializer } = require('./data-url')\nconst { kConstruct } = require('../../core/symbols')\nconst assert = require('node:assert')\nconst { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require('node:events')\n\nconst kAbortController = Symbol('abortController')\n\nconst requestFinalizer = new FinalizationRegistry(({ signal, abort }) => {\n signal.removeEventListener('abort', abort)\n})\n\nconst dependentControllerMap = new WeakMap()\n\nfunction buildAbort (acRef) {\n return abort\n\n function abort () {\n const ac = acRef.deref()\n if (ac !== undefined) {\n // Currently, there is a problem with FinalizationRegistry.\n // https://github.com/nodejs/node/issues/49344\n // https://github.com/nodejs/node/issues/47748\n // In the case of abort, the first step is to unregister from it.\n // If the controller can refer to it, it is still registered.\n // It will be removed in the future.\n requestFinalizer.unregister(abort)\n\n // Unsubscribe a listener.\n // FinalizationRegistry will no longer be called, so this must be done.\n this.removeEventListener('abort', abort)\n\n ac.abort(this.reason)\n\n const controllerList = dependentControllerMap.get(ac.signal)\n\n if (controllerList !== undefined) {\n if (controllerList.size !== 0) {\n for (const ref of controllerList) {\n const ctrl = ref.deref()\n if (ctrl !== undefined) {\n ctrl.abort(this.reason)\n }\n }\n controllerList.clear()\n }\n dependentControllerMap.delete(ac.signal)\n }\n }\n }\n}\n\nlet patchMethodWarning = false\n\n// https://fetch.spec.whatwg.org/#request-class\nclass Request {\n // https://fetch.spec.whatwg.org/#dom-request\n constructor (input, init = {}) {\n webidl.util.markAsUncloneable(this)\n if (input === kConstruct) {\n return\n }\n\n const prefix = 'Request constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n input = webidl.converters.RequestInfo(input, prefix, 'input')\n init = webidl.converters.RequestInit(init, prefix, 'init')\n\n // 1. Let request be null.\n let request = null\n\n // 2. Let fallbackMode be null.\n let fallbackMode = null\n\n // 3. Let baseURL be this\u2019s relevant settings object\u2019s API base URL.\n const baseUrl = environmentSettingsObject.settingsObject.baseUrl\n\n // 4. Let signal be null.\n let signal = null\n\n // 5. If input is a string, then:\n if (typeof input === 'string') {\n this[kDispatcher] = init.dispatcher\n\n // 1. Let parsedURL be the result of parsing input with baseURL.\n // 2. If parsedURL is failure, then throw a TypeError.\n let parsedURL\n try {\n parsedURL = new URL(input, baseUrl)\n } catch (err) {\n throw new TypeError('Failed to parse URL from ' + input, { cause: err })\n }\n\n // 3. If parsedURL includes credentials, then throw a TypeError.\n if (parsedURL.username || parsedURL.password) {\n throw new TypeError(\n 'Request cannot be constructed from a URL that includes credentials: ' +\n input\n )\n }\n\n // 4. Set request to a new request whose URL is parsedURL.\n request = makeRequest({ urlList: [parsedURL] })\n\n // 5. Set fallbackMode to \"cors\".\n fallbackMode = 'cors'\n } else {\n this[kDispatcher] = init.dispatcher || input[kDispatcher]\n\n // 6. Otherwise:\n\n // 7. Assert: input is a Request object.\n assert(input instanceof Request)\n\n // 8. Set request to input\u2019s request.\n request = input[kState]\n\n // 9. Set signal to input\u2019s signal.\n signal = input[kSignal]\n }\n\n // 7. Let origin be this\u2019s relevant settings object\u2019s origin.\n const origin = environmentSettingsObject.settingsObject.origin\n\n // 8. Let window be \"client\".\n let window = 'client'\n\n // 9. If request\u2019s window is an environment settings object and its origin\n // is same origin with origin, then set window to request\u2019s window.\n if (\n request.window?.constructor?.name === 'EnvironmentSettingsObject' &&\n sameOrigin(request.window, origin)\n ) {\n window = request.window\n }\n\n // 10. If init[\"window\"] exists and is non-null, then throw a TypeError.\n if (init.window != null) {\n throw new TypeError(`'window' option '${window}' must be null`)\n }\n\n // 11. If init[\"window\"] exists, then set window to \"no-window\".\n if ('window' in init) {\n window = 'no-window'\n }\n\n // 12. Set request to a new request with the following properties:\n request = makeRequest({\n // URL request\u2019s URL.\n // undici implementation note: this is set as the first item in request's urlList in makeRequest\n // method request\u2019s method.\n method: request.method,\n // header list A copy of request\u2019s header list.\n // undici implementation note: headersList is cloned in makeRequest\n headersList: request.headersList,\n // unsafe-request flag Set.\n unsafeRequest: request.unsafeRequest,\n // client This\u2019s relevant settings object.\n client: environmentSettingsObject.settingsObject,\n // window window.\n window,\n // priority request\u2019s priority.\n priority: request.priority,\n // origin request\u2019s origin. The propagation of the origin is only significant for navigation requests\n // being handled by a service worker. In this scenario a request can have an origin that is different\n // from the current client.\n origin: request.origin,\n // referrer request\u2019s referrer.\n referrer: request.referrer,\n // referrer policy request\u2019s referrer policy.\n referrerPolicy: request.referrerPolicy,\n // mode request\u2019s mode.\n mode: request.mode,\n // credentials mode request\u2019s credentials mode.\n credentials: request.credentials,\n // cache mode request\u2019s cache mode.\n cache: request.cache,\n // redirect mode request\u2019s redirect mode.\n redirect: request.redirect,\n // integrity metadata request\u2019s integrity metadata.\n integrity: request.integrity,\n // keepalive request\u2019s keepalive.\n keepalive: request.keepalive,\n // reload-navigation flag request\u2019s reload-navigation flag.\n reloadNavigation: request.reloadNavigation,\n // history-navigation flag request\u2019s history-navigation flag.\n historyNavigation: request.historyNavigation,\n // URL list A clone of request\u2019s URL list.\n urlList: [...request.urlList]\n })\n\n const initHasKey = Object.keys(init).length !== 0\n\n // 13. If init is not empty, then:\n if (initHasKey) {\n // 1. If request\u2019s mode is \"navigate\", then set it to \"same-origin\".\n if (request.mode === 'navigate') {\n request.mode = 'same-origin'\n }\n\n // 2. Unset request\u2019s reload-navigation flag.\n request.reloadNavigation = false\n\n // 3. Unset request\u2019s history-navigation flag.\n request.historyNavigation = false\n\n // 4. Set request\u2019s origin to \"client\".\n request.origin = 'client'\n\n // 5. Set request\u2019s referrer to \"client\"\n request.referrer = 'client'\n\n // 6. Set request\u2019s referrer policy to the empty string.\n request.referrerPolicy = ''\n\n // 7. Set request\u2019s URL to request\u2019s current URL.\n request.url = request.urlList[request.urlList.length - 1]\n\n // 8. Set request\u2019s URL list to \u00AB request\u2019s URL \u00BB.\n request.urlList = [request.url]\n }\n\n // 14. If init[\"referrer\"] exists, then:\n if (init.referrer !== undefined) {\n // 1. Let referrer be init[\"referrer\"].\n const referrer = init.referrer\n\n // 2. If referrer is the empty string, then set request\u2019s referrer to \"no-referrer\".\n if (referrer === '') {\n request.referrer = 'no-referrer'\n } else {\n // 1. Let parsedReferrer be the result of parsing referrer with\n // baseURL.\n // 2. If parsedReferrer is failure, then throw a TypeError.\n let parsedReferrer\n try {\n parsedReferrer = new URL(referrer, baseUrl)\n } catch (err) {\n throw new TypeError(`Referrer \"${referrer}\" is not a valid URL.`, { cause: err })\n }\n\n // 3. If one of the following is true\n // - parsedReferrer\u2019s scheme is \"about\" and path is the string \"client\"\n // - parsedReferrer\u2019s origin is not same origin with origin\n // then set request\u2019s referrer to \"client\".\n if (\n (parsedReferrer.protocol === 'about:' && parsedReferrer.hostname === 'client') ||\n (origin && !sameOrigin(parsedReferrer, environmentSettingsObject.settingsObject.baseUrl))\n ) {\n request.referrer = 'client'\n } else {\n // 4. Otherwise, set request\u2019s referrer to parsedReferrer.\n request.referrer = parsedReferrer\n }\n }\n }\n\n // 15. If init[\"referrerPolicy\"] exists, then set request\u2019s referrer policy\n // to it.\n if (init.referrerPolicy !== undefined) {\n request.referrerPolicy = init.referrerPolicy\n }\n\n // 16. Let mode be init[\"mode\"] if it exists, and fallbackMode otherwise.\n let mode\n if (init.mode !== undefined) {\n mode = init.mode\n } else {\n mode = fallbackMode\n }\n\n // 17. If mode is \"navigate\", then throw a TypeError.\n if (mode === 'navigate') {\n throw webidl.errors.exception({\n header: 'Request constructor',\n message: 'invalid request mode navigate.'\n })\n }\n\n // 18. If mode is non-null, set request\u2019s mode to mode.\n if (mode != null) {\n request.mode = mode\n }\n\n // 19. If init[\"credentials\"] exists, then set request\u2019s credentials mode\n // to it.\n if (init.credentials !== undefined) {\n request.credentials = init.credentials\n }\n\n // 18. If init[\"cache\"] exists, then set request\u2019s cache mode to it.\n if (init.cache !== undefined) {\n request.cache = init.cache\n }\n\n // 21. If request\u2019s cache mode is \"only-if-cached\" and request\u2019s mode is\n // not \"same-origin\", then throw a TypeError.\n if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') {\n throw new TypeError(\n \"'only-if-cached' can be set only with 'same-origin' mode\"\n )\n }\n\n // 22. If init[\"redirect\"] exists, then set request\u2019s redirect mode to it.\n if (init.redirect !== undefined) {\n request.redirect = init.redirect\n }\n\n // 23. If init[\"integrity\"] exists, then set request\u2019s integrity metadata to it.\n if (init.integrity != null) {\n request.integrity = String(init.integrity)\n }\n\n // 24. If init[\"keepalive\"] exists, then set request\u2019s keepalive to it.\n if (init.keepalive !== undefined) {\n request.keepalive = Boolean(init.keepalive)\n }\n\n // 25. If init[\"method\"] exists, then:\n if (init.method !== undefined) {\n // 1. Let method be init[\"method\"].\n let method = init.method\n\n const mayBeNormalized = normalizedMethodRecords[method]\n\n if (mayBeNormalized !== undefined) {\n // Note: Bypass validation DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH and these lowercase ones\n request.method = mayBeNormalized\n } else {\n // 2. If method is not a method or method is a forbidden method, then\n // throw a TypeError.\n if (!isValidHTTPToken(method)) {\n throw new TypeError(`'${method}' is not a valid HTTP method.`)\n }\n\n const upperCase = method.toUpperCase()\n\n if (forbiddenMethodsSet.has(upperCase)) {\n throw new TypeError(`'${method}' HTTP method is unsupported.`)\n }\n\n // 3. Normalize method.\n // https://fetch.spec.whatwg.org/#concept-method-normalize\n // Note: must be in uppercase\n method = normalizedMethodRecordsBase[upperCase] ?? method\n\n // 4. Set request\u2019s method to method.\n request.method = method\n }\n\n if (!patchMethodWarning && request.method === 'patch') {\n process.emitWarning('Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.', {\n code: 'UNDICI-FETCH-patch'\n })\n\n patchMethodWarning = true\n }\n }\n\n // 26. If init[\"signal\"] exists, then set signal to it.\n if (init.signal !== undefined) {\n signal = init.signal\n }\n\n // 27. Set this\u2019s request to request.\n this[kState] = request\n\n // 28. Set this\u2019s signal to a new AbortSignal object with this\u2019s relevant\n // Realm.\n // TODO: could this be simplified with AbortSignal.any\n // (https://dom.spec.whatwg.org/#dom-abortsignal-any)\n const ac = new AbortController()\n this[kSignal] = ac.signal\n\n // 29. If signal is not null, then make this\u2019s signal follow signal.\n if (signal != null) {\n if (\n !signal ||\n typeof signal.aborted !== 'boolean' ||\n typeof signal.addEventListener !== 'function'\n ) {\n throw new TypeError(\n \"Failed to construct 'Request': member signal is not of type AbortSignal.\"\n )\n }\n\n if (signal.aborted) {\n ac.abort(signal.reason)\n } else {\n // Keep a strong ref to ac while request object\n // is alive. This is needed to prevent AbortController\n // from being prematurely garbage collected.\n // See, https://github.com/nodejs/undici/issues/1926.\n this[kAbortController] = ac\n\n const acRef = new WeakRef(ac)\n const abort = buildAbort(acRef)\n\n // Third-party AbortControllers may not work with these.\n // See, https://github.com/nodejs/undici/pull/1910#issuecomment-1464495619.\n try {\n // If the max amount of listeners is equal to the default, increase it\n // This is only available in node >= v19.9.0\n if (typeof getMaxListeners === 'function' && getMaxListeners(signal) === defaultMaxListeners) {\n setMaxListeners(1500, signal)\n } else if (getEventListeners(signal, 'abort').length >= defaultMaxListeners) {\n setMaxListeners(1500, signal)\n }\n } catch {}\n\n util.addAbortListener(signal, abort)\n // The third argument must be a registry key to be unregistered.\n // Without it, you cannot unregister.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry\n // abort is used as the unregister key. (because it is unique)\n requestFinalizer.register(ac, { signal, abort }, abort)\n }\n }\n\n // 30. Set this\u2019s headers to a new Headers object with this\u2019s relevant\n // Realm, whose header list is request\u2019s header list and guard is\n // \"request\".\n this[kHeaders] = new Headers(kConstruct)\n setHeadersList(this[kHeaders], request.headersList)\n setHeadersGuard(this[kHeaders], 'request')\n\n // 31. If this\u2019s request\u2019s mode is \"no-cors\", then:\n if (mode === 'no-cors') {\n // 1. If this\u2019s request\u2019s method is not a CORS-safelisted method,\n // then throw a TypeError.\n if (!corsSafeListedMethodsSet.has(request.method)) {\n throw new TypeError(\n `'${request.method} is unsupported in no-cors mode.`\n )\n }\n\n // 2. Set this\u2019s headers\u2019s guard to \"request-no-cors\".\n setHeadersGuard(this[kHeaders], 'request-no-cors')\n }\n\n // 32. If init is not empty, then:\n if (initHasKey) {\n /** @type {HeadersList} */\n const headersList = getHeadersList(this[kHeaders])\n // 1. Let headers be a copy of this\u2019s headers and its associated header\n // list.\n // 2. If init[\"headers\"] exists, then set headers to init[\"headers\"].\n const headers = init.headers !== undefined ? init.headers : new HeadersList(headersList)\n\n // 3. Empty this\u2019s headers\u2019s header list.\n headersList.clear()\n\n // 4. If headers is a Headers object, then for each header in its header\n // list, append header\u2019s name/header\u2019s value to this\u2019s headers.\n if (headers instanceof HeadersList) {\n for (const { name, value } of headers.rawValues()) {\n headersList.append(name, value, false)\n }\n // Note: Copy the `set-cookie` meta-data.\n headersList.cookies = headers.cookies\n } else {\n // 5. Otherwise, fill this\u2019s headers with headers.\n fillHeaders(this[kHeaders], headers)\n }\n }\n\n // 33. Let inputBody be input\u2019s request\u2019s body if input is a Request\n // object; otherwise null.\n const inputBody = input instanceof Request ? input[kState].body : null\n\n // 34. If either init[\"body\"] exists and is non-null or inputBody is\n // non-null, and request\u2019s method is `GET` or `HEAD`, then throw a\n // TypeError.\n if (\n (init.body != null || inputBody != null) &&\n (request.method === 'GET' || request.method === 'HEAD')\n ) {\n throw new TypeError('Request with GET/HEAD method cannot have body.')\n }\n\n // 35. Let initBody be null.\n let initBody = null\n\n // 36. If init[\"body\"] exists and is non-null, then:\n if (init.body != null) {\n // 1. Let Content-Type be null.\n // 2. Set initBody and Content-Type to the result of extracting\n // init[\"body\"], with keepalive set to request\u2019s keepalive.\n const [extractedBody, contentType] = extractBody(\n init.body,\n request.keepalive\n )\n initBody = extractedBody\n\n // 3, If Content-Type is non-null and this\u2019s headers\u2019s header list does\n // not contain `Content-Type`, then append `Content-Type`/Content-Type to\n // this\u2019s headers.\n if (contentType && !getHeadersList(this[kHeaders]).contains('content-type', true)) {\n this[kHeaders].append('content-type', contentType)\n }\n }\n\n // 37. Let inputOrInitBody be initBody if it is non-null; otherwise\n // inputBody.\n const inputOrInitBody = initBody ?? inputBody\n\n // 38. If inputOrInitBody is non-null and inputOrInitBody\u2019s source is\n // null, then:\n if (inputOrInitBody != null && inputOrInitBody.source == null) {\n // 1. If initBody is non-null and init[\"duplex\"] does not exist,\n // then throw a TypeError.\n if (initBody != null && init.duplex == null) {\n throw new TypeError('RequestInit: duplex option is required when sending a body.')\n }\n\n // 2. If this\u2019s request\u2019s mode is neither \"same-origin\" nor \"cors\",\n // then throw a TypeError.\n if (request.mode !== 'same-origin' && request.mode !== 'cors') {\n throw new TypeError(\n 'If request is made from ReadableStream, mode should be \"same-origin\" or \"cors\"'\n )\n }\n\n // 3. Set this\u2019s request\u2019s use-CORS-preflight flag.\n request.useCORSPreflightFlag = true\n }\n\n // 39. Let finalBody be inputOrInitBody.\n let finalBody = inputOrInitBody\n\n // 40. If initBody is null and inputBody is non-null, then:\n if (initBody == null && inputBody != null) {\n // 1. If input is unusable, then throw a TypeError.\n if (bodyUnusable(input)) {\n throw new TypeError(\n 'Cannot construct a Request with a Request object that has already been used.'\n )\n }\n\n // 2. Set finalBody to the result of creating a proxy for inputBody.\n // https://streams.spec.whatwg.org/#readablestream-create-a-proxy\n const identityTransform = new TransformStream()\n inputBody.stream.pipeThrough(identityTransform)\n finalBody = {\n source: inputBody.source,\n length: inputBody.length,\n stream: identityTransform.readable\n }\n }\n\n // 41. Set this\u2019s request\u2019s body to finalBody.\n this[kState].body = finalBody\n }\n\n // Returns request\u2019s HTTP method, which is \"GET\" by default.\n get method () {\n webidl.brandCheck(this, Request)\n\n // The method getter steps are to return this\u2019s request\u2019s method.\n return this[kState].method\n }\n\n // Returns the URL of request as a string.\n get url () {\n webidl.brandCheck(this, Request)\n\n // The url getter steps are to return this\u2019s request\u2019s URL, serialized.\n return URLSerializer(this[kState].url)\n }\n\n // Returns a Headers object consisting of the headers associated with request.\n // Note that headers added in the network layer by the user agent will not\n // be accounted for in this object, e.g., the \"Host\" header.\n get headers () {\n webidl.brandCheck(this, Request)\n\n // The headers getter steps are to return this\u2019s headers.\n return this[kHeaders]\n }\n\n // Returns the kind of resource requested by request, e.g., \"document\"\n // or \"script\".\n get destination () {\n webidl.brandCheck(this, Request)\n\n // The destination getter are to return this\u2019s request\u2019s destination.\n return this[kState].destination\n }\n\n // Returns the referrer of request. Its value can be a same-origin URL if\n // explicitly set in init, the empty string to indicate no referrer, and\n // \"about:client\" when defaulting to the global\u2019s default. This is used\n // during fetching to determine the value of the `Referer` header of the\n // request being made.\n get referrer () {\n webidl.brandCheck(this, Request)\n\n // 1. If this\u2019s request\u2019s referrer is \"no-referrer\", then return the\n // empty string.\n if (this[kState].referrer === 'no-referrer') {\n return ''\n }\n\n // 2. If this\u2019s request\u2019s referrer is \"client\", then return\n // \"about:client\".\n if (this[kState].referrer === 'client') {\n return 'about:client'\n }\n\n // Return this\u2019s request\u2019s referrer, serialized.\n return this[kState].referrer.toString()\n }\n\n // Returns the referrer policy associated with request.\n // This is used during fetching to compute the value of the request\u2019s\n // referrer.\n get referrerPolicy () {\n webidl.brandCheck(this, Request)\n\n // The referrerPolicy getter steps are to return this\u2019s request\u2019s referrer policy.\n return this[kState].referrerPolicy\n }\n\n // Returns the mode associated with request, which is a string indicating\n // whether the request will use CORS, or will be restricted to same-origin\n // URLs.\n get mode () {\n webidl.brandCheck(this, Request)\n\n // The mode getter steps are to return this\u2019s request\u2019s mode.\n return this[kState].mode\n }\n\n // Returns the credentials mode associated with request,\n // which is a string indicating whether credentials will be sent with the\n // request always, never, or only when sent to a same-origin URL.\n get credentials () {\n // The credentials getter steps are to return this\u2019s request\u2019s credentials mode.\n return this[kState].credentials\n }\n\n // Returns the cache mode associated with request,\n // which is a string indicating how the request will\n // interact with the browser\u2019s cache when fetching.\n get cache () {\n webidl.brandCheck(this, Request)\n\n // The cache getter steps are to return this\u2019s request\u2019s cache mode.\n return this[kState].cache\n }\n\n // Returns the redirect mode associated with request,\n // which is a string indicating how redirects for the\n // request will be handled during fetching. A request\n // will follow redirects by default.\n get redirect () {\n webidl.brandCheck(this, Request)\n\n // The redirect getter steps are to return this\u2019s request\u2019s redirect mode.\n return this[kState].redirect\n }\n\n // Returns request\u2019s subresource integrity metadata, which is a\n // cryptographic hash of the resource being fetched. Its value\n // consists of multiple hashes separated by whitespace. [SRI]\n get integrity () {\n webidl.brandCheck(this, Request)\n\n // The integrity getter steps are to return this\u2019s request\u2019s integrity\n // metadata.\n return this[kState].integrity\n }\n\n // Returns a boolean indicating whether or not request can outlive the\n // global in which it was created.\n get keepalive () {\n webidl.brandCheck(this, Request)\n\n // The keepalive getter steps are to return this\u2019s request\u2019s keepalive.\n return this[kState].keepalive\n }\n\n // Returns a boolean indicating whether or not request is for a reload\n // navigation.\n get isReloadNavigation () {\n webidl.brandCheck(this, Request)\n\n // The isReloadNavigation getter steps are to return true if this\u2019s\n // request\u2019s reload-navigation flag is set; otherwise false.\n return this[kState].reloadNavigation\n }\n\n // Returns a boolean indicating whether or not request is for a history\n // navigation (a.k.a. back-forward navigation).\n get isHistoryNavigation () {\n webidl.brandCheck(this, Request)\n\n // The isHistoryNavigation getter steps are to return true if this\u2019s request\u2019s\n // history-navigation flag is set; otherwise false.\n return this[kState].historyNavigation\n }\n\n // Returns the signal associated with request, which is an AbortSignal\n // object indicating whether or not request has been aborted, and its\n // abort event handler.\n get signal () {\n webidl.brandCheck(this, Request)\n\n // The signal getter steps are to return this\u2019s signal.\n return this[kSignal]\n }\n\n get body () {\n webidl.brandCheck(this, Request)\n\n return this[kState].body ? this[kState].body.stream : null\n }\n\n get bodyUsed () {\n webidl.brandCheck(this, Request)\n\n return !!this[kState].body && util.isDisturbed(this[kState].body.stream)\n }\n\n get duplex () {\n webidl.brandCheck(this, Request)\n\n return 'half'\n }\n\n // Returns a clone of request.\n clone () {\n webidl.brandCheck(this, Request)\n\n // 1. If this is unusable, then throw a TypeError.\n if (bodyUnusable(this)) {\n throw new TypeError('unusable')\n }\n\n // 2. Let clonedRequest be the result of cloning this\u2019s request.\n const clonedRequest = cloneRequest(this[kState])\n\n // 3. Let clonedRequestObject be the result of creating a Request object,\n // given clonedRequest, this\u2019s headers\u2019s guard, and this\u2019s relevant Realm.\n // 4. Make clonedRequestObject\u2019s signal follow this\u2019s signal.\n const ac = new AbortController()\n if (this.signal.aborted) {\n ac.abort(this.signal.reason)\n } else {\n let list = dependentControllerMap.get(this.signal)\n if (list === undefined) {\n list = new Set()\n dependentControllerMap.set(this.signal, list)\n }\n const acRef = new WeakRef(ac)\n list.add(acRef)\n util.addAbortListener(\n ac.signal,\n buildAbort(acRef)\n )\n }\n\n // 4. Return clonedRequestObject.\n return fromInnerRequest(clonedRequest, ac.signal, getHeadersGuard(this[kHeaders]))\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n if (options.depth === null) {\n options.depth = 2\n }\n\n options.colors ??= true\n\n const properties = {\n method: this.method,\n url: this.url,\n headers: this.headers,\n destination: this.destination,\n referrer: this.referrer,\n referrerPolicy: this.referrerPolicy,\n mode: this.mode,\n credentials: this.credentials,\n cache: this.cache,\n redirect: this.redirect,\n integrity: this.integrity,\n keepalive: this.keepalive,\n isReloadNavigation: this.isReloadNavigation,\n isHistoryNavigation: this.isHistoryNavigation,\n signal: this.signal\n }\n\n return `Request ${nodeUtil.formatWithOptions(options, properties)}`\n }\n}\n\nmixinBody(Request)\n\n// https://fetch.spec.whatwg.org/#requests\nfunction makeRequest (init) {\n return {\n method: init.method ?? 'GET',\n localURLsOnly: init.localURLsOnly ?? false,\n unsafeRequest: init.unsafeRequest ?? false,\n body: init.body ?? null,\n client: init.client ?? null,\n reservedClient: init.reservedClient ?? null,\n replacesClientId: init.replacesClientId ?? '',\n window: init.window ?? 'client',\n keepalive: init.keepalive ?? false,\n serviceWorkers: init.serviceWorkers ?? 'all',\n initiator: init.initiator ?? '',\n destination: init.destination ?? '',\n priority: init.priority ?? null,\n origin: init.origin ?? 'client',\n policyContainer: init.policyContainer ?? 'client',\n referrer: init.referrer ?? 'client',\n referrerPolicy: init.referrerPolicy ?? '',\n mode: init.mode ?? 'no-cors',\n useCORSPreflightFlag: init.useCORSPreflightFlag ?? false,\n credentials: init.credentials ?? 'same-origin',\n useCredentials: init.useCredentials ?? false,\n cache: init.cache ?? 'default',\n redirect: init.redirect ?? 'follow',\n integrity: init.integrity ?? '',\n cryptoGraphicsNonceMetadata: init.cryptoGraphicsNonceMetadata ?? '',\n parserMetadata: init.parserMetadata ?? '',\n reloadNavigation: init.reloadNavigation ?? false,\n historyNavigation: init.historyNavigation ?? false,\n userActivation: init.userActivation ?? false,\n taintedOrigin: init.taintedOrigin ?? false,\n redirectCount: init.redirectCount ?? 0,\n responseTainting: init.responseTainting ?? 'basic',\n preventNoCacheCacheControlHeaderModification: init.preventNoCacheCacheControlHeaderModification ?? false,\n done: init.done ?? false,\n timingAllowFailed: init.timingAllowFailed ?? false,\n urlList: init.urlList,\n url: init.urlList[0],\n headersList: init.headersList\n ? new HeadersList(init.headersList)\n : new HeadersList()\n }\n}\n\n// https://fetch.spec.whatwg.org/#concept-request-clone\nfunction cloneRequest (request) {\n // To clone a request request, run these steps:\n\n // 1. Let newRequest be a copy of request, except for its body.\n const newRequest = makeRequest({ ...request, body: null })\n\n // 2. If request\u2019s body is non-null, set newRequest\u2019s body to the\n // result of cloning request\u2019s body.\n if (request.body != null) {\n newRequest.body = cloneBody(newRequest, request.body)\n }\n\n // 3. Return newRequest.\n return newRequest\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#request-create\n * @param {any} innerRequest\n * @param {AbortSignal} signal\n * @param {'request' | 'immutable' | 'request-no-cors' | 'response' | 'none'} guard\n * @returns {Request}\n */\nfunction fromInnerRequest (innerRequest, signal, guard) {\n const request = new Request(kConstruct)\n request[kState] = innerRequest\n request[kSignal] = signal\n request[kHeaders] = new Headers(kConstruct)\n setHeadersList(request[kHeaders], innerRequest.headersList)\n setHeadersGuard(request[kHeaders], guard)\n return request\n}\n\nObject.defineProperties(Request.prototype, {\n method: kEnumerableProperty,\n url: kEnumerableProperty,\n headers: kEnumerableProperty,\n redirect: kEnumerableProperty,\n clone: kEnumerableProperty,\n signal: kEnumerableProperty,\n duplex: kEnumerableProperty,\n destination: kEnumerableProperty,\n body: kEnumerableProperty,\n bodyUsed: kEnumerableProperty,\n isHistoryNavigation: kEnumerableProperty,\n isReloadNavigation: kEnumerableProperty,\n keepalive: kEnumerableProperty,\n integrity: kEnumerableProperty,\n cache: kEnumerableProperty,\n credentials: kEnumerableProperty,\n attribute: kEnumerableProperty,\n referrerPolicy: kEnumerableProperty,\n referrer: kEnumerableProperty,\n mode: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Request',\n configurable: true\n }\n})\n\nwebidl.converters.Request = webidl.interfaceConverter(\n Request\n)\n\n// https://fetch.spec.whatwg.org/#requestinfo\nwebidl.converters.RequestInfo = function (V, prefix, argument) {\n if (typeof V === 'string') {\n return webidl.converters.USVString(V, prefix, argument)\n }\n\n if (V instanceof Request) {\n return webidl.converters.Request(V, prefix, argument)\n }\n\n return webidl.converters.USVString(V, prefix, argument)\n}\n\nwebidl.converters.AbortSignal = webidl.interfaceConverter(\n AbortSignal\n)\n\n// https://fetch.spec.whatwg.org/#requestinit\nwebidl.converters.RequestInit = webidl.dictionaryConverter([\n {\n key: 'method',\n converter: webidl.converters.ByteString\n },\n {\n key: 'headers',\n converter: webidl.converters.HeadersInit\n },\n {\n key: 'body',\n converter: webidl.nullableConverter(\n webidl.converters.BodyInit\n )\n },\n {\n key: 'referrer',\n converter: webidl.converters.USVString\n },\n {\n key: 'referrerPolicy',\n converter: webidl.converters.DOMString,\n // https://w3c.github.io/webappsec-referrer-policy/#referrer-policy\n allowedValues: referrerPolicy\n },\n {\n key: 'mode',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#concept-request-mode\n allowedValues: requestMode\n },\n {\n key: 'credentials',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestcredentials\n allowedValues: requestCredentials\n },\n {\n key: 'cache',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestcache\n allowedValues: requestCache\n },\n {\n key: 'redirect',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestredirect\n allowedValues: requestRedirect\n },\n {\n key: 'integrity',\n converter: webidl.converters.DOMString\n },\n {\n key: 'keepalive',\n converter: webidl.converters.boolean\n },\n {\n key: 'signal',\n converter: webidl.nullableConverter(\n (signal) => webidl.converters.AbortSignal(\n signal,\n 'RequestInit',\n 'signal',\n { strict: false }\n )\n )\n },\n {\n key: 'window',\n converter: webidl.converters.any\n },\n {\n key: 'duplex',\n converter: webidl.converters.DOMString,\n allowedValues: requestDuplex\n },\n {\n key: 'dispatcher', // undici specific option\n converter: webidl.converters.any\n }\n])\n\nmodule.exports = { Request, makeRequest, fromInnerRequest, cloneRequest }\n", "// https://github.com/Ethan-Arrowood/undici-fetch\n\n'use strict'\n\nconst {\n makeNetworkError,\n makeAppropriateNetworkError,\n filterResponse,\n makeResponse,\n fromInnerResponse\n} = require('./response')\nconst { HeadersList } = require('./headers')\nconst { Request, cloneRequest } = require('./request')\nconst zlib = require('node:zlib')\nconst {\n bytesMatch,\n makePolicyContainer,\n clonePolicyContainer,\n requestBadPort,\n TAOCheck,\n appendRequestOriginHeader,\n responseLocationURL,\n requestCurrentURL,\n setRequestReferrerPolicyOnRedirect,\n tryUpgradeRequestToAPotentiallyTrustworthyURL,\n createOpaqueTimingInfo,\n appendFetchMetadata,\n corsCheck,\n crossOriginResourcePolicyCheck,\n determineRequestsReferrer,\n coarsenedSharedCurrentTime,\n createDeferredPromise,\n isBlobLike,\n sameOrigin,\n isCancelled,\n isAborted,\n isErrorLike,\n fullyReadBody,\n readableStreamClose,\n isomorphicEncode,\n urlIsLocal,\n urlIsHttpHttpsScheme,\n urlHasHttpsScheme,\n clampAndCoarsenConnectionTimingInfo,\n simpleRangeHeaderValue,\n buildContentRange,\n createInflate,\n extractMimeType\n} = require('./util')\nconst { kState, kDispatcher } = require('./symbols')\nconst assert = require('node:assert')\nconst { safelyExtractBody, extractBody } = require('./body')\nconst {\n redirectStatusSet,\n nullBodyStatus,\n safeMethodsSet,\n requestBodyHeader,\n subresourceSet\n} = require('./constants')\nconst EE = require('node:events')\nconst { Readable, pipeline, finished } = require('node:stream')\nconst { addAbortListener, isErrored, isReadable, bufferToLowerCasedHeaderName } = require('../../core/util')\nconst { dataURLProcessor, serializeAMimeType, minimizeSupportedMimeType } = require('./data-url')\nconst { getGlobalDispatcher } = require('../../global')\nconst { webidl } = require('./webidl')\nconst { STATUS_CODES } = require('node:http')\nconst GET_OR_HEAD = ['GET', 'HEAD']\n\nconst defaultUserAgent = typeof __UNDICI_IS_NODE__ !== 'undefined' || typeof esbuildDetection !== 'undefined'\n ? 'node'\n : 'undici'\n\n/** @type {import('buffer').resolveObjectURL} */\nlet resolveObjectURL\n\nclass Fetch extends EE {\n constructor (dispatcher) {\n super()\n\n this.dispatcher = dispatcher\n this.connection = null\n this.dump = false\n this.state = 'ongoing'\n }\n\n terminate (reason) {\n if (this.state !== 'ongoing') {\n return\n }\n\n this.state = 'terminated'\n this.connection?.destroy(reason)\n this.emit('terminated', reason)\n }\n\n // https://fetch.spec.whatwg.org/#fetch-controller-abort\n abort (error) {\n if (this.state !== 'ongoing') {\n return\n }\n\n // 1. Set controller\u2019s state to \"aborted\".\n this.state = 'aborted'\n\n // 2. Let fallbackError be an \"AbortError\" DOMException.\n // 3. Set error to fallbackError if it is not given.\n if (!error) {\n error = new DOMException('The operation was aborted.', 'AbortError')\n }\n\n // 4. Let serializedError be StructuredSerialize(error).\n // If that threw an exception, catch it, and let\n // serializedError be StructuredSerialize(fallbackError).\n\n // 5. Set controller\u2019s serialized abort reason to serializedError.\n this.serializedAbortReason = error\n\n this.connection?.destroy(error)\n this.emit('terminated', error)\n }\n}\n\nfunction handleFetchDone (response) {\n finalizeAndReportTiming(response, 'fetch')\n}\n\n// https://fetch.spec.whatwg.org/#fetch-method\nfunction fetch (input, init = undefined) {\n webidl.argumentLengthCheck(arguments, 1, 'globalThis.fetch')\n\n // 1. Let p be a new promise.\n let p = createDeferredPromise()\n\n // 2. Let requestObject be the result of invoking the initial value of\n // Request as constructor with input and init as arguments. If this throws\n // an exception, reject p with it and return p.\n let requestObject\n\n try {\n requestObject = new Request(input, init)\n } catch (e) {\n p.reject(e)\n return p.promise\n }\n\n // 3. Let request be requestObject\u2019s request.\n const request = requestObject[kState]\n\n // 4. If requestObject\u2019s signal\u2019s aborted flag is set, then:\n if (requestObject.signal.aborted) {\n // 1. Abort the fetch() call with p, request, null, and\n // requestObject\u2019s signal\u2019s abort reason.\n abortFetch(p, request, null, requestObject.signal.reason)\n\n // 2. Return p.\n return p.promise\n }\n\n // 5. Let globalObject be request\u2019s client\u2019s global object.\n const globalObject = request.client.globalObject\n\n // 6. If globalObject is a ServiceWorkerGlobalScope object, then set\n // request\u2019s service-workers mode to \"none\".\n if (globalObject?.constructor?.name === 'ServiceWorkerGlobalScope') {\n request.serviceWorkers = 'none'\n }\n\n // 7. Let responseObject be null.\n let responseObject = null\n\n // 8. Let relevantRealm be this\u2019s relevant Realm.\n\n // 9. Let locallyAborted be false.\n let locallyAborted = false\n\n // 10. Let controller be null.\n let controller = null\n\n // 11. Add the following abort steps to requestObject\u2019s signal:\n addAbortListener(\n requestObject.signal,\n () => {\n // 1. Set locallyAborted to true.\n locallyAborted = true\n\n // 2. Assert: controller is non-null.\n assert(controller != null)\n\n // 3. Abort controller with requestObject\u2019s signal\u2019s abort reason.\n controller.abort(requestObject.signal.reason)\n\n const realResponse = responseObject?.deref()\n\n // 4. Abort the fetch() call with p, request, responseObject,\n // and requestObject\u2019s signal\u2019s abort reason.\n abortFetch(p, request, realResponse, requestObject.signal.reason)\n }\n )\n\n // 12. Let handleFetchDone given response response be to finalize and\n // report timing with response, globalObject, and \"fetch\".\n // see function handleFetchDone\n\n // 13. Set controller to the result of calling fetch given request,\n // with processResponseEndOfBody set to handleFetchDone, and processResponse\n // given response being these substeps:\n\n const processResponse = (response) => {\n // 1. If locallyAborted is true, terminate these substeps.\n if (locallyAborted) {\n return\n }\n\n // 2. If response\u2019s aborted flag is set, then:\n if (response.aborted) {\n // 1. Let deserializedError be the result of deserialize a serialized\n // abort reason given controller\u2019s serialized abort reason and\n // relevantRealm.\n\n // 2. Abort the fetch() call with p, request, responseObject, and\n // deserializedError.\n\n abortFetch(p, request, responseObject, controller.serializedAbortReason)\n return\n }\n\n // 3. If response is a network error, then reject p with a TypeError\n // and terminate these substeps.\n if (response.type === 'error') {\n p.reject(new TypeError('fetch failed', { cause: response.error }))\n return\n }\n\n // 4. Set responseObject to the result of creating a Response object,\n // given response, \"immutable\", and relevantRealm.\n responseObject = new WeakRef(fromInnerResponse(response, 'immutable'))\n\n // 5. Resolve p with responseObject.\n p.resolve(responseObject.deref())\n p = null\n }\n\n controller = fetching({\n request,\n processResponseEndOfBody: handleFetchDone,\n processResponse,\n dispatcher: requestObject[kDispatcher] // undici\n })\n\n // 14. Return p.\n return p.promise\n}\n\n// https://fetch.spec.whatwg.org/#finalize-and-report-timing\nfunction finalizeAndReportTiming (response, initiatorType = 'other') {\n // 1. If response is an aborted network error, then return.\n if (response.type === 'error' && response.aborted) {\n return\n }\n\n // 2. If response\u2019s URL list is null or empty, then return.\n if (!response.urlList?.length) {\n return\n }\n\n // 3. Let originalURL be response\u2019s URL list[0].\n const originalURL = response.urlList[0]\n\n // 4. Let timingInfo be response\u2019s timing info.\n let timingInfo = response.timingInfo\n\n // 5. Let cacheState be response\u2019s cache state.\n let cacheState = response.cacheState\n\n // 6. If originalURL\u2019s scheme is not an HTTP(S) scheme, then return.\n if (!urlIsHttpHttpsScheme(originalURL)) {\n return\n }\n\n // 7. If timingInfo is null, then return.\n if (timingInfo === null) {\n return\n }\n\n // 8. If response\u2019s timing allow passed flag is not set, then:\n if (!response.timingAllowPassed) {\n // 1. Set timingInfo to a the result of creating an opaque timing info for timingInfo.\n timingInfo = createOpaqueTimingInfo({\n startTime: timingInfo.startTime\n })\n\n // 2. Set cacheState to the empty string.\n cacheState = ''\n }\n\n // 9. Set timingInfo\u2019s end time to the coarsened shared current time\n // given global\u2019s relevant settings object\u2019s cross-origin isolated\n // capability.\n // TODO: given global\u2019s relevant settings object\u2019s cross-origin isolated\n // capability?\n timingInfo.endTime = coarsenedSharedCurrentTime()\n\n // 10. Set response\u2019s timing info to timingInfo.\n response.timingInfo = timingInfo\n\n // 11. Mark resource timing for timingInfo, originalURL, initiatorType,\n // global, and cacheState.\n markResourceTiming(\n timingInfo,\n originalURL.href,\n initiatorType,\n globalThis,\n cacheState\n )\n}\n\n// https://w3c.github.io/resource-timing/#dfn-mark-resource-timing\nconst markResourceTiming = performance.markResourceTiming\n\n// https://fetch.spec.whatwg.org/#abort-fetch\nfunction abortFetch (p, request, responseObject, error) {\n // 1. Reject promise with error.\n if (p) {\n // We might have already resolved the promise at this stage\n p.reject(error)\n }\n\n // 2. If request\u2019s body is not null and is readable, then cancel request\u2019s\n // body with error.\n if (request.body != null && isReadable(request.body?.stream)) {\n request.body.stream.cancel(error).catch((err) => {\n if (err.code === 'ERR_INVALID_STATE') {\n // Node bug?\n return\n }\n throw err\n })\n }\n\n // 3. If responseObject is null, then return.\n if (responseObject == null) {\n return\n }\n\n // 4. Let response be responseObject\u2019s response.\n const response = responseObject[kState]\n\n // 5. If response\u2019s body is not null and is readable, then error response\u2019s\n // body with error.\n if (response.body != null && isReadable(response.body?.stream)) {\n response.body.stream.cancel(error).catch((err) => {\n if (err.code === 'ERR_INVALID_STATE') {\n // Node bug?\n return\n }\n throw err\n })\n }\n}\n\n// https://fetch.spec.whatwg.org/#fetching\nfunction fetching ({\n request,\n processRequestBodyChunkLength,\n processRequestEndOfBody,\n processResponse,\n processResponseEndOfBody,\n processResponseConsumeBody,\n useParallelQueue = false,\n dispatcher = getGlobalDispatcher() // undici\n}) {\n // Ensure that the dispatcher is set accordingly\n assert(dispatcher)\n\n // 1. Let taskDestination be null.\n let taskDestination = null\n\n // 2. Let crossOriginIsolatedCapability be false.\n let crossOriginIsolatedCapability = false\n\n // 3. If request\u2019s client is non-null, then:\n if (request.client != null) {\n // 1. Set taskDestination to request\u2019s client\u2019s global object.\n taskDestination = request.client.globalObject\n\n // 2. Set crossOriginIsolatedCapability to request\u2019s client\u2019s cross-origin\n // isolated capability.\n crossOriginIsolatedCapability =\n request.client.crossOriginIsolatedCapability\n }\n\n // 4. If useParallelQueue is true, then set taskDestination to the result of\n // starting a new parallel queue.\n // TODO\n\n // 5. Let timingInfo be a new fetch timing info whose start time and\n // post-redirect start time are the coarsened shared current time given\n // crossOriginIsolatedCapability.\n const currentTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability)\n const timingInfo = createOpaqueTimingInfo({\n startTime: currentTime\n })\n\n // 6. Let fetchParams be a new fetch params whose\n // request is request,\n // timing info is timingInfo,\n // process request body chunk length is processRequestBodyChunkLength,\n // process request end-of-body is processRequestEndOfBody,\n // process response is processResponse,\n // process response consume body is processResponseConsumeBody,\n // process response end-of-body is processResponseEndOfBody,\n // task destination is taskDestination,\n // and cross-origin isolated capability is crossOriginIsolatedCapability.\n const fetchParams = {\n controller: new Fetch(dispatcher),\n request,\n timingInfo,\n processRequestBodyChunkLength,\n processRequestEndOfBody,\n processResponse,\n processResponseConsumeBody,\n processResponseEndOfBody,\n taskDestination,\n crossOriginIsolatedCapability\n }\n\n // 7. If request\u2019s body is a byte sequence, then set request\u2019s body to\n // request\u2019s body as a body.\n // NOTE: Since fetching is only called from fetch, body should already be\n // extracted.\n assert(!request.body || request.body.stream)\n\n // 8. If request\u2019s window is \"client\", then set request\u2019s window to request\u2019s\n // client, if request\u2019s client\u2019s global object is a Window object; otherwise\n // \"no-window\".\n if (request.window === 'client') {\n // TODO: What if request.client is null?\n request.window =\n request.client?.globalObject?.constructor?.name === 'Window'\n ? request.client\n : 'no-window'\n }\n\n // 9. If request\u2019s origin is \"client\", then set request\u2019s origin to request\u2019s\n // client\u2019s origin.\n if (request.origin === 'client') {\n request.origin = request.client.origin\n }\n\n // 10. If all of the following conditions are true:\n // TODO\n\n // 11. If request\u2019s policy container is \"client\", then:\n if (request.policyContainer === 'client') {\n // 1. If request\u2019s client is non-null, then set request\u2019s policy\n // container to a clone of request\u2019s client\u2019s policy container. [HTML]\n if (request.client != null) {\n request.policyContainer = clonePolicyContainer(\n request.client.policyContainer\n )\n } else {\n // 2. Otherwise, set request\u2019s policy container to a new policy\n // container.\n request.policyContainer = makePolicyContainer()\n }\n }\n\n // 12. If request\u2019s header list does not contain `Accept`, then:\n if (!request.headersList.contains('accept', true)) {\n // 1. Let value be `*/*`.\n const value = '*/*'\n\n // 2. A user agent should set value to the first matching statement, if\n // any, switching on request\u2019s destination:\n // \"document\"\n // \"frame\"\n // \"iframe\"\n // `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`\n // \"image\"\n // `image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5`\n // \"style\"\n // `text/css,*/*;q=0.1`\n // TODO\n\n // 3. Append `Accept`/value to request\u2019s header list.\n request.headersList.append('accept', value, true)\n }\n\n // 13. If request\u2019s header list does not contain `Accept-Language`, then\n // user agents should append `Accept-Language`/an appropriate value to\n // request\u2019s header list.\n if (!request.headersList.contains('accept-language', true)) {\n request.headersList.append('accept-language', '*', true)\n }\n\n // 14. If request\u2019s priority is null, then use request\u2019s initiator and\n // destination appropriately in setting request\u2019s priority to a\n // user-agent-defined object.\n if (request.priority === null) {\n // TODO\n }\n\n // 15. If request is a subresource request, then:\n if (subresourceSet.has(request.destination)) {\n // TODO\n }\n\n // 16. Run main fetch given fetchParams.\n mainFetch(fetchParams)\n .catch(err => {\n fetchParams.controller.terminate(err)\n })\n\n // 17. Return fetchParam's controller\n return fetchParams.controller\n}\n\n// https://fetch.spec.whatwg.org/#concept-main-fetch\nasync function mainFetch (fetchParams, recursive = false) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. If request\u2019s local-URLs-only flag is set and request\u2019s current URL is\n // not local, then set response to a network error.\n if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request))) {\n response = makeNetworkError('local URLs only')\n }\n\n // 4. Run report Content Security Policy violations for request.\n // TODO\n\n // 5. Upgrade request to a potentially trustworthy URL, if appropriate.\n tryUpgradeRequestToAPotentiallyTrustworthyURL(request)\n\n // 6. If should request be blocked due to a bad port, should fetching request\n // be blocked as mixed content, or should request be blocked by Content\n // Security Policy returns blocked, then set response to a network error.\n if (requestBadPort(request) === 'blocked') {\n response = makeNetworkError('bad port')\n }\n // TODO: should fetching request be blocked as mixed content?\n // TODO: should request be blocked by Content Security Policy?\n\n // 7. If request\u2019s referrer policy is the empty string, then set request\u2019s\n // referrer policy to request\u2019s policy container\u2019s referrer policy.\n if (request.referrerPolicy === '') {\n request.referrerPolicy = request.policyContainer.referrerPolicy\n }\n\n // 8. If request\u2019s referrer is not \"no-referrer\", then set request\u2019s\n // referrer to the result of invoking determine request\u2019s referrer.\n if (request.referrer !== 'no-referrer') {\n request.referrer = determineRequestsReferrer(request)\n }\n\n // 9. Set request\u2019s current URL\u2019s scheme to \"https\" if all of the following\n // conditions are true:\n // - request\u2019s current URL\u2019s scheme is \"http\"\n // - request\u2019s current URL\u2019s host is a domain\n // - Matching request\u2019s current URL\u2019s host per Known HSTS Host Domain Name\n // Matching results in either a superdomain match with an asserted\n // includeSubDomains directive or a congruent match (with or without an\n // asserted includeSubDomains directive). [HSTS]\n // TODO\n\n // 10. If recursive is false, then run the remaining steps in parallel.\n // TODO\n\n // 11. If response is null, then set response to the result of running\n // the steps corresponding to the first matching statement:\n if (response === null) {\n response = await (async () => {\n const currentURL = requestCurrentURL(request)\n\n if (\n // - request\u2019s current URL\u2019s origin is same origin with request\u2019s origin,\n // and request\u2019s response tainting is \"basic\"\n (sameOrigin(currentURL, request.url) && request.responseTainting === 'basic') ||\n // request\u2019s current URL\u2019s scheme is \"data\"\n (currentURL.protocol === 'data:') ||\n // - request\u2019s mode is \"navigate\" or \"websocket\"\n (request.mode === 'navigate' || request.mode === 'websocket')\n ) {\n // 1. Set request\u2019s response tainting to \"basic\".\n request.responseTainting = 'basic'\n\n // 2. Return the result of running scheme fetch given fetchParams.\n return await schemeFetch(fetchParams)\n }\n\n // request\u2019s mode is \"same-origin\"\n if (request.mode === 'same-origin') {\n // 1. Return a network error.\n return makeNetworkError('request mode cannot be \"same-origin\"')\n }\n\n // request\u2019s mode is \"no-cors\"\n if (request.mode === 'no-cors') {\n // 1. If request\u2019s redirect mode is not \"follow\", then return a network\n // error.\n if (request.redirect !== 'follow') {\n return makeNetworkError(\n 'redirect mode cannot be \"follow\" for \"no-cors\" request'\n )\n }\n\n // 2. Set request\u2019s response tainting to \"opaque\".\n request.responseTainting = 'opaque'\n\n // 3. Return the result of running scheme fetch given fetchParams.\n return await schemeFetch(fetchParams)\n }\n\n // request\u2019s current URL\u2019s scheme is not an HTTP(S) scheme\n if (!urlIsHttpHttpsScheme(requestCurrentURL(request))) {\n // Return a network error.\n return makeNetworkError('URL scheme must be a HTTP(S) scheme')\n }\n\n // - request\u2019s use-CORS-preflight flag is set\n // - request\u2019s unsafe-request flag is set and either request\u2019s method is\n // not a CORS-safelisted method or CORS-unsafe request-header names with\n // request\u2019s header list is not empty\n // 1. Set request\u2019s response tainting to \"cors\".\n // 2. Let corsWithPreflightResponse be the result of running HTTP fetch\n // given fetchParams and true.\n // 3. If corsWithPreflightResponse is a network error, then clear cache\n // entries using request.\n // 4. Return corsWithPreflightResponse.\n // TODO\n\n // Otherwise\n // 1. Set request\u2019s response tainting to \"cors\".\n request.responseTainting = 'cors'\n\n // 2. Return the result of running HTTP fetch given fetchParams.\n return await httpFetch(fetchParams)\n })()\n }\n\n // 12. If recursive is true, then return response.\n if (recursive) {\n return response\n }\n\n // 13. If response is not a network error and response is not a filtered\n // response, then:\n if (response.status !== 0 && !response.internalResponse) {\n // If request\u2019s response tainting is \"cors\", then:\n if (request.responseTainting === 'cors') {\n // 1. Let headerNames be the result of extracting header list values\n // given `Access-Control-Expose-Headers` and response\u2019s header list.\n // TODO\n // 2. If request\u2019s credentials mode is not \"include\" and headerNames\n // contains `*`, then set response\u2019s CORS-exposed header-name list to\n // all unique header names in response\u2019s header list.\n // TODO\n // 3. Otherwise, if headerNames is not null or failure, then set\n // response\u2019s CORS-exposed header-name list to headerNames.\n // TODO\n }\n\n // Set response to the following filtered response with response as its\n // internal response, depending on request\u2019s response tainting:\n if (request.responseTainting === 'basic') {\n response = filterResponse(response, 'basic')\n } else if (request.responseTainting === 'cors') {\n response = filterResponse(response, 'cors')\n } else if (request.responseTainting === 'opaque') {\n response = filterResponse(response, 'opaque')\n } else {\n assert(false)\n }\n }\n\n // 14. Let internalResponse be response, if response is a network error,\n // and response\u2019s internal response otherwise.\n let internalResponse =\n response.status === 0 ? response : response.internalResponse\n\n // 15. If internalResponse\u2019s URL list is empty, then set it to a clone of\n // request\u2019s URL list.\n if (internalResponse.urlList.length === 0) {\n internalResponse.urlList.push(...request.urlList)\n }\n\n // 16. If request\u2019s timing allow failed flag is unset, then set\n // internalResponse\u2019s timing allow passed flag.\n if (!request.timingAllowFailed) {\n response.timingAllowPassed = true\n }\n\n // 17. If response is not a network error and any of the following returns\n // blocked\n // - should internalResponse to request be blocked as mixed content\n // - should internalResponse to request be blocked by Content Security Policy\n // - should internalResponse to request be blocked due to its MIME type\n // - should internalResponse to request be blocked due to nosniff\n // TODO\n\n // 18. If response\u2019s type is \"opaque\", internalResponse\u2019s status is 206,\n // internalResponse\u2019s range-requested flag is set, and request\u2019s header\n // list does not contain `Range`, then set response and internalResponse\n // to a network error.\n if (\n response.type === 'opaque' &&\n internalResponse.status === 206 &&\n internalResponse.rangeRequested &&\n !request.headers.contains('range', true)\n ) {\n response = internalResponse = makeNetworkError()\n }\n\n // 19. If response is not a network error and either request\u2019s method is\n // `HEAD` or `CONNECT`, or internalResponse\u2019s status is a null body status,\n // set internalResponse\u2019s body to null and disregard any enqueuing toward\n // it (if any).\n if (\n response.status !== 0 &&\n (request.method === 'HEAD' ||\n request.method === 'CONNECT' ||\n nullBodyStatus.includes(internalResponse.status))\n ) {\n internalResponse.body = null\n fetchParams.controller.dump = true\n }\n\n // 20. If request\u2019s integrity metadata is not the empty string, then:\n if (request.integrity) {\n // 1. Let processBodyError be this step: run fetch finale given fetchParams\n // and a network error.\n const processBodyError = (reason) =>\n fetchFinale(fetchParams, makeNetworkError(reason))\n\n // 2. If request\u2019s response tainting is \"opaque\", or response\u2019s body is null,\n // then run processBodyError and abort these steps.\n if (request.responseTainting === 'opaque' || response.body == null) {\n processBodyError(response.error)\n return\n }\n\n // 3. Let processBody given bytes be these steps:\n const processBody = (bytes) => {\n // 1. If bytes do not match request\u2019s integrity metadata,\n // then run processBodyError and abort these steps. [SRI]\n if (!bytesMatch(bytes, request.integrity)) {\n processBodyError('integrity mismatch')\n return\n }\n\n // 2. Set response\u2019s body to bytes as a body.\n response.body = safelyExtractBody(bytes)[0]\n\n // 3. Run fetch finale given fetchParams and response.\n fetchFinale(fetchParams, response)\n }\n\n // 4. Fully read response\u2019s body given processBody and processBodyError.\n await fullyReadBody(response.body, processBody, processBodyError)\n } else {\n // 21. Otherwise, run fetch finale given fetchParams and response.\n fetchFinale(fetchParams, response)\n }\n}\n\n// https://fetch.spec.whatwg.org/#concept-scheme-fetch\n// given a fetch params fetchParams\nfunction schemeFetch (fetchParams) {\n // Note: since the connection is destroyed on redirect, which sets fetchParams to a\n // cancelled state, we do not want this condition to trigger *unless* there have been\n // no redirects. See https://github.com/nodejs/undici/issues/1776\n // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams) && fetchParams.request.redirectCount === 0) {\n return Promise.resolve(makeAppropriateNetworkError(fetchParams))\n }\n\n // 2. Let request be fetchParams\u2019s request.\n const { request } = fetchParams\n\n const { protocol: scheme } = requestCurrentURL(request)\n\n // 3. Switch on request\u2019s current URL\u2019s scheme and run the associated steps:\n switch (scheme) {\n case 'about:': {\n // If request\u2019s current URL\u2019s path is the string \"blank\", then return a new response\n // whose status message is `OK`, header list is \u00AB (`Content-Type`, `text/html;charset=utf-8`) \u00BB,\n // and body is the empty byte sequence as a body.\n\n // Otherwise, return a network error.\n return Promise.resolve(makeNetworkError('about scheme is not supported'))\n }\n case 'blob:': {\n if (!resolveObjectURL) {\n resolveObjectURL = require('node:buffer').resolveObjectURL\n }\n\n // 1. Let blobURLEntry be request\u2019s current URL\u2019s blob URL entry.\n const blobURLEntry = requestCurrentURL(request)\n\n // https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/FileAPI/url/resources/fetch-tests.js#L52-L56\n // Buffer.resolveObjectURL does not ignore URL queries.\n if (blobURLEntry.search.length !== 0) {\n return Promise.resolve(makeNetworkError('NetworkError when attempting to fetch resource.'))\n }\n\n const blob = resolveObjectURL(blobURLEntry.toString())\n\n // 2. If request\u2019s method is not `GET`, blobURLEntry is null, or blobURLEntry\u2019s\n // object is not a Blob object, then return a network error.\n if (request.method !== 'GET' || !isBlobLike(blob)) {\n return Promise.resolve(makeNetworkError('invalid method'))\n }\n\n // 3. Let blob be blobURLEntry\u2019s object.\n // Note: done above\n\n // 4. Let response be a new response.\n const response = makeResponse()\n\n // 5. Let fullLength be blob\u2019s size.\n const fullLength = blob.size\n\n // 6. Let serializedFullLength be fullLength, serialized and isomorphic encoded.\n const serializedFullLength = isomorphicEncode(`${fullLength}`)\n\n // 7. Let type be blob\u2019s type.\n const type = blob.type\n\n // 8. If request\u2019s header list does not contain `Range`:\n // 9. Otherwise:\n if (!request.headersList.contains('range', true)) {\n // 1. Let bodyWithType be the result of safely extracting blob.\n // Note: in the FileAPI a blob \"object\" is a Blob *or* a MediaSource.\n // In node, this can only ever be a Blob. Therefore we can safely\n // use extractBody directly.\n const bodyWithType = extractBody(blob)\n\n // 2. Set response\u2019s status message to `OK`.\n response.statusText = 'OK'\n\n // 3. Set response\u2019s body to bodyWithType\u2019s body.\n response.body = bodyWithType[0]\n\n // 4. Set response\u2019s header list to \u00AB (`Content-Length`, serializedFullLength), (`Content-Type`, type) \u00BB.\n response.headersList.set('content-length', serializedFullLength, true)\n response.headersList.set('content-type', type, true)\n } else {\n // 1. Set response\u2019s range-requested flag.\n response.rangeRequested = true\n\n // 2. Let rangeHeader be the result of getting `Range` from request\u2019s header list.\n const rangeHeader = request.headersList.get('range', true)\n\n // 3. Let rangeValue be the result of parsing a single range header value given rangeHeader and true.\n const rangeValue = simpleRangeHeaderValue(rangeHeader, true)\n\n // 4. If rangeValue is failure, then return a network error.\n if (rangeValue === 'failure') {\n return Promise.resolve(makeNetworkError('failed to fetch the data URL'))\n }\n\n // 5. Let (rangeStart, rangeEnd) be rangeValue.\n let { rangeStartValue: rangeStart, rangeEndValue: rangeEnd } = rangeValue\n\n // 6. If rangeStart is null:\n // 7. Otherwise:\n if (rangeStart === null) {\n // 1. Set rangeStart to fullLength \u2212 rangeEnd.\n rangeStart = fullLength - rangeEnd\n\n // 2. Set rangeEnd to rangeStart + rangeEnd \u2212 1.\n rangeEnd = rangeStart + rangeEnd - 1\n } else {\n // 1. If rangeStart is greater than or equal to fullLength, then return a network error.\n if (rangeStart >= fullLength) {\n return Promise.resolve(makeNetworkError('Range start is greater than the blob\\'s size.'))\n }\n\n // 2. If rangeEnd is null or rangeEnd is greater than or equal to fullLength, then set\n // rangeEnd to fullLength \u2212 1.\n if (rangeEnd === null || rangeEnd >= fullLength) {\n rangeEnd = fullLength - 1\n }\n }\n\n // 8. Let slicedBlob be the result of invoking slice blob given blob, rangeStart,\n // rangeEnd + 1, and type.\n const slicedBlob = blob.slice(rangeStart, rangeEnd, type)\n\n // 9. Let slicedBodyWithType be the result of safely extracting slicedBlob.\n // Note: same reason as mentioned above as to why we use extractBody\n const slicedBodyWithType = extractBody(slicedBlob)\n\n // 10. Set response\u2019s body to slicedBodyWithType\u2019s body.\n response.body = slicedBodyWithType[0]\n\n // 11. Let serializedSlicedLength be slicedBlob\u2019s size, serialized and isomorphic encoded.\n const serializedSlicedLength = isomorphicEncode(`${slicedBlob.size}`)\n\n // 12. Let contentRange be the result of invoking build a content range given rangeStart,\n // rangeEnd, and fullLength.\n const contentRange = buildContentRange(rangeStart, rangeEnd, fullLength)\n\n // 13. Set response\u2019s status to 206.\n response.status = 206\n\n // 14. Set response\u2019s status message to `Partial Content`.\n response.statusText = 'Partial Content'\n\n // 15. Set response\u2019s header list to \u00AB (`Content-Length`, serializedSlicedLength),\n // (`Content-Type`, type), (`Content-Range`, contentRange) \u00BB.\n response.headersList.set('content-length', serializedSlicedLength, true)\n response.headersList.set('content-type', type, true)\n response.headersList.set('content-range', contentRange, true)\n }\n\n // 10. Return response.\n return Promise.resolve(response)\n }\n case 'data:': {\n // 1. Let dataURLStruct be the result of running the\n // data: URL processor on request\u2019s current URL.\n const currentURL = requestCurrentURL(request)\n const dataURLStruct = dataURLProcessor(currentURL)\n\n // 2. If dataURLStruct is failure, then return a\n // network error.\n if (dataURLStruct === 'failure') {\n return Promise.resolve(makeNetworkError('failed to fetch the data URL'))\n }\n\n // 3. Let mimeType be dataURLStruct\u2019s MIME type, serialized.\n const mimeType = serializeAMimeType(dataURLStruct.mimeType)\n\n // 4. Return a response whose status message is `OK`,\n // header list is \u00AB (`Content-Type`, mimeType) \u00BB,\n // and body is dataURLStruct\u2019s body as a body.\n return Promise.resolve(makeResponse({\n statusText: 'OK',\n headersList: [\n ['content-type', { name: 'Content-Type', value: mimeType }]\n ],\n body: safelyExtractBody(dataURLStruct.body)[0]\n }))\n }\n case 'file:': {\n // For now, unfortunate as it is, file URLs are left as an exercise for the reader.\n // When in doubt, return a network error.\n return Promise.resolve(makeNetworkError('not implemented... yet...'))\n }\n case 'http:':\n case 'https:': {\n // Return the result of running HTTP fetch given fetchParams.\n\n return httpFetch(fetchParams)\n .catch((err) => makeNetworkError(err))\n }\n default: {\n return Promise.resolve(makeNetworkError('unknown scheme'))\n }\n }\n}\n\n// https://fetch.spec.whatwg.org/#finalize-response\nfunction finalizeResponse (fetchParams, response) {\n // 1. Set fetchParams\u2019s request\u2019s done flag.\n fetchParams.request.done = true\n\n // 2, If fetchParams\u2019s process response done is not null, then queue a fetch\n // task to run fetchParams\u2019s process response done given response, with\n // fetchParams\u2019s task destination.\n if (fetchParams.processResponseDone != null) {\n queueMicrotask(() => fetchParams.processResponseDone(response))\n }\n}\n\n// https://fetch.spec.whatwg.org/#fetch-finale\nfunction fetchFinale (fetchParams, response) {\n // 1. Let timingInfo be fetchParams\u2019s timing info.\n let timingInfo = fetchParams.timingInfo\n\n // 2. If response is not a network error and fetchParams\u2019s request\u2019s client is a secure context,\n // then set timingInfo\u2019s server-timing headers to the result of getting, decoding, and splitting\n // `Server-Timing` from response\u2019s internal response\u2019s header list.\n // TODO\n\n // 3. Let processResponseEndOfBody be the following steps:\n const processResponseEndOfBody = () => {\n // 1. Let unsafeEndTime be the unsafe shared current time.\n const unsafeEndTime = Date.now() // ?\n\n // 2. If fetchParams\u2019s request\u2019s destination is \"document\", then set fetchParams\u2019s controller\u2019s\n // full timing info to fetchParams\u2019s timing info.\n if (fetchParams.request.destination === 'document') {\n fetchParams.controller.fullTimingInfo = timingInfo\n }\n\n // 3. Set fetchParams\u2019s controller\u2019s report timing steps to the following steps given a global object global:\n fetchParams.controller.reportTimingSteps = () => {\n // 1. If fetchParams\u2019s request\u2019s URL\u2019s scheme is not an HTTP(S) scheme, then return.\n if (fetchParams.request.url.protocol !== 'https:') {\n return\n }\n\n // 2. Set timingInfo\u2019s end time to the relative high resolution time given unsafeEndTime and global.\n timingInfo.endTime = unsafeEndTime\n\n // 3. Let cacheState be response\u2019s cache state.\n let cacheState = response.cacheState\n\n // 4. Let bodyInfo be response\u2019s body info.\n const bodyInfo = response.bodyInfo\n\n // 5. If response\u2019s timing allow passed flag is not set, then set timingInfo to the result of creating an\n // opaque timing info for timingInfo and set cacheState to the empty string.\n if (!response.timingAllowPassed) {\n timingInfo = createOpaqueTimingInfo(timingInfo)\n\n cacheState = ''\n }\n\n // 6. Let responseStatus be 0.\n let responseStatus = 0\n\n // 7. If fetchParams\u2019s request\u2019s mode is not \"navigate\" or response\u2019s has-cross-origin-redirects is false:\n if (fetchParams.request.mode !== 'navigator' || !response.hasCrossOriginRedirects) {\n // 1. Set responseStatus to response\u2019s status.\n responseStatus = response.status\n\n // 2. Let mimeType be the result of extracting a MIME type from response\u2019s header list.\n const mimeType = extractMimeType(response.headersList)\n\n // 3. If mimeType is not failure, then set bodyInfo\u2019s content type to the result of minimizing a supported MIME type given mimeType.\n if (mimeType !== 'failure') {\n bodyInfo.contentType = minimizeSupportedMimeType(mimeType)\n }\n }\n\n // 8. If fetchParams\u2019s request\u2019s initiator type is non-null, then mark resource timing given timingInfo,\n // fetchParams\u2019s request\u2019s URL, fetchParams\u2019s request\u2019s initiator type, global, cacheState, bodyInfo,\n // and responseStatus.\n if (fetchParams.request.initiatorType != null) {\n // TODO: update markresourcetiming\n markResourceTiming(timingInfo, fetchParams.request.url.href, fetchParams.request.initiatorType, globalThis, cacheState, bodyInfo, responseStatus)\n }\n }\n\n // 4. Let processResponseEndOfBodyTask be the following steps:\n const processResponseEndOfBodyTask = () => {\n // 1. Set fetchParams\u2019s request\u2019s done flag.\n fetchParams.request.done = true\n\n // 2. If fetchParams\u2019s process response end-of-body is non-null, then run fetchParams\u2019s process\n // response end-of-body given response.\n if (fetchParams.processResponseEndOfBody != null) {\n queueMicrotask(() => fetchParams.processResponseEndOfBody(response))\n }\n\n // 3. If fetchParams\u2019s request\u2019s initiator type is non-null and fetchParams\u2019s request\u2019s client\u2019s\n // global object is fetchParams\u2019s task destination, then run fetchParams\u2019s controller\u2019s report\n // timing steps given fetchParams\u2019s request\u2019s client\u2019s global object.\n if (fetchParams.request.initiatorType != null) {\n fetchParams.controller.reportTimingSteps()\n }\n }\n\n // 5. Queue a fetch task to run processResponseEndOfBodyTask with fetchParams\u2019s task destination\n queueMicrotask(() => processResponseEndOfBodyTask())\n }\n\n // 4. If fetchParams\u2019s process response is non-null, then queue a fetch task to run fetchParams\u2019s\n // process response given response, with fetchParams\u2019s task destination.\n if (fetchParams.processResponse != null) {\n queueMicrotask(() => {\n fetchParams.processResponse(response)\n fetchParams.processResponse = null\n })\n }\n\n // 5. Let internalResponse be response, if response is a network error; otherwise response\u2019s internal response.\n const internalResponse = response.type === 'error' ? response : (response.internalResponse ?? response)\n\n // 6. If internalResponse\u2019s body is null, then run processResponseEndOfBody.\n // 7. Otherwise:\n if (internalResponse.body == null) {\n processResponseEndOfBody()\n } else {\n // mcollina: all the following steps of the specs are skipped.\n // The internal transform stream is not needed.\n // See https://github.com/nodejs/undici/pull/3093#issuecomment-2050198541\n\n // 1. Let transformStream be a new TransformStream.\n // 2. Let identityTransformAlgorithm be an algorithm which, given chunk, enqueues chunk in transformStream.\n // 3. Set up transformStream with transformAlgorithm set to identityTransformAlgorithm and flushAlgorithm\n // set to processResponseEndOfBody.\n // 4. Set internalResponse\u2019s body\u2019s stream to the result of internalResponse\u2019s body\u2019s stream piped through transformStream.\n\n finished(internalResponse.body.stream, () => {\n processResponseEndOfBody()\n })\n }\n}\n\n// https://fetch.spec.whatwg.org/#http-fetch\nasync function httpFetch (fetchParams) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. Let actualResponse be null.\n let actualResponse = null\n\n // 4. Let timingInfo be fetchParams\u2019s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 5. If request\u2019s service-workers mode is \"all\", then:\n if (request.serviceWorkers === 'all') {\n // TODO\n }\n\n // 6. If response is null, then:\n if (response === null) {\n // 1. If makeCORSPreflight is true and one of these conditions is true:\n // TODO\n\n // 2. If request\u2019s redirect mode is \"follow\", then set request\u2019s\n // service-workers mode to \"none\".\n if (request.redirect === 'follow') {\n request.serviceWorkers = 'none'\n }\n\n // 3. Set response and actualResponse to the result of running\n // HTTP-network-or-cache fetch given fetchParams.\n actualResponse = response = await httpNetworkOrCacheFetch(fetchParams)\n\n // 4. If request\u2019s response tainting is \"cors\" and a CORS check\n // for request and response returns failure, then return a network error.\n if (\n request.responseTainting === 'cors' &&\n corsCheck(request, response) === 'failure'\n ) {\n return makeNetworkError('cors failure')\n }\n\n // 5. If the TAO check for request and response returns failure, then set\n // request\u2019s timing allow failed flag.\n if (TAOCheck(request, response) === 'failure') {\n request.timingAllowFailed = true\n }\n }\n\n // 7. If either request\u2019s response tainting or response\u2019s type\n // is \"opaque\", and the cross-origin resource policy check with\n // request\u2019s origin, request\u2019s client, request\u2019s destination,\n // and actualResponse returns blocked, then return a network error.\n if (\n (request.responseTainting === 'opaque' || response.type === 'opaque') &&\n crossOriginResourcePolicyCheck(\n request.origin,\n request.client,\n request.destination,\n actualResponse\n ) === 'blocked'\n ) {\n return makeNetworkError('blocked')\n }\n\n // 8. If actualResponse\u2019s status is a redirect status, then:\n if (redirectStatusSet.has(actualResponse.status)) {\n // 1. If actualResponse\u2019s status is not 303, request\u2019s body is not null,\n // and the connection uses HTTP/2, then user agents may, and are even\n // encouraged to, transmit an RST_STREAM frame.\n // See, https://github.com/whatwg/fetch/issues/1288\n if (request.redirect !== 'manual') {\n fetchParams.controller.connection.destroy(undefined, false)\n }\n\n // 2. Switch on request\u2019s redirect mode:\n if (request.redirect === 'error') {\n // Set response to a network error.\n response = makeNetworkError('unexpected redirect')\n } else if (request.redirect === 'manual') {\n // Set response to an opaque-redirect filtered response whose internal\n // response is actualResponse.\n // NOTE(spec): On the web this would return an `opaqueredirect` response,\n // but that doesn't make sense server side.\n // See https://github.com/nodejs/undici/issues/1193.\n response = actualResponse\n } else if (request.redirect === 'follow') {\n // Set response to the result of running HTTP-redirect fetch given\n // fetchParams and response.\n response = await httpRedirectFetch(fetchParams, response)\n } else {\n assert(false)\n }\n }\n\n // 9. Set response\u2019s timing info to timingInfo.\n response.timingInfo = timingInfo\n\n // 10. Return response.\n return response\n}\n\n// https://fetch.spec.whatwg.org/#http-redirect-fetch\nfunction httpRedirectFetch (fetchParams, response) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let actualResponse be response, if response is not a filtered response,\n // and response\u2019s internal response otherwise.\n const actualResponse = response.internalResponse\n ? response.internalResponse\n : response\n\n // 3. Let locationURL be actualResponse\u2019s location URL given request\u2019s current\n // URL\u2019s fragment.\n let locationURL\n\n try {\n locationURL = responseLocationURL(\n actualResponse,\n requestCurrentURL(request).hash\n )\n\n // 4. If locationURL is null, then return response.\n if (locationURL == null) {\n return response\n }\n } catch (err) {\n // 5. If locationURL is failure, then return a network error.\n return Promise.resolve(makeNetworkError(err))\n }\n\n // 6. If locationURL\u2019s scheme is not an HTTP(S) scheme, then return a network\n // error.\n if (!urlIsHttpHttpsScheme(locationURL)) {\n return Promise.resolve(makeNetworkError('URL scheme must be a HTTP(S) scheme'))\n }\n\n // 7. If request\u2019s redirect count is 20, then return a network error.\n if (request.redirectCount === 20) {\n return Promise.resolve(makeNetworkError('redirect count exceeded'))\n }\n\n // 8. Increase request\u2019s redirect count by 1.\n request.redirectCount += 1\n\n // 9. If request\u2019s mode is \"cors\", locationURL includes credentials, and\n // request\u2019s origin is not same origin with locationURL\u2019s origin, then return\n // a network error.\n if (\n request.mode === 'cors' &&\n (locationURL.username || locationURL.password) &&\n !sameOrigin(request, locationURL)\n ) {\n return Promise.resolve(makeNetworkError('cross origin not allowed for request mode \"cors\"'))\n }\n\n // 10. If request\u2019s response tainting is \"cors\" and locationURL includes\n // credentials, then return a network error.\n if (\n request.responseTainting === 'cors' &&\n (locationURL.username || locationURL.password)\n ) {\n return Promise.resolve(makeNetworkError(\n 'URL cannot contain credentials for request mode \"cors\"'\n ))\n }\n\n // 11. If actualResponse\u2019s status is not 303, request\u2019s body is non-null,\n // and request\u2019s body\u2019s source is null, then return a network error.\n if (\n actualResponse.status !== 303 &&\n request.body != null &&\n request.body.source == null\n ) {\n return Promise.resolve(makeNetworkError())\n }\n\n // 12. If one of the following is true\n // - actualResponse\u2019s status is 301 or 302 and request\u2019s method is `POST`\n // - actualResponse\u2019s status is 303 and request\u2019s method is not `GET` or `HEAD`\n if (\n ([301, 302].includes(actualResponse.status) && request.method === 'POST') ||\n (actualResponse.status === 303 &&\n !GET_OR_HEAD.includes(request.method))\n ) {\n // then:\n // 1. Set request\u2019s method to `GET` and request\u2019s body to null.\n request.method = 'GET'\n request.body = null\n\n // 2. For each headerName of request-body-header name, delete headerName from\n // request\u2019s header list.\n for (const headerName of requestBodyHeader) {\n request.headersList.delete(headerName)\n }\n }\n\n // 13. If request\u2019s current URL\u2019s origin is not same origin with locationURL\u2019s\n // origin, then for each headerName of CORS non-wildcard request-header name,\n // delete headerName from request\u2019s header list.\n if (!sameOrigin(requestCurrentURL(request), locationURL)) {\n // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name\n request.headersList.delete('authorization', true)\n\n // https://fetch.spec.whatwg.org/#authentication-entries\n request.headersList.delete('proxy-authorization', true)\n\n // \"Cookie\" and \"Host\" are forbidden request-headers, which undici doesn't implement.\n request.headersList.delete('cookie', true)\n request.headersList.delete('host', true)\n }\n\n // 14. If request\u2019s body is non-null, then set request\u2019s body to the first return\n // value of safely extracting request\u2019s body\u2019s source.\n if (request.body != null) {\n assert(request.body.source != null)\n request.body = safelyExtractBody(request.body.source)[0]\n }\n\n // 15. Let timingInfo be fetchParams\u2019s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 16. Set timingInfo\u2019s redirect end time and post-redirect start time to the\n // coarsened shared current time given fetchParams\u2019s cross-origin isolated\n // capability.\n timingInfo.redirectEndTime = timingInfo.postRedirectStartTime =\n coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n\n // 17. If timingInfo\u2019s redirect start time is 0, then set timingInfo\u2019s\n // redirect start time to timingInfo\u2019s start time.\n if (timingInfo.redirectStartTime === 0) {\n timingInfo.redirectStartTime = timingInfo.startTime\n }\n\n // 18. Append locationURL to request\u2019s URL list.\n request.urlList.push(locationURL)\n\n // 19. Invoke set request\u2019s referrer policy on redirect on request and\n // actualResponse.\n setRequestReferrerPolicyOnRedirect(request, actualResponse)\n\n // 20. Return the result of running main fetch given fetchParams and true.\n return mainFetch(fetchParams, true)\n}\n\n// https://fetch.spec.whatwg.org/#http-network-or-cache-fetch\nasync function httpNetworkOrCacheFetch (\n fetchParams,\n isAuthenticationFetch = false,\n isNewConnectionFetch = false\n) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let httpFetchParams be null.\n let httpFetchParams = null\n\n // 3. Let httpRequest be null.\n let httpRequest = null\n\n // 4. Let response be null.\n let response = null\n\n // 5. Let storedResponse be null.\n // TODO: cache\n\n // 6. Let httpCache be null.\n const httpCache = null\n\n // 7. Let the revalidatingFlag be unset.\n const revalidatingFlag = false\n\n // 8. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. If request\u2019s window is \"no-window\" and request\u2019s redirect mode is\n // \"error\", then set httpFetchParams to fetchParams and httpRequest to\n // request.\n if (request.window === 'no-window' && request.redirect === 'error') {\n httpFetchParams = fetchParams\n httpRequest = request\n } else {\n // Otherwise:\n\n // 1. Set httpRequest to a clone of request.\n httpRequest = cloneRequest(request)\n\n // 2. Set httpFetchParams to a copy of fetchParams.\n httpFetchParams = { ...fetchParams }\n\n // 3. Set httpFetchParams\u2019s request to httpRequest.\n httpFetchParams.request = httpRequest\n }\n\n // 3. Let includeCredentials be true if one of\n const includeCredentials =\n request.credentials === 'include' ||\n (request.credentials === 'same-origin' &&\n request.responseTainting === 'basic')\n\n // 4. Let contentLength be httpRequest\u2019s body\u2019s length, if httpRequest\u2019s\n // body is non-null; otherwise null.\n const contentLength = httpRequest.body ? httpRequest.body.length : null\n\n // 5. Let contentLengthHeaderValue be null.\n let contentLengthHeaderValue = null\n\n // 6. If httpRequest\u2019s body is null and httpRequest\u2019s method is `POST` or\n // `PUT`, then set contentLengthHeaderValue to `0`.\n if (\n httpRequest.body == null &&\n ['POST', 'PUT'].includes(httpRequest.method)\n ) {\n contentLengthHeaderValue = '0'\n }\n\n // 7. If contentLength is non-null, then set contentLengthHeaderValue to\n // contentLength, serialized and isomorphic encoded.\n if (contentLength != null) {\n contentLengthHeaderValue = isomorphicEncode(`${contentLength}`)\n }\n\n // 8. If contentLengthHeaderValue is non-null, then append\n // `Content-Length`/contentLengthHeaderValue to httpRequest\u2019s header\n // list.\n if (contentLengthHeaderValue != null) {\n httpRequest.headersList.append('content-length', contentLengthHeaderValue, true)\n }\n\n // 9. If contentLengthHeaderValue is non-null, then append (`Content-Length`,\n // contentLengthHeaderValue) to httpRequest\u2019s header list.\n\n // 10. If contentLength is non-null and httpRequest\u2019s keepalive is true,\n // then:\n if (contentLength != null && httpRequest.keepalive) {\n // NOTE: keepalive is a noop outside of browser context.\n }\n\n // 11. If httpRequest\u2019s referrer is a URL, then append\n // `Referer`/httpRequest\u2019s referrer, serialized and isomorphic encoded,\n // to httpRequest\u2019s header list.\n if (httpRequest.referrer instanceof URL) {\n httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href), true)\n }\n\n // 12. Append a request `Origin` header for httpRequest.\n appendRequestOriginHeader(httpRequest)\n\n // 13. Append the Fetch metadata headers for httpRequest. [FETCH-METADATA]\n appendFetchMetadata(httpRequest)\n\n // 14. If httpRequest\u2019s header list does not contain `User-Agent`, then\n // user agents should append `User-Agent`/default `User-Agent` value to\n // httpRequest\u2019s header list.\n if (!httpRequest.headersList.contains('user-agent', true)) {\n httpRequest.headersList.append('user-agent', defaultUserAgent)\n }\n\n // 15. If httpRequest\u2019s cache mode is \"default\" and httpRequest\u2019s header\n // list contains `If-Modified-Since`, `If-None-Match`,\n // `If-Unmodified-Since`, `If-Match`, or `If-Range`, then set\n // httpRequest\u2019s cache mode to \"no-store\".\n if (\n httpRequest.cache === 'default' &&\n (httpRequest.headersList.contains('if-modified-since', true) ||\n httpRequest.headersList.contains('if-none-match', true) ||\n httpRequest.headersList.contains('if-unmodified-since', true) ||\n httpRequest.headersList.contains('if-match', true) ||\n httpRequest.headersList.contains('if-range', true))\n ) {\n httpRequest.cache = 'no-store'\n }\n\n // 16. If httpRequest\u2019s cache mode is \"no-cache\", httpRequest\u2019s prevent\n // no-cache cache-control header modification flag is unset, and\n // httpRequest\u2019s header list does not contain `Cache-Control`, then append\n // `Cache-Control`/`max-age=0` to httpRequest\u2019s header list.\n if (\n httpRequest.cache === 'no-cache' &&\n !httpRequest.preventNoCacheCacheControlHeaderModification &&\n !httpRequest.headersList.contains('cache-control', true)\n ) {\n httpRequest.headersList.append('cache-control', 'max-age=0', true)\n }\n\n // 17. If httpRequest\u2019s cache mode is \"no-store\" or \"reload\", then:\n if (httpRequest.cache === 'no-store' || httpRequest.cache === 'reload') {\n // 1. If httpRequest\u2019s header list does not contain `Pragma`, then append\n // `Pragma`/`no-cache` to httpRequest\u2019s header list.\n if (!httpRequest.headersList.contains('pragma', true)) {\n httpRequest.headersList.append('pragma', 'no-cache', true)\n }\n\n // 2. If httpRequest\u2019s header list does not contain `Cache-Control`,\n // then append `Cache-Control`/`no-cache` to httpRequest\u2019s header list.\n if (!httpRequest.headersList.contains('cache-control', true)) {\n httpRequest.headersList.append('cache-control', 'no-cache', true)\n }\n }\n\n // 18. If httpRequest\u2019s header list contains `Range`, then append\n // `Accept-Encoding`/`identity` to httpRequest\u2019s header list.\n if (httpRequest.headersList.contains('range', true)) {\n httpRequest.headersList.append('accept-encoding', 'identity', true)\n }\n\n // 19. Modify httpRequest\u2019s header list per HTTP. Do not append a given\n // header if httpRequest\u2019s header list contains that header\u2019s name.\n // TODO: https://github.com/whatwg/fetch/issues/1285#issuecomment-896560129\n if (!httpRequest.headersList.contains('accept-encoding', true)) {\n if (urlHasHttpsScheme(requestCurrentURL(httpRequest))) {\n httpRequest.headersList.append('accept-encoding', 'br, gzip, deflate', true)\n } else {\n httpRequest.headersList.append('accept-encoding', 'gzip, deflate', true)\n }\n }\n\n httpRequest.headersList.delete('host', true)\n\n // 20. If includeCredentials is true, then:\n if (includeCredentials) {\n // 1. If the user agent is not configured to block cookies for httpRequest\n // (see section 7 of [COOKIES]), then:\n // TODO: credentials\n // 2. If httpRequest\u2019s header list does not contain `Authorization`, then:\n // TODO: credentials\n }\n\n // 21. If there\u2019s a proxy-authentication entry, use it as appropriate.\n // TODO: proxy-authentication\n\n // 22. Set httpCache to the result of determining the HTTP cache\n // partition, given httpRequest.\n // TODO: cache\n\n // 23. If httpCache is null, then set httpRequest\u2019s cache mode to\n // \"no-store\".\n if (httpCache == null) {\n httpRequest.cache = 'no-store'\n }\n\n // 24. If httpRequest\u2019s cache mode is neither \"no-store\" nor \"reload\",\n // then:\n if (httpRequest.cache !== 'no-store' && httpRequest.cache !== 'reload') {\n // TODO: cache\n }\n\n // 9. If aborted, then return the appropriate network error for fetchParams.\n // TODO\n\n // 10. If response is null, then:\n if (response == null) {\n // 1. If httpRequest\u2019s cache mode is \"only-if-cached\", then return a\n // network error.\n if (httpRequest.cache === 'only-if-cached') {\n return makeNetworkError('only if cached')\n }\n\n // 2. Let forwardResponse be the result of running HTTP-network fetch\n // given httpFetchParams, includeCredentials, and isNewConnectionFetch.\n const forwardResponse = await httpNetworkFetch(\n httpFetchParams,\n includeCredentials,\n isNewConnectionFetch\n )\n\n // 3. If httpRequest\u2019s method is unsafe and forwardResponse\u2019s status is\n // in the range 200 to 399, inclusive, invalidate appropriate stored\n // responses in httpCache, as per the \"Invalidation\" chapter of HTTP\n // Caching, and set storedResponse to null. [HTTP-CACHING]\n if (\n !safeMethodsSet.has(httpRequest.method) &&\n forwardResponse.status >= 200 &&\n forwardResponse.status <= 399\n ) {\n // TODO: cache\n }\n\n // 4. If the revalidatingFlag is set and forwardResponse\u2019s status is 304,\n // then:\n if (revalidatingFlag && forwardResponse.status === 304) {\n // TODO: cache\n }\n\n // 5. If response is null, then:\n if (response == null) {\n // 1. Set response to forwardResponse.\n response = forwardResponse\n\n // 2. Store httpRequest and forwardResponse in httpCache, as per the\n // \"Storing Responses in Caches\" chapter of HTTP Caching. [HTTP-CACHING]\n // TODO: cache\n }\n }\n\n // 11. Set response\u2019s URL list to a clone of httpRequest\u2019s URL list.\n response.urlList = [...httpRequest.urlList]\n\n // 12. If httpRequest\u2019s header list contains `Range`, then set response\u2019s\n // range-requested flag.\n if (httpRequest.headersList.contains('range', true)) {\n response.rangeRequested = true\n }\n\n // 13. Set response\u2019s request-includes-credentials to includeCredentials.\n response.requestIncludesCredentials = includeCredentials\n\n // 14. If response\u2019s status is 401, httpRequest\u2019s response tainting is not\n // \"cors\", includeCredentials is true, and request\u2019s window is an environment\n // settings object, then:\n // TODO\n\n // 15. If response\u2019s status is 407, then:\n if (response.status === 407) {\n // 1. If request\u2019s window is \"no-window\", then return a network error.\n if (request.window === 'no-window') {\n return makeNetworkError()\n }\n\n // 2. ???\n\n // 3. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams)) {\n return makeAppropriateNetworkError(fetchParams)\n }\n\n // 4. Prompt the end user as appropriate in request\u2019s window and store\n // the result as a proxy-authentication entry. [HTTP-AUTH]\n // TODO: Invoke some kind of callback?\n\n // 5. Set response to the result of running HTTP-network-or-cache fetch given\n // fetchParams.\n // TODO\n return makeNetworkError('proxy authentication required')\n }\n\n // 16. If all of the following are true\n if (\n // response\u2019s status is 421\n response.status === 421 &&\n // isNewConnectionFetch is false\n !isNewConnectionFetch &&\n // request\u2019s body is null, or request\u2019s body is non-null and request\u2019s body\u2019s source is non-null\n (request.body == null || request.body.source != null)\n ) {\n // then:\n\n // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams)) {\n return makeAppropriateNetworkError(fetchParams)\n }\n\n // 2. Set response to the result of running HTTP-network-or-cache\n // fetch given fetchParams, isAuthenticationFetch, and true.\n\n // TODO (spec): The spec doesn't specify this but we need to cancel\n // the active response before we can start a new one.\n // https://github.com/whatwg/fetch/issues/1293\n fetchParams.controller.connection.destroy()\n\n response = await httpNetworkOrCacheFetch(\n fetchParams,\n isAuthenticationFetch,\n true\n )\n }\n\n // 17. If isAuthenticationFetch is true, then create an authentication entry\n if (isAuthenticationFetch) {\n // TODO\n }\n\n // 18. Return response.\n return response\n}\n\n// https://fetch.spec.whatwg.org/#http-network-fetch\nasync function httpNetworkFetch (\n fetchParams,\n includeCredentials = false,\n forceNewConnection = false\n) {\n assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed)\n\n fetchParams.controller.connection = {\n abort: null,\n destroyed: false,\n destroy (err, abort = true) {\n if (!this.destroyed) {\n this.destroyed = true\n if (abort) {\n this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError'))\n }\n }\n }\n }\n\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. Let timingInfo be fetchParams\u2019s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 4. Let httpCache be the result of determining the HTTP cache partition,\n // given request.\n // TODO: cache\n const httpCache = null\n\n // 5. If httpCache is null, then set request\u2019s cache mode to \"no-store\".\n if (httpCache == null) {\n request.cache = 'no-store'\n }\n\n // 6. Let networkPartitionKey be the result of determining the network\n // partition key given request.\n // TODO\n\n // 7. Let newConnection be \"yes\" if forceNewConnection is true; otherwise\n // \"no\".\n const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars\n\n // 8. Switch on request\u2019s mode:\n if (request.mode === 'websocket') {\n // Let connection be the result of obtaining a WebSocket connection,\n // given request\u2019s current URL.\n // TODO\n } else {\n // Let connection be the result of obtaining a connection, given\n // networkPartitionKey, request\u2019s current URL\u2019s origin,\n // includeCredentials, and forceNewConnection.\n // TODO\n }\n\n // 9. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. If connection is failure, then return a network error.\n\n // 2. Set timingInfo\u2019s final connection timing info to the result of\n // calling clamp and coarsen connection timing info with connection\u2019s\n // timing info, timingInfo\u2019s post-redirect start time, and fetchParams\u2019s\n // cross-origin isolated capability.\n\n // 3. If connection is not an HTTP/2 connection, request\u2019s body is non-null,\n // and request\u2019s body\u2019s source is null, then append (`Transfer-Encoding`,\n // `chunked`) to request\u2019s header list.\n\n // 4. Set timingInfo\u2019s final network-request start time to the coarsened\n // shared current time given fetchParams\u2019s cross-origin isolated\n // capability.\n\n // 5. Set response to the result of making an HTTP request over connection\n // using request with the following caveats:\n\n // - Follow the relevant requirements from HTTP. [HTTP] [HTTP-SEMANTICS]\n // [HTTP-COND] [HTTP-CACHING] [HTTP-AUTH]\n\n // - If request\u2019s body is non-null, and request\u2019s body\u2019s source is null,\n // then the user agent may have a buffer of up to 64 kibibytes and store\n // a part of request\u2019s body in that buffer. If the user agent reads from\n // request\u2019s body beyond that buffer\u2019s size and the user agent needs to\n // resend request, then instead return a network error.\n\n // - Set timingInfo\u2019s final network-response start time to the coarsened\n // shared current time given fetchParams\u2019s cross-origin isolated capability,\n // immediately after the user agent\u2019s HTTP parser receives the first byte\n // of the response (e.g., frame header bytes for HTTP/2 or response status\n // line for HTTP/1.x).\n\n // - Wait until all the headers are transmitted.\n\n // - Any responses whose status is in the range 100 to 199, inclusive,\n // and is not 101, are to be ignored, except for the purposes of setting\n // timingInfo\u2019s final network-response start time above.\n\n // - If request\u2019s header list contains `Transfer-Encoding`/`chunked` and\n // response is transferred via HTTP/1.0 or older, then return a network\n // error.\n\n // - If the HTTP request results in a TLS client certificate dialog, then:\n\n // 1. If request\u2019s window is an environment settings object, make the\n // dialog available in request\u2019s window.\n\n // 2. Otherwise, return a network error.\n\n // To transmit request\u2019s body body, run these steps:\n let requestBody = null\n // 1. If body is null and fetchParams\u2019s process request end-of-body is\n // non-null, then queue a fetch task given fetchParams\u2019s process request\n // end-of-body and fetchParams\u2019s task destination.\n if (request.body == null && fetchParams.processRequestEndOfBody) {\n queueMicrotask(() => fetchParams.processRequestEndOfBody())\n } else if (request.body != null) {\n // 2. Otherwise, if body is non-null:\n\n // 1. Let processBodyChunk given bytes be these steps:\n const processBodyChunk = async function * (bytes) {\n // 1. If the ongoing fetch is terminated, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. Run this step in parallel: transmit bytes.\n yield bytes\n\n // 3. If fetchParams\u2019s process request body is non-null, then run\n // fetchParams\u2019s process request body given bytes\u2019s length.\n fetchParams.processRequestBodyChunkLength?.(bytes.byteLength)\n }\n\n // 2. Let processEndOfBody be these steps:\n const processEndOfBody = () => {\n // 1. If fetchParams is canceled, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. If fetchParams\u2019s process request end-of-body is non-null,\n // then run fetchParams\u2019s process request end-of-body.\n if (fetchParams.processRequestEndOfBody) {\n fetchParams.processRequestEndOfBody()\n }\n }\n\n // 3. Let processBodyError given e be these steps:\n const processBodyError = (e) => {\n // 1. If fetchParams is canceled, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. If e is an \"AbortError\" DOMException, then abort fetchParams\u2019s controller.\n if (e.name === 'AbortError') {\n fetchParams.controller.abort()\n } else {\n fetchParams.controller.terminate(e)\n }\n }\n\n // 4. Incrementally read request\u2019s body given processBodyChunk, processEndOfBody,\n // processBodyError, and fetchParams\u2019s task destination.\n requestBody = (async function * () {\n try {\n for await (const bytes of request.body.stream) {\n yield * processBodyChunk(bytes)\n }\n processEndOfBody()\n } catch (err) {\n processBodyError(err)\n }\n })()\n }\n\n try {\n // socket is only provided for websockets\n const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody })\n\n if (socket) {\n response = makeResponse({ status, statusText, headersList, socket })\n } else {\n const iterator = body[Symbol.asyncIterator]()\n fetchParams.controller.next = () => iterator.next()\n\n response = makeResponse({ status, statusText, headersList })\n }\n } catch (err) {\n // 10. If aborted, then:\n if (err.name === 'AbortError') {\n // 1. If connection uses HTTP/2, then transmit an RST_STREAM frame.\n fetchParams.controller.connection.destroy()\n\n // 2. Return the appropriate network error for fetchParams.\n return makeAppropriateNetworkError(fetchParams, err)\n }\n\n return makeNetworkError(err)\n }\n\n // 11. Let pullAlgorithm be an action that resumes the ongoing fetch\n // if it is suspended.\n const pullAlgorithm = async () => {\n await fetchParams.controller.resume()\n }\n\n // 12. Let cancelAlgorithm be an algorithm that aborts fetchParams\u2019s\n // controller with reason, given reason.\n const cancelAlgorithm = (reason) => {\n // If the aborted fetch was already terminated, then we do not\n // need to do anything.\n if (!isCancelled(fetchParams)) {\n fetchParams.controller.abort(reason)\n }\n }\n\n // 13. Let highWaterMark be a non-negative, non-NaN number, chosen by\n // the user agent.\n // TODO\n\n // 14. Let sizeAlgorithm be an algorithm that accepts a chunk object\n // and returns a non-negative, non-NaN, non-infinite number, chosen by the user agent.\n // TODO\n\n // 15. Let stream be a new ReadableStream.\n // 16. Set up stream with byte reading support with pullAlgorithm set to pullAlgorithm,\n // cancelAlgorithm set to cancelAlgorithm.\n const stream = new ReadableStream(\n {\n async start (controller) {\n fetchParams.controller.controller = controller\n },\n async pull (controller) {\n await pullAlgorithm(controller)\n },\n async cancel (reason) {\n await cancelAlgorithm(reason)\n },\n type: 'bytes'\n }\n )\n\n // 17. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. Set response\u2019s body to a new body whose stream is stream.\n response.body = { stream, source: null, length: null }\n\n // 2. If response is not a network error and request\u2019s cache mode is\n // not \"no-store\", then update response in httpCache for request.\n // TODO\n\n // 3. If includeCredentials is true and the user agent is not configured\n // to block cookies for request (see section 7 of [COOKIES]), then run the\n // \"set-cookie-string\" parsing algorithm (see section 5.2 of [COOKIES]) on\n // the value of each header whose name is a byte-case-insensitive match for\n // `Set-Cookie` in response\u2019s header list, if any, and request\u2019s current URL.\n // TODO\n\n // 18. If aborted, then:\n // TODO\n\n // 19. Run these steps in parallel:\n\n // 1. Run these steps, but abort when fetchParams is canceled:\n fetchParams.controller.onAborted = onAborted\n fetchParams.controller.on('terminated', onAborted)\n fetchParams.controller.resume = async () => {\n // 1. While true\n while (true) {\n // 1-3. See onData...\n\n // 4. Set bytes to the result of handling content codings given\n // codings and bytes.\n let bytes\n let isFailure\n try {\n const { done, value } = await fetchParams.controller.next()\n\n if (isAborted(fetchParams)) {\n break\n }\n\n bytes = done ? undefined : value\n } catch (err) {\n if (fetchParams.controller.ended && !timingInfo.encodedBodySize) {\n // zlib doesn't like empty streams.\n bytes = undefined\n } else {\n bytes = err\n\n // err may be propagated from the result of calling readablestream.cancel,\n // which might not be an error. https://github.com/nodejs/undici/issues/2009\n isFailure = true\n }\n }\n\n if (bytes === undefined) {\n // 2. Otherwise, if the bytes transmission for response\u2019s message\n // body is done normally and stream is readable, then close\n // stream, finalize response for fetchParams and response, and\n // abort these in-parallel steps.\n readableStreamClose(fetchParams.controller.controller)\n\n finalizeResponse(fetchParams, response)\n\n return\n }\n\n // 5. Increase timingInfo\u2019s decoded body size by bytes\u2019s length.\n timingInfo.decodedBodySize += bytes?.byteLength ?? 0\n\n // 6. If bytes is failure, then terminate fetchParams\u2019s controller.\n if (isFailure) {\n fetchParams.controller.terminate(bytes)\n return\n }\n\n // 7. Enqueue a Uint8Array wrapping an ArrayBuffer containing bytes\n // into stream.\n const buffer = new Uint8Array(bytes)\n if (buffer.byteLength) {\n fetchParams.controller.controller.enqueue(buffer)\n }\n\n // 8. If stream is errored, then terminate the ongoing fetch.\n if (isErrored(stream)) {\n fetchParams.controller.terminate()\n return\n }\n\n // 9. If stream doesn\u2019t need more data ask the user agent to suspend\n // the ongoing fetch.\n if (fetchParams.controller.controller.desiredSize <= 0) {\n return\n }\n }\n }\n\n // 2. If aborted, then:\n function onAborted (reason) {\n // 2. If fetchParams is aborted, then:\n if (isAborted(fetchParams)) {\n // 1. Set response\u2019s aborted flag.\n response.aborted = true\n\n // 2. If stream is readable, then error stream with the result of\n // deserialize a serialized abort reason given fetchParams\u2019s\n // controller\u2019s serialized abort reason and an\n // implementation-defined realm.\n if (isReadable(stream)) {\n fetchParams.controller.controller.error(\n fetchParams.controller.serializedAbortReason\n )\n }\n } else {\n // 3. Otherwise, if stream is readable, error stream with a TypeError.\n if (isReadable(stream)) {\n fetchParams.controller.controller.error(new TypeError('terminated', {\n cause: isErrorLike(reason) ? reason : undefined\n }))\n }\n }\n\n // 4. If connection uses HTTP/2, then transmit an RST_STREAM frame.\n // 5. Otherwise, the user agent should close connection unless it would be bad for performance to do so.\n fetchParams.controller.connection.destroy()\n }\n\n // 20. Return response.\n return response\n\n function dispatch ({ body }) {\n const url = requestCurrentURL(request)\n /** @type {import('../..').Agent} */\n const agent = fetchParams.controller.dispatcher\n\n return new Promise((resolve, reject) => agent.dispatch(\n {\n path: url.pathname + url.search,\n origin: url.origin,\n method: request.method,\n body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,\n headers: request.headersList.entries,\n maxRedirections: 0,\n upgrade: request.mode === 'websocket' ? 'websocket' : undefined\n },\n {\n body: null,\n abort: null,\n\n onConnect (abort) {\n // TODO (fix): Do we need connection here?\n const { connection } = fetchParams.controller\n\n // Set timingInfo\u2019s final connection timing info to the result of calling clamp and coarsen\n // connection timing info with connection\u2019s timing info, timingInfo\u2019s post-redirect start\n // time, and fetchParams\u2019s cross-origin isolated capability.\n // TODO: implement connection timing\n timingInfo.finalConnectionTimingInfo = clampAndCoarsenConnectionTimingInfo(undefined, timingInfo.postRedirectStartTime, fetchParams.crossOriginIsolatedCapability)\n\n if (connection.destroyed) {\n abort(new DOMException('The operation was aborted.', 'AbortError'))\n } else {\n fetchParams.controller.on('terminated', abort)\n this.abort = connection.abort = abort\n }\n\n // Set timingInfo\u2019s final network-request start time to the coarsened shared current time given\n // fetchParams\u2019s cross-origin isolated capability.\n timingInfo.finalNetworkRequestStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n },\n\n onResponseStarted () {\n // Set timingInfo\u2019s final network-response start time to the coarsened shared current\n // time given fetchParams\u2019s cross-origin isolated capability, immediately after the\n // user agent\u2019s HTTP parser receives the first byte of the response (e.g., frame header\n // bytes for HTTP/2 or response status line for HTTP/1.x).\n timingInfo.finalNetworkResponseStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n },\n\n onHeaders (status, rawHeaders, resume, statusText) {\n if (status < 200) {\n return\n }\n\n let location = ''\n\n const headersList = new HeadersList()\n\n for (let i = 0; i < rawHeaders.length; i += 2) {\n headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i]), rawHeaders[i + 1].toString('latin1'), true)\n }\n location = headersList.get('location', true)\n\n this.body = new Readable({ read: resume })\n\n const decoders = []\n\n const willFollow = location && request.redirect === 'follow' &&\n redirectStatusSet.has(status)\n\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding\n if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) {\n // https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1\n const contentEncoding = headersList.get('content-encoding', true)\n // \"All content-coding values are case-insensitive...\"\n /** @type {string[]} */\n const codings = contentEncoding ? contentEncoding.toLowerCase().split(',') : []\n\n // Limit the number of content-encodings to prevent resource exhaustion.\n // CVE fix similar to urllib3 (GHSA-gm62-xv2j-4w53) and curl (CVE-2022-32206).\n const maxContentEncodings = 5\n if (codings.length > maxContentEncodings) {\n reject(new Error(`too many content-encodings in response: ${codings.length}, maximum allowed is ${maxContentEncodings}`))\n return true\n }\n\n for (let i = codings.length - 1; i >= 0; --i) {\n const coding = codings[i].trim()\n // https://www.rfc-editor.org/rfc/rfc9112.html#section-7.2\n if (coding === 'x-gzip' || coding === 'gzip') {\n decoders.push(zlib.createGunzip({\n // Be less strict when decoding compressed responses, since sometimes\n // servers send slightly invalid responses that are still accepted\n // by common browsers.\n // Always using Z_SYNC_FLUSH is what cURL does.\n flush: zlib.constants.Z_SYNC_FLUSH,\n finishFlush: zlib.constants.Z_SYNC_FLUSH\n }))\n } else if (coding === 'deflate') {\n decoders.push(createInflate({\n flush: zlib.constants.Z_SYNC_FLUSH,\n finishFlush: zlib.constants.Z_SYNC_FLUSH\n }))\n } else if (coding === 'br') {\n decoders.push(zlib.createBrotliDecompress({\n flush: zlib.constants.BROTLI_OPERATION_FLUSH,\n finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH\n }))\n } else {\n decoders.length = 0\n break\n }\n }\n }\n\n const onError = this.onError.bind(this)\n\n resolve({\n status,\n statusText,\n headersList,\n body: decoders.length\n ? pipeline(this.body, ...decoders, (err) => {\n if (err) {\n this.onError(err)\n }\n }).on('error', onError)\n : this.body.on('error', onError)\n })\n\n return true\n },\n\n onData (chunk) {\n if (fetchParams.controller.dump) {\n return\n }\n\n // 1. If one or more bytes have been transmitted from response\u2019s\n // message body, then:\n\n // 1. Let bytes be the transmitted bytes.\n const bytes = chunk\n\n // 2. Let codings be the result of extracting header list values\n // given `Content-Encoding` and response\u2019s header list.\n // See pullAlgorithm.\n\n // 3. Increase timingInfo\u2019s encoded body size by bytes\u2019s length.\n timingInfo.encodedBodySize += bytes.byteLength\n\n // 4. See pullAlgorithm...\n\n return this.body.push(bytes)\n },\n\n onComplete () {\n if (this.abort) {\n fetchParams.controller.off('terminated', this.abort)\n }\n\n if (fetchParams.controller.onAborted) {\n fetchParams.controller.off('terminated', fetchParams.controller.onAborted)\n }\n\n fetchParams.controller.ended = true\n\n this.body.push(null)\n },\n\n onError (error) {\n if (this.abort) {\n fetchParams.controller.off('terminated', this.abort)\n }\n\n this.body?.destroy(error)\n\n fetchParams.controller.terminate(error)\n\n reject(error)\n },\n\n onUpgrade (status, rawHeaders, socket) {\n if (status !== 101) {\n return\n }\n\n const headersList = new HeadersList()\n\n for (let i = 0; i < rawHeaders.length; i += 2) {\n headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i]), rawHeaders[i + 1].toString('latin1'), true)\n }\n\n resolve({\n status,\n statusText: STATUS_CODES[status],\n headersList,\n socket\n })\n\n return true\n }\n }\n ))\n }\n}\n\nmodule.exports = {\n fetch,\n Fetch,\n fetching,\n finalizeAndReportTiming\n}\n", "'use strict'\n\nmodule.exports = {\n kState: Symbol('FileReader state'),\n kResult: Symbol('FileReader result'),\n kError: Symbol('FileReader error'),\n kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'),\n kEvents: Symbol('FileReader events'),\n kAborted: Symbol('FileReader aborted')\n}\n", "'use strict'\n\nconst { webidl } = require('../fetch/webidl')\n\nconst kState = Symbol('ProgressEvent state')\n\n/**\n * @see https://xhr.spec.whatwg.org/#progressevent\n */\nclass ProgressEvent extends Event {\n constructor (type, eventInitDict = {}) {\n type = webidl.converters.DOMString(type, 'ProgressEvent constructor', 'type')\n eventInitDict = webidl.converters.ProgressEventInit(eventInitDict ?? {})\n\n super(type, eventInitDict)\n\n this[kState] = {\n lengthComputable: eventInitDict.lengthComputable,\n loaded: eventInitDict.loaded,\n total: eventInitDict.total\n }\n }\n\n get lengthComputable () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].lengthComputable\n }\n\n get loaded () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].loaded\n }\n\n get total () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].total\n }\n}\n\nwebidl.converters.ProgressEventInit = webidl.dictionaryConverter([\n {\n key: 'lengthComputable',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'loaded',\n converter: webidl.converters['unsigned long long'],\n defaultValue: () => 0\n },\n {\n key: 'total',\n converter: webidl.converters['unsigned long long'],\n defaultValue: () => 0\n },\n {\n key: 'bubbles',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'cancelable',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'composed',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n }\n])\n\nmodule.exports = {\n ProgressEvent\n}\n", "'use strict'\n\n/**\n * @see https://encoding.spec.whatwg.org/#concept-encoding-get\n * @param {string|undefined} label\n */\nfunction getEncoding (label) {\n if (!label) {\n return 'failure'\n }\n\n // 1. Remove any leading and trailing ASCII whitespace from label.\n // 2. If label is an ASCII case-insensitive match for any of the\n // labels listed in the table below, then return the\n // corresponding encoding; otherwise return failure.\n switch (label.trim().toLowerCase()) {\n case 'unicode-1-1-utf-8':\n case 'unicode11utf8':\n case 'unicode20utf8':\n case 'utf-8':\n case 'utf8':\n case 'x-unicode20utf8':\n return 'UTF-8'\n case '866':\n case 'cp866':\n case 'csibm866':\n case 'ibm866':\n return 'IBM866'\n case 'csisolatin2':\n case 'iso-8859-2':\n case 'iso-ir-101':\n case 'iso8859-2':\n case 'iso88592':\n case 'iso_8859-2':\n case 'iso_8859-2:1987':\n case 'l2':\n case 'latin2':\n return 'ISO-8859-2'\n case 'csisolatin3':\n case 'iso-8859-3':\n case 'iso-ir-109':\n case 'iso8859-3':\n case 'iso88593':\n case 'iso_8859-3':\n case 'iso_8859-3:1988':\n case 'l3':\n case 'latin3':\n return 'ISO-8859-3'\n case 'csisolatin4':\n case 'iso-8859-4':\n case 'iso-ir-110':\n case 'iso8859-4':\n case 'iso88594':\n case 'iso_8859-4':\n case 'iso_8859-4:1988':\n case 'l4':\n case 'latin4':\n return 'ISO-8859-4'\n case 'csisolatincyrillic':\n case 'cyrillic':\n case 'iso-8859-5':\n case 'iso-ir-144':\n case 'iso8859-5':\n case 'iso88595':\n case 'iso_8859-5':\n case 'iso_8859-5:1988':\n return 'ISO-8859-5'\n case 'arabic':\n case 'asmo-708':\n case 'csiso88596e':\n case 'csiso88596i':\n case 'csisolatinarabic':\n case 'ecma-114':\n case 'iso-8859-6':\n case 'iso-8859-6-e':\n case 'iso-8859-6-i':\n case 'iso-ir-127':\n case 'iso8859-6':\n case 'iso88596':\n case 'iso_8859-6':\n case 'iso_8859-6:1987':\n return 'ISO-8859-6'\n case 'csisolatingreek':\n case 'ecma-118':\n case 'elot_928':\n case 'greek':\n case 'greek8':\n case 'iso-8859-7':\n case 'iso-ir-126':\n case 'iso8859-7':\n case 'iso88597':\n case 'iso_8859-7':\n case 'iso_8859-7:1987':\n case 'sun_eu_greek':\n return 'ISO-8859-7'\n case 'csiso88598e':\n case 'csisolatinhebrew':\n case 'hebrew':\n case 'iso-8859-8':\n case 'iso-8859-8-e':\n case 'iso-ir-138':\n case 'iso8859-8':\n case 'iso88598':\n case 'iso_8859-8':\n case 'iso_8859-8:1988':\n case 'visual':\n return 'ISO-8859-8'\n case 'csiso88598i':\n case 'iso-8859-8-i':\n case 'logical':\n return 'ISO-8859-8-I'\n case 'csisolatin6':\n case 'iso-8859-10':\n case 'iso-ir-157':\n case 'iso8859-10':\n case 'iso885910':\n case 'l6':\n case 'latin6':\n return 'ISO-8859-10'\n case 'iso-8859-13':\n case 'iso8859-13':\n case 'iso885913':\n return 'ISO-8859-13'\n case 'iso-8859-14':\n case 'iso8859-14':\n case 'iso885914':\n return 'ISO-8859-14'\n case 'csisolatin9':\n case 'iso-8859-15':\n case 'iso8859-15':\n case 'iso885915':\n case 'iso_8859-15':\n case 'l9':\n return 'ISO-8859-15'\n case 'iso-8859-16':\n return 'ISO-8859-16'\n case 'cskoi8r':\n case 'koi':\n case 'koi8':\n case 'koi8-r':\n case 'koi8_r':\n return 'KOI8-R'\n case 'koi8-ru':\n case 'koi8-u':\n return 'KOI8-U'\n case 'csmacintosh':\n case 'mac':\n case 'macintosh':\n case 'x-mac-roman':\n return 'macintosh'\n case 'iso-8859-11':\n case 'iso8859-11':\n case 'iso885911':\n case 'tis-620':\n case 'windows-874':\n return 'windows-874'\n case 'cp1250':\n case 'windows-1250':\n case 'x-cp1250':\n return 'windows-1250'\n case 'cp1251':\n case 'windows-1251':\n case 'x-cp1251':\n return 'windows-1251'\n case 'ansi_x3.4-1968':\n case 'ascii':\n case 'cp1252':\n case 'cp819':\n case 'csisolatin1':\n case 'ibm819':\n case 'iso-8859-1':\n case 'iso-ir-100':\n case 'iso8859-1':\n case 'iso88591':\n case 'iso_8859-1':\n case 'iso_8859-1:1987':\n case 'l1':\n case 'latin1':\n case 'us-ascii':\n case 'windows-1252':\n case 'x-cp1252':\n return 'windows-1252'\n case 'cp1253':\n case 'windows-1253':\n case 'x-cp1253':\n return 'windows-1253'\n case 'cp1254':\n case 'csisolatin5':\n case 'iso-8859-9':\n case 'iso-ir-148':\n case 'iso8859-9':\n case 'iso88599':\n case 'iso_8859-9':\n case 'iso_8859-9:1989':\n case 'l5':\n case 'latin5':\n case 'windows-1254':\n case 'x-cp1254':\n return 'windows-1254'\n case 'cp1255':\n case 'windows-1255':\n case 'x-cp1255':\n return 'windows-1255'\n case 'cp1256':\n case 'windows-1256':\n case 'x-cp1256':\n return 'windows-1256'\n case 'cp1257':\n case 'windows-1257':\n case 'x-cp1257':\n return 'windows-1257'\n case 'cp1258':\n case 'windows-1258':\n case 'x-cp1258':\n return 'windows-1258'\n case 'x-mac-cyrillic':\n case 'x-mac-ukrainian':\n return 'x-mac-cyrillic'\n case 'chinese':\n case 'csgb2312':\n case 'csiso58gb231280':\n case 'gb2312':\n case 'gb_2312':\n case 'gb_2312-80':\n case 'gbk':\n case 'iso-ir-58':\n case 'x-gbk':\n return 'GBK'\n case 'gb18030':\n return 'gb18030'\n case 'big5':\n case 'big5-hkscs':\n case 'cn-big5':\n case 'csbig5':\n case 'x-x-big5':\n return 'Big5'\n case 'cseucpkdfmtjapanese':\n case 'euc-jp':\n case 'x-euc-jp':\n return 'EUC-JP'\n case 'csiso2022jp':\n case 'iso-2022-jp':\n return 'ISO-2022-JP'\n case 'csshiftjis':\n case 'ms932':\n case 'ms_kanji':\n case 'shift-jis':\n case 'shift_jis':\n case 'sjis':\n case 'windows-31j':\n case 'x-sjis':\n return 'Shift_JIS'\n case 'cseuckr':\n case 'csksc56011987':\n case 'euc-kr':\n case 'iso-ir-149':\n case 'korean':\n case 'ks_c_5601-1987':\n case 'ks_c_5601-1989':\n case 'ksc5601':\n case 'ksc_5601':\n case 'windows-949':\n return 'EUC-KR'\n case 'csiso2022kr':\n case 'hz-gb-2312':\n case 'iso-2022-cn':\n case 'iso-2022-cn-ext':\n case 'iso-2022-kr':\n case 'replacement':\n return 'replacement'\n case 'unicodefffe':\n case 'utf-16be':\n return 'UTF-16BE'\n case 'csunicode':\n case 'iso-10646-ucs-2':\n case 'ucs-2':\n case 'unicode':\n case 'unicodefeff':\n case 'utf-16':\n case 'utf-16le':\n return 'UTF-16LE'\n case 'x-user-defined':\n return 'x-user-defined'\n default: return 'failure'\n }\n}\n\nmodule.exports = {\n getEncoding\n}\n", "'use strict'\n\nconst {\n kState,\n kError,\n kResult,\n kAborted,\n kLastProgressEventFired\n} = require('./symbols')\nconst { ProgressEvent } = require('./progressevent')\nconst { getEncoding } = require('./encoding')\nconst { serializeAMimeType, parseMIMEType } = require('../fetch/data-url')\nconst { types } = require('node:util')\nconst { StringDecoder } = require('string_decoder')\nconst { btoa } = require('node:buffer')\n\n/** @type {PropertyDescriptor} */\nconst staticPropertyDescriptors = {\n enumerable: true,\n writable: false,\n configurable: false\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#readOperation\n * @param {import('./filereader').FileReader} fr\n * @param {import('buffer').Blob} blob\n * @param {string} type\n * @param {string?} encodingName\n */\nfunction readOperation (fr, blob, type, encodingName) {\n // 1. If fr\u2019s state is \"loading\", throw an InvalidStateError\n // DOMException.\n if (fr[kState] === 'loading') {\n throw new DOMException('Invalid state', 'InvalidStateError')\n }\n\n // 2. Set fr\u2019s state to \"loading\".\n fr[kState] = 'loading'\n\n // 3. Set fr\u2019s result to null.\n fr[kResult] = null\n\n // 4. Set fr\u2019s error to null.\n fr[kError] = null\n\n // 5. Let stream be the result of calling get stream on blob.\n /** @type {import('stream/web').ReadableStream} */\n const stream = blob.stream()\n\n // 6. Let reader be the result of getting a reader from stream.\n const reader = stream.getReader()\n\n // 7. Let bytes be an empty byte sequence.\n /** @type {Uint8Array[]} */\n const bytes = []\n\n // 8. Let chunkPromise be the result of reading a chunk from\n // stream with reader.\n let chunkPromise = reader.read()\n\n // 9. Let isFirstChunk be true.\n let isFirstChunk = true\n\n // 10. In parallel, while true:\n // Note: \"In parallel\" just means non-blocking\n // Note 2: readOperation itself cannot be async as double\n // reading the body would then reject the promise, instead\n // of throwing an error.\n ;(async () => {\n while (!fr[kAborted]) {\n // 1. Wait for chunkPromise to be fulfilled or rejected.\n try {\n const { done, value } = await chunkPromise\n\n // 2. If chunkPromise is fulfilled, and isFirstChunk is\n // true, queue a task to fire a progress event called\n // loadstart at fr.\n if (isFirstChunk && !fr[kAborted]) {\n queueMicrotask(() => {\n fireAProgressEvent('loadstart', fr)\n })\n }\n\n // 3. Set isFirstChunk to false.\n isFirstChunk = false\n\n // 4. If chunkPromise is fulfilled with an object whose\n // done property is false and whose value property is\n // a Uint8Array object, run these steps:\n if (!done && types.isUint8Array(value)) {\n // 1. Let bs be the byte sequence represented by the\n // Uint8Array object.\n\n // 2. Append bs to bytes.\n bytes.push(value)\n\n // 3. If roughly 50ms have passed since these steps\n // were last invoked, queue a task to fire a\n // progress event called progress at fr.\n if (\n (\n fr[kLastProgressEventFired] === undefined ||\n Date.now() - fr[kLastProgressEventFired] >= 50\n ) &&\n !fr[kAborted]\n ) {\n fr[kLastProgressEventFired] = Date.now()\n queueMicrotask(() => {\n fireAProgressEvent('progress', fr)\n })\n }\n\n // 4. Set chunkPromise to the result of reading a\n // chunk from stream with reader.\n chunkPromise = reader.read()\n } else if (done) {\n // 5. Otherwise, if chunkPromise is fulfilled with an\n // object whose done property is true, queue a task\n // to run the following steps and abort this algorithm:\n queueMicrotask(() => {\n // 1. Set fr\u2019s state to \"done\".\n fr[kState] = 'done'\n\n // 2. Let result be the result of package data given\n // bytes, type, blob\u2019s type, and encodingName.\n try {\n const result = packageData(bytes, type, blob.type, encodingName)\n\n // 4. Else:\n\n if (fr[kAborted]) {\n return\n }\n\n // 1. Set fr\u2019s result to result.\n fr[kResult] = result\n\n // 2. Fire a progress event called load at the fr.\n fireAProgressEvent('load', fr)\n } catch (error) {\n // 3. If package data threw an exception error:\n\n // 1. Set fr\u2019s error to error.\n fr[kError] = error\n\n // 2. Fire a progress event called error at fr.\n fireAProgressEvent('error', fr)\n }\n\n // 5. If fr\u2019s state is not \"loading\", fire a progress\n // event called loadend at the fr.\n if (fr[kState] !== 'loading') {\n fireAProgressEvent('loadend', fr)\n }\n })\n\n break\n }\n } catch (error) {\n if (fr[kAborted]) {\n return\n }\n\n // 6. Otherwise, if chunkPromise is rejected with an\n // error error, queue a task to run the following\n // steps and abort this algorithm:\n queueMicrotask(() => {\n // 1. Set fr\u2019s state to \"done\".\n fr[kState] = 'done'\n\n // 2. Set fr\u2019s error to error.\n fr[kError] = error\n\n // 3. Fire a progress event called error at fr.\n fireAProgressEvent('error', fr)\n\n // 4. If fr\u2019s state is not \"loading\", fire a progress\n // event called loadend at fr.\n if (fr[kState] !== 'loading') {\n fireAProgressEvent('loadend', fr)\n }\n })\n\n break\n }\n }\n })()\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#fire-a-progress-event\n * @see https://dom.spec.whatwg.org/#concept-event-fire\n * @param {string} e The name of the event\n * @param {import('./filereader').FileReader} reader\n */\nfunction fireAProgressEvent (e, reader) {\n // The progress event e does not bubble. e.bubbles must be false\n // The progress event e is NOT cancelable. e.cancelable must be false\n const event = new ProgressEvent(e, {\n bubbles: false,\n cancelable: false\n })\n\n reader.dispatchEvent(event)\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#blob-package-data\n * @param {Uint8Array[]} bytes\n * @param {string} type\n * @param {string?} mimeType\n * @param {string?} encodingName\n */\nfunction packageData (bytes, type, mimeType, encodingName) {\n // 1. A Blob has an associated package data algorithm, given\n // bytes, a type, a optional mimeType, and a optional\n // encodingName, which switches on type and runs the\n // associated steps:\n\n switch (type) {\n case 'DataURL': {\n // 1. Return bytes as a DataURL [RFC2397] subject to\n // the considerations below:\n // * Use mimeType as part of the Data URL if it is\n // available in keeping with the Data URL\n // specification [RFC2397].\n // * If mimeType is not available return a Data URL\n // without a media-type. [RFC2397].\n\n // https://datatracker.ietf.org/doc/html/rfc2397#section-3\n // dataurl := \"data:\" [ mediatype ] [ \";base64\" ] \",\" data\n // mediatype := [ type \"/\" subtype ] *( \";\" parameter )\n // data := *urlchar\n // parameter := attribute \"=\" value\n let dataURL = 'data:'\n\n const parsed = parseMIMEType(mimeType || 'application/octet-stream')\n\n if (parsed !== 'failure') {\n dataURL += serializeAMimeType(parsed)\n }\n\n dataURL += ';base64,'\n\n const decoder = new StringDecoder('latin1')\n\n for (const chunk of bytes) {\n dataURL += btoa(decoder.write(chunk))\n }\n\n dataURL += btoa(decoder.end())\n\n return dataURL\n }\n case 'Text': {\n // 1. Let encoding be failure\n let encoding = 'failure'\n\n // 2. If the encodingName is present, set encoding to the\n // result of getting an encoding from encodingName.\n if (encodingName) {\n encoding = getEncoding(encodingName)\n }\n\n // 3. If encoding is failure, and mimeType is present:\n if (encoding === 'failure' && mimeType) {\n // 1. Let type be the result of parse a MIME type\n // given mimeType.\n const type = parseMIMEType(mimeType)\n\n // 2. If type is not failure, set encoding to the result\n // of getting an encoding from type\u2019s parameters[\"charset\"].\n if (type !== 'failure') {\n encoding = getEncoding(type.parameters.get('charset'))\n }\n }\n\n // 4. If encoding is failure, then set encoding to UTF-8.\n if (encoding === 'failure') {\n encoding = 'UTF-8'\n }\n\n // 5. Decode bytes using fallback encoding encoding, and\n // return the result.\n return decode(bytes, encoding)\n }\n case 'ArrayBuffer': {\n // Return a new ArrayBuffer whose contents are bytes.\n const sequence = combineByteSequences(bytes)\n\n return sequence.buffer\n }\n case 'BinaryString': {\n // Return bytes as a binary string, in which every byte\n // is represented by a code unit of equal value [0..255].\n let binaryString = ''\n\n const decoder = new StringDecoder('latin1')\n\n for (const chunk of bytes) {\n binaryString += decoder.write(chunk)\n }\n\n binaryString += decoder.end()\n\n return binaryString\n }\n }\n}\n\n/**\n * @see https://encoding.spec.whatwg.org/#decode\n * @param {Uint8Array[]} ioQueue\n * @param {string} encoding\n */\nfunction decode (ioQueue, encoding) {\n const bytes = combineByteSequences(ioQueue)\n\n // 1. Let BOMEncoding be the result of BOM sniffing ioQueue.\n const BOMEncoding = BOMSniffing(bytes)\n\n let slice = 0\n\n // 2. If BOMEncoding is non-null:\n if (BOMEncoding !== null) {\n // 1. Set encoding to BOMEncoding.\n encoding = BOMEncoding\n\n // 2. Read three bytes from ioQueue, if BOMEncoding is\n // UTF-8; otherwise read two bytes.\n // (Do nothing with those bytes.)\n slice = BOMEncoding === 'UTF-8' ? 3 : 2\n }\n\n // 3. Process a queue with an instance of encoding\u2019s\n // decoder, ioQueue, output, and \"replacement\".\n\n // 4. Return output.\n\n const sliced = bytes.slice(slice)\n return new TextDecoder(encoding).decode(sliced)\n}\n\n/**\n * @see https://encoding.spec.whatwg.org/#bom-sniff\n * @param {Uint8Array} ioQueue\n */\nfunction BOMSniffing (ioQueue) {\n // 1. Let BOM be the result of peeking 3 bytes from ioQueue,\n // converted to a byte sequence.\n const [a, b, c] = ioQueue\n\n // 2. For each of the rows in the table below, starting with\n // the first one and going down, if BOM starts with the\n // bytes given in the first column, then return the\n // encoding given in the cell in the second column of that\n // row. Otherwise, return null.\n if (a === 0xEF && b === 0xBB && c === 0xBF) {\n return 'UTF-8'\n } else if (a === 0xFE && b === 0xFF) {\n return 'UTF-16BE'\n } else if (a === 0xFF && b === 0xFE) {\n return 'UTF-16LE'\n }\n\n return null\n}\n\n/**\n * @param {Uint8Array[]} sequences\n */\nfunction combineByteSequences (sequences) {\n const size = sequences.reduce((a, b) => {\n return a + b.byteLength\n }, 0)\n\n let offset = 0\n\n return sequences.reduce((a, b) => {\n a.set(b, offset)\n offset += b.byteLength\n return a\n }, new Uint8Array(size))\n}\n\nmodule.exports = {\n staticPropertyDescriptors,\n readOperation,\n fireAProgressEvent\n}\n", "'use strict'\n\nconst {\n staticPropertyDescriptors,\n readOperation,\n fireAProgressEvent\n} = require('./util')\nconst {\n kState,\n kError,\n kResult,\n kEvents,\n kAborted\n} = require('./symbols')\nconst { webidl } = require('../fetch/webidl')\nconst { kEnumerableProperty } = require('../../core/util')\n\nclass FileReader extends EventTarget {\n constructor () {\n super()\n\n this[kState] = 'empty'\n this[kResult] = null\n this[kError] = null\n this[kEvents] = {\n loadend: null,\n error: null,\n abort: null,\n load: null,\n progress: null,\n loadstart: null\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-readAsArrayBuffer\n * @param {import('buffer').Blob} blob\n */\n readAsArrayBuffer (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsArrayBuffer')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsArrayBuffer(blob) method, when invoked,\n // must initiate a read operation for blob with ArrayBuffer.\n readOperation(this, blob, 'ArrayBuffer')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#readAsBinaryString\n * @param {import('buffer').Blob} blob\n */\n readAsBinaryString (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsBinaryString')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsBinaryString(blob) method, when invoked,\n // must initiate a read operation for blob with BinaryString.\n readOperation(this, blob, 'BinaryString')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#readAsDataText\n * @param {import('buffer').Blob} blob\n * @param {string?} encoding\n */\n readAsText (blob, encoding = undefined) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsText')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n if (encoding !== undefined) {\n encoding = webidl.converters.DOMString(encoding, 'FileReader.readAsText', 'encoding')\n }\n\n // The readAsText(blob, encoding) method, when invoked,\n // must initiate a read operation for blob with Text and encoding.\n readOperation(this, blob, 'Text', encoding)\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-readAsDataURL\n * @param {import('buffer').Blob} blob\n */\n readAsDataURL (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsDataURL')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsDataURL(blob) method, when invoked, must\n // initiate a read operation for blob with DataURL.\n readOperation(this, blob, 'DataURL')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-abort\n */\n abort () {\n // 1. If this's state is \"empty\" or if this's state is\n // \"done\" set this's result to null and terminate\n // this algorithm.\n if (this[kState] === 'empty' || this[kState] === 'done') {\n this[kResult] = null\n return\n }\n\n // 2. If this's state is \"loading\" set this's state to\n // \"done\" and set this's result to null.\n if (this[kState] === 'loading') {\n this[kState] = 'done'\n this[kResult] = null\n }\n\n // 3. If there are any tasks from this on the file reading\n // task source in an affiliated task queue, then remove\n // those tasks from that task queue.\n this[kAborted] = true\n\n // 4. Terminate the algorithm for the read method being processed.\n // TODO\n\n // 5. Fire a progress event called abort at this.\n fireAProgressEvent('abort', this)\n\n // 6. If this's state is not \"loading\", fire a progress\n // event called loadend at this.\n if (this[kState] !== 'loading') {\n fireAProgressEvent('loadend', this)\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-readystate\n */\n get readyState () {\n webidl.brandCheck(this, FileReader)\n\n switch (this[kState]) {\n case 'empty': return this.EMPTY\n case 'loading': return this.LOADING\n case 'done': return this.DONE\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-result\n */\n get result () {\n webidl.brandCheck(this, FileReader)\n\n // The result attribute\u2019s getter, when invoked, must return\n // this's result.\n return this[kResult]\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-error\n */\n get error () {\n webidl.brandCheck(this, FileReader)\n\n // The error attribute\u2019s getter, when invoked, must return\n // this's error.\n return this[kError]\n }\n\n get onloadend () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].loadend\n }\n\n set onloadend (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].loadend) {\n this.removeEventListener('loadend', this[kEvents].loadend)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].loadend = fn\n this.addEventListener('loadend', fn)\n } else {\n this[kEvents].loadend = null\n }\n }\n\n get onerror () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].error\n }\n\n set onerror (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].error) {\n this.removeEventListener('error', this[kEvents].error)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].error = fn\n this.addEventListener('error', fn)\n } else {\n this[kEvents].error = null\n }\n }\n\n get onloadstart () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].loadstart\n }\n\n set onloadstart (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].loadstart) {\n this.removeEventListener('loadstart', this[kEvents].loadstart)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].loadstart = fn\n this.addEventListener('loadstart', fn)\n } else {\n this[kEvents].loadstart = null\n }\n }\n\n get onprogress () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].progress\n }\n\n set onprogress (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].progress) {\n this.removeEventListener('progress', this[kEvents].progress)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].progress = fn\n this.addEventListener('progress', fn)\n } else {\n this[kEvents].progress = null\n }\n }\n\n get onload () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].load\n }\n\n set onload (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].load) {\n this.removeEventListener('load', this[kEvents].load)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].load = fn\n this.addEventListener('load', fn)\n } else {\n this[kEvents].load = null\n }\n }\n\n get onabort () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].abort\n }\n\n set onabort (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].abort) {\n this.removeEventListener('abort', this[kEvents].abort)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].abort = fn\n this.addEventListener('abort', fn)\n } else {\n this[kEvents].abort = null\n }\n }\n}\n\n// https://w3c.github.io/FileAPI/#dom-filereader-empty\nFileReader.EMPTY = FileReader.prototype.EMPTY = 0\n// https://w3c.github.io/FileAPI/#dom-filereader-loading\nFileReader.LOADING = FileReader.prototype.LOADING = 1\n// https://w3c.github.io/FileAPI/#dom-filereader-done\nFileReader.DONE = FileReader.prototype.DONE = 2\n\nObject.defineProperties(FileReader.prototype, {\n EMPTY: staticPropertyDescriptors,\n LOADING: staticPropertyDescriptors,\n DONE: staticPropertyDescriptors,\n readAsArrayBuffer: kEnumerableProperty,\n readAsBinaryString: kEnumerableProperty,\n readAsText: kEnumerableProperty,\n readAsDataURL: kEnumerableProperty,\n abort: kEnumerableProperty,\n readyState: kEnumerableProperty,\n result: kEnumerableProperty,\n error: kEnumerableProperty,\n onloadstart: kEnumerableProperty,\n onprogress: kEnumerableProperty,\n onload: kEnumerableProperty,\n onabort: kEnumerableProperty,\n onerror: kEnumerableProperty,\n onloadend: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'FileReader',\n writable: false,\n enumerable: false,\n configurable: true\n }\n})\n\nObject.defineProperties(FileReader, {\n EMPTY: staticPropertyDescriptors,\n LOADING: staticPropertyDescriptors,\n DONE: staticPropertyDescriptors\n})\n\nmodule.exports = {\n FileReader\n}\n", "'use strict'\n\nmodule.exports = {\n kConstruct: require('../../core/symbols').kConstruct\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { URLSerializer } = require('../fetch/data-url')\nconst { isValidHeaderName } = require('../fetch/util')\n\n/**\n * @see https://url.spec.whatwg.org/#concept-url-equals\n * @param {URL} A\n * @param {URL} B\n * @param {boolean | undefined} excludeFragment\n * @returns {boolean}\n */\nfunction urlEquals (A, B, excludeFragment = false) {\n const serializedA = URLSerializer(A, excludeFragment)\n\n const serializedB = URLSerializer(B, excludeFragment)\n\n return serializedA === serializedB\n}\n\n/**\n * @see https://github.com/chromium/chromium/blob/694d20d134cb553d8d89e5500b9148012b1ba299/content/browser/cache_storage/cache_storage_cache.cc#L260-L262\n * @param {string} header\n */\nfunction getFieldValues (header) {\n assert(header !== null)\n\n const values = []\n\n for (let value of header.split(',')) {\n value = value.trim()\n\n if (isValidHeaderName(value)) {\n values.push(value)\n }\n }\n\n return values\n}\n\nmodule.exports = {\n urlEquals,\n getFieldValues\n}\n", "'use strict'\n\nconst { kConstruct } = require('./symbols')\nconst { urlEquals, getFieldValues } = require('./util')\nconst { kEnumerableProperty, isDisturbed } = require('../../core/util')\nconst { webidl } = require('../fetch/webidl')\nconst { Response, cloneResponse, fromInnerResponse } = require('../fetch/response')\nconst { Request, fromInnerRequest } = require('../fetch/request')\nconst { kState } = require('../fetch/symbols')\nconst { fetching } = require('../fetch/index')\nconst { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = require('../fetch/util')\nconst assert = require('node:assert')\n\n/**\n * @see https://w3c.github.io/ServiceWorker/#dfn-cache-batch-operation\n * @typedef {Object} CacheBatchOperation\n * @property {'delete' | 'put'} type\n * @property {any} request\n * @property {any} response\n * @property {import('../../types/cache').CacheQueryOptions} options\n */\n\n/**\n * @see https://w3c.github.io/ServiceWorker/#dfn-request-response-list\n * @typedef {[any, any][]} requestResponseList\n */\n\nclass Cache {\n /**\n * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-request-response-list\n * @type {requestResponseList}\n */\n #relevantRequestResponseList\n\n constructor () {\n if (arguments[0] !== kConstruct) {\n webidl.illegalConstructor()\n }\n\n webidl.util.markAsUncloneable(this)\n this.#relevantRequestResponseList = arguments[1]\n }\n\n async match (request, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.match'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n const p = this.#internalMatchAll(request, options, 1)\n\n if (p.length === 0) {\n return\n }\n\n return p[0]\n }\n\n async matchAll (request = undefined, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.matchAll'\n if (request !== undefined) request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n return this.#internalMatchAll(request, options)\n }\n\n async add (request) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.add'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n\n // 1.\n const requests = [request]\n\n // 2.\n const responseArrayPromise = this.addAll(requests)\n\n // 3.\n return await responseArrayPromise\n }\n\n async addAll (requests) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.addAll'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n // 1.\n const responsePromises = []\n\n // 2.\n const requestList = []\n\n // 3.\n for (let request of requests) {\n if (request === undefined) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: 'Argument 1',\n types: ['undefined is not allowed']\n })\n }\n\n request = webidl.converters.RequestInfo(request)\n\n if (typeof request === 'string') {\n continue\n }\n\n // 3.1\n const r = request[kState]\n\n // 3.2\n if (!urlIsHttpHttpsScheme(r.url) || r.method !== 'GET') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected http/s scheme when method is not GET.'\n })\n }\n }\n\n // 4.\n /** @type {ReturnType[]} */\n const fetchControllers = []\n\n // 5.\n for (const request of requests) {\n // 5.1\n const r = new Request(request)[kState]\n\n // 5.2\n if (!urlIsHttpHttpsScheme(r.url)) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected http/s scheme.'\n })\n }\n\n // 5.4\n r.initiator = 'fetch'\n r.destination = 'subresource'\n\n // 5.5\n requestList.push(r)\n\n // 5.6\n const responsePromise = createDeferredPromise()\n\n // 5.7\n fetchControllers.push(fetching({\n request: r,\n processResponse (response) {\n // 1.\n if (response.type === 'error' || response.status === 206 || response.status < 200 || response.status > 299) {\n responsePromise.reject(webidl.errors.exception({\n header: 'Cache.addAll',\n message: 'Received an invalid status code or the request failed.'\n }))\n } else if (response.headersList.contains('vary')) { // 2.\n // 2.1\n const fieldValues = getFieldValues(response.headersList.get('vary'))\n\n // 2.2\n for (const fieldValue of fieldValues) {\n // 2.2.1\n if (fieldValue === '*') {\n responsePromise.reject(webidl.errors.exception({\n header: 'Cache.addAll',\n message: 'invalid vary field value'\n }))\n\n for (const controller of fetchControllers) {\n controller.abort()\n }\n\n return\n }\n }\n }\n },\n processResponseEndOfBody (response) {\n // 1.\n if (response.aborted) {\n responsePromise.reject(new DOMException('aborted', 'AbortError'))\n return\n }\n\n // 2.\n responsePromise.resolve(response)\n }\n }))\n\n // 5.8\n responsePromises.push(responsePromise.promise)\n }\n\n // 6.\n const p = Promise.all(responsePromises)\n\n // 7.\n const responses = await p\n\n // 7.1\n const operations = []\n\n // 7.2\n let index = 0\n\n // 7.3\n for (const response of responses) {\n // 7.3.1\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'put', // 7.3.2\n request: requestList[index], // 7.3.3\n response // 7.3.4\n }\n\n operations.push(operation) // 7.3.5\n\n index++ // 7.3.6\n }\n\n // 7.5\n const cacheJobPromise = createDeferredPromise()\n\n // 7.6.1\n let errorData = null\n\n // 7.6.2\n try {\n this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n // 7.6.3\n queueMicrotask(() => {\n // 7.6.3.1\n if (errorData === null) {\n cacheJobPromise.resolve(undefined)\n } else {\n // 7.6.3.2\n cacheJobPromise.reject(errorData)\n }\n })\n\n // 7.7\n return cacheJobPromise.promise\n }\n\n async put (request, response) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.put'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n response = webidl.converters.Response(response, prefix, 'response')\n\n // 1.\n let innerRequest = null\n\n // 2.\n if (request instanceof Request) {\n innerRequest = request[kState]\n } else { // 3.\n innerRequest = new Request(request)[kState]\n }\n\n // 4.\n if (!urlIsHttpHttpsScheme(innerRequest.url) || innerRequest.method !== 'GET') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected an http/s scheme when method is not GET'\n })\n }\n\n // 5.\n const innerResponse = response[kState]\n\n // 6.\n if (innerResponse.status === 206) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Got 206 status'\n })\n }\n\n // 7.\n if (innerResponse.headersList.contains('vary')) {\n // 7.1.\n const fieldValues = getFieldValues(innerResponse.headersList.get('vary'))\n\n // 7.2.\n for (const fieldValue of fieldValues) {\n // 7.2.1\n if (fieldValue === '*') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Got * vary field value'\n })\n }\n }\n }\n\n // 8.\n if (innerResponse.body && (isDisturbed(innerResponse.body.stream) || innerResponse.body.stream.locked)) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Response body is locked or disturbed'\n })\n }\n\n // 9.\n const clonedResponse = cloneResponse(innerResponse)\n\n // 10.\n const bodyReadPromise = createDeferredPromise()\n\n // 11.\n if (innerResponse.body != null) {\n // 11.1\n const stream = innerResponse.body.stream\n\n // 11.2\n const reader = stream.getReader()\n\n // 11.3\n readAllBytes(reader).then(bodyReadPromise.resolve, bodyReadPromise.reject)\n } else {\n bodyReadPromise.resolve(undefined)\n }\n\n // 12.\n /** @type {CacheBatchOperation[]} */\n const operations = []\n\n // 13.\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'put', // 14.\n request: innerRequest, // 15.\n response: clonedResponse // 16.\n }\n\n // 17.\n operations.push(operation)\n\n // 19.\n const bytes = await bodyReadPromise.promise\n\n if (clonedResponse.body != null) {\n clonedResponse.body.source = bytes\n }\n\n // 19.1\n const cacheJobPromise = createDeferredPromise()\n\n // 19.2.1\n let errorData = null\n\n // 19.2.2\n try {\n this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n // 19.2.3\n queueMicrotask(() => {\n // 19.2.3.1\n if (errorData === null) {\n cacheJobPromise.resolve()\n } else { // 19.2.3.2\n cacheJobPromise.reject(errorData)\n }\n })\n\n return cacheJobPromise.promise\n }\n\n async delete (request, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n /**\n * @type {Request}\n */\n let r = null\n\n if (request instanceof Request) {\n r = request[kState]\n\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return false\n }\n } else {\n assert(typeof request === 'string')\n\n r = new Request(request)[kState]\n }\n\n /** @type {CacheBatchOperation[]} */\n const operations = []\n\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'delete',\n request: r,\n options\n }\n\n operations.push(operation)\n\n const cacheJobPromise = createDeferredPromise()\n\n let errorData = null\n let requestResponses\n\n try {\n requestResponses = this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n queueMicrotask(() => {\n if (errorData === null) {\n cacheJobPromise.resolve(!!requestResponses?.length)\n } else {\n cacheJobPromise.reject(errorData)\n }\n })\n\n return cacheJobPromise.promise\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#dom-cache-keys\n * @param {any} request\n * @param {import('../../types/cache').CacheQueryOptions} options\n * @returns {Promise}\n */\n async keys (request = undefined, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.keys'\n\n if (request !== undefined) request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n // 1.\n let r = null\n\n // 2.\n if (request !== undefined) {\n // 2.1\n if (request instanceof Request) {\n // 2.1.1\n r = request[kState]\n\n // 2.1.2\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return []\n }\n } else if (typeof request === 'string') { // 2.2\n r = new Request(request)[kState]\n }\n }\n\n // 4.\n const promise = createDeferredPromise()\n\n // 5.\n // 5.1\n const requests = []\n\n // 5.2\n if (request === undefined) {\n // 5.2.1\n for (const requestResponse of this.#relevantRequestResponseList) {\n // 5.2.1.1\n requests.push(requestResponse[0])\n }\n } else { // 5.3\n // 5.3.1\n const requestResponses = this.#queryCache(r, options)\n\n // 5.3.2\n for (const requestResponse of requestResponses) {\n // 5.3.2.1\n requests.push(requestResponse[0])\n }\n }\n\n // 5.4\n queueMicrotask(() => {\n // 5.4.1\n const requestList = []\n\n // 5.4.2\n for (const request of requests) {\n const requestObject = fromInnerRequest(\n request,\n new AbortController().signal,\n 'immutable'\n )\n // 5.4.2.1\n requestList.push(requestObject)\n }\n\n // 5.4.3\n promise.resolve(Object.freeze(requestList))\n })\n\n return promise.promise\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#batch-cache-operations-algorithm\n * @param {CacheBatchOperation[]} operations\n * @returns {requestResponseList}\n */\n #batchCacheOperations (operations) {\n // 1.\n const cache = this.#relevantRequestResponseList\n\n // 2.\n const backupCache = [...cache]\n\n // 3.\n const addedItems = []\n\n // 4.1\n const resultList = []\n\n try {\n // 4.2\n for (const operation of operations) {\n // 4.2.1\n if (operation.type !== 'delete' && operation.type !== 'put') {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'operation type does not match \"delete\" or \"put\"'\n })\n }\n\n // 4.2.2\n if (operation.type === 'delete' && operation.response != null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'delete operation should not have an associated response'\n })\n }\n\n // 4.2.3\n if (this.#queryCache(operation.request, operation.options, addedItems).length) {\n throw new DOMException('???', 'InvalidStateError')\n }\n\n // 4.2.4\n let requestResponses\n\n // 4.2.5\n if (operation.type === 'delete') {\n // 4.2.5.1\n requestResponses = this.#queryCache(operation.request, operation.options)\n\n // TODO: the spec is wrong, this is needed to pass WPTs\n if (requestResponses.length === 0) {\n return []\n }\n\n // 4.2.5.2\n for (const requestResponse of requestResponses) {\n const idx = cache.indexOf(requestResponse)\n assert(idx !== -1)\n\n // 4.2.5.2.1\n cache.splice(idx, 1)\n }\n } else if (operation.type === 'put') { // 4.2.6\n // 4.2.6.1\n if (operation.response == null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'put operation should have an associated response'\n })\n }\n\n // 4.2.6.2\n const r = operation.request\n\n // 4.2.6.3\n if (!urlIsHttpHttpsScheme(r.url)) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'expected http or https scheme'\n })\n }\n\n // 4.2.6.4\n if (r.method !== 'GET') {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'not get method'\n })\n }\n\n // 4.2.6.5\n if (operation.options != null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'options must not be defined'\n })\n }\n\n // 4.2.6.6\n requestResponses = this.#queryCache(operation.request)\n\n // 4.2.6.7\n for (const requestResponse of requestResponses) {\n const idx = cache.indexOf(requestResponse)\n assert(idx !== -1)\n\n // 4.2.6.7.1\n cache.splice(idx, 1)\n }\n\n // 4.2.6.8\n cache.push([operation.request, operation.response])\n\n // 4.2.6.10\n addedItems.push([operation.request, operation.response])\n }\n\n // 4.2.7\n resultList.push([operation.request, operation.response])\n }\n\n // 4.3\n return resultList\n } catch (e) { // 5.\n // 5.1\n this.#relevantRequestResponseList.length = 0\n\n // 5.2\n this.#relevantRequestResponseList = backupCache\n\n // 5.3\n throw e\n }\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#query-cache\n * @param {any} requestQuery\n * @param {import('../../types/cache').CacheQueryOptions} options\n * @param {requestResponseList} targetStorage\n * @returns {requestResponseList}\n */\n #queryCache (requestQuery, options, targetStorage) {\n /** @type {requestResponseList} */\n const resultList = []\n\n const storage = targetStorage ?? this.#relevantRequestResponseList\n\n for (const requestResponse of storage) {\n const [cachedRequest, cachedResponse] = requestResponse\n if (this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options)) {\n resultList.push(requestResponse)\n }\n }\n\n return resultList\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#request-matches-cached-item-algorithm\n * @param {any} requestQuery\n * @param {any} request\n * @param {any | null} response\n * @param {import('../../types/cache').CacheQueryOptions | undefined} options\n * @returns {boolean}\n */\n #requestMatchesCachedItem (requestQuery, request, response = null, options) {\n // if (options?.ignoreMethod === false && request.method === 'GET') {\n // return false\n // }\n\n const queryURL = new URL(requestQuery.url)\n\n const cachedURL = new URL(request.url)\n\n if (options?.ignoreSearch) {\n cachedURL.search = ''\n\n queryURL.search = ''\n }\n\n if (!urlEquals(queryURL, cachedURL, true)) {\n return false\n }\n\n if (\n response == null ||\n options?.ignoreVary ||\n !response.headersList.contains('vary')\n ) {\n return true\n }\n\n const fieldValues = getFieldValues(response.headersList.get('vary'))\n\n for (const fieldValue of fieldValues) {\n if (fieldValue === '*') {\n return false\n }\n\n const requestValue = request.headersList.get(fieldValue)\n const queryValue = requestQuery.headersList.get(fieldValue)\n\n // If one has the header and the other doesn't, or one has\n // a different value than the other, return false\n if (requestValue !== queryValue) {\n return false\n }\n }\n\n return true\n }\n\n #internalMatchAll (request, options, maxResponses = Infinity) {\n // 1.\n let r = null\n\n // 2.\n if (request !== undefined) {\n if (request instanceof Request) {\n // 2.1.1\n r = request[kState]\n\n // 2.1.2\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return []\n }\n } else if (typeof request === 'string') {\n // 2.2.1\n r = new Request(request)[kState]\n }\n }\n\n // 5.\n // 5.1\n const responses = []\n\n // 5.2\n if (request === undefined) {\n // 5.2.1\n for (const requestResponse of this.#relevantRequestResponseList) {\n responses.push(requestResponse[1])\n }\n } else { // 5.3\n // 5.3.1\n const requestResponses = this.#queryCache(r, options)\n\n // 5.3.2\n for (const requestResponse of requestResponses) {\n responses.push(requestResponse[1])\n }\n }\n\n // 5.4\n // We don't implement CORs so we don't need to loop over the responses, yay!\n\n // 5.5.1\n const responseList = []\n\n // 5.5.2\n for (const response of responses) {\n // 5.5.2.1\n const responseObject = fromInnerResponse(response, 'immutable')\n\n responseList.push(responseObject.clone())\n\n if (responseList.length >= maxResponses) {\n break\n }\n }\n\n // 6.\n return Object.freeze(responseList)\n }\n}\n\nObject.defineProperties(Cache.prototype, {\n [Symbol.toStringTag]: {\n value: 'Cache',\n configurable: true\n },\n match: kEnumerableProperty,\n matchAll: kEnumerableProperty,\n add: kEnumerableProperty,\n addAll: kEnumerableProperty,\n put: kEnumerableProperty,\n delete: kEnumerableProperty,\n keys: kEnumerableProperty\n})\n\nconst cacheQueryOptionConverters = [\n {\n key: 'ignoreSearch',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'ignoreMethod',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'ignoreVary',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n }\n]\n\nwebidl.converters.CacheQueryOptions = webidl.dictionaryConverter(cacheQueryOptionConverters)\n\nwebidl.converters.MultiCacheQueryOptions = webidl.dictionaryConverter([\n ...cacheQueryOptionConverters,\n {\n key: 'cacheName',\n converter: webidl.converters.DOMString\n }\n])\n\nwebidl.converters.Response = webidl.interfaceConverter(Response)\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.RequestInfo\n)\n\nmodule.exports = {\n Cache\n}\n", "'use strict'\n\nconst { kConstruct } = require('./symbols')\nconst { Cache } = require('./cache')\nconst { webidl } = require('../fetch/webidl')\nconst { kEnumerableProperty } = require('../../core/util')\n\nclass CacheStorage {\n /**\n * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-name-to-cache-map\n * @type {Map}\n */\n async has (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.has'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n // 2.1.1\n // 2.2\n return this.#caches.has(cacheName)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#dom-cachestorage-open\n * @param {string} cacheName\n * @returns {Promise}\n */\n async open (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.open'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n // 2.1\n if (this.#caches.has(cacheName)) {\n // await caches.open('v1') !== await caches.open('v1')\n\n // 2.1.1\n const cache = this.#caches.get(cacheName)\n\n // 2.1.1.1\n return new Cache(kConstruct, cache)\n }\n\n // 2.2\n const cache = []\n\n // 2.3\n this.#caches.set(cacheName, cache)\n\n // 2.4\n return new Cache(kConstruct, cache)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#cache-storage-delete\n * @param {string} cacheName\n * @returns {Promise}\n */\n async delete (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n return this.#caches.delete(cacheName)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#cache-storage-keys\n * @returns {Promise}\n */\n async keys () {\n webidl.brandCheck(this, CacheStorage)\n\n // 2.1\n const keys = this.#caches.keys()\n\n // 2.2\n return [...keys]\n }\n}\n\nObject.defineProperties(CacheStorage.prototype, {\n [Symbol.toStringTag]: {\n value: 'CacheStorage',\n configurable: true\n },\n match: kEnumerableProperty,\n has: kEnumerableProperty,\n open: kEnumerableProperty,\n delete: kEnumerableProperty,\n keys: kEnumerableProperty\n})\n\nmodule.exports = {\n CacheStorage\n}\n", "'use strict'\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size\nconst maxAttributeValueSize = 1024\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size\nconst maxNameValuePairSize = 4096\n\nmodule.exports = {\n maxAttributeValueSize,\n maxNameValuePairSize\n}\n", "'use strict'\n\n/**\n * @param {string} value\n * @returns {boolean}\n */\nfunction isCTLExcludingHtab (value) {\n for (let i = 0; i < value.length; ++i) {\n const code = value.charCodeAt(i)\n\n if (\n (code >= 0x00 && code <= 0x08) ||\n (code >= 0x0A && code <= 0x1F) ||\n code === 0x7F\n ) {\n return true\n }\n }\n return false\n}\n\n/**\n CHAR = \n token = 1*\n separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n | \",\" | \";\" | \":\" | \"\\\" | <\">\n | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n | \"{\" | \"}\" | SP | HT\n * @param {string} name\n */\nfunction validateCookieName (name) {\n for (let i = 0; i < name.length; ++i) {\n const code = name.charCodeAt(i)\n\n if (\n code < 0x21 || // exclude CTLs (0-31), SP and HT\n code > 0x7E || // exclude non-ascii and DEL\n code === 0x22 || // \"\n code === 0x28 || // (\n code === 0x29 || // )\n code === 0x3C || // <\n code === 0x3E || // >\n code === 0x40 || // @\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x3A || // :\n code === 0x5C || // \\\n code === 0x2F || // /\n code === 0x5B || // [\n code === 0x5D || // ]\n code === 0x3F || // ?\n code === 0x3D || // =\n code === 0x7B || // {\n code === 0x7D // }\n ) {\n throw new Error('Invalid cookie name')\n }\n }\n}\n\n/**\n cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )\n cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n ; US-ASCII characters excluding CTLs,\n ; whitespace DQUOTE, comma, semicolon,\n ; and backslash\n * @param {string} value\n */\nfunction validateCookieValue (value) {\n let len = value.length\n let i = 0\n\n // if the value is wrapped in DQUOTE\n if (value[0] === '\"') {\n if (len === 1 || value[len - 1] !== '\"') {\n throw new Error('Invalid cookie value')\n }\n --len\n ++i\n }\n\n while (i < len) {\n const code = value.charCodeAt(i++)\n\n if (\n code < 0x21 || // exclude CTLs (0-31)\n code > 0x7E || // non-ascii and DEL (127)\n code === 0x22 || // \"\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x5C // \\\n ) {\n throw new Error('Invalid cookie value')\n }\n }\n}\n\n/**\n * path-value = \n * @param {string} path\n */\nfunction validateCookiePath (path) {\n for (let i = 0; i < path.length; ++i) {\n const code = path.charCodeAt(i)\n\n if (\n code < 0x20 || // exclude CTLs (0-31)\n code > 0x7E || // exclude DEL and non-ascii\n code === 0x3B // ;\n ) {\n throw new Error('Invalid cookie path')\n }\n }\n}\n\n/**\n * ::= | \n *\n * ::= any one of the 52 alphabetic characters A through Z in\n * upper case and a through z in lower case\n *\n * ::= any one of the ten digits 0 through 9r\n *\n * @see https://www.rfc-editor.org/rfc/rfc1034#section-3.5\n * @param {number} code\n */\nfunction isLetterOrDigit (code) {\n return (\n (code >= 0x30 && code <= 0x39) || // 0-9\n (code >= 0x41 && code <= 0x5A) || // A-Z\n (code >= 0x61 && code <= 0x7A) // a-z\n )\n}\n\n/**\n * Validates a cookie domain against the \"preferred name syntax\".\n *\n * ::= | \" \"\n * ::=